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
[ 52, 8, 14, 43 ]
15
[ "52-8=44", "43-14=29", "44-29=15" ]
Current State: 15:[52, 8, 14, 43], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [14, 43, 44] Generated Node #2: [14, 43, 44] from Operation: 52-8=44 Current State: 15:[14, 43, 44], Operations: ['52-8=44'] Exploring Operation: 43-14=29, Resulting Numbers: [44, 29] Generated Node #3: [44, 29] from Operation: 43-14=29 Current State: 15:[44, 29], Operations: ['52-8=44', '43-14=29'] Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[52, 8, 14, 43], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [8, 14, 9] Generated Node #0,0: 15:[8, 14, 9] Operation: 52-43=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[8, 14, 9], Operations: ['52-43=9'] Exploring Operation: 8+9=17, Resulting Numbers: [14, 17] Generated Node #0,0,0: 15:[14, 17] Operation: 8+9=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[14, 17], Operations: ['52-43=9', '8+9=17'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 65, 8, 44, 76 ]
80
[ "44+76=120", "120/8=15", "65+15=80" ]
Current State: 80:[65, 8, 44, 76], Operations: [] Exploring Operation: 44+76=120, Resulting Numbers: [65, 8, 120] Generated Node #2: [65, 8, 120] from Operation: 44+76=120 Current State: 80:[65, 8, 120], Operations: ['44+76=120'] Exploring Operation: 120/8=15, Resulting Numbers: [65, 15] Generated Node #3: [65, 15] from Operation: 120/8=15 Current State: 80:[65, 15], Operations: ['44+76=120', '120/8=15'] Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[65, 8, 44, 76], Operations: [] Exploring Operation: 65-44=21, Resulting Numbers: [8, 76, 21] Generated Node #0,0: 80:[8, 76, 21] Operation: 65-44=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[8, 76, 21], Operations: ['65-44=21'] Exploring Operation: 8+76=84, Resulting Numbers: [21, 84] Generated Node #0,0,0: 80:[21, 84] Operation: 8+76=84 Moving to Node #0,0,0 Current State: 80:[21, 84], Operations: ['65-44=21', '8+76=84'] Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 3, 12, 52 ]
39
[ "3*3=9", "52*9=468", "468/12=39" ]
Current State: 39:[3, 3, 12, 52], Operations: [] Exploring Operation: 3*3=9, Resulting Numbers: [12, 52, 9] Generated Node #2: [12, 52, 9] from Operation: 3*3=9 Current State: 39:[12, 52, 9], Operations: ['3*3=9'] Exploring Operation: 52*9=468, Resulting Numbers: [12, 468] Generated Node #3: [12, 468] from Operation: 52*9=468 Current State: 39:[12, 468], Operations: ['3*3=9', '52*9=468'] Exploring Operation: 468/12=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[3, 3, 12, 52], Operations: [] Exploring Operation: 52-12=40, Resulting Numbers: [3, 3, 40] Generated Node #0,0: 39:[3, 3, 40] Operation: 52-12=40 Exploring Operation: 52-3=49, Resulting Numbers: [3, 12, 49] Generated Node #0,1: 39:[3, 12, 49] Operation: 52-3=49 Exploring Operation: 12/3=4, Resulting Numbers: [3, 52, 4] Generated Node #0,2: 39:[3, 52, 4] Operation: 12/3=4 Exploring Operation: 12/3=4, Resulting Numbers: [3, 52, 4] Generated Node #0,3: 39:[3, 52, 4] Operation: 12/3=4 Exploring Operation: 52-3=49, Resulting Numbers: [3, 12, 49] Generated Node #0,4: 39:[3, 12, 49] Operation: 52-3=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[3, 3, 40], Operations: ['52-12=40'] Exploring Operation: 3+3=6, Resulting Numbers: [40, 6] Generated Node #0,0,0: 39:[40, 6] Operation: 3+3=6 Exploring Operation: 40-3=37, Resulting Numbers: [3, 37] Generated Node #0,0,1: 39:[3, 37] Operation: 40-3=37 Exploring Operation: 3/3=1, Resulting Numbers: [40, 1] Generated Node #0,0,2: 39:[40, 1] Operation: 3/3=1 Exploring Operation: 3-3=0, Resulting Numbers: [40, 0] Generated Node #0,0,3: 39:[40, 0] Operation: 3-3=0 Exploring Operation: 40-3=37, Resulting Numbers: [3, 37] Generated Node #0,0,4: 39:[3, 37] Operation: 40-3=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[3, 37], Operations: ['52-12=40', '40-3=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,39 unequal: No Solution No 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: 39:[3, 37], Operations: ['52-12=40', '40-3=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,39 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,39 unequal: No Solution No 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: 39:[40, 1], Operations: ['52-12=40', '3/3=1'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[3, 3, 12, 52], Operations: [] Exploring Operation: 52-12=40, Resulting Numbers: [3, 3, 40] Generated Node #0,0: 39:[3, 3, 40] Operation: 52-12=40 Moving to Node #0,0 Current State: 39:[3, 3, 40], Operations: ['52-12=40'] Exploring Operation: 3/3=1, Resulting Numbers: [40, 1] Generated Node #0,0,2: 39:[40, 1] Operation: 3/3=1 Moving to Node #0,0,2 Current State: 39:[40, 1], Operations: ['52-12=40', '3/3=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 99, 86, 51, 37 ]
97
[ "99+86=185", "51+37=88", "185-88=97" ]
Current State: 97:[99, 86, 51, 37], Operations: [] Exploring Operation: 99+86=185, Resulting Numbers: [51, 37, 185] Generated Node #2: [51, 37, 185] from Operation: 99+86=185 Current State: 97:[51, 37, 185], Operations: ['99+86=185'] Exploring Operation: 51+37=88, Resulting Numbers: [185, 88] Generated Node #3: [185, 88] from Operation: 51+37=88 Current State: 97:[185, 88], Operations: ['99+86=185', '51+37=88'] Exploring Operation: 185-88=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[99, 86, 51, 37], Operations: [] Exploring Operation: 86+37=123, Resulting Numbers: [99, 51, 123] Generated Node #0,0: 97:[99, 51, 123] Operation: 86+37=123 Exploring Operation: 51+37=88, Resulting Numbers: [99, 86, 88] Generated Node #0,1: 97:[99, 86, 88] Operation: 51+37=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[99, 86, 88], Operations: ['51+37=88'] Exploring Operation: 99-86=13, Resulting Numbers: [88, 13] Generated Node #0,1,0: 97:[88, 13] Operation: 99-86=13 Exploring Operation: 86+88=174, Resulting Numbers: [99, 174] Generated Node #0,1,1: 97:[99, 174] Operation: 86+88=174 Moving to Node #0,1,1 Current State: 97:[99, 174], Operations: ['51+37=88', '86+88=174'] Exploring Operation: 99+174=273, Resulting Numbers: [273] 273,97 unequal: No Solution Exploring Operation: 174-99=75, Resulting Numbers: [75] 75,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[88, 13], Operations: ['51+37=88', '99-86=13'] Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[99, 51, 123], Operations: ['86+37=123'] Exploring Operation: 99-51=48, Resulting Numbers: [123, 48] Generated Node #0,0,0: 97:[123, 48] Operation: 99-51=48 Exploring Operation: 123-51=72, Resulting Numbers: [99, 72] Generated Node #0,0,1: 97:[99, 72] Operation: 123-51=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[99, 72], Operations: ['86+37=123', '123-51=72'] Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 99+72=171, Resulting Numbers: [171] 171,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[123, 48], Operations: ['86+37=123', '99-51=48'] Exploring Operation: 123-48=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 123+48=171, Resulting Numbers: [171] 171,97 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
[ 91, 83, 13, 54 ]
22
[ "91/13=7", "83-54=29", "29-7=22" ]
Current State: 22:[91, 83, 13, 54], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [83, 54, 7] Generated Node #2: [83, 54, 7] from Operation: 91/13=7 Current State: 22:[83, 54, 7], Operations: ['91/13=7'] Exploring Operation: 83-54=29, Resulting Numbers: [7, 29] Generated Node #3: [7, 29] from Operation: 83-54=29 Current State: 22:[7, 29], Operations: ['91/13=7', '83-54=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[91, 83, 13, 54], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [13, 54, 8] Generated Node #0,0: 22:[13, 54, 8] Operation: 91-83=8 Moving to Node #0,0 Current State: 22:[13, 54, 8], Operations: ['91-83=8'] Exploring Operation: 54-13=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 22:[8, 41] Operation: 54-13=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[8, 41], Operations: ['91-83=8', '54-13=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 52, 3, 23, 9 ]
41
[ "52+3=55", "23-9=14", "55-14=41" ]
Current State: 41:[52, 3, 23, 9], Operations: [] Exploring Operation: 52+3=55, Resulting Numbers: [23, 9, 55] Generated Node #2: [23, 9, 55] from Operation: 52+3=55 Current State: 41:[23, 9, 55], Operations: ['52+3=55'] Exploring Operation: 23-9=14, Resulting Numbers: [55, 14] Generated Node #3: [55, 14] from Operation: 23-9=14 Current State: 41:[55, 14], Operations: ['52+3=55', '23-9=14'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[52, 3, 23, 9], Operations: [] Exploring Operation: 3*9=27, Resulting Numbers: [52, 23, 27] Generated Node #0,0: 41:[52, 23, 27] Operation: 3*9=27 Exploring Operation: 52-3=49, Resulting Numbers: [23, 9, 49] Generated Node #0,1: 41:[23, 9, 49] Operation: 52-3=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[52, 23, 27], Operations: ['3*9=27'] Exploring Operation: 52-23=29, Resulting Numbers: [27, 29] Generated Node #0,0,0: 41:[27, 29] Operation: 52-23=29 Exploring Operation: 23+27=50, Resulting Numbers: [52, 50] Generated Node #0,0,1: 41:[52, 50] Operation: 23+27=50 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[52, 50], Operations: ['3*9=27', '23+27=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[27, 29], Operations: ['3*9=27', '52-23=29'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[23, 9, 49], Operations: ['52-3=49'] Exploring Operation: 49-9=40, Resulting Numbers: [23, 40] Generated Node #0,1,0: 41:[23, 40] Operation: 49-9=40 Exploring Operation: 23+9=32, Resulting Numbers: [49, 32] Generated Node #0,1,1: 41:[49, 32] Operation: 23+9=32 Moving to Node #0,1,1 Current State: 41:[49, 32], Operations: ['52-3=49', '23+9=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[23, 40], Operations: ['52-3=49', '49-9=40'] Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,41 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
[ 63, 80, 14, 4 ]
55
[ "14-4=10", "80/10=8", "63-8=55" ]
Current State: 55:[63, 80, 14, 4], Operations: [] Exploring Operation: 14-4=10, Resulting Numbers: [63, 80, 10] Generated Node #2: [63, 80, 10] from Operation: 14-4=10 Current State: 55:[63, 80, 10], Operations: ['14-4=10'] Exploring Operation: 80/10=8, Resulting Numbers: [63, 8] Generated Node #3: [63, 8] from Operation: 80/10=8 Current State: 55:[63, 8], Operations: ['14-4=10', '80/10=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[63, 80, 14, 4], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [14, 4, 17] Generated Node #0,0: 55:[14, 4, 17] Operation: 80-63=17 Moving to Node #0,0 Current State: 55:[14, 4, 17], Operations: ['80-63=17'] Exploring Operation: 17-14=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 55:[4, 3] Operation: 17-14=3 Moving to Node #0,0,0 Current State: 55:[4, 3], Operations: ['80-63=17', '17-14=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,55 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 42, 40, 73, 61 ]
94
[ "42+40=82", "73-61=12", "82+12=94" ]
Current State: 94:[42, 40, 73, 61], Operations: [] Exploring Operation: 42+40=82, Resulting Numbers: [73, 61, 82] Generated Node #2: [73, 61, 82] from Operation: 42+40=82 Current State: 94:[73, 61, 82], Operations: ['42+40=82'] Exploring Operation: 73-61=12, Resulting Numbers: [82, 12] Generated Node #3: [82, 12] from Operation: 73-61=12 Current State: 94:[82, 12], Operations: ['42+40=82', '73-61=12'] Exploring Operation: 82+12=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[42, 40, 73, 61], Operations: [] Exploring Operation: 40+61=101, Resulting Numbers: [42, 73, 101] Generated Node #0,0: 94:[42, 73, 101] Operation: 40+61=101 Exploring Operation: 42-40=2, Resulting Numbers: [73, 61, 2] Generated Node #0,1: 94:[73, 61, 2] Operation: 42-40=2 Exploring Operation: 73-61=12, Resulting Numbers: [42, 40, 12] Generated Node #0,2: 94:[42, 40, 12] Operation: 73-61=12 Exploring Operation: 73-40=33, Resulting Numbers: [42, 61, 33] Generated Node #0,3: 94:[42, 61, 33] Operation: 73-40=33 Exploring Operation: 73-42=31, Resulting Numbers: [40, 61, 31] Generated Node #0,4: 94:[40, 61, 31] Operation: 73-42=31 Moving to Node #0,2 Current State: 94:[42, 40, 12], Operations: ['73-61=12'] Exploring Operation: 42+40=82, Resulting Numbers: [12, 82] Generated Node #0,2,0: 94:[12, 82] Operation: 42+40=82 Exploring Operation: 42+12=54, Resulting Numbers: [40, 54] Generated Node #0,2,1: 94:[40, 54] Operation: 42+12=54 Exploring Operation: 42-40=2, Resulting Numbers: [12, 2] Generated Node #0,2,2: 94:[12, 2] Operation: 42-40=2 Exploring Operation: 40+12=52, Resulting Numbers: [42, 52] Generated Node #0,2,3: 94:[42, 52] Operation: 40+12=52 Exploring Operation: 42-12=30, Resulting Numbers: [40, 30] Generated Node #0,2,4: 94:[40, 30] Operation: 42-12=30 Moving to Node #0,3 Current State: 94:[42, 61, 33], Operations: ['73-40=33'] Exploring Operation: 42+61=103, Resulting Numbers: [33, 103] Generated Node #0,3,0: 94:[33, 103] Operation: 42+61=103 Exploring Operation: 61+33=94, Resulting Numbers: [42, 94] Generated Node #0,3,1: 94:[42, 94] Operation: 61+33=94 Exploring Operation: 61-33=28, Resulting Numbers: [42, 28] Generated Node #0,3,2: 94:[42, 28] Operation: 61-33=28 Exploring Operation: 42-33=9, Resulting Numbers: [61, 9] Generated Node #0,3,3: 94:[61, 9] Operation: 42-33=9 Exploring Operation: 61-42=19, Resulting Numbers: [33, 19] Generated Node #0,3,4: 94:[33, 19] Operation: 61-42=19 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[42, 94], Operations: ['73-40=33', '61+33=94'] Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 42*94=3948, Resulting Numbers: [3948] 3948,94 unequal: No Solution Exploring Operation: 42+94=136, Resulting Numbers: [136] 136,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,3,3 Current State: 94:[61, 9], Operations: ['73-40=33', '42-33=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,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,3,0 Current State: 94:[33, 103], Operations: ['73-40=33', '42+61=103'] Exploring Operation: 33+103=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 103-33=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 33*103=3399, Resulting Numbers: [3399] 3399,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,3,2 Current State: 94:[42, 28], Operations: ['73-40=33', '61-33=28'] Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,94 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,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,3,4 Current State: 94:[33, 19], Operations: ['73-40=33', '61-42=19'] Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,94 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,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:[42, 73, 101], Operations: ['40+61=101'] Exploring Operation: 42+73=115, Resulting Numbers: [101, 115] Generated Node #0,0,0: 94:[101, 115] Operation: 42+73=115 Exploring Operation: 42+101=143, Resulting Numbers: [73, 143] Generated Node #0,0,1: 94:[73, 143] Operation: 42+101=143 Exploring Operation: 101-73=28, Resulting Numbers: [42, 28] Generated Node #0,0,2: 94:[42, 28] Operation: 101-73=28 Exploring Operation: 101-42=59, Resulting Numbers: [73, 59] Generated Node #0,0,3: 94:[73, 59] Operation: 101-42=59 Exploring Operation: 73-42=31, Resulting Numbers: [101, 31] Generated Node #0,0,4: 94:[101, 31] Operation: 73-42=31 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[101, 31], Operations: ['40+61=101', '73-42=31'] Exploring Operation: 101+31=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 101*31=3131, Resulting Numbers: [3131] 3131,94 unequal: No Solution Exploring Operation: 101-31=70, Resulting Numbers: [70] 70,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,0,2 Current State: 94:[42, 28], Operations: ['40+61=101', '101-73=28'] Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,94 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,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,0,0 Current State: 94:[101, 115], Operations: ['40+61=101', '42+73=115'] Exploring Operation: 115-101=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 101+115=216, Resulting Numbers: [216] 216,94 unequal: No Solution Exploring Operation: 101*115=11615, Resulting Numbers: [11615] 11615,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,0,3 Current State: 94:[73, 59], Operations: ['40+61=101', '101-42=59'] Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 73+59=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 73*59=4307, Resulting Numbers: [4307] 4307,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,0,1 Current State: 94:[73, 143], Operations: ['40+61=101', '42+101=143'] Exploring Operation: 73*143=10439, Resulting Numbers: [10439] 10439,94 unequal: No Solution Exploring Operation: 73+143=216, Resulting Numbers: [216] 216,94 unequal: No Solution Exploring Operation: 143-73=70, Resulting Numbers: [70] 70,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:[73, 61, 2], Operations: ['42-40=2'] Exploring Operation: 73-61=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 94:[2, 12] Operation: 73-61=12 Exploring Operation: 61-2=59, Resulting Numbers: [73, 59] Generated Node #0,1,1: 94:[73, 59] Operation: 61-2=59 Exploring Operation: 73-2=71, Resulting Numbers: [61, 71] Generated Node #0,1,2: 94:[61, 71] Operation: 73-2=71 Exploring Operation: 73+2=75, Resulting Numbers: [61, 75] Generated Node #0,1,3: 94:[61, 75] Operation: 73+2=75 Exploring Operation: 61+2=63, Resulting Numbers: [73, 63] Generated Node #0,1,4: 94:[73, 63] Operation: 61+2=63 Moving to Node #0,4 Current State: 94:[40, 61, 31], Operations: ['73-42=31'] Exploring Operation: 61-40=21, Resulting Numbers: [31, 21] Generated Node #0,4,0: 94:[31, 21] Operation: 61-40=21 Exploring Operation: 40-31=9, Resulting Numbers: [61, 9] Generated Node #0,4,1: 94:[61, 9] Operation: 40-31=9 Exploring Operation: 40+61=101, Resulting Numbers: [31, 101] Generated Node #0,4,2: 94:[31, 101] Operation: 40+61=101 Exploring Operation: 61+31=92, Resulting Numbers: [40, 92] Generated Node #0,4,3: 94:[40, 92] Operation: 61+31=92 Exploring Operation: 61-31=30, Resulting Numbers: [40, 30] Generated Node #0,4,4: 94:[40, 30] Operation: 61-31=30 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[40, 92], Operations: ['73-42=31', '61+31=92'] Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 40*92=3680, Resulting Numbers: [3680] 3680,94 unequal: No Solution Exploring Operation: 40+92=132, Resulting Numbers: [132] 132,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,4,1 Current State: 94:[61, 9], Operations: ['73-42=31', '40-31=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,94 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,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,4,2 Current State: 94:[31, 101], Operations: ['73-42=31', '40+61=101'] Exploring Operation: 31+101=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 101-31=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 31*101=3131, Resulting Numbers: [3131] 3131,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,4,4 Current State: 94:[40, 30], Operations: ['73-42=31', '61-31=30'] Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,94 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,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,4,0 Current State: 94:[31, 21], Operations: ['73-42=31', '61-40=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 94:[12, 2], Operations: ['73-61=12', '42-40=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[2, 12], Operations: ['42-40=2', '73-61=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[42, 52], Operations: ['73-61=12', '40+12=52'] Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,94 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[42, 40, 73, 61], Operations: [] Exploring Operation: 73-61=12, Resulting Numbers: [42, 40, 12] Generated Node #0,2: 94:[42, 40, 12] Operation: 73-61=12 Moving to Node #0,2 Current State: 94:[42, 40, 12], Operations: ['73-61=12'] Exploring Operation: 40+12=52, Resulting Numbers: [42, 52] Generated Node #0,2,3: 94:[42, 52] Operation: 40+12=52 Moving to Node #0,2,3 Current State: 94:[42, 52], Operations: ['73-61=12', '40+12=52'] Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.921875
hs_5
mult_heuristic
[ 19, 3, 80, 29 ]
30
[ "80-19=61", "29+61=90", "90/3=30" ]
Current State: 30:[19, 3, 80, 29], Operations: [] Exploring Operation: 80-19=61, Resulting Numbers: [3, 29, 61] Generated Node #2: [3, 29, 61] from Operation: 80-19=61 Current State: 30:[3, 29, 61], Operations: ['80-19=61'] Exploring Operation: 29+61=90, Resulting Numbers: [3, 90] Generated Node #3: [3, 90] from Operation: 29+61=90 Current State: 30:[3, 90], Operations: ['80-19=61', '29+61=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[19, 3, 80, 29], Operations: [] Exploring Operation: 29-19=10, Resulting Numbers: [3, 80, 10] Generated Node #0,0: 30:[3, 80, 10] Operation: 29-19=10 Exploring Operation: 80-29=51, Resulting Numbers: [19, 3, 51] Generated Node #0,1: 30:[19, 3, 51] Operation: 80-29=51 Exploring Operation: 19-3=16, Resulting Numbers: [80, 29, 16] Generated Node #0,2: 30:[80, 29, 16] Operation: 19-3=16 Exploring Operation: 80-19=61, Resulting Numbers: [3, 29, 61] Generated Node #0,3: 30:[3, 29, 61] Operation: 80-19=61 Moving to Node #0,1 Current State: 30:[19, 3, 51], Operations: ['80-29=51'] Exploring Operation: 19-3=16, Resulting Numbers: [51, 16] Generated Node #0,1,0: 30:[51, 16] Operation: 19-3=16 Exploring Operation: 51/3=17, Resulting Numbers: [19, 17] Generated Node #0,1,1: 30:[19, 17] Operation: 51/3=17 Exploring Operation: 51-19=32, Resulting Numbers: [3, 32] Generated Node #0,1,2: 30:[3, 32] Operation: 51-19=32 Exploring Operation: 51-3=48, Resulting Numbers: [19, 48] Generated Node #0,1,3: 30:[19, 48] Operation: 51-3=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[3, 32], Operations: ['80-29=51', '51-19=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[19, 17], Operations: ['80-29=51', '51/3=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,30 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[51, 16], Operations: ['80-29=51', '19-3=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,30 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 30:[19, 48], Operations: ['80-29=51', '51-3=48'] Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,30 unequal: No Solution Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,30 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: 30:[3, 29, 61], Operations: ['80-19=61'] Exploring Operation: 61-29=32, Resulting Numbers: [3, 32] Generated Node #0,3,0: 30:[3, 32] Operation: 61-29=32 Exploring Operation: 3+29=32, Resulting Numbers: [61, 32] Generated Node #0,3,1: 30:[61, 32] Operation: 3+29=32 Exploring Operation: 29-3=26, Resulting Numbers: [61, 26] Generated Node #0,3,2: 30:[61, 26] Operation: 29-3=26 Exploring Operation: 61-3=58, Resulting Numbers: [29, 58] Generated Node #0,3,3: 30:[29, 58] Operation: 61-3=58 Moving to Node #0,0 Current State: 30:[3, 80, 10], Operations: ['29-19=10'] Exploring Operation: 80-3=77, Resulting Numbers: [10, 77] Generated Node #0,0,0: 30:[10, 77] Operation: 80-3=77 Exploring Operation: 3*10=30, Resulting Numbers: [80, 30] Generated Node #0,0,1: 30:[80, 30] Operation: 3*10=30 Exploring Operation: 80-10=70, Resulting Numbers: [3, 70] Generated Node #0,0,2: 30:[3, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [3, 8] Generated Node #0,0,3: 30:[3, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[3, 8], Operations: ['29-19=10', '80/10=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[3, 70], Operations: ['29-19=10', '80-10=70'] Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,30 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[10, 77], Operations: ['29-19=10', '80-3=77'] Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,30 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,30 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[80, 30], Operations: ['29-19=10', '3*10=30'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,30 unequal: No Solution Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,30 unequal: No Solution Exploring Operation: 80*30=2400, Resulting Numbers: [2400] 2400,30 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: 30:[80, 29, 16], Operations: ['19-3=16'] Exploring Operation: 29-16=13, Resulting Numbers: [80, 13] Generated Node #0,2,0: 30:[80, 13] Operation: 29-16=13 Exploring Operation: 80-16=64, Resulting Numbers: [29, 64] Generated Node #0,2,1: 30:[29, 64] Operation: 80-16=64 Exploring Operation: 80/16=5, Resulting Numbers: [29, 5] Generated Node #0,2,2: 30:[29, 5] Operation: 80/16=5 Exploring Operation: 80-29=51, Resulting Numbers: [16, 51] Generated Node #0,2,3: 30:[16, 51] Operation: 80-29=51 Moving to Node #0,2,2 Current State: 30:[29, 5], Operations: ['19-3=16', '80/16=5'] Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,30 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[3, 32], Operations: ['80-19=61', '61-29=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[16, 51], Operations: ['19-3=16', '80-29=51'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[29, 58], Operations: ['80-19=61', '61-3=58'] Exploring Operation: 29*58=1682, Resulting Numbers: [1682] 1682,30 unequal: No Solution Exploring Operation: 29+58=87, Resulting Numbers: [87] 87,30 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[61, 32], Operations: ['80-19=61', '3+29=32'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 61*32=1952, Resulting Numbers: [1952] 1952,30 unequal: No Solution Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[61, 26], Operations: ['80-19=61', '29-3=26'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,30 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[29, 64], Operations: ['19-3=16', '80-16=64'] Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,30 unequal: No Solution Exploring Operation: 29*64=1856, Resulting Numbers: [1856] 1856,30 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[80, 13], Operations: ['19-3=16', '29-16=13'] Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,30 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,30 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 63, 70, 52, 9 ]
42
[ "63/9=7", "70/7=10", "52-10=42" ]
Current State: 42:[63, 70, 52, 9], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [70, 52, 7] Generated Node #2: [70, 52, 7] from Operation: 63/9=7 Current State: 42:[70, 52, 7], Operations: ['63/9=7'] Exploring Operation: 70/7=10, Resulting Numbers: [52, 10] Generated Node #3: [52, 10] from Operation: 70/7=10 Current State: 42:[52, 10], Operations: ['63/9=7', '70/7=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[63, 70, 52, 9], Operations: [] Exploring Operation: 63-52=11, Resulting Numbers: [70, 9, 11] Generated Node #0,0: 42:[70, 9, 11] Operation: 63-52=11 Exploring Operation: 70-63=7, Resulting Numbers: [52, 9, 7] Generated Node #0,1: 42:[52, 9, 7] Operation: 70-63=7 Exploring Operation: 63/9=7, Resulting Numbers: [70, 52, 7] Generated Node #0,2: 42:[70, 52, 7] Operation: 63/9=7 Exploring Operation: 70-52=18, Resulting Numbers: [63, 9, 18] Generated Node #0,3: 42:[63, 9, 18] Operation: 70-52=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[52, 9, 7], Operations: ['70-63=7'] Exploring Operation: 52-7=45, Resulting Numbers: [9, 45] Generated Node #0,1,0: 42:[9, 45] Operation: 52-7=45 Exploring Operation: 9+7=16, Resulting Numbers: [52, 16] Generated Node #0,1,1: 42:[52, 16] Operation: 9+7=16 Exploring Operation: 9-7=2, Resulting Numbers: [52, 2] Generated Node #0,1,2: 42:[52, 2] Operation: 9-7=2 Exploring Operation: 52-9=43, Resulting Numbers: [7, 43] Generated Node #0,1,3: 42:[7, 43] Operation: 52-9=43 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 42:[7, 43], Operations: ['70-63=7', '52-9=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,42 unequal: No Solution No 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: 42:[9, 45], Operations: ['70-63=7', '52-7=45'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 9*45=405, Resulting Numbers: [405] 405,42 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,42 unequal: No Solution No 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: 42:[52, 2], Operations: ['70-63=7', '9-7=2'] Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,42 unequal: No Solution No 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: 42:[52, 16], Operations: ['70-63=7', '9+7=16'] Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,42 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: 42:[63, 9, 18], Operations: ['70-52=18'] Exploring Operation: 63/9=7, Resulting Numbers: [18, 7] Generated Node #0,3,0: 42:[18, 7] Operation: 63/9=7 Exploring Operation: 63-18=45, Resulting Numbers: [9, 45] Generated Node #0,3,1: 42:[9, 45] Operation: 63-18=45 Exploring Operation: 18/9=2, Resulting Numbers: [63, 2] Generated Node #0,3,2: 42:[63, 2] Operation: 18/9=2 Exploring Operation: 63-9=54, Resulting Numbers: [18, 54] Generated Node #0,3,3: 42:[18, 54] Operation: 63-9=54 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[18, 7], Operations: ['70-52=18', '63/9=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,42 unequal: No Solution No 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: 42:[9, 45], Operations: ['70-52=18', '63-18=45'] Exploring Operation: 9*45=405, Resulting Numbers: [405] 405,42 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[18, 54], Operations: ['70-52=18', '63-9=54'] Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,42 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,42 unequal: No Solution No 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: 42:[63, 2], Operations: ['70-52=18', '18/9=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,42 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,42 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: 42:[70, 9, 11], Operations: ['63-52=11'] Exploring Operation: 9+11=20, Resulting Numbers: [70, 20] Generated Node #0,0,0: 42:[70, 20] Operation: 9+11=20 Exploring Operation: 70-9=61, Resulting Numbers: [11, 61] Generated Node #0,0,1: 42:[11, 61] Operation: 70-9=61 Exploring Operation: 11-9=2, Resulting Numbers: [70, 2] Generated Node #0,0,2: 42:[70, 2] Operation: 11-9=2 Exploring Operation: 70-11=59, Resulting Numbers: [9, 59] Generated Node #0,0,3: 42:[9, 59] Operation: 70-11=59 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 42:[9, 59], Operations: ['63-52=11', '70-11=59'] Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,42 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,42 unequal: No Solution No 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: 42:[11, 61], Operations: ['63-52=11', '70-9=61'] Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,42 unequal: No Solution Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,42 unequal: No Solution No 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: 42:[70, 2], Operations: ['63-52=11', '11-9=2'] Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,42 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,42 unequal: No Solution No 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: 42:[70, 20], Operations: ['63-52=11', '9+11=20'] Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,42 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,42 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: 42:[70, 52, 7], Operations: ['63/9=7'] Exploring Operation: 70-7=63, Resulting Numbers: [52, 63] Generated Node #0,2,0: 42:[52, 63] Operation: 70-7=63 Exploring Operation: 52-7=45, Resulting Numbers: [70, 45] Generated Node #0,2,1: 42:[70, 45] Operation: 52-7=45 Exploring Operation: 70-52=18, Resulting Numbers: [7, 18] Generated Node #0,2,2: 42:[7, 18] Operation: 70-52=18 Exploring Operation: 70/7=10, Resulting Numbers: [52, 10] Generated Node #0,2,3: 42:[52, 10] Operation: 70/7=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[7, 18], Operations: ['63/9=7', '70-52=18'] Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,42 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,42 unequal: No Solution No 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: 42:[52, 10], Operations: ['63/9=7', '70/7=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[63, 70, 52, 9], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [70, 52, 7] Generated Node #0,2: 42:[70, 52, 7] Operation: 63/9=7 Moving to Node #0,2 Current State: 42:[70, 52, 7], Operations: ['63/9=7'] Exploring Operation: 70/7=10, Resulting Numbers: [52, 10] Generated Node #0,2,3: 42:[52, 10] Operation: 70/7=10 Moving to Node #0,2,3 Current State: 42:[52, 10], Operations: ['63/9=7', '70/7=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940104
hs_4
sum_heuristic
[ 91, 33, 22, 4 ]
20
[ "91-33=58", "22+58=80", "80/4=20" ]
Current State: 20:[91, 33, 22, 4], Operations: [] Exploring Operation: 91-33=58, Resulting Numbers: [22, 4, 58] Generated Node #2: [22, 4, 58] from Operation: 91-33=58 Current State: 20:[22, 4, 58], Operations: ['91-33=58'] Exploring Operation: 22+58=80, Resulting Numbers: [4, 80] Generated Node #3: [4, 80] from Operation: 22+58=80 Current State: 20:[4, 80], Operations: ['91-33=58', '22+58=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[91, 33, 22, 4], Operations: [] Exploring Operation: 91-33=58, Resulting Numbers: [22, 4, 58] Generated Node #0,0: 20:[22, 4, 58] Operation: 91-33=58 Moving to Node #0,0 Current State: 20:[22, 4, 58], Operations: ['91-33=58'] Exploring Operation: 58-22=36, Resulting Numbers: [4, 36] Generated Node #0,0,0: 20:[4, 36] Operation: 58-22=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[4, 36], Operations: ['91-33=58', '58-22=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,20 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
[ 47, 16, 56, 5 ]
89
[ "56-47=9", "16*5=80", "9+80=89" ]
Current State: 89:[47, 16, 56, 5], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [16, 5, 9] Generated Node #2: [16, 5, 9] from Operation: 56-47=9 Current State: 89:[16, 5, 9], Operations: ['56-47=9'] Exploring Operation: 16*5=80, Resulting Numbers: [9, 80] Generated Node #3: [9, 80] from Operation: 16*5=80 Current State: 89:[9, 80], Operations: ['56-47=9', '16*5=80'] Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[47, 16, 56, 5], Operations: [] Exploring Operation: 16*5=80, Resulting Numbers: [47, 56, 80] Generated Node #0,0: 89:[47, 56, 80] Operation: 16*5=80 Exploring Operation: 47+16=63, Resulting Numbers: [56, 5, 63] Generated Node #0,1: 89:[56, 5, 63] Operation: 47+16=63 Exploring Operation: 47+5=52, Resulting Numbers: [16, 56, 52] Generated Node #0,2: 89:[16, 56, 52] Operation: 47+5=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[47, 56, 80], Operations: ['16*5=80'] Exploring Operation: 56-47=9, Resulting Numbers: [80, 9] Generated Node #0,0,0: 89:[80, 9] Operation: 56-47=9 Exploring Operation: 47+56=103, Resulting Numbers: [80, 103] Generated Node #0,0,1: 89:[80, 103] Operation: 47+56=103 Exploring Operation: 47+80=127, Resulting Numbers: [56, 127] Generated Node #0,0,2: 89:[56, 127] Operation: 47+80=127 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[80, 103], Operations: ['16*5=80', '47+56=103'] Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,89 unequal: No Solution Exploring Operation: 80+103=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 80*103=8240, Resulting Numbers: [8240] 8240,89 unequal: No Solution No 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: 89:[56, 127], Operations: ['16*5=80', '47+80=127'] Exploring Operation: 56+127=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 127-56=71, Resulting Numbers: [71] 71,89 unequal: No Solution Exploring Operation: 56*127=7112, Resulting Numbers: [7112] 7112,89 unequal: No Solution No 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: 89:[80, 9], Operations: ['16*5=80', '56-47=9'] Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,89 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[47, 16, 56, 5], Operations: [] Exploring Operation: 16*5=80, Resulting Numbers: [47, 56, 80] Generated Node #0,0: 89:[47, 56, 80] Operation: 16*5=80 Moving to Node #0,0 Current State: 89:[47, 56, 80], Operations: ['16*5=80'] Exploring Operation: 56-47=9, Resulting Numbers: [80, 9] Generated Node #0,0,0: 89:[80, 9] Operation: 56-47=9 Moving to Node #0,0,0 Current State: 89:[80, 9], Operations: ['16*5=80', '56-47=9'] Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 8, 41, 69, 67 ]
51
[ "8+41=49", "69-67=2", "49+2=51" ]
Current State: 51:[8, 41, 69, 67], Operations: [] Exploring Operation: 8+41=49, Resulting Numbers: [69, 67, 49] Generated Node #2: [69, 67, 49] from Operation: 8+41=49 Current State: 51:[69, 67, 49], Operations: ['8+41=49'] Exploring Operation: 69-67=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 69-67=2 Current State: 51:[49, 2], Operations: ['8+41=49', '69-67=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[8, 41, 69, 67], Operations: [] Exploring Operation: 67-41=26, Resulting Numbers: [8, 69, 26] Generated Node #0,0: 51:[8, 69, 26] Operation: 67-41=26 Exploring Operation: 69-41=28, Resulting Numbers: [8, 67, 28] Generated Node #0,1: 51:[8, 67, 28] Operation: 69-41=28 Exploring Operation: 69-67=2, Resulting Numbers: [8, 41, 2] Generated Node #0,2: 51:[8, 41, 2] Operation: 69-67=2 Exploring Operation: 8+41=49, Resulting Numbers: [69, 67, 49] Generated Node #0,3: 51:[69, 67, 49] Operation: 8+41=49 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[8, 41, 2], Operations: ['69-67=2'] Exploring Operation: 8+41=49, Resulting Numbers: [2, 49] Generated Node #0,2,0: 51:[2, 49] Operation: 8+41=49 Exploring Operation: 8/2=4, Resulting Numbers: [41, 4] Generated Node #0,2,1: 51:[41, 4] Operation: 8/2=4 Exploring Operation: 8*2=16, Resulting Numbers: [41, 16] Generated Node #0,2,2: 51:[41, 16] Operation: 8*2=16 Exploring Operation: 8-2=6, Resulting Numbers: [41, 6] Generated Node #0,2,3: 51:[41, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[2, 49], Operations: ['69-67=2', '8+41=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,51 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[8, 41, 69, 67], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [8, 41, 2] Generated Node #0,2: 51:[8, 41, 2] Operation: 69-67=2 Moving to Node #0,2 Current State: 51:[8, 41, 2], Operations: ['69-67=2'] Exploring Operation: 8+41=49, Resulting Numbers: [2, 49] Generated Node #0,2,0: 51:[2, 49] Operation: 8+41=49 Moving to Node #0,2,0 Current State: 51:[2, 49], Operations: ['69-67=2', '8+41=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 19, 3, 59, 97 ]
19
[ "19*3=57", "97-59=38", "57-38=19" ]
Current State: 19:[19, 3, 59, 97], Operations: [] Exploring Operation: 19*3=57, Resulting Numbers: [59, 97, 57] Generated Node #2: [59, 97, 57] from Operation: 19*3=57 Current State: 19:[59, 97, 57], Operations: ['19*3=57'] Exploring Operation: 97-59=38, Resulting Numbers: [57, 38] Generated Node #3: [57, 38] from Operation: 97-59=38 Current State: 19:[57, 38], Operations: ['19*3=57', '97-59=38'] Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[19, 3, 59, 97], Operations: [] Exploring Operation: 97-59=38, Resulting Numbers: [19, 3, 38] Generated Node #0,0: 19:[19, 3, 38] Operation: 97-59=38 Exploring Operation: 59-19=40, Resulting Numbers: [3, 97, 40] Generated Node #0,1: 19:[3, 97, 40] Operation: 59-19=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[19, 3, 38], Operations: ['97-59=38'] Exploring Operation: 38-3=35, Resulting Numbers: [19, 35] Generated Node #0,0,0: 19:[19, 35] Operation: 38-3=35 Exploring Operation: 38-19=19, Resulting Numbers: [3, 19] Generated Node #0,0,1: 19:[3, 19] Operation: 38-19=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[19, 35], Operations: ['97-59=38', '38-3=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[3, 19], Operations: ['97-59=38', '38-19=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[3, 97, 40], Operations: ['59-19=40'] Exploring Operation: 97-40=57, Resulting Numbers: [3, 57] Generated Node #0,1,0: 19:[3, 57] Operation: 97-40=57 Exploring Operation: 97-3=94, Resulting Numbers: [40, 94] Generated Node #0,1,1: 19:[40, 94] Operation: 97-3=94 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[3, 57], Operations: ['59-19=40', '97-40=57'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[19, 3, 59, 97], Operations: [] Exploring Operation: 59-19=40, Resulting Numbers: [3, 97, 40] Generated Node #0,1: 19:[3, 97, 40] Operation: 59-19=40 Moving to Node #0,1 Current State: 19:[3, 97, 40], Operations: ['59-19=40'] Exploring Operation: 97-40=57, Resulting Numbers: [3, 57] Generated Node #0,1,0: 19:[3, 57] Operation: 97-40=57 Moving to Node #0,1,0 Current State: 19:[3, 57], Operations: ['59-19=40', '97-40=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 5, 15, 18, 36 ]
39
[ "5*18=90", "15+36=51", "90-51=39" ]
Current State: 39:[5, 15, 18, 36], Operations: [] Exploring Operation: 5*18=90, Resulting Numbers: [15, 36, 90] Generated Node #2: [15, 36, 90] from Operation: 5*18=90 Current State: 39:[15, 36, 90], Operations: ['5*18=90'] Exploring Operation: 15+36=51, Resulting Numbers: [90, 51] Generated Node #3: [90, 51] from Operation: 15+36=51 Current State: 39:[90, 51], Operations: ['5*18=90', '15+36=51'] Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[5, 15, 18, 36], Operations: [] Exploring Operation: 18-5=13, Resulting Numbers: [15, 36, 13] Generated Node #0,0: 39:[15, 36, 13] Operation: 18-5=13 Exploring Operation: 18-15=3, Resulting Numbers: [5, 36, 3] Generated Node #0,1: 39:[5, 36, 3] Operation: 18-15=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[15, 36, 13], Operations: ['18-5=13'] Exploring Operation: 15-13=2, Resulting Numbers: [36, 2] Generated Node #0,0,0: 39:[36, 2] Operation: 15-13=2 Exploring Operation: 36-15=21, Resulting Numbers: [13, 21] Generated Node #0,0,1: 39:[13, 21] Operation: 36-15=21 Moving to Node #0,0,0 Current State: 39:[36, 2], Operations: ['18-5=13', '15-13=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[13, 21], Operations: ['18-5=13', '36-15=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[5, 36, 3], Operations: ['18-15=3'] Exploring Operation: 5+36=41, Resulting Numbers: [3, 41] Generated Node #0,1,0: 39:[3, 41] Operation: 5+36=41 Exploring Operation: 36+3=39, Resulting Numbers: [5, 39] Generated Node #0,1,1: 39:[5, 39] Operation: 36+3=39 Moving to Node #0,1,0 Current State: 39:[3, 41], Operations: ['18-15=3', '5+36=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[5, 39], Operations: ['18-15=3', '36+3=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,39 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
[ 13, 1, 50, 10 ]
54
[ "13+1=14", "50-10=40", "14+40=54" ]
Current State: 54:[13, 1, 50, 10], Operations: [] Exploring Operation: 13+1=14, Resulting Numbers: [50, 10, 14] Generated Node #2: [50, 10, 14] from Operation: 13+1=14 Current State: 54:[50, 10, 14], Operations: ['13+1=14'] Exploring Operation: 50-10=40, Resulting Numbers: [14, 40] Generated Node #3: [14, 40] from Operation: 50-10=40 Current State: 54:[14, 40], Operations: ['13+1=14', '50-10=40'] Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[13, 1, 50, 10], Operations: [] Exploring Operation: 13-10=3, Resulting Numbers: [1, 50, 3] Generated Node #0,0: 54:[1, 50, 3] Operation: 13-10=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[1, 50, 3], Operations: ['13-10=3'] Exploring Operation: 50+3=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 54:[1, 53] Operation: 50+3=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[1, 53], Operations: ['13-10=3', '50+3=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[13, 1, 50, 10], Operations: [] Exploring Operation: 13-10=3, Resulting Numbers: [1, 50, 3] Generated Node #0,0: 54:[1, 50, 3] Operation: 13-10=3 Moving to Node #0,0 Current State: 54:[1, 50, 3], Operations: ['13-10=3'] Exploring Operation: 50+3=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 54:[1, 53] Operation: 50+3=53 Moving to Node #0,0,0 Current State: 54:[1, 53], Operations: ['13-10=3', '50+3=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 65, 60, 34, 53 ]
39
[ "65-53=12", "60/12=5", "34+5=39" ]
Current State: 39:[65, 60, 34, 53], Operations: [] Exploring Operation: 65-53=12, Resulting Numbers: [60, 34, 12] Generated Node #2: [60, 34, 12] from Operation: 65-53=12 Current State: 39:[60, 34, 12], Operations: ['65-53=12'] Exploring Operation: 60/12=5, Resulting Numbers: [34, 5] Generated Node #3: [34, 5] from Operation: 60/12=5 Current State: 39:[34, 5], Operations: ['65-53=12', '60/12=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[65, 60, 34, 53], Operations: [] Exploring Operation: 65-53=12, Resulting Numbers: [60, 34, 12] Generated Node #0,0: 39:[60, 34, 12] Operation: 65-53=12 Exploring Operation: 65-60=5, Resulting Numbers: [34, 53, 5] Generated Node #0,1: 39:[34, 53, 5] Operation: 65-60=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[34, 53, 5], Operations: ['65-60=5'] Exploring Operation: 34+5=39, Resulting Numbers: [53, 39] Generated Node #0,1,0: 39:[53, 39] Operation: 34+5=39 Exploring Operation: 53-34=19, Resulting Numbers: [5, 19] Generated Node #0,1,1: 39:[5, 19] Operation: 53-34=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[5, 19], Operations: ['65-60=5', '53-34=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,39 unequal: No Solution No 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: 39:[53, 39], Operations: ['65-60=5', '34+5=39'] Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 53+39=92, Resulting Numbers: [92] 92,39 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: 39:[60, 34, 12], Operations: ['65-53=12'] Exploring Operation: 60-34=26, Resulting Numbers: [12, 26] Generated Node #0,0,0: 39:[12, 26] Operation: 60-34=26 Exploring Operation: 60/12=5, Resulting Numbers: [34, 5] Generated Node #0,0,1: 39:[34, 5] Operation: 60/12=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[34, 5], Operations: ['65-53=12', '60/12=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[65, 60, 34, 53], Operations: [] Exploring Operation: 65-53=12, Resulting Numbers: [60, 34, 12] Generated Node #0,0: 39:[60, 34, 12] Operation: 65-53=12 Moving to Node #0,0 Current State: 39:[60, 34, 12], Operations: ['65-53=12'] Exploring Operation: 60/12=5, Resulting Numbers: [34, 5] Generated Node #0,0,1: 39:[34, 5] Operation: 60/12=5 Moving to Node #0,0,1 Current State: 39:[34, 5], Operations: ['65-53=12', '60/12=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 60, 15, 74, 80 ]
25
[ "80-74=6", "60/6=10", "15+10=25" ]
Current State: 25:[60, 15, 74, 80], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [60, 15, 6] Generated Node #2: [60, 15, 6] from Operation: 80-74=6 Current State: 25:[60, 15, 6], Operations: ['80-74=6'] Exploring Operation: 60/6=10, Resulting Numbers: [15, 10] Generated Node #3: [15, 10] from Operation: 60/6=10 Current State: 25:[15, 10], Operations: ['80-74=6', '60/6=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[60, 15, 74, 80], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [60, 15, 6] Generated Node #0,0: 25:[60, 15, 6] Operation: 80-74=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[60, 15, 6], Operations: ['80-74=6'] Exploring Operation: 60/15=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 25:[6, 4] Operation: 60/15=4 Moving to Node #0,0,0 Current State: 25:[6, 4], Operations: ['80-74=6', '60/15=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,25 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
[ 18, 5, 15, 97 ]
95
[ "18-5=13", "97-15=82", "13+82=95" ]
Current State: 95:[18, 5, 15, 97], Operations: [] Exploring Operation: 18-5=13, Resulting Numbers: [15, 97, 13] Generated Node #2: [15, 97, 13] from Operation: 18-5=13 Current State: 95:[15, 97, 13], Operations: ['18-5=13'] Exploring Operation: 97-15=82, Resulting Numbers: [13, 82] Generated Node #3: [13, 82] from Operation: 97-15=82 Current State: 95:[13, 82], Operations: ['18-5=13', '97-15=82'] Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[18, 5, 15, 97], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [18, 97, 3] Generated Node #0,0: 95:[18, 97, 3] Operation: 15/5=3 Exploring Operation: 18-15=3, Resulting Numbers: [5, 97, 3] Generated Node #0,1: 95:[5, 97, 3] Operation: 18-15=3 Exploring Operation: 97-5=92, Resulting Numbers: [18, 15, 92] Generated Node #0,2: 95:[18, 15, 92] Operation: 97-5=92 Exploring Operation: 15-5=10, Resulting Numbers: [18, 97, 10] Generated Node #0,3: 95:[18, 97, 10] Operation: 15-5=10 Exploring Operation: 5+15=20, Resulting Numbers: [18, 97, 20] Generated Node #0,4: 95:[18, 97, 20] Operation: 5+15=20 Moving to Node #0,1 Current State: 95:[5, 97, 3], Operations: ['18-15=3'] Exploring Operation: 5-3=2, Resulting Numbers: [97, 2] Generated Node #0,1,0: 95:[97, 2] Operation: 5-3=2 Exploring Operation: 5+3=8, Resulting Numbers: [97, 8] Generated Node #0,1,1: 95:[97, 8] Operation: 5+3=8 Exploring Operation: 97+3=100, Resulting Numbers: [5, 100] Generated Node #0,1,2: 95:[5, 100] Operation: 97+3=100 Exploring Operation: 97-3=94, Resulting Numbers: [5, 94] Generated Node #0,1,3: 95:[5, 94] Operation: 97-3=94 Exploring Operation: 97-5=92, Resulting Numbers: [3, 92] Generated Node #0,1,4: 95:[3, 92] Operation: 97-5=92 Moving to Node #0,4 Current State: 95:[18, 97, 20], Operations: ['5+15=20'] Exploring Operation: 18+97=115, Resulting Numbers: [20, 115] Generated Node #0,4,0: 95:[20, 115] Operation: 18+97=115 Exploring Operation: 20-18=2, Resulting Numbers: [97, 2] Generated Node #0,4,1: 95:[97, 2] Operation: 20-18=2 Exploring Operation: 18+20=38, Resulting Numbers: [97, 38] Generated Node #0,4,2: 95:[97, 38] Operation: 18+20=38 Exploring Operation: 97-18=79, Resulting Numbers: [20, 79] Generated Node #0,4,3: 95:[20, 79] Operation: 97-18=79 Exploring Operation: 97-20=77, Resulting Numbers: [18, 77] Generated Node #0,4,4: 95:[18, 77] Operation: 97-20=77 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[97, 2], Operations: ['5+15=20', '20-18=2'] Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,95 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[18, 5, 15, 97], Operations: [] Exploring Operation: 5+15=20, Resulting Numbers: [18, 97, 20] Generated Node #0,4: 95:[18, 97, 20] Operation: 5+15=20 Moving to Node #0,4 Current State: 95:[18, 97, 20], Operations: ['5+15=20'] Exploring Operation: 20-18=2, Resulting Numbers: [97, 2] Generated Node #0,4,1: 95:[97, 2] Operation: 20-18=2 Moving to Node #0,4,1 Current State: 95:[97, 2], Operations: ['5+15=20', '20-18=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 3, 40, 10, 46 ]
24
[ "3*10=30", "46-40=6", "30-6=24" ]
Current State: 24:[3, 40, 10, 46], Operations: [] Exploring Operation: 3*10=30, Resulting Numbers: [40, 46, 30] Generated Node #2: [40, 46, 30] from Operation: 3*10=30 Current State: 24:[40, 46, 30], Operations: ['3*10=30'] Exploring Operation: 46-40=6, Resulting Numbers: [30, 6] Generated Node #3: [30, 6] from Operation: 46-40=6 Current State: 24:[30, 6], Operations: ['3*10=30', '46-40=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[3, 40, 10, 46], Operations: [] Exploring Operation: 40/10=4, Resulting Numbers: [3, 46, 4] Generated Node #0,0: 24:[3, 46, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [3, 46, 30] Generated Node #0,1: 24:[3, 46, 30] Operation: 40-10=30 Exploring Operation: 46-40=6, Resulting Numbers: [3, 10, 6] Generated Node #0,2: 24:[3, 10, 6] Operation: 46-40=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[3, 10, 6], Operations: ['46-40=6'] Exploring Operation: 10-3=7, Resulting Numbers: [6, 7] Generated Node #0,2,0: 24:[6, 7] Operation: 10-3=7 Exploring Operation: 10-6=4, Resulting Numbers: [3, 4] Generated Node #0,2,1: 24:[3, 4] Operation: 10-6=4 Exploring Operation: 3+10=13, Resulting Numbers: [6, 13] Generated Node #0,2,2: 24:[6, 13] Operation: 3+10=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[3, 4], Operations: ['46-40=6', '10-6=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,24 unequal: No Solution No 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: 24:[6, 7], Operations: ['46-40=6', '10-3=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,24 unequal: No Solution No 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: 24:[6, 13], Operations: ['46-40=6', '3+10=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,24 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,24 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: 24:[3, 46, 4], Operations: ['40/10=4'] Exploring Operation: 46-3=43, Resulting Numbers: [4, 43] Generated Node #0,0,0: 24:[4, 43] Operation: 46-3=43 Exploring Operation: 46-4=42, Resulting Numbers: [3, 42] Generated Node #0,0,1: 24:[3, 42] Operation: 46-4=42 Exploring Operation: 3*4=12, Resulting Numbers: [46, 12] Generated Node #0,0,2: 24:[46, 12] Operation: 3*4=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[3, 42], Operations: ['40/10=4', '46-4=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,24 unequal: No Solution No 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: 24:[4, 43], Operations: ['40/10=4', '46-3=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,24 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,24 unequal: No Solution No 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: 24:[46, 12], Operations: ['40/10=4', '3*4=12'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,24 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,24 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,24 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: 24:[3, 46, 30], Operations: ['40-10=30'] Exploring Operation: 30/3=10, Resulting Numbers: [46, 10] Generated Node #0,1,0: 24:[46, 10] Operation: 30/3=10 Exploring Operation: 46-30=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 24:[3, 16] Operation: 46-30=16 Exploring Operation: 46-3=43, Resulting Numbers: [30, 43] Generated Node #0,1,2: 24:[30, 43] Operation: 46-3=43 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[3, 16], Operations: ['40-10=30', '46-30=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,24 unequal: No Solution No 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: 24:[46, 10], Operations: ['40-10=30', '30/3=10'] Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,24 unequal: No Solution No 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: 24:[30, 43], Operations: ['40-10=30', '46-3=43'] Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,24 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,24 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
[ 27, 93, 24, 3 ]
45
[ "93-27=66", "24-3=21", "66-21=45" ]
Current State: 45:[27, 93, 24, 3], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [24, 3, 66] Generated Node #2: [24, 3, 66] from Operation: 93-27=66 Current State: 45:[24, 3, 66], Operations: ['93-27=66'] Exploring Operation: 24-3=21, Resulting Numbers: [66, 21] Generated Node #3: [66, 21] from Operation: 24-3=21 Current State: 45:[66, 21], Operations: ['93-27=66', '24-3=21'] Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[27, 93, 24, 3], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [24, 3, 66] Generated Node #0,0: 45:[24, 3, 66] Operation: 93-27=66 Exploring Operation: 93/3=31, Resulting Numbers: [27, 24, 31] Generated Node #0,1: 45:[27, 24, 31] Operation: 93/3=31 Exploring Operation: 93-24=69, Resulting Numbers: [27, 3, 69] Generated Node #0,2: 45:[27, 3, 69] Operation: 93-24=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[24, 3, 66], Operations: ['93-27=66'] Exploring Operation: 66-24=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 45:[3, 42] Operation: 66-24=42 Exploring Operation: 66/3=22, Resulting Numbers: [24, 22] Generated Node #0,0,1: 45:[24, 22] Operation: 66/3=22 Exploring Operation: 24/3=8, Resulting Numbers: [66, 8] Generated Node #0,0,2: 45:[66, 8] Operation: 24/3=8 Moving to Node #0,0,0 Current State: 45:[3, 42], Operations: ['93-27=66', '66-24=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[27, 93, 24, 3], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [24, 3, 66] Generated Node #0,0: 45:[24, 3, 66] Operation: 93-27=66 Moving to Node #0,0 Current State: 45:[24, 3, 66], Operations: ['93-27=66'] Exploring Operation: 66-24=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 45:[3, 42] Operation: 66-24=42 Moving to Node #0,0,0 Current State: 45:[3, 42], Operations: ['93-27=66', '66-24=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 42, 27, 72, 13 ]
44
[ "42-27=15", "72-13=59", "59-15=44" ]
Current State: 44:[42, 27, 72, 13], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [72, 13, 15] Generated Node #2: [72, 13, 15] from Operation: 42-27=15 Current State: 44:[72, 13, 15], Operations: ['42-27=15'] Exploring Operation: 72-13=59, Resulting Numbers: [15, 59] Generated Node #3: [15, 59] from Operation: 72-13=59 Current State: 44:[15, 59], Operations: ['42-27=15', '72-13=59'] Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[42, 27, 72, 13], Operations: [] Exploring Operation: 72-27=45, Resulting Numbers: [42, 13, 45] Generated Node #0,0: 44:[42, 13, 45] Operation: 72-27=45 Exploring Operation: 72-13=59, Resulting Numbers: [42, 27, 59] Generated Node #0,1: 44:[42, 27, 59] Operation: 72-13=59 Exploring Operation: 27-13=14, Resulting Numbers: [42, 72, 14] Generated Node #0,2: 44:[42, 72, 14] Operation: 27-13=14 Exploring Operation: 72-42=30, Resulting Numbers: [27, 13, 30] Generated Node #0,3: 44:[27, 13, 30] Operation: 72-42=30 Exploring Operation: 42-27=15, Resulting Numbers: [72, 13, 15] Generated Node #0,4: 44:[72, 13, 15] Operation: 42-27=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[42, 13, 45], Operations: ['72-27=45'] Exploring Operation: 42+13=55, Resulting Numbers: [45, 55] Generated Node #0,0,0: 44:[45, 55] Operation: 42+13=55 Exploring Operation: 45-42=3, Resulting Numbers: [13, 3] Generated Node #0,0,1: 44:[13, 3] Operation: 45-42=3 Exploring Operation: 13+45=58, Resulting Numbers: [42, 58] Generated Node #0,0,2: 44:[42, 58] Operation: 13+45=58 Exploring Operation: 45-13=32, Resulting Numbers: [42, 32] Generated Node #0,0,3: 44:[42, 32] Operation: 45-13=32 Exploring Operation: 42-13=29, Resulting Numbers: [45, 29] Generated Node #0,0,4: 44:[45, 29] Operation: 42-13=29 Moving to Node #0,0,1 Current State: 44:[13, 3], Operations: ['72-27=45', '45-42=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,44 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,44 unequal: No Solution Moving to Node #0,0,4 Current State: 44:[45, 29], Operations: ['72-27=45', '42-13=29'] Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,44 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[45, 55], Operations: ['72-27=45', '42+13=55'] Exploring Operation: 45*55=2475, Resulting Numbers: [2475] 2475,44 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[42, 32], Operations: ['72-27=45', '45-13=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,44 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[42, 58], Operations: ['72-27=45', '13+45=58'] Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,44 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[27, 13, 30], Operations: ['72-42=30'] Exploring Operation: 27-13=14, Resulting Numbers: [30, 14] Generated Node #0,3,0: 44:[30, 14] Operation: 27-13=14 Exploring Operation: 30-13=17, Resulting Numbers: [27, 17] Generated Node #0,3,1: 44:[27, 17] Operation: 30-13=17 Exploring Operation: 13+30=43, Resulting Numbers: [27, 43] Generated Node #0,3,2: 44:[27, 43] Operation: 13+30=43 Exploring Operation: 27+13=40, Resulting Numbers: [30, 40] Generated Node #0,3,3: 44:[30, 40] Operation: 27+13=40 Exploring Operation: 30-27=3, Resulting Numbers: [13, 3] Generated Node #0,3,4: 44:[13, 3] Operation: 30-27=3 Moving to Node #0,3,4 Current State: 44:[13, 3], Operations: ['72-42=30', '30-27=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[27, 43], Operations: ['72-42=30', '13+30=43'] Exploring Operation: 27*43=1161, Resulting Numbers: [1161] 1161,44 unequal: No Solution Exploring Operation: 27+43=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[27, 17], Operations: ['72-42=30', '30-13=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[42, 27, 72, 13], Operations: [] Exploring Operation: 72-42=30, Resulting Numbers: [27, 13, 30] Generated Node #0,3: 44:[27, 13, 30] Operation: 72-42=30 Moving to Node #0,3 Current State: 44:[27, 13, 30], Operations: ['72-42=30'] Exploring Operation: 30-13=17, Resulting Numbers: [27, 17] Generated Node #0,3,1: 44:[27, 17] Operation: 30-13=17 Moving to Node #0,3,1 Current State: 44:[27, 17], Operations: ['72-42=30', '30-13=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 92, 14, 31, 11 ]
64
[ "92+14=106", "31+11=42", "106-42=64" ]
Current State: 64:[92, 14, 31, 11], Operations: [] Exploring Operation: 92+14=106, Resulting Numbers: [31, 11, 106] Generated Node #2: [31, 11, 106] from Operation: 92+14=106 Current State: 64:[31, 11, 106], Operations: ['92+14=106'] Exploring Operation: 31+11=42, Resulting Numbers: [106, 42] Generated Node #3: [106, 42] from Operation: 31+11=42 Current State: 64:[106, 42], Operations: ['92+14=106', '31+11=42'] Exploring Operation: 106-42=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[92, 14, 31, 11], Operations: [] Exploring Operation: 92-14=78, Resulting Numbers: [31, 11, 78] Generated Node #0,0: 64:[31, 11, 78] Operation: 92-14=78 Exploring Operation: 92-31=61, Resulting Numbers: [14, 11, 61] Generated Node #0,1: 64:[14, 11, 61] Operation: 92-31=61 Exploring Operation: 92-11=81, Resulting Numbers: [14, 31, 81] Generated Node #0,2: 64:[14, 31, 81] Operation: 92-11=81 Moving to Node #0,1 Current State: 64:[14, 11, 61], Operations: ['92-31=61'] Exploring Operation: 14+11=25, Resulting Numbers: [61, 25] Generated Node #0,1,0: 64:[61, 25] Operation: 14+11=25 Exploring Operation: 14-11=3, Resulting Numbers: [61, 3] Generated Node #0,1,1: 64:[61, 3] Operation: 14-11=3 Exploring Operation: 11+61=72, Resulting Numbers: [14, 72] Generated Node #0,1,2: 64:[14, 72] Operation: 11+61=72 Moving to Node #0,0 Current State: 64:[31, 11, 78], Operations: ['92-14=78'] Exploring Operation: 78-11=67, Resulting Numbers: [31, 67] Generated Node #0,0,0: 64:[31, 67] Operation: 78-11=67 Exploring Operation: 78-31=47, Resulting Numbers: [11, 47] Generated Node #0,0,1: 64:[11, 47] Operation: 78-31=47 Exploring Operation: 31-11=20, Resulting Numbers: [78, 20] Generated Node #0,0,2: 64:[78, 20] Operation: 31-11=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[31, 67], Operations: ['92-14=78', '78-11=67'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[11, 47], Operations: ['92-14=78', '78-31=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[78, 20], Operations: ['92-14=78', '31-11=20'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 78*20=1560, Resulting Numbers: [1560] 1560,64 unequal: No Solution Exploring Operation: 78+20=98, Resulting Numbers: [98] 98,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[14, 31, 81], Operations: ['92-11=81'] Exploring Operation: 81-31=50, Resulting Numbers: [14, 50] Generated Node #0,2,0: 64:[14, 50] Operation: 81-31=50 Exploring Operation: 31-14=17, Resulting Numbers: [81, 17] Generated Node #0,2,1: 64:[81, 17] Operation: 31-14=17 Exploring Operation: 81-14=67, Resulting Numbers: [31, 67] Generated Node #0,2,2: 64:[31, 67] Operation: 81-14=67 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[31, 67], Operations: ['92-11=81', '81-14=67'] Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[14, 50], Operations: ['92-11=81', '81-31=50'] Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[92, 14, 31, 11], Operations: [] Exploring Operation: 92-11=81, Resulting Numbers: [14, 31, 81] Generated Node #0,2: 64:[14, 31, 81] Operation: 92-11=81 Moving to Node #0,2 Current State: 64:[14, 31, 81], Operations: ['92-11=81'] Exploring Operation: 81-31=50, Resulting Numbers: [14, 50] Generated Node #0,2,0: 64:[14, 50] Operation: 81-31=50 Moving to Node #0,2,0 Current State: 64:[14, 50], Operations: ['92-11=81', '81-31=50'] Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 33, 24, 11, 34 ]
32
[ "33-24=9", "34-11=23", "9+23=32" ]
Current State: 32:[33, 24, 11, 34], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [11, 34, 9] Generated Node #2: [11, 34, 9] from Operation: 33-24=9 Current State: 32:[11, 34, 9], Operations: ['33-24=9'] Exploring Operation: 34-11=23, Resulting Numbers: [9, 23] Generated Node #3: [9, 23] from Operation: 34-11=23 Current State: 32:[9, 23], Operations: ['33-24=9', '34-11=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[33, 24, 11, 34], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [11, 34, 9] Generated Node #0,0: 32:[11, 34, 9] Operation: 33-24=9 Exploring Operation: 34-24=10, Resulting Numbers: [33, 11, 10] Generated Node #0,1: 32:[33, 11, 10] Operation: 34-24=10 Exploring Operation: 24-11=13, Resulting Numbers: [33, 34, 13] Generated Node #0,2: 32:[33, 34, 13] Operation: 24-11=13 Exploring Operation: 24+11=35, Resulting Numbers: [33, 34, 35] Generated Node #0,3: 32:[33, 34, 35] Operation: 24+11=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[11, 34, 9], Operations: ['33-24=9'] Exploring Operation: 34-9=25, Resulting Numbers: [11, 25] Generated Node #0,0,0: 32:[11, 25] Operation: 34-9=25 Exploring Operation: 11+9=20, Resulting Numbers: [34, 20] Generated Node #0,0,1: 32:[34, 20] Operation: 11+9=20 Exploring Operation: 11-9=2, Resulting Numbers: [34, 2] Generated Node #0,0,2: 32:[34, 2] Operation: 11-9=2 Exploring Operation: 34-11=23, Resulting Numbers: [9, 23] Generated Node #0,0,3: 32:[9, 23] Operation: 34-11=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[34, 2], Operations: ['33-24=9', '11-9=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[33, 24, 11, 34], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [11, 34, 9] Generated Node #0,0: 32:[11, 34, 9] Operation: 33-24=9 Moving to Node #0,0 Current State: 32:[11, 34, 9], Operations: ['33-24=9'] Exploring Operation: 11-9=2, Resulting Numbers: [34, 2] Generated Node #0,0,2: 32:[34, 2] Operation: 11-9=2 Moving to Node #0,0,2 Current State: 32:[34, 2], Operations: ['33-24=9', '11-9=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 7, 9, 19, 16 ]
59
[ "7*16=112", "9*19=171", "171-112=59" ]
Current State: 59:[7, 9, 19, 16], Operations: [] Exploring Operation: 7*16=112, Resulting Numbers: [9, 19, 112] Generated Node #2: [9, 19, 112] from Operation: 7*16=112 Current State: 59:[9, 19, 112], Operations: ['7*16=112'] Exploring Operation: 9*19=171, Resulting Numbers: [112, 171] Generated Node #3: [112, 171] from Operation: 9*19=171 Current State: 59:[112, 171], Operations: ['7*16=112', '9*19=171'] Exploring Operation: 171-112=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[7, 9, 19, 16], Operations: [] Exploring Operation: 7*9=63, Resulting Numbers: [19, 16, 63] Generated Node #0,0: 59:[19, 16, 63] Operation: 7*9=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[19, 16, 63], Operations: ['7*9=63'] Exploring Operation: 19+16=35, Resulting Numbers: [63, 35] Generated Node #0,0,0: 59:[63, 35] Operation: 19+16=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[63, 35], Operations: ['7*9=63', '19+16=35'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,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_1
sum_heuristic
[ 4, 2, 97, 22 ]
83
[ "4*2=8", "97-22=75", "8+75=83" ]
Current State: 83:[4, 2, 97, 22], Operations: [] Exploring Operation: 4*2=8, Resulting Numbers: [97, 22, 8] Generated Node #2: [97, 22, 8] from Operation: 4*2=8 Current State: 83:[97, 22, 8], Operations: ['4*2=8'] Exploring Operation: 97-22=75, Resulting Numbers: [8, 75] Generated Node #3: [8, 75] from Operation: 97-22=75 Current State: 83:[8, 75], Operations: ['4*2=8', '97-22=75'] Exploring Operation: 8+75=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[4, 2, 97, 22], Operations: [] Exploring Operation: 2*22=44, Resulting Numbers: [4, 97, 44] Generated Node #0,0: 83:[4, 97, 44] Operation: 2*22=44 Exploring Operation: 4*2=8, Resulting Numbers: [97, 22, 8] Generated Node #0,1: 83:[97, 22, 8] Operation: 4*2=8 Exploring Operation: 4*22=88, Resulting Numbers: [2, 97, 88] Generated Node #0,2: 83:[2, 97, 88] Operation: 4*22=88 Exploring Operation: 4+2=6, Resulting Numbers: [97, 22, 6] Generated Node #0,3: 83:[97, 22, 6] Operation: 4+2=6 Moving to Node #0,2 Current State: 83:[2, 97, 88], Operations: ['4*22=88'] Exploring Operation: 88-2=86, Resulting Numbers: [97, 86] Generated Node #0,2,0: 83:[97, 86] Operation: 88-2=86 Exploring Operation: 97-2=95, Resulting Numbers: [88, 95] Generated Node #0,2,1: 83:[88, 95] Operation: 97-2=95 Exploring Operation: 2+97=99, Resulting Numbers: [88, 99] Generated Node #0,2,2: 83:[88, 99] Operation: 2+97=99 Exploring Operation: 2+88=90, Resulting Numbers: [97, 90] Generated Node #0,2,3: 83:[97, 90] Operation: 2+88=90 Moving to Node #0,0 Current State: 83:[4, 97, 44], Operations: ['2*22=44'] Exploring Operation: 44-4=40, Resulting Numbers: [97, 40] Generated Node #0,0,0: 83:[97, 40] Operation: 44-4=40 Exploring Operation: 4+97=101, Resulting Numbers: [44, 101] Generated Node #0,0,1: 83:[44, 101] Operation: 4+97=101 Exploring Operation: 4+44=48, Resulting Numbers: [97, 48] Generated Node #0,0,2: 83:[97, 48] Operation: 4+44=48 Exploring Operation: 97-4=93, Resulting Numbers: [44, 93] Generated Node #0,0,3: 83:[44, 93] Operation: 97-4=93 Moving to Node #0,1 Current State: 83:[97, 22, 8], Operations: ['4*2=8'] Exploring Operation: 22+8=30, Resulting Numbers: [97, 30] Generated Node #0,1,0: 83:[97, 30] Operation: 22+8=30 Exploring Operation: 97+8=105, Resulting Numbers: [22, 105] Generated Node #0,1,1: 83:[22, 105] Operation: 97+8=105 Exploring Operation: 97-22=75, Resulting Numbers: [8, 75] Generated Node #0,1,2: 83:[8, 75] Operation: 97-22=75 Exploring Operation: 97-8=89, Resulting Numbers: [22, 89] Generated Node #0,1,3: 83:[22, 89] Operation: 97-8=89 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[97, 30], Operations: ['4*2=8', '22+8=30'] Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[22, 89], Operations: ['4*2=8', '97-8=89'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 22+89=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 22*89=1958, Resulting Numbers: [1958] 1958,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[22, 105], Operations: ['4*2=8', '97+8=105'] Exploring Operation: 22*105=2310, Resulting Numbers: [2310] 2310,83 unequal: No Solution Exploring Operation: 105-22=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[4, 2, 97, 22], Operations: [] Exploring Operation: 4*2=8, Resulting Numbers: [97, 22, 8] Generated Node #0,1: 83:[97, 22, 8] Operation: 4*2=8 Moving to Node #0,1 Current State: 83:[97, 22, 8], Operations: ['4*2=8'] Exploring Operation: 97+8=105, Resulting Numbers: [22, 105] Generated Node #0,1,1: 83:[22, 105] Operation: 97+8=105 Moving to Node #0,1,1 Current State: 83:[22, 105], Operations: ['4*2=8', '97+8=105'] Exploring Operation: 105-22=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
sum_heuristic
[ 52, 39, 12, 92 ]
76
[ "52*12=624", "624/39=16", "92-16=76" ]
Current State: 76:[52, 39, 12, 92], Operations: [] Exploring Operation: 52*12=624, Resulting Numbers: [39, 92, 624] Generated Node #2: [39, 92, 624] from Operation: 52*12=624 Current State: 76:[39, 92, 624], Operations: ['52*12=624'] Exploring Operation: 624/39=16, Resulting Numbers: [92, 16] Generated Node #3: [92, 16] from Operation: 624/39=16 Current State: 76:[92, 16], Operations: ['52*12=624', '624/39=16'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[52, 39, 12, 92], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [39, 12, 40] Generated Node #0,0: 76:[39, 12, 40] Operation: 92-52=40 Exploring Operation: 92-12=80, Resulting Numbers: [52, 39, 80] Generated Node #0,1: 76:[52, 39, 80] Operation: 92-12=80 Exploring Operation: 52-12=40, Resulting Numbers: [39, 92, 40] Generated Node #0,2: 76:[39, 92, 40] Operation: 52-12=40 Moving to Node #0,0 Current State: 76:[39, 12, 40], Operations: ['92-52=40'] Exploring Operation: 39+40=79, Resulting Numbers: [12, 79] Generated Node #0,0,0: 76:[12, 79] Operation: 39+40=79 Exploring Operation: 39-12=27, Resulting Numbers: [40, 27] Generated Node #0,0,1: 76:[40, 27] Operation: 39-12=27 Exploring Operation: 40-39=1, Resulting Numbers: [12, 1] Generated Node #0,0,2: 76:[12, 1] Operation: 40-39=1 Moving to Node #0,1 Current State: 76:[52, 39, 80], Operations: ['92-12=80'] Exploring Operation: 52-39=13, Resulting Numbers: [80, 13] Generated Node #0,1,0: 76:[80, 13] Operation: 52-39=13 Exploring Operation: 80-52=28, Resulting Numbers: [39, 28] Generated Node #0,1,1: 76:[39, 28] Operation: 80-52=28 Exploring Operation: 80-39=41, Resulting Numbers: [52, 41] Generated Node #0,1,2: 76:[52, 41] Operation: 80-39=41 Moving to Node #0,2 Current State: 76:[39, 92, 40], Operations: ['52-12=40'] Exploring Operation: 40-39=1, Resulting Numbers: [92, 1] Generated Node #0,2,0: 76:[92, 1] Operation: 40-39=1 Exploring Operation: 92-39=53, Resulting Numbers: [40, 53] Generated Node #0,2,1: 76:[40, 53] Operation: 92-39=53 Exploring Operation: 92-40=52, Resulting Numbers: [39, 52] Generated Node #0,2,2: 76:[39, 52] Operation: 92-40=52 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[39, 52], Operations: ['52-12=40', '92-40=52'] Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[92, 1], Operations: ['52-12=40', '40-39=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,76 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[40, 53], Operations: ['52-12=40', '92-39=53'] Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,76 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,76 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 76:[12, 1], Operations: ['92-52=40', '40-39=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[40, 27], Operations: ['92-52=40', '39-12=27'] Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,76 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[12, 79], Operations: ['92-52=40', '39+40=79'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[80, 13], Operations: ['92-12=80', '52-39=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,76 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[39, 28], Operations: ['92-12=80', '80-52=28'] Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,76 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[52, 41], Operations: ['92-12=80', '80-39=41'] Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,76 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,76 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 98, 98, 51, 7 ]
43
[ "98/98=1", "51-7=44", "44-1=43" ]
Current State: 43:[98, 98, 51, 7], Operations: [] Exploring Operation: 98/98=1, Resulting Numbers: [51, 7, 1] Generated Node #2: [51, 7, 1] from Operation: 98/98=1 Current State: 43:[51, 7, 1], Operations: ['98/98=1'] Exploring Operation: 51-7=44, Resulting Numbers: [1, 44] Generated Node #3: [1, 44] from Operation: 51-7=44 Current State: 43:[1, 44], Operations: ['98/98=1', '51-7=44'] Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[98, 98, 51, 7], Operations: [] Exploring Operation: 98/98=1, Resulting Numbers: [51, 7, 1] Generated Node #0,0: 43:[51, 7, 1] Operation: 98/98=1 Exploring Operation: 98-98=0, Resulting Numbers: [51, 7, 0] Generated Node #0,1: 43:[51, 7, 0] Operation: 98-98=0 Moving to Node #0,0 Current State: 43:[51, 7, 1], Operations: ['98/98=1'] Exploring Operation: 51-1=50, Resulting Numbers: [7, 50] Generated Node #0,0,0: 43:[7, 50] Operation: 51-1=50 Exploring Operation: 51-7=44, Resulting Numbers: [1, 44] Generated Node #0,0,1: 43:[1, 44] Operation: 51-7=44 Moving to Node #0,1 Current State: 43:[51, 7, 0], Operations: ['98-98=0'] Exploring Operation: 51-7=44, Resulting Numbers: [0, 44] Generated Node #0,1,0: 43:[0, 44] Operation: 51-7=44 Exploring Operation: 51+0=51, Resulting Numbers: [7, 51] Generated Node #0,1,1: 43:[7, 51] Operation: 51+0=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[0, 44], Operations: ['98-98=0', '51-7=44'] Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 0+44=44, Resulting Numbers: [44] 44,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[7, 51], Operations: ['98-98=0', '51+0=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 43:[7, 50], Operations: ['98/98=1', '51-1=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[98, 98, 51, 7], Operations: [] Exploring Operation: 98/98=1, Resulting Numbers: [51, 7, 1] Generated Node #0,0: 43:[51, 7, 1] Operation: 98/98=1 Moving to Node #0,0 Current State: 43:[51, 7, 1], Operations: ['98/98=1'] Exploring Operation: 51-1=50, Resulting Numbers: [7, 50] Generated Node #0,0,0: 43:[7, 50] Operation: 51-1=50 Moving to Node #0,0,0 Current State: 43:[7, 50], Operations: ['98/98=1', '51-1=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 33, 66, 62, 62 ]
33
[ "66-33=33", "62-62=0", "33+0=33" ]
Current State: 33:[33, 66, 62, 62], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [62, 62, 33] Generated Node #2: [62, 62, 33] from Operation: 66-33=33 Current State: 33:[62, 62, 33], Operations: ['66-33=33'] Exploring Operation: 62-62=0, Resulting Numbers: [33, 0] Generated Node #3: [33, 0] from Operation: 62-62=0 Current State: 33:[33, 0], Operations: ['66-33=33', '62-62=0'] Exploring Operation: 33+0=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[33, 66, 62, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [33, 62, 4] Generated Node #0,0: 33:[33, 62, 4] Operation: 66-62=4 Exploring Operation: 66-62=4, Resulting Numbers: [33, 62, 4] Generated Node #0,1: 33:[33, 62, 4] Operation: 66-62=4 Exploring Operation: 66-33=33, Resulting Numbers: [62, 62, 33] Generated Node #0,2: 33:[62, 62, 33] Operation: 66-33=33 Exploring Operation: 62/62=1, Resulting Numbers: [33, 66, 1] Generated Node #0,3: 33:[33, 66, 1] Operation: 62/62=1 Exploring Operation: 62-62=0, Resulting Numbers: [33, 66, 0] Generated Node #0,4: 33:[33, 66, 0] Operation: 62-62=0 Moving to Node #0,0 Current State: 33:[33, 62, 4], Operations: ['66-62=4'] Exploring Operation: 62-4=58, Resulting Numbers: [33, 58] Generated Node #0,0,0: 33:[33, 58] Operation: 62-4=58 Exploring Operation: 33-4=29, Resulting Numbers: [62, 29] Generated Node #0,0,1: 33:[62, 29] Operation: 33-4=29 Exploring Operation: 33+4=37, Resulting Numbers: [62, 37] Generated Node #0,0,2: 33:[62, 37] Operation: 33+4=37 Exploring Operation: 62+4=66, Resulting Numbers: [33, 66] Generated Node #0,0,3: 33:[33, 66] Operation: 62+4=66 Exploring Operation: 62-33=29, Resulting Numbers: [4, 29] Generated Node #0,0,4: 33:[4, 29] Operation: 62-33=29 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 33:[4, 29], Operations: ['66-62=4', '62-33=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[33, 66, 62, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [33, 62, 4] Generated Node #0,0: 33:[33, 62, 4] Operation: 66-62=4 Moving to Node #0,0 Current State: 33:[33, 62, 4], Operations: ['66-62=4'] Exploring Operation: 62-33=29, Resulting Numbers: [4, 29] Generated Node #0,0,4: 33:[4, 29] Operation: 62-33=29 Moving to Node #0,0,4 Current State: 33:[4, 29], Operations: ['66-62=4', '62-33=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 14, 20, 18, 98 ]
93
[ "18-14=4", "20/4=5", "98-5=93" ]
Current State: 93:[14, 20, 18, 98], Operations: [] Exploring Operation: 18-14=4, Resulting Numbers: [20, 98, 4] Generated Node #2: [20, 98, 4] from Operation: 18-14=4 Current State: 93:[20, 98, 4], Operations: ['18-14=4'] Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #3: [98, 5] from Operation: 20/4=5 Current State: 93:[98, 5], Operations: ['18-14=4', '20/4=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[14, 20, 18, 98], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [14, 98, 2] Generated Node #0,0: 93:[14, 98, 2] Operation: 20-18=2 Exploring Operation: 14+18=32, Resulting Numbers: [20, 98, 32] Generated Node #0,1: 93:[20, 98, 32] Operation: 14+18=32 Exploring Operation: 18-14=4, Resulting Numbers: [20, 98, 4] Generated Node #0,2: 93:[20, 98, 4] Operation: 18-14=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[14, 98, 2], Operations: ['20-18=2'] Exploring Operation: 98/14=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 93:[2, 7] Operation: 98/14=7 Exploring Operation: 14/2=7, Resulting Numbers: [98, 7] Generated Node #0,0,1: 93:[98, 7] Operation: 14/2=7 Exploring Operation: 14*2=28, Resulting Numbers: [98, 28] Generated Node #0,0,2: 93:[98, 28] Operation: 14*2=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[2, 7], Operations: ['20-18=2', '98/14=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,93 unequal: No Solution No 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: 93:[98, 28], Operations: ['20-18=2', '14*2=28'] Exploring Operation: 98+28=126, Resulting Numbers: [126] 126,93 unequal: No Solution Exploring Operation: 98*28=2744, Resulting Numbers: [2744] 2744,93 unequal: No Solution Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,93 unequal: No Solution No 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: 93:[98, 7], Operations: ['20-18=2', '14/2=7'] Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 98+7=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,93 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: 93:[20, 98, 32], Operations: ['14+18=32'] Exploring Operation: 20+98=118, Resulting Numbers: [32, 118] Generated Node #0,1,0: 93:[32, 118] Operation: 20+98=118 Exploring Operation: 32-20=12, Resulting Numbers: [98, 12] Generated Node #0,1,1: 93:[98, 12] Operation: 32-20=12 Exploring Operation: 98-20=78, Resulting Numbers: [32, 78] Generated Node #0,1,2: 93:[32, 78] Operation: 98-20=78 Moving to Node #0,1,1 Current State: 93:[98, 12], Operations: ['14+18=32', '32-20=12'] Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,93 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[32, 78], Operations: ['14+18=32', '98-20=78'] Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,93 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,93 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[32, 118], Operations: ['14+18=32', '20+98=118'] Exploring Operation: 32+118=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 32*118=3776, Resulting Numbers: [3776] 3776,93 unequal: No Solution Exploring Operation: 118-32=86, Resulting Numbers: [86] 86,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 Current State: 93:[20, 98, 4], Operations: ['18-14=4'] Exploring Operation: 20+4=24, Resulting Numbers: [98, 24] Generated Node #0,2,0: 93:[98, 24] Operation: 20+4=24 Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #0,2,1: 93:[98, 5] Operation: 20/4=5 Exploring Operation: 98-4=94, Resulting Numbers: [20, 94] Generated Node #0,2,2: 93:[20, 94] Operation: 98-4=94 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[98, 5], Operations: ['18-14=4', '20/4=5'] Exploring Operation: 98*5=490, Resulting Numbers: [490] 490,93 unequal: No Solution Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[14, 20, 18, 98], Operations: [] Exploring Operation: 18-14=4, Resulting Numbers: [20, 98, 4] Generated Node #0,2: 93:[20, 98, 4] Operation: 18-14=4 Moving to Node #0,2 Current State: 93:[20, 98, 4], Operations: ['18-14=4'] Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #0,2,1: 93:[98, 5] Operation: 20/4=5 Moving to Node #0,2,1 Current State: 93:[98, 5], Operations: ['18-14=4', '20/4=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 93, 42, 22, 30 ]
48
[ "93*22=2046", "2046-30=2016", "2016/42=48" ]
Current State: 48:[93, 42, 22, 30], Operations: [] Exploring Operation: 93*22=2046, Resulting Numbers: [42, 30, 2046] Generated Node #2: [42, 30, 2046] from Operation: 93*22=2046 Current State: 48:[42, 30, 2046], Operations: ['93*22=2046'] Exploring Operation: 2046-30=2016, Resulting Numbers: [42, 2016] Generated Node #3: [42, 2016] from Operation: 2046-30=2016 Current State: 48:[42, 2016], Operations: ['93*22=2046', '2046-30=2016'] Exploring Operation: 2016/42=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[93, 42, 22, 30], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [22, 30, 51] Generated Node #0,0: 48:[22, 30, 51] Operation: 93-42=51 Exploring Operation: 30-22=8, Resulting Numbers: [93, 42, 8] Generated Node #0,1: 48:[93, 42, 8] Operation: 30-22=8 Exploring Operation: 93-22=71, Resulting Numbers: [42, 30, 71] Generated Node #0,2: 48:[42, 30, 71] Operation: 93-22=71 Exploring Operation: 93-30=63, Resulting Numbers: [42, 22, 63] Generated Node #0,3: 48:[42, 22, 63] Operation: 93-30=63 Exploring Operation: 42-30=12, Resulting Numbers: [93, 22, 12] Generated Node #0,4: 48:[93, 22, 12] Operation: 42-30=12 Moving to Node #0,0 Current State: 48:[22, 30, 51], Operations: ['93-42=51'] Exploring Operation: 22+30=52, Resulting Numbers: [51, 52] Generated Node #0,0,0: 48:[51, 52] Operation: 22+30=52 Exploring Operation: 51-22=29, Resulting Numbers: [30, 29] Generated Node #0,0,1: 48:[30, 29] Operation: 51-22=29 Exploring Operation: 51-30=21, Resulting Numbers: [22, 21] Generated Node #0,0,2: 48:[22, 21] Operation: 51-30=21 Exploring Operation: 22+51=73, Resulting Numbers: [30, 73] Generated Node #0,0,3: 48:[30, 73] Operation: 22+51=73 Exploring Operation: 30-22=8, Resulting Numbers: [51, 8] Generated Node #0,0,4: 48:[51, 8] Operation: 30-22=8 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 48:[51, 8], Operations: ['93-42=51', '30-22=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,48 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[22, 21], Operations: ['93-42=51', '51-30=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,48 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[51, 52], Operations: ['93-42=51', '22+30=52'] Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,48 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[30, 29], Operations: ['93-42=51', '51-22=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,48 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[30, 73], Operations: ['93-42=51', '22+51=73'] Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,48 unequal: No Solution Exploring Operation: 30*73=2190, Resulting Numbers: [2190] 2190,48 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 48:[42, 22, 63], Operations: ['93-30=63'] Exploring Operation: 63-22=41, Resulting Numbers: [42, 41] Generated Node #0,3,0: 48:[42, 41] Operation: 63-22=41 Exploring Operation: 42+22=64, Resulting Numbers: [63, 64] Generated Node #0,3,1: 48:[63, 64] Operation: 42+22=64 Exploring Operation: 63-42=21, Resulting Numbers: [22, 21] Generated Node #0,3,2: 48:[22, 21] Operation: 63-42=21 Exploring Operation: 42-22=20, Resulting Numbers: [63, 20] Generated Node #0,3,3: 48:[63, 20] Operation: 42-22=20 Exploring Operation: 22+63=85, Resulting Numbers: [42, 85] Generated Node #0,3,4: 48:[42, 85] Operation: 22+63=85 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[22, 21], Operations: ['93-30=63', '63-42=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[42, 41], Operations: ['93-30=63', '63-22=41'] Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,48 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[63, 20], Operations: ['93-30=63', '42-22=20'] Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,48 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[63, 64], Operations: ['93-30=63', '42+22=64'] Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,48 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 48:[42, 85], Operations: ['93-30=63', '22+63=85'] Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,48 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,48 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,48 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: 48:[42, 30, 71], Operations: ['93-22=71'] Exploring Operation: 71-42=29, Resulting Numbers: [30, 29] Generated Node #0,2,0: 48:[30, 29] Operation: 71-42=29 Exploring Operation: 71-30=41, Resulting Numbers: [42, 41] Generated Node #0,2,1: 48:[42, 41] Operation: 71-30=41 Exploring Operation: 30+71=101, Resulting Numbers: [42, 101] Generated Node #0,2,2: 48:[42, 101] Operation: 30+71=101 Exploring Operation: 42+30=72, Resulting Numbers: [71, 72] Generated Node #0,2,3: 48:[71, 72] Operation: 42+30=72 Exploring Operation: 42-30=12, Resulting Numbers: [71, 12] Generated Node #0,2,4: 48:[71, 12] Operation: 42-30=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[30, 29], Operations: ['93-22=71', '71-42=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,48 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[42, 41], Operations: ['93-22=71', '71-30=41'] Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,48 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 48:[71, 12], Operations: ['93-22=71', '42-30=12'] Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[71, 72], Operations: ['93-22=71', '42+30=72'] Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,48 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[42, 101], Operations: ['93-22=71', '30+71=101'] Exploring Operation: 42+101=143, Resulting Numbers: [143] 143,48 unequal: No Solution Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 42*101=4242, Resulting Numbers: [4242] 4242,48 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: 48:[93, 22, 12], Operations: ['42-30=12'] Exploring Operation: 22-12=10, Resulting Numbers: [93, 10] Generated Node #0,4,0: 48:[93, 10] Operation: 22-12=10 Exploring Operation: 93+12=105, Resulting Numbers: [22, 105] Generated Node #0,4,1: 48:[22, 105] Operation: 93+12=105 Exploring Operation: 22+12=34, Resulting Numbers: [93, 34] Generated Node #0,4,2: 48:[93, 34] Operation: 22+12=34 Exploring Operation: 93-12=81, Resulting Numbers: [22, 81] Generated Node #0,4,3: 48:[22, 81] Operation: 93-12=81 Exploring Operation: 93-22=71, Resulting Numbers: [12, 71] Generated Node #0,4,4: 48:[12, 71] Operation: 93-22=71 Moving to Node #0,1 Current State: 48:[93, 42, 8], Operations: ['30-22=8'] Exploring Operation: 42+8=50, Resulting Numbers: [93, 50] Generated Node #0,1,0: 48:[93, 50] Operation: 42+8=50 Exploring Operation: 42-8=34, Resulting Numbers: [93, 34] Generated Node #0,1,1: 48:[93, 34] Operation: 42-8=34 Exploring Operation: 93+8=101, Resulting Numbers: [42, 101] Generated Node #0,1,2: 48:[42, 101] Operation: 93+8=101 Exploring Operation: 93-42=51, Resulting Numbers: [8, 51] Generated Node #0,1,3: 48:[8, 51] Operation: 93-42=51 Exploring Operation: 93-8=85, Resulting Numbers: [42, 85] Generated Node #0,1,4: 48:[42, 85] Operation: 93-8=85 Moving to Node #0,1,3 Current State: 48:[8, 51], Operations: ['30-22=8', '93-42=51'] Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,48 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[12, 71], Operations: ['42-30=12', '93-22=71'] Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 12*71=852, Resulting Numbers: [852] 852,48 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[22, 81], Operations: ['42-30=12', '93-12=81'] Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,48 unequal: No Solution Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,48 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[42, 85], Operations: ['30-22=8', '93-8=85'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,48 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[93, 10], Operations: ['42-30=12', '22-12=10'] Exploring Operation: 93*10=930, Resulting Numbers: [930] 930,48 unequal: No Solution Exploring Operation: 93+10=103, Resulting Numbers: [103] 103,48 unequal: No Solution Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[93, 50], Operations: ['30-22=8', '42+8=50'] Exploring Operation: 93+50=143, Resulting Numbers: [143] 143,48 unequal: No Solution Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 93*50=4650, Resulting Numbers: [4650] 4650,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[93, 34], Operations: ['30-22=8', '42-8=34'] Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 93*34=3162, Resulting Numbers: [3162] 3162,48 unequal: No Solution Exploring Operation: 93+34=127, Resulting Numbers: [127] 127,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[93, 34], Operations: ['42-30=12', '22+12=34'] Exploring Operation: 93+34=127, Resulting Numbers: [127] 127,48 unequal: No Solution Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 93*34=3162, Resulting Numbers: [3162] 3162,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[42, 101], Operations: ['30-22=8', '93+8=101'] Exploring Operation: 42*101=4242, Resulting Numbers: [4242] 4242,48 unequal: No Solution Exploring Operation: 42+101=143, Resulting Numbers: [143] 143,48 unequal: No Solution Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[22, 105], Operations: ['42-30=12', '93+12=105'] Exploring Operation: 22+105=127, Resulting Numbers: [127] 127,48 unequal: No Solution Exploring Operation: 105-22=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 22*105=2310, Resulting Numbers: [2310] 2310,48 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 62, 98, 51, 72 ]
49
[ "98-62=36", "72/36=2", "51-2=49" ]
Current State: 49:[62, 98, 51, 72], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [51, 72, 36] Generated Node #2: [51, 72, 36] from Operation: 98-62=36 Current State: 49:[51, 72, 36], Operations: ['98-62=36'] Exploring Operation: 72/36=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 72/36=2 Current State: 49:[51, 2], Operations: ['98-62=36', '72/36=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[62, 98, 51, 72], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [62, 51, 26] Generated Node #0,0: 49:[62, 51, 26] Operation: 98-72=26 Exploring Operation: 98-62=36, Resulting Numbers: [51, 72, 36] Generated Node #0,1: 49:[51, 72, 36] Operation: 98-62=36 Moving to Node #0,0 Current State: 49:[62, 51, 26], Operations: ['98-72=26'] Exploring Operation: 62-26=36, Resulting Numbers: [51, 36] Generated Node #0,0,0: 49:[51, 36] Operation: 62-26=36 Exploring Operation: 62-51=11, Resulting Numbers: [26, 11] Generated Node #0,0,1: 49:[26, 11] Operation: 62-51=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[51, 36], Operations: ['98-72=26', '62-26=36'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,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:[26, 11], Operations: ['98-72=26', '62-51=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,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:[51, 72, 36], Operations: ['98-62=36'] Exploring Operation: 72/36=2, Resulting Numbers: [51, 2] Generated Node #0,1,0: 49:[51, 2] Operation: 72/36=2 Exploring Operation: 72-36=36, Resulting Numbers: [51, 36] Generated Node #0,1,1: 49:[51, 36] Operation: 72-36=36 Moving to Node #0,1,0 Current State: 49:[51, 2], Operations: ['98-62=36', '72/36=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[62, 98, 51, 72], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [51, 72, 36] Generated Node #0,1: 49:[51, 72, 36] Operation: 98-62=36 Moving to Node #0,1 Current State: 49:[51, 72, 36], Operations: ['98-62=36'] Exploring Operation: 72/36=2, Resulting Numbers: [51, 2] Generated Node #0,1,0: 49:[51, 2] Operation: 72/36=2 Moving to Node #0,1,0 Current State: 49:[51, 2], Operations: ['98-62=36', '72/36=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 31, 89, 15, 76 ]
42
[ "89+76=165", "165/15=11", "31+11=42" ]
Current State: 42:[31, 89, 15, 76], Operations: [] Exploring Operation: 89+76=165, Resulting Numbers: [31, 15, 165] Generated Node #2: [31, 15, 165] from Operation: 89+76=165 Current State: 42:[31, 15, 165], Operations: ['89+76=165'] Exploring Operation: 165/15=11, Resulting Numbers: [31, 11] Generated Node #3: [31, 11] from Operation: 165/15=11 Current State: 42:[31, 11], Operations: ['89+76=165', '165/15=11'] Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[31, 89, 15, 76], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [31, 15, 13] Generated Node #0,0: 42:[31, 15, 13] Operation: 89-76=13 Exploring Operation: 76-31=45, Resulting Numbers: [89, 15, 45] Generated Node #0,1: 42:[89, 15, 45] Operation: 76-31=45 Exploring Operation: 76-15=61, Resulting Numbers: [31, 89, 61] Generated Node #0,2: 42:[31, 89, 61] Operation: 76-15=61 Exploring Operation: 89-31=58, Resulting Numbers: [15, 76, 58] Generated Node #0,3: 42:[15, 76, 58] Operation: 89-31=58 Exploring Operation: 89-15=74, Resulting Numbers: [31, 76, 74] Generated Node #0,4: 42:[31, 76, 74] Operation: 89-15=74 Moving to Node #0,0 Current State: 42:[31, 15, 13], Operations: ['89-76=13'] Exploring Operation: 31+15=46, Resulting Numbers: [13, 46] Generated Node #0,0,0: 42:[13, 46] Operation: 31+15=46 Exploring Operation: 31-13=18, Resulting Numbers: [15, 18] Generated Node #0,0,1: 42:[15, 18] Operation: 31-13=18 Exploring Operation: 31-15=16, Resulting Numbers: [13, 16] Generated Node #0,0,2: 42:[13, 16] Operation: 31-15=16 Exploring Operation: 15-13=2, Resulting Numbers: [31, 2] Generated Node #0,0,3: 42:[31, 2] Operation: 15-13=2 Exploring Operation: 31+13=44, Resulting Numbers: [15, 44] Generated Node #0,0,4: 42:[15, 44] Operation: 31+13=44 Moving to Node #0,3 Current State: 42:[15, 76, 58], Operations: ['89-31=58'] Exploring Operation: 76-15=61, Resulting Numbers: [58, 61] Generated Node #0,3,0: 42:[58, 61] Operation: 76-15=61 Exploring Operation: 58-15=43, Resulting Numbers: [76, 43] Generated Node #0,3,1: 42:[76, 43] Operation: 58-15=43 Exploring Operation: 15+58=73, Resulting Numbers: [76, 73] Generated Node #0,3,2: 42:[76, 73] Operation: 15+58=73 Exploring Operation: 76-58=18, Resulting Numbers: [15, 18] Generated Node #0,3,3: 42:[15, 18] Operation: 76-58=18 Exploring Operation: 15+76=91, Resulting Numbers: [58, 91] Generated Node #0,3,4: 42:[58, 91] Operation: 15+76=91 Moving to Node #0,1 Current State: 42:[89, 15, 45], Operations: ['76-31=45'] Exploring Operation: 45-15=30, Resulting Numbers: [89, 30] Generated Node #0,1,0: 42:[89, 30] Operation: 45-15=30 Exploring Operation: 89-15=74, Resulting Numbers: [45, 74] Generated Node #0,1,1: 42:[45, 74] Operation: 89-15=74 Exploring Operation: 89-45=44, Resulting Numbers: [15, 44] Generated Node #0,1,2: 42:[15, 44] Operation: 89-45=44 Exploring Operation: 45/15=3, Resulting Numbers: [89, 3] Generated Node #0,1,3: 42:[89, 3] Operation: 45/15=3 Exploring Operation: 89+15=104, Resulting Numbers: [45, 104] Generated Node #0,1,4: 42:[45, 104] Operation: 89+15=104 Moving to Node #0,2 Current State: 42:[31, 89, 61], Operations: ['76-15=61'] Exploring Operation: 31+89=120, Resulting Numbers: [61, 120] Generated Node #0,2,0: 42:[61, 120] Operation: 31+89=120 Exploring Operation: 61-31=30, Resulting Numbers: [89, 30] Generated Node #0,2,1: 42:[89, 30] Operation: 61-31=30 Exploring Operation: 89-31=58, Resulting Numbers: [61, 58] Generated Node #0,2,2: 42:[61, 58] Operation: 89-31=58 Exploring Operation: 31+61=92, Resulting Numbers: [89, 92] Generated Node #0,2,3: 42:[89, 92] Operation: 31+61=92 Exploring Operation: 89-61=28, Resulting Numbers: [31, 28] Generated Node #0,2,4: 42:[31, 28] Operation: 89-61=28 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 42:[31, 28], Operations: ['76-15=61', '89-61=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[61, 58], Operations: ['76-15=61', '89-31=58'] Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,42 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,42 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[89, 30], Operations: ['76-15=61', '61-31=30'] Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,42 unequal: No Solution Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,42 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[61, 120], Operations: ['76-15=61', '31+89=120'] Exploring Operation: 61*120=7320, Resulting Numbers: [7320] 7320,42 unequal: No Solution Exploring Operation: 61+120=181, Resulting Numbers: [181] 181,42 unequal: No Solution Exploring Operation: 120-61=59, Resulting Numbers: [59] 59,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[89, 92], Operations: ['76-15=61', '31+61=92'] Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 89+92=181, Resulting Numbers: [181] 181,42 unequal: No Solution Exploring Operation: 89*92=8188, Resulting Numbers: [8188] 8188,42 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: 42:[31, 76, 74], Operations: ['89-15=74'] Exploring Operation: 31+76=107, Resulting Numbers: [74, 107] Generated Node #0,4,0: 42:[74, 107] Operation: 31+76=107 Exploring Operation: 76-31=45, Resulting Numbers: [74, 45] Generated Node #0,4,1: 42:[74, 45] Operation: 76-31=45 Exploring Operation: 76-74=2, Resulting Numbers: [31, 2] Generated Node #0,4,2: 42:[31, 2] Operation: 76-74=2 Exploring Operation: 31+74=105, Resulting Numbers: [76, 105] Generated Node #0,4,3: 42:[76, 105] Operation: 31+74=105 Exploring Operation: 74-31=43, Resulting Numbers: [76, 43] Generated Node #0,4,4: 42:[76, 43] Operation: 74-31=43 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 42:[31, 2], Operations: ['89-15=74', '76-74=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,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,4,1 Current State: 42:[74, 45], Operations: ['89-15=74', '76-31=45'] Exploring Operation: 74+45=119, Resulting Numbers: [119] 119,42 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 74*45=3330, Resulting Numbers: [3330] 3330,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,4,4 Current State: 42:[76, 43], Operations: ['89-15=74', '74-31=43'] Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,42 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,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,4,0 Current State: 42:[74, 107], Operations: ['89-15=74', '31+76=107'] Exploring Operation: 74+107=181, Resulting Numbers: [181] 181,42 unequal: No Solution Exploring Operation: 74*107=7918, Resulting Numbers: [7918] 7918,42 unequal: No Solution Exploring Operation: 107-74=33, Resulting Numbers: [33] 33,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,4,3 Current State: 42:[76, 105], Operations: ['89-15=74', '31+74=105'] Exploring Operation: 76*105=7980, Resulting Numbers: [7980] 7980,42 unequal: No Solution Exploring Operation: 105-76=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 76+105=181, Resulting Numbers: [181] 181,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 42:[13, 16], Operations: ['89-76=13', '31-15=16'] Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,42 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,42 unequal: No Solution Moving to Node #0,0,4 Current State: 42:[15, 44], Operations: ['89-76=13', '31+13=44'] Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,42 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[15, 44], Operations: ['76-31=45', '89-45=44'] Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,42 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[15, 18], Operations: ['89-76=13', '31-13=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,42 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[15, 18], Operations: ['89-31=58', '76-58=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[13, 46], Operations: ['89-76=13', '31+15=46'] Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[31, 2], Operations: ['89-76=13', '15-13=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[58, 61], Operations: ['89-31=58', '76-15=61'] Exploring Operation: 58*61=3538, Resulting Numbers: [3538] 3538,42 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[45, 74], Operations: ['76-31=45', '89-15=74'] Exploring Operation: 45*74=3330, Resulting Numbers: [3330] 3330,42 unequal: No Solution Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,42 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[76, 43], Operations: ['89-31=58', '58-15=43'] Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,42 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[89, 3], Operations: ['76-31=45', '45/15=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[89, 30], Operations: ['76-31=45', '45-15=30'] Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,42 unequal: No Solution Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,42 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[76, 73], Operations: ['89-31=58', '15+58=73'] Exploring Operation: 76+73=149, Resulting Numbers: [149] 149,42 unequal: No Solution Exploring Operation: 76*73=5548, Resulting Numbers: [5548] 5548,42 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,42 unequal: No Solution Moving to Node #0,1,4 Current State: 42:[45, 104], Operations: ['76-31=45', '89+15=104'] Exploring Operation: 45*104=4680, Resulting Numbers: [4680] 4680,42 unequal: No Solution Exploring Operation: 104-45=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 45+104=149, Resulting Numbers: [149] 149,42 unequal: No Solution Moving to Node #0,3,4 Current State: 42:[58, 91], Operations: ['89-31=58', '15+76=91'] Exploring Operation: 58+91=149, Resulting Numbers: [149] 149,42 unequal: No Solution Exploring Operation: 58*91=5278, Resulting Numbers: [5278] 5278,42 unequal: No Solution Exploring Operation: 91-58=33, Resulting Numbers: [33] 33,42 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 65, 3, 47, 66 ]
43
[ "65-3=62", "66-47=19", "62-19=43" ]
Current State: 43:[65, 3, 47, 66], Operations: [] Exploring Operation: 65-3=62, Resulting Numbers: [47, 66, 62] Generated Node #2: [47, 66, 62] from Operation: 65-3=62 Current State: 43:[47, 66, 62], Operations: ['65-3=62'] Exploring Operation: 66-47=19, Resulting Numbers: [62, 19] Generated Node #3: [62, 19] from Operation: 66-47=19 Current State: 43:[62, 19], Operations: ['65-3=62', '66-47=19'] Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[65, 3, 47, 66], Operations: [] Exploring Operation: 47-3=44, Resulting Numbers: [65, 66, 44] Generated Node #0,0: 43:[65, 66, 44] Operation: 47-3=44 Exploring Operation: 65-3=62, Resulting Numbers: [47, 66, 62] Generated Node #0,1: 43:[47, 66, 62] Operation: 65-3=62 Moving to Node #0,0 Current State: 43:[65, 66, 44], Operations: ['47-3=44'] Exploring Operation: 66-44=22, Resulting Numbers: [65, 22] Generated Node #0,0,0: 43:[65, 22] Operation: 66-44=22 Exploring Operation: 66-65=1, Resulting Numbers: [44, 1] Generated Node #0,0,1: 43:[44, 1] Operation: 66-65=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[65, 22], Operations: ['47-3=44', '66-44=22'] Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[65, 3, 47, 66], Operations: [] Exploring Operation: 47-3=44, Resulting Numbers: [65, 66, 44] Generated Node #0,0: 43:[65, 66, 44] Operation: 47-3=44 Moving to Node #0,0 Current State: 43:[65, 66, 44], Operations: ['47-3=44'] Exploring Operation: 66-44=22, Resulting Numbers: [65, 22] Generated Node #0,0,0: 43:[65, 22] Operation: 66-44=22 Moving to Node #0,0,0 Current State: 43:[65, 22], Operations: ['47-3=44', '66-44=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 46, 2, 31, 96 ]
62
[ "46+2=48", "31*96=2976", "2976/48=62" ]
Current State: 62:[46, 2, 31, 96], Operations: [] Exploring Operation: 46+2=48, Resulting Numbers: [31, 96, 48] Generated Node #2: [31, 96, 48] from Operation: 46+2=48 Current State: 62:[31, 96, 48], Operations: ['46+2=48'] Exploring Operation: 31*96=2976, Resulting Numbers: [48, 2976] Generated Node #3: [48, 2976] from Operation: 31*96=2976 Current State: 62:[48, 2976], Operations: ['46+2=48', '31*96=2976'] Exploring Operation: 2976/48=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[46, 2, 31, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [46, 31, 48] Generated Node #0,0: 62:[46, 31, 48] Operation: 96/2=48 Exploring Operation: 96-31=65, Resulting Numbers: [46, 2, 65] Generated Node #0,1: 62:[46, 2, 65] Operation: 96-31=65 Exploring Operation: 96-46=50, Resulting Numbers: [2, 31, 50] Generated Node #0,2: 62:[2, 31, 50] Operation: 96-46=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[2, 31, 50], Operations: ['96-46=50'] Exploring Operation: 2*31=62, Resulting Numbers: [50, 62] Generated Node #0,2,0: 62:[50, 62] Operation: 2*31=62 Exploring Operation: 50/2=25, Resulting Numbers: [31, 25] Generated Node #0,2,1: 62:[31, 25] Operation: 50/2=25 Exploring Operation: 2+50=52, Resulting Numbers: [31, 52] Generated Node #0,2,2: 62:[31, 52] Operation: 2+50=52 Moving to Node #0,2,1 Current State: 62:[31, 25], Operations: ['96-46=50', '50/2=25'] Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,62 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[31, 52], Operations: ['96-46=50', '2+50=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,62 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[50, 62], Operations: ['96-46=50', '2*31=62'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,62 unequal: No Solution Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[46, 2, 65], Operations: ['96-31=65'] Exploring Operation: 46/2=23, Resulting Numbers: [65, 23] Generated Node #0,1,0: 62:[65, 23] Operation: 46/2=23 Exploring Operation: 65-46=19, Resulting Numbers: [2, 19] Generated Node #0,1,1: 62:[2, 19] Operation: 65-46=19 Exploring Operation: 46-2=44, Resulting Numbers: [65, 44] Generated Node #0,1,2: 62:[65, 44] Operation: 46-2=44 Moving to Node #0,1,0 Current State: 62:[65, 23], Operations: ['96-31=65', '46/2=23'] Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,62 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,62 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[2, 19], Operations: ['96-31=65', '65-46=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[65, 44], Operations: ['96-31=65', '46-2=44'] Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 65*44=2860, Resulting Numbers: [2860] 2860,62 unequal: No Solution Exploring Operation: 65+44=109, Resulting Numbers: [109] 109,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[46, 31, 48], Operations: ['96/2=48'] Exploring Operation: 46+31=77, Resulting Numbers: [48, 77] Generated Node #0,0,0: 62:[48, 77] Operation: 46+31=77 Exploring Operation: 46-31=15, Resulting Numbers: [48, 15] Generated Node #0,0,1: 62:[48, 15] Operation: 46-31=15 Exploring Operation: 48-46=2, Resulting Numbers: [31, 2] Generated Node #0,0,2: 62:[31, 2] Operation: 48-46=2 Moving to Node #0,0,2 Current State: 62:[31, 2], Operations: ['96/2=48', '48-46=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[46, 2, 31, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [46, 31, 48] Generated Node #0,0: 62:[46, 31, 48] Operation: 96/2=48 Moving to Node #0,0 Current State: 62:[46, 31, 48], Operations: ['96/2=48'] Exploring Operation: 48-46=2, Resulting Numbers: [31, 2] Generated Node #0,0,2: 62:[31, 2] Operation: 48-46=2 Moving to Node #0,0,2 Current State: 62:[31, 2], Operations: ['96/2=48', '48-46=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 42, 2, 91, 14 ]
44
[ "42/14=3", "91-3=88", "88/2=44" ]
Current State: 44:[42, 2, 91, 14], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [2, 91, 3] Generated Node #2: [2, 91, 3] from Operation: 42/14=3 Current State: 44:[2, 91, 3], Operations: ['42/14=3'] Exploring Operation: 91-3=88, Resulting Numbers: [2, 88] Generated Node #3: [2, 88] from Operation: 91-3=88 Current State: 44:[2, 88], Operations: ['42/14=3', '91-3=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[42, 2, 91, 14], Operations: [] Exploring Operation: 42+2=44, Resulting Numbers: [91, 14, 44] Generated Node #0,0: 44:[91, 14, 44] Operation: 42+2=44 Exploring Operation: 91-42=49, Resulting Numbers: [2, 14, 49] Generated Node #0,1: 44:[2, 14, 49] Operation: 91-42=49 Exploring Operation: 91-14=77, Resulting Numbers: [42, 2, 77] Generated Node #0,2: 44:[42, 2, 77] Operation: 91-14=77 Exploring Operation: 42/14=3, Resulting Numbers: [2, 91, 3] Generated Node #0,3: 44:[2, 91, 3] Operation: 42/14=3 Exploring Operation: 91-2=89, Resulting Numbers: [42, 14, 89] Generated Node #0,4: 44:[42, 14, 89] Operation: 91-2=89 Moving to Node #0,1 Current State: 44:[2, 14, 49], Operations: ['91-42=49'] Exploring Operation: 49-14=35, Resulting Numbers: [2, 35] Generated Node #0,1,0: 44:[2, 35] Operation: 49-14=35 Exploring Operation: 49-2=47, Resulting Numbers: [14, 47] Generated Node #0,1,1: 44:[14, 47] Operation: 49-2=47 Exploring Operation: 2+14=16, Resulting Numbers: [49, 16] Generated Node #0,1,2: 44:[49, 16] Operation: 2+14=16 Exploring Operation: 14-2=12, Resulting Numbers: [49, 12] Generated Node #0,1,3: 44:[49, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [49, 7] Generated Node #0,1,4: 44:[49, 7] Operation: 14/2=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[14, 47], Operations: ['91-42=49', '49-2=47'] Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,44 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[49, 12], Operations: ['91-42=49', '14-2=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 44:[49, 7], Operations: ['91-42=49', '14/2=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,44 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,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,0 Current State: 44:[2, 35], Operations: ['91-42=49', '49-14=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,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:[49, 16], Operations: ['91-42=49', '2+14=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,44 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,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:[42, 2, 77], Operations: ['91-14=77'] Exploring Operation: 42/2=21, Resulting Numbers: [77, 21] Generated Node #0,2,0: 44:[77, 21] Operation: 42/2=21 Exploring Operation: 77-42=35, Resulting Numbers: [2, 35] Generated Node #0,2,1: 44:[2, 35] Operation: 77-42=35 Exploring Operation: 42-2=40, Resulting Numbers: [77, 40] Generated Node #0,2,2: 44:[77, 40] Operation: 42-2=40 Exploring Operation: 42+2=44, Resulting Numbers: [77, 44] Generated Node #0,2,3: 44:[77, 44] Operation: 42+2=44 Exploring Operation: 77-2=75, Resulting Numbers: [42, 75] Generated Node #0,2,4: 44:[42, 75] Operation: 77-2=75 Moving to Node #0,3 Current State: 44:[2, 91, 3], Operations: ['42/14=3'] Exploring Operation: 2+3=5, Resulting Numbers: [91, 5] Generated Node #0,3,0: 44:[91, 5] Operation: 2+3=5 Exploring Operation: 91-2=89, Resulting Numbers: [3, 89] Generated Node #0,3,1: 44:[3, 89] Operation: 91-2=89 Exploring Operation: 3-2=1, Resulting Numbers: [91, 1] Generated Node #0,3,2: 44:[91, 1] Operation: 3-2=1 Exploring Operation: 91-3=88, Resulting Numbers: [2, 88] Generated Node #0,3,3: 44:[2, 88] Operation: 91-3=88 Exploring Operation: 2*3=6, Resulting Numbers: [91, 6] Generated Node #0,3,4: 44:[91, 6] Operation: 2*3=6 Moving to Node #0,0 Current State: 44:[91, 14, 44], Operations: ['42+2=44'] Exploring Operation: 44-14=30, Resulting Numbers: [91, 30] Generated Node #0,0,0: 44:[91, 30] Operation: 44-14=30 Exploring Operation: 14+44=58, Resulting Numbers: [91, 58] Generated Node #0,0,1: 44:[91, 58] Operation: 14+44=58 Exploring Operation: 91-14=77, Resulting Numbers: [44, 77] Generated Node #0,0,2: 44:[44, 77] Operation: 91-14=77 Exploring Operation: 91-44=47, Resulting Numbers: [14, 47] Generated Node #0,0,3: 44:[14, 47] Operation: 91-44=47 Exploring Operation: 91+14=105, Resulting Numbers: [44, 105] Generated Node #0,0,4: 44:[44, 105] Operation: 91+14=105 Moving to Node #0,4 Current State: 44:[42, 14, 89], Operations: ['91-2=89'] Exploring Operation: 42-14=28, Resulting Numbers: [89, 28] Generated Node #0,4,0: 44:[89, 28] Operation: 42-14=28 Exploring Operation: 89-14=75, Resulting Numbers: [42, 75] Generated Node #0,4,1: 44:[42, 75] Operation: 89-14=75 Exploring Operation: 42+14=56, Resulting Numbers: [89, 56] Generated Node #0,4,2: 44:[89, 56] Operation: 42+14=56 Exploring Operation: 42/14=3, Resulting Numbers: [89, 3] Generated Node #0,4,3: 44:[89, 3] Operation: 42/14=3 Exploring Operation: 89-42=47, Resulting Numbers: [14, 47] Generated Node #0,4,4: 44:[14, 47] Operation: 89-42=47 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 44:[14, 47], Operations: ['91-2=89', '89-42=47'] Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,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,4,1 Current State: 44:[42, 75], Operations: ['91-2=89', '89-14=75'] Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,44 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,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,4,3 Current State: 44:[89, 3], Operations: ['91-2=89', '42/14=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,44 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,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,4,0 Current State: 44:[89, 28], Operations: ['91-2=89', '42-14=28'] Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,44 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,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,4,2 Current State: 44:[89, 56], Operations: ['91-2=89', '42+14=56'] Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 89+56=145, Resulting Numbers: [145] 145,44 unequal: No Solution Exploring Operation: 89*56=4984, Resulting Numbers: [4984] 4984,44 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: 44:[14, 47], Operations: ['42+2=44', '91-44=47'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[2, 35], Operations: ['91-14=77', '77-42=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[42, 75], Operations: ['91-14=77', '77-2=75'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,44 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[44, 77], Operations: ['42+2=44', '91-14=77'] Exploring Operation: 44*77=3388, Resulting Numbers: [3388] 3388,44 unequal: No Solution Exploring Operation: 44+77=121, Resulting Numbers: [121] 121,44 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[77, 44], Operations: ['91-14=77', '42+2=44'] Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,44 unequal: No Solution Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,44 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[77, 21], Operations: ['91-14=77', '42/2=21'] Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[77, 40], Operations: ['91-14=77', '42-2=40'] Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,44 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[2, 88], Operations: ['42/14=3', '91-3=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,44 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[42, 2, 91, 14], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [2, 91, 3] Generated Node #0,3: 44:[2, 91, 3] Operation: 42/14=3 Moving to Node #0,3 Current State: 44:[2, 91, 3], Operations: ['42/14=3'] Exploring Operation: 91-3=88, Resulting Numbers: [2, 88] Generated Node #0,3,3: 44:[2, 88] Operation: 91-3=88 Moving to Node #0,3,3 Current State: 44:[2, 88], Operations: ['42/14=3', '91-3=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.922743
hs_5
mult_heuristic
[ 5, 50, 17, 3 ]
32
[ "50-5=45", "45/3=15", "17+15=32" ]
Current State: 32:[5, 50, 17, 3], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [17, 3, 45] Generated Node #2: [17, 3, 45] from Operation: 50-5=45 Current State: 32:[17, 3, 45], Operations: ['50-5=45'] Exploring Operation: 45/3=15, Resulting Numbers: [17, 15] Generated Node #3: [17, 15] from Operation: 45/3=15 Current State: 32:[17, 15], Operations: ['50-5=45', '45/3=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[5, 50, 17, 3], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [5, 3, 33] Generated Node #0,0: 32:[5, 3, 33] Operation: 50-17=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[5, 3, 33], Operations: ['50-17=33'] Exploring Operation: 5+3=8, Resulting Numbers: [33, 8] Generated Node #0,0,0: 32:[33, 8] Operation: 5+3=8 Moving to Node #0,0,0 Current State: 32:[33, 8], Operations: ['50-17=33', '5+3=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,32 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
[ 42, 64, 26, 70 ]
62
[ "42+64=106", "70-26=44", "106-44=62" ]
Current State: 62:[42, 64, 26, 70], Operations: [] Exploring Operation: 42+64=106, Resulting Numbers: [26, 70, 106] Generated Node #2: [26, 70, 106] from Operation: 42+64=106 Current State: 62:[26, 70, 106], Operations: ['42+64=106'] Exploring Operation: 70-26=44, Resulting Numbers: [106, 44] Generated Node #3: [106, 44] from Operation: 70-26=44 Current State: 62:[106, 44], Operations: ['42+64=106', '70-26=44'] Exploring Operation: 106-44=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[42, 64, 26, 70], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [26, 70, 22] Generated Node #0,0: 62:[26, 70, 22] Operation: 64-42=22 Exploring Operation: 42+26=68, Resulting Numbers: [64, 70, 68] Generated Node #0,1: 62:[64, 70, 68] Operation: 42+26=68 Exploring Operation: 70-42=28, Resulting Numbers: [64, 26, 28] Generated Node #0,2: 62:[64, 26, 28] Operation: 70-42=28 Exploring Operation: 42-26=16, Resulting Numbers: [64, 70, 16] Generated Node #0,3: 62:[64, 70, 16] Operation: 42-26=16 Exploring Operation: 70-64=6, Resulting Numbers: [42, 26, 6] Generated Node #0,4: 62:[42, 26, 6] Operation: 70-64=6 Moving to Node #0,2 Current State: 62:[64, 26, 28], Operations: ['70-42=28'] Exploring Operation: 28-26=2, Resulting Numbers: [64, 2] Generated Node #0,2,0: 62:[64, 2] Operation: 28-26=2 Exploring Operation: 64-26=38, Resulting Numbers: [28, 38] Generated Node #0,2,1: 62:[28, 38] Operation: 64-26=38 Exploring Operation: 64-28=36, Resulting Numbers: [26, 36] Generated Node #0,2,2: 62:[26, 36] Operation: 64-28=36 Exploring Operation: 64+26=90, Resulting Numbers: [28, 90] Generated Node #0,2,3: 62:[28, 90] Operation: 64+26=90 Exploring Operation: 26+28=54, Resulting Numbers: [64, 54] Generated Node #0,2,4: 62:[64, 54] Operation: 26+28=54 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[64, 2], Operations: ['70-42=28', '28-26=2'] Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,62 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[42, 64, 26, 70], Operations: [] Exploring Operation: 70-42=28, Resulting Numbers: [64, 26, 28] Generated Node #0,2: 62:[64, 26, 28] Operation: 70-42=28 Moving to Node #0,2 Current State: 62:[64, 26, 28], Operations: ['70-42=28'] Exploring Operation: 28-26=2, Resulting Numbers: [64, 2] Generated Node #0,2,0: 62:[64, 2] Operation: 28-26=2 Moving to Node #0,2,0 Current State: 62:[64, 2], Operations: ['70-42=28', '28-26=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 48, 29, 32, 30 ]
53
[ "32-30=2", "48/2=24", "29+24=53" ]
Current State: 53:[48, 29, 32, 30], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [48, 29, 2] Generated Node #2: [48, 29, 2] from Operation: 32-30=2 Current State: 53:[48, 29, 2], Operations: ['32-30=2'] Exploring Operation: 48/2=24, Resulting Numbers: [29, 24] Generated Node #3: [29, 24] from Operation: 48/2=24 Current State: 53:[29, 24], Operations: ['32-30=2', '48/2=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[48, 29, 32, 30], Operations: [] Exploring Operation: 48+30=78, Resulting Numbers: [29, 32, 78] Generated Node #0,0: 53:[29, 32, 78] Operation: 48+30=78 Exploring Operation: 29+30=59, Resulting Numbers: [48, 32, 59] Generated Node #0,1: 53:[48, 32, 59] Operation: 29+30=59 Exploring Operation: 48+29=77, Resulting Numbers: [32, 30, 77] Generated Node #0,2: 53:[32, 30, 77] Operation: 48+29=77 Exploring Operation: 29+32=61, Resulting Numbers: [48, 30, 61] Generated Node #0,3: 53:[48, 30, 61] Operation: 29+32=61 Exploring Operation: 32+30=62, Resulting Numbers: [48, 29, 62] Generated Node #0,4: 53:[48, 29, 62] Operation: 32+30=62 Moving to Node #0,1 Current State: 53:[48, 32, 59], Operations: ['29+30=59'] Exploring Operation: 48+32=80, Resulting Numbers: [59, 80] Generated Node #0,1,0: 53:[59, 80] Operation: 48+32=80 Exploring Operation: 59-32=27, Resulting Numbers: [48, 27] Generated Node #0,1,1: 53:[48, 27] Operation: 59-32=27 Exploring Operation: 32+59=91, Resulting Numbers: [48, 91] Generated Node #0,1,2: 53:[48, 91] Operation: 32+59=91 Exploring Operation: 48-32=16, Resulting Numbers: [59, 16] Generated Node #0,1,3: 53:[59, 16] Operation: 48-32=16 Exploring Operation: 59-48=11, Resulting Numbers: [32, 11] Generated Node #0,1,4: 53:[32, 11] Operation: 59-48=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[48, 27], Operations: ['29+30=59', '59-32=27'] Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,53 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[59, 80], Operations: ['29+30=59', '48+32=80'] Exploring Operation: 59*80=4720, Resulting Numbers: [4720] 4720,53 unequal: No Solution Exploring Operation: 59+80=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[48, 91], Operations: ['29+30=59', '32+59=91'] Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[59, 16], Operations: ['29+30=59', '48-32=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[32, 11], Operations: ['29+30=59', '59-48=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,53 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: 53:[48, 30, 61], Operations: ['29+32=61'] Exploring Operation: 30+61=91, Resulting Numbers: [48, 91] Generated Node #0,3,0: 53:[48, 91] Operation: 30+61=91 Exploring Operation: 61-30=31, Resulting Numbers: [48, 31] Generated Node #0,3,1: 53:[48, 31] Operation: 61-30=31 Exploring Operation: 61-48=13, Resulting Numbers: [30, 13] Generated Node #0,3,2: 53:[30, 13] Operation: 61-48=13 Exploring Operation: 48-30=18, Resulting Numbers: [61, 18] Generated Node #0,3,3: 53:[61, 18] Operation: 48-30=18 Exploring Operation: 48+30=78, Resulting Numbers: [61, 78] Generated Node #0,3,4: 53:[61, 78] Operation: 48+30=78 Moving to Node #0,4 Current State: 53:[48, 29, 62], Operations: ['32+30=62'] Exploring Operation: 48+29=77, Resulting Numbers: [62, 77] Generated Node #0,4,0: 53:[62, 77] Operation: 48+29=77 Exploring Operation: 48-29=19, Resulting Numbers: [62, 19] Generated Node #0,4,1: 53:[62, 19] Operation: 48-29=19 Exploring Operation: 62-48=14, Resulting Numbers: [29, 14] Generated Node #0,4,2: 53:[29, 14] Operation: 62-48=14 Exploring Operation: 29+62=91, Resulting Numbers: [48, 91] Generated Node #0,4,3: 53:[48, 91] Operation: 29+62=91 Exploring Operation: 62-29=33, Resulting Numbers: [48, 33] Generated Node #0,4,4: 53:[48, 33] Operation: 62-29=33 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[48, 33], Operations: ['32+30=62', '62-29=33'] Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,53 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[62, 77], Operations: ['32+30=62', '48+29=77'] Exploring Operation: 62*77=4774, Resulting Numbers: [4774] 4774,53 unequal: No Solution Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 62+77=139, Resulting Numbers: [139] 139,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[62, 19], Operations: ['32+30=62', '48-29=19'] Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,53 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[48, 91], Operations: ['32+30=62', '29+62=91'] Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,53 unequal: No Solution Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[29, 14], Operations: ['32+30=62', '62-48=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,53 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,53 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: 53:[32, 30, 77], Operations: ['48+29=77'] Exploring Operation: 30+77=107, Resulting Numbers: [32, 107] Generated Node #0,2,0: 53:[32, 107] Operation: 30+77=107 Exploring Operation: 32-30=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 53:[77, 2] Operation: 32-30=2 Exploring Operation: 77-32=45, Resulting Numbers: [30, 45] Generated Node #0,2,2: 53:[30, 45] Operation: 77-32=45 Exploring Operation: 32+30=62, Resulting Numbers: [77, 62] Generated Node #0,2,3: 53:[77, 62] Operation: 32+30=62 Exploring Operation: 77-30=47, Resulting Numbers: [32, 47] Generated Node #0,2,4: 53:[32, 47] Operation: 77-30=47 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 53:[32, 47], Operations: ['48+29=77', '77-30=47'] Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[30, 45], Operations: ['48+29=77', '77-32=45'] Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,53 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[77, 62], Operations: ['48+29=77', '32+30=62'] Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 77*62=4774, Resulting Numbers: [4774] 4774,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[32, 107], Operations: ['48+29=77', '30+77=107'] Exploring Operation: 32*107=3424, Resulting Numbers: [3424] 3424,53 unequal: No Solution Exploring Operation: 32+107=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 107-32=75, Resulting Numbers: [75] 75,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[77, 2], Operations: ['48+29=77', '32-30=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,53 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: 53:[29, 32, 78], Operations: ['48+30=78'] Exploring Operation: 78-29=49, Resulting Numbers: [32, 49] Generated Node #0,0,0: 53:[32, 49] Operation: 78-29=49 Exploring Operation: 78-32=46, Resulting Numbers: [29, 46] Generated Node #0,0,1: 53:[29, 46] Operation: 78-32=46 Exploring Operation: 29+32=61, Resulting Numbers: [78, 61] Generated Node #0,0,2: 53:[78, 61] Operation: 29+32=61 Exploring Operation: 29+78=107, Resulting Numbers: [32, 107] Generated Node #0,0,3: 53:[32, 107] Operation: 29+78=107 Exploring Operation: 32-29=3, Resulting Numbers: [78, 3] Generated Node #0,0,4: 53:[78, 3] Operation: 32-29=3 Moving to Node #0,0,0 Current State: 53:[32, 49], Operations: ['48+30=78', '78-29=49'] Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,53 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[48, 31], Operations: ['29+32=61', '61-30=31'] Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,53 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[29, 46], Operations: ['48+30=78', '78-32=46'] Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 29*46=1334, Resulting Numbers: [1334] 1334,53 unequal: No Solution Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[61, 78], Operations: ['29+32=61', '48+30=78'] Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 61+78=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 61*78=4758, Resulting Numbers: [4758] 4758,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[78, 61], Operations: ['48+30=78', '29+32=61'] Exploring Operation: 78*61=4758, Resulting Numbers: [4758] 4758,53 unequal: No Solution Exploring Operation: 78+61=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[48, 91], Operations: ['29+32=61', '30+61=91'] Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,53 unequal: No Solution Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[61, 18], Operations: ['29+32=61', '48-30=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[30, 13], Operations: ['29+32=61', '61-48=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,53 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[78, 3], Operations: ['48+30=78', '32-29=3'] Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,53 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[32, 107], Operations: ['48+30=78', '29+78=107'] Exploring Operation: 107-32=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 32*107=3424, Resulting Numbers: [3424] 3424,53 unequal: No Solution Exploring Operation: 32+107=139, Resulting Numbers: [139] 139,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 18, 51, 21, 60 ]
19
[ "60-51=9", "18/9=2", "21-2=19" ]
Current State: 19:[18, 51, 21, 60], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [18, 21, 9] Generated Node #2: [18, 21, 9] from Operation: 60-51=9 Current State: 19:[18, 21, 9], Operations: ['60-51=9'] Exploring Operation: 18/9=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 18/9=2 Current State: 19:[21, 2], Operations: ['60-51=9', '18/9=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[18, 51, 21, 60], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [18, 60, 30] Generated Node #0,0: 19:[18, 60, 30] Operation: 51-21=30 Exploring Operation: 60-51=9, Resulting Numbers: [18, 21, 9] Generated Node #0,1: 19:[18, 21, 9] Operation: 60-51=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[18, 21, 9], Operations: ['60-51=9'] Exploring Operation: 18+9=27, Resulting Numbers: [21, 27] Generated Node #0,1,0: 19:[21, 27] Operation: 18+9=27 Exploring Operation: 21-9=12, Resulting Numbers: [18, 12] Generated Node #0,1,1: 19:[18, 12] Operation: 21-9=12 Moving to Node #0,1,1 Current State: 19:[18, 12], Operations: ['60-51=9', '21-9=12'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[21, 27], Operations: ['60-51=9', '18+9=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[18, 60, 30], Operations: ['51-21=30'] Exploring Operation: 60/30=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 19:[18, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [18, 30] Generated Node #0,0,1: 19:[18, 30] Operation: 60-30=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[18, 30], Operations: ['51-21=30', '60-30=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[18, 2], Operations: ['51-21=30', '60/30=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 3, 14, 34, 28 ]
92
[ "14+28=42", "3*42=126", "126-34=92" ]
Current State: 92:[3, 14, 34, 28], Operations: [] Exploring Operation: 14+28=42, Resulting Numbers: [3, 34, 42] Generated Node #2: [3, 34, 42] from Operation: 14+28=42 Current State: 92:[3, 34, 42], Operations: ['14+28=42'] Exploring Operation: 3*42=126, Resulting Numbers: [34, 126] Generated Node #3: [34, 126] from Operation: 3*42=126 Current State: 92:[34, 126], Operations: ['14+28=42', '3*42=126'] Exploring Operation: 126-34=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[3, 14, 34, 28], Operations: [] Exploring Operation: 14+34=48, Resulting Numbers: [3, 28, 48] Generated Node #0,0: 92:[3, 28, 48] Operation: 14+34=48 Moving to Node #0,0 Current State: 92:[3, 28, 48], Operations: ['14+34=48'] Exploring Operation: 28-3=25, Resulting Numbers: [48, 25] Generated Node #0,0,0: 92:[48, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[48, 25], Operations: ['14+34=48', '28-3=25'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,92 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
[ 37, 52, 14, 36 ]
67
[ "37+52=89", "36-14=22", "89-22=67" ]
Current State: 67:[37, 52, 14, 36], Operations: [] Exploring Operation: 37+52=89, Resulting Numbers: [14, 36, 89] Generated Node #2: [14, 36, 89] from Operation: 37+52=89 Current State: 67:[14, 36, 89], Operations: ['37+52=89'] Exploring Operation: 36-14=22, Resulting Numbers: [89, 22] Generated Node #3: [89, 22] from Operation: 36-14=22 Current State: 67:[89, 22], Operations: ['37+52=89', '36-14=22'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[37, 52, 14, 36], Operations: [] Exploring Operation: 14+36=50, Resulting Numbers: [37, 52, 50] Generated Node #0,0: 67:[37, 52, 50] Operation: 14+36=50 Exploring Operation: 37+14=51, Resulting Numbers: [52, 36, 51] Generated Node #0,1: 67:[52, 36, 51] Operation: 37+14=51 Exploring Operation: 52+14=66, Resulting Numbers: [37, 36, 66] Generated Node #0,2: 67:[37, 36, 66] Operation: 52+14=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[37, 52, 50], Operations: ['14+36=50'] Exploring Operation: 52+50=102, Resulting Numbers: [37, 102] Generated Node #0,0,0: 67:[37, 102] Operation: 52+50=102 Exploring Operation: 37+52=89, Resulting Numbers: [50, 89] Generated Node #0,0,1: 67:[50, 89] Operation: 37+52=89 Exploring Operation: 37+50=87, Resulting Numbers: [52, 87] Generated Node #0,0,2: 67:[52, 87] Operation: 37+50=87 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[52, 87], Operations: ['14+36=50', '37+50=87'] Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,67 unequal: No Solution Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,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:[50, 89], Operations: ['14+36=50', '37+52=89'] Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,67 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[37, 102], Operations: ['14+36=50', '52+50=102'] Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 37+102=139, Resulting Numbers: [139] 139,67 unequal: No Solution Exploring Operation: 37*102=3774, Resulting Numbers: [3774] 3774,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:[52, 36, 51], Operations: ['37+14=51'] Exploring Operation: 52+36=88, Resulting Numbers: [51, 88] Generated Node #0,1,0: 67:[51, 88] Operation: 52+36=88 Exploring Operation: 36+51=87, Resulting Numbers: [52, 87] Generated Node #0,1,1: 67:[52, 87] Operation: 36+51=87 Exploring Operation: 52-36=16, Resulting Numbers: [51, 16] Generated Node #0,1,2: 67:[51, 16] Operation: 52-36=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[52, 87], Operations: ['37+14=51', '36+51=87'] Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,67 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,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:[51, 88], Operations: ['37+14=51', '52+36=88'] Exploring Operation: 51*88=4488, Resulting Numbers: [4488] 4488,67 unequal: No Solution Exploring Operation: 51+88=139, Resulting Numbers: [139] 139,67 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[51, 16], Operations: ['37+14=51', '52-36=16'] Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,67 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[37, 52, 14, 36], Operations: [] Exploring Operation: 37+14=51, Resulting Numbers: [52, 36, 51] Generated Node #0,1: 67:[52, 36, 51] Operation: 37+14=51 Moving to Node #0,1 Current State: 67:[52, 36, 51], Operations: ['37+14=51'] Exploring Operation: 52-36=16, Resulting Numbers: [51, 16] Generated Node #0,1,2: 67:[51, 16] Operation: 52-36=16 Moving to Node #0,1,2 Current State: 67:[51, 16], Operations: ['37+14=51', '52-36=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 78, 80, 62, 24 ]
36
[ "80-78=2", "62-24=38", "38-2=36" ]
Current State: 36:[78, 80, 62, 24], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [62, 24, 2] Generated Node #2: [62, 24, 2] from Operation: 80-78=2 Current State: 36:[62, 24, 2], Operations: ['80-78=2'] Exploring Operation: 62-24=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 62-24=38 Current State: 36:[2, 38], Operations: ['80-78=2', '62-24=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[78, 80, 62, 24], Operations: [] Exploring Operation: 78-62=16, Resulting Numbers: [80, 24, 16] Generated Node #0,0: 36:[80, 24, 16] Operation: 78-62=16 Exploring Operation: 80-78=2, Resulting Numbers: [62, 24, 2] Generated Node #0,1: 36:[62, 24, 2] Operation: 80-78=2 Exploring Operation: 80-62=18, Resulting Numbers: [78, 24, 18] Generated Node #0,2: 36:[78, 24, 18] Operation: 80-62=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[62, 24, 2], Operations: ['80-78=2'] Exploring Operation: 62-24=38, Resulting Numbers: [2, 38] Generated Node #0,1,0: 36:[2, 38] Operation: 62-24=38 Exploring Operation: 62/2=31, Resulting Numbers: [24, 31] Generated Node #0,1,1: 36:[24, 31] Operation: 62/2=31 Exploring Operation: 24/2=12, Resulting Numbers: [62, 12] Generated Node #0,1,2: 36:[62, 12] Operation: 24/2=12 Moving to Node #0,1,0 Current State: 36:[2, 38], Operations: ['80-78=2', '62-24=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[78, 80, 62, 24], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [62, 24, 2] Generated Node #0,1: 36:[62, 24, 2] Operation: 80-78=2 Moving to Node #0,1 Current State: 36:[62, 24, 2], Operations: ['80-78=2'] Exploring Operation: 62-24=38, Resulting Numbers: [2, 38] Generated Node #0,1,0: 36:[2, 38] Operation: 62-24=38 Moving to Node #0,1,0 Current State: 36:[2, 38], Operations: ['80-78=2', '62-24=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 30, 53, 7, 95 ]
19
[ "30+53=83", "7+95=102", "102-83=19" ]
Current State: 19:[30, 53, 7, 95], Operations: [] Exploring Operation: 30+53=83, Resulting Numbers: [7, 95, 83] Generated Node #2: [7, 95, 83] from Operation: 30+53=83 Current State: 19:[7, 95, 83], Operations: ['30+53=83'] Exploring Operation: 7+95=102, Resulting Numbers: [83, 102] Generated Node #3: [83, 102] from Operation: 7+95=102 Current State: 19:[83, 102], Operations: ['30+53=83', '7+95=102'] Exploring Operation: 102-83=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[30, 53, 7, 95], Operations: [] Exploring Operation: 53-30=23, Resulting Numbers: [7, 95, 23] Generated Node #0,0: 19:[7, 95, 23] Operation: 53-30=23 Exploring Operation: 95-53=42, Resulting Numbers: [30, 7, 42] Generated Node #0,1: 19:[30, 7, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 19:[30, 7, 42], Operations: ['95-53=42'] Exploring Operation: 42-30=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 19:[7, 12] Operation: 42-30=12 Exploring Operation: 42/7=6, Resulting Numbers: [30, 6] Generated Node #0,1,1: 19:[30, 6] Operation: 42/7=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[7, 12], Operations: ['95-53=42', '42-30=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[30, 53, 7, 95], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [30, 7, 42] Generated Node #0,1: 19:[30, 7, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 19:[30, 7, 42], Operations: ['95-53=42'] Exploring Operation: 42-30=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 19:[7, 12] Operation: 42-30=12 Moving to Node #0,1,0 Current State: 19:[7, 12], Operations: ['95-53=42', '42-30=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 56, 4, 77, 50 ]
67
[ "56+4=60", "77+50=127", "127-60=67" ]
Current State: 67:[56, 4, 77, 50], Operations: [] Exploring Operation: 56+4=60, Resulting Numbers: [77, 50, 60] Generated Node #2: [77, 50, 60] from Operation: 56+4=60 Current State: 67:[77, 50, 60], Operations: ['56+4=60'] Exploring Operation: 77+50=127, Resulting Numbers: [60, 127] Generated Node #3: [60, 127] from Operation: 77+50=127 Current State: 67:[60, 127], Operations: ['56+4=60', '77+50=127'] Exploring Operation: 127-60=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[56, 4, 77, 50], Operations: [] Exploring Operation: 4+50=54, Resulting Numbers: [56, 77, 54] Generated Node #0,0: 67:[56, 77, 54] Operation: 4+50=54 Exploring Operation: 77-4=73, Resulting Numbers: [56, 50, 73] Generated Node #0,1: 67:[56, 50, 73] Operation: 77-4=73 Exploring Operation: 56+4=60, Resulting Numbers: [77, 50, 60] Generated Node #0,2: 67:[77, 50, 60] Operation: 56+4=60 Moving to Node #0,0 Current State: 67:[56, 77, 54], Operations: ['4+50=54'] Exploring Operation: 77-56=21, Resulting Numbers: [54, 21] Generated Node #0,0,0: 67:[54, 21] Operation: 77-56=21 Exploring Operation: 56+54=110, Resulting Numbers: [77, 110] Generated Node #0,0,1: 67:[77, 110] Operation: 56+54=110 Exploring Operation: 77-54=23, Resulting Numbers: [56, 23] Generated Node #0,0,2: 67:[56, 23] Operation: 77-54=23 Moving to Node #0,1 Current State: 67:[56, 50, 73], Operations: ['77-4=73'] Exploring Operation: 56+50=106, Resulting Numbers: [73, 106] Generated Node #0,1,0: 67:[73, 106] Operation: 56+50=106 Exploring Operation: 73-50=23, Resulting Numbers: [56, 23] Generated Node #0,1,1: 67:[56, 23] Operation: 73-50=23 Exploring Operation: 56-50=6, Resulting Numbers: [73, 6] Generated Node #0,1,2: 67:[73, 6] Operation: 56-50=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[73, 106], Operations: ['77-4=73', '56+50=106'] Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 73*106=7738, Resulting Numbers: [7738] 7738,67 unequal: No Solution Exploring Operation: 73+106=179, Resulting Numbers: [179] 179,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,1,1 Current State: 67:[56, 23], Operations: ['77-4=73', '73-50=23'] Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,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,1,2 Current State: 67:[73, 6], Operations: ['77-4=73', '56-50=6'] Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,67 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[56, 4, 77, 50], Operations: [] Exploring Operation: 77-4=73, Resulting Numbers: [56, 50, 73] Generated Node #0,1: 67:[56, 50, 73] Operation: 77-4=73 Moving to Node #0,1 Current State: 67:[56, 50, 73], Operations: ['77-4=73'] Exploring Operation: 56-50=6, Resulting Numbers: [73, 6] Generated Node #0,1,2: 67:[73, 6] Operation: 56-50=6 Moving to Node #0,1,2 Current State: 67:[73, 6], Operations: ['77-4=73', '56-50=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
mult_heuristic
[ 43, 75, 50, 48 ]
11
[ "50*48=2400", "2400/75=32", "43-32=11" ]
Current State: 11:[43, 75, 50, 48], Operations: [] Exploring Operation: 50*48=2400, Resulting Numbers: [43, 75, 2400] Generated Node #2: [43, 75, 2400] from Operation: 50*48=2400 Current State: 11:[43, 75, 2400], Operations: ['50*48=2400'] Exploring Operation: 2400/75=32, Resulting Numbers: [43, 32] Generated Node #3: [43, 32] from Operation: 2400/75=32 Current State: 11:[43, 32], Operations: ['50*48=2400', '2400/75=32'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[43, 75, 50, 48], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [50, 48, 32] Generated Node #0,0: 11:[50, 48, 32] Operation: 75-43=32 Exploring Operation: 50-43=7, Resulting Numbers: [75, 48, 7] Generated Node #0,1: 11:[75, 48, 7] Operation: 50-43=7 Exploring Operation: 75-48=27, Resulting Numbers: [43, 50, 27] Generated Node #0,2: 11:[43, 50, 27] Operation: 75-48=27 Exploring Operation: 75-50=25, Resulting Numbers: [43, 48, 25] Generated Node #0,3: 11:[43, 48, 25] Operation: 75-50=25 Moving to Node #0,3 Current State: 11:[43, 48, 25], Operations: ['75-50=25'] Exploring Operation: 43-25=18, Resulting Numbers: [48, 18] Generated Node #0,3,0: 11:[48, 18] Operation: 43-25=18 Exploring Operation: 48-43=5, Resulting Numbers: [25, 5] Generated Node #0,3,1: 11:[25, 5] Operation: 48-43=5 Exploring Operation: 48-25=23, Resulting Numbers: [43, 23] Generated Node #0,3,2: 11:[43, 23] Operation: 48-25=23 Exploring Operation: 43+48=91, Resulting Numbers: [25, 91] Generated Node #0,3,3: 11:[25, 91] Operation: 43+48=91 Moving to Node #0,2 Current State: 11:[43, 50, 27], Operations: ['75-48=27'] Exploring Operation: 50-27=23, Resulting Numbers: [43, 23] Generated Node #0,2,0: 11:[43, 23] Operation: 50-27=23 Exploring Operation: 43+50=93, Resulting Numbers: [27, 93] Generated Node #0,2,1: 11:[27, 93] Operation: 43+50=93 Exploring Operation: 50-43=7, Resulting Numbers: [27, 7] Generated Node #0,2,2: 11:[27, 7] Operation: 50-43=7 Exploring Operation: 43-27=16, Resulting Numbers: [50, 16] Generated Node #0,2,3: 11:[50, 16] Operation: 43-27=16 Moving to Node #0,0 Current State: 11:[50, 48, 32], Operations: ['75-43=32'] Exploring Operation: 50-32=18, Resulting Numbers: [48, 18] Generated Node #0,0,0: 11:[48, 18] Operation: 50-32=18 Exploring Operation: 50+48=98, Resulting Numbers: [32, 98] Generated Node #0,0,1: 11:[32, 98] Operation: 50+48=98 Exploring Operation: 50-48=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 11:[32, 2] Operation: 50-48=2 Exploring Operation: 48-32=16, Resulting Numbers: [50, 16] Generated Node #0,0,3: 11:[50, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[32, 2], Operations: ['75-43=32', '50-48=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[48, 18], Operations: ['75-43=32', '50-32=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[50, 16], Operations: ['75-43=32', '48-32=16'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[32, 98], Operations: ['75-43=32', '50+48=98'] Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 32*98=3136, Resulting Numbers: [3136] 3136,11 unequal: No Solution Exploring Operation: 32+98=130, Resulting Numbers: [130] 130,11 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: 11:[75, 48, 7], Operations: ['50-43=7'] Exploring Operation: 75-7=68, Resulting Numbers: [48, 68] Generated Node #0,1,0: 11:[48, 68] Operation: 75-7=68 Exploring Operation: 75+7=82, Resulting Numbers: [48, 82] Generated Node #0,1,1: 11:[48, 82] Operation: 75+7=82 Exploring Operation: 48-7=41, Resulting Numbers: [75, 41] Generated Node #0,1,2: 11:[75, 41] Operation: 48-7=41 Exploring Operation: 75-48=27, Resulting Numbers: [7, 27] Generated Node #0,1,3: 11:[7, 27] Operation: 75-48=27 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[7, 27], Operations: ['50-43=7', '75-48=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[48, 68], Operations: ['50-43=7', '75-7=68'] Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,11 unequal: No Solution Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,11 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[75, 41], Operations: ['50-43=7', '48-7=41'] Exploring Operation: 75+41=116, Resulting Numbers: [116] 116,11 unequal: No Solution Exploring Operation: 75*41=3075, Resulting Numbers: [3075] 3075,11 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[48, 82], Operations: ['50-43=7', '75+7=82'] Exploring Operation: 48*82=3936, Resulting Numbers: [3936] 3936,11 unequal: No Solution Exploring Operation: 48+82=130, Resulting Numbers: [130] 130,11 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 11:[25, 5], Operations: ['75-50=25', '48-43=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,11 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[27, 7], Operations: ['75-48=27', '50-43=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,11 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[43, 23], Operations: ['75-50=25', '48-25=23'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,11 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[43, 23], Operations: ['75-48=27', '50-27=23'] Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[50, 16], Operations: ['75-48=27', '43-27=16'] Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,11 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[48, 18], Operations: ['75-50=25', '43-25=18'] Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,11 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[25, 91], Operations: ['75-50=25', '43+48=91'] Exploring Operation: 25+91=116, Resulting Numbers: [116] 116,11 unequal: No Solution Exploring Operation: 25*91=2275, Resulting Numbers: [2275] 2275,11 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[27, 93], Operations: ['75-48=27', '43+50=93'] Exploring Operation: 27+93=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 27*93=2511, Resulting Numbers: [2511] 2511,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 49, 16, 75, 33 ]
74
[ "49-16=33", "33/33=1", "75-1=74" ]
Current State: 74:[49, 16, 75, 33], Operations: [] Exploring Operation: 49-16=33, Resulting Numbers: [75, 33, 33] Generated Node #2: [75, 33, 33] from Operation: 49-16=33 Current State: 74:[75, 33, 33], Operations: ['49-16=33'] Exploring Operation: 33/33=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 33/33=1 Current State: 74:[75, 1], Operations: ['49-16=33', '33/33=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[49, 16, 75, 33], Operations: [] Exploring Operation: 49-16=33, Resulting Numbers: [75, 33, 33] Generated Node #0,0: 74:[75, 33, 33] Operation: 49-16=33 Exploring Operation: 49+16=65, Resulting Numbers: [75, 33, 65] Generated Node #0,1: 74:[75, 33, 65] Operation: 49+16=65 Exploring Operation: 49+33=82, Resulting Numbers: [16, 75, 82] Generated Node #0,2: 74:[16, 75, 82] Operation: 49+33=82 Exploring Operation: 16+33=49, Resulting Numbers: [49, 75, 49] Generated Node #0,3: 74:[49, 75, 49] Operation: 16+33=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[75, 33, 33], Operations: ['49-16=33'] Exploring Operation: 75-33=42, Resulting Numbers: [33, 42] Generated Node #0,0,0: 74:[33, 42] Operation: 75-33=42 Exploring Operation: 75-33=42, Resulting Numbers: [33, 42] Generated Node #0,0,1: 74:[33, 42] Operation: 75-33=42 Exploring Operation: 33-33=0, Resulting Numbers: [75, 0] Generated Node #0,0,2: 74:[75, 0] Operation: 33-33=0 Exploring Operation: 33/33=1, Resulting Numbers: [75, 1] Generated Node #0,0,3: 74:[75, 1] Operation: 33/33=1 Moving to Node #0,0,3 Current State: 74:[75, 1], Operations: ['49-16=33', '33/33=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[49, 16, 75, 33], Operations: [] Exploring Operation: 49-16=33, Resulting Numbers: [75, 33, 33] Generated Node #0,0: 74:[75, 33, 33] Operation: 49-16=33 Moving to Node #0,0 Current State: 74:[75, 33, 33], Operations: ['49-16=33'] Exploring Operation: 33/33=1, Resulting Numbers: [75, 1] Generated Node #0,0,3: 74:[75, 1] Operation: 33/33=1 Moving to Node #0,0,3 Current State: 74:[75, 1], Operations: ['49-16=33', '33/33=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 48, 2, 23, 53 ]
35
[ "48+23=71", "2*53=106", "106-71=35" ]
Current State: 35:[48, 2, 23, 53], Operations: [] Exploring Operation: 48+23=71, Resulting Numbers: [2, 53, 71] Generated Node #2: [2, 53, 71] from Operation: 48+23=71 Current State: 35:[2, 53, 71], Operations: ['48+23=71'] Exploring Operation: 2*53=106, Resulting Numbers: [71, 106] Generated Node #3: [71, 106] from Operation: 2*53=106 Current State: 35:[71, 106], Operations: ['48+23=71', '2*53=106'] Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[48, 2, 23, 53], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [2, 23, 5] Generated Node #0,0: 35:[2, 23, 5] Operation: 53-48=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[2, 23, 5], Operations: ['53-48=5'] Exploring Operation: 2+23=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 35:[5, 25] Operation: 2+23=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[5, 25], Operations: ['53-48=5', '2+23=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 20, 16, 37, 17 ]
90
[ "20+16=36", "37+17=54", "36+54=90" ]
Current State: 90:[20, 16, 37, 17], Operations: [] Exploring Operation: 20+16=36, Resulting Numbers: [37, 17, 36] Generated Node #2: [37, 17, 36] from Operation: 20+16=36 Current State: 90:[37, 17, 36], Operations: ['20+16=36'] Exploring Operation: 37+17=54, Resulting Numbers: [36, 54] Generated Node #3: [36, 54] from Operation: 37+17=54 Current State: 90:[36, 54], Operations: ['20+16=36', '37+17=54'] Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[20, 16, 37, 17], Operations: [] Exploring Operation: 37-16=21, Resulting Numbers: [20, 17, 21] Generated Node #0,0: 90:[20, 17, 21] Operation: 37-16=21 Exploring Operation: 37-20=17, Resulting Numbers: [16, 17, 17] Generated Node #0,1: 90:[16, 17, 17] Operation: 37-20=17 Exploring Operation: 37-17=20, Resulting Numbers: [20, 16, 20] Generated Node #0,2: 90:[20, 16, 20] Operation: 37-17=20 Exploring Operation: 20-17=3, Resulting Numbers: [16, 37, 3] Generated Node #0,3: 90:[16, 37, 3] Operation: 20-17=3 Moving to Node #0,1 Current State: 90:[16, 17, 17], Operations: ['37-20=17'] Exploring Operation: 17-16=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 90:[17, 1] Operation: 17-16=1 Exploring Operation: 17-17=0, Resulting Numbers: [16, 0] Generated Node #0,1,1: 90:[16, 0] Operation: 17-17=0 Exploring Operation: 17/17=1, Resulting Numbers: [16, 1] Generated Node #0,1,2: 90:[16, 1] Operation: 17/17=1 Exploring Operation: 17-16=1, Resulting Numbers: [17, 1] Generated Node #0,1,3: 90:[17, 1] Operation: 17-16=1 Moving to Node #0,2 Current State: 90:[20, 16, 20], Operations: ['37-17=20'] Exploring Operation: 20-16=4, Resulting Numbers: [20, 4] Generated Node #0,2,0: 90:[20, 4] Operation: 20-16=4 Exploring Operation: 20/20=1, Resulting Numbers: [16, 1] Generated Node #0,2,1: 90:[16, 1] Operation: 20/20=1 Exploring Operation: 20-16=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 90:[20, 4] Operation: 20-16=4 Exploring Operation: 20-20=0, Resulting Numbers: [16, 0] Generated Node #0,2,3: 90:[16, 0] Operation: 20-20=0 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[16, 1], Operations: ['37-17=20', '20/20=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,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,2,0 Current State: 90:[20, 4], Operations: ['37-17=20', '20-16=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,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,2,2 Current State: 90:[20, 4], Operations: ['37-17=20', '20-16=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,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,2,3 Current State: 90:[16, 0], Operations: ['37-17=20', '20-20=0'] Exploring Operation: 16-0=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16+0=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16*0=0, Resulting Numbers: [0] 0,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:[20, 17, 21], Operations: ['37-16=21'] Exploring Operation: 21-20=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 90:[17, 1] Operation: 21-20=1 Exploring Operation: 20+21=41, Resulting Numbers: [17, 41] Generated Node #0,0,1: 90:[17, 41] Operation: 20+21=41 Exploring Operation: 21-17=4, Resulting Numbers: [20, 4] Generated Node #0,0,2: 90:[20, 4] Operation: 21-17=4 Exploring Operation: 20-17=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 90:[21, 3] Operation: 20-17=3 Moving to Node #0,3 Current State: 90:[16, 37, 3], Operations: ['20-17=3'] Exploring Operation: 37-16=21, Resulting Numbers: [3, 21] Generated Node #0,3,0: 90:[3, 21] Operation: 37-16=21 Exploring Operation: 16+37=53, Resulting Numbers: [3, 53] Generated Node #0,3,1: 90:[3, 53] Operation: 16+37=53 Exploring Operation: 37+3=40, Resulting Numbers: [16, 40] Generated Node #0,3,2: 90:[16, 40] Operation: 37+3=40 Exploring Operation: 37-3=34, Resulting Numbers: [16, 34] Generated Node #0,3,3: 90:[16, 34] Operation: 37-3=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[3, 21], Operations: ['20-17=3', '37-16=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,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,3,3 Current State: 90:[16, 34], Operations: ['20-17=3', '37-3=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,90 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,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,3,2 Current State: 90:[16, 40], Operations: ['20-17=3', '37+3=40'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,90 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,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,3,1 Current State: 90:[3, 53], Operations: ['20-17=3', '16+37=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,90 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 90:[17, 1], Operations: ['37-20=17', '17-16=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[17, 1], Operations: ['37-20=17', '17-16=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[16, 1], Operations: ['37-20=17', '17/17=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[17, 1], Operations: ['37-16=21', '21-20=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[21, 3], Operations: ['37-16=21', '20-17=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[16, 0], Operations: ['37-20=17', '17-17=0'] Exploring Operation: 16*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 16-0=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16+0=16, Resulting Numbers: [16] 16,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[20, 4], Operations: ['37-16=21', '21-17=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[17, 41], Operations: ['37-16=21', '20+21=41'] Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,90 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,90 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 21, 95, 77 ]
73
[ "6*77=462", "462/21=22", "95-22=73" ]
Current State: 73:[6, 21, 95, 77], Operations: [] Exploring Operation: 6*77=462, Resulting Numbers: [21, 95, 462] Generated Node #2: [21, 95, 462] from Operation: 6*77=462 Current State: 73:[21, 95, 462], Operations: ['6*77=462'] Exploring Operation: 462/21=22, Resulting Numbers: [95, 22] Generated Node #3: [95, 22] from Operation: 462/21=22 Current State: 73:[95, 22], Operations: ['6*77=462', '462/21=22'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[6, 21, 95, 77], Operations: [] Exploring Operation: 6+21=27, Resulting Numbers: [95, 77, 27] Generated Node #0,0: 73:[95, 77, 27] Operation: 6+21=27 Exploring Operation: 95-6=89, Resulting Numbers: [21, 77, 89] Generated Node #0,1: 73:[21, 77, 89] Operation: 95-6=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[95, 77, 27], Operations: ['6+21=27'] Exploring Operation: 95-27=68, Resulting Numbers: [77, 68] Generated Node #0,0,0: 73:[77, 68] Operation: 95-27=68 Exploring Operation: 77-27=50, Resulting Numbers: [95, 50] Generated Node #0,0,1: 73:[95, 50] Operation: 77-27=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[77, 68], Operations: ['6+21=27', '95-27=68'] Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 77+68=145, Resulting Numbers: [145] 145,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[95, 50], Operations: ['6+21=27', '77-27=50'] Exploring Operation: 95+50=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 95-50=45, Resulting Numbers: [45] 45,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,1 Current State: 73:[21, 77, 89], Operations: ['95-6=89'] Exploring Operation: 77-21=56, Resulting Numbers: [89, 56] Generated Node #0,1,0: 73:[89, 56] Operation: 77-21=56 Exploring Operation: 89-21=68, Resulting Numbers: [77, 68] Generated Node #0,1,1: 73:[77, 68] Operation: 89-21=68 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[77, 68], Operations: ['95-6=89', '89-21=68'] Exploring Operation: 77+68=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,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:[89, 56], Operations: ['95-6=89', '77-21=56'] Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 89+56=145, Resulting Numbers: [145] 145,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 82, 69, 20, 69 ]
76
[ "82-69=13", "20+69=89", "89-13=76" ]
Current State: 76:[82, 69, 20, 69], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [20, 13] Generated Node #2: [20, 13] from Operation: 82-69=13 Current State: 76:[20, 13], Operations: ['82-69=13'] Exploring Operation: 20+69=89, Resulting Numbers: [13, 89] Generated Node #3: [13, 89] from Operation: 20+69=89 Current State: 76:[13, 89], Operations: ['82-69=13', '20+69=89'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[82, 69, 20, 69], Operations: [] Exploring Operation: 69-69=0, Resulting Numbers: [82, 20, 0] Generated Node #0,0: 76:[82, 20, 0] Operation: 69-69=0 Exploring Operation: 69/69=1, Resulting Numbers: [82, 20, 1] Generated Node #0,1: 76:[82, 20, 1] Operation: 69/69=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[82, 20, 1], Operations: ['69/69=1'] Exploring Operation: 20-1=19, Resulting Numbers: [82, 19] Generated Node #0,1,0: 76:[82, 19] Operation: 20-1=19 Exploring Operation: 82-1=81, Resulting Numbers: [20, 81] Generated Node #0,1,1: 76:[20, 81] Operation: 82-1=81 Moving to Node #0,1,0 Current State: 76:[82, 19], Operations: ['69/69=1', '20-1=19'] Exploring Operation: 82+19=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[20, 81], Operations: ['69/69=1', '82-1=81'] Exploring Operation: 20+81=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[82, 20, 0], Operations: ['69-69=0'] Exploring Operation: 82+0=82, Resulting Numbers: [20, 82] Generated Node #0,0,0: 76:[20, 82] Operation: 82+0=82 Exploring Operation: 82*0=0, Resulting Numbers: [20, 0] Generated Node #0,0,1: 76:[20, 0] Operation: 82*0=0 Moving to Node #0,0,1 Current State: 76:[20, 0], Operations: ['69-69=0', '82*0=0'] Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[20, 82], Operations: ['69-69=0', '82+0=82'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 60, 20, 46, 40 ]
39
[ "46-20=26", "60*26=1560", "1560/40=39" ]
Current State: 39:[60, 20, 46, 40], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [60, 40, 26] Generated Node #2: [60, 40, 26] from Operation: 46-20=26 Current State: 39:[60, 40, 26], Operations: ['46-20=26'] Exploring Operation: 60*26=1560, Resulting Numbers: [40, 1560] Generated Node #3: [40, 1560] from Operation: 60*26=1560 Current State: 39:[40, 1560], Operations: ['46-20=26', '60*26=1560'] Exploring Operation: 1560/40=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[60, 20, 46, 40], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [46, 40, 3] Generated Node #0,0: 39:[46, 40, 3] Operation: 60/20=3 Moving to Node #0,0 Current State: 39:[46, 40, 3], Operations: ['60/20=3'] Exploring Operation: 46-40=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 39:[3, 6] Operation: 46-40=6 Moving to Node #0,0,0 Current State: 39:[3, 6], Operations: ['60/20=3', '46-40=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 84, 76, 60, 24 ]
77
[ "84-60=24", "24/24=1", "76+1=77" ]
Current State: 77:[84, 76, 60, 24], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [76, 24, 24] Generated Node #2: [76, 24, 24] from Operation: 84-60=24 Current State: 77:[76, 24, 24], Operations: ['84-60=24'] Exploring Operation: 24/24=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 24/24=1 Current State: 77:[76, 1], Operations: ['84-60=24', '24/24=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[84, 76, 60, 24], Operations: [] Exploring Operation: 76-60=16, Resulting Numbers: [84, 24, 16] Generated Node #0,0: 77:[84, 24, 16] Operation: 76-60=16 Exploring Operation: 84-60=24, Resulting Numbers: [76, 24, 24] Generated Node #0,1: 77:[76, 24, 24] Operation: 84-60=24 Exploring Operation: 60+24=84, Resulting Numbers: [84, 76, 84] Generated Node #0,2: 77:[84, 76, 84] Operation: 60+24=84 Moving to Node #0,2 Current State: 77:[84, 76, 84], Operations: ['60+24=84'] Exploring Operation: 84/84=1, Resulting Numbers: [76, 1] Generated Node #0,2,0: 77:[76, 1] Operation: 84/84=1 Exploring Operation: 84-76=8, Resulting Numbers: [84, 8] Generated Node #0,2,1: 77:[84, 8] Operation: 84-76=8 Exploring Operation: 84-84=0, Resulting Numbers: [76, 0] Generated Node #0,2,2: 77:[76, 0] Operation: 84-84=0 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[76, 1], Operations: ['60+24=84', '84/84=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[84, 76, 60, 24], Operations: [] Exploring Operation: 60+24=84, Resulting Numbers: [84, 76, 84] Generated Node #0,2: 77:[84, 76, 84] Operation: 60+24=84 Moving to Node #0,2 Current State: 77:[84, 76, 84], Operations: ['60+24=84'] Exploring Operation: 84/84=1, Resulting Numbers: [76, 1] Generated Node #0,2,0: 77:[76, 1] Operation: 84/84=1 Moving to Node #0,2,0 Current State: 77:[76, 1], Operations: ['60+24=84', '84/84=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 66, 54, 30, 68 ]
22
[ "66+54=120", "30+68=98", "120-98=22" ]
Current State: 22:[66, 54, 30, 68], Operations: [] Exploring Operation: 66+54=120, Resulting Numbers: [30, 68, 120] Generated Node #2: [30, 68, 120] from Operation: 66+54=120 Current State: 22:[30, 68, 120], Operations: ['66+54=120'] Exploring Operation: 30+68=98, Resulting Numbers: [120, 98] Generated Node #3: [120, 98] from Operation: 30+68=98 Current State: 22:[120, 98], Operations: ['66+54=120', '30+68=98'] Exploring Operation: 120-98=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[66, 54, 30, 68], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [54, 30, 2] Generated Node #0,0: 22:[54, 30, 2] Operation: 68-66=2 Exploring Operation: 66-54=12, Resulting Numbers: [30, 68, 12] Generated Node #0,1: 22:[30, 68, 12] Operation: 66-54=12 Moving to Node #0,0 Current State: 22:[54, 30, 2], Operations: ['68-66=2'] Exploring Operation: 54/2=27, Resulting Numbers: [30, 27] Generated Node #0,0,0: 22:[30, 27] Operation: 54/2=27 Exploring Operation: 54-30=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 22:[2, 24] Operation: 54-30=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[2, 24], Operations: ['68-66=2', '54-30=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[66, 54, 30, 68], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [54, 30, 2] Generated Node #0,0: 22:[54, 30, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 22:[54, 30, 2], Operations: ['68-66=2'] Exploring Operation: 54-30=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 22:[2, 24] Operation: 54-30=24 Moving to Node #0,0,1 Current State: 22:[2, 24], Operations: ['68-66=2', '54-30=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 75, 16, 29, 22 ]
99
[ "22-16=6", "29*6=174", "174-75=99" ]
Current State: 99:[75, 16, 29, 22], Operations: [] Exploring Operation: 22-16=6, Resulting Numbers: [75, 29, 6] Generated Node #2: [75, 29, 6] from Operation: 22-16=6 Current State: 99:[75, 29, 6], Operations: ['22-16=6'] Exploring Operation: 29*6=174, Resulting Numbers: [75, 174] Generated Node #3: [75, 174] from Operation: 29*6=174 Current State: 99:[75, 174], Operations: ['22-16=6', '29*6=174'] Exploring Operation: 174-75=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[75, 16, 29, 22], Operations: [] Exploring Operation: 75+22=97, Resulting Numbers: [16, 29, 97] Generated Node #0,0: 99:[16, 29, 97] Operation: 75+22=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[16, 29, 97], Operations: ['75+22=97'] Exploring Operation: 29-16=13, Resulting Numbers: [97, 13] Generated Node #0,0,0: 99:[97, 13] Operation: 29-16=13 Moving to Node #0,0,0 Current State: 99:[97, 13], Operations: ['75+22=97', '29-16=13'] Exploring Operation: 97+13=110, Resulting Numbers: [110] 110,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 64, 79, 56, 92 ]
51
[ "79-64=15", "92-56=36", "15+36=51" ]
Current State: 51:[64, 79, 56, 92], Operations: [] Exploring Operation: 79-64=15, Resulting Numbers: [56, 92, 15] Generated Node #2: [56, 92, 15] from Operation: 79-64=15 Current State: 51:[56, 92, 15], Operations: ['79-64=15'] Exploring Operation: 92-56=36, Resulting Numbers: [15, 36] Generated Node #3: [15, 36] from Operation: 92-56=36 Current State: 51:[15, 36], Operations: ['79-64=15', '92-56=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[64, 79, 56, 92], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [64, 56, 13] Generated Node #0,0: 51:[64, 56, 13] Operation: 92-79=13 Moving to Node #0,0 Current State: 51:[64, 56, 13], Operations: ['92-79=13'] Exploring Operation: 64-13=51, Resulting Numbers: [56, 51] Generated Node #0,0,0: 51:[56, 51] Operation: 64-13=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[56, 51], Operations: ['92-79=13', '64-13=51'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,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
[ 31, 15, 9, 15 ]
96
[ "31-15=16", "15-9=6", "16*6=96" ]
Current State: 96:[31, 15, 9, 15], Operations: [] Exploring Operation: 31-15=16, Resulting Numbers: [9, 16] Generated Node #2: [9, 16] from Operation: 31-15=16 Current State: 96:[9, 16], Operations: ['31-15=16'] Exploring Operation: 15-9=6, Resulting Numbers: [16, 6] Generated Node #3: [16, 6] from Operation: 15-9=6 Current State: 96:[16, 6], Operations: ['31-15=16', '15-9=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[31, 15, 9, 15], Operations: [] Exploring Operation: 31-15=16, Resulting Numbers: [9, 15, 16] Generated Node #0,0: 96:[9, 15, 16] Operation: 31-15=16 Exploring Operation: 15+9=24, Resulting Numbers: [31, 15, 24] Generated Node #0,1: 96:[31, 15, 24] Operation: 15+9=24 Exploring Operation: 31-15=16, Resulting Numbers: [15, 9, 16] Generated Node #0,2: 96:[15, 9, 16] Operation: 31-15=16 Exploring Operation: 9+15=24, Resulting Numbers: [31, 15, 24] Generated Node #0,3: 96:[31, 15, 24] Operation: 9+15=24 Exploring Operation: 15-9=6, Resulting Numbers: [31, 15, 6] Generated Node #0,4: 96:[31, 15, 6] Operation: 15-9=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[9, 15, 16], Operations: ['31-15=16'] Exploring Operation: 15+16=31, Resulting Numbers: [9, 31] Generated Node #0,0,0: 96:[9, 31] Operation: 15+16=31 Exploring Operation: 9+15=24, Resulting Numbers: [16, 24] Generated Node #0,0,1: 96:[16, 24] Operation: 9+15=24 Exploring Operation: 16-9=7, Resulting Numbers: [15, 7] Generated Node #0,0,2: 96:[15, 7] Operation: 16-9=7 Exploring Operation: 9+16=25, Resulting Numbers: [15, 25] Generated Node #0,0,3: 96:[15, 25] Operation: 9+16=25 Exploring Operation: 15-9=6, Resulting Numbers: [16, 6] Generated Node #0,0,4: 96:[16, 6] Operation: 15-9=6 Moving to Node #0,0,1 Current State: 96:[16, 24], Operations: ['31-15=16', '9+15=24'] Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,96 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,96 unequal: No Solution Moving to Node #0,0,4 Current State: 96:[16, 6], Operations: ['31-15=16', '15-9=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[31, 15, 9, 15], Operations: [] Exploring Operation: 31-15=16, Resulting Numbers: [9, 15, 16] Generated Node #0,0: 96:[9, 15, 16] Operation: 31-15=16 Moving to Node #0,0 Current State: 96:[9, 15, 16], Operations: ['31-15=16'] Exploring Operation: 15-9=6, Resulting Numbers: [16, 6] Generated Node #0,0,4: 96:[16, 6] Operation: 15-9=6 Moving to Node #0,0,4 Current State: 96:[16, 6], Operations: ['31-15=16', '15-9=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 82, 88, 18, 41 ]
52
[ "82*18=1476", "1476/41=36", "88-36=52" ]
Current State: 52:[82, 88, 18, 41], Operations: [] Exploring Operation: 82*18=1476, Resulting Numbers: [88, 41, 1476] Generated Node #2: [88, 41, 1476] from Operation: 82*18=1476 Current State: 52:[88, 41, 1476], Operations: ['82*18=1476'] Exploring Operation: 1476/41=36, Resulting Numbers: [88, 36] Generated Node #3: [88, 36] from Operation: 1476/41=36 Current State: 52:[88, 36], Operations: ['82*18=1476', '1476/41=36'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[82, 88, 18, 41], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [82, 18, 47] Generated Node #0,0: 52:[82, 18, 47] Operation: 88-41=47 Exploring Operation: 82/41=2, Resulting Numbers: [88, 18, 2] Generated Node #0,1: 52:[88, 18, 2] Operation: 82/41=2 Exploring Operation: 88-82=6, Resulting Numbers: [18, 41, 6] Generated Node #0,2: 52:[18, 41, 6] Operation: 88-82=6 Moving to Node #0,2 Current State: 52:[18, 41, 6], Operations: ['88-82=6'] Exploring Operation: 18+41=59, Resulting Numbers: [6, 59] Generated Node #0,2,0: 52:[6, 59] Operation: 18+41=59 Exploring Operation: 41-18=23, Resulting Numbers: [6, 23] Generated Node #0,2,1: 52:[6, 23] Operation: 41-18=23 Exploring Operation: 41+6=47, Resulting Numbers: [18, 47] Generated Node #0,2,2: 52:[18, 47] Operation: 41+6=47 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[6, 23], Operations: ['88-82=6', '41-18=23'] Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 6*23=138, Resulting Numbers: [138] 138,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[6, 59], Operations: ['88-82=6', '18+41=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,52 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[18, 47], Operations: ['88-82=6', '41+6=47'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,52 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,52 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: 52:[82, 18, 47], Operations: ['88-41=47'] Exploring Operation: 47-18=29, Resulting Numbers: [82, 29] Generated Node #0,0,0: 52:[82, 29] Operation: 47-18=29 Exploring Operation: 82-18=64, Resulting Numbers: [47, 64] Generated Node #0,0,1: 52:[47, 64] Operation: 82-18=64 Exploring Operation: 82-47=35, Resulting Numbers: [18, 35] Generated Node #0,0,2: 52:[18, 35] Operation: 82-47=35 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[18, 35], Operations: ['88-41=47', '82-47=35'] Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,52 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,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,0,1 Current State: 52:[47, 64], Operations: ['88-41=47', '82-18=64'] Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,52 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,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,0,0 Current State: 52:[82, 29], Operations: ['88-41=47', '47-18=29'] Exploring Operation: 82*29=2378, Resulting Numbers: [2378] 2378,52 unequal: No Solution Exploring Operation: 82+29=111, Resulting Numbers: [111] 111,52 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,52 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: 52:[88, 18, 2], Operations: ['82/41=2'] Exploring Operation: 88/2=44, Resulting Numbers: [18, 44] Generated Node #0,1,0: 52:[18, 44] Operation: 88/2=44 Exploring Operation: 88-18=70, Resulting Numbers: [2, 70] Generated Node #0,1,1: 52:[2, 70] Operation: 88-18=70 Exploring Operation: 88-2=86, Resulting Numbers: [18, 86] Generated Node #0,1,2: 52:[18, 86] Operation: 88-2=86 Moving to Node #0,1,0 Current State: 52:[18, 44], Operations: ['82/41=2', '88/2=44'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,52 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[2, 70], Operations: ['82/41=2', '88-18=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,52 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[18, 86], Operations: ['82/41=2', '88-2=86'] Exploring Operation: 18*86=1548, Resulting Numbers: [1548] 1548,52 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,52 unequal: No Solution Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,52 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 88, 45, 2, 69 ]
76
[ "69-45=24", "24/2=12", "88-12=76" ]
Current State: 76:[88, 45, 2, 69], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [88, 2, 24] Generated Node #2: [88, 2, 24] from Operation: 69-45=24 Current State: 76:[88, 2, 24], Operations: ['69-45=24'] Exploring Operation: 24/2=12, Resulting Numbers: [88, 12] Generated Node #3: [88, 12] from Operation: 24/2=12 Current State: 76:[88, 12], Operations: ['69-45=24', '24/2=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[88, 45, 2, 69], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [45, 69, 44] Generated Node #0,0: 76:[45, 69, 44] Operation: 88/2=44 Exploring Operation: 88-45=43, Resulting Numbers: [2, 69, 43] Generated Node #0,1: 76:[2, 69, 43] Operation: 88-45=43 Exploring Operation: 88-2=86, Resulting Numbers: [45, 69, 86] Generated Node #0,2: 76:[45, 69, 86] Operation: 88-2=86 Exploring Operation: 88-69=19, Resulting Numbers: [45, 2, 19] Generated Node #0,3: 76:[45, 2, 19] Operation: 88-69=19 Exploring Operation: 69-45=24, Resulting Numbers: [88, 2, 24] Generated Node #0,4: 76:[88, 2, 24] Operation: 69-45=24 Moving to Node #0,3 Current State: 76:[45, 2, 19], Operations: ['88-69=19'] Exploring Operation: 2+19=21, Resulting Numbers: [45, 21] Generated Node #0,3,0: 76:[45, 21] Operation: 2+19=21 Exploring Operation: 45+2=47, Resulting Numbers: [19, 47] Generated Node #0,3,1: 76:[19, 47] Operation: 45+2=47 Exploring Operation: 45-2=43, Resulting Numbers: [19, 43] Generated Node #0,3,2: 76:[19, 43] Operation: 45-2=43 Exploring Operation: 45-19=26, Resulting Numbers: [2, 26] Generated Node #0,3,3: 76:[2, 26] Operation: 45-19=26 Exploring Operation: 2*19=38, Resulting Numbers: [45, 38] Generated Node #0,3,4: 76:[45, 38] Operation: 2*19=38 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 76:[19, 43], Operations: ['88-69=19', '45-2=43'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 76:[2, 26], Operations: ['88-69=19', '45-19=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 76:[45, 38], Operations: ['88-69=19', '2*19=38'] Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 45*38=1710, Resulting Numbers: [1710] 1710,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 76:[45, 21], Operations: ['88-69=19', '2+19=21'] Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,76 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[19, 47], Operations: ['88-69=19', '45+2=47'] Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 76:[2, 69, 43], Operations: ['88-45=43'] Exploring Operation: 2+69=71, Resulting Numbers: [43, 71] Generated Node #0,1,0: 76:[43, 71] Operation: 2+69=71 Exploring Operation: 69-2=67, Resulting Numbers: [43, 67] Generated Node #0,1,1: 76:[43, 67] Operation: 69-2=67 Exploring Operation: 2+43=45, Resulting Numbers: [69, 45] Generated Node #0,1,2: 76:[69, 45] Operation: 2+43=45 Exploring Operation: 43-2=41, Resulting Numbers: [69, 41] Generated Node #0,1,3: 76:[69, 41] Operation: 43-2=41 Exploring Operation: 69-43=26, Resulting Numbers: [2, 26] Generated Node #0,1,4: 76:[2, 26] Operation: 69-43=26 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 76:[2, 26], Operations: ['88-45=43', '69-43=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[43, 71], Operations: ['88-45=43', '2+69=71'] Exploring Operation: 71-43=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 43+71=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 43*71=3053, Resulting Numbers: [3053] 3053,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[69, 41], Operations: ['88-45=43', '43-2=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,76 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[43, 67], Operations: ['88-45=43', '69-2=67'] Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,76 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[69, 45], Operations: ['88-45=43', '2+43=45'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,76 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: 76:[88, 2, 24], Operations: ['69-45=24'] Exploring Operation: 88+2=90, Resulting Numbers: [24, 90] Generated Node #0,4,0: 76:[24, 90] Operation: 88+2=90 Exploring Operation: 88/2=44, Resulting Numbers: [24, 44] Generated Node #0,4,1: 76:[24, 44] Operation: 88/2=44 Exploring Operation: 88-24=64, Resulting Numbers: [2, 64] Generated Node #0,4,2: 76:[2, 64] Operation: 88-24=64 Exploring Operation: 88-2=86, Resulting Numbers: [24, 86] Generated Node #0,4,3: 76:[24, 86] Operation: 88-2=86 Exploring Operation: 24-2=22, Resulting Numbers: [88, 22] Generated Node #0,4,4: 76:[88, 22] Operation: 24-2=22 Moving to Node #0,0 Current State: 76:[45, 69, 44], Operations: ['88/2=44'] Exploring Operation: 45+44=89, Resulting Numbers: [69, 89] Generated Node #0,0,0: 76:[69, 89] Operation: 45+44=89 Exploring Operation: 69-45=24, Resulting Numbers: [44, 24] Generated Node #0,0,1: 76:[44, 24] Operation: 69-45=24 Exploring Operation: 45-44=1, Resulting Numbers: [69, 1] Generated Node #0,0,2: 76:[69, 1] Operation: 45-44=1 Exploring Operation: 69-44=25, Resulting Numbers: [45, 25] Generated Node #0,0,3: 76:[45, 25] Operation: 69-44=25 Exploring Operation: 45+69=114, Resulting Numbers: [44, 114] Generated Node #0,0,4: 76:[44, 114] Operation: 45+69=114 Moving to Node #0,2 Current State: 76:[45, 69, 86], Operations: ['88-2=86'] Exploring Operation: 45+69=114, Resulting Numbers: [86, 114] Generated Node #0,2,0: 76:[86, 114] Operation: 45+69=114 Exploring Operation: 86-69=17, Resulting Numbers: [45, 17] Generated Node #0,2,1: 76:[45, 17] Operation: 86-69=17 Exploring Operation: 86-45=41, Resulting Numbers: [69, 41] Generated Node #0,2,2: 76:[69, 41] Operation: 86-45=41 Exploring Operation: 69-45=24, Resulting Numbers: [86, 24] Generated Node #0,2,3: 76:[86, 24] Operation: 69-45=24 Exploring Operation: 45+86=131, Resulting Numbers: [69, 131] Generated Node #0,2,4: 76:[69, 131] Operation: 45+86=131 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[45, 17], Operations: ['88-2=86', '86-69=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,76 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[69, 41], Operations: ['88-2=86', '86-45=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,76 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[86, 24], Operations: ['88-2=86', '69-45=24'] Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,76 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[86, 114], Operations: ['88-2=86', '45+69=114'] Exploring Operation: 114-86=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 86*114=9804, Resulting Numbers: [9804] 9804,76 unequal: No Solution Exploring Operation: 86+114=200, Resulting Numbers: [200] 200,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 76:[69, 131], Operations: ['88-2=86', '45+86=131'] Exploring Operation: 69+131=200, Resulting Numbers: [200] 200,76 unequal: No Solution Exploring Operation: 131-69=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 69*131=9039, Resulting Numbers: [9039] 9039,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 76:[69, 1], Operations: ['88/2=44', '45-44=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,76 unequal: No Solution Moving to Node #0,4,1 Current State: 76:[24, 44], Operations: ['69-45=24', '88/2=44'] Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,76 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[44, 24], Operations: ['88/2=44', '69-45=24'] Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,76 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,4,2 Current State: 76:[2, 64], Operations: ['69-45=24', '88-24=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,76 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[45, 25], Operations: ['88/2=44', '69-44=25'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,76 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,76 unequal: No Solution Moving to Node #0,4,3 Current State: 76:[24, 86], Operations: ['69-45=24', '88-2=86'] Exploring Operation: 24+86=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 24*86=2064, Resulting Numbers: [2064] 2064,76 unequal: No Solution Moving to Node #0,4,4 Current State: 76:[88, 22], Operations: ['69-45=24', '24-2=22'] Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 88+22=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 88*22=1936, Resulting Numbers: [1936] 1936,76 unequal: No Solution Moving to Node #0,4,0 Current State: 76:[24, 90], Operations: ['69-45=24', '88+2=90'] Exploring Operation: 24*90=2160, Resulting Numbers: [2160] 2160,76 unequal: No Solution Exploring Operation: 24+90=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[69, 89], Operations: ['88/2=44', '45+44=89'] Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 69+89=158, Resulting Numbers: [158] 158,76 unequal: No Solution Exploring Operation: 69*89=6141, Resulting Numbers: [6141] 6141,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[44, 114], Operations: ['88/2=44', '45+69=114'] Exploring Operation: 44*114=5016, Resulting Numbers: [5016] 5016,76 unequal: No Solution Exploring Operation: 114-44=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 44+114=158, Resulting Numbers: [158] 158,76 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 5, 29, 94, 96 ]
36
[ "5+29=34", "96-94=2", "34+2=36" ]
Current State: 36:[5, 29, 94, 96], Operations: [] Exploring Operation: 5+29=34, Resulting Numbers: [94, 96, 34] Generated Node #2: [94, 96, 34] from Operation: 5+29=34 Current State: 36:[94, 96, 34], Operations: ['5+29=34'] Exploring Operation: 96-94=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 96-94=2 Current State: 36:[34, 2], Operations: ['5+29=34', '96-94=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[5, 29, 94, 96], Operations: [] Exploring Operation: 94-29=65, Resulting Numbers: [5, 96, 65] Generated Node #0,0: 36:[5, 96, 65] Operation: 94-29=65 Exploring Operation: 96-94=2, Resulting Numbers: [5, 29, 2] Generated Node #0,1: 36:[5, 29, 2] Operation: 96-94=2 Exploring Operation: 94-5=89, Resulting Numbers: [29, 96, 89] Generated Node #0,2: 36:[29, 96, 89] Operation: 94-5=89 Exploring Operation: 96-29=67, Resulting Numbers: [5, 94, 67] Generated Node #0,3: 36:[5, 94, 67] Operation: 96-29=67 Exploring Operation: 5+29=34, Resulting Numbers: [94, 96, 34] Generated Node #0,4: 36:[94, 96, 34] Operation: 5+29=34 Moving to Node #0,1 Current State: 36:[5, 29, 2], Operations: ['96-94=2'] Exploring Operation: 29-5=24, Resulting Numbers: [2, 24] Generated Node #0,1,0: 36:[2, 24] Operation: 29-5=24 Exploring Operation: 5+2=7, Resulting Numbers: [29, 7] Generated Node #0,1,1: 36:[29, 7] Operation: 5+2=7 Exploring Operation: 5+29=34, Resulting Numbers: [2, 34] Generated Node #0,1,2: 36:[2, 34] Operation: 5+29=34 Exploring Operation: 29+2=31, Resulting Numbers: [5, 31] Generated Node #0,1,3: 36:[5, 31] Operation: 29+2=31 Exploring Operation: 5-2=3, Resulting Numbers: [29, 3] Generated Node #0,1,4: 36:[29, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[2, 34], Operations: ['96-94=2', '5+29=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[5, 29, 94, 96], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [5, 29, 2] Generated Node #0,1: 36:[5, 29, 2] Operation: 96-94=2 Moving to Node #0,1 Current State: 36:[5, 29, 2], Operations: ['96-94=2'] Exploring Operation: 5+29=34, Resulting Numbers: [2, 34] Generated Node #0,1,2: 36:[2, 34] Operation: 5+29=34 Moving to Node #0,1,2 Current State: 36:[2, 34], Operations: ['96-94=2', '5+29=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 89, 23, 25, 4 ]
83
[ "89+23=112", "25+4=29", "112-29=83" ]
Current State: 83:[89, 23, 25, 4], Operations: [] Exploring Operation: 89+23=112, Resulting Numbers: [25, 4, 112] Generated Node #2: [25, 4, 112] from Operation: 89+23=112 Current State: 83:[25, 4, 112], Operations: ['89+23=112'] Exploring Operation: 25+4=29, Resulting Numbers: [112, 29] Generated Node #3: [112, 29] from Operation: 25+4=29 Current State: 83:[112, 29], Operations: ['89+23=112', '25+4=29'] Exploring Operation: 112-29=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[89, 23, 25, 4], Operations: [] Exploring Operation: 23*4=92, Resulting Numbers: [89, 25, 92] Generated Node #0,0: 83:[89, 25, 92] Operation: 23*4=92 Moving to Node #0,0 Current State: 83:[89, 25, 92], Operations: ['23*4=92'] Exploring Operation: 92-25=67, Resulting Numbers: [89, 67] Generated Node #0,0,0: 83:[89, 67] Operation: 92-25=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[89, 67], Operations: ['23*4=92', '92-25=67'] Exploring Operation: 89-67=22, Resulting Numbers: [22] 22,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 10, 45, 65, 99 ]
81
[ "65-10=55", "45*99=4455", "4455/55=81" ]
Current State: 81:[10, 45, 65, 99], Operations: [] Exploring Operation: 65-10=55, Resulting Numbers: [45, 99, 55] Generated Node #2: [45, 99, 55] from Operation: 65-10=55 Current State: 81:[45, 99, 55], Operations: ['65-10=55'] Exploring Operation: 45*99=4455, Resulting Numbers: [55, 4455] Generated Node #3: [55, 4455] from Operation: 45*99=4455 Current State: 81:[55, 4455], Operations: ['65-10=55', '45*99=4455'] Exploring Operation: 4455/55=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[10, 45, 65, 99], Operations: [] Exploring Operation: 99-65=34, Resulting Numbers: [10, 45, 34] Generated Node #0,0: 81:[10, 45, 34] Operation: 99-65=34 Exploring Operation: 65-45=20, Resulting Numbers: [10, 99, 20] Generated Node #0,1: 81:[10, 99, 20] Operation: 65-45=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[10, 45, 34], Operations: ['99-65=34'] Exploring Operation: 45-34=11, Resulting Numbers: [10, 11] Generated Node #0,0,0: 81:[10, 11] Operation: 45-34=11 Exploring Operation: 45+34=79, Resulting Numbers: [10, 79] Generated Node #0,0,1: 81:[10, 79] Operation: 45+34=79 Moving to Node #0,0,0 Current State: 81:[10, 11], Operations: ['99-65=34', '45-34=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[10, 79], Operations: ['99-65=34', '45+34=79'] Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[10, 99, 20], Operations: ['65-45=20'] Exploring Operation: 99-20=79, Resulting Numbers: [10, 79] Generated Node #0,1,0: 81:[10, 79] Operation: 99-20=79 Exploring Operation: 99-10=89, Resulting Numbers: [20, 89] Generated Node #0,1,1: 81:[20, 89] Operation: 99-10=89 Moving to Node #0,1,0 Current State: 81:[10, 79], Operations: ['65-45=20', '99-20=79'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[20, 89], Operations: ['65-45=20', '99-10=89'] Exploring Operation: 20+89=109, Resulting Numbers: [109] 109,81 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 64, 34, 28, 51 ]
58
[ "64*28=1792", "34*51=1734", "1792-1734=58" ]
Current State: 58:[64, 34, 28, 51], Operations: [] Exploring Operation: 64*28=1792, Resulting Numbers: [34, 51, 1792] Generated Node #2: [34, 51, 1792] from Operation: 64*28=1792 Current State: 58:[34, 51, 1792], Operations: ['64*28=1792'] Exploring Operation: 34*51=1734, Resulting Numbers: [1792, 1734] Generated Node #3: [1792, 1734] from Operation: 34*51=1734 Current State: 58:[1792, 1734], Operations: ['64*28=1792', '34*51=1734'] Exploring Operation: 1792-1734=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[64, 34, 28, 51], Operations: [] Exploring Operation: 64-34=30, Resulting Numbers: [28, 51, 30] Generated Node #0,0: 58:[28, 51, 30] Operation: 64-34=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[28, 51, 30], Operations: ['64-34=30'] Exploring Operation: 51-28=23, Resulting Numbers: [30, 23] Generated Node #0,0,0: 58:[30, 23] Operation: 51-28=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[30, 23], Operations: ['64-34=30', '51-28=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,58 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
[ 58, 50, 78, 54 ]
84
[ "58+50=108", "78-54=24", "108-24=84" ]
Current State: 84:[58, 50, 78, 54], Operations: [] Exploring Operation: 58+50=108, Resulting Numbers: [78, 54, 108] Generated Node #2: [78, 54, 108] from Operation: 58+50=108 Current State: 84:[78, 54, 108], Operations: ['58+50=108'] Exploring Operation: 78-54=24, Resulting Numbers: [108, 24] Generated Node #3: [108, 24] from Operation: 78-54=24 Current State: 84:[108, 24], Operations: ['58+50=108', '78-54=24'] Exploring Operation: 108-24=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[58, 50, 78, 54], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [58, 50, 24] Generated Node #0,0: 84:[58, 50, 24] Operation: 78-54=24 Exploring Operation: 58-54=4, Resulting Numbers: [50, 78, 4] Generated Node #0,1: 84:[50, 78, 4] Operation: 58-54=4 Exploring Operation: 54-50=4, Resulting Numbers: [58, 78, 4] Generated Node #0,2: 84:[58, 78, 4] Operation: 54-50=4 Exploring Operation: 58-50=8, Resulting Numbers: [78, 54, 8] Generated Node #0,3: 84:[78, 54, 8] Operation: 58-50=8 Exploring Operation: 78-58=20, Resulting Numbers: [50, 54, 20] Generated Node #0,4: 84:[50, 54, 20] Operation: 78-58=20 Moving to Node #0,1 Current State: 84:[50, 78, 4], Operations: ['58-54=4'] Exploring Operation: 50-4=46, Resulting Numbers: [78, 46] Generated Node #0,1,0: 84:[78, 46] Operation: 50-4=46 Exploring Operation: 78-50=28, Resulting Numbers: [4, 28] Generated Node #0,1,1: 84:[4, 28] Operation: 78-50=28 Exploring Operation: 78+4=82, Resulting Numbers: [50, 82] Generated Node #0,1,2: 84:[50, 82] Operation: 78+4=82 Exploring Operation: 50+4=54, Resulting Numbers: [78, 54] Generated Node #0,1,3: 84:[78, 54] Operation: 50+4=54 Exploring Operation: 78-4=74, Resulting Numbers: [50, 74] Generated Node #0,1,4: 84:[50, 74] Operation: 78-4=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[4, 28], Operations: ['58-54=4', '78-50=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,84 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[78, 46], Operations: ['58-54=4', '50-4=46'] Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,84 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[50, 82], Operations: ['58-54=4', '78+4=82'] Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,84 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,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,3 Current State: 84:[78, 54], Operations: ['58-54=4', '50+4=54'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 78*54=4212, Resulting Numbers: [4212] 4212,84 unequal: No Solution Exploring Operation: 78+54=132, Resulting Numbers: [132] 132,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,4 Current State: 84:[50, 74], Operations: ['58-54=4', '78-4=74'] Exploring Operation: 50+74=124, Resulting Numbers: [124] 124,84 unequal: No Solution Exploring Operation: 50*74=3700, Resulting Numbers: [3700] 3700,84 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 84:[78, 54, 8], Operations: ['58-50=8'] Exploring Operation: 78-54=24, Resulting Numbers: [8, 24] Generated Node #0,3,0: 84:[8, 24] Operation: 78-54=24 Exploring Operation: 78-8=70, Resulting Numbers: [54, 70] Generated Node #0,3,1: 84:[54, 70] Operation: 78-8=70 Exploring Operation: 54+8=62, Resulting Numbers: [78, 62] Generated Node #0,3,2: 84:[78, 62] Operation: 54+8=62 Exploring Operation: 78+8=86, Resulting Numbers: [54, 86] Generated Node #0,3,3: 84:[54, 86] Operation: 78+8=86 Exploring Operation: 54-8=46, Resulting Numbers: [78, 46] Generated Node #0,3,4: 84:[78, 46] Operation: 54-8=46 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[8, 24], Operations: ['58-50=8', '78-54=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,84 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,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,3,4 Current State: 84:[78, 46], Operations: ['58-50=8', '54-8=46'] Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,84 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,84 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,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,3,3 Current State: 84:[54, 86], Operations: ['58-50=8', '78+8=86'] Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 54*86=4644, Resulting Numbers: [4644] 4644,84 unequal: No Solution Exploring Operation: 54+86=140, Resulting Numbers: [140] 140,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,3,1 Current State: 84:[54, 70], Operations: ['58-50=8', '78-8=70'] Exploring Operation: 54*70=3780, Resulting Numbers: [3780] 3780,84 unequal: No Solution Exploring Operation: 54+70=124, Resulting Numbers: [124] 124,84 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,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,3,2 Current State: 84:[78, 62], Operations: ['58-50=8', '54+8=62'] Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,84 unequal: No Solution Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,84 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: 84:[50, 54, 20], Operations: ['78-58=20'] Exploring Operation: 54-20=34, Resulting Numbers: [50, 34] Generated Node #0,4,0: 84:[50, 34] Operation: 54-20=34 Exploring Operation: 50-20=30, Resulting Numbers: [54, 30] Generated Node #0,4,1: 84:[54, 30] Operation: 50-20=30 Exploring Operation: 50+54=104, Resulting Numbers: [20, 104] Generated Node #0,4,2: 84:[20, 104] Operation: 50+54=104 Exploring Operation: 54+20=74, Resulting Numbers: [50, 74] Generated Node #0,4,3: 84:[50, 74] Operation: 54+20=74 Exploring Operation: 54-50=4, Resulting Numbers: [20, 4] Generated Node #0,4,4: 84:[20, 4] Operation: 54-50=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 84:[20, 4], Operations: ['78-58=20', '54-50=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,84 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 84:[50, 34], Operations: ['78-58=20', '54-20=34'] Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[58, 50, 78, 54], Operations: [] Exploring Operation: 78-58=20, Resulting Numbers: [50, 54, 20] Generated Node #0,4: 84:[50, 54, 20] Operation: 78-58=20 Moving to Node #0,4 Current State: 84:[50, 54, 20], Operations: ['78-58=20'] Exploring Operation: 54-20=34, Resulting Numbers: [50, 34] Generated Node #0,4,0: 84:[50, 34] Operation: 54-20=34 Moving to Node #0,4,0 Current State: 84:[50, 34], Operations: ['78-58=20', '54-20=34'] Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
sum_heuristic
[ 44, 86, 43, 20 ]
84
[ "86/43=2", "20*2=40", "44+40=84" ]
Current State: 84:[44, 86, 43, 20], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [44, 20, 2] Generated Node #2: [44, 20, 2] from Operation: 86/43=2 Current State: 84:[44, 20, 2], Operations: ['86/43=2'] Exploring Operation: 20*2=40, Resulting Numbers: [44, 40] Generated Node #3: [44, 40] from Operation: 20*2=40 Current State: 84:[44, 40], Operations: ['86/43=2', '20*2=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[44, 86, 43, 20], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [43, 20, 42] Generated Node #0,0: 84:[43, 20, 42] Operation: 86-44=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[43, 20, 42], Operations: ['86-44=42'] Exploring Operation: 43-20=23, Resulting Numbers: [42, 23] Generated Node #0,0,0: 84:[42, 23] Operation: 43-20=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[42, 23], Operations: ['86-44=42', '43-20=23'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 8, 5, 70, 3 ]
89
[ "8*3=24", "70-5=65", "24+65=89" ]
Current State: 89:[8, 5, 70, 3], Operations: [] Exploring Operation: 8*3=24, Resulting Numbers: [5, 70, 24] Generated Node #2: [5, 70, 24] from Operation: 8*3=24 Current State: 89:[5, 70, 24], Operations: ['8*3=24'] Exploring Operation: 70-5=65, Resulting Numbers: [24, 65] Generated Node #3: [24, 65] from Operation: 70-5=65 Current State: 89:[24, 65], Operations: ['8*3=24', '70-5=65'] Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[8, 5, 70, 3], Operations: [] Exploring Operation: 8*5=40, Resulting Numbers: [70, 3, 40] Generated Node #0,0: 89:[70, 3, 40] Operation: 8*5=40 Exploring Operation: 8*3=24, Resulting Numbers: [5, 70, 24] Generated Node #0,1: 89:[5, 70, 24] Operation: 8*3=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[70, 3, 40], Operations: ['8*5=40'] Exploring Operation: 70+3=73, Resulting Numbers: [40, 73] Generated Node #0,0,0: 89:[40, 73] Operation: 70+3=73 Exploring Operation: 3*40=120, Resulting Numbers: [70, 120] Generated Node #0,0,1: 89:[70, 120] Operation: 3*40=120 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[70, 120], Operations: ['8*5=40', '3*40=120'] Exploring Operation: 120-70=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 70+120=190, Resulting Numbers: [190] 190,89 unequal: No Solution No 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: 89:[40, 73], Operations: ['8*5=40', '70+3=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,89 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: 89:[5, 70, 24], Operations: ['8*3=24'] Exploring Operation: 5*24=120, Resulting Numbers: [70, 120] Generated Node #0,1,0: 89:[70, 120] Operation: 5*24=120 Exploring Operation: 5+70=75, Resulting Numbers: [24, 75] Generated Node #0,1,1: 89:[24, 75] Operation: 5+70=75 Moving to Node #0,1,0 Current State: 89:[70, 120], Operations: ['8*3=24', '5*24=120'] Exploring Operation: 70+120=190, Resulting Numbers: [190] 190,89 unequal: No Solution Exploring Operation: 120-70=50, Resulting Numbers: [50] 50,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[24, 75], Operations: ['8*3=24', '5+70=75'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,89 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
[ 90, 88, 5, 84 ]
58
[ "90-84=6", "5*6=30", "88-30=58" ]
Current State: 58:[90, 88, 5, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [88, 5, 6] Generated Node #2: [88, 5, 6] from Operation: 90-84=6 Current State: 58:[88, 5, 6], Operations: ['90-84=6'] Exploring Operation: 5*6=30, Resulting Numbers: [88, 30] Generated Node #3: [88, 30] from Operation: 5*6=30 Current State: 58:[88, 30], Operations: ['90-84=6', '5*6=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[90, 88, 5, 84], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [90, 5, 4] Generated Node #0,0: 58:[90, 5, 4] Operation: 88-84=4 Exploring Operation: 90-88=2, Resulting Numbers: [5, 84, 2] Generated Node #0,1: 58:[5, 84, 2] Operation: 90-88=2 Exploring Operation: 90-84=6, Resulting Numbers: [88, 5, 6] Generated Node #0,2: 58:[88, 5, 6] Operation: 90-84=6 Moving to Node #0,1 Current State: 58:[5, 84, 2], Operations: ['90-88=2'] Exploring Operation: 84/2=42, Resulting Numbers: [5, 42] Generated Node #0,1,0: 58:[5, 42] Operation: 84/2=42 Exploring Operation: 5-2=3, Resulting Numbers: [84, 3] Generated Node #0,1,1: 58:[84, 3] Operation: 5-2=3 Exploring Operation: 84-5=79, Resulting Numbers: [2, 79] Generated Node #0,1,2: 58:[2, 79] Operation: 84-5=79 Moving to Node #0,0 Current State: 58:[90, 5, 4], Operations: ['88-84=4'] Exploring Operation: 90-4=86, Resulting Numbers: [5, 86] Generated Node #0,0,0: 58:[5, 86] Operation: 90-4=86 Exploring Operation: 90/5=18, Resulting Numbers: [4, 18] Generated Node #0,0,1: 58:[4, 18] Operation: 90/5=18 Exploring Operation: 90-5=85, Resulting Numbers: [4, 85] Generated Node #0,0,2: 58:[4, 85] Operation: 90-5=85 Moving to Node #0,2 Current State: 58:[88, 5, 6], Operations: ['90-84=6'] Exploring Operation: 88-5=83, Resulting Numbers: [6, 83] Generated Node #0,2,0: 58:[6, 83] Operation: 88-5=83 Exploring Operation: 5*6=30, Resulting Numbers: [88, 30] Generated Node #0,2,1: 58:[88, 30] Operation: 5*6=30 Exploring Operation: 88-6=82, Resulting Numbers: [5, 82] Generated Node #0,2,2: 58:[5, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[5, 82], Operations: ['90-84=6', '88-6=82'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 5*82=410, Resulting Numbers: [410] 410,58 unequal: No Solution Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[6, 83], Operations: ['90-84=6', '88-5=83'] Exploring Operation: 6*83=498, Resulting Numbers: [498] 498,58 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 6+83=89, Resulting Numbers: [89] 89,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[88, 30], Operations: ['90-84=6', '5*6=30'] Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,58 unequal: No Solution Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,58 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[90, 88, 5, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [88, 5, 6] Generated Node #0,2: 58:[88, 5, 6] Operation: 90-84=6 Moving to Node #0,2 Current State: 58:[88, 5, 6], Operations: ['90-84=6'] Exploring Operation: 5*6=30, Resulting Numbers: [88, 30] Generated Node #0,2,1: 58:[88, 30] Operation: 5*6=30 Moving to Node #0,2,1 Current State: 58:[88, 30], Operations: ['90-84=6', '5*6=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 43, 98, 82, 2 ]
35
[ "98-82=16", "16/2=8", "43-8=35" ]
Current State: 35:[43, 98, 82, 2], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [43, 2, 16] Generated Node #2: [43, 2, 16] from Operation: 98-82=16 Current State: 35:[43, 2, 16], Operations: ['98-82=16'] Exploring Operation: 16/2=8, Resulting Numbers: [43, 8] Generated Node #3: [43, 8] from Operation: 16/2=8 Current State: 35:[43, 8], Operations: ['98-82=16', '16/2=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[43, 98, 82, 2], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [43, 2, 16] Generated Node #0,0: 35:[43, 2, 16] Operation: 98-82=16 Moving to Node #0,0 Current State: 35:[43, 2, 16], Operations: ['98-82=16'] Exploring Operation: 16/2=8, Resulting Numbers: [43, 8] Generated Node #0,0,0: 35:[43, 8] Operation: 16/2=8 Moving to Node #0,0,0 Current State: 35:[43, 8], Operations: ['98-82=16', '16/2=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[43, 98, 82, 2], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [43, 2, 16] Generated Node #0,0: 35:[43, 2, 16] Operation: 98-82=16 Moving to Node #0,0 Current State: 35:[43, 2, 16], Operations: ['98-82=16'] Exploring Operation: 16/2=8, Resulting Numbers: [43, 8] Generated Node #0,0,0: 35:[43, 8] Operation: 16/2=8 Moving to Node #0,0,0 Current State: 35:[43, 8], Operations: ['98-82=16', '16/2=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 65, 43, 49, 11 ]
47
[ "65-43=22", "22/11=2", "49-2=47" ]
Current State: 47:[65, 43, 49, 11], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [49, 11, 22] Generated Node #2: [49, 11, 22] from Operation: 65-43=22 Current State: 47:[49, 11, 22], Operations: ['65-43=22'] Exploring Operation: 22/11=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 22/11=2 Current State: 47:[49, 2], Operations: ['65-43=22', '22/11=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[65, 43, 49, 11], Operations: [] Exploring Operation: 43+11=54, Resulting Numbers: [65, 49, 54] Generated Node #0,0: 47:[65, 49, 54] Operation: 43+11=54 Exploring Operation: 65-11=54, Resulting Numbers: [43, 49, 54] Generated Node #0,1: 47:[43, 49, 54] Operation: 65-11=54 Exploring Operation: 49-11=38, Resulting Numbers: [65, 43, 38] Generated Node #0,2: 47:[65, 43, 38] Operation: 49-11=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[43, 49, 54], Operations: ['65-11=54'] Exploring Operation: 49-43=6, Resulting Numbers: [54, 6] Generated Node #0,1,0: 47:[54, 6] Operation: 49-43=6 Exploring Operation: 54-49=5, Resulting Numbers: [43, 5] Generated Node #0,1,1: 47:[43, 5] Operation: 54-49=5 Exploring Operation: 54-43=11, Resulting Numbers: [49, 11] Generated Node #0,1,2: 47:[49, 11] Operation: 54-43=11 Moving to Node #0,1,2 Current State: 47:[49, 11], Operations: ['65-11=54', '54-43=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,47 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[43, 5], Operations: ['65-11=54', '54-49=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[54, 6], Operations: ['65-11=54', '49-43=6'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[65, 49, 54], Operations: ['43+11=54'] Exploring Operation: 65-49=16, Resulting Numbers: [54, 16] Generated Node #0,0,0: 47:[54, 16] Operation: 65-49=16 Exploring Operation: 65-54=11, Resulting Numbers: [49, 11] Generated Node #0,0,1: 47:[49, 11] Operation: 65-54=11 Exploring Operation: 54-49=5, Resulting Numbers: [65, 5] Generated Node #0,0,2: 47:[65, 5] Operation: 54-49=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[54, 16], Operations: ['43+11=54', '65-49=16'] Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,47 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[49, 11], Operations: ['43+11=54', '65-54=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,47 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[65, 5], Operations: ['43+11=54', '54-49=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[65, 43, 38], Operations: ['49-11=38'] Exploring Operation: 43+38=81, Resulting Numbers: [65, 81] Generated Node #0,2,0: 47:[65, 81] Operation: 43+38=81 Exploring Operation: 65-43=22, Resulting Numbers: [38, 22] Generated Node #0,2,1: 47:[38, 22] Operation: 65-43=22 Exploring Operation: 65-38=27, Resulting Numbers: [43, 27] Generated Node #0,2,2: 47:[43, 27] Operation: 65-38=27 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[43, 27], Operations: ['49-11=38', '65-38=27'] Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[38, 22], Operations: ['49-11=38', '65-43=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,47 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[65, 81], Operations: ['49-11=38', '43+38=81'] Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,47 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 42, 78, 18, 10 ]
27
[ "42+10=52", "78*18=1404", "1404/52=27" ]
Current State: 27:[42, 78, 18, 10], Operations: [] Exploring Operation: 42+10=52, Resulting Numbers: [78, 18, 52] Generated Node #2: [78, 18, 52] from Operation: 42+10=52 Current State: 27:[78, 18, 52], Operations: ['42+10=52'] Exploring Operation: 78*18=1404, Resulting Numbers: [52, 1404] Generated Node #3: [52, 1404] from Operation: 78*18=1404 Current State: 27:[52, 1404], Operations: ['42+10=52', '78*18=1404'] Exploring Operation: 1404/52=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[42, 78, 18, 10], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [78, 10, 24] Generated Node #0,0: 27:[78, 10, 24] Operation: 42-18=24 Exploring Operation: 78-18=60, Resulting Numbers: [42, 10, 60] Generated Node #0,1: 27:[42, 10, 60] Operation: 78-18=60 Exploring Operation: 78-42=36, Resulting Numbers: [18, 10, 36] Generated Node #0,2: 27:[18, 10, 36] Operation: 78-42=36 Moving to Node #0,2 Current State: 27:[18, 10, 36], Operations: ['78-42=36'] Exploring Operation: 18-10=8, Resulting Numbers: [36, 8] Generated Node #0,2,0: 27:[36, 8] Operation: 18-10=8 Exploring Operation: 18+10=28, Resulting Numbers: [36, 28] Generated Node #0,2,1: 27:[36, 28] Operation: 18+10=28 Exploring Operation: 36/18=2, Resulting Numbers: [10, 2] Generated Node #0,2,2: 27:[10, 2] Operation: 36/18=2 Moving to Node #0,1 Current State: 27:[42, 10, 60], Operations: ['78-18=60'] Exploring Operation: 60/10=6, Resulting Numbers: [42, 6] Generated Node #0,1,0: 27:[42, 6] Operation: 60/10=6 Exploring Operation: 60-42=18, Resulting Numbers: [10, 18] Generated Node #0,1,1: 27:[10, 18] Operation: 60-42=18 Exploring Operation: 42-10=32, Resulting Numbers: [60, 32] Generated Node #0,1,2: 27:[60, 32] Operation: 42-10=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[10, 18], Operations: ['78-18=60', '60-42=18'] Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,27 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,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:[42, 6], Operations: ['78-18=60', '60/10=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,27 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,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:[60, 32], Operations: ['78-18=60', '42-10=32'] Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 60*32=1920, Resulting Numbers: [1920] 1920,27 unequal: No Solution Exploring Operation: 60+32=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,0 Current State: 27:[78, 10, 24], Operations: ['42-18=24'] Exploring Operation: 78-10=68, Resulting Numbers: [24, 68] Generated Node #0,0,0: 27:[24, 68] Operation: 78-10=68 Exploring Operation: 78-24=54, Resulting Numbers: [10, 54] Generated Node #0,0,1: 27:[10, 54] Operation: 78-24=54 Exploring Operation: 24-10=14, Resulting Numbers: [78, 14] Generated Node #0,0,2: 27:[78, 14] Operation: 24-10=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[10, 54], Operations: ['42-18=24', '78-24=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,27 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,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:[24, 68], Operations: ['42-18=24', '78-10=68'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 24*68=1632, Resulting Numbers: [1632] 1632,27 unequal: No Solution Exploring Operation: 24+68=92, Resulting Numbers: [92] 92,27 unequal: No Solution No 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:[78, 14], Operations: ['42-18=24', '24-10=14'] Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,27 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 78+14=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,2,2 Current State: 27:[10, 2], Operations: ['78-42=36', '36/18=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[36, 8], Operations: ['78-42=36', '18-10=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,27 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[36, 28], Operations: ['78-42=36', '18+10=28'] Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,27 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,27 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 43, 27, 79, 99 ]
90
[ "43+27=70", "99-79=20", "70+20=90" ]
Current State: 90:[43, 27, 79, 99], Operations: [] Exploring Operation: 43+27=70, Resulting Numbers: [79, 99, 70] Generated Node #2: [79, 99, 70] from Operation: 43+27=70 Current State: 90:[79, 99, 70], Operations: ['43+27=70'] Exploring Operation: 99-79=20, Resulting Numbers: [70, 20] Generated Node #3: [70, 20] from Operation: 99-79=20 Current State: 90:[70, 20], Operations: ['43+27=70', '99-79=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[43, 27, 79, 99], Operations: [] Exploring Operation: 43-27=16, Resulting Numbers: [79, 99, 16] Generated Node #0,0: 90:[79, 99, 16] Operation: 43-27=16 Exploring Operation: 79-43=36, Resulting Numbers: [27, 99, 36] Generated Node #0,1: 90:[27, 99, 36] Operation: 79-43=36 Exploring Operation: 99-43=56, Resulting Numbers: [27, 79, 56] Generated Node #0,2: 90:[27, 79, 56] Operation: 99-43=56 Exploring Operation: 79-27=52, Resulting Numbers: [43, 99, 52] Generated Node #0,3: 90:[43, 99, 52] Operation: 79-27=52 Exploring Operation: 99-79=20, Resulting Numbers: [43, 27, 20] Generated Node #0,4: 90:[43, 27, 20] Operation: 99-79=20 Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[43, 27, 20], Operations: ['99-79=20'] Exploring Operation: 43-20=23, Resulting Numbers: [27, 23] Generated Node #0,4,0: 90:[27, 23] Operation: 43-20=23 Exploring Operation: 27-20=7, Resulting Numbers: [43, 7] Generated Node #0,4,1: 90:[43, 7] Operation: 27-20=7 Exploring Operation: 27+20=47, Resulting Numbers: [43, 47] Generated Node #0,4,2: 90:[43, 47] Operation: 27+20=47 Exploring Operation: 43-27=16, Resulting Numbers: [20, 16] Generated Node #0,4,3: 90:[20, 16] Operation: 43-27=16 Exploring Operation: 43+20=63, Resulting Numbers: [27, 63] Generated Node #0,4,4: 90:[27, 63] Operation: 43+20=63 Moving to Node #0,4,1 Current State: 90:[43, 7], Operations: ['99-79=20', '27-20=7'] Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,90 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[20, 16], Operations: ['99-79=20', '43-27=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,90 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,90 unequal: No Solution Moving to Node #0,4,2 Current State: 90:[43, 47], Operations: ['99-79=20', '27+20=47'] Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[43, 27, 79, 99], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [43, 27, 20] Generated Node #0,4: 90:[43, 27, 20] Operation: 99-79=20 Moving to Node #0,4 Current State: 90:[43, 27, 20], Operations: ['99-79=20'] Exploring Operation: 27+20=47, Resulting Numbers: [43, 47] Generated Node #0,4,2: 90:[43, 47] Operation: 27+20=47 Moving to Node #0,4,2 Current State: 90:[43, 47], Operations: ['99-79=20', '27+20=47'] Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 31, 82, 3, 20 ]
96
[ "31+82=113", "20-3=17", "113-17=96" ]
Current State: 96:[31, 82, 3, 20], Operations: [] Exploring Operation: 31+82=113, Resulting Numbers: [3, 20, 113] Generated Node #2: [3, 20, 113] from Operation: 31+82=113 Current State: 96:[3, 20, 113], Operations: ['31+82=113'] Exploring Operation: 20-3=17, Resulting Numbers: [113, 17] Generated Node #3: [113, 17] from Operation: 20-3=17 Current State: 96:[113, 17], Operations: ['31+82=113', '20-3=17'] Exploring Operation: 113-17=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[31, 82, 3, 20], Operations: [] Exploring Operation: 82+20=102, Resulting Numbers: [31, 3, 102] Generated Node #0,0: 96:[31, 3, 102] Operation: 82+20=102 Exploring Operation: 82-31=51, Resulting Numbers: [3, 20, 51] Generated Node #0,1: 96:[3, 20, 51] Operation: 82-31=51 Moving to Node #0,0 Current State: 96:[31, 3, 102], Operations: ['82+20=102'] Exploring Operation: 102/3=34, Resulting Numbers: [31, 34] Generated Node #0,0,0: 96:[31, 34] Operation: 102/3=34 Exploring Operation: 102-3=99, Resulting Numbers: [31, 99] Generated Node #0,0,1: 96:[31, 99] Operation: 102-3=99 Moving to Node #0,1 Current State: 96:[3, 20, 51], Operations: ['82-31=51'] Exploring Operation: 51-20=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 96:[3, 31] Operation: 51-20=31 Exploring Operation: 3+20=23, Resulting Numbers: [51, 23] Generated Node #0,1,1: 96:[51, 23] Operation: 3+20=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[3, 31], Operations: ['82-31=51', '51-20=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[51, 23], Operations: ['82-31=51', '3+20=23'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 51+23=74, Resulting Numbers: [74] 74,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 96:[31, 34], Operations: ['82+20=102', '102/3=34'] Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[31, 99], Operations: ['82+20=102', '102-3=99'] Exploring Operation: 31+99=130, Resulting Numbers: [130] 130,96 unequal: No Solution Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,96 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 90, 40, 75, 45 ]
24
[ "90-45=45", "40*45=1800", "1800/75=24" ]
Current State: 24:[90, 40, 75, 45], Operations: [] Exploring Operation: 90-45=45, Resulting Numbers: [40, 75, 45] Generated Node #2: [40, 75, 45] from Operation: 90-45=45 Current State: 24:[40, 75, 45], Operations: ['90-45=45'] Exploring Operation: 40*45=1800, Resulting Numbers: [75, 1800] Generated Node #3: [75, 1800] from Operation: 40*45=1800 Current State: 24:[75, 1800], Operations: ['90-45=45', '40*45=1800'] Exploring Operation: 1800/75=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[90, 40, 75, 45], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [90, 40, 30] Generated Node #0,0: 24:[90, 40, 30] Operation: 75-45=30 Exploring Operation: 90-75=15, Resulting Numbers: [40, 45, 15] Generated Node #0,1: 24:[40, 45, 15] Operation: 90-75=15 Exploring Operation: 90-45=45, Resulting Numbers: [40, 75, 45] Generated Node #0,2: 24:[40, 75, 45] Operation: 90-45=45 Exploring Operation: 90/45=2, Resulting Numbers: [40, 75, 2] Generated Node #0,3: 24:[40, 75, 2] Operation: 90/45=2 Moving to Node #0,1 Current State: 24:[40, 45, 15], Operations: ['90-75=15'] Exploring Operation: 45-15=30, Resulting Numbers: [40, 30] Generated Node #0,1,0: 24:[40, 30] Operation: 45-15=30 Exploring Operation: 45-40=5, Resulting Numbers: [15, 5] Generated Node #0,1,1: 24:[15, 5] Operation: 45-40=5 Exploring Operation: 40-15=25, Resulting Numbers: [45, 25] Generated Node #0,1,2: 24:[45, 25] Operation: 40-15=25 Exploring Operation: 45/15=3, Resulting Numbers: [40, 3] Generated Node #0,1,3: 24:[40, 3] Operation: 45/15=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[15, 5], Operations: ['90-75=15', '45-40=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,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,1,3 Current State: 24:[40, 3], Operations: ['90-75=15', '45/15=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,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,1,0 Current State: 24:[40, 30], Operations: ['90-75=15', '45-15=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,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,1,2 Current State: 24:[45, 25], Operations: ['90-75=15', '40-15=25'] Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,24 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,24 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: 24:[40, 75, 2], Operations: ['90/45=2'] Exploring Operation: 75-40=35, Resulting Numbers: [2, 35] Generated Node #0,3,0: 24:[2, 35] Operation: 75-40=35 Exploring Operation: 75-2=73, Resulting Numbers: [40, 73] Generated Node #0,3,1: 24:[40, 73] Operation: 75-2=73 Exploring Operation: 40/2=20, Resulting Numbers: [75, 20] Generated Node #0,3,2: 24:[75, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [75, 38] Generated Node #0,3,3: 24:[75, 38] Operation: 40-2=38 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[2, 35], Operations: ['90/45=2', '75-40=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,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,3,2 Current State: 24:[75, 20], Operations: ['90/45=2', '40/2=20'] Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,24 unequal: No Solution Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,24 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,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,3,1 Current State: 24:[40, 73], Operations: ['90/45=2', '75-2=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,24 unequal: No Solution Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,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,3,3 Current State: 24:[75, 38], Operations: ['90/45=2', '40-2=38'] Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,24 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,24 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,24 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: 24:[40, 75, 45], Operations: ['90-45=45'] Exploring Operation: 75-40=35, Resulting Numbers: [45, 35] Generated Node #0,2,0: 24:[45, 35] Operation: 75-40=35 Exploring Operation: 75-45=30, Resulting Numbers: [40, 30] Generated Node #0,2,1: 24:[40, 30] Operation: 75-45=30 Exploring Operation: 45-40=5, Resulting Numbers: [75, 5] Generated Node #0,2,2: 24:[75, 5] Operation: 45-40=5 Exploring Operation: 40+75=115, Resulting Numbers: [45, 115] Generated Node #0,2,3: 24:[45, 115] Operation: 40+75=115 Moving to Node #0,0 Current State: 24:[90, 40, 30], Operations: ['75-45=30'] Exploring Operation: 90/30=3, Resulting Numbers: [40, 3] Generated Node #0,0,0: 24:[40, 3] Operation: 90/30=3 Exploring Operation: 90-30=60, Resulting Numbers: [40, 60] Generated Node #0,0,1: 24:[40, 60] Operation: 90-30=60 Exploring Operation: 90-40=50, Resulting Numbers: [30, 50] Generated Node #0,0,2: 24:[30, 50] Operation: 90-40=50 Exploring Operation: 40-30=10, Resulting Numbers: [90, 10] Generated Node #0,0,3: 24:[90, 10] Operation: 40-30=10 Moving to Node #0,0,0 Current State: 24:[40, 3], Operations: ['75-45=30', '90/30=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,24 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[40, 30], Operations: ['90-45=45', '75-45=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[30, 50], Operations: ['75-45=30', '90-40=50'] Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,24 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[45, 35], Operations: ['90-45=45', '75-40=35'] Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[75, 5], Operations: ['90-45=45', '45-40=5'] Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,24 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[40, 60], Operations: ['75-45=30', '90-30=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,24 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[90, 10], Operations: ['75-45=30', '40-30=10'] Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 90*10=900, Resulting Numbers: [900] 900,24 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[45, 115], Operations: ['90-45=45', '40+75=115'] Exploring Operation: 45*115=5175, Resulting Numbers: [5175] 5175,24 unequal: No Solution Exploring Operation: 45+115=160, Resulting Numbers: [160] 160,24 unequal: No Solution Exploring Operation: 115-45=70, Resulting Numbers: [70] 70,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 14, 98, 31, 56 ]
94
[ "98/14=7", "31+56=87", "7+87=94" ]
Current State: 94:[14, 98, 31, 56], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [31, 56, 7] Generated Node #2: [31, 56, 7] from Operation: 98/14=7 Current State: 94:[31, 56, 7], Operations: ['98/14=7'] Exploring Operation: 31+56=87, Resulting Numbers: [7, 87] Generated Node #3: [7, 87] from Operation: 31+56=87 Current State: 94:[7, 87], Operations: ['98/14=7', '31+56=87'] Exploring Operation: 7+87=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[14, 98, 31, 56], Operations: [] Exploring Operation: 31+56=87, Resulting Numbers: [14, 98, 87] Generated Node #0,0: 94:[14, 98, 87] Operation: 31+56=87 Exploring Operation: 56/14=4, Resulting Numbers: [98, 31, 4] Generated Node #0,1: 94:[98, 31, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [98, 31, 42] Generated Node #0,2: 94:[98, 31, 42] Operation: 56-14=42 Exploring Operation: 14+31=45, Resulting Numbers: [98, 56, 45] Generated Node #0,3: 94:[98, 56, 45] Operation: 14+31=45 Exploring Operation: 31-14=17, Resulting Numbers: [98, 56, 17] Generated Node #0,4: 94:[98, 56, 17] Operation: 31-14=17 Moving to Node #0,3 Current State: 94:[98, 56, 45], Operations: ['14+31=45'] Exploring Operation: 98+45=143, Resulting Numbers: [56, 143] Generated Node #0,3,0: 94:[56, 143] Operation: 98+45=143 Exploring Operation: 98-45=53, Resulting Numbers: [56, 53] Generated Node #0,3,1: 94:[56, 53] Operation: 98-45=53 Exploring Operation: 98-56=42, Resulting Numbers: [45, 42] Generated Node #0,3,2: 94:[45, 42] Operation: 98-56=42 Exploring Operation: 56+45=101, Resulting Numbers: [98, 101] Generated Node #0,3,3: 94:[98, 101] Operation: 56+45=101 Exploring Operation: 56-45=11, Resulting Numbers: [98, 11] Generated Node #0,3,4: 94:[98, 11] Operation: 56-45=11 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[45, 42], Operations: ['14+31=45', '98-56=42'] Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,94 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,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,3,3 Current State: 94:[98, 101], Operations: ['14+31=45', '56+45=101'] Exploring Operation: 98+101=199, Resulting Numbers: [199] 199,94 unequal: No Solution Exploring Operation: 101-98=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 98*101=9898, Resulting Numbers: [9898] 9898,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,3,4 Current State: 94:[98, 11], Operations: ['14+31=45', '56-45=11'] Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,94 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,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,3,1 Current State: 94:[56, 53], Operations: ['14+31=45', '98-45=53'] Exploring Operation: 56*53=2968, Resulting Numbers: [2968] 2968,94 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,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,3,0 Current State: 94:[56, 143], Operations: ['14+31=45', '98+45=143'] Exploring Operation: 56+143=199, Resulting Numbers: [199] 199,94 unequal: No Solution Exploring Operation: 56*143=8008, Resulting Numbers: [8008] 8008,94 unequal: No Solution Exploring Operation: 143-56=87, Resulting Numbers: [87] 87,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:[98, 31, 4], Operations: ['56/14=4'] Exploring Operation: 31+4=35, Resulting Numbers: [98, 35] Generated Node #0,1,0: 94:[98, 35] Operation: 31+4=35 Exploring Operation: 98-4=94, Resulting Numbers: [31, 94] Generated Node #0,1,1: 94:[31, 94] Operation: 98-4=94 Exploring Operation: 31-4=27, Resulting Numbers: [98, 27] Generated Node #0,1,2: 94:[98, 27] Operation: 31-4=27 Exploring Operation: 98-31=67, Resulting Numbers: [4, 67] Generated Node #0,1,3: 94:[4, 67] Operation: 98-31=67 Exploring Operation: 98+4=102, Resulting Numbers: [31, 102] Generated Node #0,1,4: 94:[31, 102] Operation: 98+4=102 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[98, 35], Operations: ['56/14=4', '31+4=35'] Exploring Operation: 98-35=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 98*35=3430, Resulting Numbers: [3430] 3430,94 unequal: No Solution Exploring Operation: 98+35=133, Resulting Numbers: [133] 133,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:[31, 94], Operations: ['56/14=4', '98-4=94'] Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 31+94=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 31*94=2914, Resulting Numbers: [2914] 2914,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,3 Current State: 94:[4, 67], Operations: ['56/14=4', '98-31=67'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,94 unequal: No Solution Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,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,2 Current State: 94:[98, 27], Operations: ['56/14=4', '31-4=27'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,94 unequal: No Solution Exploring Operation: 98*27=2646, Resulting Numbers: [2646] 2646,94 unequal: No Solution Exploring Operation: 98+27=125, Resulting Numbers: [125] 125,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,4 Current State: 94:[31, 102], Operations: ['56/14=4', '98+4=102'] Exploring Operation: 102-31=71, Resulting Numbers: [71] 71,94 unequal: No Solution Exploring Operation: 31+102=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 31*102=3162, Resulting Numbers: [3162] 3162,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:[14, 98, 87], Operations: ['31+56=87'] Exploring Operation: 14+87=101, Resulting Numbers: [98, 101] Generated Node #0,0,0: 94:[98, 101] Operation: 14+87=101 Exploring Operation: 98-14=84, Resulting Numbers: [87, 84] Generated Node #0,0,1: 94:[87, 84] Operation: 98-14=84 Exploring Operation: 14+98=112, Resulting Numbers: [87, 112] Generated Node #0,0,2: 94:[87, 112] Operation: 14+98=112 Exploring Operation: 98-87=11, Resulting Numbers: [14, 11] Generated Node #0,0,3: 94:[14, 11] Operation: 98-87=11 Exploring Operation: 98/14=7, Resulting Numbers: [87, 7] Generated Node #0,0,4: 94:[87, 7] Operation: 98/14=7 Moving to Node #0,2 Current State: 94:[98, 31, 42], Operations: ['56-14=42'] Exploring Operation: 31+42=73, Resulting Numbers: [98, 73] Generated Node #0,2,0: 94:[98, 73] Operation: 31+42=73 Exploring Operation: 98-31=67, Resulting Numbers: [42, 67] Generated Node #0,2,1: 94:[42, 67] Operation: 98-31=67 Exploring Operation: 98+31=129, Resulting Numbers: [42, 129] Generated Node #0,2,2: 94:[42, 129] Operation: 98+31=129 Exploring Operation: 42-31=11, Resulting Numbers: [98, 11] Generated Node #0,2,3: 94:[98, 11] Operation: 42-31=11 Exploring Operation: 98-42=56, Resulting Numbers: [31, 56] Generated Node #0,2,4: 94:[31, 56] Operation: 98-42=56 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[98, 11], Operations: ['56-14=42', '42-31=11'] Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,94 unequal: No Solution Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,94 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,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:[98, 73], Operations: ['56-14=42', '31+42=73'] Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 98*73=7154, Resulting Numbers: [7154] 7154,94 unequal: No Solution Exploring Operation: 98+73=171, Resulting Numbers: [171] 171,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,1 Current State: 94:[42, 67], Operations: ['56-14=42', '98-31=67'] Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,94 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,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,4 Current State: 94:[31, 56], Operations: ['56-14=42', '98-42=56'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,94 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,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:[42, 129], Operations: ['56-14=42', '98+31=129'] Exploring Operation: 42+129=171, Resulting Numbers: [171] 171,94 unequal: No Solution Exploring Operation: 129-42=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 42*129=5418, Resulting Numbers: [5418] 5418,94 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: 94:[98, 56, 17], Operations: ['31-14=17'] Exploring Operation: 56+17=73, Resulting Numbers: [98, 73] Generated Node #0,4,0: 94:[98, 73] Operation: 56+17=73 Exploring Operation: 56-17=39, Resulting Numbers: [98, 39] Generated Node #0,4,1: 94:[98, 39] Operation: 56-17=39 Exploring Operation: 98-56=42, Resulting Numbers: [17, 42] Generated Node #0,4,2: 94:[17, 42] Operation: 98-56=42 Exploring Operation: 98-17=81, Resulting Numbers: [56, 81] Generated Node #0,4,3: 94:[56, 81] Operation: 98-17=81 Exploring Operation: 98+17=115, Resulting Numbers: [56, 115] Generated Node #0,4,4: 94:[56, 115] Operation: 98+17=115 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[98, 39], Operations: ['31-14=17', '56-17=39'] Exploring Operation: 98*39=3822, Resulting Numbers: [3822] 3822,94 unequal: No Solution Exploring Operation: 98-39=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 98+39=137, Resulting Numbers: [137] 137,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,4,2 Current State: 94:[17, 42], Operations: ['31-14=17', '98-56=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,94 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,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,4,3 Current State: 94:[56, 81], Operations: ['31-14=17', '98-17=81'] Exploring Operation: 56*81=4536, Resulting Numbers: [4536] 4536,94 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 56+81=137, Resulting Numbers: [137] 137,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,4,0 Current State: 94:[98, 73], Operations: ['31-14=17', '56+17=73'] Exploring Operation: 98*73=7154, Resulting Numbers: [7154] 7154,94 unequal: No Solution Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 98+73=171, Resulting Numbers: [171] 171,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,4,4 Current State: 94:[56, 115], Operations: ['31-14=17', '98+17=115'] Exploring Operation: 115-56=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 56*115=6440, Resulting Numbers: [6440] 6440,94 unequal: No Solution Exploring Operation: 56+115=171, Resulting Numbers: [171] 171,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 94:[98, 101], Operations: ['31+56=87', '14+87=101'] Exploring Operation: 101-98=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 98+101=199, Resulting Numbers: [199] 199,94 unequal: No Solution Exploring Operation: 98*101=9898, Resulting Numbers: [9898] 9898,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[87, 7], Operations: ['31+56=87', '98/14=7'] Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,94 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[14, 98, 31, 56], Operations: [] Exploring Operation: 31+56=87, Resulting Numbers: [14, 98, 87] Generated Node #0,0: 94:[14, 98, 87] Operation: 31+56=87 Moving to Node #0,0 Current State: 94:[14, 98, 87], Operations: ['31+56=87'] Exploring Operation: 98/14=7, Resulting Numbers: [87, 7] Generated Node #0,0,4: 94:[87, 7] Operation: 98/14=7 Moving to Node #0,0,4 Current State: 94:[87, 7], Operations: ['31+56=87', '98/14=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.913194
hs_5
sum_heuristic
[ 64, 65, 57, 1 ]
56
[ "65-64=1", "57*1=57", "57-1=56" ]
Current State: 56:[64, 65, 57, 1], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [57, 1, 1] Generated Node #2: [57, 1, 1] from Operation: 65-64=1 Current State: 56:[57, 1, 1], Operations: ['65-64=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,56 equal: Goal Reached Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[64, 65, 57, 1], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [64, 1, 8] Generated Node #0,0: 56:[64, 1, 8] Operation: 65-57=8 Exploring Operation: 64-1=63, Resulting Numbers: [65, 57, 63] Generated Node #0,1: 56:[65, 57, 63] Operation: 64-1=63 Exploring Operation: 65-1=64, Resulting Numbers: [64, 57, 64] Generated Node #0,2: 56:[64, 57, 64] Operation: 65-1=64 Exploring Operation: 65-64=1, Resulting Numbers: [57, 1, 1] Generated Node #0,3: 56:[57, 1, 1] Operation: 65-64=1 Exploring Operation: 64-57=7, Resulting Numbers: [65, 1, 7] Generated Node #0,4: 56:[65, 1, 7] Operation: 64-57=7 Moving to Node #0,3 Current State: 56:[57, 1, 1], Operations: ['65-64=1'] Exploring Operation: 57-1=56, Resulting Numbers: [1, 56] Generated Node #0,3,0: 56:[1, 56] Operation: 57-1=56 Exploring Operation: 57-1=56, Resulting Numbers: [1, 56] Generated Node #0,3,1: 56:[1, 56] Operation: 57-1=56 Exploring Operation: 1+1=2, Resulting Numbers: [57, 2] Generated Node #0,3,2: 56:[57, 2] Operation: 1+1=2 Exploring Operation: 57/1=57, Resulting Numbers: [1, 57] Generated Node #0,3,3: 56:[1, 57] Operation: 57/1=57 Exploring Operation: 57*1=57, Resulting Numbers: [1, 57] Generated Node #0,3,4: 56:[1, 57] Operation: 57*1=57 Moving to Node #0,0 Current State: 56:[64, 1, 8], Operations: ['65-57=8'] Exploring Operation: 64/1=64, Resulting Numbers: [8, 64] Generated Node #0,0,0: 56:[8, 64] Operation: 64/1=64 Exploring Operation: 64/8=8, Resulting Numbers: [1, 8] Generated Node #0,0,1: 56:[1, 8] Operation: 64/8=8 Exploring Operation: 64*1=64, Resulting Numbers: [8, 64] Generated Node #0,0,2: 56:[8, 64] Operation: 64*1=64 Exploring Operation: 64-1=63, Resulting Numbers: [8, 63] Generated Node #0,0,3: 56:[8, 63] Operation: 64-1=63 Exploring Operation: 64-8=56, Resulting Numbers: [1, 56] Generated Node #0,0,4: 56:[1, 56] Operation: 64-8=56 Moving to Node #0,4 Current State: 56:[65, 1, 7], Operations: ['64-57=7'] Exploring Operation: 1+7=8, Resulting Numbers: [65, 8] Generated Node #0,4,0: 56:[65, 8] Operation: 1+7=8 Exploring Operation: 65-1=64, Resulting Numbers: [7, 64] Generated Node #0,4,1: 56:[7, 64] Operation: 65-1=64 Exploring Operation: 65-7=58, Resulting Numbers: [1, 58] Generated Node #0,4,2: 56:[1, 58] Operation: 65-7=58 Exploring Operation: 65*1=65, Resulting Numbers: [7, 65] Generated Node #0,4,3: 56:[7, 65] Operation: 65*1=65 Exploring Operation: 65/1=65, Resulting Numbers: [7, 65] Generated Node #0,4,4: 56:[7, 65] Operation: 65/1=65 Moving to Node #0,1 Current State: 56:[65, 57, 63], Operations: ['64-1=63'] Exploring Operation: 65-63=2, Resulting Numbers: [57, 2] Generated Node #0,1,0: 56:[57, 2] Operation: 65-63=2 Exploring Operation: 65+57=122, Resulting Numbers: [63, 122] Generated Node #0,1,1: 56:[63, 122] Operation: 65+57=122 Exploring Operation: 65-57=8, Resulting Numbers: [63, 8] Generated Node #0,1,2: 56:[63, 8] Operation: 65-57=8 Exploring Operation: 63-57=6, Resulting Numbers: [65, 6] Generated Node #0,1,3: 56:[65, 6] Operation: 63-57=6 Exploring Operation: 65+63=128, Resulting Numbers: [57, 128] Generated Node #0,1,4: 56:[57, 128] Operation: 65+63=128 Moving to Node #0,2 Current State: 56:[64, 57, 64], Operations: ['65-1=64'] Exploring Operation: 64+57=121, Resulting Numbers: [64, 121] Generated Node #0,2,0: 56:[64, 121] Operation: 64+57=121 Exploring Operation: 64-57=7, Resulting Numbers: [64, 7] Generated Node #0,2,1: 56:[64, 7] Operation: 64-57=7 Exploring Operation: 64/64=1, Resulting Numbers: [57, 1] Generated Node #0,2,2: 56:[57, 1] Operation: 64/64=1 Exploring Operation: 64-64=0, Resulting Numbers: [57, 0] Generated Node #0,2,3: 56:[57, 0] Operation: 64-64=0 Exploring Operation: 64-57=7, Resulting Numbers: [64, 7] Generated Node #0,2,4: 56:[64, 7] Operation: 64-57=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[57, 1], Operations: ['65-1=64', '64/64=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[64, 65, 57, 1], Operations: [] Exploring Operation: 65-1=64, Resulting Numbers: [64, 57, 64] Generated Node #0,2: 56:[64, 57, 64] Operation: 65-1=64 Moving to Node #0,2 Current State: 56:[64, 57, 64], Operations: ['65-1=64'] Exploring Operation: 64/64=1, Resulting Numbers: [57, 1] Generated Node #0,2,2: 56:[57, 1] Operation: 64/64=1 Moving to Node #0,2,2 Current State: 56:[57, 1], Operations: ['65-1=64', '64/64=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 63, 78, 24, 21 ]
23
[ "63-24=39", "78/39=2", "21+2=23" ]
Current State: 23:[63, 78, 24, 21], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [78, 21, 39] Generated Node #2: [78, 21, 39] from Operation: 63-24=39 Current State: 23:[78, 21, 39], Operations: ['63-24=39'] Exploring Operation: 78/39=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 78/39=2 Current State: 23:[21, 2], Operations: ['63-24=39', '78/39=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[63, 78, 24, 21], Operations: [] Exploring Operation: 78-63=15, Resulting Numbers: [24, 21, 15] Generated Node #0,0: 23:[24, 21, 15] Operation: 78-63=15 Exploring Operation: 63-24=39, Resulting Numbers: [78, 21, 39] Generated Node #0,1: 23:[78, 21, 39] Operation: 63-24=39 Exploring Operation: 78-24=54, Resulting Numbers: [63, 21, 54] Generated Node #0,2: 23:[63, 21, 54] Operation: 78-24=54 Exploring Operation: 63-21=42, Resulting Numbers: [78, 24, 42] Generated Node #0,3: 23:[78, 24, 42] Operation: 63-21=42 Moving to Node #0,0 Current State: 23:[24, 21, 15], Operations: ['78-63=15'] Exploring Operation: 24-15=9, Resulting Numbers: [21, 9] Generated Node #0,0,0: 23:[21, 9] Operation: 24-15=9 Exploring Operation: 21-15=6, Resulting Numbers: [24, 6] Generated Node #0,0,1: 23:[24, 6] Operation: 21-15=6 Exploring Operation: 21+15=36, Resulting Numbers: [24, 36] Generated Node #0,0,2: 23:[24, 36] Operation: 21+15=36 Exploring Operation: 24+15=39, Resulting Numbers: [21, 39] Generated Node #0,0,3: 23:[21, 39] Operation: 24+15=39 Moving to Node #0,2 Current State: 23:[63, 21, 54], Operations: ['78-24=54'] Exploring Operation: 63-54=9, Resulting Numbers: [21, 9] Generated Node #0,2,0: 23:[21, 9] Operation: 63-54=9 Exploring Operation: 54-21=33, Resulting Numbers: [63, 33] Generated Node #0,2,1: 23:[63, 33] Operation: 54-21=33 Exploring Operation: 63/21=3, Resulting Numbers: [54, 3] Generated Node #0,2,2: 23:[54, 3] Operation: 63/21=3 Exploring Operation: 63-21=42, Resulting Numbers: [54, 42] Generated Node #0,2,3: 23:[54, 42] Operation: 63-21=42 Moving to Node #0,1 Current State: 23:[78, 21, 39], Operations: ['63-24=39'] Exploring Operation: 39-21=18, Resulting Numbers: [78, 18] Generated Node #0,1,0: 23:[78, 18] Operation: 39-21=18 Exploring Operation: 78/39=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 23:[21, 2] Operation: 78/39=2 Exploring Operation: 78-21=57, Resulting Numbers: [39, 57] Generated Node #0,1,2: 23:[39, 57] Operation: 78-21=57 Exploring Operation: 78-39=39, Resulting Numbers: [21, 39] Generated Node #0,1,3: 23:[21, 39] Operation: 78-39=39 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[21, 39], Operations: ['63-24=39', '78-39=39'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[21, 2], Operations: ['63-24=39', '78/39=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[63, 78, 24, 21], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [78, 21, 39] Generated Node #0,1: 23:[78, 21, 39] Operation: 63-24=39 Moving to Node #0,1 Current State: 23:[78, 21, 39], Operations: ['63-24=39'] Exploring Operation: 78/39=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 23:[21, 2] Operation: 78/39=2 Moving to Node #0,1,1 Current State: 23:[21, 2], Operations: ['63-24=39', '78/39=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 24, 60, 22, 57 ]
48
[ "24*57=1368", "60*22=1320", "1368-1320=48" ]
Current State: 48:[24, 60, 22, 57], Operations: [] Exploring Operation: 24*57=1368, Resulting Numbers: [60, 22, 1368] Generated Node #2: [60, 22, 1368] from Operation: 24*57=1368 Current State: 48:[60, 22, 1368], Operations: ['24*57=1368'] Exploring Operation: 60*22=1320, Resulting Numbers: [1368, 1320] Generated Node #3: [1368, 1320] from Operation: 60*22=1320 Current State: 48:[1368, 1320], Operations: ['24*57=1368', '60*22=1320'] Exploring Operation: 1368-1320=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[24, 60, 22, 57], Operations: [] Exploring Operation: 60-22=38, Resulting Numbers: [24, 57, 38] Generated Node #0,0: 48:[24, 57, 38] Operation: 60-22=38 Exploring Operation: 60-57=3, Resulting Numbers: [24, 22, 3] Generated Node #0,1: 48:[24, 22, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[24, 22, 3], Operations: ['60-57=3'] Exploring Operation: 22+3=25, Resulting Numbers: [24, 25] Generated Node #0,1,0: 48:[24, 25] Operation: 22+3=25 Exploring Operation: 24-22=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 48:[3, 2] Operation: 24-22=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[3, 2], Operations: ['60-57=3', '24-22=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,48 unequal: No Solution No 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: 48:[24, 25], Operations: ['60-57=3', '22+3=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[24, 57, 38], Operations: ['60-22=38'] Exploring Operation: 38-24=14, Resulting Numbers: [57, 14] Generated Node #0,0,0: 48:[57, 14] Operation: 38-24=14 Exploring Operation: 57-38=19, Resulting Numbers: [24, 19] Generated Node #0,0,1: 48:[24, 19] Operation: 57-38=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[24, 19], Operations: ['60-22=38', '57-38=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,48 unequal: No Solution No 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: 48:[57, 14], Operations: ['60-22=38', '38-24=14'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 45, 40, 51, 9 ]
90
[ "51-40=11", "11-9=2", "45*2=90" ]
Current State: 90:[45, 40, 51, 9], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [45, 9, 11] Generated Node #2: [45, 9, 11] from Operation: 51-40=11 Current State: 90:[45, 9, 11], Operations: ['51-40=11'] Exploring Operation: 11-9=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 11-9=2 Current State: 90:[45, 2], Operations: ['51-40=11', '11-9=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[45, 40, 51, 9], Operations: [] Exploring Operation: 40+51=91, Resulting Numbers: [45, 9, 91] Generated Node #0,0: 90:[45, 9, 91] Operation: 40+51=91 Exploring Operation: 51-40=11, Resulting Numbers: [45, 9, 11] Generated Node #0,1: 90:[45, 9, 11] Operation: 51-40=11 Exploring Operation: 45-40=5, Resulting Numbers: [51, 9, 5] Generated Node #0,2: 90:[51, 9, 5] Operation: 45-40=5 Exploring Operation: 51-45=6, Resulting Numbers: [40, 9, 6] Generated Node #0,3: 90:[40, 9, 6] Operation: 51-45=6 Exploring Operation: 40-9=31, Resulting Numbers: [45, 51, 31] Generated Node #0,4: 90:[45, 51, 31] Operation: 40-9=31 Moving to Node #0,0 Current State: 90:[45, 9, 91], Operations: ['40+51=91'] Exploring Operation: 91-9=82, Resulting Numbers: [45, 82] Generated Node #0,0,0: 90:[45, 82] Operation: 91-9=82 Exploring Operation: 45+9=54, Resulting Numbers: [91, 54] Generated Node #0,0,1: 90:[91, 54] Operation: 45+9=54 Exploring Operation: 45-9=36, Resulting Numbers: [91, 36] Generated Node #0,0,2: 90:[91, 36] Operation: 45-9=36 Exploring Operation: 91-45=46, Resulting Numbers: [9, 46] Generated Node #0,0,3: 90:[9, 46] Operation: 91-45=46 Exploring Operation: 45/9=5, Resulting Numbers: [91, 5] Generated Node #0,0,4: 90:[91, 5] Operation: 45/9=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[9, 46], Operations: ['40+51=91', '91-45=46'] Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 90:[91, 5], Operations: ['40+51=91', '45/9=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,90 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,90 unequal: No Solution Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[91, 36], Operations: ['40+51=91', '45-9=36'] Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,90 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[45, 82], Operations: ['40+51=91', '91-9=82'] Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 45*82=3690, Resulting Numbers: [3690] 3690,90 unequal: No Solution Exploring Operation: 45+82=127, Resulting Numbers: [127] 127,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[91, 54], Operations: ['40+51=91', '45+9=54'] Exploring Operation: 91*54=4914, Resulting Numbers: [4914] 4914,90 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 90:[45, 9, 11], Operations: ['51-40=11'] Exploring Operation: 45-11=34, Resulting Numbers: [9, 34] Generated Node #0,1,0: 90:[9, 34] Operation: 45-11=34 Exploring Operation: 11-9=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 90:[45, 2] Operation: 11-9=2 Exploring Operation: 45/9=5, Resulting Numbers: [11, 5] Generated Node #0,1,2: 90:[11, 5] Operation: 45/9=5 Exploring Operation: 9+11=20, Resulting Numbers: [45, 20] Generated Node #0,1,3: 90:[45, 20] Operation: 9+11=20 Exploring Operation: 45-9=36, Resulting Numbers: [11, 36] Generated Node #0,1,4: 90:[11, 36] Operation: 45-9=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[45, 2], Operations: ['51-40=11', '11-9=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,90 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[45, 40, 51, 9], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [45, 9, 11] Generated Node #0,1: 90:[45, 9, 11] Operation: 51-40=11 Moving to Node #0,1 Current State: 90:[45, 9, 11], Operations: ['51-40=11'] Exploring Operation: 11-9=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 90:[45, 2] Operation: 11-9=2 Moving to Node #0,1,1 Current State: 90:[45, 2], Operations: ['51-40=11', '11-9=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 34, 41, 14, 37 ]
16
[ "41-34=7", "37-14=23", "23-7=16" ]
Current State: 16:[34, 41, 14, 37], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [14, 37, 7] Generated Node #2: [14, 37, 7] from Operation: 41-34=7 Current State: 16:[14, 37, 7], Operations: ['41-34=7'] Exploring Operation: 37-14=23, Resulting Numbers: [7, 23] Generated Node #3: [7, 23] from Operation: 37-14=23 Current State: 16:[7, 23], Operations: ['41-34=7', '37-14=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[34, 41, 14, 37], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [34, 14, 4] Generated Node #0,0: 16:[34, 14, 4] Operation: 41-37=4 Exploring Operation: 41-34=7, Resulting Numbers: [14, 37, 7] Generated Node #0,1: 16:[14, 37, 7] Operation: 41-34=7 Moving to Node #0,0 Current State: 16:[34, 14, 4], Operations: ['41-37=4'] Exploring Operation: 34-14=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 16:[4, 20] Operation: 34-14=20 Exploring Operation: 34-4=30, Resulting Numbers: [14, 30] Generated Node #0,0,1: 16:[14, 30] Operation: 34-4=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[4, 20], Operations: ['41-37=4', '34-14=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[34, 41, 14, 37], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [34, 14, 4] Generated Node #0,0: 16:[34, 14, 4] Operation: 41-37=4 Moving to Node #0,0 Current State: 16:[34, 14, 4], Operations: ['41-37=4'] Exploring Operation: 34-14=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 16:[4, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 16:[4, 20], Operations: ['41-37=4', '34-14=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 49, 30, 96, 86 ]
89
[ "49+30=79", "96-86=10", "79+10=89" ]
Current State: 89:[49, 30, 96, 86], Operations: [] Exploring Operation: 49+30=79, Resulting Numbers: [96, 86, 79] Generated Node #2: [96, 86, 79] from Operation: 49+30=79 Current State: 89:[96, 86, 79], Operations: ['49+30=79'] Exploring Operation: 96-86=10, Resulting Numbers: [79, 10] Generated Node #3: [79, 10] from Operation: 96-86=10 Current State: 89:[79, 10], Operations: ['49+30=79', '96-86=10'] Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[49, 30, 96, 86], Operations: [] Exploring Operation: 49+30=79, Resulting Numbers: [96, 86, 79] Generated Node #0,0: 89:[96, 86, 79] Operation: 49+30=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[96, 86, 79], Operations: ['49+30=79'] Exploring Operation: 96-79=17, Resulting Numbers: [86, 17] Generated Node #0,0,0: 89:[86, 17] Operation: 96-79=17 Moving to Node #0,0,0 Current State: 89:[86, 17], Operations: ['49+30=79', '96-79=17'] Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 6, 1, 88, 5 ]
16
[ "5-1=4", "88/4=22", "22-6=16" ]
Current State: 16:[6, 1, 88, 5], Operations: [] Exploring Operation: 5-1=4, Resulting Numbers: [6, 88, 4] Generated Node #2: [6, 88, 4] from Operation: 5-1=4 Current State: 16:[6, 88, 4], Operations: ['5-1=4'] Exploring Operation: 88/4=22, Resulting Numbers: [6, 22] Generated Node #3: [6, 22] from Operation: 88/4=22 Current State: 16:[6, 22], Operations: ['5-1=4', '88/4=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[6, 1, 88, 5], Operations: [] Exploring Operation: 88-6=82, Resulting Numbers: [1, 5, 82] Generated Node #0,0: 16:[1, 5, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[1, 5, 82], Operations: ['88-6=82'] Exploring Operation: 82-5=77, Resulting Numbers: [1, 77] Generated Node #0,0,0: 16:[1, 77] Operation: 82-5=77 Moving to Node #0,0,0 Current State: 16:[1, 77], Operations: ['88-6=82', '82-5=77'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 50, 3, 42, 40 ]
94
[ "50-3=47", "42-40=2", "47*2=94" ]
Current State: 94:[50, 3, 42, 40], Operations: [] Exploring Operation: 50-3=47, Resulting Numbers: [42, 40, 47] Generated Node #2: [42, 40, 47] from Operation: 50-3=47 Current State: 94:[42, 40, 47], Operations: ['50-3=47'] Exploring Operation: 42-40=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 42-40=2 Current State: 94:[47, 2], Operations: ['50-3=47', '42-40=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[50, 3, 42, 40], Operations: [] Exploring Operation: 50+42=92, Resulting Numbers: [3, 40, 92] Generated Node #0,0: 94:[3, 40, 92] Operation: 50+42=92 Exploring Operation: 42-40=2, Resulting Numbers: [50, 3, 2] Generated Node #0,1: 94:[50, 3, 2] Operation: 42-40=2 Exploring Operation: 50+40=90, Resulting Numbers: [3, 42, 90] Generated Node #0,2: 94:[3, 42, 90] Operation: 50+40=90 Exploring Operation: 50-3=47, Resulting Numbers: [42, 40, 47] Generated Node #0,3: 94:[42, 40, 47] Operation: 50-3=47 Exploring Operation: 3+42=45, Resulting Numbers: [50, 40, 45] Generated Node #0,4: 94:[50, 40, 45] Operation: 3+42=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[50, 3, 2], Operations: ['42-40=2'] Exploring Operation: 50-3=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 94:[2, 47] Operation: 50-3=47 Exploring Operation: 50+3=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 94:[2, 53] Operation: 50+3=53 Exploring Operation: 50-2=48, Resulting Numbers: [3, 48] Generated Node #0,1,2: 94:[3, 48] Operation: 50-2=48 Exploring Operation: 3-2=1, Resulting Numbers: [50, 1] Generated Node #0,1,3: 94:[50, 1] Operation: 3-2=1 Exploring Operation: 50+2=52, Resulting Numbers: [3, 52] Generated Node #0,1,4: 94:[3, 52] Operation: 50+2=52 Moving to Node #0,1,0 Current State: 94:[2, 47], Operations: ['42-40=2', '50-3=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[50, 3, 42, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [50, 3, 2] Generated Node #0,1: 94:[50, 3, 2] Operation: 42-40=2 Moving to Node #0,1 Current State: 94:[50, 3, 2], Operations: ['42-40=2'] Exploring Operation: 50-3=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 94:[2, 47] Operation: 50-3=47 Moving to Node #0,1,0 Current State: 94:[2, 47], Operations: ['42-40=2', '50-3=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 40, 13, 16, 80 ]
58
[ "40+13=53", "80/16=5", "53+5=58" ]
Current State: 58:[40, 13, 16, 80], Operations: [] Exploring Operation: 40+13=53, Resulting Numbers: [16, 80, 53] Generated Node #2: [16, 80, 53] from Operation: 40+13=53 Current State: 58:[16, 80, 53], Operations: ['40+13=53'] Exploring Operation: 80/16=5, Resulting Numbers: [53, 5] Generated Node #3: [53, 5] from Operation: 80/16=5 Current State: 58:[53, 5], Operations: ['40+13=53', '80/16=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[40, 13, 16, 80], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [13, 16, 2] Generated Node #0,0: 58:[13, 16, 2] Operation: 80/40=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[13, 16, 2], Operations: ['80/40=2'] Exploring Operation: 13+16=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 58:[2, 29] Operation: 13+16=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[2, 29], Operations: ['80/40=2', '13+16=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[40, 13, 16, 80], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [13, 16, 2] Generated Node #0,0: 58:[13, 16, 2] Operation: 80/40=2 Moving to Node #0,0 Current State: 58:[13, 16, 2], Operations: ['80/40=2'] Exploring Operation: 13+16=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 58:[2, 29] Operation: 13+16=29 Moving to Node #0,0,0 Current State: 58:[2, 29], Operations: ['80/40=2', '13+16=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 33, 49, 69, 46 ]
71
[ "33*46=1518", "1518/69=22", "49+22=71" ]
Current State: 71:[33, 49, 69, 46], Operations: [] Exploring Operation: 33*46=1518, Resulting Numbers: [49, 69, 1518] Generated Node #2: [49, 69, 1518] from Operation: 33*46=1518 Current State: 71:[49, 69, 1518], Operations: ['33*46=1518'] Exploring Operation: 1518/69=22, Resulting Numbers: [49, 22] Generated Node #3: [49, 22] from Operation: 1518/69=22 Current State: 71:[49, 22], Operations: ['33*46=1518', '1518/69=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[33, 49, 69, 46], Operations: [] Exploring Operation: 33+49=82, Resulting Numbers: [69, 46, 82] Generated Node #0,0: 71:[69, 46, 82] Operation: 33+49=82 Exploring Operation: 33+46=79, Resulting Numbers: [49, 69, 79] Generated Node #0,1: 71:[49, 69, 79] Operation: 33+46=79 Moving to Node #0,1 Current State: 71:[49, 69, 79], Operations: ['33+46=79'] Exploring Operation: 79-49=30, Resulting Numbers: [69, 30] Generated Node #0,1,0: 71:[69, 30] Operation: 79-49=30 Exploring Operation: 49+69=118, Resulting Numbers: [79, 118] Generated Node #0,1,1: 71:[79, 118] Operation: 49+69=118 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[69, 30], Operations: ['33+46=79', '79-49=30'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[79, 118], Operations: ['33+46=79', '49+69=118'] Exploring Operation: 79+118=197, Resulting Numbers: [197] 197,71 unequal: No Solution Exploring Operation: 118-79=39, Resulting Numbers: [39] 39,71 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: 71:[69, 46, 82], Operations: ['33+49=82'] Exploring Operation: 69+46=115, Resulting Numbers: [82, 115] Generated Node #0,0,0: 71:[82, 115] Operation: 69+46=115 Exploring Operation: 82-46=36, Resulting Numbers: [69, 36] Generated Node #0,0,1: 71:[69, 36] Operation: 82-46=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[69, 36], Operations: ['33+49=82', '82-46=36'] Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,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,0 Current State: 71:[82, 115], Operations: ['33+49=82', '69+46=115'] Exploring Operation: 82+115=197, Resulting Numbers: [197] 197,71 unequal: No Solution Exploring Operation: 115-82=33, Resulting Numbers: [33] 33,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 9, 79, 4, 20 ]
86
[ "79-9=70", "20-4=16", "70+16=86" ]
Current State: 86:[9, 79, 4, 20], Operations: [] Exploring Operation: 79-9=70, Resulting Numbers: [4, 20, 70] Generated Node #2: [4, 20, 70] from Operation: 79-9=70 Current State: 86:[4, 20, 70], Operations: ['79-9=70'] Exploring Operation: 20-4=16, Resulting Numbers: [70, 16] Generated Node #3: [70, 16] from Operation: 20-4=16 Current State: 86:[70, 16], Operations: ['79-9=70', '20-4=16'] Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[9, 79, 4, 20], Operations: [] Exploring Operation: 20/4=5, Resulting Numbers: [9, 79, 5] Generated Node #0,0: 86:[9, 79, 5] Operation: 20/4=5 Exploring Operation: 20-9=11, Resulting Numbers: [79, 4, 11] Generated Node #0,1: 86:[79, 4, 11] Operation: 20-9=11 Moving to Node #0,0 Current State: 86:[9, 79, 5], Operations: ['20/4=5'] Exploring Operation: 9*5=45, Resulting Numbers: [79, 45] Generated Node #0,0,0: 86:[79, 45] Operation: 9*5=45 Exploring Operation: 9+79=88, Resulting Numbers: [5, 88] Generated Node #0,0,1: 86:[5, 88] Operation: 9+79=88 Moving to Node #0,1 Current State: 86:[79, 4, 11], Operations: ['20-9=11'] Exploring Operation: 4*11=44, Resulting Numbers: [79, 44] Generated Node #0,1,0: 86:[79, 44] Operation: 4*11=44 Exploring Operation: 79+11=90, Resulting Numbers: [4, 90] Generated Node #0,1,1: 86:[4, 90] Operation: 79+11=90 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[4, 90], Operations: ['20-9=11', '79+11=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[9, 79, 4, 20], Operations: [] Exploring Operation: 20-9=11, Resulting Numbers: [79, 4, 11] Generated Node #0,1: 86:[79, 4, 11] Operation: 20-9=11 Moving to Node #0,1 Current State: 86:[79, 4, 11], Operations: ['20-9=11'] Exploring Operation: 79+11=90, Resulting Numbers: [4, 90] Generated Node #0,1,1: 86:[4, 90] Operation: 79+11=90 Moving to Node #0,1,1 Current State: 86:[4, 90], Operations: ['20-9=11', '79+11=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 60, 94, 30, 69 ]
12
[ "94-30=64", "69-64=5", "60/5=12" ]
Current State: 12:[60, 94, 30, 69], Operations: [] Exploring Operation: 94-30=64, Resulting Numbers: [60, 69, 64] Generated Node #2: [60, 69, 64] from Operation: 94-30=64 Current State: 12:[60, 69, 64], Operations: ['94-30=64'] Exploring Operation: 69-64=5, Resulting Numbers: [60, 5] Generated Node #3: [60, 5] from Operation: 69-64=5 Current State: 12:[60, 5], Operations: ['94-30=64', '69-64=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[60, 94, 30, 69], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [94, 30, 9] Generated Node #0,0: 12:[94, 30, 9] Operation: 69-60=9 Exploring Operation: 60/30=2, Resulting Numbers: [94, 69, 2] Generated Node #0,1: 12:[94, 69, 2] Operation: 60/30=2 Exploring Operation: 94-69=25, Resulting Numbers: [60, 30, 25] Generated Node #0,2: 12:[60, 30, 25] Operation: 94-69=25 Exploring Operation: 94-60=34, Resulting Numbers: [30, 69, 34] Generated Node #0,3: 12:[30, 69, 34] Operation: 94-60=34 Exploring Operation: 60-30=30, Resulting Numbers: [94, 69, 30] Generated Node #0,4: 12:[94, 69, 30] Operation: 60-30=30 Moving to Node #0,2 Current State: 12:[60, 30, 25], Operations: ['94-69=25'] Exploring Operation: 60/30=2, Resulting Numbers: [25, 2] Generated Node #0,2,0: 12:[25, 2] Operation: 60/30=2 Exploring Operation: 30-25=5, Resulting Numbers: [60, 5] Generated Node #0,2,1: 12:[60, 5] Operation: 30-25=5 Exploring Operation: 60-25=35, Resulting Numbers: [30, 35] Generated Node #0,2,2: 12:[30, 35] Operation: 60-25=35 Exploring Operation: 60-30=30, Resulting Numbers: [25, 30] Generated Node #0,2,3: 12:[25, 30] Operation: 60-30=30 Exploring Operation: 60+30=90, Resulting Numbers: [25, 90] Generated Node #0,2,4: 12:[25, 90] Operation: 60+30=90 Moving to Node #0,3 Current State: 12:[30, 69, 34], Operations: ['94-60=34'] Exploring Operation: 30+69=99, Resulting Numbers: [34, 99] Generated Node #0,3,0: 12:[34, 99] Operation: 30+69=99 Exploring Operation: 34-30=4, Resulting Numbers: [69, 4] Generated Node #0,3,1: 12:[69, 4] Operation: 34-30=4 Exploring Operation: 69-34=35, Resulting Numbers: [30, 35] Generated Node #0,3,2: 12:[30, 35] Operation: 69-34=35 Exploring Operation: 69-30=39, Resulting Numbers: [34, 39] Generated Node #0,3,3: 12:[34, 39] Operation: 69-30=39 Exploring Operation: 30+34=64, Resulting Numbers: [69, 64] Generated Node #0,3,4: 12:[69, 64] Operation: 30+34=64 Moving to Node #0,0 Current State: 12:[94, 30, 9], Operations: ['69-60=9'] Exploring Operation: 94-9=85, Resulting Numbers: [30, 85] Generated Node #0,0,0: 12:[30, 85] Operation: 94-9=85 Exploring Operation: 30-9=21, Resulting Numbers: [94, 21] Generated Node #0,0,1: 12:[94, 21] Operation: 30-9=21 Exploring Operation: 94+9=103, Resulting Numbers: [30, 103] Generated Node #0,0,2: 12:[30, 103] Operation: 94+9=103 Exploring Operation: 94-30=64, Resulting Numbers: [9, 64] Generated Node #0,0,3: 12:[9, 64] Operation: 94-30=64 Exploring Operation: 30+9=39, Resulting Numbers: [94, 39] Generated Node #0,0,4: 12:[94, 39] Operation: 30+9=39 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[9, 64], Operations: ['69-60=9', '94-30=64'] Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,12 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[30, 85], Operations: ['69-60=9', '94-9=85'] Exploring Operation: 30+85=115, Resulting Numbers: [115] 115,12 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 30*85=2550, Resulting Numbers: [2550] 2550,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[94, 21], Operations: ['69-60=9', '30-9=21'] Exploring Operation: 94-21=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 94*21=1974, Resulting Numbers: [1974] 1974,12 unequal: No Solution Exploring Operation: 94+21=115, Resulting Numbers: [115] 115,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[30, 103], Operations: ['69-60=9', '94+9=103'] Exploring Operation: 103-30=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 30+103=133, Resulting Numbers: [133] 133,12 unequal: No Solution Exploring Operation: 30*103=3090, Resulting Numbers: [3090] 3090,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 12:[94, 39], Operations: ['69-60=9', '30+9=39'] Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,12 unequal: No Solution Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,12 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 12:[94, 69, 2], Operations: ['60/30=2'] Exploring Operation: 94-69=25, Resulting Numbers: [2, 25] Generated Node #0,1,0: 12:[2, 25] Operation: 94-69=25 Exploring Operation: 94/2=47, Resulting Numbers: [69, 47] Generated Node #0,1,1: 12:[69, 47] Operation: 94/2=47 Exploring Operation: 94+2=96, Resulting Numbers: [69, 96] Generated Node #0,1,2: 12:[69, 96] Operation: 94+2=96 Exploring Operation: 94-2=92, Resulting Numbers: [69, 92] Generated Node #0,1,3: 12:[69, 92] Operation: 94-2=92 Exploring Operation: 69-2=67, Resulting Numbers: [94, 67] Generated Node #0,1,4: 12:[94, 67] Operation: 69-2=67 Moving to Node #0,4 Current State: 12:[94, 69, 30], Operations: ['60-30=30'] Exploring Operation: 94+69=163, Resulting Numbers: [30, 163] Generated Node #0,4,0: 12:[30, 163] Operation: 94+69=163 Exploring Operation: 94+30=124, Resulting Numbers: [69, 124] Generated Node #0,4,1: 12:[69, 124] Operation: 94+30=124 Exploring Operation: 94-69=25, Resulting Numbers: [30, 25] Generated Node #0,4,2: 12:[30, 25] Operation: 94-69=25 Exploring Operation: 69-30=39, Resulting Numbers: [94, 39] Generated Node #0,4,3: 12:[94, 39] Operation: 69-30=39 Exploring Operation: 94-30=64, Resulting Numbers: [69, 64] Generated Node #0,4,4: 12:[69, 64] Operation: 94-30=64 Moving to Node #0,2,0 Current State: 12:[25, 2], Operations: ['94-69=25', '60/30=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[2, 25], Operations: ['60/30=2', '94-69=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[25, 30], Operations: ['94-69=25', '60-30=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,12 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[30, 25], Operations: ['60-30=30', '94-69=25'] Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,12 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[30, 35], Operations: ['94-69=25', '60-25=35'] Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,12 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[30, 35], Operations: ['94-60=34', '69-34=35'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,12 unequal: No Solution Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[34, 39], Operations: ['94-60=34', '69-30=39'] Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,12 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[60, 5], Operations: ['94-69=25', '30-25=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[60, 94, 30, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [60, 30, 25] Generated Node #0,2: 12:[60, 30, 25] Operation: 94-69=25 Moving to Node #0,2 Current State: 12:[60, 30, 25], Operations: ['94-69=25'] Exploring Operation: 30-25=5, Resulting Numbers: [60, 5] Generated Node #0,2,1: 12:[60, 5] Operation: 30-25=5 Moving to Node #0,2,1 Current State: 12:[60, 5], Operations: ['94-69=25', '30-25=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.938368
hs_5
mult_heuristic
[ 42, 1, 71, 2 ]
58
[ "42*1=42", "71-42=29", "2*29=58" ]
Current State: 58:[42, 1, 71, 2], Operations: [] Exploring Operation: 42*1=42, Resulting Numbers: [71, 2, 42] Generated Node #2: [71, 2, 42] from Operation: 42*1=42 Current State: 58:[71, 2, 42], Operations: ['42*1=42'] Exploring Operation: 71-42=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 71-42=29 Current State: 58:[2, 29], Operations: ['42*1=42', '71-42=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[42, 1, 71, 2], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [1, 71, 21] Generated Node #0,0: 58:[1, 71, 21] Operation: 42/2=21 Exploring Operation: 71-42=29, Resulting Numbers: [1, 2, 29] Generated Node #0,1: 58:[1, 2, 29] Operation: 71-42=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[1, 2, 29], Operations: ['71-42=29'] Exploring Operation: 2/1=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 58:[29, 2] Operation: 2/1=2 Exploring Operation: 1*2=2, Resulting Numbers: [29, 2] Generated Node #0,1,1: 58:[29, 2] Operation: 1*2=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[29, 2], Operations: ['71-42=29', '2/1=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[42, 1, 71, 2], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [1, 2, 29] Generated Node #0,1: 58:[1, 2, 29] Operation: 71-42=29 Moving to Node #0,1 Current State: 58:[1, 2, 29], Operations: ['71-42=29'] Exploring Operation: 2/1=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 58:[29, 2] Operation: 2/1=2 Moving to Node #0,1,0 Current State: 58:[29, 2], Operations: ['71-42=29', '2/1=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 77, 1, 66, 37 ]
25
[ "77+1=78", "66+37=103", "103-78=25" ]
Current State: 25:[77, 1, 66, 37], Operations: [] Exploring Operation: 77+1=78, Resulting Numbers: [66, 37, 78] Generated Node #2: [66, 37, 78] from Operation: 77+1=78 Current State: 25:[66, 37, 78], Operations: ['77+1=78'] Exploring Operation: 66+37=103, Resulting Numbers: [78, 103] Generated Node #3: [78, 103] from Operation: 66+37=103 Current State: 25:[78, 103], Operations: ['77+1=78', '66+37=103'] Exploring Operation: 103-78=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[77, 1, 66, 37], Operations: [] Exploring Operation: 77-37=40, Resulting Numbers: [1, 66, 40] Generated Node #0,0: 25:[1, 66, 40] Operation: 77-37=40 Exploring Operation: 66-37=29, Resulting Numbers: [77, 1, 29] Generated Node #0,1: 25:[77, 1, 29] Operation: 66-37=29 Exploring Operation: 77-66=11, Resulting Numbers: [1, 37, 11] Generated Node #0,2: 25:[1, 37, 11] Operation: 77-66=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[1, 37, 11], Operations: ['77-66=11'] Exploring Operation: 11-1=10, Resulting Numbers: [37, 10] Generated Node #0,2,0: 25:[37, 10] Operation: 11-1=10 Exploring Operation: 37-11=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 25:[1, 26] Operation: 37-11=26 Exploring Operation: 37-1=36, Resulting Numbers: [11, 36] Generated Node #0,2,2: 25:[11, 36] Operation: 37-1=36 Moving to Node #0,2,1 Current State: 25:[1, 26], Operations: ['77-66=11', '37-11=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[77, 1, 66, 37], Operations: [] Exploring Operation: 77-66=11, Resulting Numbers: [1, 37, 11] Generated Node #0,2: 25:[1, 37, 11] Operation: 77-66=11 Moving to Node #0,2 Current State: 25:[1, 37, 11], Operations: ['77-66=11'] Exploring Operation: 37-11=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 25:[1, 26] Operation: 37-11=26 Moving to Node #0,2,1 Current State: 25:[1, 26], Operations: ['77-66=11', '37-11=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 28, 3, 53, 16 ]
100
[ "28+3=31", "53+16=69", "31+69=100" ]
Current State: 100:[28, 3, 53, 16], Operations: [] Exploring Operation: 28+3=31, Resulting Numbers: [53, 16, 31] Generated Node #2: [53, 16, 31] from Operation: 28+3=31 Current State: 100:[53, 16, 31], Operations: ['28+3=31'] Exploring Operation: 53+16=69, Resulting Numbers: [31, 69] Generated Node #3: [31, 69] from Operation: 53+16=69 Current State: 100:[31, 69], Operations: ['28+3=31', '53+16=69'] Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[28, 3, 53, 16], Operations: [] Exploring Operation: 28-3=25, Resulting Numbers: [53, 16, 25] Generated Node #0,0: 100:[53, 16, 25] Operation: 28-3=25 Exploring Operation: 28-16=12, Resulting Numbers: [3, 53, 12] Generated Node #0,1: 100:[3, 53, 12] Operation: 28-16=12 Exploring Operation: 53-28=25, Resulting Numbers: [3, 16, 25] Generated Node #0,2: 100:[3, 16, 25] Operation: 53-28=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[3, 16, 25], Operations: ['53-28=25'] Exploring Operation: 3+16=19, Resulting Numbers: [25, 19] Generated Node #0,2,0: 100:[25, 19] Operation: 3+16=19 Exploring Operation: 25-16=9, Resulting Numbers: [3, 9] Generated Node #0,2,1: 100:[3, 9] Operation: 25-16=9 Exploring Operation: 3*16=48, Resulting Numbers: [25, 48] Generated Node #0,2,2: 100:[25, 48] Operation: 3*16=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[25, 19], Operations: ['53-28=25', '3+16=19'] Exploring Operation: 25*19=475, Resulting Numbers: [475] 475,100 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[3, 9], Operations: ['53-28=25', '25-16=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[25, 48], Operations: ['53-28=25', '3*16=48'] Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,100 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 25*48=1200, Resulting Numbers: [1200] 1200,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[3, 53, 12], Operations: ['28-16=12'] Exploring Operation: 12/3=4, Resulting Numbers: [53, 4] Generated Node #0,1,0: 100:[53, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [53, 9] Generated Node #0,1,1: 100:[53, 9] Operation: 12-3=9 Exploring Operation: 53-3=50, Resulting Numbers: [12, 50] Generated Node #0,1,2: 100:[12, 50] Operation: 53-3=50 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[12, 50], Operations: ['28-16=12', '53-3=50'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[53, 4], Operations: ['28-16=12', '12/3=4'] Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,100 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[53, 9], Operations: ['28-16=12', '12-3=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,100 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[53, 16, 25], Operations: ['28-3=25'] Exploring Operation: 53-16=37, Resulting Numbers: [25, 37] Generated Node #0,0,0: 100:[25, 37] Operation: 53-16=37 Exploring Operation: 53-25=28, Resulting Numbers: [16, 28] Generated Node #0,0,1: 100:[16, 28] Operation: 53-25=28 Exploring Operation: 25-16=9, Resulting Numbers: [53, 9] Generated Node #0,0,2: 100:[53, 9] Operation: 25-16=9 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[53, 9], Operations: ['28-3=25', '25-16=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,100 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[16, 28], Operations: ['28-3=25', '53-25=28'] Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,100 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[25, 37], Operations: ['28-3=25', '53-16=37'] Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,100 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 71, 96, 13, 7 ]
76
[ "71+96=167", "13*7=91", "167-91=76" ]
Current State: 76:[71, 96, 13, 7], Operations: [] Exploring Operation: 71+96=167, Resulting Numbers: [13, 7, 167] Generated Node #2: [13, 7, 167] from Operation: 71+96=167 Current State: 76:[13, 7, 167], Operations: ['71+96=167'] Exploring Operation: 13*7=91, Resulting Numbers: [167, 91] Generated Node #3: [167, 91] from Operation: 13*7=91 Current State: 76:[167, 91], Operations: ['71+96=167', '13*7=91'] Exploring Operation: 167-91=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[71, 96, 13, 7], Operations: [] Exploring Operation: 96-7=89, Resulting Numbers: [71, 13, 89] Generated Node #0,0: 76:[71, 13, 89] Operation: 96-7=89 Exploring Operation: 96-13=83, Resulting Numbers: [71, 7, 83] Generated Node #0,1: 76:[71, 7, 83] Operation: 96-13=83 Exploring Operation: 96-71=25, Resulting Numbers: [13, 7, 25] Generated Node #0,2: 76:[13, 7, 25] Operation: 96-71=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[71, 7, 83], Operations: ['96-13=83'] Exploring Operation: 83-7=76, Resulting Numbers: [71, 76] Generated Node #0,1,0: 76:[71, 76] Operation: 83-7=76 Exploring Operation: 83-71=12, Resulting Numbers: [7, 12] Generated Node #0,1,1: 76:[7, 12] Operation: 83-71=12 Exploring Operation: 71+7=78, Resulting Numbers: [83, 78] Generated Node #0,1,2: 76:[83, 78] Operation: 71+7=78 Moving to Node #0,1,0 Current State: 76:[71, 76], Operations: ['96-13=83', '83-7=76'] Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,76 unequal: No Solution Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,76 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[83, 78], Operations: ['96-13=83', '71+7=78'] Exploring Operation: 83*78=6474, Resulting Numbers: [6474] 6474,76 unequal: No Solution Exploring Operation: 83+78=161, Resulting Numbers: [161] 161,76 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[7, 12], Operations: ['96-13=83', '83-71=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[13, 7, 25], Operations: ['96-71=25'] Exploring Operation: 13+7=20, Resulting Numbers: [25, 20] Generated Node #0,2,0: 76:[25, 20] Operation: 13+7=20 Exploring Operation: 13+25=38, Resulting Numbers: [7, 38] Generated Node #0,2,1: 76:[7, 38] Operation: 13+25=38 Exploring Operation: 25-7=18, Resulting Numbers: [13, 18] Generated Node #0,2,2: 76:[13, 18] Operation: 25-7=18 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[7, 38], Operations: ['96-71=25', '13+25=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,76 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,76 unequal: No Solution No 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: 76:[25, 20], Operations: ['96-71=25', '13+7=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,76 unequal: No Solution No 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: 76:[13, 18], Operations: ['96-71=25', '25-7=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,76 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,76 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: 76:[71, 13, 89], Operations: ['96-7=89'] Exploring Operation: 89-13=76, Resulting Numbers: [71, 76] Generated Node #0,0,0: 76:[71, 76] Operation: 89-13=76 Exploring Operation: 89-71=18, Resulting Numbers: [13, 18] Generated Node #0,0,1: 76:[13, 18] Operation: 89-71=18 Exploring Operation: 71+13=84, Resulting Numbers: [89, 84] Generated Node #0,0,2: 76:[89, 84] Operation: 71+13=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[71, 76], Operations: ['96-7=89', '89-13=76'] Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,76 unequal: No Solution Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,76 unequal: No Solution No 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: 76:[13, 18], Operations: ['96-7=89', '89-71=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,76 unequal: No Solution No 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: 76:[89, 84], Operations: ['96-7=89', '71+13=84'] Exploring Operation: 89*84=7476, Resulting Numbers: [7476] 7476,76 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 89+84=173, Resulting Numbers: [173] 173,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 85, 98, 13, 62 ]
83
[ "62-13=49", "98/49=2", "85-2=83" ]
Current State: 83:[85, 98, 13, 62], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [85, 98, 49] Generated Node #2: [85, 98, 49] from Operation: 62-13=49 Current State: 83:[85, 98, 49], Operations: ['62-13=49'] Exploring Operation: 98/49=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 98/49=2 Current State: 83:[85, 2], Operations: ['62-13=49', '98/49=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[85, 98, 13, 62], Operations: [] Exploring Operation: 98-13=85, Resulting Numbers: [85, 62, 85] Generated Node #0,0: 83:[85, 62, 85] Operation: 98-13=85 Exploring Operation: 13+62=75, Resulting Numbers: [85, 98, 75] Generated Node #0,1: 83:[85, 98, 75] Operation: 13+62=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[85, 62, 85], Operations: ['98-13=85'] Exploring Operation: 85-62=23, Resulting Numbers: [85, 23] Generated Node #0,0,0: 83:[85, 23] Operation: 85-62=23 Exploring Operation: 85-62=23, Resulting Numbers: [85, 23] Generated Node #0,0,1: 83:[85, 23] Operation: 85-62=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[85, 23], Operations: ['98-13=85', '85-62=23'] Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,83 unequal: No Solution No 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: 83:[85, 23], Operations: ['98-13=85', '85-62=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,83 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: 83:[85, 98, 75], Operations: ['13+62=75'] Exploring Operation: 98-75=23, Resulting Numbers: [85, 23] Generated Node #0,1,0: 83:[85, 23] Operation: 98-75=23 Exploring Operation: 98-85=13, Resulting Numbers: [75, 13] Generated Node #0,1,1: 83:[75, 13] Operation: 98-85=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[85, 23], Operations: ['13+62=75', '98-75=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,83 unequal: No Solution No 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: 83:[75, 13], Operations: ['13+62=75', '98-85=13'] Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,83 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
[ 67, 23, 4, 85 ]
91
[ "67-23=44", "4*44=176", "176-85=91" ]
Current State: 91:[67, 23, 4, 85], Operations: [] Exploring Operation: 67-23=44, Resulting Numbers: [4, 85, 44] Generated Node #2: [4, 85, 44] from Operation: 67-23=44 Current State: 91:[4, 85, 44], Operations: ['67-23=44'] Exploring Operation: 4*44=176, Resulting Numbers: [85, 176] Generated Node #3: [85, 176] from Operation: 4*44=176 Current State: 91:[85, 176], Operations: ['67-23=44', '4*44=176'] Exploring Operation: 176-85=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[67, 23, 4, 85], Operations: [] Exploring Operation: 85-67=18, Resulting Numbers: [23, 4, 18] Generated Node #0,0: 91:[23, 4, 18] Operation: 85-67=18 Exploring Operation: 67+4=71, Resulting Numbers: [23, 85, 71] Generated Node #0,1: 91:[23, 85, 71] Operation: 67+4=71 Exploring Operation: 23*4=92, Resulting Numbers: [67, 85, 92] Generated Node #0,2: 91:[67, 85, 92] Operation: 23*4=92 Exploring Operation: 67+23=90, Resulting Numbers: [4, 85, 90] Generated Node #0,3: 91:[4, 85, 90] Operation: 67+23=90 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[4, 85, 90], Operations: ['67+23=90'] Exploring Operation: 90-85=5, Resulting Numbers: [4, 5] Generated Node #0,3,0: 91:[4, 5] Operation: 90-85=5 Exploring Operation: 4+90=94, Resulting Numbers: [85, 94] Generated Node #0,3,1: 91:[85, 94] Operation: 4+90=94 Exploring Operation: 4+85=89, Resulting Numbers: [90, 89] Generated Node #0,3,2: 91:[90, 89] Operation: 4+85=89 Exploring Operation: 85-4=81, Resulting Numbers: [90, 81] Generated Node #0,3,3: 91:[90, 81] Operation: 85-4=81 Moving to Node #0,3,2 Current State: 91:[90, 89], Operations: ['67+23=90', '4+85=89'] Exploring Operation: 90+89=179, Resulting Numbers: [179] 179,91 unequal: No Solution Exploring Operation: 90*89=8010, Resulting Numbers: [8010] 8010,91 unequal: No Solution Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[4, 5], Operations: ['67+23=90', '90-85=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[85, 94], Operations: ['67+23=90', '4+90=94'] Exploring Operation: 85+94=179, Resulting Numbers: [179] 179,91 unequal: No Solution Exploring Operation: 85*94=7990, Resulting Numbers: [7990] 7990,91 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[90, 81], Operations: ['67+23=90', '85-4=81'] Exploring Operation: 90+81=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 90*81=7290, Resulting Numbers: [7290] 7290,91 unequal: No Solution Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[23, 4, 18], Operations: ['85-67=18'] Exploring Operation: 23-18=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 91:[4, 5] Operation: 23-18=5 Exploring Operation: 23-4=19, Resulting Numbers: [18, 19] Generated Node #0,0,1: 91:[18, 19] Operation: 23-4=19 Exploring Operation: 18-4=14, Resulting Numbers: [23, 14] Generated Node #0,0,2: 91:[23, 14] Operation: 18-4=14 Exploring Operation: 23*4=92, Resulting Numbers: [18, 92] Generated Node #0,0,3: 91:[18, 92] Operation: 23*4=92 Moving to Node #0,0,0 Current State: 91:[4, 5], Operations: ['85-67=18', '23-18=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[18, 92], Operations: ['85-67=18', '23*4=92'] Exploring Operation: 18+92=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 18*92=1656, Resulting Numbers: [1656] 1656,91 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[23, 14], Operations: ['85-67=18', '18-4=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[18, 19], Operations: ['85-67=18', '23-4=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,91 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[67, 85, 92], Operations: ['23*4=92'] Exploring Operation: 92-67=25, Resulting Numbers: [85, 25] Generated Node #0,2,0: 91:[85, 25] Operation: 92-67=25 Exploring Operation: 92-85=7, Resulting Numbers: [67, 7] Generated Node #0,2,1: 91:[67, 7] Operation: 92-85=7 Exploring Operation: 67+85=152, Resulting Numbers: [92, 152] Generated Node #0,2,2: 91:[92, 152] Operation: 67+85=152 Exploring Operation: 85-67=18, Resulting Numbers: [92, 18] Generated Node #0,2,3: 91:[92, 18] Operation: 85-67=18 Moving to Node #0,2,3 Current State: 91:[92, 18], Operations: ['23*4=92', '85-67=18'] Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,91 unequal: No Solution Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[85, 25], Operations: ['23*4=92', '92-67=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[67, 7], Operations: ['23*4=92', '92-85=7'] Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,91 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,91 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[92, 152], Operations: ['23*4=92', '67+85=152'] Exploring Operation: 92+152=244, Resulting Numbers: [244] 244,91 unequal: No Solution Exploring Operation: 92*152=13984, Resulting Numbers: [13984] 13984,91 unequal: No Solution Exploring Operation: 152-92=60, Resulting Numbers: [60] 60,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[23, 85, 71], Operations: ['67+4=71'] Exploring Operation: 23+85=108, Resulting Numbers: [71, 108] Generated Node #0,1,0: 91:[71, 108] Operation: 23+85=108 Exploring Operation: 23+71=94, Resulting Numbers: [85, 94] Generated Node #0,1,1: 91:[85, 94] Operation: 23+71=94 Exploring Operation: 71-23=48, Resulting Numbers: [85, 48] Generated Node #0,1,2: 91:[85, 48] Operation: 71-23=48 Exploring Operation: 85-71=14, Resulting Numbers: [23, 14] Generated Node #0,1,3: 91:[23, 14] Operation: 85-71=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[85, 94], Operations: ['67+4=71', '23+71=94'] Exploring Operation: 85*94=7990, Resulting Numbers: [7990] 7990,91 unequal: No Solution Exploring Operation: 85+94=179, Resulting Numbers: [179] 179,91 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 91:[23, 14], Operations: ['67+4=71', '85-71=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,91 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[71, 108], Operations: ['67+4=71', '23+85=108'] Exploring Operation: 71*108=7668, Resulting Numbers: [7668] 7668,91 unequal: No Solution Exploring Operation: 108-71=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 71+108=179, Resulting Numbers: [179] 179,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[85, 48], Operations: ['67+4=71', '71-23=48'] Exploring Operation: 85*48=4080, Resulting Numbers: [4080] 4080,91 unequal: No Solution Exploring Operation: 85+48=133, Resulting Numbers: [133] 133,91 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 34, 2, 31, 85 ]
92
[ "31+85=116", "116/2=58", "34+58=92" ]
Current State: 92:[34, 2, 31, 85], Operations: [] Exploring Operation: 31+85=116, Resulting Numbers: [34, 2, 116] Generated Node #2: [34, 2, 116] from Operation: 31+85=116 Current State: 92:[34, 2, 116], Operations: ['31+85=116'] Exploring Operation: 116/2=58, Resulting Numbers: [34, 58] Generated Node #3: [34, 58] from Operation: 116/2=58 Current State: 92:[34, 58], Operations: ['31+85=116', '116/2=58'] Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[34, 2, 31, 85], Operations: [] Exploring Operation: 85-31=54, Resulting Numbers: [34, 2, 54] Generated Node #0,0: 92:[34, 2, 54] Operation: 85-31=54 Exploring Operation: 34-2=32, Resulting Numbers: [31, 85, 32] Generated Node #0,1: 92:[31, 85, 32] Operation: 34-2=32 Exploring Operation: 85-34=51, Resulting Numbers: [2, 31, 51] Generated Node #0,2: 92:[2, 31, 51] Operation: 85-34=51 Exploring Operation: 34-31=3, Resulting Numbers: [2, 85, 3] Generated Node #0,3: 92:[2, 85, 3] Operation: 34-31=3 Exploring Operation: 34/2=17, Resulting Numbers: [31, 85, 17] Generated Node #0,4: 92:[31, 85, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[2, 85, 3], Operations: ['34-31=3'] Exploring Operation: 2+3=5, Resulting Numbers: [85, 5] Generated Node #0,3,0: 92:[85, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [85, 6] Generated Node #0,3,1: 92:[85, 6] Operation: 2*3=6 Exploring Operation: 85+3=88, Resulting Numbers: [2, 88] Generated Node #0,3,2: 92:[2, 88] Operation: 85+3=88 Exploring Operation: 2+85=87, Resulting Numbers: [3, 87] Generated Node #0,3,3: 92:[3, 87] Operation: 2+85=87 Exploring Operation: 3-2=1, Resulting Numbers: [85, 1] Generated Node #0,3,4: 92:[85, 1] Operation: 3-2=1 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[2, 88], Operations: ['34-31=3', '85+3=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,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,3,3 Current State: 92:[3, 87], Operations: ['34-31=3', '2+85=87'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,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,3,0 Current State: 92:[85, 5], Operations: ['34-31=3', '2+3=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,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,3,4 Current State: 92:[85, 1], Operations: ['34-31=3', '3-2=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,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,3,1 Current State: 92:[85, 6], Operations: ['34-31=3', '2*3=6'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,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,2 Current State: 92:[2, 31, 51], Operations: ['85-34=51'] Exploring Operation: 51-31=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 92:[2, 20] Operation: 51-31=20 Exploring Operation: 51-2=49, Resulting Numbers: [31, 49] Generated Node #0,2,1: 92:[31, 49] Operation: 51-2=49 Exploring Operation: 2+31=33, Resulting Numbers: [51, 33] Generated Node #0,2,2: 92:[51, 33] Operation: 2+31=33 Exploring Operation: 31-2=29, Resulting Numbers: [51, 29] Generated Node #0,2,3: 92:[51, 29] Operation: 31-2=29 Exploring Operation: 31+51=82, Resulting Numbers: [2, 82] Generated Node #0,2,4: 92:[2, 82] Operation: 31+51=82 Moving to Node #0,2,0 Current State: 92:[2, 20], Operations: ['85-34=51', '51-31=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[2, 82], Operations: ['85-34=51', '31+51=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[31, 49], Operations: ['85-34=51', '51-2=49'] Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,92 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[51, 29], Operations: ['85-34=51', '31-2=29'] Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,92 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[51, 33], Operations: ['85-34=51', '2+31=33'] Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,92 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[34, 2, 54], Operations: ['85-31=54'] Exploring Operation: 34+54=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 92:[2, 88] Operation: 34+54=88 Exploring Operation: 34/2=17, Resulting Numbers: [54, 17] Generated Node #0,0,1: 92:[54, 17] Operation: 34/2=17 Exploring Operation: 54/2=27, Resulting Numbers: [34, 27] Generated Node #0,0,2: 92:[34, 27] Operation: 54/2=27 Exploring Operation: 34-2=32, Resulting Numbers: [54, 32] Generated Node #0,0,3: 92:[54, 32] Operation: 34-2=32 Exploring Operation: 54-34=20, Resulting Numbers: [2, 20] Generated Node #0,0,4: 92:[2, 20] Operation: 54-34=20 Moving to Node #0,0,4 Current State: 92:[2, 20], Operations: ['85-31=54', '54-34=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[2, 88], Operations: ['85-31=54', '34+54=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[54, 17], Operations: ['85-31=54', '34/2=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,92 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,92 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[34, 27], Operations: ['85-31=54', '54/2=27'] Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,92 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,92 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[54, 32], Operations: ['85-31=54', '34-2=32'] Exploring Operation: 54*32=1728, Resulting Numbers: [1728] 1728,92 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[31, 85, 17], Operations: ['34/2=17'] Exploring Operation: 31+17=48, Resulting Numbers: [85, 48] Generated Node #0,4,0: 92:[85, 48] Operation: 31+17=48 Exploring Operation: 85+17=102, Resulting Numbers: [31, 102] Generated Node #0,4,1: 92:[31, 102] Operation: 85+17=102 Exploring Operation: 31-17=14, Resulting Numbers: [85, 14] Generated Node #0,4,2: 92:[85, 14] Operation: 31-17=14 Exploring Operation: 85-31=54, Resulting Numbers: [17, 54] Generated Node #0,4,3: 92:[17, 54] Operation: 85-31=54 Exploring Operation: 85/17=5, Resulting Numbers: [31, 5] Generated Node #0,4,4: 92:[31, 5] Operation: 85/17=5 Moving to Node #0,4,0 Current State: 92:[85, 48], Operations: ['34/2=17', '31+17=48'] Exploring Operation: 85*48=4080, Resulting Numbers: [4080] 4080,92 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 85+48=133, Resulting Numbers: [133] 133,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[31, 5], Operations: ['34/2=17', '85/17=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,92 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[17, 54], Operations: ['34/2=17', '85-31=54'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,92 unequal: No Solution Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[85, 14], Operations: ['34/2=17', '31-17=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,92 unequal: No Solution Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[31, 102], Operations: ['34/2=17', '85+17=102'] Exploring Operation: 102-31=71, Resulting Numbers: [71] 71,92 unequal: No Solution Exploring Operation: 31+102=133, Resulting Numbers: [133] 133,92 unequal: No Solution Exploring Operation: 31*102=3162, Resulting Numbers: [3162] 3162,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[31, 85, 32], Operations: ['34-2=32'] Exploring Operation: 31+32=63, Resulting Numbers: [85, 63] Generated Node #0,1,0: 92:[85, 63] Operation: 31+32=63 Exploring Operation: 31+85=116, Resulting Numbers: [32, 116] Generated Node #0,1,1: 92:[32, 116] Operation: 31+85=116 Exploring Operation: 85-31=54, Resulting Numbers: [32, 54] Generated Node #0,1,2: 92:[32, 54] Operation: 85-31=54 Exploring Operation: 85-32=53, Resulting Numbers: [31, 53] Generated Node #0,1,3: 92:[31, 53] Operation: 85-32=53 Exploring Operation: 32-31=1, Resulting Numbers: [85, 1] Generated Node #0,1,4: 92:[85, 1] Operation: 32-31=1 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 92:[85, 1], Operations: ['34-2=32', '32-31=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[31, 53], Operations: ['34-2=32', '85-32=53'] Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,92 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[32, 54], Operations: ['34-2=32', '85-31=54'] Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 32*54=1728, Resulting Numbers: [1728] 1728,92 unequal: No Solution Exploring Operation: 32+54=86, Resulting Numbers: [86] 86,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[85, 63], Operations: ['34-2=32', '31+32=63'] Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,92 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[32, 116], Operations: ['34-2=32', '31+85=116'] Exploring Operation: 32*116=3712, Resulting Numbers: [3712] 3712,92 unequal: No Solution Exploring Operation: 32+116=148, Resulting Numbers: [148] 148,92 unequal: No Solution Exploring Operation: 116-32=84, Resulting Numbers: [84] 84,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 30, 30, 46, 49 ]
57
[ "30+30=60", "49-46=3", "60-3=57" ]
Current State: 57:[30, 30, 46, 49], Operations: [] Exploring Operation: 30+30=60, Resulting Numbers: [46, 49, 60] Generated Node #2: [46, 49, 60] from Operation: 30+30=60 Current State: 57:[46, 49, 60], Operations: ['30+30=60'] Exploring Operation: 49-46=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 49-46=3 Current State: 57:[60, 3], Operations: ['30+30=60', '49-46=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[30, 30, 46, 49], Operations: [] Exploring Operation: 30-30=0, Resulting Numbers: [46, 49, 0] Generated Node #0,0: 57:[46, 49, 0] Operation: 30-30=0 Exploring Operation: 30+30=60, Resulting Numbers: [46, 49, 60] Generated Node #0,1: 57:[46, 49, 60] Operation: 30+30=60 Exploring Operation: 49-30=19, Resulting Numbers: [30, 46, 19] Generated Node #0,2: 57:[30, 46, 19] Operation: 49-30=19 Exploring Operation: 46-30=16, Resulting Numbers: [30, 49, 16] Generated Node #0,3: 57:[30, 49, 16] Operation: 46-30=16 Exploring Operation: 30/30=1, Resulting Numbers: [46, 49, 1] Generated Node #0,4: 57:[46, 49, 1] Operation: 30/30=1 Moving to Node #0,4 Current State: 57:[46, 49, 1], Operations: ['30/30=1'] Exploring Operation: 46*1=46, Resulting Numbers: [49, 46] Generated Node #0,4,0: 57:[49, 46] Operation: 46*1=46 Exploring Operation: 49+1=50, Resulting Numbers: [46, 50] Generated Node #0,4,1: 57:[46, 50] Operation: 49+1=50 Exploring Operation: 46+1=47, Resulting Numbers: [49, 47] Generated Node #0,4,2: 57:[49, 47] Operation: 46+1=47 Exploring Operation: 49-46=3, Resulting Numbers: [1, 3] Generated Node #0,4,3: 57:[1, 3] Operation: 49-46=3 Exploring Operation: 46/1=46, Resulting Numbers: [49, 46] Generated Node #0,4,4: 57:[49, 46] Operation: 46/1=46 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 57:[1, 3], Operations: ['30/30=1', '49-46=3'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 3-1=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,4,1 Current State: 57:[46, 50], Operations: ['30/30=1', '49+1=50'] Exploring Operation: 46+50=96, Resulting Numbers: [96] 96,57 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 46*50=2300, Resulting Numbers: [2300] 2300,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,4,2 Current State: 57:[49, 47], Operations: ['30/30=1', '46+1=47'] Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,57 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,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,4,0 Current State: 57:[49, 46], Operations: ['30/30=1', '46*1=46'] Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,57 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 57:[49, 46], Operations: ['30/30=1', '46/1=46'] Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,57 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,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:[46, 49, 60], Operations: ['30+30=60'] Exploring Operation: 46+49=95, Resulting Numbers: [60, 95] Generated Node #0,1,0: 57:[60, 95] Operation: 46+49=95 Exploring Operation: 49-46=3, Resulting Numbers: [60, 3] Generated Node #0,1,1: 57:[60, 3] Operation: 49-46=3 Exploring Operation: 60-49=11, Resulting Numbers: [46, 11] Generated Node #0,1,2: 57:[46, 11] Operation: 60-49=11 Exploring Operation: 46+60=106, Resulting Numbers: [49, 106] Generated Node #0,1,3: 57:[49, 106] Operation: 46+60=106 Exploring Operation: 60-46=14, Resulting Numbers: [49, 14] Generated Node #0,1,4: 57:[49, 14] Operation: 60-46=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[60, 3], Operations: ['30+30=60', '49-46=3'] Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,57 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[30, 30, 46, 49], Operations: [] Exploring Operation: 30+30=60, Resulting Numbers: [46, 49, 60] Generated Node #0,1: 57:[46, 49, 60] Operation: 30+30=60 Moving to Node #0,1 Current State: 57:[46, 49, 60], Operations: ['30+30=60'] Exploring Operation: 49-46=3, Resulting Numbers: [60, 3] Generated Node #0,1,1: 57:[60, 3] Operation: 49-46=3 Moving to Node #0,1,1 Current State: 57:[60, 3], Operations: ['30+30=60', '49-46=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 52, 16, 22, 14 ]
54
[ "22-14=8", "16/8=2", "52+2=54" ]
Current State: 54:[52, 16, 22, 14], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [52, 16, 8] Generated Node #2: [52, 16, 8] from Operation: 22-14=8 Current State: 54:[52, 16, 8], Operations: ['22-14=8'] Exploring Operation: 16/8=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 16/8=2 Current State: 54:[52, 2], Operations: ['22-14=8', '16/8=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[52, 16, 22, 14], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [16, 14, 30] Generated Node #0,0: 54:[16, 14, 30] Operation: 52-22=30 Exploring Operation: 22-14=8, Resulting Numbers: [52, 16, 8] Generated Node #0,1: 54:[52, 16, 8] Operation: 22-14=8 Exploring Operation: 22-16=6, Resulting Numbers: [52, 14, 6] Generated Node #0,2: 54:[52, 14, 6] Operation: 22-16=6 Exploring Operation: 16-14=2, Resulting Numbers: [52, 22, 2] Generated Node #0,3: 54:[52, 22, 2] Operation: 16-14=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[52, 16, 8], Operations: ['22-14=8'] Exploring Operation: 16-8=8, Resulting Numbers: [52, 8] Generated Node #0,1,0: 54:[52, 8] Operation: 16-8=8 Exploring Operation: 52+8=60, Resulting Numbers: [16, 60] Generated Node #0,1,1: 54:[16, 60] Operation: 52+8=60 Exploring Operation: 16+8=24, Resulting Numbers: [52, 24] Generated Node #0,1,2: 54:[52, 24] Operation: 16+8=24 Exploring Operation: 16/8=2, Resulting Numbers: [52, 2] Generated Node #0,1,3: 54:[52, 2] Operation: 16/8=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 54:[52, 2], Operations: ['22-14=8', '16/8=2'] Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,54 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[52, 16, 22, 14], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [52, 16, 8] Generated Node #0,1: 54:[52, 16, 8] Operation: 22-14=8 Moving to Node #0,1 Current State: 54:[52, 16, 8], Operations: ['22-14=8'] Exploring Operation: 16/8=2, Resulting Numbers: [52, 2] Generated Node #0,1,3: 54:[52, 2] Operation: 16/8=2 Moving to Node #0,1,3 Current State: 54:[52, 2], Operations: ['22-14=8', '16/8=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 70, 15, 39, 7 ]
14
[ "70/7=10", "39-15=24", "24-10=14" ]
Current State: 14:[70, 15, 39, 7], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [15, 39, 10] Generated Node #2: [15, 39, 10] from Operation: 70/7=10 Current State: 14:[15, 39, 10], Operations: ['70/7=10'] Exploring Operation: 39-15=24, Resulting Numbers: [10, 24] Generated Node #3: [10, 24] from Operation: 39-15=24 Current State: 14:[10, 24], Operations: ['70/7=10', '39-15=24'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[70, 15, 39, 7], Operations: [] Exploring Operation: 70-15=55, Resulting Numbers: [39, 7, 55] Generated Node #0,0: 14:[39, 7, 55] Operation: 70-15=55 Exploring Operation: 70-7=63, Resulting Numbers: [15, 39, 63] Generated Node #0,1: 14:[15, 39, 63] Operation: 70-7=63 Exploring Operation: 70-39=31, Resulting Numbers: [15, 7, 31] Generated Node #0,2: 14:[15, 7, 31] Operation: 70-39=31 Exploring Operation: 70/7=10, Resulting Numbers: [15, 39, 10] Generated Node #0,3: 14:[15, 39, 10] Operation: 70/7=10 Exploring Operation: 39-15=24, Resulting Numbers: [70, 7, 24] Generated Node #0,4: 14:[70, 7, 24] Operation: 39-15=24 Moving to Node #0,2 Current State: 14:[15, 7, 31], Operations: ['70-39=31'] Exploring Operation: 15+7=22, Resulting Numbers: [31, 22] Generated Node #0,2,0: 14:[31, 22] Operation: 15+7=22 Exploring Operation: 7+31=38, Resulting Numbers: [15, 38] Generated Node #0,2,1: 14:[15, 38] Operation: 7+31=38 Exploring Operation: 31-15=16, Resulting Numbers: [7, 16] Generated Node #0,2,2: 14:[7, 16] Operation: 31-15=16 Exploring Operation: 15-7=8, Resulting Numbers: [31, 8] Generated Node #0,2,3: 14:[31, 8] Operation: 15-7=8 Exploring Operation: 31-7=24, Resulting Numbers: [15, 24] Generated Node #0,2,4: 14:[15, 24] Operation: 31-7=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[7, 16], Operations: ['70-39=31', '31-15=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 14:[15, 24], Operations: ['70-39=31', '31-7=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,14 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[31, 8], Operations: ['70-39=31', '15-7=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,14 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[31, 22], Operations: ['70-39=31', '15+7=22'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[15, 38], Operations: ['70-39=31', '7+31=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,14 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: 14:[15, 39, 10], Operations: ['70/7=10'] Exploring Operation: 39-10=29, Resulting Numbers: [15, 29] Generated Node #0,3,0: 14:[15, 29] Operation: 39-10=29 Exploring Operation: 39+10=49, Resulting Numbers: [15, 49] Generated Node #0,3,1: 14:[15, 49] Operation: 39+10=49 Exploring Operation: 15+10=25, Resulting Numbers: [39, 25] Generated Node #0,3,2: 14:[39, 25] Operation: 15+10=25 Exploring Operation: 39-15=24, Resulting Numbers: [10, 24] Generated Node #0,3,3: 14:[10, 24] Operation: 39-15=24 Exploring Operation: 15-10=5, Resulting Numbers: [39, 5] Generated Node #0,3,4: 14:[39, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[10, 24], Operations: ['70/7=10', '39-15=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,14 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[70, 15, 39, 7], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [15, 39, 10] Generated Node #0,3: 14:[15, 39, 10] Operation: 70/7=10 Moving to Node #0,3 Current State: 14:[15, 39, 10], Operations: ['70/7=10'] Exploring Operation: 39-15=24, Resulting Numbers: [10, 24] Generated Node #0,3,3: 14:[10, 24] Operation: 39-15=24 Moving to Node #0,3,3 Current State: 14:[10, 24], Operations: ['70/7=10', '39-15=24'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 86, 63, 92, 40 ]
94
[ "86+40=126", "126/63=2", "92+2=94" ]
Current State: 94:[86, 63, 92, 40], Operations: [] Exploring Operation: 86+40=126, Resulting Numbers: [63, 92, 126] Generated Node #2: [63, 92, 126] from Operation: 86+40=126 Current State: 94:[63, 92, 126], Operations: ['86+40=126'] Exploring Operation: 126/63=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 126/63=2 Current State: 94:[92, 2], Operations: ['86+40=126', '126/63=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[86, 63, 92, 40], Operations: [] Exploring Operation: 86-40=46, Resulting Numbers: [63, 92, 46] Generated Node #0,0: 94:[63, 92, 46] Operation: 86-40=46 Exploring Operation: 63+40=103, Resulting Numbers: [86, 92, 103] Generated Node #0,1: 94:[86, 92, 103] Operation: 63+40=103 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[63, 92, 46], Operations: ['86-40=46'] Exploring Operation: 92/46=2, Resulting Numbers: [63, 2] Generated Node #0,0,0: 94:[63, 2] Operation: 92/46=2 Exploring Operation: 63+46=109, Resulting Numbers: [92, 109] Generated Node #0,0,1: 94:[92, 109] Operation: 63+46=109 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[63, 2], Operations: ['86-40=46', '92/46=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,94 unequal: No Solution No 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: 94:[92, 109], Operations: ['86-40=46', '63+46=109'] Exploring Operation: 109-92=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 92+109=201, Resulting Numbers: [201] 201,94 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: 94:[86, 92, 103], Operations: ['63+40=103'] Exploring Operation: 92-86=6, Resulting Numbers: [103, 6] Generated Node #0,1,0: 94:[103, 6] Operation: 92-86=6 Exploring Operation: 103-86=17, Resulting Numbers: [92, 17] Generated Node #0,1,1: 94:[92, 17] Operation: 103-86=17 Moving to Node #0,1,0 Current State: 94:[103, 6], Operations: ['63+40=103', '92-86=6'] Exploring Operation: 103-6=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 103+6=109, Resulting Numbers: [109] 109,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[92, 17], Operations: ['63+40=103', '103-86=17'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 92+17=109, Resulting Numbers: [109] 109,94 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
[ 91, 94, 12, 70 ]
89
[ "94-70=24", "24/12=2", "91-2=89" ]
Current State: 89:[91, 94, 12, 70], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [91, 12, 24] Generated Node #2: [91, 12, 24] from Operation: 94-70=24 Current State: 89:[91, 12, 24], Operations: ['94-70=24'] Exploring Operation: 24/12=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 24/12=2 Current State: 89:[91, 2], Operations: ['94-70=24', '24/12=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[91, 94, 12, 70], Operations: [] Exploring Operation: 12+70=82, Resulting Numbers: [91, 94, 82] Generated Node #0,0: 89:[91, 94, 82] Operation: 12+70=82 Exploring Operation: 94-12=82, Resulting Numbers: [91, 70, 82] Generated Node #0,1: 89:[91, 70, 82] Operation: 94-12=82 Exploring Operation: 91-12=79, Resulting Numbers: [94, 70, 79] Generated Node #0,2: 89:[94, 70, 79] Operation: 91-12=79 Exploring Operation: 91+12=103, Resulting Numbers: [94, 70, 103] Generated Node #0,3: 89:[94, 70, 103] Operation: 91+12=103 Moving to Node #0,0 Current State: 89:[91, 94, 82], Operations: ['12+70=82'] Exploring Operation: 91-82=9, Resulting Numbers: [94, 9] Generated Node #0,0,0: 89:[94, 9] Operation: 91-82=9 Exploring Operation: 91+82=173, Resulting Numbers: [94, 173] Generated Node #0,0,1: 89:[94, 173] Operation: 91+82=173 Exploring Operation: 94-82=12, Resulting Numbers: [91, 12] Generated Node #0,0,2: 89:[91, 12] Operation: 94-82=12 Exploring Operation: 94+82=176, Resulting Numbers: [91, 176] Generated Node #0,0,3: 89:[91, 176] Operation: 94+82=176 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[91, 12], Operations: ['12+70=82', '94-82=12'] Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,89 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,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,0 Current State: 89:[94, 9], Operations: ['12+70=82', '91-82=9'] Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,89 unequal: No Solution Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,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,1 Current State: 89:[94, 173], Operations: ['12+70=82', '91+82=173'] Exploring Operation: 94*173=16262, Resulting Numbers: [16262] 16262,89 unequal: No Solution Exploring Operation: 173-94=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 94+173=267, Resulting Numbers: [267] 267,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,3 Current State: 89:[91, 176], Operations: ['12+70=82', '94+82=176'] Exploring Operation: 176-91=85, Resulting Numbers: [85] 85,89 unequal: No Solution Exploring Operation: 91*176=16016, Resulting Numbers: [16016] 16016,89 unequal: No Solution Exploring Operation: 91+176=267, Resulting Numbers: [267] 267,89 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: 89:[91, 70, 82], Operations: ['94-12=82'] Exploring Operation: 91-70=21, Resulting Numbers: [82, 21] Generated Node #0,1,0: 89:[82, 21] Operation: 91-70=21 Exploring Operation: 91+70=161, Resulting Numbers: [82, 161] Generated Node #0,1,1: 89:[82, 161] Operation: 91+70=161 Exploring Operation: 70+82=152, Resulting Numbers: [91, 152] Generated Node #0,1,2: 89:[91, 152] Operation: 70+82=152 Exploring Operation: 82-70=12, Resulting Numbers: [91, 12] Generated Node #0,1,3: 89:[91, 12] Operation: 82-70=12 Moving to Node #0,2 Current State: 89:[94, 70, 79], Operations: ['91-12=79'] Exploring Operation: 79-70=9, Resulting Numbers: [94, 9] Generated Node #0,2,0: 89:[94, 9] Operation: 79-70=9 Exploring Operation: 94-70=24, Resulting Numbers: [79, 24] Generated Node #0,2,1: 89:[79, 24] Operation: 94-70=24 Exploring Operation: 94+70=164, Resulting Numbers: [79, 164] Generated Node #0,2,2: 89:[79, 164] Operation: 94+70=164 Exploring Operation: 70+79=149, Resulting Numbers: [94, 149] Generated Node #0,2,3: 89:[94, 149] Operation: 70+79=149 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[94, 149], Operations: ['91-12=79', '70+79=149'] Exploring Operation: 94*149=14006, Resulting Numbers: [14006] 14006,89 unequal: No Solution Exploring Operation: 94+149=243, Resulting Numbers: [243] 243,89 unequal: No Solution Exploring Operation: 149-94=55, Resulting Numbers: [55] 55,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:[79, 24], Operations: ['91-12=79', '94-70=24'] Exploring Operation: 79*24=1896, Resulting Numbers: [1896] 1896,89 unequal: No Solution Exploring Operation: 79+24=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,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,0 Current State: 89:[94, 9], Operations: ['91-12=79', '79-70=9'] Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,89 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,89 unequal: No Solution Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,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:[79, 164], Operations: ['91-12=79', '94+70=164'] Exploring Operation: 79*164=12956, Resulting Numbers: [12956] 12956,89 unequal: No Solution Exploring Operation: 79+164=243, Resulting Numbers: [243] 243,89 unequal: No Solution Exploring Operation: 164-79=85, Resulting Numbers: [85] 85,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:[94, 70, 103], Operations: ['91+12=103'] Exploring Operation: 94-70=24, Resulting Numbers: [103, 24] Generated Node #0,3,0: 89:[103, 24] Operation: 94-70=24 Exploring Operation: 94+70=164, Resulting Numbers: [103, 164] Generated Node #0,3,1: 89:[103, 164] Operation: 94+70=164 Exploring Operation: 70+103=173, Resulting Numbers: [94, 173] Generated Node #0,3,2: 89:[94, 173] Operation: 70+103=173 Exploring Operation: 103-70=33, Resulting Numbers: [94, 33] Generated Node #0,3,3: 89:[94, 33] Operation: 103-70=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[94, 33], Operations: ['91+12=103', '103-70=33'] Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 94*33=3102, Resulting Numbers: [3102] 3102,89 unequal: No Solution Exploring Operation: 94+33=127, Resulting Numbers: [127] 127,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:[103, 24], Operations: ['91+12=103', '94-70=24'] Exploring Operation: 103-24=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 103+24=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 103*24=2472, Resulting Numbers: [2472] 2472,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:[103, 164], Operations: ['91+12=103', '94+70=164'] Exploring Operation: 103*164=16892, Resulting Numbers: [16892] 16892,89 unequal: No Solution Exploring Operation: 164-103=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 103+164=267, Resulting Numbers: [267] 267,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:[94, 173], Operations: ['91+12=103', '70+103=173'] Exploring Operation: 94+173=267, Resulting Numbers: [267] 267,89 unequal: No Solution Exploring Operation: 94*173=16262, Resulting Numbers: [16262] 16262,89 unequal: No Solution Exploring Operation: 173-94=79, Resulting Numbers: [79] 79,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 89:[91, 152], Operations: ['94-12=82', '70+82=152'] Exploring Operation: 91*152=13832, Resulting Numbers: [13832] 13832,89 unequal: No Solution Exploring Operation: 91+152=243, Resulting Numbers: [243] 243,89 unequal: No Solution Exploring Operation: 152-91=61, Resulting Numbers: [61] 61,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[82, 21], Operations: ['94-12=82', '91-70=21'] Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[91, 12], Operations: ['94-12=82', '82-70=12'] Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,89 unequal: No Solution Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[82, 161], Operations: ['94-12=82', '91+70=161'] Exploring Operation: 161-82=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 82*161=13202, Resulting Numbers: [13202] 13202,89 unequal: No Solution Exploring Operation: 82+161=243, Resulting Numbers: [243] 243,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 24, 33, 50, 27 ]
68
[ "33-24=9", "50+27=77", "77-9=68" ]
Current State: 68:[24, 33, 50, 27], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [50, 27, 9] Generated Node #2: [50, 27, 9] from Operation: 33-24=9 Current State: 68:[50, 27, 9], Operations: ['33-24=9'] Exploring Operation: 50+27=77, Resulting Numbers: [9, 77] Generated Node #3: [9, 77] from Operation: 50+27=77 Current State: 68:[9, 77], Operations: ['33-24=9', '50+27=77'] Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[24, 33, 50, 27], Operations: [] Exploring Operation: 24+50=74, Resulting Numbers: [33, 27, 74] Generated Node #0,0: 68:[33, 27, 74] Operation: 24+50=74 Exploring Operation: 50-33=17, Resulting Numbers: [24, 27, 17] Generated Node #0,1: 68:[24, 27, 17] Operation: 50-33=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[33, 27, 74], Operations: ['24+50=74'] Exploring Operation: 33-27=6, Resulting Numbers: [74, 6] Generated Node #0,0,0: 68:[74, 6] Operation: 33-27=6 Exploring Operation: 33+27=60, Resulting Numbers: [74, 60] Generated Node #0,0,1: 68:[74, 60] Operation: 33+27=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[74, 6], Operations: ['24+50=74', '33-27=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[24, 33, 50, 27], Operations: [] Exploring Operation: 24+50=74, Resulting Numbers: [33, 27, 74] Generated Node #0,0: 68:[33, 27, 74] Operation: 24+50=74 Moving to Node #0,0 Current State: 68:[33, 27, 74], Operations: ['24+50=74'] Exploring Operation: 33-27=6, Resulting Numbers: [74, 6] Generated Node #0,0,0: 68:[74, 6] Operation: 33-27=6 Moving to Node #0,0,0 Current State: 68:[74, 6], Operations: ['24+50=74', '33-27=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 59, 6, 95, 65 ]
35
[ "59+6=65", "95-65=30", "65-30=35" ]
Current State: 35:[59, 6, 95, 65], Operations: [] Exploring Operation: 59+6=65, Resulting Numbers: [95, 65, 65] Generated Node #2: [95, 65, 65] from Operation: 59+6=65 Current State: 35:[95, 65, 65], Operations: ['59+6=65'] Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,35 equal: Goal Reached Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[59, 6, 95, 65], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [6, 95, 6] Generated Node #0,0: 35:[6, 95, 6] Operation: 65-59=6 Exploring Operation: 95-65=30, Resulting Numbers: [59, 6, 30] Generated Node #0,1: 35:[59, 6, 30] Operation: 95-65=30 Exploring Operation: 95-6=89, Resulting Numbers: [59, 65, 89] Generated Node #0,2: 35:[59, 65, 89] Operation: 95-6=89 Exploring Operation: 95-59=36, Resulting Numbers: [6, 65, 36] Generated Node #0,3: 35:[6, 65, 36] Operation: 95-59=36 Exploring Operation: 59-6=53, Resulting Numbers: [95, 65, 53] Generated Node #0,4: 35:[95, 65, 53] Operation: 59-6=53 Moving to Node #0,1 Current State: 35:[59, 6, 30], Operations: ['95-65=30'] Exploring Operation: 59-30=29, Resulting Numbers: [6, 29] Generated Node #0,1,0: 35:[6, 29] Operation: 59-30=29 Exploring Operation: 59+6=65, Resulting Numbers: [30, 65] Generated Node #0,1,1: 35:[30, 65] Operation: 59+6=65 Exploring Operation: 59-6=53, Resulting Numbers: [30, 53] Generated Node #0,1,2: 35:[30, 53] Operation: 59-6=53 Exploring Operation: 6+30=36, Resulting Numbers: [59, 36] Generated Node #0,1,3: 35:[59, 36] Operation: 6+30=36 Exploring Operation: 30/6=5, Resulting Numbers: [59, 5] Generated Node #0,1,4: 35:[59, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[6, 29], Operations: ['95-65=30', '59-30=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[59, 6, 95, 65], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [59, 6, 30] Generated Node #0,1: 35:[59, 6, 30] Operation: 95-65=30 Moving to Node #0,1 Current State: 35:[59, 6, 30], Operations: ['95-65=30'] Exploring Operation: 59-30=29, Resulting Numbers: [6, 29] Generated Node #0,1,0: 35:[6, 29] Operation: 59-30=29 Moving to Node #0,1,0 Current State: 35:[6, 29], Operations: ['95-65=30', '59-30=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic