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
[ 91, 26, 88, 21 ]
94
[ "26*21=546", "546/91=6", "88+6=94" ]
Current State: 94:[91, 26, 88, 21], Operations: [] Exploring Operation: 26*21=546, Resulting Numbers: [91, 88, 546] Generated Node #2: [91, 88, 546] from Operation: 26*21=546 Current State: 94:[91, 88, 546], Operations: ['26*21=546'] Exploring Operation: 546/91=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 546/91=6 Current State: 94:[88, 6], Operations: ['26*21=546', '546/91=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[91, 26, 88, 21], Operations: [] Exploring Operation: 26+21=47, Resulting Numbers: [91, 88, 47] Generated Node #0,0: 94:[91, 88, 47] Operation: 26+21=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[91, 88, 47], Operations: ['26+21=47'] Exploring Operation: 91-88=3, Resulting Numbers: [47, 3] Generated Node #0,0,0: 94:[47, 3] Operation: 91-88=3 Moving to Node #0,0,0 Current State: 94:[47, 3], Operations: ['26+21=47', '91-88=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,94 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
[ 39, 70, 72, 96 ]
85
[ "39+70=109", "96-72=24", "109-24=85" ]
Current State: 85:[39, 70, 72, 96], Operations: [] Exploring Operation: 39+70=109, Resulting Numbers: [72, 96, 109] Generated Node #2: [72, 96, 109] from Operation: 39+70=109 Current State: 85:[72, 96, 109], Operations: ['39+70=109'] Exploring Operation: 96-72=24, Resulting Numbers: [109, 24] Generated Node #3: [109, 24] from Operation: 96-72=24 Current State: 85:[109, 24], Operations: ['39+70=109', '96-72=24'] Exploring Operation: 109-24=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[39, 70, 72, 96], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [39, 96, 2] Generated Node #0,0: 85:[39, 96, 2] Operation: 72-70=2 Exploring Operation: 70-39=31, Resulting Numbers: [72, 96, 31] Generated Node #0,1: 85:[72, 96, 31] Operation: 70-39=31 Exploring Operation: 72-39=33, Resulting Numbers: [70, 96, 33] Generated Node #0,2: 85:[70, 96, 33] Operation: 72-39=33 Exploring Operation: 96-70=26, Resulting Numbers: [39, 72, 26] Generated Node #0,3: 85:[39, 72, 26] Operation: 96-70=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[39, 96, 2], Operations: ['72-70=2'] Exploring Operation: 39-2=37, Resulting Numbers: [96, 37] Generated Node #0,0,0: 85:[96, 37] Operation: 39-2=37 Exploring Operation: 96-2=94, Resulting Numbers: [39, 94] Generated Node #0,0,1: 85:[39, 94] Operation: 96-2=94 Exploring Operation: 96-39=57, Resulting Numbers: [2, 57] Generated Node #0,0,2: 85:[2, 57] Operation: 96-39=57 Exploring Operation: 39*2=78, Resulting Numbers: [96, 78] Generated Node #0,0,3: 85:[96, 78] Operation: 39*2=78 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 85:[96, 78], Operations: ['72-70=2', '39*2=78'] Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 96+78=174, Resulting Numbers: [174] 174,85 unequal: No Solution Exploring Operation: 96*78=7488, Resulting Numbers: [7488] 7488,85 unequal: No Solution No 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: 85:[96, 37], Operations: ['72-70=2', '39-2=37'] Exploring Operation: 96+37=133, Resulting Numbers: [133] 133,85 unequal: No Solution Exploring Operation: 96*37=3552, Resulting Numbers: [3552] 3552,85 unequal: No Solution Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,85 unequal: No Solution No 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: 85:[39, 94], Operations: ['72-70=2', '96-2=94'] Exploring Operation: 39+94=133, Resulting Numbers: [133] 133,85 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 39*94=3666, Resulting Numbers: [3666] 3666,85 unequal: No Solution No 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: 85:[2, 57], Operations: ['72-70=2', '96-39=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,85 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,85 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: 85:[72, 96, 31], Operations: ['70-39=31'] Exploring Operation: 72-31=41, Resulting Numbers: [96, 41] Generated Node #0,1,0: 85:[96, 41] Operation: 72-31=41 Exploring Operation: 72+31=103, Resulting Numbers: [96, 103] Generated Node #0,1,1: 85:[96, 103] Operation: 72+31=103 Exploring Operation: 96-72=24, Resulting Numbers: [31, 24] Generated Node #0,1,2: 85:[31, 24] Operation: 96-72=24 Exploring Operation: 96-31=65, Resulting Numbers: [72, 65] Generated Node #0,1,3: 85:[72, 65] Operation: 96-31=65 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[31, 24], Operations: ['70-39=31', '96-72=24'] Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,85 unequal: No Solution No 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: 85:[96, 103], Operations: ['70-39=31', '72+31=103'] Exploring Operation: 96*103=9888, Resulting Numbers: [9888] 9888,85 unequal: No Solution Exploring Operation: 96+103=199, Resulting Numbers: [199] 199,85 unequal: No Solution Exploring Operation: 103-96=7, Resulting Numbers: [7] 7,85 unequal: No Solution No 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: 85:[72, 65], Operations: ['70-39=31', '96-31=65'] Exploring Operation: 72+65=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 72*65=4680, Resulting Numbers: [4680] 4680,85 unequal: No Solution No 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: 85:[96, 41], Operations: ['70-39=31', '72-31=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,85 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,85 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: 85:[70, 96, 33], Operations: ['72-39=33'] Exploring Operation: 70+33=103, Resulting Numbers: [96, 103] Generated Node #0,2,0: 85:[96, 103] Operation: 70+33=103 Exploring Operation: 96-70=26, Resulting Numbers: [33, 26] Generated Node #0,2,1: 85:[33, 26] Operation: 96-70=26 Exploring Operation: 70-33=37, Resulting Numbers: [96, 37] Generated Node #0,2,2: 85:[96, 37] Operation: 70-33=37 Exploring Operation: 96-33=63, Resulting Numbers: [70, 63] Generated Node #0,2,3: 85:[70, 63] Operation: 96-33=63 Moving to Node #0,2,1 Current State: 85:[33, 26], Operations: ['72-39=33', '96-70=26'] Exploring Operation: 33*26=858, Resulting Numbers: [858] 858,85 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 33+26=59, Resulting Numbers: [59] 59,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[96, 103], Operations: ['72-39=33', '70+33=103'] Exploring Operation: 103-96=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 96+103=199, Resulting Numbers: [199] 199,85 unequal: No Solution Exploring Operation: 96*103=9888, Resulting Numbers: [9888] 9888,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[96, 37], Operations: ['72-39=33', '70-33=37'] Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 96*37=3552, Resulting Numbers: [3552] 3552,85 unequal: No Solution Exploring Operation: 96+37=133, Resulting Numbers: [133] 133,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[70, 63], Operations: ['72-39=33', '96-33=63'] Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,85 unequal: No Solution Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[39, 72, 26], Operations: ['96-70=26'] Exploring Operation: 39-26=13, Resulting Numbers: [72, 13] Generated Node #0,3,0: 85:[72, 13] Operation: 39-26=13 Exploring Operation: 39+72=111, Resulting Numbers: [26, 111] Generated Node #0,3,1: 85:[26, 111] Operation: 39+72=111 Exploring Operation: 39+26=65, Resulting Numbers: [72, 65] Generated Node #0,3,2: 85:[72, 65] Operation: 39+26=65 Exploring Operation: 72-39=33, Resulting Numbers: [26, 33] Generated Node #0,3,3: 85:[26, 33] Operation: 72-39=33 Moving to Node #0,3,0 Current State: 85:[72, 13], Operations: ['96-70=26', '39-26=13'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,85 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[39, 70, 72, 96], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [39, 72, 26] Generated Node #0,3: 85:[39, 72, 26] Operation: 96-70=26 Moving to Node #0,3 Current State: 85:[39, 72, 26], Operations: ['96-70=26'] Exploring Operation: 39-26=13, Resulting Numbers: [72, 13] Generated Node #0,3,0: 85:[72, 13] Operation: 39-26=13 Moving to Node #0,3,0 Current State: 85:[72, 13], Operations: ['96-70=26', '39-26=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
sum_heuristic
[ 89, 56, 19, 32 ]
18
[ "89-56=33", "19+32=51", "51-33=18" ]
Current State: 18:[89, 56, 19, 32], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [19, 32, 33] Generated Node #2: [19, 32, 33] from Operation: 89-56=33 Current State: 18:[19, 32, 33], Operations: ['89-56=33'] Exploring Operation: 19+32=51, Resulting Numbers: [33, 51] Generated Node #3: [33, 51] from Operation: 19+32=51 Current State: 18:[33, 51], Operations: ['89-56=33', '19+32=51'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[89, 56, 19, 32], Operations: [] Exploring Operation: 89-32=57, Resulting Numbers: [56, 19, 57] Generated Node #0,0: 18:[56, 19, 57] Operation: 89-32=57 Exploring Operation: 89-19=70, Resulting Numbers: [56, 32, 70] Generated Node #0,1: 18:[56, 32, 70] Operation: 89-19=70 Exploring Operation: 56-32=24, Resulting Numbers: [89, 19, 24] Generated Node #0,2: 18:[89, 19, 24] Operation: 56-32=24 Exploring Operation: 89-56=33, Resulting Numbers: [19, 32, 33] Generated Node #0,3: 18:[19, 32, 33] Operation: 89-56=33 Moving to Node #0,3 Current State: 18:[19, 32, 33], Operations: ['89-56=33'] Exploring Operation: 33-19=14, Resulting Numbers: [32, 14] Generated Node #0,3,0: 18:[32, 14] Operation: 33-19=14 Exploring Operation: 33-32=1, Resulting Numbers: [19, 1] Generated Node #0,3,1: 18:[19, 1] Operation: 33-32=1 Exploring Operation: 32-19=13, Resulting Numbers: [33, 13] Generated Node #0,3,2: 18:[33, 13] Operation: 32-19=13 Exploring Operation: 19+32=51, Resulting Numbers: [33, 51] Generated Node #0,3,3: 18:[33, 51] Operation: 19+32=51 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[19, 1], Operations: ['89-56=33', '33-32=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[89, 56, 19, 32], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [19, 32, 33] Generated Node #0,3: 18:[19, 32, 33] Operation: 89-56=33 Moving to Node #0,3 Current State: 18:[19, 32, 33], Operations: ['89-56=33'] Exploring Operation: 33-32=1, Resulting Numbers: [19, 1] Generated Node #0,3,1: 18:[19, 1] Operation: 33-32=1 Moving to Node #0,3,1 Current State: 18:[19, 1], Operations: ['89-56=33', '33-32=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 15, 80, 19, 14 ]
77
[ "19-14=5", "15/5=3", "80-3=77" ]
Current State: 77:[15, 80, 19, 14], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [15, 80, 5] Generated Node #2: [15, 80, 5] from Operation: 19-14=5 Current State: 77:[15, 80, 5], Operations: ['19-14=5'] Exploring Operation: 15/5=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 15/5=3 Current State: 77:[80, 3], Operations: ['19-14=5', '15/5=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[15, 80, 19, 14], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [15, 80, 5] Generated Node #0,0: 77:[15, 80, 5] Operation: 19-14=5 Exploring Operation: 19-15=4, Resulting Numbers: [80, 14, 4] Generated Node #0,1: 77:[80, 14, 4] Operation: 19-15=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[15, 80, 5], Operations: ['19-14=5'] Exploring Operation: 15*5=75, Resulting Numbers: [80, 75] Generated Node #0,0,0: 77:[80, 75] Operation: 15*5=75 Exploring Operation: 15-5=10, Resulting Numbers: [80, 10] Generated Node #0,0,1: 77:[80, 10] Operation: 15-5=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[80, 10], Operations: ['19-14=5', '15-5=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,77 unequal: No Solution No 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: 77:[80, 75], Operations: ['19-14=5', '15*5=75'] Exploring Operation: 80+75=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,77 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: 77:[80, 14, 4], Operations: ['19-15=4'] Exploring Operation: 14-4=10, Resulting Numbers: [80, 10] Generated Node #0,1,0: 77:[80, 10] Operation: 14-4=10 Exploring Operation: 80-4=76, Resulting Numbers: [14, 76] Generated Node #0,1,1: 77:[14, 76] Operation: 80-4=76 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[80, 10], Operations: ['19-15=4', '14-4=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,77 unequal: No Solution No 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: 77:[14, 76], Operations: ['19-15=4', '80-4=76'] Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 14+76=90, Resulting Numbers: [90] 90,77 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
[ 87, 27, 97, 93 ]
65
[ "93-87=6", "27*6=162", "162-97=65" ]
Current State: 65:[87, 27, 97, 93], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [27, 97, 6] Generated Node #2: [27, 97, 6] from Operation: 93-87=6 Current State: 65:[27, 97, 6], Operations: ['93-87=6'] Exploring Operation: 27*6=162, Resulting Numbers: [97, 162] Generated Node #3: [97, 162] from Operation: 27*6=162 Current State: 65:[97, 162], Operations: ['93-87=6', '27*6=162'] Exploring Operation: 162-97=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[87, 27, 97, 93], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [87, 97, 66] Generated Node #0,0: 65:[87, 97, 66] Operation: 93-27=66 Exploring Operation: 97-27=70, Resulting Numbers: [87, 93, 70] Generated Node #0,1: 65:[87, 93, 70] Operation: 97-27=70 Exploring Operation: 97-93=4, Resulting Numbers: [87, 27, 4] Generated Node #0,2: 65:[87, 27, 4] Operation: 97-93=4 Exploring Operation: 97-87=10, Resulting Numbers: [27, 93, 10] Generated Node #0,3: 65:[27, 93, 10] Operation: 97-87=10 Exploring Operation: 93-87=6, Resulting Numbers: [27, 97, 6] Generated Node #0,4: 65:[27, 97, 6] Operation: 93-87=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[87, 27, 4], Operations: ['97-93=4'] Exploring Operation: 87-27=60, Resulting Numbers: [4, 60] Generated Node #0,2,0: 65:[4, 60] Operation: 87-27=60 Exploring Operation: 87-4=83, Resulting Numbers: [27, 83] Generated Node #0,2,1: 65:[27, 83] Operation: 87-4=83 Exploring Operation: 27+4=31, Resulting Numbers: [87, 31] Generated Node #0,2,2: 65:[87, 31] Operation: 27+4=31 Exploring Operation: 87+4=91, Resulting Numbers: [27, 91] Generated Node #0,2,3: 65:[27, 91] Operation: 87+4=91 Exploring Operation: 27-4=23, Resulting Numbers: [87, 23] Generated Node #0,2,4: 65:[87, 23] Operation: 27-4=23 Moving to Node #0,2,0 Current State: 65:[4, 60], Operations: ['97-93=4', '87-27=60'] Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,65 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[87, 23], Operations: ['97-93=4', '27-4=23'] Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,65 unequal: No Solution Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,65 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[27, 83], Operations: ['97-93=4', '87-4=83'] Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,65 unequal: No Solution Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[87, 31], Operations: ['97-93=4', '27+4=31'] Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,65 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[27, 91], Operations: ['97-93=4', '87+4=91'] Exploring Operation: 27+91=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 27*91=2457, Resulting Numbers: [2457] 2457,65 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[27, 93, 10], Operations: ['97-87=10'] Exploring Operation: 93-27=66, Resulting Numbers: [10, 66] Generated Node #0,3,0: 65:[10, 66] Operation: 93-27=66 Exploring Operation: 27-10=17, Resulting Numbers: [93, 17] Generated Node #0,3,1: 65:[93, 17] Operation: 27-10=17 Exploring Operation: 93+10=103, Resulting Numbers: [27, 103] Generated Node #0,3,2: 65:[27, 103] Operation: 93+10=103 Exploring Operation: 93-10=83, Resulting Numbers: [27, 83] Generated Node #0,3,3: 65:[27, 83] Operation: 93-10=83 Exploring Operation: 27+10=37, Resulting Numbers: [93, 37] Generated Node #0,3,4: 65:[93, 37] Operation: 27+10=37 Moving to Node #0,3,0 Current State: 65:[10, 66], Operations: ['97-87=10', '93-27=66'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,65 unequal: No Solution Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[27, 83], Operations: ['97-87=10', '93-10=83'] Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,65 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[93, 17], Operations: ['97-87=10', '27-10=17'] Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,65 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[27, 103], Operations: ['97-87=10', '93+10=103'] Exploring Operation: 27*103=2781, Resulting Numbers: [2781] 2781,65 unequal: No Solution Exploring Operation: 103-27=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 27+103=130, Resulting Numbers: [130] 130,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[93, 37], Operations: ['97-87=10', '27+10=37'] Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,65 unequal: No Solution Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[27, 97, 6], Operations: ['93-87=6'] Exploring Operation: 97-6=91, Resulting Numbers: [27, 91] Generated Node #0,4,0: 65:[27, 91] Operation: 97-6=91 Exploring Operation: 27-6=21, Resulting Numbers: [97, 21] Generated Node #0,4,1: 65:[97, 21] Operation: 27-6=21 Exploring Operation: 97-27=70, Resulting Numbers: [6, 70] Generated Node #0,4,2: 65:[6, 70] Operation: 97-27=70 Exploring Operation: 27+6=33, Resulting Numbers: [97, 33] Generated Node #0,4,3: 65:[97, 33] Operation: 27+6=33 Exploring Operation: 97+6=103, Resulting Numbers: [27, 103] Generated Node #0,4,4: 65:[27, 103] Operation: 97+6=103 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 65:[6, 70], Operations: ['93-87=6', '97-27=70'] Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,65 unequal: No Solution Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 65:[27, 91], Operations: ['93-87=6', '97-6=91'] Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 27*91=2457, Resulting Numbers: [2457] 2457,65 unequal: No Solution Exploring Operation: 27+91=118, Resulting Numbers: [118] 118,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 65:[97, 21], Operations: ['93-87=6', '27-6=21'] Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 97*21=2037, Resulting Numbers: [2037] 2037,65 unequal: No Solution Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 65:[97, 33], Operations: ['93-87=6', '27+6=33'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,65 unequal: No Solution Exploring Operation: 97*33=3201, Resulting Numbers: [3201] 3201,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 65:[27, 103], Operations: ['93-87=6', '97+6=103'] Exploring Operation: 103-27=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 27+103=130, Resulting Numbers: [130] 130,65 unequal: No Solution Exploring Operation: 27*103=2781, Resulting Numbers: [2781] 2781,65 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: 65:[87, 97, 66], Operations: ['93-27=66'] Exploring Operation: 97-87=10, Resulting Numbers: [66, 10] Generated Node #0,0,0: 65:[66, 10] Operation: 97-87=10 Exploring Operation: 97-66=31, Resulting Numbers: [87, 31] Generated Node #0,0,1: 65:[87, 31] Operation: 97-66=31 Exploring Operation: 87+66=153, Resulting Numbers: [97, 153] Generated Node #0,0,2: 65:[97, 153] Operation: 87+66=153 Exploring Operation: 87+97=184, Resulting Numbers: [66, 184] Generated Node #0,0,3: 65:[66, 184] Operation: 87+97=184 Exploring Operation: 87-66=21, Resulting Numbers: [97, 21] Generated Node #0,0,4: 65:[97, 21] Operation: 87-66=21 Moving to Node #0,0,0 Current State: 65:[66, 10], Operations: ['93-27=66', '97-87=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,65 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[97, 21], Operations: ['93-27=66', '87-66=21'] Exploring Operation: 97*21=2037, Resulting Numbers: [2037] 2037,65 unequal: No Solution Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[87, 31], Operations: ['93-27=66', '97-66=31'] Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,65 unequal: No Solution Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[97, 153], Operations: ['93-27=66', '87+66=153'] Exploring Operation: 97*153=14841, Resulting Numbers: [14841] 14841,65 unequal: No Solution Exploring Operation: 153-97=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 97+153=250, Resulting Numbers: [250] 250,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[66, 184], Operations: ['93-27=66', '87+97=184'] Exploring Operation: 66*184=12144, Resulting Numbers: [12144] 12144,65 unequal: No Solution Exploring Operation: 66+184=250, Resulting Numbers: [250] 250,65 unequal: No Solution Exploring Operation: 184-66=118, Resulting Numbers: [118] 118,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[87, 93, 70], Operations: ['97-27=70'] Exploring Operation: 93-87=6, Resulting Numbers: [70, 6] Generated Node #0,1,0: 65:[70, 6] Operation: 93-87=6 Exploring Operation: 87-70=17, Resulting Numbers: [93, 17] Generated Node #0,1,1: 65:[93, 17] Operation: 87-70=17 Exploring Operation: 93-70=23, Resulting Numbers: [87, 23] Generated Node #0,1,2: 65:[87, 23] Operation: 93-70=23 Exploring Operation: 87+93=180, Resulting Numbers: [70, 180] Generated Node #0,1,3: 65:[70, 180] Operation: 87+93=180 Exploring Operation: 87+70=157, Resulting Numbers: [93, 157] Generated Node #0,1,4: 65:[93, 157] Operation: 87+70=157 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[70, 6], Operations: ['97-27=70', '93-87=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,65 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,65 unequal: No Solution No 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: 65:[93, 17], Operations: ['97-27=70', '87-70=17'] Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,65 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,65 unequal: No Solution No 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: 65:[87, 23], Operations: ['97-27=70', '93-70=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,65 unequal: No Solution Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,65 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,65 unequal: No Solution No 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: 65:[70, 180], Operations: ['97-27=70', '87+93=180'] Exploring Operation: 70+180=250, Resulting Numbers: [250] 250,65 unequal: No Solution Exploring Operation: 70*180=12600, Resulting Numbers: [12600] 12600,65 unequal: No Solution Exploring Operation: 180-70=110, Resulting Numbers: [110] 110,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 65:[93, 157], Operations: ['97-27=70', '87+70=157'] Exploring Operation: 93*157=14601, Resulting Numbers: [14601] 14601,65 unequal: No Solution Exploring Operation: 157-93=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 93+157=250, Resulting Numbers: [250] 250,65 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
[ 36, 24, 72, 88 ]
82
[ "36-24=12", "72/12=6", "88-6=82" ]
Current State: 82:[36, 24, 72, 88], Operations: [] Exploring Operation: 36-24=12, Resulting Numbers: [72, 88, 12] Generated Node #2: [72, 88, 12] from Operation: 36-24=12 Current State: 82:[72, 88, 12], Operations: ['36-24=12'] Exploring Operation: 72/12=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 72/12=6 Current State: 82:[88, 6], Operations: ['36-24=12', '72/12=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[36, 24, 72, 88], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [36, 88, 3] Generated Node #0,0: 82:[36, 88, 3] Operation: 72/24=3 Moving to Node #0,0 Current State: 82:[36, 88, 3], Operations: ['72/24=3'] Exploring Operation: 36+3=39, Resulting Numbers: [88, 39] Generated Node #0,0,0: 82:[88, 39] Operation: 36+3=39 Moving to Node #0,0,0 Current State: 82:[88, 39], Operations: ['72/24=3', '36+3=39'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,82 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 91, 35, 49, 25 ]
29
[ "91+49=140", "140/35=4", "25+4=29" ]
Current State: 29:[91, 35, 49, 25], Operations: [] Exploring Operation: 91+49=140, Resulting Numbers: [35, 25, 140] Generated Node #2: [35, 25, 140] from Operation: 91+49=140 Current State: 29:[35, 25, 140], Operations: ['91+49=140'] Exploring Operation: 140/35=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 140/35=4 Current State: 29:[25, 4], Operations: ['91+49=140', '140/35=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[91, 35, 49, 25], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [49, 25, 56] Generated Node #0,0: 29:[49, 25, 56] Operation: 91-35=56 Exploring Operation: 91-49=42, Resulting Numbers: [35, 25, 42] Generated Node #0,1: 29:[35, 25, 42] Operation: 91-49=42 Moving to Node #0,1 Current State: 29:[35, 25, 42], Operations: ['91-49=42'] Exploring Operation: 42-25=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 29:[35, 17] Operation: 42-25=17 Exploring Operation: 42-35=7, Resulting Numbers: [25, 7] Generated Node #0,1,1: 29:[25, 7] Operation: 42-35=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[35, 17], Operations: ['91-49=42', '42-25=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[25, 7], Operations: ['91-49=42', '42-35=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 29:[49, 25, 56], Operations: ['91-35=56'] Exploring Operation: 56-49=7, Resulting Numbers: [25, 7] Generated Node #0,0,0: 29:[25, 7] Operation: 56-49=7 Exploring Operation: 56-25=31, Resulting Numbers: [49, 31] Generated Node #0,0,1: 29:[49, 31] Operation: 56-25=31 Moving to Node #0,0,1 Current State: 29:[49, 31], Operations: ['91-35=56', '56-25=31'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 49+31=80, Resulting Numbers: [80] 80,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[25, 7], Operations: ['91-35=56', '56-49=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 54, 27, 87, 48 ]
19
[ "54-48=6", "27+87=114", "114/6=19" ]
Current State: 19:[54, 27, 87, 48], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [27, 87, 6] Generated Node #2: [27, 87, 6] from Operation: 54-48=6 Current State: 19:[27, 87, 6], Operations: ['54-48=6'] Exploring Operation: 27+87=114, Resulting Numbers: [6, 114] Generated Node #3: [6, 114] from Operation: 27+87=114 Current State: 19:[6, 114], Operations: ['54-48=6', '27+87=114'] Exploring Operation: 114/6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[54, 27, 87, 48], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [27, 87, 6] Generated Node #0,0: 19:[27, 87, 6] Operation: 54-48=6 Exploring Operation: 87-48=39, Resulting Numbers: [54, 27, 39] Generated Node #0,1: 19:[54, 27, 39] Operation: 87-48=39 Exploring Operation: 87-54=33, Resulting Numbers: [27, 48, 33] Generated Node #0,2: 19:[27, 48, 33] Operation: 87-54=33 Moving to Node #0,2 Current State: 19:[27, 48, 33], Operations: ['87-54=33'] Exploring Operation: 48-33=15, Resulting Numbers: [27, 15] Generated Node #0,2,0: 19:[27, 15] Operation: 48-33=15 Exploring Operation: 48-27=21, Resulting Numbers: [33, 21] Generated Node #0,2,1: 19:[33, 21] Operation: 48-27=21 Exploring Operation: 33-27=6, Resulting Numbers: [48, 6] Generated Node #0,2,2: 19:[48, 6] Operation: 33-27=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[27, 15], Operations: ['87-54=33', '48-33=15'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,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,2,1 Current State: 19:[33, 21], Operations: ['87-54=33', '48-27=21'] Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,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,2,2 Current State: 19:[48, 6], Operations: ['87-54=33', '33-27=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,19 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: 19:[54, 27, 39], Operations: ['87-48=39'] Exploring Operation: 54-27=27, Resulting Numbers: [39, 27] Generated Node #0,1,0: 19:[39, 27] Operation: 54-27=27 Exploring Operation: 54-39=15, Resulting Numbers: [27, 15] Generated Node #0,1,1: 19:[27, 15] Operation: 54-39=15 Exploring Operation: 54/27=2, Resulting Numbers: [39, 2] Generated Node #0,1,2: 19:[39, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[27, 15], Operations: ['87-48=39', '54-39=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,19 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,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,1,0 Current State: 19:[39, 27], Operations: ['87-48=39', '54-27=27'] Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,19 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,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,1,2 Current State: 19:[39, 2], Operations: ['87-48=39', '54/27=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,19 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: 19:[27, 87, 6], Operations: ['54-48=6'] Exploring Operation: 87-6=81, Resulting Numbers: [27, 81] Generated Node #0,0,0: 19:[27, 81] Operation: 87-6=81 Exploring Operation: 27-6=21, Resulting Numbers: [87, 21] Generated Node #0,0,1: 19:[87, 21] Operation: 27-6=21 Exploring Operation: 87-27=60, Resulting Numbers: [6, 60] Generated Node #0,0,2: 19:[6, 60] Operation: 87-27=60 Moving to Node #0,0,2 Current State: 19:[6, 60], Operations: ['54-48=6', '87-27=60'] Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[27, 81], Operations: ['54-48=6', '87-6=81'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 27+81=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[87, 21], Operations: ['54-48=6', '27-6=21'] Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 15, 32, 7, 55 ]
95
[ "15+32=47", "55-7=48", "47+48=95" ]
Current State: 95:[15, 32, 7, 55], Operations: [] Exploring Operation: 15+32=47, Resulting Numbers: [7, 55, 47] Generated Node #2: [7, 55, 47] from Operation: 15+32=47 Current State: 95:[7, 55, 47], Operations: ['15+32=47'] Exploring Operation: 55-7=48, Resulting Numbers: [47, 48] Generated Node #3: [47, 48] from Operation: 55-7=48 Current State: 95:[47, 48], Operations: ['15+32=47', '55-7=48'] Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[15, 32, 7, 55], Operations: [] Exploring Operation: 32+55=87, Resulting Numbers: [15, 7, 87] Generated Node #0,0: 95:[15, 7, 87] Operation: 32+55=87 Exploring Operation: 55-15=40, Resulting Numbers: [32, 7, 40] Generated Node #0,1: 95:[32, 7, 40] Operation: 55-15=40 Exploring Operation: 55-32=23, Resulting Numbers: [15, 7, 23] Generated Node #0,2: 95:[15, 7, 23] Operation: 55-32=23 Moving to Node #0,2 Current State: 95:[15, 7, 23], Operations: ['55-32=23'] Exploring Operation: 15-7=8, Resulting Numbers: [23, 8] Generated Node #0,2,0: 95:[23, 8] Operation: 15-7=8 Exploring Operation: 23-15=8, Resulting Numbers: [7, 8] Generated Node #0,2,1: 95:[7, 8] Operation: 23-15=8 Exploring Operation: 15+7=22, Resulting Numbers: [23, 22] Generated Node #0,2,2: 95:[23, 22] Operation: 15+7=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[7, 8], Operations: ['55-32=23', '23-15=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[23, 8], Operations: ['55-32=23', '15-7=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,95 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[23, 22], Operations: ['55-32=23', '15+7=22'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,95 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: 95:[15, 7, 87], Operations: ['32+55=87'] Exploring Operation: 15+87=102, Resulting Numbers: [7, 102] Generated Node #0,0,0: 95:[7, 102] Operation: 15+87=102 Exploring Operation: 7+87=94, Resulting Numbers: [15, 94] Generated Node #0,0,1: 95:[15, 94] Operation: 7+87=94 Exploring Operation: 15+7=22, Resulting Numbers: [87, 22] Generated Node #0,0,2: 95:[87, 22] Operation: 15+7=22 Moving to Node #0,1 Current State: 95:[32, 7, 40], Operations: ['55-15=40'] Exploring Operation: 32+40=72, Resulting Numbers: [7, 72] Generated Node #0,1,0: 95:[7, 72] Operation: 32+40=72 Exploring Operation: 32-7=25, Resulting Numbers: [40, 25] Generated Node #0,1,1: 95:[40, 25] Operation: 32-7=25 Exploring Operation: 40-32=8, Resulting Numbers: [7, 8] Generated Node #0,1,2: 95:[7, 8] Operation: 40-32=8 Moving to Node #0,0,1 Current State: 95:[15, 94], Operations: ['32+55=87', '7+87=94'] Exploring Operation: 15+94=109, Resulting Numbers: [109] 109,95 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 15*94=1410, Resulting Numbers: [1410] 1410,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[7, 8], Operations: ['55-15=40', '40-32=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[7, 102], Operations: ['32+55=87', '15+87=102'] Exploring Operation: 7*102=714, Resulting Numbers: [714] 714,95 unequal: No Solution Exploring Operation: 102-7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[15, 32, 7, 55], Operations: [] Exploring Operation: 32+55=87, Resulting Numbers: [15, 7, 87] Generated Node #0,0: 95:[15, 7, 87] Operation: 32+55=87 Moving to Node #0,0 Current State: 95:[15, 7, 87], Operations: ['32+55=87'] Exploring Operation: 15+87=102, Resulting Numbers: [7, 102] Generated Node #0,0,0: 95:[7, 102] Operation: 15+87=102 Moving to Node #0,0,0 Current State: 95:[7, 102], Operations: ['32+55=87', '15+87=102'] Exploring Operation: 102-7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 48, 45, 6, 49 ]
96
[ "45+6=51", "51-49=2", "48*2=96" ]
Current State: 96:[48, 45, 6, 49], Operations: [] Exploring Operation: 45+6=51, Resulting Numbers: [48, 49, 51] Generated Node #2: [48, 49, 51] from Operation: 45+6=51 Current State: 96:[48, 49, 51], Operations: ['45+6=51'] Exploring Operation: 51-49=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 51-49=2 Current State: 96:[48, 2], Operations: ['45+6=51', '51-49=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 45, 6, 49], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [48, 6, 4] Generated Node #0,0: 96:[48, 6, 4] Operation: 49-45=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[48, 6, 4], Operations: ['49-45=4'] Exploring Operation: 48/6=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 96:[4, 8] Operation: 48/6=8 Moving to Node #0,0,0 Current State: 96:[4, 8], Operations: ['49-45=4', '48/6=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,96 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
[ 95, 79, 6, 68 ]
28
[ "95-79=16", "6*16=96", "96-68=28" ]
Current State: 28:[95, 79, 6, 68], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [6, 68, 16] Generated Node #2: [6, 68, 16] from Operation: 95-79=16 Current State: 28:[6, 68, 16], Operations: ['95-79=16'] Exploring Operation: 6*16=96, Resulting Numbers: [68, 96] Generated Node #3: [68, 96] from Operation: 6*16=96 Current State: 28:[68, 96], Operations: ['95-79=16', '6*16=96'] Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[95, 79, 6, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [79, 6, 27] Generated Node #0,0: 28:[79, 6, 27] Operation: 95-68=27 Exploring Operation: 95-79=16, Resulting Numbers: [6, 68, 16] Generated Node #0,1: 28:[6, 68, 16] Operation: 95-79=16 Exploring Operation: 95-6=89, Resulting Numbers: [79, 68, 89] Generated Node #0,2: 28:[79, 68, 89] Operation: 95-6=89 Exploring Operation: 79-68=11, Resulting Numbers: [95, 6, 11] Generated Node #0,3: 28:[95, 6, 11] Operation: 79-68=11 Moving to Node #0,1 Current State: 28:[6, 68, 16], Operations: ['95-79=16'] Exploring Operation: 68-16=52, Resulting Numbers: [6, 52] Generated Node #0,1,0: 28:[6, 52] Operation: 68-16=52 Exploring Operation: 68-6=62, Resulting Numbers: [16, 62] Generated Node #0,1,1: 28:[16, 62] Operation: 68-6=62 Exploring Operation: 16-6=10, Resulting Numbers: [68, 10] Generated Node #0,1,2: 28:[68, 10] Operation: 16-6=10 Exploring Operation: 6+16=22, Resulting Numbers: [68, 22] Generated Node #0,1,3: 28:[68, 22] Operation: 6+16=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[6, 52], Operations: ['95-79=16', '68-16=52'] Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,28 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[16, 62], Operations: ['95-79=16', '68-6=62'] Exploring Operation: 16+62=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 16*62=992, Resulting Numbers: [992] 992,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[68, 10], Operations: ['95-79=16', '16-6=10'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,28 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[68, 22], Operations: ['95-79=16', '6+16=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,28 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: 28:[79, 6, 27], Operations: ['95-68=27'] Exploring Operation: 79-27=52, Resulting Numbers: [6, 52] Generated Node #0,0,0: 28:[6, 52] Operation: 79-27=52 Exploring Operation: 79+6=85, Resulting Numbers: [27, 85] Generated Node #0,0,1: 28:[27, 85] Operation: 79+6=85 Exploring Operation: 6+27=33, Resulting Numbers: [79, 33] Generated Node #0,0,2: 28:[79, 33] Operation: 6+27=33 Exploring Operation: 79-6=73, Resulting Numbers: [27, 73] Generated Node #0,0,3: 28:[27, 73] Operation: 79-6=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[6, 52], Operations: ['95-68=27', '79-27=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,28 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[27, 73], Operations: ['95-68=27', '79-6=73'] Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[79, 33], Operations: ['95-68=27', '6+27=33'] Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,28 unequal: No Solution Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[27, 85], Operations: ['95-68=27', '79+6=85'] Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,28 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: 28:[95, 6, 11], Operations: ['79-68=11'] Exploring Operation: 6+11=17, Resulting Numbers: [95, 17] Generated Node #0,3,0: 28:[95, 17] Operation: 6+11=17 Exploring Operation: 95-11=84, Resulting Numbers: [6, 84] Generated Node #0,3,1: 28:[6, 84] Operation: 95-11=84 Exploring Operation: 95-6=89, Resulting Numbers: [11, 89] Generated Node #0,3,2: 28:[11, 89] Operation: 95-6=89 Exploring Operation: 11-6=5, Resulting Numbers: [95, 5] Generated Node #0,3,3: 28:[95, 5] Operation: 11-6=5 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[6, 84], Operations: ['79-68=11', '95-11=84'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 6+84=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 6*84=504, Resulting Numbers: [504] 504,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 28:[11, 89], Operations: ['79-68=11', '95-6=89'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 11*89=979, Resulting Numbers: [979] 979,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[95, 5], Operations: ['79-68=11', '11-6=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 95*5=475, Resulting Numbers: [475] 475,28 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[95, 17], Operations: ['79-68=11', '6+11=17'] Exploring Operation: 95*17=1615, Resulting Numbers: [1615] 1615,28 unequal: No Solution Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 95+17=112, Resulting Numbers: [112] 112,28 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: 28:[79, 68, 89], Operations: ['95-6=89'] Exploring Operation: 89-79=10, Resulting Numbers: [68, 10] Generated Node #0,2,0: 28:[68, 10] Operation: 89-79=10 Exploring Operation: 89-68=21, Resulting Numbers: [79, 21] Generated Node #0,2,1: 28:[79, 21] Operation: 89-68=21 Exploring Operation: 79-68=11, Resulting Numbers: [89, 11] Generated Node #0,2,2: 28:[89, 11] Operation: 79-68=11 Exploring Operation: 79+68=147, Resulting Numbers: [89, 147] Generated Node #0,2,3: 28:[89, 147] Operation: 79+68=147 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[68, 10], Operations: ['95-6=89', '89-79=10'] Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,28 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[79, 21], Operations: ['95-6=89', '89-68=21'] Exploring Operation: 79+21=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 79*21=1659, Resulting Numbers: [1659] 1659,28 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[89, 11], Operations: ['95-6=89', '79-68=11'] Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,28 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[89, 147], Operations: ['95-6=89', '79+68=147'] Exploring Operation: 89*147=13083, Resulting Numbers: [13083] 13083,28 unequal: No Solution Exploring Operation: 147-89=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 89+147=236, Resulting Numbers: [236] 236,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 59, 50, 59, 28 ]
79
[ "59/59=1", "50+28=78", "1+78=79" ]
Current State: 79:[59, 50, 59, 28], Operations: [] Exploring Operation: 59/59=1, Resulting Numbers: [50, 28, 1] Generated Node #2: [50, 28, 1] from Operation: 59/59=1 Current State: 79:[50, 28, 1], Operations: ['59/59=1'] Exploring Operation: 50+28=78, Resulting Numbers: [1, 78] Generated Node #3: [1, 78] from Operation: 50+28=78 Current State: 79:[1, 78], Operations: ['59/59=1', '50+28=78'] Exploring Operation: 1+78=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[59, 50, 59, 28], Operations: [] Exploring Operation: 59-28=31, Resulting Numbers: [50, 59, 31] Generated Node #0,0: 79:[50, 59, 31] Operation: 59-28=31 Exploring Operation: 59+28=87, Resulting Numbers: [50, 59, 87] Generated Node #0,1: 79:[50, 59, 87] Operation: 59+28=87 Exploring Operation: 50+28=78, Resulting Numbers: [59, 59, 78] Generated Node #0,2: 79:[59, 59, 78] Operation: 50+28=78 Exploring Operation: 59+28=87, Resulting Numbers: [59, 50, 87] Generated Node #0,3: 79:[59, 50, 87] Operation: 59+28=87 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[59, 59, 78], Operations: ['50+28=78'] Exploring Operation: 59+59=118, Resulting Numbers: [78, 118] Generated Node #0,2,0: 79:[78, 118] Operation: 59+59=118 Exploring Operation: 59+78=137, Resulting Numbers: [59, 137] Generated Node #0,2,1: 79:[59, 137] Operation: 59+78=137 Exploring Operation: 59+78=137, Resulting Numbers: [59, 137] Generated Node #0,2,2: 79:[59, 137] Operation: 59+78=137 Exploring Operation: 59/59=1, Resulting Numbers: [78, 1] Generated Node #0,2,3: 79:[78, 1] Operation: 59/59=1 Moving to Node #0,2,0 Current State: 79:[78, 118], Operations: ['50+28=78', '59+59=118'] Exploring Operation: 78+118=196, Resulting Numbers: [196] 196,79 unequal: No Solution Exploring Operation: 78*118=9204, Resulting Numbers: [9204] 9204,79 unequal: No Solution Exploring Operation: 118-78=40, Resulting Numbers: [40] 40,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[59, 137], Operations: ['50+28=78', '59+78=137'] Exploring Operation: 59*137=8083, Resulting Numbers: [8083] 8083,79 unequal: No Solution Exploring Operation: 59+137=196, Resulting Numbers: [196] 196,79 unequal: No Solution Exploring Operation: 137-59=78, Resulting Numbers: [78] 78,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[59, 137], Operations: ['50+28=78', '59+78=137'] Exploring Operation: 59*137=8083, Resulting Numbers: [8083] 8083,79 unequal: No Solution Exploring Operation: 137-59=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 59+137=196, Resulting Numbers: [196] 196,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[78, 1], Operations: ['50+28=78', '59/59=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,79 unequal: No Solution Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[59, 50, 59, 28], Operations: [] Exploring Operation: 50+28=78, Resulting Numbers: [59, 59, 78] Generated Node #0,2: 79:[59, 59, 78] Operation: 50+28=78 Moving to Node #0,2 Current State: 79:[59, 59, 78], Operations: ['50+28=78'] Exploring Operation: 59/59=1, Resulting Numbers: [78, 1] Generated Node #0,2,3: 79:[78, 1] Operation: 59/59=1 Moving to Node #0,2,3 Current State: 79:[78, 1], Operations: ['50+28=78', '59/59=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 48, 32, 45, 10 ]
19
[ "48-32=16", "45-10=35", "35-16=19" ]
Current State: 19:[48, 32, 45, 10], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [45, 10, 16] Generated Node #2: [45, 10, 16] from Operation: 48-32=16 Current State: 19:[45, 10, 16], Operations: ['48-32=16'] Exploring Operation: 45-10=35, Resulting Numbers: [16, 35] Generated Node #3: [16, 35] from Operation: 45-10=35 Current State: 19:[16, 35], Operations: ['48-32=16', '45-10=35'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[48, 32, 45, 10], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [45, 10, 16] Generated Node #0,0: 19:[45, 10, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[45, 10, 16], Operations: ['48-32=16'] Exploring Operation: 45-10=35, Resulting Numbers: [16, 35] Generated Node #0,0,0: 19:[16, 35] Operation: 45-10=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[16, 35], Operations: ['48-32=16', '45-10=35'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[48, 32, 45, 10], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [45, 10, 16] Generated Node #0,0: 19:[45, 10, 16] Operation: 48-32=16 Moving to Node #0,0 Current State: 19:[45, 10, 16], Operations: ['48-32=16'] Exploring Operation: 45-10=35, Resulting Numbers: [16, 35] Generated Node #0,0,0: 19:[16, 35] Operation: 45-10=35 Moving to Node #0,0,0 Current State: 19:[16, 35], Operations: ['48-32=16', '45-10=35'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 41, 53, 40 ]
69
[ "41+41=82", "53-40=13", "82-13=69" ]
Current State: 69:[41, 41, 53, 40], Operations: [] Exploring Operation: 41+41=82, Resulting Numbers: [53, 40, 82] Generated Node #2: [53, 40, 82] from Operation: 41+41=82 Current State: 69:[53, 40, 82], Operations: ['41+41=82'] Exploring Operation: 53-40=13, Resulting Numbers: [82, 13] Generated Node #3: [82, 13] from Operation: 53-40=13 Current State: 69:[82, 13], Operations: ['41+41=82', '53-40=13'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[41, 41, 53, 40], Operations: [] Exploring Operation: 53-41=12, Resulting Numbers: [41, 40, 12] Generated Node #0,0: 69:[41, 40, 12] Operation: 53-41=12 Exploring Operation: 41-40=1, Resulting Numbers: [41, 53, 1] Generated Node #0,1: 69:[41, 53, 1] Operation: 41-40=1 Exploring Operation: 41-40=1, Resulting Numbers: [41, 53, 1] Generated Node #0,2: 69:[41, 53, 1] Operation: 41-40=1 Exploring Operation: 41-41=0, Resulting Numbers: [53, 40, 0] Generated Node #0,3: 69:[53, 40, 0] Operation: 41-41=0 Exploring Operation: 41/41=1, Resulting Numbers: [53, 40, 1] Generated Node #0,4: 69:[53, 40, 1] Operation: 41/41=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[53, 40, 1], Operations: ['41/41=1'] Exploring Operation: 53*1=53, Resulting Numbers: [40, 53] Generated Node #0,4,0: 69:[40, 53] Operation: 53*1=53 Exploring Operation: 53+40=93, Resulting Numbers: [1, 93] Generated Node #0,4,1: 69:[1, 93] Operation: 53+40=93 Exploring Operation: 40-1=39, Resulting Numbers: [53, 39] Generated Node #0,4,2: 69:[53, 39] Operation: 40-1=39 Exploring Operation: 53+1=54, Resulting Numbers: [40, 54] Generated Node #0,4,3: 69:[40, 54] Operation: 53+1=54 Exploring Operation: 53-40=13, Resulting Numbers: [1, 13] Generated Node #0,4,4: 69:[1, 13] Operation: 53-40=13 Moving to Node #0,4,4 Current State: 69:[1, 13], Operations: ['41/41=1', '53-40=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[1, 93], Operations: ['41/41=1', '53+40=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[53, 39], Operations: ['41/41=1', '40-1=39'] Exploring Operation: 53*39=2067, Resulting Numbers: [2067] 2067,69 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 53+39=92, Resulting Numbers: [92] 92,69 unequal: No Solution Moving to Node #0,4,3 Current State: 69:[40, 54], Operations: ['41/41=1', '53+1=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[40, 53], Operations: ['41/41=1', '53*1=53'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,69 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[41, 53, 1], Operations: ['41-40=1'] Exploring Operation: 53+1=54, Resulting Numbers: [41, 54] Generated Node #0,1,0: 69:[41, 54] Operation: 53+1=54 Exploring Operation: 41+53=94, Resulting Numbers: [1, 94] Generated Node #0,1,1: 69:[1, 94] Operation: 41+53=94 Exploring Operation: 53-41=12, Resulting Numbers: [1, 12] Generated Node #0,1,2: 69:[1, 12] Operation: 53-41=12 Exploring Operation: 41*1=41, Resulting Numbers: [53, 41] Generated Node #0,1,3: 69:[53, 41] Operation: 41*1=41 Exploring Operation: 41-1=40, Resulting Numbers: [53, 40] Generated Node #0,1,4: 69:[53, 40] Operation: 41-1=40 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[1, 12], Operations: ['41-40=1', '53-41=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[1, 94], Operations: ['41-40=1', '41+53=94'] Exploring Operation: 1*94=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[41, 54], Operations: ['41-40=1', '53+1=54'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,69 unequal: No Solution Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 69:[53, 40], Operations: ['41-40=1', '41-1=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,69 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[53, 41], Operations: ['41-40=1', '41*1=41'] Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,69 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[41, 53, 1], Operations: ['41-40=1'] Exploring Operation: 53-41=12, Resulting Numbers: [1, 12] Generated Node #0,2,0: 69:[1, 12] Operation: 53-41=12 Exploring Operation: 41+53=94, Resulting Numbers: [1, 94] Generated Node #0,2,1: 69:[1, 94] Operation: 41+53=94 Exploring Operation: 53+1=54, Resulting Numbers: [41, 54] Generated Node #0,2,2: 69:[41, 54] Operation: 53+1=54 Exploring Operation: 41-1=40, Resulting Numbers: [53, 40] Generated Node #0,2,3: 69:[53, 40] Operation: 41-1=40 Exploring Operation: 41*1=41, Resulting Numbers: [53, 41] Generated Node #0,2,4: 69:[53, 41] Operation: 41*1=41 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[1, 12], Operations: ['41-40=1', '53-41=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[1, 94], Operations: ['41-40=1', '41+53=94'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 1*94=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[41, 54], Operations: ['41-40=1', '53+1=54'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,69 unequal: No Solution Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 69:[53, 40], Operations: ['41-40=1', '41-1=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,69 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 69:[53, 41], Operations: ['41-40=1', '41*1=41'] Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,69 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[53, 40, 0], Operations: ['41-41=0'] Exploring Operation: 53-40=13, Resulting Numbers: [0, 13] Generated Node #0,3,0: 69:[0, 13] Operation: 53-40=13 Exploring Operation: 40*0=0, Resulting Numbers: [53, 0] Generated Node #0,3,1: 69:[53, 0] Operation: 40*0=0 Exploring Operation: 53*0=0, Resulting Numbers: [40, 0] Generated Node #0,3,2: 69:[40, 0] Operation: 53*0=0 Exploring Operation: 53+0=53, Resulting Numbers: [40, 53] Generated Node #0,3,3: 69:[40, 53] Operation: 53+0=53 Exploring Operation: 53+40=93, Resulting Numbers: [0, 93] Generated Node #0,3,4: 69:[0, 93] Operation: 53+40=93 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[0, 13], Operations: ['41-41=0', '53-40=13'] Exploring Operation: 0+13=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 0*13=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 13-0=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 69:[53, 0], Operations: ['41-41=0', '40*0=0'] Exploring Operation: 53+0=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 53-0=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 53*0=0, Resulting Numbers: [0] 0,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 69:[40, 0], Operations: ['41-41=0', '53*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 40-0=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 40*0=0, Resulting Numbers: [0] 0,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 69:[0, 93], Operations: ['41-41=0', '53+40=93'] Exploring Operation: 93-0=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 0+93=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 0*93=0, Resulting Numbers: [0] 0,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 69:[40, 53], Operations: ['41-41=0', '53+0=53'] Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,69 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[41, 40, 12], Operations: ['53-41=12'] Exploring Operation: 41-40=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 69:[12, 1] Operation: 41-40=1 Exploring Operation: 40-12=28, Resulting Numbers: [41, 28] Generated Node #0,0,1: 69:[41, 28] Operation: 40-12=28 Exploring Operation: 41+40=81, Resulting Numbers: [12, 81] Generated Node #0,0,2: 69:[12, 81] Operation: 41+40=81 Exploring Operation: 41-12=29, Resulting Numbers: [40, 29] Generated Node #0,0,3: 69:[40, 29] Operation: 41-12=29 Exploring Operation: 41+12=53, Resulting Numbers: [40, 53] Generated Node #0,0,4: 69:[40, 53] Operation: 41+12=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[12, 1], Operations: ['53-41=12', '41-40=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[12, 81], Operations: ['53-41=12', '41+40=81'] Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,69 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[41, 41, 53, 40], Operations: [] Exploring Operation: 53-41=12, Resulting Numbers: [41, 40, 12] Generated Node #0,0: 69:[41, 40, 12] Operation: 53-41=12 Moving to Node #0,0 Current State: 69:[41, 40, 12], Operations: ['53-41=12'] Exploring Operation: 41+40=81, Resulting Numbers: [12, 81] Generated Node #0,0,2: 69:[12, 81] Operation: 41+40=81 Moving to Node #0,0,2 Current State: 69:[12, 81], Operations: ['53-41=12', '41+40=81'] Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.907986
hs_5
mult_heuristic
[ 40, 47, 28, 23 ]
36
[ "40+47=87", "28+23=51", "87-51=36" ]
Current State: 36:[40, 47, 28, 23], Operations: [] Exploring Operation: 40+47=87, Resulting Numbers: [28, 23, 87] Generated Node #2: [28, 23, 87] from Operation: 40+47=87 Current State: 36:[28, 23, 87], Operations: ['40+47=87'] Exploring Operation: 28+23=51, Resulting Numbers: [87, 51] Generated Node #3: [87, 51] from Operation: 28+23=51 Current State: 36:[87, 51], Operations: ['40+47=87', '28+23=51'] Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[40, 47, 28, 23], Operations: [] Exploring Operation: 47-40=7, Resulting Numbers: [28, 23, 7] Generated Node #0,0: 36:[28, 23, 7] Operation: 47-40=7 Exploring Operation: 47-28=19, Resulting Numbers: [40, 23, 19] Generated Node #0,1: 36:[40, 23, 19] Operation: 47-28=19 Moving to Node #0,1 Current State: 36:[40, 23, 19], Operations: ['47-28=19'] Exploring Operation: 40-23=17, Resulting Numbers: [19, 17] Generated Node #0,1,0: 36:[19, 17] Operation: 40-23=17 Exploring Operation: 23-19=4, Resulting Numbers: [40, 4] Generated Node #0,1,1: 36:[40, 4] Operation: 23-19=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[19, 17], Operations: ['47-28=19', '40-23=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[40, 47, 28, 23], Operations: [] Exploring Operation: 47-28=19, Resulting Numbers: [40, 23, 19] Generated Node #0,1: 36:[40, 23, 19] Operation: 47-28=19 Moving to Node #0,1 Current State: 36:[40, 23, 19], Operations: ['47-28=19'] Exploring Operation: 40-23=17, Resulting Numbers: [19, 17] Generated Node #0,1,0: 36:[19, 17] Operation: 40-23=17 Moving to Node #0,1,0 Current State: 36:[19, 17], Operations: ['47-28=19', '40-23=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 97, 76, 85, 24 ]
64
[ "97+76=173", "85+24=109", "173-109=64" ]
Current State: 64:[97, 76, 85, 24], Operations: [] Exploring Operation: 97+76=173, Resulting Numbers: [85, 24, 173] Generated Node #2: [85, 24, 173] from Operation: 97+76=173 Current State: 64:[85, 24, 173], Operations: ['97+76=173'] Exploring Operation: 85+24=109, Resulting Numbers: [173, 109] Generated Node #3: [173, 109] from Operation: 85+24=109 Current State: 64:[173, 109], Operations: ['97+76=173', '85+24=109'] Exploring Operation: 173-109=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[97, 76, 85, 24], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [85, 24, 21] Generated Node #0,0: 64:[85, 24, 21] Operation: 97-76=21 Exploring Operation: 97-24=73, Resulting Numbers: [76, 85, 73] Generated Node #0,1: 64:[76, 85, 73] Operation: 97-24=73 Exploring Operation: 85-76=9, Resulting Numbers: [97, 24, 9] Generated Node #0,2: 64:[97, 24, 9] Operation: 85-76=9 Exploring Operation: 97-85=12, Resulting Numbers: [76, 24, 12] Generated Node #0,3: 64:[76, 24, 12] Operation: 97-85=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[76, 24, 12], Operations: ['97-85=12'] Exploring Operation: 76-24=52, Resulting Numbers: [12, 52] Generated Node #0,3,0: 64:[12, 52] Operation: 76-24=52 Exploring Operation: 24/12=2, Resulting Numbers: [76, 2] Generated Node #0,3,1: 64:[76, 2] Operation: 24/12=2 Exploring Operation: 76-12=64, Resulting Numbers: [24, 64] Generated Node #0,3,2: 64:[24, 64] Operation: 76-12=64 Exploring Operation: 24+12=36, Resulting Numbers: [76, 36] Generated Node #0,3,3: 64:[76, 36] Operation: 24+12=36 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[24, 64], Operations: ['97-85=12', '76-12=64'] Exploring Operation: 24+64=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 24*64=1536, Resulting Numbers: [1536] 1536,64 unequal: No Solution No 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: 64:[76, 2], Operations: ['97-85=12', '24/12=2'] Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,64 unequal: No Solution No 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: 64:[12, 52], Operations: ['97-85=12', '76-24=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[97, 76, 85, 24], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [76, 24, 12] Generated Node #0,3: 64:[76, 24, 12] Operation: 97-85=12 Moving to Node #0,3 Current State: 64:[76, 24, 12], Operations: ['97-85=12'] Exploring Operation: 76-24=52, Resulting Numbers: [12, 52] Generated Node #0,3,0: 64:[12, 52] Operation: 76-24=52 Moving to Node #0,3,0 Current State: 64:[12, 52], Operations: ['97-85=12', '76-24=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 2, 62, 11, 32 ]
81
[ "2*62=124", "11+32=43", "124-43=81" ]
Current State: 81:[2, 62, 11, 32], Operations: [] Exploring Operation: 2*62=124, Resulting Numbers: [11, 32, 124] Generated Node #2: [11, 32, 124] from Operation: 2*62=124 Current State: 81:[11, 32, 124], Operations: ['2*62=124'] Exploring Operation: 11+32=43, Resulting Numbers: [124, 43] Generated Node #3: [124, 43] from Operation: 11+32=43 Current State: 81:[124, 43], Operations: ['2*62=124', '11+32=43'] Exploring Operation: 124-43=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 62, 11, 32], Operations: [] Exploring Operation: 62-32=30, Resulting Numbers: [2, 11, 30] Generated Node #0,0: 81:[2, 11, 30] Operation: 62-32=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[2, 11, 30], Operations: ['62-32=30'] Exploring Operation: 11-2=9, Resulting Numbers: [30, 9] Generated Node #0,0,0: 81:[30, 9] Operation: 11-2=9 Moving to Node #0,0,0 Current State: 81:[30, 9], Operations: ['62-32=30', '11-2=9'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,81 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
[ 3, 7, 72, 45 ]
42
[ "45-7=38", "3*38=114", "114-72=42" ]
Current State: 42:[3, 7, 72, 45], Operations: [] Exploring Operation: 45-7=38, Resulting Numbers: [3, 72, 38] Generated Node #2: [3, 72, 38] from Operation: 45-7=38 Current State: 42:[3, 72, 38], Operations: ['45-7=38'] Exploring Operation: 3*38=114, Resulting Numbers: [72, 114] Generated Node #3: [72, 114] from Operation: 3*38=114 Current State: 42:[72, 114], Operations: ['45-7=38', '3*38=114'] Exploring Operation: 114-72=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[3, 7, 72, 45], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [3, 7, 27] Generated Node #0,0: 42:[3, 7, 27] Operation: 72-45=27 Exploring Operation: 72/3=24, Resulting Numbers: [7, 45, 24] Generated Node #0,1: 42:[7, 45, 24] Operation: 72/3=24 Moving to Node #0,0 Current State: 42:[3, 7, 27], Operations: ['72-45=27'] Exploring Operation: 27-7=20, Resulting Numbers: [3, 20] Generated Node #0,0,0: 42:[3, 20] Operation: 27-7=20 Exploring Operation: 27/3=9, Resulting Numbers: [7, 9] Generated Node #0,0,1: 42:[7, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[3, 20], Operations: ['72-45=27', '27-7=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[7, 9], Operations: ['72-45=27', '27/3=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,42 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: 42:[7, 45, 24], Operations: ['72/3=24'] Exploring Operation: 24-7=17, Resulting Numbers: [45, 17] Generated Node #0,1,0: 42:[45, 17] Operation: 24-7=17 Exploring Operation: 45-24=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 42:[7, 21] Operation: 45-24=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[7, 21], Operations: ['72/3=24', '45-24=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 21/7=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,1,0 Current State: 42:[45, 17], Operations: ['72/3=24', '24-7=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,42 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
[ 7, 20, 78, 92 ]
86
[ "20-7=13", "78/13=6", "92-6=86" ]
Current State: 86:[7, 20, 78, 92], Operations: [] Exploring Operation: 20-7=13, Resulting Numbers: [78, 92, 13] Generated Node #2: [78, 92, 13] from Operation: 20-7=13 Current State: 86:[78, 92, 13], Operations: ['20-7=13'] Exploring Operation: 78/13=6, Resulting Numbers: [92, 6] Generated Node #3: [92, 6] from Operation: 78/13=6 Current State: 86:[92, 6], Operations: ['20-7=13', '78/13=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[7, 20, 78, 92], Operations: [] Exploring Operation: 20+78=98, Resulting Numbers: [7, 92, 98] Generated Node #0,0: 86:[7, 92, 98] Operation: 20+78=98 Exploring Operation: 20-7=13, Resulting Numbers: [78, 92, 13] Generated Node #0,1: 86:[78, 92, 13] Operation: 20-7=13 Moving to Node #0,0 Current State: 86:[7, 92, 98], Operations: ['20+78=98'] Exploring Operation: 98-7=91, Resulting Numbers: [92, 91] Generated Node #0,0,0: 86:[92, 91] Operation: 98-7=91 Exploring Operation: 98-92=6, Resulting Numbers: [7, 6] Generated Node #0,0,1: 86:[7, 6] Operation: 98-92=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[7, 6], Operations: ['20+78=98', '98-92=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[92, 91], Operations: ['20+78=98', '98-7=91'] Exploring Operation: 92+91=183, Resulting Numbers: [183] 183,86 unequal: No Solution Exploring Operation: 92-91=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[78, 92, 13], Operations: ['20-7=13'] Exploring Operation: 78+13=91, Resulting Numbers: [92, 91] Generated Node #0,1,0: 86:[92, 91] Operation: 78+13=91 Exploring Operation: 78/13=6, Resulting Numbers: [92, 6] Generated Node #0,1,1: 86:[92, 6] Operation: 78/13=6 Moving to Node #0,1,1 Current State: 86:[92, 6], Operations: ['20-7=13', '78/13=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,86 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[7, 20, 78, 92], Operations: [] Exploring Operation: 20-7=13, Resulting Numbers: [78, 92, 13] Generated Node #0,1: 86:[78, 92, 13] Operation: 20-7=13 Moving to Node #0,1 Current State: 86:[78, 92, 13], Operations: ['20-7=13'] Exploring Operation: 78/13=6, Resulting Numbers: [92, 6] Generated Node #0,1,1: 86:[92, 6] Operation: 78/13=6 Moving to Node #0,1,1 Current State: 86:[92, 6], Operations: ['20-7=13', '78/13=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 54, 14, 2, 42 ]
36
[ "54*14=756", "42/2=21", "756/21=36" ]
Current State: 36:[54, 14, 2, 42], Operations: [] Exploring Operation: 54*14=756, Resulting Numbers: [2, 42, 756] Generated Node #2: [2, 42, 756] from Operation: 54*14=756 Current State: 36:[2, 42, 756], Operations: ['54*14=756'] Exploring Operation: 42/2=21, Resulting Numbers: [756, 21] Generated Node #3: [756, 21] from Operation: 42/2=21 Current State: 36:[756, 21], Operations: ['54*14=756', '42/2=21'] Exploring Operation: 756/21=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[54, 14, 2, 42], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [14, 2, 12] Generated Node #0,0: 36:[14, 2, 12] Operation: 54-42=12 Exploring Operation: 54/2=27, Resulting Numbers: [14, 42, 27] Generated Node #0,1: 36:[14, 42, 27] Operation: 54/2=27 Exploring Operation: 54-14=40, Resulting Numbers: [2, 42, 40] Generated Node #0,2: 36:[2, 42, 40] Operation: 54-14=40 Moving to Node #0,0 Current State: 36:[14, 2, 12], Operations: ['54-42=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 36:[2, 2] Operation: 14-12=2 Exploring Operation: 14-2=12, Resulting Numbers: [12, 12] Generated Node #0,0,1: 36:[12, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [12, 7] Generated Node #0,0,2: 36:[12, 7] Operation: 14/2=7 Moving to Node #0,2 Current State: 36:[2, 42, 40], Operations: ['54-14=40'] Exploring Operation: 42-40=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 36:[2, 2] Operation: 42-40=2 Exploring Operation: 42-2=40, Resulting Numbers: [40, 40] Generated Node #0,2,1: 36:[40, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [40, 21] Generated Node #0,2,2: 36:[40, 21] Operation: 42/2=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[2, 2], Operations: ['54-14=40', '42-40=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[40, 21], Operations: ['54-14=40', '42/2=21'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,36 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[40, 40], Operations: ['54-14=40', '42-2=40'] Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,36 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: 36:[14, 42, 27], Operations: ['54/2=27'] Exploring Operation: 42-27=15, Resulting Numbers: [14, 15] Generated Node #0,1,0: 36:[14, 15] Operation: 42-27=15 Exploring Operation: 42/14=3, Resulting Numbers: [27, 3] Generated Node #0,1,1: 36:[27, 3] Operation: 42/14=3 Exploring Operation: 27-14=13, Resulting Numbers: [42, 13] Generated Node #0,1,2: 36:[42, 13] Operation: 27-14=13 Moving to Node #0,0,0 Current State: 36:[2, 2], Operations: ['54-42=12', '14-12=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[12, 12], Operations: ['54-42=12', '14-2=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[12, 7], Operations: ['54-42=12', '14/2=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[14, 15], Operations: ['54/2=27', '42-27=15'] Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,36 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[42, 13], Operations: ['54/2=27', '27-14=13'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[27, 3], Operations: ['54/2=27', '42/14=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,36 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 48, 25, 74 ]
62
[ "48/24=2", "74/2=37", "25+37=62" ]
Current State: 62:[24, 48, 25, 74], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [25, 74, 2] Generated Node #2: [25, 74, 2] from Operation: 48/24=2 Current State: 62:[25, 74, 2], Operations: ['48/24=2'] Exploring Operation: 74/2=37, Resulting Numbers: [25, 37] Generated Node #3: [25, 37] from Operation: 74/2=37 Current State: 62:[25, 37], Operations: ['48/24=2', '74/2=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[24, 48, 25, 74], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [25, 74, 2] Generated Node #0,0: 62:[25, 74, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [25, 74, 24] Generated Node #0,1: 62:[25, 74, 24] Operation: 48-24=24 Exploring Operation: 74-48=26, Resulting Numbers: [24, 25, 26] Generated Node #0,2: 62:[24, 25, 26] Operation: 74-48=26 Moving to Node #0,0 Current State: 62:[25, 74, 2], Operations: ['48/24=2'] Exploring Operation: 25+2=27, Resulting Numbers: [74, 27] Generated Node #0,0,0: 62:[74, 27] Operation: 25+2=27 Exploring Operation: 74-25=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 62:[2, 49] Operation: 74-25=49 Exploring Operation: 74/2=37, Resulting Numbers: [25, 37] Generated Node #0,0,2: 62:[25, 37] Operation: 74/2=37 Moving to Node #0,2 Current State: 62:[24, 25, 26], Operations: ['74-48=26'] Exploring Operation: 25-24=1, Resulting Numbers: [26, 1] Generated Node #0,2,0: 62:[26, 1] Operation: 25-24=1 Exploring Operation: 26-25=1, Resulting Numbers: [24, 1] Generated Node #0,2,1: 62:[24, 1] Operation: 26-25=1 Exploring Operation: 26-24=2, Resulting Numbers: [25, 2] Generated Node #0,2,2: 62:[25, 2] Operation: 26-24=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[26, 1], Operations: ['74-48=26', '25-24=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,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,2,2 Current State: 62:[25, 2], Operations: ['74-48=26', '26-24=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,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,2,1 Current State: 62:[24, 1], Operations: ['74-48=26', '26-25=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,62 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: 62:[25, 74, 24], Operations: ['48-24=24'] Exploring Operation: 25-24=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 62:[74, 1] Operation: 25-24=1 Exploring Operation: 74-24=50, Resulting Numbers: [25, 50] Generated Node #0,1,1: 62:[25, 50] Operation: 74-24=50 Exploring Operation: 74-25=49, Resulting Numbers: [24, 49] Generated Node #0,1,2: 62:[24, 49] Operation: 74-25=49 Moving to Node #0,0,2 Current State: 62:[25, 37], Operations: ['48/24=2', '74/2=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[24, 48, 25, 74], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [25, 74, 2] Generated Node #0,0: 62:[25, 74, 2] Operation: 48/24=2 Moving to Node #0,0 Current State: 62:[25, 74, 2], Operations: ['48/24=2'] Exploring Operation: 74/2=37, Resulting Numbers: [25, 37] Generated Node #0,0,2: 62:[25, 37] Operation: 74/2=37 Moving to Node #0,0,2 Current State: 62:[25, 37], Operations: ['48/24=2', '74/2=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 48, 67, 41, 82 ]
29
[ "48*82=3936", "3936/41=96", "96-67=29" ]
Current State: 29:[48, 67, 41, 82], Operations: [] Exploring Operation: 48*82=3936, Resulting Numbers: [67, 41, 3936] Generated Node #2: [67, 41, 3936] from Operation: 48*82=3936 Current State: 29:[67, 41, 3936], Operations: ['48*82=3936'] Exploring Operation: 3936/41=96, Resulting Numbers: [67, 96] Generated Node #3: [67, 96] from Operation: 3936/41=96 Current State: 29:[67, 96], Operations: ['48*82=3936', '3936/41=96'] Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[48, 67, 41, 82], Operations: [] Exploring Operation: 67-41=26, Resulting Numbers: [48, 82, 26] Generated Node #0,0: 29:[48, 82, 26] Operation: 67-41=26 Exploring Operation: 82-67=15, Resulting Numbers: [48, 41, 15] Generated Node #0,1: 29:[48, 41, 15] Operation: 82-67=15 Exploring Operation: 67-48=19, Resulting Numbers: [41, 82, 19] Generated Node #0,2: 29:[41, 82, 19] Operation: 67-48=19 Exploring Operation: 82-48=34, Resulting Numbers: [67, 41, 34] Generated Node #0,3: 29:[67, 41, 34] Operation: 82-48=34 Exploring Operation: 82-41=41, Resulting Numbers: [48, 67, 41] Generated Node #0,4: 29:[48, 67, 41] Operation: 82-41=41 Moving to Node #0,1 Current State: 29:[48, 41, 15], Operations: ['82-67=15'] Exploring Operation: 48-15=33, Resulting Numbers: [41, 33] Generated Node #0,1,0: 29:[41, 33] Operation: 48-15=33 Exploring Operation: 48-41=7, Resulting Numbers: [15, 7] Generated Node #0,1,1: 29:[15, 7] Operation: 48-41=7 Exploring Operation: 41-15=26, Resulting Numbers: [48, 26] Generated Node #0,1,2: 29:[48, 26] Operation: 41-15=26 Exploring Operation: 41+15=56, Resulting Numbers: [48, 56] Generated Node #0,1,3: 29:[48, 56] Operation: 41+15=56 Exploring Operation: 48+15=63, Resulting Numbers: [41, 63] Generated Node #0,1,4: 29:[41, 63] Operation: 48+15=63 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[41, 33], Operations: ['82-67=15', '48-15=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,29 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[48, 26], Operations: ['82-67=15', '41-15=26'] Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,29 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[15, 7], Operations: ['82-67=15', '48-41=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,29 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[48, 56], Operations: ['82-67=15', '41+15=56'] Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,29 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 29:[41, 63], Operations: ['82-67=15', '48+15=63'] Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,29 unequal: No Solution Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,29 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: 29:[67, 41, 34], Operations: ['82-48=34'] Exploring Operation: 41-34=7, Resulting Numbers: [67, 7] Generated Node #0,3,0: 29:[67, 7] Operation: 41-34=7 Exploring Operation: 67+41=108, Resulting Numbers: [34, 108] Generated Node #0,3,1: 29:[34, 108] Operation: 67+41=108 Exploring Operation: 67+34=101, Resulting Numbers: [41, 101] Generated Node #0,3,2: 29:[41, 101] Operation: 67+34=101 Exploring Operation: 67-34=33, Resulting Numbers: [41, 33] Generated Node #0,3,3: 29:[41, 33] Operation: 67-34=33 Exploring Operation: 67-41=26, Resulting Numbers: [34, 26] Generated Node #0,3,4: 29:[34, 26] Operation: 67-41=26 Moving to Node #0,4 Current State: 29:[48, 67, 41], Operations: ['82-41=41'] Exploring Operation: 48-41=7, Resulting Numbers: [67, 7] Generated Node #0,4,0: 29:[67, 7] Operation: 48-41=7 Exploring Operation: 67-48=19, Resulting Numbers: [41, 19] Generated Node #0,4,1: 29:[41, 19] Operation: 67-48=19 Exploring Operation: 67-41=26, Resulting Numbers: [48, 26] Generated Node #0,4,2: 29:[48, 26] Operation: 67-41=26 Exploring Operation: 48+67=115, Resulting Numbers: [41, 115] Generated Node #0,4,3: 29:[41, 115] Operation: 48+67=115 Exploring Operation: 48+41=89, Resulting Numbers: [67, 89] Generated Node #0,4,4: 29:[67, 89] Operation: 48+41=89 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[41, 19], Operations: ['82-41=41', '67-48=19'] Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 29:[48, 26], Operations: ['82-41=41', '67-41=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,29 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 29:[67, 7], Operations: ['82-41=41', '48-41=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 29:[41, 115], Operations: ['82-41=41', '48+67=115'] Exploring Operation: 41*115=4715, Resulting Numbers: [4715] 4715,29 unequal: No Solution Exploring Operation: 41+115=156, Resulting Numbers: [156] 156,29 unequal: No Solution Exploring Operation: 115-41=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 29:[67, 89], Operations: ['82-41=41', '48+41=89'] Exploring Operation: 67+89=156, Resulting Numbers: [156] 156,29 unequal: No Solution Exploring Operation: 89-67=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 67*89=5963, Resulting Numbers: [5963] 5963,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 29:[48, 82, 26], Operations: ['67-41=26'] Exploring Operation: 82+26=108, Resulting Numbers: [48, 108] Generated Node #0,0,0: 29:[48, 108] Operation: 82+26=108 Exploring Operation: 82-26=56, Resulting Numbers: [48, 56] Generated Node #0,0,1: 29:[48, 56] Operation: 82-26=56 Exploring Operation: 48+26=74, Resulting Numbers: [82, 74] Generated Node #0,0,2: 29:[82, 74] Operation: 48+26=74 Exploring Operation: 48-26=22, Resulting Numbers: [82, 22] Generated Node #0,0,3: 29:[82, 22] Operation: 48-26=22 Exploring Operation: 82-48=34, Resulting Numbers: [26, 34] Generated Node #0,0,4: 29:[26, 34] Operation: 82-48=34 Moving to Node #0,2 Current State: 29:[41, 82, 19], Operations: ['67-48=19'] Exploring Operation: 41-19=22, Resulting Numbers: [82, 22] Generated Node #0,2,0: 29:[82, 22] Operation: 41-19=22 Exploring Operation: 82/41=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 29:[19, 2] Operation: 82/41=2 Exploring Operation: 82-19=63, Resulting Numbers: [41, 63] Generated Node #0,2,2: 29:[41, 63] Operation: 82-19=63 Exploring Operation: 82-41=41, Resulting Numbers: [19, 41] Generated Node #0,2,3: 29:[19, 41] Operation: 82-41=41 Exploring Operation: 41+19=60, Resulting Numbers: [82, 60] Generated Node #0,2,4: 29:[82, 60] Operation: 41+19=60 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 29:[19, 41], Operations: ['67-48=19', '82-41=41'] Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 19*41=779, Resulting Numbers: [779] 779,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[19, 2], Operations: ['67-48=19', '82/41=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[41, 63], Operations: ['67-48=19', '82-19=63'] Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,29 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[82, 22], Operations: ['67-48=19', '41-19=22'] Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 29:[82, 60], Operations: ['67-48=19', '41+19=60'] Exploring Operation: 82+60=142, Resulting Numbers: [142] 142,29 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 82*60=4920, Resulting Numbers: [4920] 4920,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 29:[34, 26], Operations: ['82-48=34', '67-41=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,29 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[26, 34], Operations: ['67-41=26', '82-48=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,29 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[41, 33], Operations: ['82-48=34', '67-34=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[48, 56], Operations: ['67-41=26', '82-26=56'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,29 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[67, 7], Operations: ['82-48=34', '41-34=7'] Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,29 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[82, 22], Operations: ['67-41=26', '48-26=22'] Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[41, 101], Operations: ['82-48=34', '67+34=101'] Exploring Operation: 41+101=142, Resulting Numbers: [142] 142,29 unequal: No Solution Exploring Operation: 41*101=4141, Resulting Numbers: [4141] 4141,29 unequal: No Solution Exploring Operation: 101-41=60, Resulting Numbers: [60] 60,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[34, 108], Operations: ['82-48=34', '67+41=108'] Exploring Operation: 108-34=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 34+108=142, Resulting Numbers: [142] 142,29 unequal: No Solution Exploring Operation: 34*108=3672, Resulting Numbers: [3672] 3672,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[82, 74], Operations: ['67-41=26', '48+26=74'] Exploring Operation: 82*74=6068, Resulting Numbers: [6068] 6068,29 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 82+74=156, Resulting Numbers: [156] 156,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[48, 108], Operations: ['67-41=26', '82+26=108'] Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 48+108=156, Resulting Numbers: [156] 156,29 unequal: No Solution Exploring Operation: 48*108=5184, Resulting Numbers: [5184] 5184,29 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 37, 43, 78, 20 ]
82
[ "37+43=80", "80/20=4", "78+4=82" ]
Current State: 82:[37, 43, 78, 20], Operations: [] Exploring Operation: 37+43=80, Resulting Numbers: [78, 20, 80] Generated Node #2: [78, 20, 80] from Operation: 37+43=80 Current State: 82:[78, 20, 80], Operations: ['37+43=80'] Exploring Operation: 80/20=4, Resulting Numbers: [78, 4] Generated Node #3: [78, 4] from Operation: 80/20=4 Current State: 82:[78, 4], Operations: ['37+43=80', '80/20=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[37, 43, 78, 20], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [43, 20, 41] Generated Node #0,0: 82:[43, 20, 41] Operation: 78-37=41 Moving to Node #0,0 Current State: 82:[43, 20, 41], Operations: ['78-37=41'] Exploring Operation: 43-20=23, Resulting Numbers: [41, 23] Generated Node #0,0,0: 82:[41, 23] Operation: 43-20=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[41, 23], Operations: ['78-37=41', '43-20=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,82 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
[ 4, 97, 34, 17 ]
99
[ "4+97=101", "34/17=2", "101-2=99" ]
Current State: 99:[4, 97, 34, 17], Operations: [] Exploring Operation: 4+97=101, Resulting Numbers: [34, 17, 101] Generated Node #2: [34, 17, 101] from Operation: 4+97=101 Current State: 99:[34, 17, 101], Operations: ['4+97=101'] Exploring Operation: 34/17=2, Resulting Numbers: [101, 2] Generated Node #3: [101, 2] from Operation: 34/17=2 Current State: 99:[101, 2], Operations: ['4+97=101', '34/17=2'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[4, 97, 34, 17], Operations: [] Exploring Operation: 17-4=13, Resulting Numbers: [97, 34, 13] Generated Node #0,0: 99:[97, 34, 13] Operation: 17-4=13 Exploring Operation: 34/17=2, Resulting Numbers: [4, 97, 2] Generated Node #0,1: 99:[4, 97, 2] Operation: 34/17=2 Moving to Node #0,1 Current State: 99:[4, 97, 2], Operations: ['34/17=2'] Exploring Operation: 97+2=99, Resulting Numbers: [4, 99] Generated Node #0,1,0: 99:[4, 99] Operation: 97+2=99 Exploring Operation: 4+97=101, Resulting Numbers: [2, 101] Generated Node #0,1,1: 99:[2, 101] Operation: 4+97=101 Moving to Node #0,0 Current State: 99:[97, 34, 13], Operations: ['17-4=13'] Exploring Operation: 97+13=110, Resulting Numbers: [34, 110] Generated Node #0,0,0: 99:[34, 110] Operation: 97+13=110 Exploring Operation: 34-13=21, Resulting Numbers: [97, 21] Generated Node #0,0,1: 99:[97, 21] Operation: 34-13=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[34, 110], Operations: ['17-4=13', '97+13=110'] Exploring Operation: 34+110=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 110-34=76, Resulting Numbers: [76] 76,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[97, 21], Operations: ['17-4=13', '34-13=21'] Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,99 unequal: No Solution Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,99 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: 99:[4, 99], Operations: ['34/17=2', '97+2=99'] Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[2, 101], Operations: ['34/17=2', '4+97=101'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[4, 97, 34, 17], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [4, 97, 2] Generated Node #0,1: 99:[4, 97, 2] Operation: 34/17=2 Moving to Node #0,1 Current State: 99:[4, 97, 2], Operations: ['34/17=2'] Exploring Operation: 4+97=101, Resulting Numbers: [2, 101] Generated Node #0,1,1: 99:[2, 101] Operation: 4+97=101 Moving to Node #0,1,1 Current State: 99:[2, 101], Operations: ['34/17=2', '4+97=101'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 59, 82, 80, 94 ]
37
[ "82-59=23", "94-80=14", "23+14=37" ]
Current State: 37:[59, 82, 80, 94], Operations: [] Exploring Operation: 82-59=23, Resulting Numbers: [80, 94, 23] Generated Node #2: [80, 94, 23] from Operation: 82-59=23 Current State: 37:[80, 94, 23], Operations: ['82-59=23'] Exploring Operation: 94-80=14, Resulting Numbers: [23, 14] Generated Node #3: [23, 14] from Operation: 94-80=14 Current State: 37:[23, 14], Operations: ['82-59=23', '94-80=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[59, 82, 80, 94], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [59, 80, 12] Generated Node #0,0: 37:[59, 80, 12] Operation: 94-82=12 Exploring Operation: 94-59=35, Resulting Numbers: [82, 80, 35] Generated Node #0,1: 37:[82, 80, 35] Operation: 94-59=35 Exploring Operation: 82-80=2, Resulting Numbers: [59, 94, 2] Generated Node #0,2: 37:[59, 94, 2] Operation: 82-80=2 Exploring Operation: 82-59=23, Resulting Numbers: [80, 94, 23] Generated Node #0,3: 37:[80, 94, 23] Operation: 82-59=23 Exploring Operation: 94-80=14, Resulting Numbers: [59, 82, 14] Generated Node #0,4: 37:[59, 82, 14] Operation: 94-80=14 Moving to Node #0,0 Current State: 37:[59, 80, 12], Operations: ['94-82=12'] Exploring Operation: 59+12=71, Resulting Numbers: [80, 71] Generated Node #0,0,0: 37:[80, 71] Operation: 59+12=71 Exploring Operation: 80-12=68, Resulting Numbers: [59, 68] Generated Node #0,0,1: 37:[59, 68] Operation: 80-12=68 Exploring Operation: 59-12=47, Resulting Numbers: [80, 47] Generated Node #0,0,2: 37:[80, 47] Operation: 59-12=47 Exploring Operation: 80+12=92, Resulting Numbers: [59, 92] Generated Node #0,0,3: 37:[59, 92] Operation: 80+12=92 Exploring Operation: 80-59=21, Resulting Numbers: [12, 21] Generated Node #0,0,4: 37:[12, 21] Operation: 80-59=21 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 37:[12, 21], Operations: ['94-82=12', '80-59=21'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[59, 68], Operations: ['94-82=12', '80-12=68'] Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,37 unequal: No Solution Exploring Operation: 59*68=4012, Resulting Numbers: [4012] 4012,37 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[80, 47], Operations: ['94-82=12', '59-12=47'] Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,37 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[80, 71], Operations: ['94-82=12', '59+12=71'] Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 80+71=151, Resulting Numbers: [151] 151,37 unequal: No Solution Exploring Operation: 80*71=5680, Resulting Numbers: [5680] 5680,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[59, 92], Operations: ['94-82=12', '80+12=92'] Exploring Operation: 92-59=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 59+92=151, Resulting Numbers: [151] 151,37 unequal: No Solution Exploring Operation: 59*92=5428, Resulting Numbers: [5428] 5428,37 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: 37:[59, 82, 14], Operations: ['94-80=14'] Exploring Operation: 59+14=73, Resulting Numbers: [82, 73] Generated Node #0,4,0: 37:[82, 73] Operation: 59+14=73 Exploring Operation: 59-14=45, Resulting Numbers: [82, 45] Generated Node #0,4,1: 37:[82, 45] Operation: 59-14=45 Exploring Operation: 82-59=23, Resulting Numbers: [14, 23] Generated Node #0,4,2: 37:[14, 23] Operation: 82-59=23 Exploring Operation: 82+14=96, Resulting Numbers: [59, 96] Generated Node #0,4,3: 37:[59, 96] Operation: 82+14=96 Exploring Operation: 82-14=68, Resulting Numbers: [59, 68] Generated Node #0,4,4: 37:[59, 68] Operation: 82-14=68 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 37:[14, 23], Operations: ['94-80=14', '82-59=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[59, 82, 80, 94], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [59, 82, 14] Generated Node #0,4: 37:[59, 82, 14] Operation: 94-80=14 Moving to Node #0,4 Current State: 37:[59, 82, 14], Operations: ['94-80=14'] Exploring Operation: 82-59=23, Resulting Numbers: [14, 23] Generated Node #0,4,2: 37:[14, 23] Operation: 82-59=23 Moving to Node #0,4,2 Current State: 37:[14, 23], Operations: ['94-80=14', '82-59=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 41, 77, 98, 85 ]
23
[ "77-41=36", "98-85=13", "36-13=23" ]
Current State: 23:[41, 77, 98, 85], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [98, 85, 36] Generated Node #2: [98, 85, 36] from Operation: 77-41=36 Current State: 23:[98, 85, 36], Operations: ['77-41=36'] Exploring Operation: 98-85=13, Resulting Numbers: [36, 13] Generated Node #3: [36, 13] from Operation: 98-85=13 Current State: 23:[36, 13], Operations: ['77-41=36', '98-85=13'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[41, 77, 98, 85], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [41, 85, 21] Generated Node #0,0: 23:[41, 85, 21] Operation: 98-77=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[41, 85, 21], Operations: ['98-77=21'] Exploring Operation: 85-41=44, Resulting Numbers: [21, 44] Generated Node #0,0,0: 23:[21, 44] Operation: 85-41=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[21, 44], Operations: ['98-77=21', '85-41=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[41, 77, 98, 85], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [41, 85, 21] Generated Node #0,0: 23:[41, 85, 21] Operation: 98-77=21 Moving to Node #0,0 Current State: 23:[41, 85, 21], Operations: ['98-77=21'] Exploring Operation: 85-41=44, Resulting Numbers: [21, 44] Generated Node #0,0,0: 23:[21, 44] Operation: 85-41=44 Moving to Node #0,0,0 Current State: 23:[21, 44], Operations: ['98-77=21', '85-41=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 9, 57, 41, 62 ]
45
[ "9+57=66", "62-41=21", "66-21=45" ]
Current State: 45:[9, 57, 41, 62], Operations: [] Exploring Operation: 9+57=66, Resulting Numbers: [41, 62, 66] Generated Node #2: [41, 62, 66] from Operation: 9+57=66 Current State: 45:[41, 62, 66], Operations: ['9+57=66'] Exploring Operation: 62-41=21, Resulting Numbers: [66, 21] Generated Node #3: [66, 21] from Operation: 62-41=21 Current State: 45:[66, 21], Operations: ['9+57=66', '62-41=21'] Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[9, 57, 41, 62], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [9, 41, 5] Generated Node #0,0: 45:[9, 41, 5] Operation: 62-57=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[9, 41, 5], Operations: ['62-57=5'] Exploring Operation: 41+5=46, Resulting Numbers: [9, 46] Generated Node #0,0,0: 45:[9, 46] Operation: 41+5=46 Moving to Node #0,0,0 Current State: 45:[9, 46], Operations: ['62-57=5', '41+5=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 60, 97, 99 ]
10
[ "60/3=20", "99-97=2", "20/2=10" ]
Current State: 10:[3, 60, 97, 99], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [97, 99, 20] Generated Node #2: [97, 99, 20] from Operation: 60/3=20 Current State: 10:[97, 99, 20], Operations: ['60/3=20'] Exploring Operation: 99-97=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 99-97=2 Current State: 10:[20, 2], Operations: ['60/3=20', '99-97=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[3, 60, 97, 99], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [3, 99, 37] Generated Node #0,0: 10:[3, 99, 37] Operation: 97-60=37 Exploring Operation: 99-60=39, Resulting Numbers: [3, 97, 39] Generated Node #0,1: 10:[3, 97, 39] Operation: 99-60=39 Exploring Operation: 99-97=2, Resulting Numbers: [3, 60, 2] Generated Node #0,2: 10:[3, 60, 2] Operation: 99-97=2 Moving to Node #0,2 Current State: 10:[3, 60, 2], Operations: ['99-97=2'] Exploring Operation: 60/3=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 10:[2, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [2, 57] Generated Node #0,2,1: 10:[2, 57] Operation: 60-3=57 Exploring Operation: 60/2=30, Resulting Numbers: [3, 30] Generated Node #0,2,2: 10:[3, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[2, 20], Operations: ['99-97=2', '60/3=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[3, 60, 97, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [3, 60, 2] Generated Node #0,2: 10:[3, 60, 2] Operation: 99-97=2 Moving to Node #0,2 Current State: 10:[3, 60, 2], Operations: ['99-97=2'] Exploring Operation: 60/3=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 10:[2, 20] Operation: 60/3=20 Moving to Node #0,2,0 Current State: 10:[2, 20], Operations: ['99-97=2', '60/3=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 68, 11, 84, 65 ]
76
[ "68-11=57", "84-65=19", "57+19=76" ]
Current State: 76:[68, 11, 84, 65], Operations: [] Exploring Operation: 68-11=57, Resulting Numbers: [84, 65, 57] Generated Node #2: [84, 65, 57] from Operation: 68-11=57 Current State: 76:[84, 65, 57], Operations: ['68-11=57'] Exploring Operation: 84-65=19, Resulting Numbers: [57, 19] Generated Node #3: [57, 19] from Operation: 84-65=19 Current State: 76:[57, 19], Operations: ['68-11=57', '84-65=19'] Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[68, 11, 84, 65], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [68, 11, 19] Generated Node #0,0: 76:[68, 11, 19] Operation: 84-65=19 Exploring Operation: 68-65=3, Resulting Numbers: [11, 84, 3] Generated Node #0,1: 76:[11, 84, 3] Operation: 68-65=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[68, 11, 19], Operations: ['84-65=19'] Exploring Operation: 68+11=79, Resulting Numbers: [19, 79] Generated Node #0,0,0: 76:[19, 79] Operation: 68+11=79 Exploring Operation: 19-11=8, Resulting Numbers: [68, 8] Generated Node #0,0,1: 76:[68, 8] Operation: 19-11=8 Moving to Node #0,0,0 Current State: 76:[19, 79], Operations: ['84-65=19', '68+11=79'] Exploring Operation: 19+79=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[68, 8], Operations: ['84-65=19', '19-11=8'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[68, 11, 84, 65], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [68, 11, 19] Generated Node #0,0: 76:[68, 11, 19] Operation: 84-65=19 Moving to Node #0,0 Current State: 76:[68, 11, 19], Operations: ['84-65=19'] Exploring Operation: 19-11=8, Resulting Numbers: [68, 8] Generated Node #0,0,1: 76:[68, 8] Operation: 19-11=8 Moving to Node #0,0,1 Current State: 76:[68, 8], Operations: ['84-65=19', '19-11=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 25, 91, 8, 84 ]
15
[ "91+84=175", "175/25=7", "8+7=15" ]
Current State: 15:[25, 91, 8, 84], Operations: [] Exploring Operation: 91+84=175, Resulting Numbers: [25, 8, 175] Generated Node #2: [25, 8, 175] from Operation: 91+84=175 Current State: 15:[25, 8, 175], Operations: ['91+84=175'] Exploring Operation: 175/25=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 175/25=7 Current State: 15:[8, 7], Operations: ['91+84=175', '175/25=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[25, 91, 8, 84], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [8, 84, 66] Generated Node #0,0: 15:[8, 84, 66] Operation: 91-25=66 Exploring Operation: 91-84=7, Resulting Numbers: [25, 8, 7] Generated Node #0,1: 15:[25, 8, 7] Operation: 91-84=7 Exploring Operation: 25-8=17, Resulting Numbers: [91, 84, 17] Generated Node #0,2: 15:[91, 84, 17] Operation: 25-8=17 Exploring Operation: 84-25=59, Resulting Numbers: [91, 8, 59] Generated Node #0,3: 15:[91, 8, 59] Operation: 84-25=59 Moving to Node #0,1 Current State: 15:[25, 8, 7], Operations: ['91-84=7'] Exploring Operation: 8+7=15, Resulting Numbers: [25, 15] Generated Node #0,1,0: 15:[25, 15] Operation: 8+7=15 Exploring Operation: 25-7=18, Resulting Numbers: [8, 18] Generated Node #0,1,1: 15:[8, 18] Operation: 25-7=18 Exploring Operation: 25-8=17, Resulting Numbers: [7, 17] Generated Node #0,1,2: 15:[7, 17] Operation: 25-8=17 Exploring Operation: 8-7=1, Resulting Numbers: [25, 1] Generated Node #0,1,3: 15:[25, 1] Operation: 8-7=1 Moving to Node #0,3 Current State: 15:[91, 8, 59], Operations: ['84-25=59'] Exploring Operation: 91-8=83, Resulting Numbers: [59, 83] Generated Node #0,3,0: 15:[59, 83] Operation: 91-8=83 Exploring Operation: 91+8=99, Resulting Numbers: [59, 99] Generated Node #0,3,1: 15:[59, 99] Operation: 91+8=99 Exploring Operation: 91-59=32, Resulting Numbers: [8, 32] Generated Node #0,3,2: 15:[8, 32] Operation: 91-59=32 Exploring Operation: 59-8=51, Resulting Numbers: [91, 51] Generated Node #0,3,3: 15:[91, 51] Operation: 59-8=51 Moving to Node #0,0 Current State: 15:[8, 84, 66], Operations: ['91-25=66'] Exploring Operation: 84-66=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 15:[8, 18] Operation: 84-66=18 Exploring Operation: 66-8=58, Resulting Numbers: [84, 58] Generated Node #0,0,1: 15:[84, 58] Operation: 66-8=58 Exploring Operation: 84-8=76, Resulting Numbers: [66, 76] Generated Node #0,0,2: 15:[66, 76] Operation: 84-8=76 Exploring Operation: 8+84=92, Resulting Numbers: [66, 92] Generated Node #0,0,3: 15:[66, 92] Operation: 8+84=92 Moving to Node #0,2 Current State: 15:[91, 84, 17], Operations: ['25-8=17'] Exploring Operation: 91-84=7, Resulting Numbers: [17, 7] Generated Node #0,2,0: 15:[17, 7] Operation: 91-84=7 Exploring Operation: 84-17=67, Resulting Numbers: [91, 67] Generated Node #0,2,1: 15:[91, 67] Operation: 84-17=67 Exploring Operation: 91-17=74, Resulting Numbers: [84, 74] Generated Node #0,2,2: 15:[84, 74] Operation: 91-17=74 Exploring Operation: 91+84=175, Resulting Numbers: [17, 175] Generated Node #0,2,3: 15:[17, 175] Operation: 91+84=175 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[17, 7], Operations: ['25-8=17', '91-84=7'] Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,15 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[91, 67], Operations: ['25-8=17', '84-17=67'] Exploring Operation: 91*67=6097, Resulting Numbers: [6097] 6097,15 unequal: No Solution Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 91+67=158, Resulting Numbers: [158] 158,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[84, 74], Operations: ['25-8=17', '91-17=74'] Exploring Operation: 84+74=158, Resulting Numbers: [158] 158,15 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 84*74=6216, Resulting Numbers: [6216] 6216,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[17, 175], Operations: ['25-8=17', '91+84=175'] Exploring Operation: 17*175=2975, Resulting Numbers: [2975] 2975,15 unequal: No Solution Exploring Operation: 17+175=192, Resulting Numbers: [192] 192,15 unequal: No Solution Exploring Operation: 175-17=158, Resulting Numbers: [158] 158,15 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: 15:[7, 17], Operations: ['91-84=7', '25-8=17'] Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,15 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[8, 18], Operations: ['91-84=7', '25-7=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[8, 18], Operations: ['91-25=66', '84-66=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[25, 15], Operations: ['91-84=7', '8+7=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,15 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[25, 1], Operations: ['91-84=7', '8-7=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[8, 32], Operations: ['84-25=59', '91-59=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,15 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[91, 51], Operations: ['84-25=59', '59-8=51'] Exploring Operation: 91*51=4641, Resulting Numbers: [4641] 4641,15 unequal: No Solution Exploring Operation: 91-51=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 91+51=142, Resulting Numbers: [142] 142,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[59, 83], Operations: ['84-25=59', '91-8=83'] Exploring Operation: 59+83=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 59*83=4897, Resulting Numbers: [4897] 4897,15 unequal: No Solution Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[84, 58], Operations: ['91-25=66', '66-8=58'] Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 84*58=4872, Resulting Numbers: [4872] 4872,15 unequal: No Solution Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[66, 76], Operations: ['91-25=66', '84-8=76'] Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 66+76=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 66*76=5016, Resulting Numbers: [5016] 5016,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[59, 99], Operations: ['84-25=59', '91+8=99'] Exploring Operation: 59*99=5841, Resulting Numbers: [5841] 5841,15 unequal: No Solution Exploring Operation: 59+99=158, Resulting Numbers: [158] 158,15 unequal: No Solution Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[66, 92], Operations: ['91-25=66', '8+84=92'] Exploring Operation: 66*92=6072, Resulting Numbers: [6072] 6072,15 unequal: No Solution Exploring Operation: 66+92=158, Resulting Numbers: [158] 158,15 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,15 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 19, 68, 87, 3 ]
41
[ "68-19=49", "87+3=90", "90-49=41" ]
Current State: 41:[19, 68, 87, 3], Operations: [] Exploring Operation: 68-19=49, Resulting Numbers: [87, 3, 49] Generated Node #2: [87, 3, 49] from Operation: 68-19=49 Current State: 41:[87, 3, 49], Operations: ['68-19=49'] Exploring Operation: 87+3=90, Resulting Numbers: [49, 90] Generated Node #3: [49, 90] from Operation: 87+3=90 Current State: 41:[49, 90], Operations: ['68-19=49', '87+3=90'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[19, 68, 87, 3], Operations: [] Exploring Operation: 19*3=57, Resulting Numbers: [68, 87, 57] Generated Node #0,0: 41:[68, 87, 57] Operation: 19*3=57 Exploring Operation: 68-19=49, Resulting Numbers: [87, 3, 49] Generated Node #0,1: 41:[87, 3, 49] Operation: 68-19=49 Exploring Operation: 87/3=29, Resulting Numbers: [19, 68, 29] Generated Node #0,2: 41:[19, 68, 29] Operation: 87/3=29 Exploring Operation: 87-19=68, Resulting Numbers: [68, 3, 68] Generated Node #0,3: 41:[68, 3, 68] Operation: 87-19=68 Exploring Operation: 87-68=19, Resulting Numbers: [19, 3, 19] Generated Node #0,4: 41:[19, 3, 19] Operation: 87-68=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[19, 68, 29], Operations: ['87/3=29'] Exploring Operation: 19+29=48, Resulting Numbers: [68, 48] Generated Node #0,2,0: 41:[68, 48] Operation: 19+29=48 Exploring Operation: 29-19=10, Resulting Numbers: [68, 10] Generated Node #0,2,1: 41:[68, 10] Operation: 29-19=10 Exploring Operation: 68-19=49, Resulting Numbers: [29, 49] Generated Node #0,2,2: 41:[29, 49] Operation: 68-19=49 Exploring Operation: 68-29=39, Resulting Numbers: [19, 39] Generated Node #0,2,3: 41:[19, 39] Operation: 68-29=39 Exploring Operation: 19+68=87, Resulting Numbers: [29, 87] Generated Node #0,2,4: 41:[29, 87] Operation: 19+68=87 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[29, 49], Operations: ['87/3=29', '68-19=49'] Exploring Operation: 29*49=1421, Resulting Numbers: [1421] 1421,41 unequal: No Solution Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,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,2,3 Current State: 41:[19, 39], Operations: ['87/3=29', '68-29=39'] Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,41 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,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,2,0 Current State: 41:[68, 48], Operations: ['87/3=29', '19+29=48'] Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,41 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,41 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,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,2,1 Current State: 41:[68, 10], Operations: ['87/3=29', '29-19=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,41 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,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,2,4 Current State: 41:[29, 87], Operations: ['87/3=29', '19+68=87'] Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 29*87=2523, Resulting Numbers: [2523] 2523,41 unequal: No Solution Exploring Operation: 29+87=116, Resulting Numbers: [116] 116,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,4 Current State: 41:[19, 3, 19], Operations: ['87-68=19'] Exploring Operation: 19*3=57, Resulting Numbers: [19, 57] Generated Node #0,4,0: 41:[19, 57] Operation: 19*3=57 Exploring Operation: 19+3=22, Resulting Numbers: [19, 22] Generated Node #0,4,1: 41:[19, 22] Operation: 19+3=22 Exploring Operation: 19+19=38, Resulting Numbers: [3, 38] Generated Node #0,4,2: 41:[3, 38] Operation: 19+19=38 Exploring Operation: 3+19=22, Resulting Numbers: [19, 22] Generated Node #0,4,3: 41:[19, 22] Operation: 3+19=22 Exploring Operation: 3*19=57, Resulting Numbers: [19, 57] Generated Node #0,4,4: 41:[19, 57] Operation: 3*19=57 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[19, 57], Operations: ['87-68=19', '19*3=57'] Exploring Operation: 19*57=1083, Resulting Numbers: [1083] 1083,41 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,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,4,4 Current State: 41:[19, 57], Operations: ['87-68=19', '3*19=57'] Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 19*57=1083, Resulting Numbers: [1083] 1083,41 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,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,4,1 Current State: 41:[19, 22], Operations: ['87-68=19', '19+3=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,41 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[19, 68, 87, 3], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [19, 3, 19] Generated Node #0,4: 41:[19, 3, 19] Operation: 87-68=19 Moving to Node #0,4 Current State: 41:[19, 3, 19], Operations: ['87-68=19'] Exploring Operation: 19+3=22, Resulting Numbers: [19, 22] Generated Node #0,4,1: 41:[19, 22] Operation: 19+3=22 Moving to Node #0,4,1 Current State: 41:[19, 22], Operations: ['87-68=19', '19+3=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 66, 13, 46, 17 ]
82
[ "66-13=53", "46-17=29", "53+29=82" ]
Current State: 82:[66, 13, 46, 17], Operations: [] Exploring Operation: 66-13=53, Resulting Numbers: [46, 17, 53] Generated Node #2: [46, 17, 53] from Operation: 66-13=53 Current State: 82:[46, 17, 53], Operations: ['66-13=53'] Exploring Operation: 46-17=29, Resulting Numbers: [53, 29] Generated Node #3: [53, 29] from Operation: 46-17=29 Current State: 82:[53, 29], Operations: ['66-13=53', '46-17=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[66, 13, 46, 17], Operations: [] Exploring Operation: 66+17=83, Resulting Numbers: [13, 46, 83] Generated Node #0,0: 82:[13, 46, 83] Operation: 66+17=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[13, 46, 83], Operations: ['66+17=83'] Exploring Operation: 46-13=33, Resulting Numbers: [83, 33] Generated Node #0,0,0: 82:[83, 33] Operation: 46-13=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[83, 33], Operations: ['66+17=83', '46-13=33'] Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 9, 22, 83 ]
51
[ "3*83=249", "9*22=198", "249-198=51" ]
Current State: 51:[3, 9, 22, 83], Operations: [] Exploring Operation: 3*83=249, Resulting Numbers: [9, 22, 249] Generated Node #2: [9, 22, 249] from Operation: 3*83=249 Current State: 51:[9, 22, 249], Operations: ['3*83=249'] Exploring Operation: 9*22=198, Resulting Numbers: [249, 198] Generated Node #3: [249, 198] from Operation: 9*22=198 Current State: 51:[249, 198], Operations: ['3*83=249', '9*22=198'] Exploring Operation: 249-198=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[3, 9, 22, 83], Operations: [] Exploring Operation: 83-22=61, Resulting Numbers: [3, 9, 61] Generated Node #0,0: 51:[3, 9, 61] Operation: 83-22=61 Exploring Operation: 83-9=74, Resulting Numbers: [3, 22, 74] Generated Node #0,1: 51:[3, 22, 74] Operation: 83-9=74 Exploring Operation: 22-9=13, Resulting Numbers: [3, 83, 13] Generated Node #0,2: 51:[3, 83, 13] Operation: 22-9=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[3, 9, 61], Operations: ['83-22=61'] Exploring Operation: 9-3=6, Resulting Numbers: [61, 6] Generated Node #0,0,0: 51:[61, 6] Operation: 9-3=6 Exploring Operation: 61-9=52, Resulting Numbers: [3, 52] Generated Node #0,0,1: 51:[3, 52] Operation: 61-9=52 Exploring Operation: 9/3=3, Resulting Numbers: [61, 3] Generated Node #0,0,2: 51:[61, 3] Operation: 9/3=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[3, 52], Operations: ['83-22=61', '61-9=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,51 unequal: No Solution No 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: 51:[61, 3], Operations: ['83-22=61', '9/3=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,51 unequal: No Solution No 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: 51:[61, 6], Operations: ['83-22=61', '9-3=6'] Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,51 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,51 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: 51:[3, 22, 74], Operations: ['83-9=74'] Exploring Operation: 74-22=52, Resulting Numbers: [3, 52] Generated Node #0,1,0: 51:[3, 52] Operation: 74-22=52 Exploring Operation: 22-3=19, Resulting Numbers: [74, 19] Generated Node #0,1,1: 51:[74, 19] Operation: 22-3=19 Exploring Operation: 74-3=71, Resulting Numbers: [22, 71] Generated Node #0,1,2: 51:[22, 71] Operation: 74-3=71 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[3, 52], Operations: ['83-9=74', '74-22=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,51 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,51 unequal: No Solution No 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: 51:[74, 19], Operations: ['83-9=74', '22-3=19'] Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,51 unequal: No Solution Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,51 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,51 unequal: No Solution No 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: 51:[22, 71], Operations: ['83-9=74', '74-3=71'] Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 22*71=1562, Resulting Numbers: [1562] 1562,51 unequal: No Solution Exploring Operation: 22+71=93, Resulting Numbers: [93] 93,51 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: 51:[3, 83, 13], Operations: ['22-9=13'] Exploring Operation: 83-3=80, Resulting Numbers: [13, 80] Generated Node #0,2,0: 51:[13, 80] Operation: 83-3=80 Exploring Operation: 83-13=70, Resulting Numbers: [3, 70] Generated Node #0,2,1: 51:[3, 70] Operation: 83-13=70 Exploring Operation: 3+13=16, Resulting Numbers: [83, 16] Generated Node #0,2,2: 51:[83, 16] Operation: 3+13=16 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[3, 70], Operations: ['22-9=13', '83-13=70'] Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,51 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,51 unequal: No Solution No 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: 51:[13, 80], Operations: ['22-9=13', '83-3=80'] Exploring Operation: 13*80=1040, Resulting Numbers: [1040] 1040,51 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,51 unequal: No Solution No 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: 51:[83, 16], Operations: ['22-9=13', '3+13=16'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,51 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,51 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
[ 2, 21, 93, 12 ]
48
[ "2*12=24", "93-21=72", "72-24=48" ]
Current State: 48:[2, 21, 93, 12], Operations: [] Exploring Operation: 2*12=24, Resulting Numbers: [21, 93, 24] Generated Node #2: [21, 93, 24] from Operation: 2*12=24 Current State: 48:[21, 93, 24], Operations: ['2*12=24'] Exploring Operation: 93-21=72, Resulting Numbers: [24, 72] Generated Node #3: [24, 72] from Operation: 93-21=72 Current State: 48:[24, 72], Operations: ['2*12=24', '93-21=72'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 21, 93, 12], Operations: [] Exploring Operation: 93-12=81, Resulting Numbers: [2, 21, 81] Generated Node #0,0: 48:[2, 21, 81] Operation: 93-12=81 Exploring Operation: 93-21=72, Resulting Numbers: [2, 12, 72] Generated Node #0,1: 48:[2, 12, 72] Operation: 93-21=72 Moving to Node #0,1 Current State: 48:[2, 12, 72], Operations: ['93-21=72'] Exploring Operation: 72/12=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 48:[2, 6] Operation: 72/12=6 Exploring Operation: 72/2=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 48:[12, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[2, 6], Operations: ['93-21=72', '72/12=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[12, 36], Operations: ['93-21=72', '72/2=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[2, 21, 93, 12], Operations: [] Exploring Operation: 93-21=72, Resulting Numbers: [2, 12, 72] Generated Node #0,1: 48:[2, 12, 72] Operation: 93-21=72 Moving to Node #0,1 Current State: 48:[2, 12, 72], Operations: ['93-21=72'] Exploring Operation: 72/2=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 48:[12, 36] Operation: 72/2=36 Moving to Node #0,1,1 Current State: 48:[12, 36], Operations: ['93-21=72', '72/2=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 25, 41, 91, 78 ]
76
[ "91-41=50", "50/25=2", "78-2=76" ]
Current State: 76:[25, 41, 91, 78], Operations: [] Exploring Operation: 91-41=50, Resulting Numbers: [25, 78, 50] Generated Node #2: [25, 78, 50] from Operation: 91-41=50 Current State: 76:[25, 78, 50], Operations: ['91-41=50'] Exploring Operation: 50/25=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 50/25=2 Current State: 76:[78, 2], Operations: ['91-41=50', '50/25=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[25, 41, 91, 78], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [41, 78, 66] Generated Node #0,0: 76:[41, 78, 66] Operation: 91-25=66 Exploring Operation: 91-78=13, Resulting Numbers: [25, 41, 13] Generated Node #0,1: 76:[25, 41, 13] Operation: 91-78=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[41, 78, 66], Operations: ['91-25=66'] Exploring Operation: 78-66=12, Resulting Numbers: [41, 12] Generated Node #0,0,0: 76:[41, 12] Operation: 78-66=12 Exploring Operation: 66-41=25, Resulting Numbers: [78, 25] Generated Node #0,0,1: 76:[78, 25] Operation: 66-41=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[78, 25], Operations: ['91-25=66', '66-41=25'] Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,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,0 Current State: 76:[41, 12], Operations: ['91-25=66', '78-66=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,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,1 Current State: 76:[25, 41, 13], Operations: ['91-78=13'] Exploring Operation: 41-25=16, Resulting Numbers: [13, 16] Generated Node #0,1,0: 76:[13, 16] Operation: 41-25=16 Exploring Operation: 25+13=38, Resulting Numbers: [41, 38] Generated Node #0,1,1: 76:[41, 38] Operation: 25+13=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[41, 38], Operations: ['91-78=13', '25+13=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,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,1,0 Current State: 76:[13, 16], Operations: ['91-78=13', '41-25=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,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_2
sum_heuristic
[ 79, 30, 34, 4 ]
78
[ "34-30=4", "4/4=1", "79-1=78" ]
Current State: 78:[79, 30, 34, 4], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [79, 4, 4] Generated Node #2: [79, 4, 4] from Operation: 34-30=4 Current State: 78:[79, 4, 4], Operations: ['34-30=4'] Exploring Operation: 4/4=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 4/4=1 Current State: 78:[79, 1], Operations: ['34-30=4', '4/4=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[79, 30, 34, 4], Operations: [] Exploring Operation: 30-4=26, Resulting Numbers: [79, 34, 26] Generated Node #0,0: 78:[79, 34, 26] Operation: 30-4=26 Exploring Operation: 34-30=4, Resulting Numbers: [79, 4, 4] Generated Node #0,1: 78:[79, 4, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[79, 4, 4], Operations: ['34-30=4'] Exploring Operation: 4/4=1, Resulting Numbers: [79, 1] Generated Node #0,1,0: 78:[79, 1] Operation: 4/4=1 Exploring Operation: 4+4=8, Resulting Numbers: [79, 8] Generated Node #0,1,1: 78:[79, 8] Operation: 4+4=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[79, 1], Operations: ['34-30=4', '4/4=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[79, 30, 34, 4], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [79, 4, 4] Generated Node #0,1: 78:[79, 4, 4] Operation: 34-30=4 Moving to Node #0,1 Current State: 78:[79, 4, 4], Operations: ['34-30=4'] Exploring Operation: 4/4=1, Resulting Numbers: [79, 1] Generated Node #0,1,0: 78:[79, 1] Operation: 4/4=1 Moving to Node #0,1,0 Current State: 78:[79, 1], Operations: ['34-30=4', '4/4=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 40, 33, 70, 75 ]
85
[ "40-33=7", "70/7=10", "75+10=85" ]
Current State: 85:[40, 33, 70, 75], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [70, 75, 7] Generated Node #2: [70, 75, 7] from Operation: 40-33=7 Current State: 85:[70, 75, 7], Operations: ['40-33=7'] Exploring Operation: 70/7=10, Resulting Numbers: [75, 10] Generated Node #3: [75, 10] from Operation: 70/7=10 Current State: 85:[75, 10], Operations: ['40-33=7', '70/7=10'] Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[40, 33, 70, 75], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [70, 75, 7] Generated Node #0,0: 85:[70, 75, 7] Operation: 40-33=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[70, 75, 7], Operations: ['40-33=7'] Exploring Operation: 75-70=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 85:[7, 5] Operation: 75-70=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[7, 5], Operations: ['40-33=7', '75-70=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,85 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
[ 52, 92, 39, 73 ]
74
[ "92-52=40", "73-39=34", "40+34=74" ]
Current State: 74:[52, 92, 39, 73], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [39, 73, 40] Generated Node #2: [39, 73, 40] from Operation: 92-52=40 Current State: 74:[39, 73, 40], Operations: ['92-52=40'] Exploring Operation: 73-39=34, Resulting Numbers: [40, 34] Generated Node #3: [40, 34] from Operation: 73-39=34 Current State: 74:[40, 34], Operations: ['92-52=40', '73-39=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[52, 92, 39, 73], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [39, 73, 40] Generated Node #0,0: 74:[39, 73, 40] Operation: 92-52=40 Exploring Operation: 52-39=13, Resulting Numbers: [92, 73, 13] Generated Node #0,1: 74:[92, 73, 13] Operation: 52-39=13 Exploring Operation: 92-39=53, Resulting Numbers: [52, 73, 53] Generated Node #0,2: 74:[52, 73, 53] Operation: 92-39=53 Exploring Operation: 92-73=19, Resulting Numbers: [52, 39, 19] Generated Node #0,3: 74:[52, 39, 19] Operation: 92-73=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[39, 73, 40], Operations: ['92-52=40'] Exploring Operation: 73-40=33, Resulting Numbers: [39, 33] Generated Node #0,0,0: 74:[39, 33] Operation: 73-40=33 Exploring Operation: 40-39=1, Resulting Numbers: [73, 1] Generated Node #0,0,1: 74:[73, 1] Operation: 40-39=1 Exploring Operation: 73-39=34, Resulting Numbers: [40, 34] Generated Node #0,0,2: 74:[40, 34] Operation: 73-39=34 Exploring Operation: 39+40=79, Resulting Numbers: [73, 79] Generated Node #0,0,3: 74:[73, 79] Operation: 39+40=79 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[73, 1], Operations: ['92-52=40', '40-39=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[52, 92, 39, 73], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [39, 73, 40] Generated Node #0,0: 74:[39, 73, 40] Operation: 92-52=40 Moving to Node #0,0 Current State: 74:[39, 73, 40], Operations: ['92-52=40'] Exploring Operation: 40-39=1, Resulting Numbers: [73, 1] Generated Node #0,0,1: 74:[73, 1] Operation: 40-39=1 Moving to Node #0,0,1 Current State: 74:[73, 1], Operations: ['92-52=40', '40-39=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 41, 92, 22, 33 ]
40
[ "92-41=51", "33-22=11", "51-11=40" ]
Current State: 40:[41, 92, 22, 33], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [22, 33, 51] Generated Node #2: [22, 33, 51] from Operation: 92-41=51 Current State: 40:[22, 33, 51], Operations: ['92-41=51'] Exploring Operation: 33-22=11, Resulting Numbers: [51, 11] Generated Node #3: [51, 11] from Operation: 33-22=11 Current State: 40:[51, 11], Operations: ['92-41=51', '33-22=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[41, 92, 22, 33], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [92, 22, 8] Generated Node #0,0: 40:[92, 22, 8] Operation: 41-33=8 Exploring Operation: 33-22=11, Resulting Numbers: [41, 92, 11] Generated Node #0,1: 40:[41, 92, 11] Operation: 33-22=11 Exploring Operation: 92-22=70, Resulting Numbers: [41, 33, 70] Generated Node #0,2: 40:[41, 33, 70] Operation: 92-22=70 Exploring Operation: 92-41=51, Resulting Numbers: [22, 33, 51] Generated Node #0,3: 40:[22, 33, 51] Operation: 92-41=51 Exploring Operation: 92-33=59, Resulting Numbers: [41, 22, 59] Generated Node #0,4: 40:[41, 22, 59] Operation: 92-33=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[22, 33, 51], Operations: ['92-41=51'] Exploring Operation: 22+33=55, Resulting Numbers: [51, 55] Generated Node #0,3,0: 40:[51, 55] Operation: 22+33=55 Exploring Operation: 51-22=29, Resulting Numbers: [33, 29] Generated Node #0,3,1: 40:[33, 29] Operation: 51-22=29 Exploring Operation: 33-22=11, Resulting Numbers: [51, 11] Generated Node #0,3,2: 40:[51, 11] Operation: 33-22=11 Exploring Operation: 22+51=73, Resulting Numbers: [33, 73] Generated Node #0,3,3: 40:[33, 73] Operation: 22+51=73 Exploring Operation: 51-33=18, Resulting Numbers: [22, 18] Generated Node #0,3,4: 40:[22, 18] Operation: 51-33=18 Moving to Node #0,3,4 Current State: 40:[22, 18], Operations: ['92-41=51', '51-33=18'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[41, 92, 22, 33], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [22, 33, 51] Generated Node #0,3: 40:[22, 33, 51] Operation: 92-41=51 Moving to Node #0,3 Current State: 40:[22, 33, 51], Operations: ['92-41=51'] Exploring Operation: 51-33=18, Resulting Numbers: [22, 18] Generated Node #0,3,4: 40:[22, 18] Operation: 51-33=18 Moving to Node #0,3,4 Current State: 40:[22, 18], Operations: ['92-41=51', '51-33=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 75, 99, 43, 42 ]
89
[ "75+99=174", "43+42=85", "174-85=89" ]
Current State: 89:[75, 99, 43, 42], Operations: [] Exploring Operation: 75+99=174, Resulting Numbers: [43, 42, 174] Generated Node #2: [43, 42, 174] from Operation: 75+99=174 Current State: 89:[43, 42, 174], Operations: ['75+99=174'] Exploring Operation: 43+42=85, Resulting Numbers: [174, 85] Generated Node #3: [174, 85] from Operation: 43+42=85 Current State: 89:[174, 85], Operations: ['75+99=174', '43+42=85'] Exploring Operation: 174-85=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[75, 99, 43, 42], Operations: [] Exploring Operation: 75+42=117, Resulting Numbers: [99, 43, 117] Generated Node #0,0: 89:[99, 43, 117] Operation: 75+42=117 Exploring Operation: 75+43=118, Resulting Numbers: [99, 42, 118] Generated Node #0,1: 89:[99, 42, 118] Operation: 75+43=118 Exploring Operation: 43+42=85, Resulting Numbers: [75, 99, 85] Generated Node #0,2: 89:[75, 99, 85] Operation: 43+42=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[75, 99, 85], Operations: ['43+42=85'] Exploring Operation: 75+99=174, Resulting Numbers: [85, 174] Generated Node #0,2,0: 89:[85, 174] Operation: 75+99=174 Exploring Operation: 99-75=24, Resulting Numbers: [85, 24] Generated Node #0,2,1: 89:[85, 24] Operation: 99-75=24 Exploring Operation: 75+85=160, Resulting Numbers: [99, 160] Generated Node #0,2,2: 89:[99, 160] Operation: 75+85=160 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[85, 24], Operations: ['43+42=85', '99-75=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,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,2,2 Current State: 89:[99, 160], Operations: ['43+42=85', '75+85=160'] Exploring Operation: 99+160=259, Resulting Numbers: [259] 259,89 unequal: No Solution Exploring Operation: 160-99=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 99*160=15840, Resulting Numbers: [15840] 15840,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,2,0 Current State: 89:[85, 174], Operations: ['43+42=85', '75+99=174'] Exploring Operation: 85+174=259, Resulting Numbers: [259] 259,89 unequal: No Solution Exploring Operation: 174-85=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[75, 99, 43, 42], Operations: [] Exploring Operation: 43+42=85, Resulting Numbers: [75, 99, 85] Generated Node #0,2: 89:[75, 99, 85] Operation: 43+42=85 Moving to Node #0,2 Current State: 89:[75, 99, 85], Operations: ['43+42=85'] Exploring Operation: 75+99=174, Resulting Numbers: [85, 174] Generated Node #0,2,0: 89:[85, 174] Operation: 75+99=174 Moving to Node #0,2,0 Current State: 89:[85, 174], Operations: ['43+42=85', '75+99=174'] Exploring Operation: 174-85=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
[ 15, 28, 13, 35 ]
91
[ "15+28=43", "13+35=48", "43+48=91" ]
Current State: 91:[15, 28, 13, 35], Operations: [] Exploring Operation: 15+28=43, Resulting Numbers: [13, 35, 43] Generated Node #2: [13, 35, 43] from Operation: 15+28=43 Current State: 91:[13, 35, 43], Operations: ['15+28=43'] Exploring Operation: 13+35=48, Resulting Numbers: [43, 48] Generated Node #3: [43, 48] from Operation: 13+35=48 Current State: 91:[43, 48], Operations: ['15+28=43', '13+35=48'] Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[15, 28, 13, 35], Operations: [] Exploring Operation: 28-15=13, Resulting Numbers: [13, 35, 13] Generated Node #0,0: 91:[13, 35, 13] Operation: 28-15=13 Exploring Operation: 35-15=20, Resulting Numbers: [28, 13, 20] Generated Node #0,1: 91:[28, 13, 20] Operation: 35-15=20 Exploring Operation: 35-28=7, Resulting Numbers: [15, 13, 7] Generated Node #0,2: 91:[15, 13, 7] Operation: 35-28=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[15, 13, 7], Operations: ['35-28=7'] Exploring Operation: 13*7=91, Resulting Numbers: [15, 91] Generated Node #0,2,0: 91:[15, 91] Operation: 13*7=91 Exploring Operation: 13-7=6, Resulting Numbers: [15, 6] Generated Node #0,2,1: 91:[15, 6] Operation: 13-7=6 Exploring Operation: 15-7=8, Resulting Numbers: [13, 8] Generated Node #0,2,2: 91:[13, 8] Operation: 15-7=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[13, 8], Operations: ['35-28=7', '15-7=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,91 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[15, 91], Operations: ['35-28=7', '13*7=91'] Exploring Operation: 15+91=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 15*91=1365, Resulting Numbers: [1365] 1365,91 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[15, 6], Operations: ['35-28=7', '13-7=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[13, 35, 13], Operations: ['28-15=13'] Exploring Operation: 35-13=22, Resulting Numbers: [13, 22] Generated Node #0,0,0: 91:[13, 22] Operation: 35-13=22 Exploring Operation: 35-13=22, Resulting Numbers: [13, 22] Generated Node #0,0,1: 91:[13, 22] Operation: 35-13=22 Exploring Operation: 13/13=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 91:[35, 1] Operation: 13/13=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[13, 22], Operations: ['28-15=13', '35-13=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,91 unequal: No Solution Exploring Operation: 22-13=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,0,1 Current State: 91:[13, 22], Operations: ['28-15=13', '35-13=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[35, 1], Operations: ['28-15=13', '13/13=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[28, 13, 20], Operations: ['35-15=20'] Exploring Operation: 28-20=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 91:[13, 8] Operation: 28-20=8 Exploring Operation: 28-13=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 91:[20, 15] Operation: 28-13=15 Exploring Operation: 20-13=7, Resulting Numbers: [28, 7] Generated Node #0,1,2: 91:[28, 7] Operation: 20-13=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[13, 8], Operations: ['35-15=20', '28-20=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,91 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,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,1 Current State: 91:[20, 15], Operations: ['35-15=20', '28-13=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,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:[28, 7], Operations: ['35-15=20', '20-13=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,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_3
mult_heuristic
[ 85, 62, 56, 31 ]
31
[ "85-56=29", "62/31=2", "29+2=31" ]
Current State: 31:[85, 62, 56, 31], Operations: [] Exploring Operation: 85-56=29, Resulting Numbers: [62, 31, 29] Generated Node #2: [62, 31, 29] from Operation: 85-56=29 Current State: 31:[62, 31, 29], Operations: ['85-56=29'] Exploring Operation: 62/31=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 62/31=2 Current State: 31:[29, 2], Operations: ['85-56=29', '62/31=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[85, 62, 56, 31], Operations: [] Exploring Operation: 85-62=23, Resulting Numbers: [56, 31, 23] Generated Node #0,0: 31:[56, 31, 23] Operation: 85-62=23 Moving to Node #0,0 Current State: 31:[56, 31, 23], Operations: ['85-62=23'] Exploring Operation: 56-23=33, Resulting Numbers: [31, 33] Generated Node #0,0,0: 31:[31, 33] Operation: 56-23=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[31, 33], Operations: ['85-62=23', '56-23=33'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,31 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
[ 79, 27, 1, 24 ]
29
[ "79-27=52", "24-1=23", "52-23=29" ]
Current State: 29:[79, 27, 1, 24], Operations: [] Exploring Operation: 79-27=52, Resulting Numbers: [1, 24, 52] Generated Node #2: [1, 24, 52] from Operation: 79-27=52 Current State: 29:[1, 24, 52], Operations: ['79-27=52'] Exploring Operation: 24-1=23, Resulting Numbers: [52, 23] Generated Node #3: [52, 23] from Operation: 24-1=23 Current State: 29:[52, 23], Operations: ['79-27=52', '24-1=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[79, 27, 1, 24], Operations: [] Exploring Operation: 79-1=78, Resulting Numbers: [27, 24, 78] Generated Node #0,0: 29:[27, 24, 78] Operation: 79-1=78 Exploring Operation: 79-24=55, Resulting Numbers: [27, 1, 55] Generated Node #0,1: 29:[27, 1, 55] Operation: 79-24=55 Exploring Operation: 27+1=28, Resulting Numbers: [79, 24, 28] Generated Node #0,2: 29:[79, 24, 28] Operation: 27+1=28 Exploring Operation: 79-27=52, Resulting Numbers: [1, 24, 52] Generated Node #0,3: 29:[1, 24, 52] Operation: 79-27=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[27, 24, 78], Operations: ['79-1=78'] Exploring Operation: 78-24=54, Resulting Numbers: [27, 54] Generated Node #0,0,0: 29:[27, 54] Operation: 78-24=54 Exploring Operation: 27+24=51, Resulting Numbers: [78, 51] Generated Node #0,0,1: 29:[78, 51] Operation: 27+24=51 Exploring Operation: 78-27=51, Resulting Numbers: [24, 51] Generated Node #0,0,2: 29:[24, 51] Operation: 78-27=51 Exploring Operation: 27-24=3, Resulting Numbers: [78, 3] Generated Node #0,0,3: 29:[78, 3] Operation: 27-24=3 Moving to Node #0,0,0 Current State: 29:[27, 54], Operations: ['79-1=78', '78-24=54'] Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 27*54=1458, Resulting Numbers: [1458] 1458,29 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,29 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[24, 51], Operations: ['79-1=78', '78-27=51'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,29 unequal: No Solution Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[78, 51], Operations: ['79-1=78', '27+24=51'] Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,29 unequal: No Solution Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[78, 3], Operations: ['79-1=78', '27-24=3'] Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,29 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,29 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,29 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[27, 1, 55], Operations: ['79-24=55'] Exploring Operation: 27/1=27, Resulting Numbers: [55, 27] Generated Node #0,1,0: 29:[55, 27] Operation: 27/1=27 Exploring Operation: 27+1=28, Resulting Numbers: [55, 28] Generated Node #0,1,1: 29:[55, 28] Operation: 27+1=28 Exploring Operation: 27*1=27, Resulting Numbers: [55, 27] Generated Node #0,1,2: 29:[55, 27] Operation: 27*1=27 Exploring Operation: 55-1=54, Resulting Numbers: [27, 54] Generated Node #0,1,3: 29:[27, 54] Operation: 55-1=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[55, 28], Operations: ['79-24=55', '27+1=28'] Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,29 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,29 unequal: No Solution No 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: 29:[27, 54], Operations: ['79-24=55', '55-1=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,29 unequal: No Solution Exploring Operation: 27*54=1458, Resulting Numbers: [1458] 1458,29 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,29 unequal: No Solution No 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: 29:[55, 27], Operations: ['79-24=55', '27/1=27'] Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,29 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,29 unequal: No Solution No 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: 29:[55, 27], Operations: ['79-24=55', '27*1=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,29 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,29 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: 29:[79, 24, 28], Operations: ['27+1=28'] Exploring Operation: 79+24=103, Resulting Numbers: [28, 103] Generated Node #0,2,0: 29:[28, 103] Operation: 79+24=103 Exploring Operation: 24+28=52, Resulting Numbers: [79, 52] Generated Node #0,2,1: 29:[79, 52] Operation: 24+28=52 Exploring Operation: 79-24=55, Resulting Numbers: [28, 55] Generated Node #0,2,2: 29:[28, 55] Operation: 79-24=55 Exploring Operation: 79-28=51, Resulting Numbers: [24, 51] Generated Node #0,2,3: 29:[24, 51] Operation: 79-28=51 Moving to Node #0,2,2 Current State: 29:[28, 55], Operations: ['27+1=28', '79-24=55'] Exploring Operation: 28*55=1540, Resulting Numbers: [1540] 1540,29 unequal: No Solution Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[24, 51], Operations: ['27+1=28', '79-28=51'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,29 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[79, 52], Operations: ['27+1=28', '24+28=52'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,29 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[28, 103], Operations: ['27+1=28', '79+24=103'] Exploring Operation: 28*103=2884, Resulting Numbers: [2884] 2884,29 unequal: No Solution Exploring Operation: 103-28=75, Resulting Numbers: [75] 75,29 unequal: No Solution Exploring Operation: 28+103=131, Resulting Numbers: [131] 131,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[1, 24, 52], Operations: ['79-27=52'] Exploring Operation: 1*24=24, Resulting Numbers: [52, 24] Generated Node #0,3,0: 29:[52, 24] Operation: 1*24=24 Exploring Operation: 1+24=25, Resulting Numbers: [52, 25] Generated Node #0,3,1: 29:[52, 25] Operation: 1+24=25 Exploring Operation: 52-1=51, Resulting Numbers: [24, 51] Generated Node #0,3,2: 29:[24, 51] Operation: 52-1=51 Exploring Operation: 24/1=24, Resulting Numbers: [52, 24] Generated Node #0,3,3: 29:[52, 24] Operation: 24/1=24 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[52, 25], Operations: ['79-27=52', '1+24=25'] Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,29 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,29 unequal: No Solution No 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: 29:[24, 51], Operations: ['79-27=52', '52-1=51'] Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,29 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,29 unequal: No Solution No 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: 29:[52, 24], Operations: ['79-27=52', '1*24=24'] Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,29 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,29 unequal: No Solution No 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: 29:[52, 24], Operations: ['79-27=52', '24/1=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,29 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,29 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
[ 78, 52, 71, 3 ]
13
[ "78-71=7", "7-3=4", "52/4=13" ]
Current State: 13:[78, 52, 71, 3], Operations: [] Exploring Operation: 78-71=7, Resulting Numbers: [52, 3, 7] Generated Node #2: [52, 3, 7] from Operation: 78-71=7 Current State: 13:[52, 3, 7], Operations: ['78-71=7'] Exploring Operation: 7-3=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 7-3=4 Current State: 13:[52, 4], Operations: ['78-71=7', '7-3=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[78, 52, 71, 3], Operations: [] Exploring Operation: 78/3=26, Resulting Numbers: [52, 71, 26] Generated Node #0,0: 13:[52, 71, 26] Operation: 78/3=26 Exploring Operation: 78-71=7, Resulting Numbers: [52, 3, 7] Generated Node #0,1: 13:[52, 3, 7] Operation: 78-71=7 Exploring Operation: 71-52=19, Resulting Numbers: [78, 3, 19] Generated Node #0,2: 13:[78, 3, 19] Operation: 71-52=19 Exploring Operation: 78-3=75, Resulting Numbers: [52, 71, 75] Generated Node #0,3: 13:[52, 71, 75] Operation: 78-3=75 Exploring Operation: 78-52=26, Resulting Numbers: [71, 3, 26] Generated Node #0,4: 13:[71, 3, 26] Operation: 78-52=26 Moving to Node #0,1 Current State: 13:[52, 3, 7], Operations: ['78-71=7'] Exploring Operation: 52-3=49, Resulting Numbers: [7, 49] Generated Node #0,1,0: 13:[7, 49] Operation: 52-3=49 Exploring Operation: 52+3=55, Resulting Numbers: [7, 55] Generated Node #0,1,1: 13:[7, 55] Operation: 52+3=55 Exploring Operation: 3*7=21, Resulting Numbers: [52, 21] Generated Node #0,1,2: 13:[52, 21] Operation: 3*7=21 Exploring Operation: 3+7=10, Resulting Numbers: [52, 10] Generated Node #0,1,3: 13:[52, 10] Operation: 3+7=10 Exploring Operation: 52-7=45, Resulting Numbers: [3, 45] Generated Node #0,1,4: 13:[3, 45] Operation: 52-7=45 Moving to Node #0,4 Current State: 13:[71, 3, 26], Operations: ['78-52=26'] Exploring Operation: 3+26=29, Resulting Numbers: [71, 29] Generated Node #0,4,0: 13:[71, 29] Operation: 3+26=29 Exploring Operation: 71-3=68, Resulting Numbers: [26, 68] Generated Node #0,4,1: 13:[26, 68] Operation: 71-3=68 Exploring Operation: 71-26=45, Resulting Numbers: [3, 45] Generated Node #0,4,2: 13:[3, 45] Operation: 71-26=45 Exploring Operation: 26-3=23, Resulting Numbers: [71, 23] Generated Node #0,4,3: 13:[71, 23] Operation: 26-3=23 Exploring Operation: 71+3=74, Resulting Numbers: [26, 74] Generated Node #0,4,4: 13:[26, 74] Operation: 71+3=74 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 13:[3, 45], Operations: ['78-52=26', '71-26=45'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,13 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 13:[26, 68], Operations: ['78-52=26', '71-3=68'] Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,13 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 13:[71, 23], Operations: ['78-52=26', '26-3=23'] Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,13 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,13 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 13:[71, 29], Operations: ['78-52=26', '3+26=29'] Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,13 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 13:[26, 74], Operations: ['78-52=26', '71+3=74'] Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,13 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,13 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: 13:[78, 3, 19], Operations: ['71-52=19'] Exploring Operation: 19-3=16, Resulting Numbers: [78, 16] Generated Node #0,2,0: 13:[78, 16] Operation: 19-3=16 Exploring Operation: 78-3=75, Resulting Numbers: [19, 75] Generated Node #0,2,1: 13:[19, 75] Operation: 78-3=75 Exploring Operation: 78/3=26, Resulting Numbers: [19, 26] Generated Node #0,2,2: 13:[19, 26] Operation: 78/3=26 Exploring Operation: 78+3=81, Resulting Numbers: [19, 81] Generated Node #0,2,3: 13:[19, 81] Operation: 78+3=81 Exploring Operation: 78-19=59, Resulting Numbers: [3, 59] Generated Node #0,2,4: 13:[3, 59] Operation: 78-19=59 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[19, 26], Operations: ['71-52=19', '78/3=26'] Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,13 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 13:[3, 59], Operations: ['71-52=19', '78-19=59'] Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,13 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[78, 16], Operations: ['71-52=19', '19-3=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,13 unequal: No Solution Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,13 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[19, 75], Operations: ['71-52=19', '78-3=75'] Exploring Operation: 19+75=94, Resulting Numbers: [94] 94,13 unequal: No Solution Exploring Operation: 19*75=1425, Resulting Numbers: [1425] 1425,13 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[19, 81], Operations: ['71-52=19', '78+3=81'] Exploring Operation: 19+81=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 19*81=1539, Resulting Numbers: [1539] 1539,13 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,13 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: 13:[52, 71, 26], Operations: ['78/3=26'] Exploring Operation: 52/26=2, Resulting Numbers: [71, 2] Generated Node #0,0,0: 13:[71, 2] Operation: 52/26=2 Exploring Operation: 71-52=19, Resulting Numbers: [26, 19] Generated Node #0,0,1: 13:[26, 19] Operation: 71-52=19 Exploring Operation: 52+71=123, Resulting Numbers: [26, 123] Generated Node #0,0,2: 13:[26, 123] Operation: 52+71=123 Exploring Operation: 71-26=45, Resulting Numbers: [52, 45] Generated Node #0,0,3: 13:[52, 45] Operation: 71-26=45 Exploring Operation: 52-26=26, Resulting Numbers: [71, 26] Generated Node #0,0,4: 13:[71, 26] Operation: 52-26=26 Moving to Node #0,3 Current State: 13:[52, 71, 75], Operations: ['78-3=75'] Exploring Operation: 52+75=127, Resulting Numbers: [71, 127] Generated Node #0,3,0: 13:[71, 127] Operation: 52+75=127 Exploring Operation: 75-52=23, Resulting Numbers: [71, 23] Generated Node #0,3,1: 13:[71, 23] Operation: 75-52=23 Exploring Operation: 52+71=123, Resulting Numbers: [75, 123] Generated Node #0,3,2: 13:[75, 123] Operation: 52+71=123 Exploring Operation: 71-52=19, Resulting Numbers: [75, 19] Generated Node #0,3,3: 13:[75, 19] Operation: 71-52=19 Exploring Operation: 75-71=4, Resulting Numbers: [52, 4] Generated Node #0,3,4: 13:[52, 4] Operation: 75-71=4 Moving to Node #0,0,1 Current State: 13:[26, 19], Operations: ['78/3=26', '71-52=19'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,13 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[7, 49], Operations: ['78-71=7', '52-3=49'] Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,13 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[3, 45], Operations: ['78-71=7', '52-7=45'] Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,13 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[52, 10], Operations: ['78-71=7', '3+7=10'] Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,13 unequal: No Solution Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[52, 21], Operations: ['78-71=7', '3*7=21'] Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,13 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[7, 55], Operations: ['78-71=7', '52+3=55'] Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 7*55=385, Resulting Numbers: [385] 385,13 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[52, 4], Operations: ['78-3=75', '75-71=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[78, 52, 71, 3], Operations: [] Exploring Operation: 78-3=75, Resulting Numbers: [52, 71, 75] Generated Node #0,3: 13:[52, 71, 75] Operation: 78-3=75 Moving to Node #0,3 Current State: 13:[52, 71, 75], Operations: ['78-3=75'] Exploring Operation: 75-71=4, Resulting Numbers: [52, 4] Generated Node #0,3,4: 13:[52, 4] Operation: 75-71=4 Moving to Node #0,3,4 Current State: 13:[52, 4], Operations: ['78-3=75', '75-71=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.924479
hs_5
sum_heuristic
[ 83, 6, 18, 19 ]
77
[ "83-6=77", "19-18=1", "77*1=77" ]
Current State: 77:[83, 6, 18, 19], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [18, 19, 77] Generated Node #2: [18, 19, 77] from Operation: 83-6=77 Current State: 77:[18, 19, 77], Operations: ['83-6=77'] Exploring Operation: 19-18=1, Resulting Numbers: [77, 1] Generated Node #3: [77, 1] from Operation: 19-18=1 Current State: 77:[77, 1], Operations: ['83-6=77', '19-18=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[83, 6, 18, 19], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [18, 19, 77] Generated Node #0,0: 77:[18, 19, 77] Operation: 83-6=77 Exploring Operation: 19-18=1, Resulting Numbers: [83, 6, 1] Generated Node #0,1: 77:[83, 6, 1] Operation: 19-18=1 Exploring Operation: 18-6=12, Resulting Numbers: [83, 19, 12] Generated Node #0,2: 77:[83, 19, 12] Operation: 18-6=12 Moving to Node #0,1 Current State: 77:[83, 6, 1], Operations: ['19-18=1'] Exploring Operation: 6+1=7, Resulting Numbers: [83, 7] Generated Node #0,1,0: 77:[83, 7] Operation: 6+1=7 Exploring Operation: 83-1=82, Resulting Numbers: [6, 82] Generated Node #0,1,1: 77:[6, 82] Operation: 83-1=82 Exploring Operation: 83-6=77, Resulting Numbers: [1, 77] Generated Node #0,1,2: 77:[1, 77] Operation: 83-6=77 Moving to Node #0,0 Current State: 77:[18, 19, 77], Operations: ['83-6=77'] Exploring Operation: 19-18=1, Resulting Numbers: [77, 1] Generated Node #0,0,0: 77:[77, 1] Operation: 19-18=1 Exploring Operation: 18+19=37, Resulting Numbers: [77, 37] Generated Node #0,0,1: 77:[77, 37] Operation: 18+19=37 Exploring Operation: 18+77=95, Resulting Numbers: [19, 95] Generated Node #0,0,2: 77:[19, 95] Operation: 18+77=95 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[77, 1], Operations: ['83-6=77', '19-18=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[83, 6, 18, 19], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [18, 19, 77] Generated Node #0,0: 77:[18, 19, 77] Operation: 83-6=77 Moving to Node #0,0 Current State: 77:[18, 19, 77], Operations: ['83-6=77'] Exploring Operation: 19-18=1, Resulting Numbers: [77, 1] Generated Node #0,0,0: 77:[77, 1] Operation: 19-18=1 Moving to Node #0,0,0 Current State: 77:[77, 1], Operations: ['83-6=77', '19-18=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 53, 51, 6, 56 ]
100
[ "53-51=2", "56-6=50", "2*50=100" ]
Current State: 100:[53, 51, 6, 56], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [6, 56, 2] Generated Node #2: [6, 56, 2] from Operation: 53-51=2 Current State: 100:[6, 56, 2], Operations: ['53-51=2'] Exploring Operation: 56-6=50, Resulting Numbers: [2, 50] Generated Node #3: [2, 50] from Operation: 56-6=50 Current State: 100:[2, 50], Operations: ['53-51=2', '56-6=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[53, 51, 6, 56], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [51, 6, 3] Generated Node #0,0: 100:[51, 6, 3] Operation: 56-53=3 Exploring Operation: 56-6=50, Resulting Numbers: [53, 51, 50] Generated Node #0,1: 100:[53, 51, 50] Operation: 56-6=50 Exploring Operation: 56-51=5, Resulting Numbers: [53, 6, 5] Generated Node #0,2: 100:[53, 6, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 100:[51, 6, 3], Operations: ['56-53=3'] Exploring Operation: 6/3=2, Resulting Numbers: [51, 2] Generated Node #0,0,0: 100:[51, 2] Operation: 6/3=2 Exploring Operation: 6+3=9, Resulting Numbers: [51, 9] Generated Node #0,0,1: 100:[51, 9] Operation: 6+3=9 Exploring Operation: 6-3=3, Resulting Numbers: [51, 3] Generated Node #0,0,2: 100:[51, 3] Operation: 6-3=3 Moving to Node #0,1 Current State: 100:[53, 51, 50], Operations: ['56-6=50'] Exploring Operation: 53-50=3, Resulting Numbers: [51, 3] Generated Node #0,1,0: 100:[51, 3] Operation: 53-50=3 Exploring Operation: 53-51=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 100:[50, 2] Operation: 53-51=2 Exploring Operation: 53+51=104, Resulting Numbers: [50, 104] Generated Node #0,1,2: 100:[50, 104] Operation: 53+51=104 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[50, 2], Operations: ['56-6=50', '53-51=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[53, 51, 6, 56], Operations: [] Exploring Operation: 56-6=50, Resulting Numbers: [53, 51, 50] Generated Node #0,1: 100:[53, 51, 50] Operation: 56-6=50 Moving to Node #0,1 Current State: 100:[53, 51, 50], Operations: ['56-6=50'] Exploring Operation: 53-51=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 100:[50, 2] Operation: 53-51=2 Moving to Node #0,1,1 Current State: 100:[50, 2], Operations: ['56-6=50', '53-51=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 87, 73, 4, 20 ]
30
[ "87-73=14", "20-4=16", "14+16=30" ]
Current State: 30:[87, 73, 4, 20], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [4, 20, 14] Generated Node #2: [4, 20, 14] from Operation: 87-73=14 Current State: 30:[4, 20, 14], Operations: ['87-73=14'] Exploring Operation: 20-4=16, Resulting Numbers: [14, 16] Generated Node #3: [14, 16] from Operation: 20-4=16 Current State: 30:[14, 16], Operations: ['87-73=14', '20-4=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[87, 73, 4, 20], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [4, 20, 14] Generated Node #0,0: 30:[4, 20, 14] Operation: 87-73=14 Exploring Operation: 87-20=67, Resulting Numbers: [73, 4, 67] Generated Node #0,1: 30:[73, 4, 67] Operation: 87-20=67 Exploring Operation: 73-20=53, Resulting Numbers: [87, 4, 53] Generated Node #0,2: 30:[87, 4, 53] Operation: 73-20=53 Moving to Node #0,0 Current State: 30:[4, 20, 14], Operations: ['87-73=14'] Exploring Operation: 20-4=16, Resulting Numbers: [14, 16] Generated Node #0,0,0: 30:[14, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [14, 5] Generated Node #0,0,1: 30:[14, 5] Operation: 20/4=5 Exploring Operation: 20-14=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 30:[4, 6] Operation: 20-14=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[14, 5], Operations: ['87-73=14', '20/4=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,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:[4, 6], Operations: ['87-73=14', '20-14=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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:[14, 16], Operations: ['87-73=14', '20-4=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,30 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[87, 73, 4, 20], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [4, 20, 14] Generated Node #0,0: 30:[4, 20, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 30:[4, 20, 14], Operations: ['87-73=14'] Exploring Operation: 20-4=16, Resulting Numbers: [14, 16] Generated Node #0,0,0: 30:[14, 16] Operation: 20-4=16 Moving to Node #0,0,0 Current State: 30:[14, 16], Operations: ['87-73=14', '20-4=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 81, 82, 36, 90 ]
42
[ "36*90=3240", "3240/81=40", "82-40=42" ]
Current State: 42:[81, 82, 36, 90], Operations: [] Exploring Operation: 36*90=3240, Resulting Numbers: [81, 82, 3240] Generated Node #2: [81, 82, 3240] from Operation: 36*90=3240 Current State: 42:[81, 82, 3240], Operations: ['36*90=3240'] Exploring Operation: 3240/81=40, Resulting Numbers: [82, 40] Generated Node #3: [82, 40] from Operation: 3240/81=40 Current State: 42:[82, 40], Operations: ['36*90=3240', '3240/81=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[81, 82, 36, 90], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [81, 36, 8] Generated Node #0,0: 42:[81, 36, 8] Operation: 90-82=8 Exploring Operation: 82-81=1, Resulting Numbers: [36, 90, 1] Generated Node #0,1: 42:[36, 90, 1] Operation: 82-81=1 Exploring Operation: 90-81=9, Resulting Numbers: [82, 36, 9] Generated Node #0,2: 42:[82, 36, 9] Operation: 90-81=9 Moving to Node #0,0 Current State: 42:[81, 36, 8], Operations: ['90-82=8'] Exploring Operation: 81-36=45, Resulting Numbers: [8, 45] Generated Node #0,0,0: 42:[8, 45] Operation: 81-36=45 Exploring Operation: 36+8=44, Resulting Numbers: [81, 44] Generated Node #0,0,1: 42:[81, 44] Operation: 36+8=44 Exploring Operation: 81-8=73, Resulting Numbers: [36, 73] Generated Node #0,0,2: 42:[36, 73] Operation: 81-8=73 Moving to Node #0,2 Current State: 42:[82, 36, 9], Operations: ['90-81=9'] Exploring Operation: 82-9=73, Resulting Numbers: [36, 73] Generated Node #0,2,0: 42:[36, 73] Operation: 82-9=73 Exploring Operation: 36/9=4, Resulting Numbers: [82, 4] Generated Node #0,2,1: 42:[82, 4] Operation: 36/9=4 Exploring Operation: 82-36=46, Resulting Numbers: [9, 46] Generated Node #0,2,2: 42:[9, 46] Operation: 82-36=46 Moving to Node #0,1 Current State: 42:[36, 90, 1], Operations: ['82-81=1'] Exploring Operation: 90-1=89, Resulting Numbers: [36, 89] Generated Node #0,1,0: 42:[36, 89] Operation: 90-1=89 Exploring Operation: 90-36=54, Resulting Numbers: [1, 54] Generated Node #0,1,1: 42:[1, 54] Operation: 90-36=54 Exploring Operation: 36+1=37, Resulting Numbers: [90, 37] Generated Node #0,1,2: 42:[90, 37] Operation: 36+1=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[1, 54], Operations: ['82-81=1', '90-36=54'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,42 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[36, 89], Operations: ['82-81=1', '90-1=89'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,42 unequal: No Solution Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,42 unequal: No Solution Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[90, 37], Operations: ['82-81=1', '36+1=37'] Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,42 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,42 unequal: No Solution Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 42:[8, 45], Operations: ['90-82=8', '81-36=45'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,42 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[9, 46], Operations: ['90-81=9', '82-36=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,42 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[36, 73], Operations: ['90-81=9', '82-9=73'] Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,42 unequal: No Solution Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,42 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[36, 73], Operations: ['90-82=8', '81-8=73'] Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,42 unequal: No Solution Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,42 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[82, 4], Operations: ['90-81=9', '36/9=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,42 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[81, 44], Operations: ['90-82=8', '36+8=44'] Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,42 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,42 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 47, 19, 14, 77 ]
12
[ "47+19=66", "14*66=924", "924/77=12" ]
Current State: 12:[47, 19, 14, 77], Operations: [] Exploring Operation: 47+19=66, Resulting Numbers: [14, 77, 66] Generated Node #2: [14, 77, 66] from Operation: 47+19=66 Current State: 12:[14, 77, 66], Operations: ['47+19=66'] Exploring Operation: 14*66=924, Resulting Numbers: [77, 924] Generated Node #3: [77, 924] from Operation: 14*66=924 Current State: 12:[77, 924], Operations: ['47+19=66', '14*66=924'] Exploring Operation: 924/77=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[47, 19, 14, 77], Operations: [] Exploring Operation: 47-19=28, Resulting Numbers: [14, 77, 28] Generated Node #0,0: 12:[14, 77, 28] Operation: 47-19=28 Exploring Operation: 77-47=30, Resulting Numbers: [19, 14, 30] Generated Node #0,1: 12:[19, 14, 30] Operation: 77-47=30 Exploring Operation: 77-19=58, Resulting Numbers: [47, 14, 58] Generated Node #0,2: 12:[47, 14, 58] Operation: 77-19=58 Exploring Operation: 47-14=33, Resulting Numbers: [19, 77, 33] Generated Node #0,3: 12:[19, 77, 33] Operation: 47-14=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[19, 14, 30], Operations: ['77-47=30'] Exploring Operation: 19+14=33, Resulting Numbers: [30, 33] Generated Node #0,1,0: 12:[30, 33] Operation: 19+14=33 Exploring Operation: 30-14=16, Resulting Numbers: [19, 16] Generated Node #0,1,1: 12:[19, 16] Operation: 30-14=16 Exploring Operation: 30-19=11, Resulting Numbers: [14, 11] Generated Node #0,1,2: 12:[14, 11] Operation: 30-19=11 Exploring Operation: 19-14=5, Resulting Numbers: [30, 5] Generated Node #0,1,3: 12:[30, 5] Operation: 19-14=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[14, 11], Operations: ['77-47=30', '30-19=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[19, 16], Operations: ['77-47=30', '30-14=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,12 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[30, 5], Operations: ['77-47=30', '19-14=5'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,12 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[30, 33], Operations: ['77-47=30', '19+14=33'] Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,12 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[14, 77, 28], Operations: ['47-19=28'] Exploring Operation: 28-14=14, Resulting Numbers: [77, 14] Generated Node #0,0,0: 12:[77, 14] Operation: 28-14=14 Exploring Operation: 77-14=63, Resulting Numbers: [28, 63] Generated Node #0,0,1: 12:[28, 63] Operation: 77-14=63 Exploring Operation: 77-28=49, Resulting Numbers: [14, 49] Generated Node #0,0,2: 12:[14, 49] Operation: 77-28=49 Exploring Operation: 28/14=2, Resulting Numbers: [77, 2] Generated Node #0,0,3: 12:[77, 2] Operation: 28/14=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[14, 49], Operations: ['47-19=28', '77-28=49'] Exploring Operation: 14*49=686, Resulting Numbers: [686] 686,12 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 14+49=63, Resulting Numbers: [63] 63,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 12:[77, 2], Operations: ['47-19=28', '28/14=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,12 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[77, 14], Operations: ['47-19=28', '28-14=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[28, 63], Operations: ['47-19=28', '77-14=63'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 28*63=1764, Resulting Numbers: [1764] 1764,12 unequal: No Solution Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[47, 14, 58], Operations: ['77-19=58'] Exploring Operation: 47+14=61, Resulting Numbers: [58, 61] Generated Node #0,2,0: 12:[58, 61] Operation: 47+14=61 Exploring Operation: 58-14=44, Resulting Numbers: [47, 44] Generated Node #0,2,1: 12:[47, 44] Operation: 58-14=44 Exploring Operation: 58-47=11, Resulting Numbers: [14, 11] Generated Node #0,2,2: 12:[14, 11] Operation: 58-47=11 Exploring Operation: 47-14=33, Resulting Numbers: [58, 33] Generated Node #0,2,3: 12:[58, 33] Operation: 47-14=33 Moving to Node #0,2,2 Current State: 12:[14, 11], Operations: ['77-19=58', '58-47=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,12 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[58, 33], Operations: ['77-19=58', '47-14=33'] Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,12 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[47, 44], Operations: ['77-19=58', '58-14=44'] Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 47*44=2068, Resulting Numbers: [2068] 2068,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[58, 61], Operations: ['77-19=58', '47+14=61'] Exploring Operation: 58*61=3538, Resulting Numbers: [3538] 3538,12 unequal: No Solution Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,12 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[19, 77, 33], Operations: ['47-14=33'] Exploring Operation: 33-19=14, Resulting Numbers: [77, 14] Generated Node #0,3,0: 12:[77, 14] Operation: 33-19=14 Exploring Operation: 77-19=58, Resulting Numbers: [33, 58] Generated Node #0,3,1: 12:[33, 58] Operation: 77-19=58 Exploring Operation: 77-33=44, Resulting Numbers: [19, 44] Generated Node #0,3,2: 12:[19, 44] Operation: 77-33=44 Exploring Operation: 19+77=96, Resulting Numbers: [33, 96] Generated Node #0,3,3: 12:[33, 96] Operation: 19+77=96 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 12:[19, 44], Operations: ['47-14=33', '77-33=44'] Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,12 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 12:[77, 14], Operations: ['47-14=33', '33-19=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,12 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 12:[33, 58], Operations: ['47-14=33', '77-19=58'] Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[33, 96], Operations: ['47-14=33', '19+77=96'] Exploring Operation: 33*96=3168, Resulting Numbers: [3168] 3168,12 unequal: No Solution Exploring Operation: 96-33=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 33+96=129, Resulting Numbers: [129] 129,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 53, 26, 66, 62 ]
75
[ "53+26=79", "66-62=4", "79-4=75" ]
Current State: 75:[53, 26, 66, 62], Operations: [] Exploring Operation: 53+26=79, Resulting Numbers: [66, 62, 79] Generated Node #2: [66, 62, 79] from Operation: 53+26=79 Current State: 75:[66, 62, 79], Operations: ['53+26=79'] Exploring Operation: 66-62=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 66-62=4 Current State: 75:[79, 4], Operations: ['53+26=79', '66-62=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[53, 26, 66, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [53, 26, 4] Generated Node #0,0: 75:[53, 26, 4] Operation: 66-62=4 Exploring Operation: 53-26=27, Resulting Numbers: [66, 62, 27] Generated Node #0,1: 75:[66, 62, 27] Operation: 53-26=27 Exploring Operation: 66-53=13, Resulting Numbers: [26, 62, 13] Generated Node #0,2: 75:[26, 62, 13] Operation: 66-53=13 Exploring Operation: 62-53=9, Resulting Numbers: [26, 66, 9] Generated Node #0,3: 75:[26, 66, 9] Operation: 62-53=9 Exploring Operation: 53+26=79, Resulting Numbers: [66, 62, 79] Generated Node #0,4: 75:[66, 62, 79] Operation: 53+26=79 Moving to Node #0,3 Current State: 75:[26, 66, 9], Operations: ['62-53=9'] Exploring Operation: 66+9=75, Resulting Numbers: [26, 75] Generated Node #0,3,0: 75:[26, 75] Operation: 66+9=75 Exploring Operation: 66-26=40, Resulting Numbers: [9, 40] Generated Node #0,3,1: 75:[9, 40] Operation: 66-26=40 Exploring Operation: 66-9=57, Resulting Numbers: [26, 57] Generated Node #0,3,2: 75:[26, 57] Operation: 66-9=57 Exploring Operation: 26-9=17, Resulting Numbers: [66, 17] Generated Node #0,3,3: 75:[66, 17] Operation: 26-9=17 Exploring Operation: 26+9=35, Resulting Numbers: [66, 35] Generated Node #0,3,4: 75:[66, 35] Operation: 26+9=35 Moving to Node #0,2 Current State: 75:[26, 62, 13], Operations: ['66-53=13'] Exploring Operation: 62-26=36, Resulting Numbers: [13, 36] Generated Node #0,2,0: 75:[13, 36] Operation: 62-26=36 Exploring Operation: 26+62=88, Resulting Numbers: [13, 88] Generated Node #0,2,1: 75:[13, 88] Operation: 26+62=88 Exploring Operation: 26/13=2, Resulting Numbers: [62, 2] Generated Node #0,2,2: 75:[62, 2] Operation: 26/13=2 Exploring Operation: 26-13=13, Resulting Numbers: [62, 13] Generated Node #0,2,3: 75:[62, 13] Operation: 26-13=13 Exploring Operation: 62+13=75, Resulting Numbers: [26, 75] Generated Node #0,2,4: 75:[26, 75] Operation: 62+13=75 Moving to Node #0,0 Current State: 75:[53, 26, 4], Operations: ['66-62=4'] Exploring Operation: 53+4=57, Resulting Numbers: [26, 57] Generated Node #0,0,0: 75:[26, 57] Operation: 53+4=57 Exploring Operation: 26-4=22, Resulting Numbers: [53, 22] Generated Node #0,0,1: 75:[53, 22] Operation: 26-4=22 Exploring Operation: 53-4=49, Resulting Numbers: [26, 49] Generated Node #0,0,2: 75:[26, 49] Operation: 53-4=49 Exploring Operation: 53+26=79, Resulting Numbers: [4, 79] Generated Node #0,0,3: 75:[4, 79] Operation: 53+26=79 Exploring Operation: 53-26=27, Resulting Numbers: [4, 27] Generated Node #0,0,4: 75:[4, 27] Operation: 53-26=27 Moving to Node #0,1 Current State: 75:[66, 62, 27], Operations: ['53-26=27'] Exploring Operation: 66-62=4, Resulting Numbers: [27, 4] Generated Node #0,1,0: 75:[27, 4] Operation: 66-62=4 Exploring Operation: 66-27=39, Resulting Numbers: [62, 39] Generated Node #0,1,1: 75:[62, 39] Operation: 66-27=39 Exploring Operation: 66+27=93, Resulting Numbers: [62, 93] Generated Node #0,1,2: 75:[62, 93] Operation: 66+27=93 Exploring Operation: 62-27=35, Resulting Numbers: [66, 35] Generated Node #0,1,3: 75:[66, 35] Operation: 62-27=35 Exploring Operation: 62+27=89, Resulting Numbers: [66, 89] Generated Node #0,1,4: 75:[66, 89] Operation: 62+27=89 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[27, 4], Operations: ['53-26=27', '66-62=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,75 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,75 unequal: No Solution No solution 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: 75:[66, 35], Operations: ['53-26=27', '62-27=35'] Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,75 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,75 unequal: No Solution No solution 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: 75:[66, 89], Operations: ['53-26=27', '62+27=89'] Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,75 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,75 unequal: No Solution Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,75 unequal: No Solution No solution 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: 75:[62, 39], Operations: ['53-26=27', '66-27=39'] Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,75 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,75 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,75 unequal: No Solution No solution 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: 75:[62, 93], Operations: ['53-26=27', '66+27=93'] Exploring Operation: 62+93=155, Resulting Numbers: [155] 155,75 unequal: No Solution Exploring Operation: 62*93=5766, Resulting Numbers: [5766] 5766,75 unequal: No Solution Exploring Operation: 93-62=31, Resulting Numbers: [31] 31,75 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: 75:[66, 62, 79], Operations: ['53+26=79'] Exploring Operation: 79-62=17, Resulting Numbers: [66, 17] Generated Node #0,4,0: 75:[66, 17] Operation: 79-62=17 Exploring Operation: 62+79=141, Resulting Numbers: [66, 141] Generated Node #0,4,1: 75:[66, 141] Operation: 62+79=141 Exploring Operation: 79-66=13, Resulting Numbers: [62, 13] Generated Node #0,4,2: 75:[62, 13] Operation: 79-66=13 Exploring Operation: 66+62=128, Resulting Numbers: [79, 128] Generated Node #0,4,3: 75:[79, 128] Operation: 66+62=128 Exploring Operation: 66-62=4, Resulting Numbers: [79, 4] Generated Node #0,4,4: 75:[79, 4] Operation: 66-62=4 Moving to Node #0,3,0 Current State: 75:[26, 75], Operations: ['62-53=9', '66+9=75'] Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,75 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[26, 75], Operations: ['66-53=13', '62+13=75'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,75 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,75 unequal: No Solution Moving to Node #0,0,4 Current State: 75:[4, 27], Operations: ['66-62=4', '53-26=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,75 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[4, 79], Operations: ['66-62=4', '53+26=79'] Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,75 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[53, 26, 66, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [53, 26, 4] Generated Node #0,0: 75:[53, 26, 4] Operation: 66-62=4 Moving to Node #0,0 Current State: 75:[53, 26, 4], Operations: ['66-62=4'] Exploring Operation: 53+26=79, Resulting Numbers: [4, 79] Generated Node #0,0,3: 75:[4, 79] Operation: 53+26=79 Moving to Node #0,0,3 Current State: 75:[4, 79], Operations: ['66-62=4', '53+26=79'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.947917
hs_5
sum_heuristic
[ 79, 91, 5, 41 ]
99
[ "79-41=38", "5*38=190", "190-91=99" ]
Current State: 99:[79, 91, 5, 41], Operations: [] Exploring Operation: 79-41=38, Resulting Numbers: [91, 5, 38] Generated Node #2: [91, 5, 38] from Operation: 79-41=38 Current State: 99:[91, 5, 38], Operations: ['79-41=38'] Exploring Operation: 5*38=190, Resulting Numbers: [91, 190] Generated Node #3: [91, 190] from Operation: 5*38=190 Current State: 99:[91, 190], Operations: ['79-41=38', '5*38=190'] Exploring Operation: 190-91=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[79, 91, 5, 41], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [5, 41, 12] Generated Node #0,0: 99:[5, 41, 12] Operation: 91-79=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[5, 41, 12], Operations: ['91-79=12'] Exploring Operation: 41-5=36, Resulting Numbers: [12, 36] Generated Node #0,0,0: 99:[12, 36] Operation: 41-5=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[12, 36], Operations: ['91-79=12', '41-5=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,99 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
[ 9, 9, 18, 80 ]
63
[ "9/9=1", "80-18=62", "1+62=63" ]
Current State: 63:[9, 9, 18, 80], Operations: [] Exploring Operation: 9/9=1, Resulting Numbers: [18, 80, 1] Generated Node #2: [18, 80, 1] from Operation: 9/9=1 Current State: 63:[18, 80, 1], Operations: ['9/9=1'] Exploring Operation: 80-18=62, Resulting Numbers: [1, 62] Generated Node #3: [1, 62] from Operation: 80-18=62 Current State: 63:[1, 62], Operations: ['9/9=1', '80-18=62'] Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[9, 9, 18, 80], Operations: [] Exploring Operation: 80-9=71, Resulting Numbers: [9, 18, 71] Generated Node #0,0: 63:[9, 18, 71] Operation: 80-9=71 Exploring Operation: 80-18=62, Resulting Numbers: [9, 9, 62] Generated Node #0,1: 63:[9, 9, 62] Operation: 80-18=62 Moving to Node #0,1 Current State: 63:[9, 9, 62], Operations: ['80-18=62'] Exploring Operation: 9+9=18, Resulting Numbers: [62, 18] Generated Node #0,1,0: 63:[62, 18] Operation: 9+9=18 Exploring Operation: 9/9=1, Resulting Numbers: [62, 1] Generated Node #0,1,1: 63:[62, 1] Operation: 9/9=1 Moving to Node #0,0 Current State: 63:[9, 18, 71], Operations: ['80-9=71'] Exploring Operation: 18-9=9, Resulting Numbers: [71, 9] Generated Node #0,0,0: 63:[71, 9] Operation: 18-9=9 Exploring Operation: 71-9=62, Resulting Numbers: [18, 62] Generated Node #0,0,1: 63:[18, 62] Operation: 71-9=62 Moving to Node #0,1,1 Current State: 63:[62, 1], Operations: ['80-18=62', '9/9=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[9, 9, 18, 80], Operations: [] Exploring Operation: 80-18=62, Resulting Numbers: [9, 9, 62] Generated Node #0,1: 63:[9, 9, 62] Operation: 80-18=62 Moving to Node #0,1 Current State: 63:[9, 9, 62], Operations: ['80-18=62'] Exploring Operation: 9/9=1, Resulting Numbers: [62, 1] Generated Node #0,1,1: 63:[62, 1] Operation: 9/9=1 Moving to Node #0,1,1 Current State: 63:[62, 1], Operations: ['80-18=62', '9/9=1'] Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 80, 94, 3, 4 ]
68
[ "94-80=14", "3+14=17", "4*17=68" ]
Current State: 68:[80, 94, 3, 4], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [3, 4, 14] Generated Node #2: [3, 4, 14] from Operation: 94-80=14 Current State: 68:[3, 4, 14], Operations: ['94-80=14'] Exploring Operation: 3+14=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 3+14=17 Current State: 68:[4, 17], Operations: ['94-80=14', '3+14=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[80, 94, 3, 4], Operations: [] Exploring Operation: 80-3=77, Resulting Numbers: [94, 4, 77] Generated Node #0,0: 68:[94, 4, 77] Operation: 80-3=77 Exploring Operation: 80/4=20, Resulting Numbers: [94, 3, 20] Generated Node #0,1: 68:[94, 3, 20] Operation: 80/4=20 Exploring Operation: 80-4=76, Resulting Numbers: [94, 3, 76] Generated Node #0,2: 68:[94, 3, 76] Operation: 80-4=76 Exploring Operation: 94-80=14, Resulting Numbers: [3, 4, 14] Generated Node #0,3: 68:[3, 4, 14] Operation: 94-80=14 Exploring Operation: 94-3=91, Resulting Numbers: [80, 4, 91] Generated Node #0,4: 68:[80, 4, 91] Operation: 94-3=91 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[3, 4, 14], Operations: ['94-80=14'] Exploring Operation: 14-3=11, Resulting Numbers: [4, 11] Generated Node #0,3,0: 68:[4, 11] Operation: 14-3=11 Exploring Operation: 4-3=1, Resulting Numbers: [14, 1] Generated Node #0,3,1: 68:[14, 1] Operation: 4-3=1 Exploring Operation: 3+14=17, Resulting Numbers: [4, 17] Generated Node #0,3,2: 68:[4, 17] Operation: 3+14=17 Exploring Operation: 4+14=18, Resulting Numbers: [3, 18] Generated Node #0,3,3: 68:[3, 18] Operation: 4+14=18 Exploring Operation: 3+4=7, Resulting Numbers: [14, 7] Generated Node #0,3,4: 68:[14, 7] Operation: 3+4=7 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 68:[4, 17], Operations: ['94-80=14', '3+14=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[80, 94, 3, 4], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [3, 4, 14] Generated Node #0,3: 68:[3, 4, 14] Operation: 94-80=14 Moving to Node #0,3 Current State: 68:[3, 4, 14], Operations: ['94-80=14'] Exploring Operation: 3+14=17, Resulting Numbers: [4, 17] Generated Node #0,3,2: 68:[4, 17] Operation: 3+14=17 Moving to Node #0,3,2 Current State: 68:[4, 17], Operations: ['94-80=14', '3+14=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 21, 15, 23, 27 ]
84
[ "23-21=2", "15+27=42", "2*42=84" ]
Current State: 84:[21, 15, 23, 27], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [15, 27, 2] Generated Node #2: [15, 27, 2] from Operation: 23-21=2 Current State: 84:[15, 27, 2], Operations: ['23-21=2'] Exploring Operation: 15+27=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 15+27=42 Current State: 84:[2, 42], Operations: ['23-21=2', '15+27=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[21, 15, 23, 27], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [21, 27, 8] Generated Node #0,0: 84:[21, 27, 8] Operation: 23-15=8 Exploring Operation: 27-23=4, Resulting Numbers: [21, 15, 4] Generated Node #0,1: 84:[21, 15, 4] Operation: 27-23=4 Exploring Operation: 15+27=42, Resulting Numbers: [21, 23, 42] Generated Node #0,2: 84:[21, 23, 42] Operation: 15+27=42 Exploring Operation: 23-21=2, Resulting Numbers: [15, 27, 2] Generated Node #0,3: 84:[15, 27, 2] Operation: 23-21=2 Moving to Node #0,1 Current State: 84:[21, 15, 4], Operations: ['27-23=4'] Exploring Operation: 21*4=84, Resulting Numbers: [15, 84] Generated Node #0,1,0: 84:[15, 84] Operation: 21*4=84 Exploring Operation: 15+4=19, Resulting Numbers: [21, 19] Generated Node #0,1,1: 84:[21, 19] Operation: 15+4=19 Exploring Operation: 21-15=6, Resulting Numbers: [4, 6] Generated Node #0,1,2: 84:[4, 6] Operation: 21-15=6 Exploring Operation: 15-4=11, Resulting Numbers: [21, 11] Generated Node #0,1,3: 84:[21, 11] Operation: 15-4=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[4, 6], Operations: ['27-23=4', '21-15=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 4*6=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:[15, 84], Operations: ['27-23=4', '21*4=84'] Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 15*84=1260, Resulting Numbers: [1260] 1260,84 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,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:[21, 11], Operations: ['27-23=4', '15-4=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,84 unequal: No Solution Exploring Operation: 21+11=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,1 Current State: 84:[21, 19], Operations: ['27-23=4', '15+4=19'] Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,84 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[21, 23, 42], Operations: ['15+27=42'] Exploring Operation: 23-21=2, Resulting Numbers: [42, 2] Generated Node #0,2,0: 84:[42, 2] Operation: 23-21=2 Exploring Operation: 42/21=2, Resulting Numbers: [23, 2] Generated Node #0,2,1: 84:[23, 2] Operation: 42/21=2 Exploring Operation: 42-21=21, Resulting Numbers: [23, 21] Generated Node #0,2,2: 84:[23, 21] Operation: 42-21=21 Exploring Operation: 21+23=44, Resulting Numbers: [42, 44] Generated Node #0,2,3: 84:[42, 44] Operation: 21+23=44 Moving to Node #0,0 Current State: 84:[21, 27, 8], Operations: ['23-15=8'] Exploring Operation: 21+8=29, Resulting Numbers: [27, 29] Generated Node #0,0,0: 84:[27, 29] Operation: 21+8=29 Exploring Operation: 21-8=13, Resulting Numbers: [27, 13] Generated Node #0,0,1: 84:[27, 13] Operation: 21-8=13 Exploring Operation: 27-8=19, Resulting Numbers: [21, 19] Generated Node #0,0,2: 84:[21, 19] Operation: 27-8=19 Exploring Operation: 27-21=6, Resulting Numbers: [8, 6] Generated Node #0,0,3: 84:[8, 6] Operation: 27-21=6 Moving to Node #0,3 Current State: 84:[15, 27, 2], Operations: ['23-21=2'] Exploring Operation: 27+2=29, Resulting Numbers: [15, 29] Generated Node #0,3,0: 84:[15, 29] Operation: 27+2=29 Exploring Operation: 27-15=12, Resulting Numbers: [2, 12] Generated Node #0,3,1: 84:[2, 12] Operation: 27-15=12 Exploring Operation: 15+27=42, Resulting Numbers: [2, 42] Generated Node #0,3,2: 84:[2, 42] Operation: 15+27=42 Exploring Operation: 15-2=13, Resulting Numbers: [27, 13] Generated Node #0,3,3: 84:[27, 13] Operation: 15-2=13 Moving to Node #0,2,0 Current State: 84:[42, 2], Operations: ['15+27=42', '23-21=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[21, 15, 23, 27], Operations: [] Exploring Operation: 15+27=42, Resulting Numbers: [21, 23, 42] Generated Node #0,2: 84:[21, 23, 42] Operation: 15+27=42 Moving to Node #0,2 Current State: 84:[21, 23, 42], Operations: ['15+27=42'] Exploring Operation: 23-21=2, Resulting Numbers: [42, 2] Generated Node #0,2,0: 84:[42, 2] Operation: 23-21=2 Moving to Node #0,2,0 Current State: 84:[42, 2], Operations: ['15+27=42', '23-21=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 52, 77, 12, 32 ]
75
[ "52+12=64", "64/32=2", "77-2=75" ]
Current State: 75:[52, 77, 12, 32], Operations: [] Exploring Operation: 52+12=64, Resulting Numbers: [77, 32, 64] Generated Node #2: [77, 32, 64] from Operation: 52+12=64 Current State: 75:[77, 32, 64], Operations: ['52+12=64'] Exploring Operation: 64/32=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 64/32=2 Current State: 75:[77, 2], Operations: ['52+12=64', '64/32=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[52, 77, 12, 32], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [12, 32, 25] Generated Node #0,0: 75:[12, 32, 25] Operation: 77-52=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[12, 32, 25], Operations: ['77-52=25'] Exploring Operation: 32-12=20, Resulting Numbers: [25, 20] Generated Node #0,0,0: 75:[25, 20] Operation: 32-12=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[25, 20], Operations: ['77-52=25', '32-12=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 99, 81, 63, 27 ]
72
[ "99-81=18", "63+27=90", "90-18=72" ]
Current State: 72:[99, 81, 63, 27], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [63, 27, 18] Generated Node #2: [63, 27, 18] from Operation: 99-81=18 Current State: 72:[63, 27, 18], Operations: ['99-81=18'] Exploring Operation: 63+27=90, Resulting Numbers: [18, 90] Generated Node #3: [18, 90] from Operation: 63+27=90 Current State: 72:[18, 90], Operations: ['99-81=18', '63+27=90'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[99, 81, 63, 27], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [99, 27, 18] Generated Node #0,0: 72:[99, 27, 18] Operation: 81-63=18 Exploring Operation: 81/27=3, Resulting Numbers: [99, 63, 3] Generated Node #0,1: 72:[99, 63, 3] Operation: 81/27=3 Exploring Operation: 99-63=36, Resulting Numbers: [81, 27, 36] Generated Node #0,2: 72:[81, 27, 36] Operation: 99-63=36 Exploring Operation: 99-81=18, Resulting Numbers: [63, 27, 18] Generated Node #0,3: 72:[63, 27, 18] Operation: 99-81=18 Exploring Operation: 99-27=72, Resulting Numbers: [81, 63, 72] Generated Node #0,4: 72:[81, 63, 72] Operation: 99-27=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[81, 27, 36], Operations: ['99-63=36'] Exploring Operation: 81/27=3, Resulting Numbers: [36, 3] Generated Node #0,2,0: 72:[36, 3] Operation: 81/27=3 Exploring Operation: 81-36=45, Resulting Numbers: [27, 45] Generated Node #0,2,1: 72:[27, 45] Operation: 81-36=45 Exploring Operation: 81-27=54, Resulting Numbers: [36, 54] Generated Node #0,2,2: 72:[36, 54] Operation: 81-27=54 Exploring Operation: 36-27=9, Resulting Numbers: [81, 9] Generated Node #0,2,3: 72:[81, 9] Operation: 36-27=9 Exploring Operation: 27+36=63, Resulting Numbers: [81, 63] Generated Node #0,2,4: 72:[81, 63] Operation: 27+36=63 Moving to Node #0,2,0 Current State: 72:[36, 3], Operations: ['99-63=36', '81/27=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,72 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[81, 9], Operations: ['99-63=36', '36-27=9'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[99, 81, 63, 27], Operations: [] Exploring Operation: 99-63=36, Resulting Numbers: [81, 27, 36] Generated Node #0,2: 72:[81, 27, 36] Operation: 99-63=36 Moving to Node #0,2 Current State: 72:[81, 27, 36], Operations: ['99-63=36'] Exploring Operation: 36-27=9, Resulting Numbers: [81, 9] Generated Node #0,2,3: 72:[81, 9] Operation: 36-27=9 Moving to Node #0,2,3 Current State: 72:[81, 9], Operations: ['99-63=36', '36-27=9'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 16, 12, 19, 66 ]
89
[ "16-12=4", "19+66=85", "4+85=89" ]
Current State: 89:[16, 12, 19, 66], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [19, 66, 4] Generated Node #2: [19, 66, 4] from Operation: 16-12=4 Current State: 89:[19, 66, 4], Operations: ['16-12=4'] Exploring Operation: 19+66=85, Resulting Numbers: [4, 85] Generated Node #3: [4, 85] from Operation: 19+66=85 Current State: 89:[4, 85], Operations: ['16-12=4', '19+66=85'] Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[16, 12, 19, 66], Operations: [] Exploring Operation: 16+12=28, Resulting Numbers: [19, 66, 28] Generated Node #0,0: 89:[19, 66, 28] Operation: 16+12=28 Moving to Node #0,0 Current State: 89:[19, 66, 28], Operations: ['16+12=28'] Exploring Operation: 19+66=85, Resulting Numbers: [28, 85] Generated Node #0,0,0: 89:[28, 85] Operation: 19+66=85 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[28, 85], Operations: ['16+12=28', '19+66=85'] Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,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
[ 94, 75, 64, 94 ]
49
[ "94-75=19", "94-64=30", "19+30=49" ]
Current State: 49:[94, 75, 64, 94], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [64, 19] Generated Node #2: [64, 19] from Operation: 94-75=19 Current State: 49:[64, 19], Operations: ['94-75=19'] Exploring Operation: 94-64=30, Resulting Numbers: [19, 30] Generated Node #3: [19, 30] from Operation: 94-64=30 Current State: 49:[19, 30], Operations: ['94-75=19', '94-64=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[94, 75, 64, 94], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [75, 64, 0] Generated Node #0,0: 49:[75, 64, 0] Operation: 94-94=0 Exploring Operation: 94/94=1, Resulting Numbers: [75, 64, 1] Generated Node #0,1: 49:[75, 64, 1] Operation: 94/94=1 Moving to Node #0,1 Current State: 49:[75, 64, 1], Operations: ['94/94=1'] Exploring Operation: 75-64=11, Resulting Numbers: [1, 11] Generated Node #0,1,0: 49:[1, 11] Operation: 75-64=11 Exploring Operation: 75-1=74, Resulting Numbers: [64, 74] Generated Node #0,1,1: 49:[64, 74] Operation: 75-1=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[1, 11], Operations: ['94/94=1', '75-64=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[64, 74], Operations: ['94/94=1', '75-1=74'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 49:[75, 64, 0], Operations: ['94-94=0'] Exploring Operation: 75*0=0, Resulting Numbers: [64, 0] Generated Node #0,0,0: 49:[64, 0] Operation: 75*0=0 Exploring Operation: 75-64=11, Resulting Numbers: [0, 11] Generated Node #0,0,1: 49:[0, 11] Operation: 75-64=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[0, 11], Operations: ['94-94=0', '75-64=11'] Exploring Operation: 0+11=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,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,0 Current State: 49:[64, 0], Operations: ['94-94=0', '75*0=0'] Exploring Operation: 64+0=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 64*0=0, Resulting Numbers: [0] 0,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 4, 26, 20 ]
96
[ "12+4=16", "26-20=6", "16*6=96" ]
Current State: 96:[12, 4, 26, 20], Operations: [] Exploring Operation: 12+4=16, Resulting Numbers: [26, 20, 16] Generated Node #2: [26, 20, 16] from Operation: 12+4=16 Current State: 96:[26, 20, 16], Operations: ['12+4=16'] Exploring Operation: 26-20=6, Resulting Numbers: [16, 6] Generated Node #3: [16, 6] from Operation: 26-20=6 Current State: 96:[16, 6], Operations: ['12+4=16', '26-20=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[12, 4, 26, 20], Operations: [] Exploring Operation: 12+20=32, Resulting Numbers: [4, 26, 32] Generated Node #0,0: 96:[4, 26, 32] Operation: 12+20=32 Exploring Operation: 20-12=8, Resulting Numbers: [4, 26, 8] Generated Node #0,1: 96:[4, 26, 8] Operation: 20-12=8 Exploring Operation: 26-20=6, Resulting Numbers: [12, 4, 6] Generated Node #0,2: 96:[12, 4, 6] Operation: 26-20=6 Moving to Node #0,2 Current State: 96:[12, 4, 6], Operations: ['26-20=6'] Exploring Operation: 12+4=16, Resulting Numbers: [6, 16] Generated Node #0,2,0: 96:[6, 16] Operation: 12+4=16 Exploring Operation: 12*4=48, Resulting Numbers: [6, 48] Generated Node #0,2,1: 96:[6, 48] Operation: 12*4=48 Exploring Operation: 12-4=8, Resulting Numbers: [6, 8] Generated Node #0,2,2: 96:[6, 8] Operation: 12-4=8 Moving to Node #0,0 Current State: 96:[4, 26, 32], Operations: ['12+20=32'] Exploring Operation: 32-26=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 96:[4, 6] Operation: 32-26=6 Exploring Operation: 4+26=30, Resulting Numbers: [32, 30] Generated Node #0,0,1: 96:[32, 30] Operation: 4+26=30 Exploring Operation: 26-4=22, Resulting Numbers: [32, 22] Generated Node #0,0,2: 96:[32, 22] Operation: 26-4=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[4, 6], Operations: ['12+20=32', '32-26=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,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,0,1 Current State: 96:[32, 30], Operations: ['12+20=32', '4+26=30'] Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,96 unequal: No Solution Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,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,0,2 Current State: 96:[32, 22], Operations: ['12+20=32', '26-4=22'] Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,96 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,96 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: 96:[4, 26, 8], Operations: ['20-12=8'] Exploring Operation: 4+8=12, Resulting Numbers: [26, 12] Generated Node #0,1,0: 96:[26, 12] Operation: 4+8=12 Exploring Operation: 4+26=30, Resulting Numbers: [8, 30] Generated Node #0,1,1: 96:[8, 30] Operation: 4+26=30 Exploring Operation: 26-4=22, Resulting Numbers: [8, 22] Generated Node #0,1,2: 96:[8, 22] Operation: 26-4=22 Moving to Node #0,2,0 Current State: 96:[6, 16], Operations: ['26-20=6', '12+4=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[12, 4, 26, 20], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [12, 4, 6] Generated Node #0,2: 96:[12, 4, 6] Operation: 26-20=6 Moving to Node #0,2 Current State: 96:[12, 4, 6], Operations: ['26-20=6'] Exploring Operation: 12+4=16, Resulting Numbers: [6, 16] Generated Node #0,2,0: 96:[6, 16] Operation: 12+4=16 Moving to Node #0,2,0 Current State: 96:[6, 16], Operations: ['26-20=6', '12+4=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 78, 38, 33, 61 ]
88
[ "78+38=116", "61-33=28", "116-28=88" ]
Current State: 88:[78, 38, 33, 61], Operations: [] Exploring Operation: 78+38=116, Resulting Numbers: [33, 61, 116] Generated Node #2: [33, 61, 116] from Operation: 78+38=116 Current State: 88:[33, 61, 116], Operations: ['78+38=116'] Exploring Operation: 61-33=28, Resulting Numbers: [116, 28] Generated Node #3: [116, 28] from Operation: 61-33=28 Current State: 88:[116, 28], Operations: ['78+38=116', '61-33=28'] Exploring Operation: 116-28=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[78, 38, 33, 61], Operations: [] Exploring Operation: 33+61=94, Resulting Numbers: [78, 38, 94] Generated Node #0,0: 88:[78, 38, 94] Operation: 33+61=94 Exploring Operation: 61-38=23, Resulting Numbers: [78, 33, 23] Generated Node #0,1: 88:[78, 33, 23] Operation: 61-38=23 Exploring Operation: 61-33=28, Resulting Numbers: [78, 38, 28] Generated Node #0,2: 88:[78, 38, 28] Operation: 61-33=28 Exploring Operation: 78-33=45, Resulting Numbers: [38, 61, 45] Generated Node #0,3: 88:[38, 61, 45] Operation: 78-33=45 Exploring Operation: 78-61=17, Resulting Numbers: [38, 33, 17] Generated Node #0,4: 88:[38, 33, 17] Operation: 78-61=17 Moving to Node #0,0 Current State: 88:[78, 38, 94], Operations: ['33+61=94'] Exploring Operation: 38+94=132, Resulting Numbers: [78, 132] Generated Node #0,0,0: 88:[78, 132] Operation: 38+94=132 Exploring Operation: 94-78=16, Resulting Numbers: [38, 16] Generated Node #0,0,1: 88:[38, 16] Operation: 94-78=16 Exploring Operation: 78-38=40, Resulting Numbers: [94, 40] Generated Node #0,0,2: 88:[94, 40] Operation: 78-38=40 Exploring Operation: 94-38=56, Resulting Numbers: [78, 56] Generated Node #0,0,3: 88:[78, 56] Operation: 94-38=56 Exploring Operation: 78+38=116, Resulting Numbers: [94, 116] Generated Node #0,0,4: 88:[94, 116] Operation: 78+38=116 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[94, 40], Operations: ['33+61=94', '78-38=40'] Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,88 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,88 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[38, 16], Operations: ['33+61=94', '94-78=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,88 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,88 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[78, 56], Operations: ['33+61=94', '94-38=56'] Exploring Operation: 78*56=4368, Resulting Numbers: [4368] 4368,88 unequal: No Solution Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 78+56=134, Resulting Numbers: [134] 134,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[94, 116], Operations: ['33+61=94', '78+38=116'] Exploring Operation: 116-94=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 94+116=210, Resulting Numbers: [210] 210,88 unequal: No Solution Exploring Operation: 94*116=10904, Resulting Numbers: [10904] 10904,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[78, 132], Operations: ['33+61=94', '38+94=132'] Exploring Operation: 78+132=210, Resulting Numbers: [210] 210,88 unequal: No Solution Exploring Operation: 78*132=10296, Resulting Numbers: [10296] 10296,88 unequal: No Solution Exploring Operation: 132-78=54, Resulting Numbers: [54] 54,88 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: 88:[78, 38, 28], Operations: ['61-33=28'] Exploring Operation: 78-38=40, Resulting Numbers: [28, 40] Generated Node #0,2,0: 88:[28, 40] Operation: 78-38=40 Exploring Operation: 78-28=50, Resulting Numbers: [38, 50] Generated Node #0,2,1: 88:[38, 50] Operation: 78-28=50 Exploring Operation: 78+28=106, Resulting Numbers: [38, 106] Generated Node #0,2,2: 88:[38, 106] Operation: 78+28=106 Exploring Operation: 38-28=10, Resulting Numbers: [78, 10] Generated Node #0,2,3: 88:[78, 10] Operation: 38-28=10 Exploring Operation: 38+28=66, Resulting Numbers: [78, 66] Generated Node #0,2,4: 88:[78, 66] Operation: 38+28=66 Moving to Node #0,1 Current State: 88:[78, 33, 23], Operations: ['61-38=23'] Exploring Operation: 78-33=45, Resulting Numbers: [23, 45] Generated Node #0,1,0: 88:[23, 45] Operation: 78-33=45 Exploring Operation: 33+23=56, Resulting Numbers: [78, 56] Generated Node #0,1,1: 88:[78, 56] Operation: 33+23=56 Exploring Operation: 78-23=55, Resulting Numbers: [33, 55] Generated Node #0,1,2: 88:[33, 55] Operation: 78-23=55 Exploring Operation: 33-23=10, Resulting Numbers: [78, 10] Generated Node #0,1,3: 88:[78, 10] Operation: 33-23=10 Exploring Operation: 78+33=111, Resulting Numbers: [23, 111] Generated Node #0,1,4: 88:[23, 111] Operation: 78+33=111 Moving to Node #0,4 Current State: 88:[38, 33, 17], Operations: ['78-61=17'] Exploring Operation: 38-33=5, Resulting Numbers: [17, 5] Generated Node #0,4,0: 88:[17, 5] Operation: 38-33=5 Exploring Operation: 33+17=50, Resulting Numbers: [38, 50] Generated Node #0,4,1: 88:[38, 50] Operation: 33+17=50 Exploring Operation: 33-17=16, Resulting Numbers: [38, 16] Generated Node #0,4,2: 88:[38, 16] Operation: 33-17=16 Exploring Operation: 38+33=71, Resulting Numbers: [17, 71] Generated Node #0,4,3: 88:[17, 71] Operation: 38+33=71 Exploring Operation: 38-17=21, Resulting Numbers: [33, 21] Generated Node #0,4,4: 88:[33, 21] Operation: 38-17=21 Moving to Node #0,3 Current State: 88:[38, 61, 45], Operations: ['78-33=45'] Exploring Operation: 45-38=7, Resulting Numbers: [61, 7] Generated Node #0,3,0: 88:[61, 7] Operation: 45-38=7 Exploring Operation: 61-38=23, Resulting Numbers: [45, 23] Generated Node #0,3,1: 88:[45, 23] Operation: 61-38=23 Exploring Operation: 38+45=83, Resulting Numbers: [61, 83] Generated Node #0,3,2: 88:[61, 83] Operation: 38+45=83 Exploring Operation: 61-45=16, Resulting Numbers: [38, 16] Generated Node #0,3,3: 88:[38, 16] Operation: 61-45=16 Exploring Operation: 38+61=99, Resulting Numbers: [45, 99] Generated Node #0,3,4: 88:[45, 99] Operation: 38+61=99 Moving to Node #0,1,0 Current State: 88:[23, 45], Operations: ['61-38=23', '78-33=45'] Exploring Operation: 23+45=68, Resulting Numbers: [68] 68,88 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 23*45=1035, Resulting Numbers: [1035] 1035,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[45, 23], Operations: ['78-33=45', '61-38=23'] Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,88 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[17, 5], Operations: ['78-61=17', '38-33=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,88 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[28, 40], Operations: ['61-33=28', '78-38=40'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,88 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[78, 10], Operations: ['61-38=23', '33-23=10'] Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[78, 38, 33, 61], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [78, 33, 23] Generated Node #0,1: 88:[78, 33, 23] Operation: 61-38=23 Moving to Node #0,1 Current State: 88:[78, 33, 23], Operations: ['61-38=23'] Exploring Operation: 33-23=10, Resulting Numbers: [78, 10] Generated Node #0,1,3: 88:[78, 10] Operation: 33-23=10 Moving to Node #0,1,3 Current State: 88:[78, 10], Operations: ['61-38=23', '33-23=10'] Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.946181
hs_5
mult_heuristic
[ 14, 1, 13, 2 ]
56
[ "14+1=15", "13+15=28", "2*28=56" ]
Current State: 56:[14, 1, 13, 2], Operations: [] Exploring Operation: 14+1=15, Resulting Numbers: [13, 2, 15] Generated Node #2: [13, 2, 15] from Operation: 14+1=15 Current State: 56:[13, 2, 15], Operations: ['14+1=15'] Exploring Operation: 13+15=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 13+15=28 Current State: 56:[2, 28], Operations: ['14+1=15', '13+15=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[14, 1, 13, 2], Operations: [] Exploring Operation: 1+13=14, Resulting Numbers: [14, 2, 14] Generated Node #0,0: 56:[14, 2, 14] Operation: 1+13=14 Moving to Node #0,0 Current State: 56:[14, 2, 14], Operations: ['1+13=14'] Exploring Operation: 14*2=28, Resulting Numbers: [14, 28] Generated Node #0,0,0: 56:[14, 28] Operation: 14*2=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[14, 28], Operations: ['1+13=14', '14*2=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 33, 6, 90, 12 ]
55
[ "90-33=57", "12/6=2", "57-2=55" ]
Current State: 55:[33, 6, 90, 12], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [6, 12, 57] Generated Node #2: [6, 12, 57] from Operation: 90-33=57 Current State: 55:[6, 12, 57], Operations: ['90-33=57'] Exploring Operation: 12/6=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 12/6=2 Current State: 55:[57, 2], Operations: ['90-33=57', '12/6=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[33, 6, 90, 12], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [6, 12, 57] Generated Node #0,0: 55:[6, 12, 57] Operation: 90-33=57 Exploring Operation: 90/6=15, Resulting Numbers: [33, 12, 15] Generated Node #0,1: 55:[33, 12, 15] Operation: 90/6=15 Exploring Operation: 33-12=21, Resulting Numbers: [6, 90, 21] Generated Node #0,2: 55:[6, 90, 21] Operation: 33-12=21 Exploring Operation: 33+12=45, Resulting Numbers: [6, 90, 45] Generated Node #0,3: 55:[6, 90, 45] Operation: 33+12=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[6, 12, 57], Operations: ['90-33=57'] Exploring Operation: 6+12=18, Resulting Numbers: [57, 18] Generated Node #0,0,0: 55:[57, 18] Operation: 6+12=18 Exploring Operation: 12-6=6, Resulting Numbers: [57, 6] Generated Node #0,0,1: 55:[57, 6] Operation: 12-6=6 Exploring Operation: 57-6=51, Resulting Numbers: [12, 51] Generated Node #0,0,2: 55:[12, 51] Operation: 57-6=51 Exploring Operation: 12/6=2, Resulting Numbers: [57, 2] Generated Node #0,0,3: 55:[57, 2] Operation: 12/6=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[57, 6], Operations: ['90-33=57', '12-6=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[12, 51], Operations: ['90-33=57', '57-6=51'] Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 12*51=612, Resulting Numbers: [612] 612,55 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 55:[57, 2], Operations: ['90-33=57', '12/6=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[33, 6, 90, 12], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [6, 12, 57] Generated Node #0,0: 55:[6, 12, 57] Operation: 90-33=57 Moving to Node #0,0 Current State: 55:[6, 12, 57], Operations: ['90-33=57'] Exploring Operation: 12/6=2, Resulting Numbers: [57, 2] Generated Node #0,0,3: 55:[57, 2] Operation: 12/6=2 Moving to Node #0,0,3 Current State: 55:[57, 2], Operations: ['90-33=57', '12/6=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 1, 46, 92, 36 ]
71
[ "92/46=2", "36*2=72", "72-1=71" ]
Current State: 71:[1, 46, 92, 36], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [1, 36, 2] Generated Node #2: [1, 36, 2] from Operation: 92/46=2 Current State: 71:[1, 36, 2], Operations: ['92/46=2'] Exploring Operation: 36*2=72, Resulting Numbers: [1, 72] Generated Node #3: [1, 72] from Operation: 36*2=72 Current State: 71:[1, 72], Operations: ['92/46=2', '36*2=72'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[1, 46, 92, 36], Operations: [] Exploring Operation: 92-1=91, Resulting Numbers: [46, 36, 91] Generated Node #0,0: 71:[46, 36, 91] Operation: 92-1=91 Exploring Operation: 1+46=47, Resulting Numbers: [92, 36, 47] Generated Node #0,1: 71:[92, 36, 47] Operation: 1+46=47 Moving to Node #0,0 Current State: 71:[46, 36, 91], Operations: ['92-1=91'] Exploring Operation: 91-36=55, Resulting Numbers: [46, 55] Generated Node #0,0,0: 71:[46, 55] Operation: 91-36=55 Exploring Operation: 46+36=82, Resulting Numbers: [91, 82] Generated Node #0,0,1: 71:[91, 82] Operation: 46+36=82 Moving to Node #0,1 Current State: 71:[92, 36, 47], Operations: ['1+46=47'] Exploring Operation: 92-36=56, Resulting Numbers: [47, 56] Generated Node #0,1,0: 71:[47, 56] Operation: 92-36=56 Exploring Operation: 36+47=83, Resulting Numbers: [92, 83] Generated Node #0,1,1: 71:[92, 83] Operation: 36+47=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[92, 83], Operations: ['1+46=47', '36+47=83'] Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 92+83=175, Resulting Numbers: [175] 175,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[47, 56], Operations: ['1+46=47', '92-36=56'] Exploring Operation: 47+56=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 71:[91, 82], Operations: ['92-1=91', '46+36=82'] Exploring Operation: 91-82=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 91+82=173, Resulting Numbers: [173] 173,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[46, 55], Operations: ['92-1=91', '91-36=55'] Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 46+55=101, Resulting Numbers: [101] 101,71 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 76, 48, 80, 8 ]
10
[ "80-76=4", "48-8=40", "40/4=10" ]
Current State: 10:[76, 48, 80, 8], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [48, 8, 4] Generated Node #2: [48, 8, 4] from Operation: 80-76=4 Current State: 10:[48, 8, 4], Operations: ['80-76=4'] Exploring Operation: 48-8=40, Resulting Numbers: [4, 40] Generated Node #3: [4, 40] from Operation: 48-8=40 Current State: 10:[4, 40], Operations: ['80-76=4', '48-8=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[76, 48, 80, 8], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [48, 8, 4] Generated Node #0,0: 10:[48, 8, 4] Operation: 80-76=4 Moving to Node #0,0 Current State: 10:[48, 8, 4], Operations: ['80-76=4'] Exploring Operation: 48/8=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 10:[4, 6] Operation: 48/8=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[4, 6], Operations: ['80-76=4', '48/8=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[76, 48, 80, 8], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [48, 8, 4] Generated Node #0,0: 10:[48, 8, 4] Operation: 80-76=4 Moving to Node #0,0 Current State: 10:[48, 8, 4], Operations: ['80-76=4'] Exploring Operation: 48/8=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 10:[4, 6] Operation: 48/8=6 Moving to Node #0,0,0 Current State: 10:[4, 6], Operations: ['80-76=4', '48/8=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 79, 8, 36, 34 ]
89
[ "79+8=87", "36-34=2", "87+2=89" ]
Current State: 89:[79, 8, 36, 34], Operations: [] Exploring Operation: 79+8=87, Resulting Numbers: [36, 34, 87] Generated Node #2: [36, 34, 87] from Operation: 79+8=87 Current State: 89:[36, 34, 87], Operations: ['79+8=87'] Exploring Operation: 36-34=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 36-34=2 Current State: 89:[87, 2], Operations: ['79+8=87', '36-34=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[79, 8, 36, 34], Operations: [] Exploring Operation: 79+8=87, Resulting Numbers: [36, 34, 87] Generated Node #0,0: 89:[36, 34, 87] Operation: 79+8=87 Exploring Operation: 8+36=44, Resulting Numbers: [79, 34, 44] Generated Node #0,1: 89:[79, 34, 44] Operation: 8+36=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[36, 34, 87], Operations: ['79+8=87'] Exploring Operation: 36+34=70, Resulting Numbers: [87, 70] Generated Node #0,0,0: 89:[87, 70] Operation: 36+34=70 Exploring Operation: 34+87=121, Resulting Numbers: [36, 121] Generated Node #0,0,1: 89:[36, 121] Operation: 34+87=121 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[87, 70], Operations: ['79+8=87', '36+34=70'] Exploring Operation: 87+70=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,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,1 Current State: 89:[36, 121], Operations: ['79+8=87', '34+87=121'] Exploring Operation: 36+121=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 121-36=85, Resulting Numbers: [85] 85,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:[79, 34, 44], Operations: ['8+36=44'] Exploring Operation: 79+34=113, Resulting Numbers: [44, 113] Generated Node #0,1,0: 89:[44, 113] Operation: 79+34=113 Exploring Operation: 34+44=78, Resulting Numbers: [79, 78] Generated Node #0,1,1: 89:[79, 78] Operation: 34+44=78 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[79, 78], Operations: ['8+36=44', '34+44=78'] Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 79+78=157, Resulting Numbers: [157] 157,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,1,0 Current State: 89:[44, 113], Operations: ['8+36=44', '79+34=113'] Exploring Operation: 113-44=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 44+113=157, Resulting Numbers: [157] 157,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 No solution found.
0
hs_2
mult_heuristic
[ 8, 39, 74, 77 ]
63
[ "77-74=3", "8*3=24", "39+24=63" ]
Current State: 63:[8, 39, 74, 77], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [8, 39, 3] Generated Node #2: [8, 39, 3] from Operation: 77-74=3 Current State: 63:[8, 39, 3], Operations: ['77-74=3'] Exploring Operation: 8*3=24, Resulting Numbers: [39, 24] Generated Node #3: [39, 24] from Operation: 8*3=24 Current State: 63:[39, 24], Operations: ['77-74=3', '8*3=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[8, 39, 74, 77], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [8, 39, 3] Generated Node #0,0: 63:[8, 39, 3] Operation: 77-74=3 Exploring Operation: 74-39=35, Resulting Numbers: [8, 77, 35] Generated Node #0,1: 63:[8, 77, 35] Operation: 74-39=35 Moving to Node #0,0 Current State: 63:[8, 39, 3], Operations: ['77-74=3'] Exploring Operation: 39-8=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 63:[3, 31] Operation: 39-8=31 Exploring Operation: 39/3=13, Resulting Numbers: [8, 13] Generated Node #0,0,1: 63:[8, 13] Operation: 39/3=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[8, 13], Operations: ['77-74=3', '39/3=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[3, 31], Operations: ['77-74=3', '39-8=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,63 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: 63:[8, 77, 35], Operations: ['74-39=35'] Exploring Operation: 77-8=69, Resulting Numbers: [35, 69] Generated Node #0,1,0: 63:[35, 69] Operation: 77-8=69 Exploring Operation: 35-8=27, Resulting Numbers: [77, 27] Generated Node #0,1,1: 63:[77, 27] Operation: 35-8=27 Moving to Node #0,1,0 Current State: 63:[35, 69], Operations: ['74-39=35', '77-8=69'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[77, 27], Operations: ['74-39=35', '35-8=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 71, 61, 56, 53 ]
44
[ "71+61=132", "56-53=3", "132/3=44" ]
Current State: 44:[71, 61, 56, 53], Operations: [] Exploring Operation: 71+61=132, Resulting Numbers: [56, 53, 132] Generated Node #2: [56, 53, 132] from Operation: 71+61=132 Current State: 44:[56, 53, 132], Operations: ['71+61=132'] Exploring Operation: 56-53=3, Resulting Numbers: [132, 3] Generated Node #3: [132, 3] from Operation: 56-53=3 Current State: 44:[132, 3], Operations: ['71+61=132', '56-53=3'] Exploring Operation: 132/3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[71, 61, 56, 53], Operations: [] Exploring Operation: 71-53=18, Resulting Numbers: [61, 56, 18] Generated Node #0,0: 44:[61, 56, 18] Operation: 71-53=18 Exploring Operation: 71-56=15, Resulting Numbers: [61, 53, 15] Generated Node #0,1: 44:[61, 53, 15] Operation: 71-56=15 Exploring Operation: 71-61=10, Resulting Numbers: [56, 53, 10] Generated Node #0,2: 44:[56, 53, 10] Operation: 71-61=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[56, 53, 10], Operations: ['71-61=10'] Exploring Operation: 53-10=43, Resulting Numbers: [56, 43] Generated Node #0,2,0: 44:[56, 43] Operation: 53-10=43 Exploring Operation: 56-53=3, Resulting Numbers: [10, 3] Generated Node #0,2,1: 44:[10, 3] Operation: 56-53=3 Exploring Operation: 56-10=46, Resulting Numbers: [53, 46] Generated Node #0,2,2: 44:[53, 46] Operation: 56-10=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 44:[10, 3], Operations: ['71-61=10', '56-53=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 44:[53, 46], Operations: ['71-61=10', '56-10=46'] Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,44 unequal: No Solution Exploring Operation: 53*46=2438, Resulting Numbers: [2438] 2438,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 44:[56, 43], Operations: ['71-61=10', '53-10=43'] Exploring Operation: 56+43=99, Resulting Numbers: [99] 99,44 unequal: No Solution Exploring Operation: 56*43=2408, Resulting Numbers: [2408] 2408,44 unequal: No Solution Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[61, 53, 15], Operations: ['71-56=15'] Exploring Operation: 61-15=46, Resulting Numbers: [53, 46] Generated Node #0,1,0: 44:[53, 46] Operation: 61-15=46 Exploring Operation: 53-15=38, Resulting Numbers: [61, 38] Generated Node #0,1,1: 44:[61, 38] Operation: 53-15=38 Exploring Operation: 61-53=8, Resulting Numbers: [15, 8] Generated Node #0,1,2: 44:[15, 8] Operation: 61-53=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[15, 8], Operations: ['71-56=15', '61-53=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[53, 46], Operations: ['71-56=15', '61-15=46'] Exploring Operation: 53*46=2438, Resulting Numbers: [2438] 2438,44 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[61, 38], Operations: ['71-56=15', '53-15=38'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,44 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[61, 56, 18], Operations: ['71-53=18'] Exploring Operation: 56-18=38, Resulting Numbers: [61, 38] Generated Node #0,0,0: 44:[61, 38] Operation: 56-18=38 Exploring Operation: 61-18=43, Resulting Numbers: [56, 43] Generated Node #0,0,1: 44:[56, 43] Operation: 61-18=43 Exploring Operation: 61-56=5, Resulting Numbers: [18, 5] Generated Node #0,0,2: 44:[18, 5] Operation: 61-56=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[18, 5], Operations: ['71-53=18', '61-56=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,44 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[56, 43], Operations: ['71-53=18', '61-18=43'] Exploring Operation: 56*43=2408, Resulting Numbers: [2408] 2408,44 unequal: No Solution Exploring Operation: 56+43=99, Resulting Numbers: [99] 99,44 unequal: No Solution Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[61, 38], Operations: ['71-53=18', '56-18=38'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,44 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 49, 33, 46, 94 ]
11
[ "49+94=143", "46-33=13", "143/13=11" ]
Current State: 11:[49, 33, 46, 94], Operations: [] Exploring Operation: 49+94=143, Resulting Numbers: [33, 46, 143] Generated Node #2: [33, 46, 143] from Operation: 49+94=143 Current State: 11:[33, 46, 143], Operations: ['49+94=143'] Exploring Operation: 46-33=13, Resulting Numbers: [143, 13] Generated Node #3: [143, 13] from Operation: 46-33=13 Current State: 11:[143, 13], Operations: ['49+94=143', '46-33=13'] Exploring Operation: 143/13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[49, 33, 46, 94], Operations: [] Exploring Operation: 49-33=16, Resulting Numbers: [46, 94, 16] Generated Node #0,0: 11:[46, 94, 16] Operation: 49-33=16 Exploring Operation: 49-46=3, Resulting Numbers: [33, 94, 3] Generated Node #0,1: 11:[33, 94, 3] Operation: 49-46=3 Exploring Operation: 94-49=45, Resulting Numbers: [33, 46, 45] Generated Node #0,2: 11:[33, 46, 45] Operation: 94-49=45 Exploring Operation: 46-33=13, Resulting Numbers: [49, 94, 13] Generated Node #0,3: 11:[49, 94, 13] Operation: 46-33=13 Exploring Operation: 94-46=48, Resulting Numbers: [49, 33, 48] Generated Node #0,4: 11:[49, 33, 48] Operation: 94-46=48 Moving to Node #0,2 Current State: 11:[33, 46, 45], Operations: ['94-49=45'] Exploring Operation: 46-33=13, Resulting Numbers: [45, 13] Generated Node #0,2,0: 11:[45, 13] Operation: 46-33=13 Exploring Operation: 46-45=1, Resulting Numbers: [33, 1] Generated Node #0,2,1: 11:[33, 1] Operation: 46-45=1 Exploring Operation: 45-33=12, Resulting Numbers: [46, 12] Generated Node #0,2,2: 11:[46, 12] Operation: 45-33=12 Exploring Operation: 33+46=79, Resulting Numbers: [45, 79] Generated Node #0,2,3: 11:[45, 79] Operation: 33+46=79 Exploring Operation: 33+45=78, Resulting Numbers: [46, 78] Generated Node #0,2,4: 11:[46, 78] Operation: 33+45=78 Moving to Node #0,4 Current State: 11:[49, 33, 48], Operations: ['94-46=48'] Exploring Operation: 48-33=15, Resulting Numbers: [49, 15] Generated Node #0,4,0: 11:[49, 15] Operation: 48-33=15 Exploring Operation: 49+48=97, Resulting Numbers: [33, 97] Generated Node #0,4,1: 11:[33, 97] Operation: 49+48=97 Exploring Operation: 49+33=82, Resulting Numbers: [48, 82] Generated Node #0,4,2: 11:[48, 82] Operation: 49+33=82 Exploring Operation: 49-33=16, Resulting Numbers: [48, 16] Generated Node #0,4,3: 11:[48, 16] Operation: 49-33=16 Exploring Operation: 49-48=1, Resulting Numbers: [33, 1] Generated Node #0,4,4: 11:[33, 1] Operation: 49-48=1 Moving to Node #0,1 Current State: 11:[33, 94, 3], Operations: ['49-46=3'] Exploring Operation: 33+3=36, Resulting Numbers: [94, 36] Generated Node #0,1,0: 11:[94, 36] Operation: 33+3=36 Exploring Operation: 94-3=91, Resulting Numbers: [33, 91] Generated Node #0,1,1: 11:[33, 91] Operation: 94-3=91 Exploring Operation: 33-3=30, Resulting Numbers: [94, 30] Generated Node #0,1,2: 11:[94, 30] Operation: 33-3=30 Exploring Operation: 94-33=61, Resulting Numbers: [3, 61] Generated Node #0,1,3: 11:[3, 61] Operation: 94-33=61 Exploring Operation: 33/3=11, Resulting Numbers: [94, 11] Generated Node #0,1,4: 11:[94, 11] Operation: 33/3=11 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[3, 61], Operations: ['49-46=3', '94-33=61'] Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,11 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,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,4 Current State: 11:[94, 11], Operations: ['49-46=3', '33/3=11'] Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,11 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,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:[33, 91], Operations: ['49-46=3', '94-3=91'] Exploring Operation: 91-33=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 33*91=3003, Resulting Numbers: [3003] 3003,11 unequal: No Solution Exploring Operation: 33+91=124, Resulting Numbers: [124] 124,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:[94, 30], Operations: ['49-46=3', '33-3=30'] Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,11 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,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:[94, 36], Operations: ['49-46=3', '33+3=36'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,11 unequal: No Solution Exploring Operation: 94+36=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,0 Current State: 11:[46, 94, 16], Operations: ['49-33=16'] Exploring Operation: 46+16=62, Resulting Numbers: [94, 62] Generated Node #0,0,0: 11:[94, 62] Operation: 46+16=62 Exploring Operation: 46+94=140, Resulting Numbers: [16, 140] Generated Node #0,0,1: 11:[16, 140] Operation: 46+94=140 Exploring Operation: 94-46=48, Resulting Numbers: [16, 48] Generated Node #0,0,2: 11:[16, 48] Operation: 94-46=48 Exploring Operation: 46-16=30, Resulting Numbers: [94, 30] Generated Node #0,0,3: 11:[94, 30] Operation: 46-16=30 Exploring Operation: 94-16=78, Resulting Numbers: [46, 78] Generated Node #0,0,4: 11:[46, 78] Operation: 94-16=78 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[16, 48], Operations: ['49-33=16', '94-46=48'] Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,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:[94, 30], Operations: ['49-33=16', '46-16=30'] Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,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,4 Current State: 11:[46, 78], Operations: ['49-33=16', '94-16=78'] Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,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:[94, 62], Operations: ['49-33=16', '46+16=62'] Exploring Operation: 94*62=5828, Resulting Numbers: [5828] 5828,11 unequal: No Solution Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 94+62=156, Resulting Numbers: [156] 156,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:[16, 140], Operations: ['49-33=16', '46+94=140'] Exploring Operation: 140-16=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 16+140=156, Resulting Numbers: [156] 156,11 unequal: No Solution Exploring Operation: 16*140=2240, Resulting Numbers: [2240] 2240,11 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: 11:[49, 94, 13], Operations: ['46-33=13'] Exploring Operation: 49-13=36, Resulting Numbers: [94, 36] Generated Node #0,3,0: 11:[94, 36] Operation: 49-13=36 Exploring Operation: 94-13=81, Resulting Numbers: [49, 81] Generated Node #0,3,1: 11:[49, 81] Operation: 94-13=81 Exploring Operation: 94-49=45, Resulting Numbers: [13, 45] Generated Node #0,3,2: 11:[13, 45] Operation: 94-49=45 Exploring Operation: 49+94=143, Resulting Numbers: [13, 143] Generated Node #0,3,3: 11:[13, 143] Operation: 49+94=143 Exploring Operation: 49+13=62, Resulting Numbers: [94, 62] Generated Node #0,3,4: 11:[94, 62] Operation: 49+13=62 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[13, 45], Operations: ['46-33=13', '94-49=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,11 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,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,3,0 Current State: 11:[94, 36], Operations: ['46-33=13', '49-13=36'] Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,11 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,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,3,1 Current State: 11:[49, 81], Operations: ['46-33=13', '94-13=81'] Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 49+81=130, Resulting Numbers: [130] 130,11 unequal: No Solution Exploring Operation: 49*81=3969, Resulting Numbers: [3969] 3969,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,3,3 Current State: 11:[13, 143], Operations: ['46-33=13', '49+94=143'] Exploring Operation: 143-13=130, Resulting Numbers: [130] 130,11 unequal: No Solution Exploring Operation: 13*143=1859, Resulting Numbers: [1859] 1859,11 unequal: No Solution Exploring Operation: 13+143=156, Resulting Numbers: [156] 156,11 unequal: No Solution Exploring Operation: 143/13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[49, 33, 46, 94], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [49, 94, 13] Generated Node #0,3: 11:[49, 94, 13] Operation: 46-33=13 Moving to Node #0,3 Current State: 11:[49, 94, 13], Operations: ['46-33=13'] Exploring Operation: 49+94=143, Resulting Numbers: [13, 143] Generated Node #0,3,3: 11:[13, 143] Operation: 49+94=143 Moving to Node #0,3,3 Current State: 11:[13, 143], Operations: ['46-33=13', '49+94=143'] Exploring Operation: 143/13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.932292
hs_5
mult_heuristic
[ 80, 10, 68, 35 ]
41
[ "80/10=8", "68-35=33", "8+33=41" ]
Current State: 41:[80, 10, 68, 35], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [68, 35, 8] Generated Node #2: [68, 35, 8] from Operation: 80/10=8 Current State: 41:[68, 35, 8], Operations: ['80/10=8'] Exploring Operation: 68-35=33, Resulting Numbers: [8, 33] Generated Node #3: [8, 33] from Operation: 68-35=33 Current State: 41:[8, 33], Operations: ['80/10=8', '68-35=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[80, 10, 68, 35], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [68, 35, 70] Generated Node #0,0: 41:[68, 35, 70] Operation: 80-10=70 Exploring Operation: 80-35=45, Resulting Numbers: [10, 68, 45] Generated Node #0,1: 41:[10, 68, 45] Operation: 80-35=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[68, 35, 70], Operations: ['80-10=70'] Exploring Operation: 70-35=35, Resulting Numbers: [68, 35] Generated Node #0,0,0: 41:[68, 35] Operation: 70-35=35 Exploring Operation: 68-35=33, Resulting Numbers: [70, 33] Generated Node #0,0,1: 41:[70, 33] Operation: 68-35=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[68, 35], Operations: ['80-10=70', '70-35=35'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[70, 33], Operations: ['80-10=70', '68-35=33'] Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,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:[10, 68, 45], Operations: ['80-35=45'] Exploring Operation: 45-10=35, Resulting Numbers: [68, 35] Generated Node #0,1,0: 41:[68, 35] Operation: 45-10=35 Exploring Operation: 68-10=58, Resulting Numbers: [45, 58] Generated Node #0,1,1: 41:[45, 58] Operation: 68-10=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[45, 58], Operations: ['80-35=45', '68-10=58'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 45+58=103, Resulting Numbers: [103] 103,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[68, 35], Operations: ['80-35=45', '45-10=35'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 52, 2, 58, 35 ]
49
[ "52/2=26", "58-35=23", "26+23=49" ]
Current State: 49:[52, 2, 58, 35], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [58, 35, 26] Generated Node #2: [58, 35, 26] from Operation: 52/2=26 Current State: 49:[58, 35, 26], Operations: ['52/2=26'] Exploring Operation: 58-35=23, Resulting Numbers: [26, 23] Generated Node #3: [26, 23] from Operation: 58-35=23 Current State: 49:[26, 23], Operations: ['52/2=26', '58-35=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[52, 2, 58, 35], Operations: [] Exploring Operation: 58-2=56, Resulting Numbers: [52, 35, 56] Generated Node #0,0: 49:[52, 35, 56] Operation: 58-2=56 Exploring Operation: 2+35=37, Resulting Numbers: [52, 58, 37] Generated Node #0,1: 49:[52, 58, 37] Operation: 2+35=37 Exploring Operation: 58-52=6, Resulting Numbers: [2, 35, 6] Generated Node #0,2: 49:[2, 35, 6] Operation: 58-52=6 Exploring Operation: 52-2=50, Resulting Numbers: [58, 35, 50] Generated Node #0,3: 49:[58, 35, 50] Operation: 52-2=50 Exploring Operation: 52-35=17, Resulting Numbers: [2, 58, 17] Generated Node #0,4: 49:[2, 58, 17] Operation: 52-35=17 Moving to Node #0,2 Current State: 49:[2, 35, 6], Operations: ['58-52=6'] Exploring Operation: 6-2=4, Resulting Numbers: [35, 4] Generated Node #0,2,0: 49:[35, 4] Operation: 6-2=4 Exploring Operation: 2+6=8, Resulting Numbers: [35, 8] Generated Node #0,2,1: 49:[35, 8] Operation: 2+6=8 Exploring Operation: 35+6=41, Resulting Numbers: [2, 41] Generated Node #0,2,2: 49:[2, 41] Operation: 35+6=41 Exploring Operation: 35-2=33, Resulting Numbers: [6, 33] Generated Node #0,2,3: 49:[6, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [6, 37] Generated Node #0,2,4: 49:[6, 37] Operation: 2+35=37 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[2, 41], Operations: ['58-52=6', '35+6=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 49:[6, 37], Operations: ['58-52=6', '2+35=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[35, 8], Operations: ['58-52=6', '2+6=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,49 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[35, 4], Operations: ['58-52=6', '6-2=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[6, 33], Operations: ['58-52=6', '35-2=33'] Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,49 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,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:[52, 58, 37], Operations: ['2+35=37'] Exploring Operation: 58-37=21, Resulting Numbers: [52, 21] Generated Node #0,1,0: 49:[52, 21] Operation: 58-37=21 Exploring Operation: 58+37=95, Resulting Numbers: [52, 95] Generated Node #0,1,1: 49:[52, 95] Operation: 58+37=95 Exploring Operation: 52+37=89, Resulting Numbers: [58, 89] Generated Node #0,1,2: 49:[58, 89] Operation: 52+37=89 Exploring Operation: 52-37=15, Resulting Numbers: [58, 15] Generated Node #0,1,3: 49:[58, 15] Operation: 52-37=15 Exploring Operation: 58-52=6, Resulting Numbers: [37, 6] Generated Node #0,1,4: 49:[37, 6] Operation: 58-52=6 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 49:[37, 6], Operations: ['2+35=37', '58-52=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,49 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[52, 21], Operations: ['2+35=37', '58-37=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,49 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[58, 15], Operations: ['2+35=37', '52-37=15'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,49 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[52, 95], Operations: ['2+35=37', '58+37=95'] Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,49 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[58, 89], Operations: ['2+35=37', '52+37=89'] Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,49 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,49 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: 49:[2, 58, 17], Operations: ['52-35=17'] Exploring Operation: 58-2=56, Resulting Numbers: [17, 56] Generated Node #0,4,0: 49:[17, 56] Operation: 58-2=56 Exploring Operation: 58-17=41, Resulting Numbers: [2, 41] Generated Node #0,4,1: 49:[2, 41] Operation: 58-17=41 Exploring Operation: 2+17=19, Resulting Numbers: [58, 19] Generated Node #0,4,2: 49:[58, 19] Operation: 2+17=19 Exploring Operation: 17-2=15, Resulting Numbers: [58, 15] Generated Node #0,4,3: 49:[58, 15] Operation: 17-2=15 Exploring Operation: 2+58=60, Resulting Numbers: [17, 60] Generated Node #0,4,4: 49:[17, 60] Operation: 2+58=60 Moving to Node #0,0 Current State: 49:[52, 35, 56], Operations: ['58-2=56'] Exploring Operation: 56-35=21, Resulting Numbers: [52, 21] Generated Node #0,0,0: 49:[52, 21] Operation: 56-35=21 Exploring Operation: 56-52=4, Resulting Numbers: [35, 4] Generated Node #0,0,1: 49:[35, 4] Operation: 56-52=4 Exploring Operation: 35+56=91, Resulting Numbers: [52, 91] Generated Node #0,0,2: 49:[52, 91] Operation: 35+56=91 Exploring Operation: 52+35=87, Resulting Numbers: [56, 87] Generated Node #0,0,3: 49:[56, 87] Operation: 52+35=87 Exploring Operation: 52-35=17, Resulting Numbers: [56, 17] Generated Node #0,0,4: 49:[56, 17] Operation: 52-35=17 Moving to Node #0,3 Current State: 49:[58, 35, 50], Operations: ['52-2=50'] Exploring Operation: 50-35=15, Resulting Numbers: [58, 15] Generated Node #0,3,0: 49:[58, 15] Operation: 50-35=15 Exploring Operation: 35+50=85, Resulting Numbers: [58, 85] Generated Node #0,3,1: 49:[58, 85] Operation: 35+50=85 Exploring Operation: 58-50=8, Resulting Numbers: [35, 8] Generated Node #0,3,2: 49:[35, 8] Operation: 58-50=8 Exploring Operation: 58+35=93, Resulting Numbers: [50, 93] Generated Node #0,3,3: 49:[50, 93] Operation: 58+35=93 Exploring Operation: 58-35=23, Resulting Numbers: [50, 23] Generated Node #0,3,4: 49:[50, 23] Operation: 58-35=23 Moving to Node #0,4,1 Current State: 49:[2, 41], Operations: ['52-35=17', '58-17=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[35, 8], Operations: ['52-2=50', '58-50=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,49 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,4,3 Current State: 49:[58, 15], Operations: ['52-35=17', '17-2=15'] Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,49 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[35, 4], Operations: ['58-2=56', '56-52=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,49 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[52, 21], Operations: ['58-2=56', '56-35=21'] Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[58, 15], Operations: ['52-2=50', '50-35=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,49 unequal: No Solution Moving to Node #0,3,4 Current State: 49:[50, 23], Operations: ['52-2=50', '58-35=23'] Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,49 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[17, 56], Operations: ['52-35=17', '58-2=56'] Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,49 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[56, 17], Operations: ['58-2=56', '52-35=17'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,49 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,49 unequal: No Solution Moving to Node #0,4,4 Current State: 49:[17, 60], Operations: ['52-35=17', '2+58=60'] Exploring Operation: 17*60=1020, Resulting Numbers: [1020] 1020,49 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,49 unequal: No Solution Moving to Node #0,4,2 Current State: 49:[58, 19], Operations: ['52-35=17', '2+17=19'] Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,49 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[58, 85], Operations: ['52-2=50', '35+50=85'] Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 58+85=143, Resulting Numbers: [143] 143,49 unequal: No Solution Exploring Operation: 58*85=4930, Resulting Numbers: [4930] 4930,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[50, 93], Operations: ['52-2=50', '58+35=93'] Exploring Operation: 50+93=143, Resulting Numbers: [143] 143,49 unequal: No Solution Exploring Operation: 50*93=4650, Resulting Numbers: [4650] 4650,49 unequal: No Solution Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[52, 91], Operations: ['58-2=56', '35+56=91'] Exploring Operation: 52+91=143, Resulting Numbers: [143] 143,49 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 52*91=4732, Resulting Numbers: [4732] 4732,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[56, 87], Operations: ['58-2=56', '52+35=87'] Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 56+87=143, Resulting Numbers: [143] 143,49 unequal: No Solution Exploring Operation: 56*87=4872, Resulting Numbers: [4872] 4872,49 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 25, 12, 8, 35 ]
86
[ "35-25=10", "12*8=96", "96-10=86" ]
Current State: 86:[25, 12, 8, 35], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [12, 8, 10] Generated Node #2: [12, 8, 10] from Operation: 35-25=10 Current State: 86:[12, 8, 10], Operations: ['35-25=10'] Exploring Operation: 12*8=96, Resulting Numbers: [10, 96] Generated Node #3: [10, 96] from Operation: 12*8=96 Current State: 86:[10, 96], Operations: ['35-25=10', '12*8=96'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[25, 12, 8, 35], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [12, 8, 10] Generated Node #0,0: 86:[12, 8, 10] Operation: 35-25=10 Exploring Operation: 25+12=37, Resulting Numbers: [8, 35, 37] Generated Node #0,1: 86:[8, 35, 37] Operation: 25+12=37 Moving to Node #0,1 Current State: 86:[8, 35, 37], Operations: ['25+12=37'] Exploring Operation: 37-35=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 86:[8, 2] Operation: 37-35=2 Exploring Operation: 8+35=43, Resulting Numbers: [37, 43] Generated Node #0,1,1: 86:[37, 43] Operation: 8+35=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[8, 2], Operations: ['25+12=37', '37-35=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[37, 43], Operations: ['25+12=37', '8+35=43'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,86 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: 86:[12, 8, 10], Operations: ['35-25=10'] Exploring Operation: 12-10=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 86:[8, 2] Operation: 12-10=2 Exploring Operation: 12-8=4, Resulting Numbers: [10, 4] Generated Node #0,0,1: 86:[10, 4] Operation: 12-8=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[8, 2], Operations: ['35-25=10', '12-10=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[10, 4], Operations: ['35-25=10', '12-8=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,86 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
[ 56, 15, 41, 69 ]
82
[ "56+15=71", "71-69=2", "41*2=82" ]
Current State: 82:[56, 15, 41, 69], Operations: [] Exploring Operation: 56+15=71, Resulting Numbers: [41, 69, 71] Generated Node #2: [41, 69, 71] from Operation: 56+15=71 Current State: 82:[41, 69, 71], Operations: ['56+15=71'] Exploring Operation: 71-69=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 71-69=2 Current State: 82:[41, 2], Operations: ['56+15=71', '71-69=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[56, 15, 41, 69], Operations: [] Exploring Operation: 15+69=84, Resulting Numbers: [56, 41, 84] Generated Node #0,0: 82:[56, 41, 84] Operation: 15+69=84 Exploring Operation: 56-15=41, Resulting Numbers: [41, 69, 41] Generated Node #0,1: 82:[41, 69, 41] Operation: 56-15=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[41, 69, 41], Operations: ['56-15=41'] Exploring Operation: 41+41=82, Resulting Numbers: [69, 82] Generated Node #0,1,0: 82:[69, 82] Operation: 41+41=82 Exploring Operation: 69-41=28, Resulting Numbers: [41, 28] Generated Node #0,1,1: 82:[41, 28] Operation: 69-41=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[69, 82], Operations: ['56-15=41', '41+41=82'] Exploring Operation: 69+82=151, Resulting Numbers: [151] 151,82 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[41, 28], Operations: ['56-15=41', '69-41=28'] Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,82 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[56, 41, 84], Operations: ['15+69=84'] Exploring Operation: 56-41=15, Resulting Numbers: [84, 15] Generated Node #0,0,0: 82:[84, 15] Operation: 56-41=15 Exploring Operation: 84-56=28, Resulting Numbers: [41, 28] Generated Node #0,0,1: 82:[41, 28] Operation: 84-56=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[41, 28], Operations: ['15+69=84', '84-56=28'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[84, 15], Operations: ['15+69=84', '56-41=15'] Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 43, 53, 52, 63 ]
47
[ "43*63=2709", "53*52=2756", "2756-2709=47" ]
Current State: 47:[43, 53, 52, 63], Operations: [] Exploring Operation: 43*63=2709, Resulting Numbers: [53, 52, 2709] Generated Node #2: [53, 52, 2709] from Operation: 43*63=2709 Current State: 47:[53, 52, 2709], Operations: ['43*63=2709'] Exploring Operation: 53*52=2756, Resulting Numbers: [2709, 2756] Generated Node #3: [2709, 2756] from Operation: 53*52=2756 Current State: 47:[2709, 2756], Operations: ['43*63=2709', '53*52=2756'] Exploring Operation: 2756-2709=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[43, 53, 52, 63], Operations: [] Exploring Operation: 63-43=20, Resulting Numbers: [53, 52, 20] Generated Node #0,0: 47:[53, 52, 20] Operation: 63-43=20 Exploring Operation: 63-52=11, Resulting Numbers: [43, 53, 11] Generated Node #0,1: 47:[43, 53, 11] Operation: 63-52=11 Exploring Operation: 63-53=10, Resulting Numbers: [43, 52, 10] Generated Node #0,2: 47:[43, 52, 10] Operation: 63-53=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[53, 52, 20], Operations: ['63-43=20'] Exploring Operation: 53-20=33, Resulting Numbers: [52, 33] Generated Node #0,0,0: 47:[52, 33] Operation: 53-20=33 Exploring Operation: 52-20=32, Resulting Numbers: [53, 32] Generated Node #0,0,1: 47:[53, 32] Operation: 52-20=32 Exploring Operation: 53+20=73, Resulting Numbers: [52, 73] Generated Node #0,0,2: 47:[52, 73] Operation: 53+20=73 Moving to Node #0,0,0 Current State: 47:[52, 33], Operations: ['63-43=20', '53-20=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,47 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[53, 32], Operations: ['63-43=20', '52-20=32'] Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,47 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[52, 73], Operations: ['63-43=20', '53+20=73'] Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,47 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[43, 53, 11], Operations: ['63-52=11'] Exploring Operation: 43-11=32, Resulting Numbers: [53, 32] Generated Node #0,1,0: 47:[53, 32] Operation: 43-11=32 Exploring Operation: 43+11=54, Resulting Numbers: [53, 54] Generated Node #0,1,1: 47:[53, 54] Operation: 43+11=54 Exploring Operation: 53-11=42, Resulting Numbers: [43, 42] Generated Node #0,1,2: 47:[43, 42] Operation: 53-11=42 Moving to Node #0,1,2 Current State: 47:[43, 42], Operations: ['63-52=11', '53-11=42'] Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[53, 54], Operations: ['63-52=11', '43+11=54'] Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,47 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[53, 32], Operations: ['63-52=11', '43-11=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,47 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,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,2 Current State: 47:[43, 52, 10], Operations: ['63-53=10'] Exploring Operation: 43-10=33, Resulting Numbers: [52, 33] Generated Node #0,2,0: 47:[52, 33] Operation: 43-10=33 Exploring Operation: 43+10=53, Resulting Numbers: [52, 53] Generated Node #0,2,1: 47:[52, 53] Operation: 43+10=53 Exploring Operation: 52-10=42, Resulting Numbers: [43, 42] Generated Node #0,2,2: 47:[43, 42] Operation: 52-10=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[43, 42], Operations: ['63-53=10', '52-10=42'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,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:[52, 53], Operations: ['63-53=10', '43+10=53'] Exploring Operation: 52*53=2756, Resulting Numbers: [2756] 2756,47 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,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:[52, 33], Operations: ['63-53=10', '43-10=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,47 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,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
sum_heuristic
[ 81, 10, 3, 16 ]
83
[ "81*3=243", "10*16=160", "243-160=83" ]
Current State: 83:[81, 10, 3, 16], Operations: [] Exploring Operation: 81*3=243, Resulting Numbers: [10, 16, 243] Generated Node #2: [10, 16, 243] from Operation: 81*3=243 Current State: 83:[10, 16, 243], Operations: ['81*3=243'] Exploring Operation: 10*16=160, Resulting Numbers: [243, 160] Generated Node #3: [243, 160] from Operation: 10*16=160 Current State: 83:[243, 160], Operations: ['81*3=243', '10*16=160'] Exploring Operation: 243-160=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[81, 10, 3, 16], Operations: [] Exploring Operation: 3*16=48, Resulting Numbers: [81, 10, 48] Generated Node #0,0: 83:[81, 10, 48] Operation: 3*16=48 Exploring Operation: 10*3=30, Resulting Numbers: [81, 16, 30] Generated Node #0,1: 83:[81, 16, 30] Operation: 10*3=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[81, 10, 48], Operations: ['3*16=48'] Exploring Operation: 81+10=91, Resulting Numbers: [48, 91] Generated Node #0,0,0: 83:[48, 91] Operation: 81+10=91 Exploring Operation: 10+48=58, Resulting Numbers: [81, 58] Generated Node #0,0,1: 83:[81, 58] Operation: 10+48=58 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[81, 58], Operations: ['3*16=48', '10+48=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,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,0 Current State: 83:[48, 91], Operations: ['3*16=48', '81+10=91'] Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,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:[81, 16, 30], Operations: ['10*3=30'] Exploring Operation: 81+16=97, Resulting Numbers: [30, 97] Generated Node #0,1,0: 83:[30, 97] Operation: 81+16=97 Exploring Operation: 16+30=46, Resulting Numbers: [81, 46] Generated Node #0,1,1: 83:[81, 46] Operation: 16+30=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[81, 46], Operations: ['10*3=30', '16+30=46'] Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,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,0 Current State: 83:[30, 97], Operations: ['10*3=30', '81+16=97'] Exploring Operation: 30+97=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,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, 38, 70, 21 ]
65
[ "67+38=105", "105/21=5", "70-5=65" ]
Current State: 65:[67, 38, 70, 21], Operations: [] Exploring Operation: 67+38=105, Resulting Numbers: [70, 21, 105] Generated Node #2: [70, 21, 105] from Operation: 67+38=105 Current State: 65:[70, 21, 105], Operations: ['67+38=105'] Exploring Operation: 105/21=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 105/21=5 Current State: 65:[70, 5], Operations: ['67+38=105', '105/21=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[67, 38, 70, 21], Operations: [] Exploring Operation: 67-38=29, Resulting Numbers: [70, 21, 29] Generated Node #0,0: 65:[70, 21, 29] Operation: 67-38=29 Exploring Operation: 38+21=59, Resulting Numbers: [67, 70, 59] Generated Node #0,1: 65:[67, 70, 59] Operation: 38+21=59 Exploring Operation: 38-21=17, Resulting Numbers: [67, 70, 17] Generated Node #0,2: 65:[67, 70, 17] Operation: 38-21=17 Moving to Node #0,2 Current State: 65:[67, 70, 17], Operations: ['38-21=17'] Exploring Operation: 70-67=3, Resulting Numbers: [17, 3] Generated Node #0,2,0: 65:[17, 3] Operation: 70-67=3 Exploring Operation: 70-17=53, Resulting Numbers: [67, 53] Generated Node #0,2,1: 65:[67, 53] Operation: 70-17=53 Exploring Operation: 67-17=50, Resulting Numbers: [70, 50] Generated Node #0,2,2: 65:[70, 50] Operation: 67-17=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[17, 3], Operations: ['38-21=17', '70-67=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[67, 53], Operations: ['38-21=17', '70-17=53'] Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,65 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[70, 50], Operations: ['38-21=17', '67-17=50'] Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,65 unequal: No Solution Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,65 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: 65:[67, 70, 59], Operations: ['38+21=59'] Exploring Operation: 70-59=11, Resulting Numbers: [67, 11] Generated Node #0,1,0: 65:[67, 11] Operation: 70-59=11 Exploring Operation: 67-59=8, Resulting Numbers: [70, 8] Generated Node #0,1,1: 65:[70, 8] Operation: 67-59=8 Exploring Operation: 70-67=3, Resulting Numbers: [59, 3] Generated Node #0,1,2: 65:[59, 3] Operation: 70-67=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[67, 11], Operations: ['38+21=59', '70-59=11'] Exploring Operation: 67*11=737, Resulting Numbers: [737] 737,65 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 67+11=78, Resulting Numbers: [78] 78,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[70, 8], Operations: ['38+21=59', '67-59=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,65 unequal: No Solution Exploring Operation: 70*8=560, Resulting Numbers: [560] 560,65 unequal: No Solution Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[59, 3], Operations: ['38+21=59', '70-67=3'] Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,65 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,65 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 65:[70, 21, 29], Operations: ['67-38=29'] Exploring Operation: 29-21=8, Resulting Numbers: [70, 8] Generated Node #0,0,0: 65:[70, 8] Operation: 29-21=8 Exploring Operation: 70-21=49, Resulting Numbers: [29, 49] Generated Node #0,0,1: 65:[29, 49] Operation: 70-21=49 Exploring Operation: 21+29=50, Resulting Numbers: [70, 50] Generated Node #0,0,2: 65:[70, 50] Operation: 21+29=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[70, 8], Operations: ['67-38=29', '29-21=8'] Exploring Operation: 70*8=560, Resulting Numbers: [560] 560,65 unequal: No Solution Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[70, 50], Operations: ['67-38=29', '21+29=50'] Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,65 unequal: No Solution Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,65 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[29, 49], Operations: ['67-38=29', '70-21=49'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 29*49=1421, Resulting Numbers: [1421] 1421,65 unequal: No Solution Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 32, 2, 12, 18 ]
60
[ "32-2=30", "12+18=30", "30+30=60" ]
Current State: 60:[32, 2, 12, 18], Operations: [] Exploring Operation: 32-2=30, Resulting Numbers: [12, 18, 30] Generated Node #2: [12, 18, 30] from Operation: 32-2=30 Current State: 60:[12, 18, 30], Operations: ['32-2=30'] Exploring Operation: 12+18=30, Resulting Numbers: [30, 30] Generated Node #3: [30, 30] from Operation: 12+18=30 Current State: 60:[30, 30], Operations: ['32-2=30', '12+18=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[32, 2, 12, 18], Operations: [] Exploring Operation: 32-2=30, Resulting Numbers: [12, 18, 30] Generated Node #0,0: 60:[12, 18, 30] Operation: 32-2=30 Exploring Operation: 2+18=20, Resulting Numbers: [32, 12, 20] Generated Node #0,1: 60:[32, 12, 20] Operation: 2+18=20 Exploring Operation: 32-18=14, Resulting Numbers: [2, 12, 14] Generated Node #0,2: 60:[2, 12, 14] Operation: 32-18=14 Exploring Operation: 32-12=20, Resulting Numbers: [2, 18, 20] Generated Node #0,3: 60:[2, 18, 20] Operation: 32-12=20 Exploring Operation: 12+18=30, Resulting Numbers: [32, 2, 30] Generated Node #0,4: 60:[32, 2, 30] Operation: 12+18=30 Moving to Node #0,2 Current State: 60:[2, 12, 14], Operations: ['32-18=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 60:[2, 2] Operation: 14-12=2 Exploring Operation: 12-2=10, Resulting Numbers: [14, 10] Generated Node #0,2,1: 60:[14, 10] Operation: 12-2=10 Exploring Operation: 12/2=6, Resulting Numbers: [14, 6] Generated Node #0,2,2: 60:[14, 6] Operation: 12/2=6 Exploring Operation: 2+14=16, Resulting Numbers: [12, 16] Generated Node #0,2,3: 60:[12, 16] Operation: 2+14=16 Exploring Operation: 14-2=12, Resulting Numbers: [12, 12] Generated Node #0,2,4: 60:[12, 12] Operation: 14-2=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[2, 2], Operations: ['32-18=14', '14-12=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 60:[12, 12], Operations: ['32-18=14', '14-2=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,60 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[14, 10], Operations: ['32-18=14', '12-2=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,60 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[14, 6], Operations: ['32-18=14', '12/2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 60:[12, 16], Operations: ['32-18=14', '2+14=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 60:[32, 12, 20], Operations: ['2+18=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32, 32] Generated Node #0,1,0: 60:[32, 32] Operation: 12+20=32 Exploring Operation: 32-20=12, Resulting Numbers: [12, 12] Generated Node #0,1,1: 60:[12, 12] Operation: 32-20=12 Exploring Operation: 32-12=20, Resulting Numbers: [20, 20] Generated Node #0,1,2: 60:[20, 20] Operation: 32-12=20 Exploring Operation: 32+20=52, Resulting Numbers: [12, 52] Generated Node #0,1,3: 60:[12, 52] Operation: 32+20=52 Exploring Operation: 20-12=8, Resulting Numbers: [32, 8] Generated Node #0,1,4: 60:[32, 8] Operation: 20-12=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[12, 12], Operations: ['2+18=20', '32-20=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,60 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[20, 20], Operations: ['2+18=20', '32-12=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,60 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[32, 32], Operations: ['2+18=20', '12+20=32'] Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,60 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 60:[32, 8], Operations: ['2+18=20', '20-12=8'] Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,60 unequal: No Solution Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[12, 52], Operations: ['2+18=20', '32+20=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 12*52=624, Resulting Numbers: [624] 624,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 60:[32, 2, 30], Operations: ['12+18=30'] Exploring Operation: 32-2=30, Resulting Numbers: [30, 30] Generated Node #0,4,0: 60:[30, 30] Operation: 32-2=30 Exploring Operation: 32+30=62, Resulting Numbers: [2, 62] Generated Node #0,4,1: 60:[2, 62] Operation: 32+30=62 Exploring Operation: 2*30=60, Resulting Numbers: [32, 60] Generated Node #0,4,2: 60:[32, 60] Operation: 2*30=60 Exploring Operation: 32/2=16, Resulting Numbers: [30, 16] Generated Node #0,4,3: 60:[30, 16] Operation: 32/2=16 Exploring Operation: 32-30=2, Resulting Numbers: [2, 2] Generated Node #0,4,4: 60:[2, 2] Operation: 32-30=2 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 60:[30, 30], Operations: ['12+18=30', '32-2=30'] Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,60 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[32, 2, 12, 18], Operations: [] Exploring Operation: 12+18=30, Resulting Numbers: [32, 2, 30] Generated Node #0,4: 60:[32, 2, 30] Operation: 12+18=30 Moving to Node #0,4 Current State: 60:[32, 2, 30], Operations: ['12+18=30'] Exploring Operation: 32-2=30, Resulting Numbers: [30, 30] Generated Node #0,4,0: 60:[30, 30] Operation: 32-2=30 Moving to Node #0,4,0 Current State: 60:[30, 30], Operations: ['12+18=30', '32-2=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 3, 82, 14, 11 ]
92
[ "3*82=246", "14*11=154", "246-154=92" ]
Current State: 92:[3, 82, 14, 11], Operations: [] Exploring Operation: 3*82=246, Resulting Numbers: [14, 11, 246] Generated Node #2: [14, 11, 246] from Operation: 3*82=246 Current State: 92:[14, 11, 246], Operations: ['3*82=246'] Exploring Operation: 14*11=154, Resulting Numbers: [246, 154] Generated Node #3: [246, 154] from Operation: 14*11=154 Current State: 92:[246, 154], Operations: ['3*82=246', '14*11=154'] Exploring Operation: 246-154=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[3, 82, 14, 11], Operations: [] Exploring Operation: 82+14=96, Resulting Numbers: [3, 11, 96] Generated Node #0,0: 92:[3, 11, 96] Operation: 82+14=96 Exploring Operation: 14+11=25, Resulting Numbers: [3, 82, 25] Generated Node #0,1: 92:[3, 82, 25] Operation: 14+11=25 Exploring Operation: 14-11=3, Resulting Numbers: [3, 82, 3] Generated Node #0,2: 92:[3, 82, 3] Operation: 14-11=3 Exploring Operation: 3*14=42, Resulting Numbers: [82, 11, 42] Generated Node #0,3: 92:[82, 11, 42] Operation: 3*14=42 Exploring Operation: 82+11=93, Resulting Numbers: [3, 14, 93] Generated Node #0,4: 92:[3, 14, 93] Operation: 82+11=93 Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[3, 14, 93], Operations: ['82+11=93'] Exploring Operation: 3*14=42, Resulting Numbers: [93, 42] Generated Node #0,4,0: 92:[93, 42] Operation: 3*14=42 Exploring Operation: 3+93=96, Resulting Numbers: [14, 96] Generated Node #0,4,1: 92:[14, 96] Operation: 3+93=96 Exploring Operation: 14-3=11, Resulting Numbers: [93, 11] Generated Node #0,4,2: 92:[93, 11] Operation: 14-3=11 Exploring Operation: 93-3=90, Resulting Numbers: [14, 90] Generated Node #0,4,3: 92:[14, 90] Operation: 93-3=90 Exploring Operation: 3+14=17, Resulting Numbers: [93, 17] Generated Node #0,4,4: 92:[93, 17] Operation: 3+14=17 Moving to Node #0,4,0 Current State: 92:[93, 42], Operations: ['82+11=93', '3*14=42'] Exploring Operation: 93+42=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 93*42=3906, Resulting Numbers: [3906] 3906,92 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[93, 17], Operations: ['82+11=93', '3+14=17'] Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,92 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[93, 11], Operations: ['82+11=93', '14-3=11'] Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,92 unequal: No Solution Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,92 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[14, 90], Operations: ['82+11=93', '93-3=90'] Exploring Operation: 14*90=1260, Resulting Numbers: [1260] 1260,92 unequal: No Solution Exploring Operation: 14+90=104, Resulting Numbers: [104] 104,92 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[14, 96], Operations: ['82+11=93', '3+93=96'] Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 14*96=1344, Resulting Numbers: [1344] 1344,92 unequal: No Solution Exploring Operation: 14+96=110, Resulting Numbers: [110] 110,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:[3, 11, 96], Operations: ['82+14=96'] Exploring Operation: 11-3=8, Resulting Numbers: [96, 8] Generated Node #0,0,0: 92:[96, 8] Operation: 11-3=8 Exploring Operation: 96-11=85, Resulting Numbers: [3, 85] Generated Node #0,0,1: 92:[3, 85] Operation: 96-11=85 Exploring Operation: 3*11=33, Resulting Numbers: [96, 33] Generated Node #0,0,2: 92:[96, 33] Operation: 3*11=33 Exploring Operation: 96-3=93, Resulting Numbers: [11, 93] Generated Node #0,0,3: 92:[11, 93] Operation: 96-3=93 Exploring Operation: 3+11=14, Resulting Numbers: [96, 14] Generated Node #0,0,4: 92:[96, 14] Operation: 3+11=14 Moving to Node #0,0,0 Current State: 92:[96, 8], Operations: ['82+14=96', '11-3=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 96*8=768, Resulting Numbers: [768] 768,92 unequal: No Solution Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,92 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[11, 93], Operations: ['82+14=96', '96-3=93'] Exploring Operation: 11+93=104, Resulting Numbers: [104] 104,92 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 11*93=1023, Resulting Numbers: [1023] 1023,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[3, 85], Operations: ['82+14=96', '96-11=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,92 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[96, 14], Operations: ['82+14=96', '3+11=14'] Exploring Operation: 96+14=110, Resulting Numbers: [110] 110,92 unequal: No Solution Exploring Operation: 96*14=1344, Resulting Numbers: [1344] 1344,92 unequal: No Solution Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[96, 33], Operations: ['82+14=96', '3*11=33'] Exploring Operation: 96+33=129, Resulting Numbers: [129] 129,92 unequal: No Solution Exploring Operation: 96-33=63, Resulting Numbers: [63] 63,92 unequal: No Solution Exploring Operation: 96*33=3168, Resulting Numbers: [3168] 3168,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[3, 82, 3], Operations: ['14-11=3'] Exploring Operation: 82+3=85, Resulting Numbers: [3, 85] Generated Node #0,2,0: 92:[3, 85] Operation: 82+3=85 Exploring Operation: 3/3=1, Resulting Numbers: [82, 1] Generated Node #0,2,1: 92:[82, 1] Operation: 3/3=1 Exploring Operation: 3+82=85, Resulting Numbers: [3, 85] Generated Node #0,2,2: 92:[3, 85] Operation: 3+82=85 Exploring Operation: 3+3=6, Resulting Numbers: [82, 6] Generated Node #0,2,3: 92:[82, 6] Operation: 3+3=6 Exploring Operation: 3-3=0, Resulting Numbers: [82, 0] Generated Node #0,2,4: 92:[82, 0] Operation: 3-3=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[3, 85], Operations: ['14-11=3', '82+3=85'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,92 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[3, 85], Operations: ['14-11=3', '3+82=85'] Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,92 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[82, 1], Operations: ['14-11=3', '3/3=1'] Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[82, 6], Operations: ['14-11=3', '3+3=6'] Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 92:[82, 0], Operations: ['14-11=3', '3-3=0'] Exploring Operation: 82*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 82-0=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[3, 82, 25], Operations: ['14+11=25'] Exploring Operation: 82-3=79, Resulting Numbers: [25, 79] Generated Node #0,1,0: 92:[25, 79] Operation: 82-3=79 Exploring Operation: 3+82=85, Resulting Numbers: [25, 85] Generated Node #0,1,1: 92:[25, 85] Operation: 3+82=85 Exploring Operation: 82-25=57, Resulting Numbers: [3, 57] Generated Node #0,1,2: 92:[3, 57] Operation: 82-25=57 Exploring Operation: 25-3=22, Resulting Numbers: [82, 22] Generated Node #0,1,3: 92:[82, 22] Operation: 25-3=22 Exploring Operation: 3+25=28, Resulting Numbers: [82, 28] Generated Node #0,1,4: 92:[82, 28] Operation: 3+25=28 Moving to Node #0,1,1 Current State: 92:[25, 85], Operations: ['14+11=25', '3+82=85'] Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 25*85=2125, Resulting Numbers: [2125] 2125,92 unequal: No Solution Exploring Operation: 25+85=110, Resulting Numbers: [110] 110,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[82, 22], Operations: ['14+11=25', '25-3=22'] Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,92 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[3, 57], Operations: ['14+11=25', '82-25=57'] Exploring Operation: 3*57=171, Resulting Numbers: [171] 171,92 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[25, 79], Operations: ['14+11=25', '82-3=79'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 25*79=1975, Resulting Numbers: [1975] 1975,92 unequal: No Solution Exploring Operation: 25+79=104, Resulting Numbers: [104] 104,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[82, 28], Operations: ['14+11=25', '3+25=28'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,92 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,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,3 Current State: 92:[82, 11, 42], Operations: ['3*14=42'] Exploring Operation: 82+11=93, Resulting Numbers: [42, 93] Generated Node #0,3,0: 92:[42, 93] Operation: 82+11=93 Exploring Operation: 82-11=71, Resulting Numbers: [42, 71] Generated Node #0,3,1: 92:[42, 71] Operation: 82-11=71 Exploring Operation: 82-42=40, Resulting Numbers: [11, 40] Generated Node #0,3,2: 92:[11, 40] Operation: 82-42=40 Exploring Operation: 11+42=53, Resulting Numbers: [82, 53] Generated Node #0,3,3: 92:[82, 53] Operation: 11+42=53 Exploring Operation: 42-11=31, Resulting Numbers: [82, 31] Generated Node #0,3,4: 92:[82, 31] Operation: 42-11=31 Moving to Node #0,3,0 Current State: 92:[42, 93], Operations: ['3*14=42', '82+11=93'] Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 42*93=3906, Resulting Numbers: [3906] 3906,92 unequal: No Solution Exploring Operation: 42+93=135, Resulting Numbers: [135] 135,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[11, 40], Operations: ['3*14=42', '82-42=40'] Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[82, 53], Operations: ['3*14=42', '11+42=53'] Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,92 unequal: No Solution Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[82, 31], Operations: ['3*14=42', '42-11=31'] Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,92 unequal: No Solution Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[42, 71], Operations: ['3*14=42', '82-11=71'] Exploring Operation: 42*71=2982, Resulting Numbers: [2982] 2982,92 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 42+71=113, Resulting Numbers: [113] 113,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 46, 82, 2, 37 ]
47
[ "46*2=92", "82-37=45", "92-45=47" ]
Current State: 47:[46, 82, 2, 37], Operations: [] Exploring Operation: 46*2=92, Resulting Numbers: [82, 37, 92] Generated Node #2: [82, 37, 92] from Operation: 46*2=92 Current State: 47:[82, 37, 92], Operations: ['46*2=92'] Exploring Operation: 82-37=45, Resulting Numbers: [92, 45] Generated Node #3: [92, 45] from Operation: 82-37=45 Current State: 47:[92, 45], Operations: ['46*2=92', '82-37=45'] Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[46, 82, 2, 37], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [46, 37, 41] Generated Node #0,0: 47:[46, 37, 41] Operation: 82/2=41 Exploring Operation: 82-2=80, Resulting Numbers: [46, 37, 80] Generated Node #0,1: 47:[46, 37, 80] Operation: 82-2=80 Exploring Operation: 2+37=39, Resulting Numbers: [46, 82, 39] Generated Node #0,2: 47:[46, 82, 39] Operation: 2+37=39 Exploring Operation: 46+2=48, Resulting Numbers: [82, 37, 48] Generated Node #0,3: 47:[82, 37, 48] Operation: 46+2=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[46, 37, 41], Operations: ['82/2=41'] Exploring Operation: 41-37=4, Resulting Numbers: [46, 4] Generated Node #0,0,0: 47:[46, 4] Operation: 41-37=4 Exploring Operation: 46-37=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 47:[41, 9] Operation: 46-37=9 Exploring Operation: 46+37=83, Resulting Numbers: [41, 83] Generated Node #0,0,2: 47:[41, 83] Operation: 46+37=83 Exploring Operation: 37+41=78, Resulting Numbers: [46, 78] Generated Node #0,0,3: 47:[46, 78] Operation: 37+41=78 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[46, 78], Operations: ['82/2=41', '37+41=78'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,47 unequal: No Solution Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,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:[41, 83], Operations: ['82/2=41', '46+37=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,47 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,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,0 Current State: 47:[46, 4], Operations: ['82/2=41', '41-37=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,47 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,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:[41, 9], Operations: ['82/2=41', '46-37=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,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,1 Current State: 47:[46, 37, 80], Operations: ['82-2=80'] Exploring Operation: 80-37=43, Resulting Numbers: [46, 43] Generated Node #0,1,0: 47:[46, 43] Operation: 80-37=43 Exploring Operation: 46+37=83, Resulting Numbers: [80, 83] Generated Node #0,1,1: 47:[80, 83] Operation: 46+37=83 Exploring Operation: 80-46=34, Resulting Numbers: [37, 34] Generated Node #0,1,2: 47:[37, 34] Operation: 80-46=34 Exploring Operation: 46-37=9, Resulting Numbers: [80, 9] Generated Node #0,1,3: 47:[80, 9] Operation: 46-37=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[46, 43], Operations: ['82-2=80', '80-37=43'] Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,47 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[37, 34], Operations: ['82-2=80', '80-46=34'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[80, 83], Operations: ['82-2=80', '46+37=83'] Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 80*83=6640, Resulting Numbers: [6640] 6640,47 unequal: No Solution Exploring Operation: 80+83=163, Resulting Numbers: [163] 163,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[80, 9], Operations: ['82-2=80', '46-37=9'] Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,47 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,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:[46, 82, 39], Operations: ['2+37=39'] Exploring Operation: 82-46=36, Resulting Numbers: [39, 36] Generated Node #0,2,0: 47:[39, 36] Operation: 82-46=36 Exploring Operation: 46-39=7, Resulting Numbers: [82, 7] Generated Node #0,2,1: 47:[82, 7] Operation: 46-39=7 Exploring Operation: 46+39=85, Resulting Numbers: [82, 85] Generated Node #0,2,2: 47:[82, 85] Operation: 46+39=85 Exploring Operation: 82-39=43, Resulting Numbers: [46, 43] Generated Node #0,2,3: 47:[46, 43] Operation: 82-39=43 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[46, 43], Operations: ['2+37=39', '82-39=43'] Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,47 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,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:[39, 36], Operations: ['2+37=39', '82-46=36'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,47 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,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,2 Current State: 47:[82, 85], Operations: ['2+37=39', '46+39=85'] Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,47 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,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:[82, 7], Operations: ['2+37=39', '46-39=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,47 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,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,3 Current State: 47:[82, 37, 48], Operations: ['46+2=48'] Exploring Operation: 82+37=119, Resulting Numbers: [48, 119] Generated Node #0,3,0: 47:[48, 119] Operation: 82+37=119 Exploring Operation: 82-37=45, Resulting Numbers: [48, 45] Generated Node #0,3,1: 47:[48, 45] Operation: 82-37=45 Exploring Operation: 48-37=11, Resulting Numbers: [82, 11] Generated Node #0,3,2: 47:[82, 11] Operation: 48-37=11 Exploring Operation: 82-48=34, Resulting Numbers: [37, 34] Generated Node #0,3,3: 47:[37, 34] Operation: 82-48=34 Moving to Node #0,3,1 Current State: 47:[48, 45], Operations: ['46+2=48', '82-37=45'] Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,47 unequal: No Solution Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[37, 34], Operations: ['46+2=48', '82-48=34'] Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,47 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[82, 11], Operations: ['46+2=48', '48-37=11'] Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,47 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[48, 119], Operations: ['46+2=48', '82+37=119'] Exploring Operation: 119-48=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 48+119=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 48*119=5712, Resulting Numbers: [5712] 5712,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 9, 16, 59, 36 ]
49
[ "9*16=144", "59+36=95", "144-95=49" ]
Current State: 49:[9, 16, 59, 36], Operations: [] Exploring Operation: 9*16=144, Resulting Numbers: [59, 36, 144] Generated Node #2: [59, 36, 144] from Operation: 9*16=144 Current State: 49:[59, 36, 144], Operations: ['9*16=144'] Exploring Operation: 59+36=95, Resulting Numbers: [144, 95] Generated Node #3: [144, 95] from Operation: 59+36=95 Current State: 49:[144, 95], Operations: ['9*16=144', '59+36=95'] Exploring Operation: 144-95=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[9, 16, 59, 36], Operations: [] Exploring Operation: 59-16=43, Resulting Numbers: [9, 36, 43] Generated Node #0,0: 49:[9, 36, 43] Operation: 59-16=43 Exploring Operation: 16+36=52, Resulting Numbers: [9, 59, 52] Generated Node #0,1: 49:[9, 59, 52] Operation: 16+36=52 Exploring Operation: 36/9=4, Resulting Numbers: [16, 59, 4] Generated Node #0,2: 49:[16, 59, 4] Operation: 36/9=4 Moving to Node #0,1 Current State: 49:[9, 59, 52], Operations: ['16+36=52'] Exploring Operation: 59-52=7, Resulting Numbers: [9, 7] Generated Node #0,1,0: 49:[9, 7] Operation: 59-52=7 Exploring Operation: 52-9=43, Resulting Numbers: [59, 43] Generated Node #0,1,1: 49:[59, 43] Operation: 52-9=43 Exploring Operation: 59-9=50, Resulting Numbers: [52, 50] Generated Node #0,1,2: 49:[52, 50] Operation: 59-9=50 Moving to Node #0,0 Current State: 49:[9, 36, 43], Operations: ['59-16=43'] Exploring Operation: 9+36=45, Resulting Numbers: [43, 45] Generated Node #0,0,0: 49:[43, 45] Operation: 9+36=45 Exploring Operation: 43-36=7, Resulting Numbers: [9, 7] Generated Node #0,0,1: 49:[9, 7] Operation: 43-36=7 Exploring Operation: 36/9=4, Resulting Numbers: [43, 4] Generated Node #0,0,2: 49:[43, 4] Operation: 36/9=4 Moving to Node #0,2 Current State: 49:[16, 59, 4], Operations: ['36/9=4'] Exploring Operation: 16/4=4, Resulting Numbers: [59, 4] Generated Node #0,2,0: 49:[59, 4] Operation: 16/4=4 Exploring Operation: 16-4=12, Resulting Numbers: [59, 12] Generated Node #0,2,1: 49:[59, 12] Operation: 16-4=12 Exploring Operation: 59-16=43, Resulting Numbers: [4, 43] Generated Node #0,2,2: 49:[4, 43] Operation: 59-16=43 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[4, 43], Operations: ['36/9=4', '59-16=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,49 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[59, 4], Operations: ['36/9=4', '16/4=4'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[59, 12], Operations: ['36/9=4', '16-4=12'] Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,49 unequal: No Solution Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,49 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: 49:[9, 7], Operations: ['16+36=52', '59-52=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[9, 7], Operations: ['59-16=43', '43-36=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[52, 50], Operations: ['16+36=52', '59-9=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[43, 4], Operations: ['59-16=43', '36/9=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[43, 45], Operations: ['59-16=43', '9+36=45'] Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,49 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[59, 43], Operations: ['16+36=52', '52-9=43'] Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 59*43=2537, Resulting Numbers: [2537] 2537,49 unequal: No Solution Exploring Operation: 59+43=102, Resulting Numbers: [102] 102,49 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 81, 73, 9, 91 ]
11
[ "81-73=8", "91+8=99", "99/9=11" ]
Current State: 11:[81, 73, 9, 91], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [9, 91, 8] Generated Node #2: [9, 91, 8] from Operation: 81-73=8 Current State: 11:[9, 91, 8], Operations: ['81-73=8'] Exploring Operation: 91+8=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 91+8=99 Current State: 11:[9, 99], Operations: ['81-73=8', '91+8=99'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[81, 73, 9, 91], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [73, 9, 10] Generated Node #0,0: 11:[73, 9, 10] Operation: 91-81=10 Exploring Operation: 91-73=18, Resulting Numbers: [81, 9, 18] Generated Node #0,1: 11:[81, 9, 18] Operation: 91-73=18 Exploring Operation: 81-73=8, Resulting Numbers: [9, 91, 8] Generated Node #0,2: 11:[9, 91, 8] Operation: 81-73=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[73, 9, 10], Operations: ['91-81=10'] Exploring Operation: 73-9=64, Resulting Numbers: [10, 64] Generated Node #0,0,0: 11:[10, 64] Operation: 73-9=64 Exploring Operation: 73-10=63, Resulting Numbers: [9, 63] Generated Node #0,0,1: 11:[9, 63] Operation: 73-10=63 Exploring Operation: 9+10=19, Resulting Numbers: [73, 19] Generated Node #0,0,2: 11:[73, 19] Operation: 9+10=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[10, 64], Operations: ['91-81=10', '73-9=64'] Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,11 unequal: No Solution Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,11 unequal: No Solution No 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: 11:[9, 63], Operations: ['91-81=10', '73-10=63'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,11 unequal: No Solution No 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: 11:[73, 19], Operations: ['91-81=10', '9+10=19'] Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,11 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: 11:[81, 9, 18], Operations: ['91-73=18'] Exploring Operation: 81-9=72, Resulting Numbers: [18, 72] Generated Node #0,1,0: 11:[18, 72] Operation: 81-9=72 Exploring Operation: 81/9=9, Resulting Numbers: [18, 9] Generated Node #0,1,1: 11:[18, 9] Operation: 81/9=9 Exploring Operation: 81-18=63, Resulting Numbers: [9, 63] Generated Node #0,1,2: 11:[9, 63] Operation: 81-18=63 Moving to Node #0,1,1 Current State: 11:[18, 9], Operations: ['91-73=18', '81/9=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[9, 63], Operations: ['91-73=18', '81-18=63'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[18, 72], Operations: ['91-73=18', '81-9=72'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,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,2 Current State: 11:[9, 91, 8], Operations: ['81-73=8'] Exploring Operation: 91-9=82, Resulting Numbers: [8, 82] Generated Node #0,2,0: 11:[8, 82] Operation: 91-9=82 Exploring Operation: 91-8=83, Resulting Numbers: [9, 83] Generated Node #0,2,1: 11:[9, 83] Operation: 91-8=83 Exploring Operation: 9+8=17, Resulting Numbers: [91, 17] Generated Node #0,2,2: 11:[91, 17] Operation: 9+8=17 Moving to Node #0,2,0 Current State: 11:[8, 82], Operations: ['81-73=8', '91-9=82'] Exploring Operation: 8+82=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 8*82=656, Resulting Numbers: [656] 656,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[9, 83], Operations: ['81-73=8', '91-8=83'] Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,11 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[91, 17], Operations: ['81-73=8', '9+8=17'] Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,11 unequal: No Solution Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 7, 11, 14, 42 ]
31
[ "42/7=6", "11+14=25", "6+25=31" ]
Current State: 31:[7, 11, 14, 42], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [11, 14, 6] Generated Node #2: [11, 14, 6] from Operation: 42/7=6 Current State: 31:[11, 14, 6], Operations: ['42/7=6'] Exploring Operation: 11+14=25, Resulting Numbers: [6, 25] Generated Node #3: [6, 25] from Operation: 11+14=25 Current State: 31:[6, 25], Operations: ['42/7=6', '11+14=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[7, 11, 14, 42], Operations: [] Exploring Operation: 7+11=18, Resulting Numbers: [14, 42, 18] Generated Node #0,0: 31:[14, 42, 18] Operation: 7+11=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[14, 42, 18], Operations: ['7+11=18'] Exploring Operation: 14+18=32, Resulting Numbers: [42, 32] Generated Node #0,0,0: 31:[42, 32] Operation: 14+18=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[42, 32], Operations: ['7+11=18', '14+18=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 44, 57, 75, 35 ]
27
[ "57-44=13", "75-35=40", "40-13=27" ]
Current State: 27:[44, 57, 75, 35], Operations: [] Exploring Operation: 57-44=13, Resulting Numbers: [75, 35, 13] Generated Node #2: [75, 35, 13] from Operation: 57-44=13 Current State: 27:[75, 35, 13], Operations: ['57-44=13'] Exploring Operation: 75-35=40, Resulting Numbers: [13, 40] Generated Node #3: [13, 40] from Operation: 75-35=40 Current State: 27:[13, 40], Operations: ['57-44=13', '75-35=40'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[44, 57, 75, 35], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [57, 35, 31] Generated Node #0,0: 27:[57, 35, 31] Operation: 75-44=31 Exploring Operation: 75-35=40, Resulting Numbers: [44, 57, 40] Generated Node #0,1: 27:[44, 57, 40] Operation: 75-35=40 Exploring Operation: 57-44=13, Resulting Numbers: [75, 35, 13] Generated Node #0,2: 27:[75, 35, 13] Operation: 57-44=13 Exploring Operation: 75-57=18, Resulting Numbers: [44, 35, 18] Generated Node #0,3: 27:[44, 35, 18] Operation: 75-57=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[44, 35, 18], Operations: ['75-57=18'] Exploring Operation: 44-35=9, Resulting Numbers: [18, 9] Generated Node #0,3,0: 27:[18, 9] Operation: 44-35=9 Exploring Operation: 44-18=26, Resulting Numbers: [35, 26] Generated Node #0,3,1: 27:[35, 26] Operation: 44-18=26 Exploring Operation: 44+18=62, Resulting Numbers: [35, 62] Generated Node #0,3,2: 27:[35, 62] Operation: 44+18=62 Exploring Operation: 35-18=17, Resulting Numbers: [44, 17] Generated Node #0,3,3: 27:[44, 17] Operation: 35-18=17 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 27:[18, 9], Operations: ['75-57=18', '44-35=9'] Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,27 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[44, 57, 75, 35], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [44, 35, 18] Generated Node #0,3: 27:[44, 35, 18] Operation: 75-57=18 Moving to Node #0,3 Current State: 27:[44, 35, 18], Operations: ['75-57=18'] Exploring Operation: 44-35=9, Resulting Numbers: [18, 9] Generated Node #0,3,0: 27:[18, 9] Operation: 44-35=9 Moving to Node #0,3,0 Current State: 27:[18, 9], Operations: ['75-57=18', '44-35=9'] Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 4, 36, 68, 31 ]
59
[ "4+36=40", "68+31=99", "99-40=59" ]
Current State: 59:[4, 36, 68, 31], Operations: [] Exploring Operation: 4+36=40, Resulting Numbers: [68, 31, 40] Generated Node #2: [68, 31, 40] from Operation: 4+36=40 Current State: 59:[68, 31, 40], Operations: ['4+36=40'] Exploring Operation: 68+31=99, Resulting Numbers: [40, 99] Generated Node #3: [40, 99] from Operation: 68+31=99 Current State: 59:[40, 99], Operations: ['4+36=40', '68+31=99'] Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[4, 36, 68, 31], Operations: [] Exploring Operation: 4+31=35, Resulting Numbers: [36, 68, 35] Generated Node #0,0: 59:[36, 68, 35] Operation: 4+31=35 Exploring Operation: 68-4=64, Resulting Numbers: [36, 31, 64] Generated Node #0,1: 59:[36, 31, 64] Operation: 68-4=64 Exploring Operation: 36-4=32, Resulting Numbers: [68, 31, 32] Generated Node #0,2: 59:[68, 31, 32] Operation: 36-4=32 Exploring Operation: 4+36=40, Resulting Numbers: [68, 31, 40] Generated Node #0,3: 59:[68, 31, 40] Operation: 4+36=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[36, 68, 35], Operations: ['4+31=35'] Exploring Operation: 68-36=32, Resulting Numbers: [35, 32] Generated Node #0,0,0: 59:[35, 32] Operation: 68-36=32 Exploring Operation: 36-35=1, Resulting Numbers: [68, 1] Generated Node #0,0,1: 59:[68, 1] Operation: 36-35=1 Exploring Operation: 68-35=33, Resulting Numbers: [36, 33] Generated Node #0,0,2: 59:[36, 33] Operation: 68-35=33 Exploring Operation: 36+35=71, Resulting Numbers: [68, 71] Generated Node #0,0,3: 59:[68, 71] Operation: 36+35=71 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[68, 71], Operations: ['4+31=35', '36+35=71'] Exploring Operation: 68+71=139, Resulting Numbers: [139] 139,59 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 68*71=4828, Resulting Numbers: [4828] 4828,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[36, 33], Operations: ['4+31=35', '68-35=33'] Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,59 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[35, 32], Operations: ['4+31=35', '68-36=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,59 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[68, 1], Operations: ['4+31=35', '36-35=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[36, 31, 64], Operations: ['68-4=64'] Exploring Operation: 36-31=5, Resulting Numbers: [64, 5] Generated Node #0,1,0: 59:[64, 5] Operation: 36-31=5 Exploring Operation: 36+31=67, Resulting Numbers: [64, 67] Generated Node #0,1,1: 59:[64, 67] Operation: 36+31=67 Exploring Operation: 64-36=28, Resulting Numbers: [31, 28] Generated Node #0,1,2: 59:[31, 28] Operation: 64-36=28 Exploring Operation: 64-31=33, Resulting Numbers: [36, 33] Generated Node #0,1,3: 59:[36, 33] Operation: 64-31=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[64, 67], Operations: ['68-4=64', '36+31=67'] Exploring Operation: 64*67=4288, Resulting Numbers: [4288] 4288,59 unequal: No Solution Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 64+67=131, Resulting Numbers: [131] 131,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[36, 33], Operations: ['68-4=64', '64-31=33'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,59 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[64, 5], Operations: ['68-4=64', '36-31=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[4, 36, 68, 31], Operations: [] Exploring Operation: 68-4=64, Resulting Numbers: [36, 31, 64] Generated Node #0,1: 59:[36, 31, 64] Operation: 68-4=64 Moving to Node #0,1 Current State: 59:[36, 31, 64], Operations: ['68-4=64'] Exploring Operation: 36-31=5, Resulting Numbers: [64, 5] Generated Node #0,1,0: 59:[64, 5] Operation: 36-31=5 Moving to Node #0,1,0 Current State: 59:[64, 5], Operations: ['68-4=64', '36-31=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 41, 53, 44, 47 ]
97
[ "41+53=94", "47-44=3", "94+3=97" ]
Current State: 97:[41, 53, 44, 47], Operations: [] Exploring Operation: 41+53=94, Resulting Numbers: [44, 47, 94] Generated Node #2: [44, 47, 94] from Operation: 41+53=94 Current State: 97:[44, 47, 94], Operations: ['41+53=94'] Exploring Operation: 47-44=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 47-44=3 Current State: 97:[94, 3], Operations: ['41+53=94', '47-44=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[41, 53, 44, 47], Operations: [] Exploring Operation: 41+44=85, Resulting Numbers: [53, 47, 85] Generated Node #0,0: 97:[53, 47, 85] Operation: 41+44=85 Exploring Operation: 41+53=94, Resulting Numbers: [44, 47, 94] Generated Node #0,1: 97:[44, 47, 94] Operation: 41+53=94 Exploring Operation: 41+47=88, Resulting Numbers: [53, 44, 88] Generated Node #0,2: 97:[53, 44, 88] Operation: 41+47=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[53, 47, 85], Operations: ['41+44=85'] Exploring Operation: 53+47=100, Resulting Numbers: [85, 100] Generated Node #0,0,0: 97:[85, 100] Operation: 53+47=100 Exploring Operation: 53+85=138, Resulting Numbers: [47, 138] Generated Node #0,0,1: 97:[47, 138] Operation: 53+85=138 Exploring Operation: 47+85=132, Resulting Numbers: [53, 132] Generated Node #0,0,2: 97:[53, 132] Operation: 47+85=132 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[85, 100], Operations: ['41+44=85', '53+47=100'] Exploring Operation: 85*100=8500, Resulting Numbers: [8500] 8500,97 unequal: No Solution Exploring Operation: 85+100=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 100-85=15, Resulting Numbers: [15] 15,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[53, 132], Operations: ['41+44=85', '47+85=132'] Exploring Operation: 132-53=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 53*132=6996, Resulting Numbers: [6996] 6996,97 unequal: No Solution Exploring Operation: 53+132=185, Resulting Numbers: [185] 185,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,1 Current State: 97:[47, 138], Operations: ['41+44=85', '53+85=138'] Exploring Operation: 138-47=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 47+138=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 47*138=6486, Resulting Numbers: [6486] 6486,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[44, 47, 94], Operations: ['41+53=94'] Exploring Operation: 44+47=91, Resulting Numbers: [94, 91] Generated Node #0,1,0: 97:[94, 91] Operation: 44+47=91 Exploring Operation: 47-44=3, Resulting Numbers: [94, 3] Generated Node #0,1,1: 97:[94, 3] Operation: 47-44=3 Exploring Operation: 44+94=138, Resulting Numbers: [47, 138] Generated Node #0,1,2: 97:[47, 138] Operation: 44+94=138 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[94, 91], Operations: ['41+53=94', '44+47=91'] Exploring Operation: 94*91=8554, Resulting Numbers: [8554] 8554,97 unequal: No Solution Exploring Operation: 94+91=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 94-91=3, Resulting Numbers: [3] 3,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,1,2 Current State: 97:[47, 138], Operations: ['41+53=94', '44+94=138'] Exploring Operation: 47+138=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 138-47=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 47*138=6486, Resulting Numbers: [6486] 6486,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,1,1 Current State: 97:[94, 3], Operations: ['41+53=94', '47-44=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[41, 53, 44, 47], Operations: [] Exploring Operation: 41+53=94, Resulting Numbers: [44, 47, 94] Generated Node #0,1: 97:[44, 47, 94] Operation: 41+53=94 Moving to Node #0,1 Current State: 97:[44, 47, 94], Operations: ['41+53=94'] Exploring Operation: 47-44=3, Resulting Numbers: [94, 3] Generated Node #0,1,1: 97:[94, 3] Operation: 47-44=3 Moving to Node #0,1,1 Current State: 97:[94, 3], Operations: ['41+53=94', '47-44=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 3, 34, 42, 70 ]
94
[ "42-34=8", "3*8=24", "70+24=94" ]
Current State: 94:[3, 34, 42, 70], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [3, 70, 8] Generated Node #2: [3, 70, 8] from Operation: 42-34=8 Current State: 94:[3, 70, 8], Operations: ['42-34=8'] Exploring Operation: 3*8=24, Resulting Numbers: [70, 24] Generated Node #3: [70, 24] from Operation: 3*8=24 Current State: 94:[70, 24], Operations: ['42-34=8', '3*8=24'] Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[3, 34, 42, 70], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [3, 42, 36] Generated Node #0,0: 94:[3, 42, 36] Operation: 70-34=36 Exploring Operation: 34+70=104, Resulting Numbers: [3, 42, 104] Generated Node #0,1: 94:[3, 42, 104] Operation: 34+70=104 Moving to Node #0,1 Current State: 94:[3, 42, 104], Operations: ['34+70=104'] Exploring Operation: 3+42=45, Resulting Numbers: [104, 45] Generated Node #0,1,0: 94:[104, 45] Operation: 3+42=45 Exploring Operation: 104-3=101, Resulting Numbers: [42, 101] Generated Node #0,1,1: 94:[42, 101] Operation: 104-3=101 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[104, 45], Operations: ['34+70=104', '3+42=45'] Exploring Operation: 104-45=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 104+45=149, Resulting Numbers: [149] 149,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:[42, 101], Operations: ['34+70=104', '104-3=101'] Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 42+101=143, Resulting Numbers: [143] 143,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:[3, 42, 36], Operations: ['70-34=36'] Exploring Operation: 3+42=45, Resulting Numbers: [36, 45] Generated Node #0,0,0: 94:[36, 45] Operation: 3+42=45 Exploring Operation: 42-36=6, Resulting Numbers: [3, 6] Generated Node #0,0,1: 94:[3, 6] Operation: 42-36=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[3, 6], Operations: ['70-34=36', '42-36=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 6-3=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,0,0 Current State: 94:[36, 45], Operations: ['70-34=36', '3+42=45'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,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
mult_heuristic
[ 40, 59, 78, 10 ]
87
[ "59-40=19", "78-10=68", "19+68=87" ]
Current State: 87:[40, 59, 78, 10], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [78, 10, 19] Generated Node #2: [78, 10, 19] from Operation: 59-40=19 Current State: 87:[78, 10, 19], Operations: ['59-40=19'] Exploring Operation: 78-10=68, Resulting Numbers: [19, 68] Generated Node #3: [19, 68] from Operation: 78-10=68 Current State: 87:[19, 68], Operations: ['59-40=19', '78-10=68'] Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[40, 59, 78, 10], Operations: [] Exploring Operation: 78-59=19, Resulting Numbers: [40, 10, 19] Generated Node #0,0: 87:[40, 10, 19] Operation: 78-59=19 Exploring Operation: 40+59=99, Resulting Numbers: [78, 10, 99] Generated Node #0,1: 87:[78, 10, 99] Operation: 40+59=99 Exploring Operation: 59-40=19, Resulting Numbers: [78, 10, 19] Generated Node #0,2: 87:[78, 10, 19] Operation: 59-40=19 Moving to Node #0,2 Current State: 87:[78, 10, 19], Operations: ['59-40=19'] Exploring Operation: 10+19=29, Resulting Numbers: [78, 29] Generated Node #0,2,0: 87:[78, 29] Operation: 10+19=29 Exploring Operation: 78+10=88, Resulting Numbers: [19, 88] Generated Node #0,2,1: 87:[19, 88] Operation: 78+10=88 Exploring Operation: 19-10=9, Resulting Numbers: [78, 9] Generated Node #0,2,2: 87:[78, 9] Operation: 19-10=9 Moving to Node #0,0 Current State: 87:[40, 10, 19], Operations: ['78-59=19'] Exploring Operation: 10+19=29, Resulting Numbers: [40, 29] Generated Node #0,0,0: 87:[40, 29] Operation: 10+19=29 Exploring Operation: 40-10=30, Resulting Numbers: [19, 30] Generated Node #0,0,1: 87:[19, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [19, 4] Generated Node #0,0,2: 87:[19, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[40, 29], Operations: ['78-59=19', '10+19=29'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,87 unequal: No Solution Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[19, 30], Operations: ['78-59=19', '40-10=30'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,87 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[19, 4], Operations: ['78-59=19', '40/10=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 87:[78, 10, 99], Operations: ['40+59=99'] Exploring Operation: 99-10=89, Resulting Numbers: [78, 89] Generated Node #0,1,0: 87:[78, 89] Operation: 99-10=89 Exploring Operation: 99-78=21, Resulting Numbers: [10, 21] Generated Node #0,1,1: 87:[10, 21] Operation: 99-78=21 Exploring Operation: 78+10=88, Resulting Numbers: [99, 88] Generated Node #0,1,2: 87:[99, 88] Operation: 78+10=88 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[78, 89], Operations: ['40+59=99', '99-10=89'] Exploring Operation: 78*89=6942, Resulting Numbers: [6942] 6942,87 unequal: No Solution Exploring Operation: 78+89=167, Resulting Numbers: [167] 167,87 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[99, 88], Operations: ['40+59=99', '78+10=88'] Exploring Operation: 99+88=187, Resulting Numbers: [187] 187,87 unequal: No Solution Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 99*88=8712, Resulting Numbers: [8712] 8712,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[10, 21], Operations: ['40+59=99', '99-78=21'] Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,87 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 87:[78, 29], Operations: ['59-40=19', '10+19=29'] Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,87 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[19, 88], Operations: ['59-40=19', '78+10=88'] Exploring Operation: 19*88=1672, Resulting Numbers: [1672] 1672,87 unequal: No Solution Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 19+88=107, Resulting Numbers: [107] 107,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[78, 9], Operations: ['59-40=19', '19-10=9'] Exploring Operation: 78*9=702, Resulting Numbers: [702] 702,87 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[40, 59, 78, 10], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [78, 10, 19] Generated Node #0,2: 87:[78, 10, 19] Operation: 59-40=19 Moving to Node #0,2 Current State: 87:[78, 10, 19], Operations: ['59-40=19'] Exploring Operation: 19-10=9, Resulting Numbers: [78, 9] Generated Node #0,2,2: 87:[78, 9] Operation: 19-10=9 Moving to Node #0,2,2 Current State: 87:[78, 9], Operations: ['59-40=19', '19-10=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 42, 51, 38, 60 ]
19
[ "42+60=102", "51*38=1938", "1938/102=19" ]
Current State: 19:[42, 51, 38, 60], Operations: [] Exploring Operation: 42+60=102, Resulting Numbers: [51, 38, 102] Generated Node #2: [51, 38, 102] from Operation: 42+60=102 Current State: 19:[51, 38, 102], Operations: ['42+60=102'] Exploring Operation: 51*38=1938, Resulting Numbers: [102, 1938] Generated Node #3: [102, 1938] from Operation: 51*38=1938 Current State: 19:[102, 1938], Operations: ['42+60=102', '51*38=1938'] Exploring Operation: 1938/102=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[42, 51, 38, 60], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [51, 38, 18] Generated Node #0,0: 19:[51, 38, 18] Operation: 60-42=18 Exploring Operation: 60-51=9, Resulting Numbers: [42, 38, 9] Generated Node #0,1: 19:[42, 38, 9] Operation: 60-51=9 Exploring Operation: 60-38=22, Resulting Numbers: [42, 51, 22] Generated Node #0,2: 19:[42, 51, 22] Operation: 60-38=22 Exploring Operation: 51-42=9, Resulting Numbers: [38, 60, 9] Generated Node #0,3: 19:[38, 60, 9] Operation: 51-42=9 Moving to Node #0,0 Current State: 19:[51, 38, 18], Operations: ['60-42=18'] Exploring Operation: 51-38=13, Resulting Numbers: [18, 13] Generated Node #0,0,0: 19:[18, 13] Operation: 51-38=13 Exploring Operation: 51-18=33, Resulting Numbers: [38, 33] Generated Node #0,0,1: 19:[38, 33] Operation: 51-18=33 Exploring Operation: 51+18=69, Resulting Numbers: [38, 69] Generated Node #0,0,2: 19:[38, 69] Operation: 51+18=69 Exploring Operation: 38-18=20, Resulting Numbers: [51, 20] Generated Node #0,0,3: 19:[51, 20] Operation: 38-18=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[18, 13], Operations: ['60-42=18', '51-38=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,19 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,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,1 Current State: 19:[38, 33], Operations: ['60-42=18', '51-18=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,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,3 Current State: 19:[51, 20], Operations: ['60-42=18', '38-18=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,19 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,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,2 Current State: 19:[38, 69], Operations: ['60-42=18', '51+18=69'] Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,19 unequal: No Solution Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,19 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,19 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: 19:[42, 38, 9], Operations: ['60-51=9'] Exploring Operation: 38-9=29, Resulting Numbers: [42, 29] Generated Node #0,1,0: 19:[42, 29] Operation: 38-9=29 Exploring Operation: 42-9=33, Resulting Numbers: [38, 33] Generated Node #0,1,1: 19:[38, 33] Operation: 42-9=33 Exploring Operation: 42+9=51, Resulting Numbers: [38, 51] Generated Node #0,1,2: 19:[38, 51] Operation: 42+9=51 Exploring Operation: 42-38=4, Resulting Numbers: [9, 4] Generated Node #0,1,3: 19:[9, 4] Operation: 42-38=4 Moving to Node #0,2 Current State: 19:[42, 51, 22], Operations: ['60-38=22'] Exploring Operation: 51-42=9, Resulting Numbers: [22, 9] Generated Node #0,2,0: 19:[22, 9] Operation: 51-42=9 Exploring Operation: 42-22=20, Resulting Numbers: [51, 20] Generated Node #0,2,1: 19:[51, 20] Operation: 42-22=20 Exploring Operation: 51-22=29, Resulting Numbers: [42, 29] Generated Node #0,2,2: 19:[42, 29] Operation: 51-22=29 Exploring Operation: 42+51=93, Resulting Numbers: [22, 93] Generated Node #0,2,3: 19:[22, 93] Operation: 42+51=93 Moving to Node #0,3 Current State: 19:[38, 60, 9], Operations: ['51-42=9'] Exploring Operation: 38+9=47, Resulting Numbers: [60, 47] Generated Node #0,3,0: 19:[60, 47] Operation: 38+9=47 Exploring Operation: 60-9=51, Resulting Numbers: [38, 51] Generated Node #0,3,1: 19:[38, 51] Operation: 60-9=51 Exploring Operation: 38-9=29, Resulting Numbers: [60, 29] Generated Node #0,3,2: 19:[60, 29] Operation: 38-9=29 Exploring Operation: 60-38=22, Resulting Numbers: [9, 22] Generated Node #0,3,3: 19:[9, 22] Operation: 60-38=22 Moving to Node #0,2,0 Current State: 19:[22, 9], Operations: ['60-38=22', '51-42=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[9, 22], Operations: ['51-42=9', '60-38=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,19 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[9, 4], Operations: ['60-51=9', '42-38=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[38, 33], Operations: ['60-51=9', '42-9=33'] Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,19 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[42, 29], Operations: ['60-38=22', '51-22=29'] Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,19 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[51, 20], Operations: ['60-38=22', '42-22=20'] Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,19 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[42, 29], Operations: ['60-51=9', '38-9=29'] Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,19 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[60, 29], Operations: ['51-42=9', '38-9=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,19 unequal: No Solution Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[38, 51], Operations: ['51-42=9', '60-9=51'] Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,19 unequal: No Solution Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,19 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[38, 51], Operations: ['60-51=9', '42+9=51'] Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,19 unequal: No Solution Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,19 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[60, 47], Operations: ['51-42=9', '38+9=47'] Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,19 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,19 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[22, 93], Operations: ['60-38=22', '42+51=93'] Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 22*93=2046, Resulting Numbers: [2046] 2046,19 unequal: No Solution Exploring Operation: 22+93=115, Resulting Numbers: [115] 115,19 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 67, 69, 37, 46 ]
20
[ "67-37=30", "46*30=1380", "1380/69=20" ]
Current State: 20:[67, 69, 37, 46], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [69, 46, 30] Generated Node #2: [69, 46, 30] from Operation: 67-37=30 Current State: 20:[69, 46, 30], Operations: ['67-37=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [69, 1380] Generated Node #3: [69, 1380] from Operation: 46*30=1380 Current State: 20:[69, 1380], Operations: ['67-37=30', '46*30=1380'] Exploring Operation: 1380/69=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[67, 69, 37, 46], Operations: [] Exploring Operation: 67-46=21, Resulting Numbers: [69, 37, 21] Generated Node #0,0: 20:[69, 37, 21] Operation: 67-46=21 Exploring Operation: 69-67=2, Resulting Numbers: [37, 46, 2] Generated Node #0,1: 20:[37, 46, 2] Operation: 69-67=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[37, 46, 2], Operations: ['69-67=2'] Exploring Operation: 46/2=23, Resulting Numbers: [37, 23] Generated Node #0,1,0: 20:[37, 23] Operation: 46/2=23 Exploring Operation: 46-37=9, Resulting Numbers: [2, 9] Generated Node #0,1,1: 20:[2, 9] Operation: 46-37=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[2, 9], Operations: ['69-67=2', '46-37=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,20 unequal: No Solution No 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: 20:[37, 23], Operations: ['69-67=2', '46/2=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,20 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: 20:[69, 37, 21], Operations: ['67-46=21'] Exploring Operation: 69-21=48, Resulting Numbers: [37, 48] Generated Node #0,0,0: 20:[37, 48] Operation: 69-21=48 Exploring Operation: 69-37=32, Resulting Numbers: [21, 32] Generated Node #0,0,1: 20:[21, 32] Operation: 69-37=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[21, 32], Operations: ['67-46=21', '69-37=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,20 unequal: No Solution No 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: 20:[37, 48], Operations: ['67-46=21', '69-21=48'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,20 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
[ 58, 55, 44, 73 ]
39
[ "58-55=3", "44+73=117", "117/3=39" ]
Current State: 39:[58, 55, 44, 73], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [44, 73, 3] Generated Node #2: [44, 73, 3] from Operation: 58-55=3 Current State: 39:[44, 73, 3], Operations: ['58-55=3'] Exploring Operation: 44+73=117, Resulting Numbers: [3, 117] Generated Node #3: [3, 117] from Operation: 44+73=117 Current State: 39:[3, 117], Operations: ['58-55=3', '44+73=117'] Exploring Operation: 117/3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[58, 55, 44, 73], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [44, 73, 3] Generated Node #0,0: 39:[44, 73, 3] Operation: 58-55=3 Exploring Operation: 73-55=18, Resulting Numbers: [58, 44, 18] Generated Node #0,1: 39:[58, 44, 18] Operation: 73-55=18 Exploring Operation: 73-58=15, Resulting Numbers: [55, 44, 15] Generated Node #0,2: 39:[55, 44, 15] Operation: 73-58=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[55, 44, 15], Operations: ['73-58=15'] Exploring Operation: 55-44=11, Resulting Numbers: [15, 11] Generated Node #0,2,0: 39:[15, 11] Operation: 55-44=11 Exploring Operation: 55-15=40, Resulting Numbers: [44, 40] Generated Node #0,2,1: 39:[44, 40] Operation: 55-15=40 Exploring Operation: 44-15=29, Resulting Numbers: [55, 29] Generated Node #0,2,2: 39:[55, 29] Operation: 44-15=29 Moving to Node #0,2,0 Current State: 39:[15, 11], Operations: ['73-58=15', '55-44=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,39 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[44, 40], Operations: ['73-58=15', '55-15=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[55, 29], Operations: ['73-58=15', '44-15=29'] Exploring Operation: 55+29=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 55*29=1595, Resulting Numbers: [1595] 1595,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:[58, 44, 18], Operations: ['73-55=18'] Exploring Operation: 58-18=40, Resulting Numbers: [44, 40] Generated Node #0,1,0: 39:[44, 40] Operation: 58-18=40 Exploring Operation: 44-18=26, Resulting Numbers: [58, 26] Generated Node #0,1,1: 39:[58, 26] Operation: 44-18=26 Exploring Operation: 58-44=14, Resulting Numbers: [18, 14] Generated Node #0,1,2: 39:[18, 14] Operation: 58-44=14 Moving to Node #0,1,0 Current State: 39:[44, 40], Operations: ['73-55=18', '58-18=40'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[18, 14], Operations: ['73-55=18', '58-44=14'] Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,39 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[58, 26], Operations: ['73-55=18', '44-18=26'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,39 unequal: No Solution Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[44, 73, 3], Operations: ['58-55=3'] Exploring Operation: 44-3=41, Resulting Numbers: [73, 41] Generated Node #0,0,0: 39:[73, 41] Operation: 44-3=41 Exploring Operation: 73-44=29, Resulting Numbers: [3, 29] Generated Node #0,0,1: 39:[3, 29] Operation: 73-44=29 Exploring Operation: 73-3=70, Resulting Numbers: [44, 70] Generated Node #0,0,2: 39:[44, 70] Operation: 73-3=70 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[3, 29], Operations: ['58-55=3', '73-44=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,39 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,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,0 Current State: 39:[73, 41], Operations: ['58-55=3', '44-3=41'] Exploring Operation: 73*41=2993, Resulting Numbers: [2993] 2993,39 unequal: No Solution Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,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:[44, 70], Operations: ['58-55=3', '73-3=70'] Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,39 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,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 No solution found.
0
hs_3
sum_heuristic
[ 33, 49, 37, 50 ]
71
[ "49-33=16", "37+50=87", "87-16=71" ]
Current State: 71:[33, 49, 37, 50], Operations: [] Exploring Operation: 49-33=16, Resulting Numbers: [37, 50, 16] Generated Node #2: [37, 50, 16] from Operation: 49-33=16 Current State: 71:[37, 50, 16], Operations: ['49-33=16'] Exploring Operation: 37+50=87, Resulting Numbers: [16, 87] Generated Node #3: [16, 87] from Operation: 37+50=87 Current State: 71:[16, 87], Operations: ['49-33=16', '37+50=87'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[33, 49, 37, 50], Operations: [] Exploring Operation: 33+37=70, Resulting Numbers: [49, 50, 70] Generated Node #0,0: 71:[49, 50, 70] Operation: 33+37=70 Exploring Operation: 33+49=82, Resulting Numbers: [37, 50, 82] Generated Node #0,1: 71:[37, 50, 82] Operation: 33+49=82 Exploring Operation: 33+50=83, Resulting Numbers: [49, 37, 83] Generated Node #0,2: 71:[49, 37, 83] Operation: 33+50=83 Exploring Operation: 49+37=86, Resulting Numbers: [33, 50, 86] Generated Node #0,3: 71:[33, 50, 86] Operation: 49+37=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[49, 50, 70], Operations: ['33+37=70'] Exploring Operation: 70-49=21, Resulting Numbers: [50, 21] Generated Node #0,0,0: 71:[50, 21] Operation: 70-49=21 Exploring Operation: 49+50=99, Resulting Numbers: [70, 99] Generated Node #0,0,1: 71:[70, 99] Operation: 49+50=99 Exploring Operation: 50-49=1, Resulting Numbers: [70, 1] Generated Node #0,0,2: 71:[70, 1] Operation: 50-49=1 Exploring Operation: 49+70=119, Resulting Numbers: [50, 119] Generated Node #0,0,3: 71:[50, 119] Operation: 49+70=119 Moving to Node #0,0,1 Current State: 71:[70, 99], Operations: ['33+37=70', '49+50=99'] Exploring Operation: 70*99=6930, Resulting Numbers: [6930] 6930,71 unequal: No Solution Exploring Operation: 70+99=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[50, 119], Operations: ['33+37=70', '49+70=119'] Exploring Operation: 50+119=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 50*119=5950, Resulting Numbers: [5950] 5950,71 unequal: No Solution Exploring Operation: 119-50=69, Resulting Numbers: [69] 69,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[70, 1], Operations: ['33+37=70', '50-49=1'] Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[33, 49, 37, 50], Operations: [] Exploring Operation: 33+37=70, Resulting Numbers: [49, 50, 70] Generated Node #0,0: 71:[49, 50, 70] Operation: 33+37=70 Moving to Node #0,0 Current State: 71:[49, 50, 70], Operations: ['33+37=70'] Exploring Operation: 50-49=1, Resulting Numbers: [70, 1] Generated Node #0,0,2: 71:[70, 1] Operation: 50-49=1 Moving to Node #0,0,2 Current State: 71:[70, 1], Operations: ['33+37=70', '50-49=1'] Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 60, 93, 44, 76 ]
57
[ "93-60=33", "76*33=2508", "2508/44=57" ]
Current State: 57:[60, 93, 44, 76], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [44, 76, 33] Generated Node #2: [44, 76, 33] from Operation: 93-60=33 Current State: 57:[44, 76, 33], Operations: ['93-60=33'] Exploring Operation: 76*33=2508, Resulting Numbers: [44, 2508] Generated Node #3: [44, 2508] from Operation: 76*33=2508 Current State: 57:[44, 2508], Operations: ['93-60=33', '76*33=2508'] Exploring Operation: 2508/44=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[60, 93, 44, 76], Operations: [] Exploring Operation: 93-44=49, Resulting Numbers: [60, 76, 49] Generated Node #0,0: 57:[60, 76, 49] Operation: 93-44=49 Exploring Operation: 93-76=17, Resulting Numbers: [60, 44, 17] Generated Node #0,1: 57:[60, 44, 17] Operation: 93-76=17 Moving to Node #0,1 Current State: 57:[60, 44, 17], Operations: ['93-76=17'] Exploring Operation: 44+17=61, Resulting Numbers: [60, 61] Generated Node #0,1,0: 57:[60, 61] Operation: 44+17=61 Exploring Operation: 60-44=16, Resulting Numbers: [17, 16] Generated Node #0,1,1: 57:[17, 16] Operation: 60-44=16 Moving to Node #0,0 Current State: 57:[60, 76, 49], Operations: ['93-44=49'] Exploring Operation: 76-60=16, Resulting Numbers: [49, 16] Generated Node #0,0,0: 57:[49, 16] Operation: 76-60=16 Exploring Operation: 76-49=27, Resulting Numbers: [60, 27] Generated Node #0,0,1: 57:[60, 27] Operation: 76-49=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[49, 16], Operations: ['93-44=49', '76-60=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[60, 27], Operations: ['93-44=49', '76-49=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 57:[17, 16], Operations: ['93-76=17', '60-44=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[60, 61], Operations: ['93-76=17', '44+17=61'] Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,57 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 85, 9, 62, 93 ]
61
[ "85+9=94", "62+93=155", "155-94=61" ]
Current State: 61:[85, 9, 62, 93], Operations: [] Exploring Operation: 85+9=94, Resulting Numbers: [62, 93, 94] Generated Node #2: [62, 93, 94] from Operation: 85+9=94 Current State: 61:[62, 93, 94], Operations: ['85+9=94'] Exploring Operation: 62+93=155, Resulting Numbers: [94, 155] Generated Node #3: [94, 155] from Operation: 62+93=155 Current State: 61:[94, 155], Operations: ['85+9=94', '62+93=155'] Exploring Operation: 155-94=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[85, 9, 62, 93], Operations: [] Exploring Operation: 62-9=53, Resulting Numbers: [85, 93, 53] Generated Node #0,0: 61:[85, 93, 53] Operation: 62-9=53 Exploring Operation: 85-9=76, Resulting Numbers: [62, 93, 76] Generated Node #0,1: 61:[62, 93, 76] Operation: 85-9=76 Exploring Operation: 93-9=84, Resulting Numbers: [85, 62, 84] Generated Node #0,2: 61:[85, 62, 84] Operation: 93-9=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[62, 93, 76], Operations: ['85-9=76'] Exploring Operation: 93-62=31, Resulting Numbers: [76, 31] Generated Node #0,1,0: 61:[76, 31] Operation: 93-62=31 Exploring Operation: 93-76=17, Resulting Numbers: [62, 17] Generated Node #0,1,1: 61:[62, 17] Operation: 93-76=17 Exploring Operation: 76-62=14, Resulting Numbers: [93, 14] Generated Node #0,1,2: 61:[93, 14] Operation: 76-62=14 Moving to Node #0,1,0 Current State: 61:[76, 31], Operations: ['85-9=76', '93-62=31'] Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,61 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[62, 17], Operations: ['85-9=76', '93-76=17'] Exploring Operation: 62+17=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 62*17=1054, Resulting Numbers: [1054] 1054,61 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[93, 14], Operations: ['85-9=76', '76-62=14'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 93*14=1302, Resulting Numbers: [1302] 1302,61 unequal: No Solution Exploring Operation: 93+14=107, Resulting Numbers: [107] 107,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[85, 62, 84], Operations: ['93-9=84'] Exploring Operation: 84-62=22, Resulting Numbers: [85, 22] Generated Node #0,2,0: 61:[85, 22] Operation: 84-62=22 Exploring Operation: 85-84=1, Resulting Numbers: [62, 1] Generated Node #0,2,1: 61:[62, 1] Operation: 85-84=1 Exploring Operation: 85-62=23, Resulting Numbers: [84, 23] Generated Node #0,2,2: 61:[84, 23] Operation: 85-62=23 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[62, 1], Operations: ['93-9=84', '85-84=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[85, 9, 62, 93], Operations: [] Exploring Operation: 93-9=84, Resulting Numbers: [85, 62, 84] Generated Node #0,2: 61:[85, 62, 84] Operation: 93-9=84 Moving to Node #0,2 Current State: 61:[85, 62, 84], Operations: ['93-9=84'] Exploring Operation: 85-84=1, Resulting Numbers: [62, 1] Generated Node #0,2,1: 61:[62, 1] Operation: 85-84=1 Moving to Node #0,2,1 Current State: 61:[62, 1], Operations: ['93-9=84', '85-84=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 95, 62, 98, 64 ]
49
[ "95-64=31", "62/31=2", "98/2=49" ]
Current State: 49:[95, 62, 98, 64], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [62, 98, 31] Generated Node #2: [62, 98, 31] from Operation: 95-64=31 Current State: 49:[62, 98, 31], Operations: ['95-64=31'] Exploring Operation: 62/31=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 62/31=2 Current State: 49:[98, 2], Operations: ['95-64=31', '62/31=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[95, 62, 98, 64], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [62, 64, 3] Generated Node #0,0: 49:[62, 64, 3] Operation: 98-95=3 Moving to Node #0,0 Current State: 49:[62, 64, 3], Operations: ['98-95=3'] Exploring Operation: 64-62=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 49:[3, 2] Operation: 64-62=2 Moving to Node #0,0,0 Current State: 49:[3, 2], Operations: ['98-95=3', '64-62=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 45, 14, 69 ]
42
[ "45-4=41", "14+69=83", "83-41=42" ]
Current State: 42:[4, 45, 14, 69], Operations: [] Exploring Operation: 45-4=41, Resulting Numbers: [14, 69, 41] Generated Node #2: [14, 69, 41] from Operation: 45-4=41 Current State: 42:[14, 69, 41], Operations: ['45-4=41'] Exploring Operation: 14+69=83, Resulting Numbers: [41, 83] Generated Node #3: [41, 83] from Operation: 14+69=83 Current State: 42:[41, 83], Operations: ['45-4=41', '14+69=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[4, 45, 14, 69], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [4, 14, 24] Generated Node #0,0: 42:[4, 14, 24] Operation: 69-45=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[4, 14, 24], Operations: ['69-45=24'] Exploring Operation: 24/4=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 42:[14, 6] Operation: 24/4=6 Moving to Node #0,0,0 Current State: 42:[14, 6], Operations: ['69-45=24', '24/4=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,42 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
[ 81, 37, 46, 72 ]
73
[ "46-37=9", "72/9=8", "81-8=73" ]
Current State: 73:[81, 37, 46, 72], Operations: [] Exploring Operation: 46-37=9, Resulting Numbers: [81, 72, 9] Generated Node #2: [81, 72, 9] from Operation: 46-37=9 Current State: 73:[81, 72, 9], Operations: ['46-37=9'] Exploring Operation: 72/9=8, Resulting Numbers: [81, 8] Generated Node #3: [81, 8] from Operation: 72/9=8 Current State: 73:[81, 8], Operations: ['46-37=9', '72/9=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[81, 37, 46, 72], Operations: [] Exploring Operation: 37+72=109, Resulting Numbers: [81, 46, 109] Generated Node #0,0: 73:[81, 46, 109] Operation: 37+72=109 Exploring Operation: 37+46=83, Resulting Numbers: [81, 72, 83] Generated Node #0,1: 73:[81, 72, 83] Operation: 37+46=83 Exploring Operation: 81-37=44, Resulting Numbers: [46, 72, 44] Generated Node #0,2: 73:[46, 72, 44] Operation: 81-37=44 Moving to Node #0,1 Current State: 73:[81, 72, 83], Operations: ['37+46=83'] Exploring Operation: 83-72=11, Resulting Numbers: [81, 11] Generated Node #0,1,0: 73:[81, 11] Operation: 83-72=11 Exploring Operation: 83-81=2, Resulting Numbers: [72, 2] Generated Node #0,1,1: 73:[72, 2] Operation: 83-81=2 Exploring Operation: 81-72=9, Resulting Numbers: [83, 9] Generated Node #0,1,2: 73:[83, 9] Operation: 81-72=9 Moving to Node #0,2 Current State: 73:[46, 72, 44], Operations: ['81-37=44'] Exploring Operation: 46-44=2, Resulting Numbers: [72, 2] Generated Node #0,2,0: 73:[72, 2] Operation: 46-44=2 Exploring Operation: 72+44=116, Resulting Numbers: [46, 116] Generated Node #0,2,1: 73:[46, 116] Operation: 72+44=116 Exploring Operation: 46+44=90, Resulting Numbers: [72, 90] Generated Node #0,2,2: 73:[72, 90] Operation: 46+44=90 Moving to Node #0,0 Current State: 73:[81, 46, 109], Operations: ['37+72=109'] Exploring Operation: 109-46=63, Resulting Numbers: [81, 63] Generated Node #0,0,0: 73:[81, 63] Operation: 109-46=63 Exploring Operation: 109-81=28, Resulting Numbers: [46, 28] Generated Node #0,0,1: 73:[46, 28] Operation: 109-81=28 Exploring Operation: 81-46=35, Resulting Numbers: [109, 35] Generated Node #0,0,2: 73:[109, 35] Operation: 81-46=35 Moving to Node #0,2,2 Current State: 73:[72, 90], Operations: ['81-37=44', '46+44=90'] Exploring Operation: 72+90=162, Resulting Numbers: [162] 162,73 unequal: No Solution Exploring Operation: 72*90=6480, Resulting Numbers: [6480] 6480,73 unequal: No Solution Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[81, 63], Operations: ['37+72=109', '109-46=63'] Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,73 unequal: No Solution Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[81, 11], Operations: ['37+46=83', '83-72=11'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,73 unequal: No Solution Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[46, 116], Operations: ['81-37=44', '72+44=116'] Exploring Operation: 116-46=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 46*116=5336, Resulting Numbers: [5336] 5336,73 unequal: No Solution Exploring Operation: 46+116=162, Resulting Numbers: [162] 162,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[72, 2], Operations: ['81-37=44', '46-44=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[46, 28], Operations: ['37+72=109', '109-81=28'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[72, 2], Operations: ['37+46=83', '83-81=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[109, 35], Operations: ['37+72=109', '81-46=35'] Exploring Operation: 109+35=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 109*35=3815, Resulting Numbers: [3815] 3815,73 unequal: No Solution Exploring Operation: 109-35=74, Resulting Numbers: [74] 74,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[83, 9], Operations: ['37+46=83', '81-72=9'] Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,73 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,73 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 89, 67, 2, 52 ]
59
[ "89*2=178", "67+52=119", "178-119=59" ]
Current State: 59:[89, 67, 2, 52], Operations: [] Exploring Operation: 89*2=178, Resulting Numbers: [67, 52, 178] Generated Node #2: [67, 52, 178] from Operation: 89*2=178 Current State: 59:[67, 52, 178], Operations: ['89*2=178'] Exploring Operation: 67+52=119, Resulting Numbers: [178, 119] Generated Node #3: [178, 119] from Operation: 67+52=119 Current State: 59:[178, 119], Operations: ['89*2=178', '67+52=119'] Exploring Operation: 178-119=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[89, 67, 2, 52], Operations: [] Exploring Operation: 89-2=87, Resulting Numbers: [67, 52, 87] Generated Node #0,0: 59:[67, 52, 87] Operation: 89-2=87 Exploring Operation: 2+52=54, Resulting Numbers: [89, 67, 54] Generated Node #0,1: 59:[89, 67, 54] Operation: 2+52=54 Exploring Operation: 67-2=65, Resulting Numbers: [89, 52, 65] Generated Node #0,2: 59:[89, 52, 65] Operation: 67-2=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[67, 52, 87], Operations: ['89-2=87'] Exploring Operation: 87-52=35, Resulting Numbers: [67, 35] Generated Node #0,0,0: 59:[67, 35] Operation: 87-52=35 Exploring Operation: 87-67=20, Resulting Numbers: [52, 20] Generated Node #0,0,1: 59:[52, 20] Operation: 87-67=20 Exploring Operation: 67-52=15, Resulting Numbers: [87, 15] Generated Node #0,0,2: 59:[87, 15] Operation: 67-52=15 Moving to Node #0,0,0 Current State: 59:[67, 35], Operations: ['89-2=87', '87-52=35'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,59 unequal: No Solution Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[52, 20], Operations: ['89-2=87', '87-67=20'] Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,59 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[87, 15], Operations: ['89-2=87', '67-52=15'] Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,59 unequal: No Solution Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[89, 67, 54], Operations: ['2+52=54'] Exploring Operation: 67-54=13, Resulting Numbers: [89, 13] Generated Node #0,1,0: 59:[89, 13] Operation: 67-54=13 Exploring Operation: 89-54=35, Resulting Numbers: [67, 35] Generated Node #0,1,1: 59:[67, 35] Operation: 89-54=35 Exploring Operation: 89-67=22, Resulting Numbers: [54, 22] Generated Node #0,1,2: 59:[54, 22] Operation: 89-67=22 Moving to Node #0,1,1 Current State: 59:[67, 35], Operations: ['2+52=54', '89-54=35'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,59 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[54, 22], Operations: ['2+52=54', '89-67=22'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[89, 13], Operations: ['2+52=54', '67-54=13'] Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,59 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[89, 52, 65], Operations: ['67-2=65'] Exploring Operation: 65-52=13, Resulting Numbers: [89, 13] Generated Node #0,2,0: 59:[89, 13] Operation: 65-52=13 Exploring Operation: 89-52=37, Resulting Numbers: [65, 37] Generated Node #0,2,1: 59:[65, 37] Operation: 89-52=37 Exploring Operation: 89-65=24, Resulting Numbers: [52, 24] Generated Node #0,2,2: 59:[52, 24] Operation: 89-65=24 Moving to Node #0,2,1 Current State: 59:[65, 37], Operations: ['67-2=65', '89-52=37'] Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,59 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[52, 24], Operations: ['67-2=65', '89-65=24'] Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[89, 13], Operations: ['67-2=65', '65-52=13'] Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,59 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 18, 6, 61, 12 ]
59
[ "18+6=24", "24/12=2", "61-2=59" ]
Current State: 59:[18, 6, 61, 12], Operations: [] Exploring Operation: 18+6=24, Resulting Numbers: [61, 12, 24] Generated Node #2: [61, 12, 24] from Operation: 18+6=24 Current State: 59:[61, 12, 24], Operations: ['18+6=24'] Exploring Operation: 24/12=2, Resulting Numbers: [61, 2] Generated Node #3: [61, 2] from Operation: 24/12=2 Current State: 59:[61, 2], Operations: ['18+6=24', '24/12=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[18, 6, 61, 12], Operations: [] Exploring Operation: 6*12=72, Resulting Numbers: [18, 61, 72] Generated Node #0,0: 59:[18, 61, 72] Operation: 6*12=72 Exploring Operation: 18+6=24, Resulting Numbers: [61, 12, 24] Generated Node #0,1: 59:[61, 12, 24] Operation: 18+6=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[18, 61, 72], Operations: ['6*12=72'] Exploring Operation: 72-18=54, Resulting Numbers: [61, 54] Generated Node #0,0,0: 59:[61, 54] Operation: 72-18=54 Exploring Operation: 61-18=43, Resulting Numbers: [72, 43] Generated Node #0,0,1: 59:[72, 43] Operation: 61-18=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[61, 54], Operations: ['6*12=72', '72-18=54'] Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[72, 43], Operations: ['6*12=72', '61-18=43'] Exploring Operation: 72+43=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[61, 12, 24], Operations: ['18+6=24'] Exploring Operation: 61-12=49, Resulting Numbers: [24, 49] Generated Node #0,1,0: 59:[24, 49] Operation: 61-12=49 Exploring Operation: 12+24=36, Resulting Numbers: [61, 36] Generated Node #0,1,1: 59:[61, 36] Operation: 12+24=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[61, 36], Operations: ['18+6=24', '12+24=36'] Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,59 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[24, 49], Operations: ['18+6=24', '61-12=49'] Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,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_2
sum_heuristic
[ 34, 66, 99, 38 ]
91
[ "99*38=3762", "3762/66=57", "34+57=91" ]
Current State: 91:[34, 66, 99, 38], Operations: [] Exploring Operation: 99*38=3762, Resulting Numbers: [34, 66, 3762] Generated Node #2: [34, 66, 3762] from Operation: 99*38=3762 Current State: 91:[34, 66, 3762], Operations: ['99*38=3762'] Exploring Operation: 3762/66=57, Resulting Numbers: [34, 57] Generated Node #3: [34, 57] from Operation: 3762/66=57 Current State: 91:[34, 57], Operations: ['99*38=3762', '3762/66=57'] Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[34, 66, 99, 38], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [66, 99, 4] Generated Node #0,0: 91:[66, 99, 4] Operation: 38-34=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[66, 99, 4], Operations: ['38-34=4'] Exploring Operation: 99-66=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 91:[4, 33] Operation: 99-66=33 Moving to Node #0,0,0 Current State: 91:[4, 33], Operations: ['38-34=4', '99-66=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 23, 6, 53 ]
64
[ "23-18=5", "6+53=59", "5+59=64" ]
Current State: 64:[18, 23, 6, 53], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [6, 53, 5] Generated Node #2: [6, 53, 5] from Operation: 23-18=5 Current State: 64:[6, 53, 5], Operations: ['23-18=5'] Exploring Operation: 6+53=59, Resulting Numbers: [5, 59] Generated Node #3: [5, 59] from Operation: 6+53=59 Current State: 64:[5, 59], Operations: ['23-18=5', '6+53=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[18, 23, 6, 53], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [6, 53, 5] Generated Node #0,0: 64:[6, 53, 5] Operation: 23-18=5 Exploring Operation: 53-23=30, Resulting Numbers: [18, 6, 30] Generated Node #0,1: 64:[18, 6, 30] Operation: 53-23=30 Exploring Operation: 53-18=35, Resulting Numbers: [23, 6, 35] Generated Node #0,2: 64:[23, 6, 35] Operation: 53-18=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[18, 6, 30], Operations: ['53-23=30'] Exploring Operation: 18/6=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 64:[30, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [30, 12] Generated Node #0,1,1: 64:[30, 12] Operation: 18-6=12 Exploring Operation: 30/6=5, Resulting Numbers: [18, 5] Generated Node #0,1,2: 64:[18, 5] Operation: 30/6=5 Moving to Node #0,1,0 Current State: 64:[30, 3], Operations: ['53-23=30', '18/6=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[18, 5], Operations: ['53-23=30', '30/6=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[30, 12], Operations: ['53-23=30', '18-6=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,64 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,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 Current State: 64:[23, 6, 35], Operations: ['53-18=35'] Exploring Operation: 23+6=29, Resulting Numbers: [35, 29] Generated Node #0,2,0: 64:[35, 29] Operation: 23+6=29 Exploring Operation: 35-23=12, Resulting Numbers: [6, 12] Generated Node #0,2,1: 64:[6, 12] Operation: 35-23=12 Exploring Operation: 23-6=17, Resulting Numbers: [35, 17] Generated Node #0,2,2: 64:[35, 17] Operation: 23-6=17 Moving to Node #0,2,2 Current State: 64:[35, 17], Operations: ['53-18=35', '23-6=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[35, 29], Operations: ['53-18=35', '23+6=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[18, 23, 6, 53], Operations: [] Exploring Operation: 53-18=35, Resulting Numbers: [23, 6, 35] Generated Node #0,2: 64:[23, 6, 35] Operation: 53-18=35 Moving to Node #0,2 Current State: 64:[23, 6, 35], Operations: ['53-18=35'] Exploring Operation: 23+6=29, Resulting Numbers: [35, 29] Generated Node #0,2,0: 64:[35, 29] Operation: 23+6=29 Moving to Node #0,2,0 Current State: 64:[35, 29], Operations: ['53-18=35', '23+6=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 89, 39, 34, 34 ]
50
[ "89-39=50", "34-34=0", "50+0=50" ]
Current State: 50:[89, 39, 34, 34], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [34, 34, 50] Generated Node #2: [34, 34, 50] from Operation: 89-39=50 Current State: 50:[34, 34, 50], Operations: ['89-39=50'] Exploring Operation: 34-34=0, Resulting Numbers: [50, 0] Generated Node #3: [50, 0] from Operation: 34-34=0 Current State: 50:[50, 0], Operations: ['89-39=50', '34-34=0'] Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[89, 39, 34, 34], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [34, 34, 50] Generated Node #0,0: 50:[34, 34, 50] Operation: 89-39=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[34, 34, 50], Operations: ['89-39=50'] Exploring Operation: 34/34=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 50:[50, 1] Operation: 34/34=1 Moving to Node #0,0,0 Current State: 50:[50, 1], Operations: ['89-39=50', '34/34=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[89, 39, 34, 34], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [34, 34, 50] Generated Node #0,0: 50:[34, 34, 50] Operation: 89-39=50 Moving to Node #0,0 Current State: 50:[34, 34, 50], Operations: ['89-39=50'] Exploring Operation: 34/34=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 50:[50, 1] Operation: 34/34=1 Moving to Node #0,0,0 Current State: 50:[50, 1], Operations: ['89-39=50', '34/34=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic