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
[ 93, 90, 89, 31 ]
63
[ "93+90=183", "89+31=120", "183-120=63" ]
Current State: 63:[93, 90, 89, 31], Operations: [] Exploring Operation: 93+90=183, Resulting Numbers: [89, 31, 183] Generated Node #2: [89, 31, 183] from Operation: 93+90=183 Current State: 63:[89, 31, 183], Operations: ['93+90=183'] Exploring Operation: 89+31=120, Resulting Numbers: [183, 120] Generated Node #3: [183, 120] from Operation: 89+31=120 Current State: 63:[183, 120], Operations: ['93+90=183', '89+31=120'] Exploring Operation: 183-120=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[93, 90, 89, 31], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [89, 31, 3] Generated Node #0,0: 63:[89, 31, 3] Operation: 93-90=3 Exploring Operation: 93-89=4, Resulting Numbers: [90, 31, 4] Generated Node #0,1: 63:[90, 31, 4] Operation: 93-89=4 Exploring Operation: 93/31=3, Resulting Numbers: [90, 89, 3] Generated Node #0,2: 63:[90, 89, 3] Operation: 93/31=3 Exploring Operation: 90-89=1, Resulting Numbers: [93, 31, 1] Generated Node #0,3: 63:[93, 31, 1] Operation: 90-89=1 Moving to Node #0,0 Current State: 63:[89, 31, 3], Operations: ['93-90=3'] Exploring Operation: 89+3=92, Resulting Numbers: [31, 92] Generated Node #0,0,0: 63:[31, 92] Operation: 89+3=92 Exploring Operation: 89-3=86, Resulting Numbers: [31, 86] Generated Node #0,0,1: 63:[31, 86] Operation: 89-3=86 Exploring Operation: 89-31=58, Resulting Numbers: [3, 58] Generated Node #0,0,2: 63:[3, 58] Operation: 89-31=58 Exploring Operation: 31-3=28, Resulting Numbers: [89, 28] Generated Node #0,0,3: 63:[89, 28] Operation: 31-3=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[3, 58], Operations: ['93-90=3', '89-31=58'] Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,63 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[31, 86], Operations: ['93-90=3', '89-3=86'] Exploring Operation: 31*86=2666, Resulting Numbers: [2666] 2666,63 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 31+86=117, Resulting Numbers: [117] 117,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[89, 28], Operations: ['93-90=3', '31-3=28'] Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,63 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,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:[31, 92], Operations: ['93-90=3', '89+3=92'] Exploring Operation: 31+92=123, Resulting Numbers: [123] 123,63 unequal: No Solution Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 31*92=2852, Resulting Numbers: [2852] 2852,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:[90, 31, 4], Operations: ['93-89=4'] Exploring Operation: 90-31=59, Resulting Numbers: [4, 59] Generated Node #0,1,0: 63:[4, 59] Operation: 90-31=59 Exploring Operation: 31-4=27, Resulting Numbers: [90, 27] Generated Node #0,1,1: 63:[90, 27] Operation: 31-4=27 Exploring Operation: 90+4=94, Resulting Numbers: [31, 94] Generated Node #0,1,2: 63:[31, 94] Operation: 90+4=94 Exploring Operation: 90-4=86, Resulting Numbers: [31, 86] Generated Node #0,1,3: 63:[31, 86] Operation: 90-4=86 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[4, 59], Operations: ['93-89=4', '90-31=59'] Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,63 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[93, 90, 89, 31], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [90, 31, 4] Generated Node #0,1: 63:[90, 31, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 63:[90, 31, 4], Operations: ['93-89=4'] Exploring Operation: 90-31=59, Resulting Numbers: [4, 59] Generated Node #0,1,0: 63:[4, 59] Operation: 90-31=59 Moving to Node #0,1,0 Current State: 63:[4, 59], Operations: ['93-89=4', '90-31=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 3, 94, 94, 95 ]
98
[ "3+94=97", "95-94=1", "97+1=98" ]
Current State: 98:[3, 94, 94, 95], Operations: [] Exploring Operation: 3+94=97, Resulting Numbers: [95, 97] Generated Node #2: [95, 97] from Operation: 3+94=97 Current State: 98:[95, 97], Operations: ['3+94=97'] Exploring Operation: 95-94=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 95-94=1 Current State: 98:[97, 1], Operations: ['3+94=97', '95-94=1'] Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[3, 94, 94, 95], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [3, 95, 0] Generated Node #0,0: 98:[3, 95, 0] Operation: 94-94=0 Exploring Operation: 94/94=1, Resulting Numbers: [3, 95, 1] Generated Node #0,1: 98:[3, 95, 1] Operation: 94/94=1 Moving to Node #0,1 Current State: 98:[3, 95, 1], Operations: ['94/94=1'] Exploring Operation: 3-1=2, Resulting Numbers: [95, 2] Generated Node #0,1,0: 98:[95, 2] Operation: 3-1=2 Exploring Operation: 3+95=98, Resulting Numbers: [1, 98] Generated Node #0,1,1: 98:[1, 98] Operation: 3+95=98 Moving to Node #0,0 Current State: 98:[3, 95, 0], Operations: ['94-94=0'] Exploring Operation: 95*0=0, Resulting Numbers: [3, 0] Generated Node #0,0,0: 98:[3, 0] Operation: 95*0=0 Exploring Operation: 3+95=98, Resulting Numbers: [0, 98] Generated Node #0,0,1: 98:[0, 98] Operation: 3+95=98 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[0, 98], Operations: ['94-94=0', '3+95=98'] Exploring Operation: 0+98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[3, 94, 94, 95], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [3, 95, 0] Generated Node #0,0: 98:[3, 95, 0] Operation: 94-94=0 Moving to Node #0,0 Current State: 98:[3, 95, 0], Operations: ['94-94=0'] Exploring Operation: 3+95=98, Resulting Numbers: [0, 98] Generated Node #0,0,1: 98:[0, 98] Operation: 3+95=98 Moving to Node #0,0,1 Current State: 98:[0, 98], Operations: ['94-94=0', '3+95=98'] Exploring Operation: 0+98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 51, 49, 54, 10 ]
49
[ "51-49=2", "10/2=5", "54-5=49" ]
Current State: 49:[51, 49, 54, 10], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [54, 10, 2] Generated Node #2: [54, 10, 2] from Operation: 51-49=2 Current State: 49:[54, 10, 2], Operations: ['51-49=2'] Exploring Operation: 10/2=5, Resulting Numbers: [54, 5] Generated Node #3: [54, 5] from Operation: 10/2=5 Current State: 49:[54, 5], Operations: ['51-49=2', '10/2=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[51, 49, 54, 10], Operations: [] Exploring Operation: 51-10=41, Resulting Numbers: [49, 54, 41] Generated Node #0,0: 49:[49, 54, 41] Operation: 51-10=41 Exploring Operation: 54-49=5, Resulting Numbers: [51, 10, 5] Generated Node #0,1: 49:[51, 10, 5] Operation: 54-49=5 Exploring Operation: 51-49=2, Resulting Numbers: [54, 10, 2] Generated Node #0,2: 49:[54, 10, 2] Operation: 51-49=2 Exploring Operation: 54-51=3, Resulting Numbers: [49, 10, 3] Generated Node #0,3: 49:[49, 10, 3] Operation: 54-51=3 Exploring Operation: 54-10=44, Resulting Numbers: [51, 49, 44] Generated Node #0,4: 49:[51, 49, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[51, 10, 5], Operations: ['54-49=5'] Exploring Operation: 10-5=5, Resulting Numbers: [51, 5] Generated Node #0,1,0: 49:[51, 5] Operation: 10-5=5 Exploring Operation: 51-5=46, Resulting Numbers: [10, 46] Generated Node #0,1,1: 49:[10, 46] Operation: 51-5=46 Exploring Operation: 51-10=41, Resulting Numbers: [5, 41] Generated Node #0,1,2: 49:[5, 41] Operation: 51-10=41 Exploring Operation: 10/5=2, Resulting Numbers: [51, 2] Generated Node #0,1,3: 49:[51, 2] Operation: 10/5=2 Exploring Operation: 10*5=50, Resulting Numbers: [51, 50] Generated Node #0,1,4: 49:[51, 50] Operation: 10*5=50 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 49:[51, 50], Operations: ['54-49=5', '10*5=50'] Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,49 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,49 unequal: No Solution No 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: 49:[51, 5], Operations: ['54-49=5', '10-5=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,49 unequal: No Solution No 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: 49:[10, 46], Operations: ['54-49=5', '51-5=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,49 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,49 unequal: No Solution No 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: 49:[51, 2], Operations: ['54-49=5', '10/5=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[51, 49, 54, 10], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [51, 10, 5] Generated Node #0,1: 49:[51, 10, 5] Operation: 54-49=5 Moving to Node #0,1 Current State: 49:[51, 10, 5], Operations: ['54-49=5'] Exploring Operation: 10/5=2, Resulting Numbers: [51, 2] Generated Node #0,1,3: 49:[51, 2] Operation: 10/5=2 Moving to Node #0,1,3 Current State: 49:[51, 2], Operations: ['54-49=5', '10/5=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 81, 36, 74, 94 ]
97
[ "81+36=117", "94-74=20", "117-20=97" ]
Current State: 97:[81, 36, 74, 94], Operations: [] Exploring Operation: 81+36=117, Resulting Numbers: [74, 94, 117] Generated Node #2: [74, 94, 117] from Operation: 81+36=117 Current State: 97:[74, 94, 117], Operations: ['81+36=117'] Exploring Operation: 94-74=20, Resulting Numbers: [117, 20] Generated Node #3: [117, 20] from Operation: 94-74=20 Current State: 97:[117, 20], Operations: ['81+36=117', '94-74=20'] Exploring Operation: 117-20=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[81, 36, 74, 94], Operations: [] Exploring Operation: 36+74=110, Resulting Numbers: [81, 94, 110] Generated Node #0,0: 97:[81, 94, 110] Operation: 36+74=110 Exploring Operation: 36+94=130, Resulting Numbers: [81, 74, 130] Generated Node #0,1: 97:[81, 74, 130] Operation: 36+94=130 Exploring Operation: 81+36=117, Resulting Numbers: [74, 94, 117] Generated Node #0,2: 97:[74, 94, 117] Operation: 81+36=117 Moving to Node #0,0 Current State: 97:[81, 94, 110], Operations: ['36+74=110'] Exploring Operation: 81+94=175, Resulting Numbers: [110, 175] Generated Node #0,0,0: 97:[110, 175] Operation: 81+94=175 Exploring Operation: 94-81=13, Resulting Numbers: [110, 13] Generated Node #0,0,1: 97:[110, 13] Operation: 94-81=13 Exploring Operation: 110-81=29, Resulting Numbers: [94, 29] Generated Node #0,0,2: 97:[94, 29] Operation: 110-81=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[94, 29], Operations: ['36+74=110', '110-81=29'] Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,97 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[110, 175], Operations: ['36+74=110', '81+94=175'] Exploring Operation: 175-110=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 110+175=285, Resulting Numbers: [285] 285,97 unequal: No Solution Exploring Operation: 110*175=19250, Resulting Numbers: [19250] 19250,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[110, 13], Operations: ['36+74=110', '94-81=13'] Exploring Operation: 110*13=1430, Resulting Numbers: [1430] 1430,97 unequal: No Solution Exploring Operation: 110-13=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[81, 36, 74, 94], Operations: [] Exploring Operation: 36+74=110, Resulting Numbers: [81, 94, 110] Generated Node #0,0: 97:[81, 94, 110] Operation: 36+74=110 Moving to Node #0,0 Current State: 97:[81, 94, 110], Operations: ['36+74=110'] Exploring Operation: 94-81=13, Resulting Numbers: [110, 13] Generated Node #0,0,1: 97:[110, 13] Operation: 94-81=13 Moving to Node #0,0,1 Current State: 97:[110, 13], Operations: ['36+74=110', '94-81=13'] Exploring Operation: 110-13=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 46, 43, 27, 38 ]
100
[ "46+43=89", "38-27=11", "89+11=100" ]
Current State: 100:[46, 43, 27, 38], Operations: [] Exploring Operation: 46+43=89, Resulting Numbers: [27, 38, 89] Generated Node #2: [27, 38, 89] from Operation: 46+43=89 Current State: 100:[27, 38, 89], Operations: ['46+43=89'] Exploring Operation: 38-27=11, Resulting Numbers: [89, 11] Generated Node #3: [89, 11] from Operation: 38-27=11 Current State: 100:[89, 11], Operations: ['46+43=89', '38-27=11'] Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[46, 43, 27, 38], Operations: [] Exploring Operation: 46-38=8, Resulting Numbers: [43, 27, 8] Generated Node #0,0: 100:[43, 27, 8] Operation: 46-38=8 Exploring Operation: 38-27=11, Resulting Numbers: [46, 43, 11] Generated Node #0,1: 100:[46, 43, 11] Operation: 38-27=11 Exploring Operation: 43-38=5, Resulting Numbers: [46, 27, 5] Generated Node #0,2: 100:[46, 27, 5] Operation: 43-38=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[46, 27, 5], Operations: ['43-38=5'] Exploring Operation: 46-27=19, Resulting Numbers: [5, 19] Generated Node #0,2,0: 100:[5, 19] Operation: 46-27=19 Exploring Operation: 27-5=22, Resulting Numbers: [46, 22] Generated Node #0,2,1: 100:[46, 22] Operation: 27-5=22 Exploring Operation: 46+5=51, Resulting Numbers: [27, 51] Generated Node #0,2,2: 100:[27, 51] Operation: 46+5=51 Moving to Node #0,2,0 Current State: 100:[5, 19], Operations: ['43-38=5', '46-27=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[27, 51], Operations: ['43-38=5', '46+5=51'] Exploring Operation: 27+51=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 27*51=1377, Resulting Numbers: [1377] 1377,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[46, 22], Operations: ['43-38=5', '27-5=22'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[43, 27, 8], Operations: ['46-38=8'] Exploring Operation: 43+8=51, Resulting Numbers: [27, 51] Generated Node #0,0,0: 100:[27, 51] Operation: 43+8=51 Exploring Operation: 27-8=19, Resulting Numbers: [43, 19] Generated Node #0,0,1: 100:[43, 19] Operation: 27-8=19 Exploring Operation: 43-27=16, Resulting Numbers: [8, 16] Generated Node #0,0,2: 100:[8, 16] Operation: 43-27=16 Moving to Node #0,0,0 Current State: 100:[27, 51], Operations: ['46-38=8', '43+8=51'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 27*51=1377, Resulting Numbers: [1377] 1377,100 unequal: No Solution Exploring Operation: 27+51=78, Resulting Numbers: [78] 78,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[8, 16], Operations: ['46-38=8', '43-27=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[43, 19], Operations: ['46-38=8', '27-8=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,100 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[46, 43, 11], Operations: ['38-27=11'] Exploring Operation: 43-11=32, Resulting Numbers: [46, 32] Generated Node #0,1,0: 100:[46, 32] Operation: 43-11=32 Exploring Operation: 43+11=54, Resulting Numbers: [46, 54] Generated Node #0,1,1: 100:[46, 54] Operation: 43+11=54 Exploring Operation: 46-43=3, Resulting Numbers: [11, 3] Generated Node #0,1,2: 100:[11, 3] Operation: 46-43=3 Moving to Node #0,1,2 Current State: 100:[11, 3], Operations: ['38-27=11', '46-43=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[46, 54], Operations: ['38-27=11', '43+11=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[46, 43, 27, 38], Operations: [] Exploring Operation: 38-27=11, Resulting Numbers: [46, 43, 11] Generated Node #0,1: 100:[46, 43, 11] Operation: 38-27=11 Moving to Node #0,1 Current State: 100:[46, 43, 11], Operations: ['38-27=11'] Exploring Operation: 43+11=54, Resulting Numbers: [46, 54] Generated Node #0,1,1: 100:[46, 54] Operation: 43+11=54 Moving to Node #0,1,1 Current State: 100:[46, 54], Operations: ['38-27=11', '43+11=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_3
mult_heuristic
[ 7, 5, 40, 1 ]
81
[ "7-5=2", "40*2=80", "1+80=81" ]
Current State: 81:[7, 5, 40, 1], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [40, 1, 2] Generated Node #2: [40, 1, 2] from Operation: 7-5=2 Current State: 81:[40, 1, 2], Operations: ['7-5=2'] Exploring Operation: 40*2=80, Resulting Numbers: [1, 80] Generated Node #3: [1, 80] from Operation: 40*2=80 Current State: 81:[1, 80], Operations: ['7-5=2', '40*2=80'] Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[7, 5, 40, 1], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [40, 1, 2] Generated Node #0,0: 81:[40, 1, 2] Operation: 7-5=2 Exploring Operation: 40-7=33, Resulting Numbers: [5, 1, 33] Generated Node #0,1: 81:[5, 1, 33] Operation: 40-7=33 Exploring Operation: 40/5=8, Resulting Numbers: [7, 1, 8] Generated Node #0,2: 81:[7, 1, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [7, 1, 35] Generated Node #0,3: 81:[7, 1, 35] Operation: 40-5=35 Moving to Node #0,2 Current State: 81:[7, 1, 8], Operations: ['40/5=8'] Exploring Operation: 1+8=9, Resulting Numbers: [7, 9] Generated Node #0,2,0: 81:[7, 9] Operation: 1+8=9 Exploring Operation: 7/1=7, Resulting Numbers: [8, 7] Generated Node #0,2,1: 81:[8, 7] Operation: 7/1=7 Exploring Operation: 7+1=8, Resulting Numbers: [8, 8] Generated Node #0,2,2: 81:[8, 8] Operation: 7+1=8 Exploring Operation: 7*1=7, Resulting Numbers: [8, 7] Generated Node #0,2,3: 81:[8, 7] Operation: 7*1=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[7, 9], Operations: ['40/5=8', '1+8=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[8, 8], Operations: ['40/5=8', '7+1=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[8, 7], Operations: ['40/5=8', '7/1=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[8, 7], Operations: ['40/5=8', '7*1=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 81:[5, 1, 33], Operations: ['40-7=33'] Exploring Operation: 5*1=5, Resulting Numbers: [33, 5] Generated Node #0,1,0: 81:[33, 5] Operation: 5*1=5 Exploring Operation: 33-1=32, Resulting Numbers: [5, 32] Generated Node #0,1,1: 81:[5, 32] Operation: 33-1=32 Exploring Operation: 5-1=4, Resulting Numbers: [33, 4] Generated Node #0,1,2: 81:[33, 4] Operation: 5-1=4 Exploring Operation: 33-5=28, Resulting Numbers: [1, 28] Generated Node #0,1,3: 81:[1, 28] Operation: 33-5=28 Moving to Node #0,3 Current State: 81:[7, 1, 35], Operations: ['40-5=35'] Exploring Operation: 7+1=8, Resulting Numbers: [35, 8] Generated Node #0,3,0: 81:[35, 8] Operation: 7+1=8 Exploring Operation: 35-7=28, Resulting Numbers: [1, 28] Generated Node #0,3,1: 81:[1, 28] Operation: 35-7=28 Exploring Operation: 35/7=5, Resulting Numbers: [1, 5] Generated Node #0,3,2: 81:[1, 5] Operation: 35/7=5 Exploring Operation: 35-1=34, Resulting Numbers: [7, 34] Generated Node #0,3,3: 81:[7, 34] Operation: 35-1=34 Moving to Node #0,0 Current State: 81:[40, 1, 2], Operations: ['7-5=2'] Exploring Operation: 40*2=80, Resulting Numbers: [1, 80] Generated Node #0,0,0: 81:[1, 80] Operation: 40*2=80 Exploring Operation: 40-1=39, Resulting Numbers: [2, 39] Generated Node #0,0,1: 81:[2, 39] Operation: 40-1=39 Exploring Operation: 40/2=20, Resulting Numbers: [1, 20] Generated Node #0,0,2: 81:[1, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [1, 38] Generated Node #0,0,3: 81:[1, 38] Operation: 40-2=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[1, 80], Operations: ['7-5=2', '40*2=80'] Exploring Operation: 1*80=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[7, 5, 40, 1], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [40, 1, 2] Generated Node #0,0: 81:[40, 1, 2] Operation: 7-5=2 Moving to Node #0,0 Current State: 81:[40, 1, 2], Operations: ['7-5=2'] Exploring Operation: 40*2=80, Resulting Numbers: [1, 80] Generated Node #0,0,0: 81:[1, 80] Operation: 40*2=80 Moving to Node #0,0,0 Current State: 81:[1, 80], Operations: ['7-5=2', '40*2=80'] Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
sum_heuristic
[ 14, 19, 26, 54 ]
38
[ "54-26=28", "28/14=2", "19*2=38" ]
Current State: 38:[14, 19, 26, 54], Operations: [] Exploring Operation: 54-26=28, Resulting Numbers: [14, 19, 28] Generated Node #2: [14, 19, 28] from Operation: 54-26=28 Current State: 38:[14, 19, 28], Operations: ['54-26=28'] Exploring Operation: 28/14=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 28/14=2 Current State: 38:[19, 2], Operations: ['54-26=28', '28/14=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[14, 19, 26, 54], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [14, 26, 35] Generated Node #0,0: 38:[14, 26, 35] Operation: 54-19=35 Exploring Operation: 54-26=28, Resulting Numbers: [14, 19, 28] Generated Node #0,1: 38:[14, 19, 28] Operation: 54-26=28 Exploring Operation: 54-14=40, Resulting Numbers: [19, 26, 40] Generated Node #0,2: 38:[19, 26, 40] Operation: 54-14=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[19, 26, 40], Operations: ['54-14=40'] Exploring Operation: 19+26=45, Resulting Numbers: [40, 45] Generated Node #0,2,0: 38:[40, 45] Operation: 19+26=45 Exploring Operation: 40-26=14, Resulting Numbers: [19, 14] Generated Node #0,2,1: 38:[19, 14] Operation: 40-26=14 Exploring Operation: 26-19=7, Resulting Numbers: [40, 7] Generated Node #0,2,2: 38:[40, 7] Operation: 26-19=7 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[19, 14], Operations: ['54-14=40', '40-26=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,38 unequal: No Solution No 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: 38:[40, 7], Operations: ['54-14=40', '26-19=7'] Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,38 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,38 unequal: No Solution No 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: 38:[40, 45], Operations: ['54-14=40', '19+26=45'] Exploring Operation: 40*45=1800, Resulting Numbers: [1800] 1800,38 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,38 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: 38:[14, 19, 28], Operations: ['54-26=28'] Exploring Operation: 28/14=2, Resulting Numbers: [19, 2] Generated Node #0,1,0: 38:[19, 2] Operation: 28/14=2 Exploring Operation: 14+28=42, Resulting Numbers: [19, 42] Generated Node #0,1,1: 38:[19, 42] Operation: 14+28=42 Exploring Operation: 28-14=14, Resulting Numbers: [19, 14] Generated Node #0,1,2: 38:[19, 14] Operation: 28-14=14 Moving to Node #0,1,0 Current State: 38:[19, 2], Operations: ['54-26=28', '28/14=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[14, 19, 26, 54], Operations: [] Exploring Operation: 54-26=28, Resulting Numbers: [14, 19, 28] Generated Node #0,1: 38:[14, 19, 28] Operation: 54-26=28 Moving to Node #0,1 Current State: 38:[14, 19, 28], Operations: ['54-26=28'] Exploring Operation: 28/14=2, Resulting Numbers: [19, 2] Generated Node #0,1,0: 38:[19, 2] Operation: 28/14=2 Moving to Node #0,1,0 Current State: 38:[19, 2], Operations: ['54-26=28', '28/14=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 17, 15, 51, 47 ]
55
[ "17-15=2", "51*2=102", "102-47=55" ]
Current State: 55:[17, 15, 51, 47], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [51, 47, 2] Generated Node #2: [51, 47, 2] from Operation: 17-15=2 Current State: 55:[51, 47, 2], Operations: ['17-15=2'] Exploring Operation: 51*2=102, Resulting Numbers: [47, 102] Generated Node #3: [47, 102] from Operation: 51*2=102 Current State: 55:[47, 102], Operations: ['17-15=2', '51*2=102'] Exploring Operation: 102-47=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[17, 15, 51, 47], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [17, 15, 4] Generated Node #0,0: 55:[17, 15, 4] Operation: 51-47=4 Exploring Operation: 17-15=2, Resulting Numbers: [51, 47, 2] Generated Node #0,1: 55:[51, 47, 2] Operation: 17-15=2 Exploring Operation: 51/17=3, Resulting Numbers: [15, 47, 3] Generated Node #0,2: 55:[15, 47, 3] Operation: 51/17=3 Moving to Node #0,0 Current State: 55:[17, 15, 4], Operations: ['51-47=4'] Exploring Operation: 15-4=11, Resulting Numbers: [17, 11] Generated Node #0,0,0: 55:[17, 11] Operation: 15-4=11 Exploring Operation: 17-4=13, Resulting Numbers: [15, 13] Generated Node #0,0,1: 55:[15, 13] Operation: 17-4=13 Exploring Operation: 17-15=2, Resulting Numbers: [4, 2] Generated Node #0,0,2: 55:[4, 2] Operation: 17-15=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[4, 2], Operations: ['51-47=4', '17-15=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,55 unequal: No Solution No 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: 55:[17, 11], Operations: ['51-47=4', '15-4=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,55 unequal: No Solution No 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: 55:[15, 13], Operations: ['51-47=4', '17-4=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,55 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: 55:[15, 47, 3], Operations: ['51/17=3'] Exploring Operation: 15+47=62, Resulting Numbers: [3, 62] Generated Node #0,2,0: 55:[3, 62] Operation: 15+47=62 Exploring Operation: 15-3=12, Resulting Numbers: [47, 12] Generated Node #0,2,1: 55:[47, 12] Operation: 15-3=12 Exploring Operation: 15/3=5, Resulting Numbers: [47, 5] Generated Node #0,2,2: 55:[47, 5] Operation: 15/3=5 Moving to Node #0,1 Current State: 55:[51, 47, 2], Operations: ['17-15=2'] Exploring Operation: 51+2=53, Resulting Numbers: [47, 53] Generated Node #0,1,0: 55:[47, 53] Operation: 51+2=53 Exploring Operation: 47+2=49, Resulting Numbers: [51, 49] Generated Node #0,1,1: 55:[51, 49] Operation: 47+2=49 Exploring Operation: 51-47=4, Resulting Numbers: [2, 4] Generated Node #0,1,2: 55:[2, 4] Operation: 51-47=4 Moving to Node #0,1,2 Current State: 55:[2, 4], Operations: ['17-15=2', '51-47=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[47, 5], Operations: ['51/17=3', '15/3=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[47, 12], Operations: ['51/17=3', '15-3=12'] Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[3, 62], Operations: ['51/17=3', '15+47=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,55 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[51, 49], Operations: ['17-15=2', '47+2=49'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[47, 53], Operations: ['17-15=2', '51+2=53'] Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,55 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,55 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 88, 53, 16, 33 ]
92
[ "88+53=141", "16+33=49", "141-49=92" ]
Current State: 92:[88, 53, 16, 33], Operations: [] Exploring Operation: 88+53=141, Resulting Numbers: [16, 33, 141] Generated Node #2: [16, 33, 141] from Operation: 88+53=141 Current State: 92:[16, 33, 141], Operations: ['88+53=141'] Exploring Operation: 16+33=49, Resulting Numbers: [141, 49] Generated Node #3: [141, 49] from Operation: 16+33=49 Current State: 92:[141, 49], Operations: ['88+53=141', '16+33=49'] Exploring Operation: 141-49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[88, 53, 16, 33], Operations: [] Exploring Operation: 53-33=20, Resulting Numbers: [88, 16, 20] Generated Node #0,0: 92:[88, 16, 20] Operation: 53-33=20 Exploring Operation: 16+33=49, Resulting Numbers: [88, 53, 49] Generated Node #0,1: 92:[88, 53, 49] Operation: 16+33=49 Exploring Operation: 53+33=86, Resulting Numbers: [88, 16, 86] Generated Node #0,2: 92:[88, 16, 86] Operation: 53+33=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[88, 16, 20], Operations: ['53-33=20'] Exploring Operation: 20-16=4, Resulting Numbers: [88, 4] Generated Node #0,0,0: 92:[88, 4] Operation: 20-16=4 Exploring Operation: 88+16=104, Resulting Numbers: [20, 104] Generated Node #0,0,1: 92:[20, 104] Operation: 88+16=104 Exploring Operation: 16+20=36, Resulting Numbers: [88, 36] Generated Node #0,0,2: 92:[88, 36] Operation: 16+20=36 Moving to Node #0,0,0 Current State: 92:[88, 4], Operations: ['53-33=20', '20-16=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[88, 53, 16, 33], Operations: [] Exploring Operation: 53-33=20, Resulting Numbers: [88, 16, 20] Generated Node #0,0: 92:[88, 16, 20] Operation: 53-33=20 Moving to Node #0,0 Current State: 92:[88, 16, 20], Operations: ['53-33=20'] Exploring Operation: 20-16=4, Resulting Numbers: [88, 4] Generated Node #0,0,0: 92:[88, 4] Operation: 20-16=4 Moving to Node #0,0,0 Current State: 92:[88, 4], Operations: ['53-33=20', '20-16=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 42, 42, 49, 60 ]
28
[ "49*60=2940", "2940/42=70", "70-42=28" ]
Current State: 28:[42, 42, 49, 60], Operations: [] Exploring Operation: 49*60=2940, Resulting Numbers: [42, 42, 2940] Generated Node #2: [42, 42, 2940] from Operation: 49*60=2940 Current State: 28:[42, 42, 2940], Operations: ['49*60=2940'] Exploring Operation: 2940/42=70, Resulting Numbers: [70] 70,28 equal: Goal Reached Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[42, 42, 49, 60], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [42, 42, 11] Generated Node #0,0: 28:[42, 42, 11] Operation: 60-49=11 Exploring Operation: 49-42=7, Resulting Numbers: [42, 60, 7] Generated Node #0,1: 28:[42, 60, 7] Operation: 49-42=7 Exploring Operation: 60-42=18, Resulting Numbers: [42, 49, 18] Generated Node #0,2: 28:[42, 49, 18] Operation: 60-42=18 Exploring Operation: 49-42=7, Resulting Numbers: [42, 60, 7] Generated Node #0,3: 28:[42, 60, 7] Operation: 49-42=7 Exploring Operation: 60-42=18, Resulting Numbers: [42, 49, 18] Generated Node #0,4: 28:[42, 49, 18] Operation: 60-42=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[42, 42, 11], Operations: ['60-49=11'] Exploring Operation: 42+11=53, Resulting Numbers: [42, 53] Generated Node #0,0,0: 28:[42, 53] Operation: 42+11=53 Exploring Operation: 42-11=31, Resulting Numbers: [42, 31] Generated Node #0,0,1: 28:[42, 31] Operation: 42-11=31 Exploring Operation: 42-42=0, Resulting Numbers: [11, 0] Generated Node #0,0,2: 28:[11, 0] Operation: 42-42=0 Exploring Operation: 42/42=1, Resulting Numbers: [11, 1] Generated Node #0,0,3: 28:[11, 1] Operation: 42/42=1 Exploring Operation: 42-11=31, Resulting Numbers: [42, 31] Generated Node #0,0,4: 28:[42, 31] Operation: 42-11=31 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[11, 1], Operations: ['60-49=11', '42/42=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[11, 0], Operations: ['60-49=11', '42-42=0'] Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[42, 31], Operations: ['60-49=11', '42-11=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,28 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[42, 31], Operations: ['60-49=11', '42-11=31'] Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,28 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[42, 53], Operations: ['60-49=11', '42+11=53'] Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,28 unequal: No Solution Exploring Operation: 42*53=2226, Resulting Numbers: [2226] 2226,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[42, 49, 18], Operations: ['60-42=18'] Exploring Operation: 49-42=7, Resulting Numbers: [18, 7] Generated Node #0,2,0: 28:[18, 7] Operation: 49-42=7 Exploring Operation: 49+18=67, Resulting Numbers: [42, 67] Generated Node #0,2,1: 28:[42, 67] Operation: 49+18=67 Exploring Operation: 42-18=24, Resulting Numbers: [49, 24] Generated Node #0,2,2: 28:[49, 24] Operation: 42-18=24 Exploring Operation: 49-18=31, Resulting Numbers: [42, 31] Generated Node #0,2,3: 28:[42, 31] Operation: 49-18=31 Exploring Operation: 42+18=60, Resulting Numbers: [49, 60] Generated Node #0,2,4: 28:[49, 60] Operation: 42+18=60 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[18, 7], Operations: ['60-42=18', '49-42=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,28 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[42, 31], Operations: ['60-42=18', '49-18=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[49, 24], Operations: ['60-42=18', '42-18=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,28 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[42, 67], Operations: ['60-42=18', '49+18=67'] Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,28 unequal: No Solution Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,28 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 28:[49, 60], Operations: ['60-42=18', '42+18=60'] Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,28 unequal: No Solution Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[42, 49, 18], Operations: ['60-42=18'] Exploring Operation: 42-18=24, Resulting Numbers: [49, 24] Generated Node #0,4,0: 28:[49, 24] Operation: 42-18=24 Exploring Operation: 42+18=60, Resulting Numbers: [49, 60] Generated Node #0,4,1: 28:[49, 60] Operation: 42+18=60 Exploring Operation: 49-42=7, Resulting Numbers: [18, 7] Generated Node #0,4,2: 28:[18, 7] Operation: 49-42=7 Exploring Operation: 49+18=67, Resulting Numbers: [42, 67] Generated Node #0,4,3: 28:[42, 67] Operation: 49+18=67 Exploring Operation: 49-18=31, Resulting Numbers: [42, 31] Generated Node #0,4,4: 28:[42, 31] Operation: 49-18=31 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 28:[18, 7], Operations: ['60-42=18', '49-42=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,28 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 28:[42, 31], Operations: ['60-42=18', '49-18=31'] Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,28 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 28:[49, 24], Operations: ['60-42=18', '42-18=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,28 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 28:[49, 60], Operations: ['60-42=18', '42+18=60'] Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,28 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[42, 67], Operations: ['60-42=18', '49+18=67'] Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,28 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[42, 60, 7], Operations: ['49-42=7'] Exploring Operation: 60-7=53, Resulting Numbers: [42, 53] Generated Node #0,1,0: 28:[42, 53] Operation: 60-7=53 Exploring Operation: 42/7=6, Resulting Numbers: [60, 6] Generated Node #0,1,1: 28:[60, 6] Operation: 42/7=6 Exploring Operation: 42+7=49, Resulting Numbers: [60, 49] Generated Node #0,1,2: 28:[60, 49] Operation: 42+7=49 Exploring Operation: 42-7=35, Resulting Numbers: [60, 35] Generated Node #0,1,3: 28:[60, 35] Operation: 42-7=35 Exploring Operation: 60-42=18, Resulting Numbers: [7, 18] Generated Node #0,1,4: 28:[7, 18] Operation: 60-42=18 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 28:[7, 18], Operations: ['49-42=7', '60-42=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,28 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[60, 6], Operations: ['49-42=7', '42/7=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[42, 53], Operations: ['49-42=7', '60-7=53'] Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,28 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 42*53=2226, Resulting Numbers: [2226] 2226,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 28:[60, 35], Operations: ['49-42=7', '42-7=35'] Exploring Operation: 60*35=2100, Resulting Numbers: [2100] 2100,28 unequal: No Solution Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 60+35=95, Resulting Numbers: [95] 95,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[60, 49], Operations: ['49-42=7', '42+7=49'] Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 60*49=2940, Resulting Numbers: [2940] 2940,28 unequal: No Solution Exploring Operation: 60+49=109, Resulting Numbers: [109] 109,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[42, 60, 7], Operations: ['49-42=7'] Exploring Operation: 60-42=18, Resulting Numbers: [7, 18] Generated Node #0,3,0: 28:[7, 18] Operation: 60-42=18 Exploring Operation: 60-7=53, Resulting Numbers: [42, 53] Generated Node #0,3,1: 28:[42, 53] Operation: 60-7=53 Exploring Operation: 42+7=49, Resulting Numbers: [60, 49] Generated Node #0,3,2: 28:[60, 49] Operation: 42+7=49 Exploring Operation: 42-7=35, Resulting Numbers: [60, 35] Generated Node #0,3,3: 28:[60, 35] Operation: 42-7=35 Exploring Operation: 42/7=6, Resulting Numbers: [60, 6] Generated Node #0,3,4: 28:[60, 6] Operation: 42/7=6 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[7, 18], Operations: ['49-42=7', '60-42=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 28:[60, 6], Operations: ['49-42=7', '42/7=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[42, 53], Operations: ['49-42=7', '60-7=53'] Exploring Operation: 42*53=2226, Resulting Numbers: [2226] 2226,28 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[60, 35], Operations: ['49-42=7', '42-7=35'] Exploring Operation: 60*35=2100, Resulting Numbers: [2100] 2100,28 unequal: No Solution Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 60+35=95, Resulting Numbers: [95] 95,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[60, 49], Operations: ['49-42=7', '42+7=49'] Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 60*49=2940, Resulting Numbers: [2940] 2940,28 unequal: No Solution Exploring Operation: 60+49=109, Resulting Numbers: [109] 109,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 99, 62, 77, 62 ]
23
[ "99-77=22", "62/62=1", "22+1=23" ]
Current State: 23:[99, 62, 77, 62], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [62, 62, 22] Generated Node #2: [62, 62, 22] from Operation: 99-77=22 Current State: 23:[62, 62, 22], Operations: ['99-77=22'] Exploring Operation: 62/62=1, Resulting Numbers: [22, 1] Generated Node #3: [22, 1] from Operation: 62/62=1 Current State: 23:[22, 1], Operations: ['99-77=22', '62/62=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[99, 62, 77, 62], Operations: [] Exploring Operation: 99-62=37, Resulting Numbers: [77, 62, 37] Generated Node #0,0: 23:[77, 62, 37] Operation: 99-62=37 Exploring Operation: 99-77=22, Resulting Numbers: [62, 62, 22] Generated Node #0,1: 23:[62, 62, 22] Operation: 99-77=22 Exploring Operation: 99-62=37, Resulting Numbers: [62, 77, 37] Generated Node #0,2: 23:[62, 77, 37] Operation: 99-62=37 Exploring Operation: 77-62=15, Resulting Numbers: [99, 62, 15] Generated Node #0,3: 23:[99, 62, 15] Operation: 77-62=15 Moving to Node #0,1 Current State: 23:[62, 62, 22], Operations: ['99-77=22'] Exploring Operation: 62-62=0, Resulting Numbers: [22, 0] Generated Node #0,1,0: 23:[22, 0] Operation: 62-62=0 Exploring Operation: 62-22=40, Resulting Numbers: [62, 40] Generated Node #0,1,1: 23:[62, 40] Operation: 62-22=40 Exploring Operation: 62-22=40, Resulting Numbers: [62, 40] Generated Node #0,1,2: 23:[62, 40] Operation: 62-22=40 Exploring Operation: 62/62=1, Resulting Numbers: [22, 1] Generated Node #0,1,3: 23:[22, 1] Operation: 62/62=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[22, 1], Operations: ['99-77=22', '62/62=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[99, 62, 77, 62], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [62, 62, 22] Generated Node #0,1: 23:[62, 62, 22] Operation: 99-77=22 Moving to Node #0,1 Current State: 23:[62, 62, 22], Operations: ['99-77=22'] Exploring Operation: 62/62=1, Resulting Numbers: [22, 1] Generated Node #0,1,3: 23:[22, 1] Operation: 62/62=1 Moving to Node #0,1,3 Current State: 23:[22, 1], Operations: ['99-77=22', '62/62=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 8, 38, 44, 87 ]
40
[ "38+44=82", "87-82=5", "8*5=40" ]
Current State: 40:[8, 38, 44, 87], Operations: [] Exploring Operation: 38+44=82, Resulting Numbers: [8, 87, 82] Generated Node #2: [8, 87, 82] from Operation: 38+44=82 Current State: 40:[8, 87, 82], Operations: ['38+44=82'] Exploring Operation: 87-82=5, Resulting Numbers: [8, 5] Generated Node #3: [8, 5] from Operation: 87-82=5 Current State: 40:[8, 5], Operations: ['38+44=82', '87-82=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[8, 38, 44, 87], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [8, 44, 49] Generated Node #0,0: 40:[8, 44, 49] Operation: 87-38=49 Exploring Operation: 87-8=79, Resulting Numbers: [38, 44, 79] Generated Node #0,1: 40:[38, 44, 79] Operation: 87-8=79 Exploring Operation: 44-38=6, Resulting Numbers: [8, 87, 6] Generated Node #0,2: 40:[8, 87, 6] Operation: 44-38=6 Exploring Operation: 87-44=43, Resulting Numbers: [8, 38, 43] Generated Node #0,3: 40:[8, 38, 43] Operation: 87-44=43 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[8, 38, 43], Operations: ['87-44=43'] Exploring Operation: 43-38=5, Resulting Numbers: [8, 5] Generated Node #0,3,0: 40:[8, 5] Operation: 43-38=5 Exploring Operation: 8+38=46, Resulting Numbers: [43, 46] Generated Node #0,3,1: 40:[43, 46] Operation: 8+38=46 Exploring Operation: 43-8=35, Resulting Numbers: [38, 35] Generated Node #0,3,2: 40:[38, 35] Operation: 43-8=35 Exploring Operation: 38-8=30, Resulting Numbers: [43, 30] Generated Node #0,3,3: 40:[43, 30] Operation: 38-8=30 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[8, 5], Operations: ['87-44=43', '43-38=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[8, 38, 44, 87], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [8, 38, 43] Generated Node #0,3: 40:[8, 38, 43] Operation: 87-44=43 Moving to Node #0,3 Current State: 40:[8, 38, 43], Operations: ['87-44=43'] Exploring Operation: 43-38=5, Resulting Numbers: [8, 5] Generated Node #0,3,0: 40:[8, 5] Operation: 43-38=5 Moving to Node #0,3,0 Current State: 40:[8, 5], Operations: ['87-44=43', '43-38=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 51, 64, 8, 48 ]
34
[ "51*48=2448", "64+8=72", "2448/72=34" ]
Current State: 34:[51, 64, 8, 48], Operations: [] Exploring Operation: 51*48=2448, Resulting Numbers: [64, 8, 2448] Generated Node #2: [64, 8, 2448] from Operation: 51*48=2448 Current State: 34:[64, 8, 2448], Operations: ['51*48=2448'] Exploring Operation: 64+8=72, Resulting Numbers: [2448, 72] Generated Node #3: [2448, 72] from Operation: 64+8=72 Current State: 34:[2448, 72], Operations: ['51*48=2448', '64+8=72'] Exploring Operation: 2448/72=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[51, 64, 8, 48], Operations: [] Exploring Operation: 64-51=13, Resulting Numbers: [8, 48, 13] Generated Node #0,0: 34:[8, 48, 13] Operation: 64-51=13 Exploring Operation: 51-48=3, Resulting Numbers: [64, 8, 3] Generated Node #0,1: 34:[64, 8, 3] Operation: 51-48=3 Exploring Operation: 64-48=16, Resulting Numbers: [51, 8, 16] Generated Node #0,2: 34:[51, 8, 16] Operation: 64-48=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[8, 48, 13], Operations: ['64-51=13'] Exploring Operation: 48/8=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 34:[13, 6] Operation: 48/8=6 Exploring Operation: 48-13=35, Resulting Numbers: [8, 35] Generated Node #0,0,1: 34:[8, 35] Operation: 48-13=35 Exploring Operation: 48-8=40, Resulting Numbers: [13, 40] Generated Node #0,0,2: 34:[13, 40] Operation: 48-8=40 Moving to Node #0,0,1 Current State: 34:[8, 35], Operations: ['64-51=13', '48-13=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[13, 6], Operations: ['64-51=13', '48/8=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[13, 40], Operations: ['64-51=13', '48-8=40'] Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[51, 8, 16], Operations: ['64-48=16'] Exploring Operation: 16/8=2, Resulting Numbers: [51, 2] Generated Node #0,2,0: 34:[51, 2] Operation: 16/8=2 Exploring Operation: 51-16=35, Resulting Numbers: [8, 35] Generated Node #0,2,1: 34:[8, 35] Operation: 51-16=35 Exploring Operation: 51-8=43, Resulting Numbers: [16, 43] Generated Node #0,2,2: 34:[16, 43] Operation: 51-8=43 Moving to Node #0,2,1 Current State: 34:[8, 35], Operations: ['64-48=16', '51-16=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,34 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[16, 43], Operations: ['64-48=16', '51-8=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,34 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[51, 2], Operations: ['64-48=16', '16/8=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[64, 8, 3], Operations: ['51-48=3'] Exploring Operation: 64/8=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 34:[3, 8] Operation: 64/8=8 Exploring Operation: 64-3=61, Resulting Numbers: [8, 61] Generated Node #0,1,1: 34:[8, 61] Operation: 64-3=61 Exploring Operation: 64-8=56, Resulting Numbers: [3, 56] Generated Node #0,1,2: 34:[3, 56] Operation: 64-8=56 Moving to Node #0,1,0 Current State: 34:[3, 8], Operations: ['51-48=3', '64/8=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[3, 56], Operations: ['51-48=3', '64-8=56'] Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,34 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[8, 61], Operations: ['51-48=3', '64-3=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,34 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
[ 46, 69, 4, 48 ]
66
[ "48-4=44", "69*44=3036", "3036/46=66" ]
Current State: 66:[46, 69, 4, 48], Operations: [] Exploring Operation: 48-4=44, Resulting Numbers: [46, 69, 44] Generated Node #2: [46, 69, 44] from Operation: 48-4=44 Current State: 66:[46, 69, 44], Operations: ['48-4=44'] Exploring Operation: 69*44=3036, Resulting Numbers: [46, 3036] Generated Node #3: [46, 3036] from Operation: 69*44=3036 Current State: 66:[46, 3036], Operations: ['48-4=44', '69*44=3036'] Exploring Operation: 3036/46=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[46, 69, 4, 48], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [4, 48, 23] Generated Node #0,0: 66:[4, 48, 23] Operation: 69-46=23 Exploring Operation: 48-46=2, Resulting Numbers: [69, 4, 2] Generated Node #0,1: 66:[69, 4, 2] Operation: 48-46=2 Exploring Operation: 48/4=12, Resulting Numbers: [46, 69, 12] Generated Node #0,2: 66:[46, 69, 12] Operation: 48/4=12 Exploring Operation: 69-48=21, Resulting Numbers: [46, 4, 21] Generated Node #0,3: 66:[46, 4, 21] Operation: 69-48=21 Moving to Node #0,1 Current State: 66:[69, 4, 2], Operations: ['48-46=2'] Exploring Operation: 4+2=6, Resulting Numbers: [69, 6] Generated Node #0,1,0: 66:[69, 6] Operation: 4+2=6 Exploring Operation: 4-2=2, Resulting Numbers: [69, 2] Generated Node #0,1,1: 66:[69, 2] Operation: 4-2=2 Exploring Operation: 69-2=67, Resulting Numbers: [4, 67] Generated Node #0,1,2: 66:[4, 67] Operation: 69-2=67 Exploring Operation: 69-4=65, Resulting Numbers: [2, 65] Generated Node #0,1,3: 66:[2, 65] Operation: 69-4=65 Moving to Node #0,3 Current State: 66:[46, 4, 21], Operations: ['69-48=21'] Exploring Operation: 46-4=42, Resulting Numbers: [21, 42] Generated Node #0,3,0: 66:[21, 42] Operation: 46-4=42 Exploring Operation: 4+21=25, Resulting Numbers: [46, 25] Generated Node #0,3,1: 66:[46, 25] Operation: 4+21=25 Exploring Operation: 46-21=25, Resulting Numbers: [4, 25] Generated Node #0,3,2: 66:[4, 25] Operation: 46-21=25 Exploring Operation: 46+21=67, Resulting Numbers: [4, 67] Generated Node #0,3,3: 66:[4, 67] Operation: 46+21=67 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 66:[4, 67], Operations: ['69-48=21', '46+21=67'] Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,66 unequal: No Solution Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[4, 25], Operations: ['69-48=21', '46-21=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[21, 42], Operations: ['69-48=21', '46-4=42'] Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,66 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[46, 25], Operations: ['69-48=21', '4+21=25'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,66 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: 66:[46, 69, 12], Operations: ['48/4=12'] Exploring Operation: 46+12=58, Resulting Numbers: [69, 58] Generated Node #0,2,0: 66:[69, 58] Operation: 46+12=58 Exploring Operation: 69-46=23, Resulting Numbers: [12, 23] Generated Node #0,2,1: 66:[12, 23] Operation: 69-46=23 Exploring Operation: 46-12=34, Resulting Numbers: [69, 34] Generated Node #0,2,2: 66:[69, 34] Operation: 46-12=34 Exploring Operation: 69-12=57, Resulting Numbers: [46, 57] Generated Node #0,2,3: 66:[46, 57] Operation: 69-12=57 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[12, 23], Operations: ['48/4=12', '69-46=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[69, 34], Operations: ['48/4=12', '46-12=34'] Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,66 unequal: No Solution Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,66 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[69, 58], Operations: ['48/4=12', '46+12=58'] Exploring Operation: 69*58=4002, Resulting Numbers: [4002] 4002,66 unequal: No Solution Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[46, 57], Operations: ['48/4=12', '69-12=57'] Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,66 unequal: No Solution Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,66 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,66 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: 66:[4, 48, 23], Operations: ['69-46=23'] Exploring Operation: 48-4=44, Resulting Numbers: [23, 44] Generated Node #0,0,0: 66:[23, 44] Operation: 48-4=44 Exploring Operation: 48/4=12, Resulting Numbers: [23, 12] Generated Node #0,0,1: 66:[23, 12] Operation: 48/4=12 Exploring Operation: 48+23=71, Resulting Numbers: [4, 71] Generated Node #0,0,2: 66:[4, 71] Operation: 48+23=71 Exploring Operation: 48-23=25, Resulting Numbers: [4, 25] Generated Node #0,0,3: 66:[4, 25] Operation: 48-23=25 Moving to Node #0,1,3 Current State: 66:[2, 65], Operations: ['48-46=2', '69-4=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[4, 67], Operations: ['48-46=2', '69-2=67'] Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,66 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[23, 12], Operations: ['69-46=23', '48/4=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[69, 6], Operations: ['48-46=2', '4+2=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,66 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[69, 2], Operations: ['48-46=2', '4-2=2'] Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,66 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[4, 25], Operations: ['69-46=23', '48-23=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,66 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[4, 71], Operations: ['69-46=23', '48+23=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,66 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[23, 44], Operations: ['69-46=23', '48-4=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,66 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 72, 47, 94, 83 ]
61
[ "72*94=6768", "6768/47=144", "144-83=61" ]
Current State: 61:[72, 47, 94, 83], Operations: [] Exploring Operation: 72*94=6768, Resulting Numbers: [47, 83, 6768] Generated Node #2: [47, 83, 6768] from Operation: 72*94=6768 Current State: 61:[47, 83, 6768], Operations: ['72*94=6768'] Exploring Operation: 6768/47=144, Resulting Numbers: [83, 144] Generated Node #3: [83, 144] from Operation: 6768/47=144 Current State: 61:[83, 144], Operations: ['72*94=6768', '6768/47=144'] Exploring Operation: 144-83=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[72, 47, 94, 83], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [72, 94, 36] Generated Node #0,0: 61:[72, 94, 36] Operation: 83-47=36 Exploring Operation: 94-47=47, Resulting Numbers: [72, 83, 47] Generated Node #0,1: 61:[72, 83, 47] Operation: 94-47=47 Exploring Operation: 94-72=22, Resulting Numbers: [47, 83, 22] Generated Node #0,2: 61:[47, 83, 22] Operation: 94-72=22 Moving to Node #0,1 Current State: 61:[72, 83, 47], Operations: ['94-47=47'] Exploring Operation: 72-47=25, Resulting Numbers: [83, 25] Generated Node #0,1,0: 61:[83, 25] Operation: 72-47=25 Exploring Operation: 83-72=11, Resulting Numbers: [47, 11] Generated Node #0,1,1: 61:[47, 11] Operation: 83-72=11 Exploring Operation: 83-47=36, Resulting Numbers: [72, 36] Generated Node #0,1,2: 61:[72, 36] Operation: 83-47=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[72, 36], Operations: ['94-47=47', '83-47=36'] Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[83, 25], Operations: ['94-47=47', '72-47=25'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 83*25=2075, Resulting Numbers: [2075] 2075,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[47, 11], Operations: ['94-47=47', '83-72=11'] Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,61 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,61 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: 61:[72, 94, 36], Operations: ['83-47=36'] Exploring Operation: 94-72=22, Resulting Numbers: [36, 22] Generated Node #0,0,0: 61:[36, 22] Operation: 94-72=22 Exploring Operation: 94-36=58, Resulting Numbers: [72, 58] Generated Node #0,0,1: 61:[72, 58] Operation: 94-36=58 Exploring Operation: 72-36=36, Resulting Numbers: [94, 36] Generated Node #0,0,2: 61:[94, 36] Operation: 72-36=36 Moving to Node #0,2 Current State: 61:[47, 83, 22], Operations: ['94-72=22'] Exploring Operation: 47-22=25, Resulting Numbers: [83, 25] Generated Node #0,2,0: 61:[83, 25] Operation: 47-22=25 Exploring Operation: 83-22=61, Resulting Numbers: [47, 61] Generated Node #0,2,1: 61:[47, 61] Operation: 83-22=61 Exploring Operation: 47+22=69, Resulting Numbers: [83, 69] Generated Node #0,2,2: 61:[83, 69] Operation: 47+22=69 Moving to Node #0,0,1 Current State: 61:[72, 58], Operations: ['83-47=36', '94-36=58'] Exploring Operation: 72+58=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 72*58=4176, Resulting Numbers: [4176] 4176,61 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[47, 61], Operations: ['94-72=22', '83-22=61'] Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,61 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[83, 69], Operations: ['94-72=22', '47+22=69'] Exploring Operation: 83*69=5727, Resulting Numbers: [5727] 5727,61 unequal: No Solution Exploring Operation: 83+69=152, Resulting Numbers: [152] 152,61 unequal: No Solution Exploring Operation: 83-69=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[83, 25], Operations: ['94-72=22', '47-22=25'] Exploring Operation: 83*25=2075, Resulting Numbers: [2075] 2075,61 unequal: No Solution Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[94, 36], Operations: ['83-47=36', '72-36=36'] Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,61 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[36, 22], Operations: ['83-47=36', '94-72=22'] Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,61 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 80, 69, 95, 85 ]
100
[ "85-69=16", "80/16=5", "95+5=100" ]
Current State: 100:[80, 69, 95, 85], Operations: [] Exploring Operation: 85-69=16, Resulting Numbers: [80, 95, 16] Generated Node #2: [80, 95, 16] from Operation: 85-69=16 Current State: 100:[80, 95, 16], Operations: ['85-69=16'] Exploring Operation: 80/16=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 80/16=5 Current State: 100:[95, 5], Operations: ['85-69=16', '80/16=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[80, 69, 95, 85], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [95, 85, 11] Generated Node #0,0: 100:[95, 85, 11] Operation: 80-69=11 Exploring Operation: 85-80=5, Resulting Numbers: [69, 95, 5] Generated Node #0,1: 100:[69, 95, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 100:[95, 85, 11], Operations: ['80-69=11'] Exploring Operation: 85+11=96, Resulting Numbers: [95, 96] Generated Node #0,0,0: 100:[95, 96] Operation: 85+11=96 Exploring Operation: 95-85=10, Resulting Numbers: [11, 10] Generated Node #0,0,1: 100:[11, 10] Operation: 95-85=10 Moving to Node #0,1 Current State: 100:[69, 95, 5], Operations: ['85-80=5'] Exploring Operation: 95-69=26, Resulting Numbers: [5, 26] Generated Node #0,1,0: 100:[5, 26] Operation: 95-69=26 Exploring Operation: 69-5=64, Resulting Numbers: [95, 64] Generated Node #0,1,1: 100:[95, 64] Operation: 69-5=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[5, 26], Operations: ['85-80=5', '95-69=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,100 unequal: No Solution No solution 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: 100:[95, 64], Operations: ['85-80=5', '69-5=64'] Exploring Operation: 95+64=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,100 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: 100:[11, 10], Operations: ['80-69=11', '95-85=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[95, 96], Operations: ['80-69=11', '85+11=96'] Exploring Operation: 95+96=191, Resulting Numbers: [191] 191,100 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,100 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 14, 82, 93, 74 ]
80
[ "93-82=11", "14*11=154", "154-74=80" ]
Current State: 80:[14, 82, 93, 74], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [14, 74, 11] Generated Node #2: [14, 74, 11] from Operation: 93-82=11 Current State: 80:[14, 74, 11], Operations: ['93-82=11'] Exploring Operation: 14*11=154, Resulting Numbers: [74, 154] Generated Node #3: [74, 154] from Operation: 14*11=154 Current State: 80:[74, 154], Operations: ['93-82=11', '14*11=154'] Exploring Operation: 154-74=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[14, 82, 93, 74], Operations: [] Exploring Operation: 82-74=8, Resulting Numbers: [14, 93, 8] Generated Node #0,0: 80:[14, 93, 8] Operation: 82-74=8 Exploring Operation: 93-14=79, Resulting Numbers: [82, 74, 79] Generated Node #0,1: 80:[82, 74, 79] Operation: 93-14=79 Exploring Operation: 93-74=19, Resulting Numbers: [14, 82, 19] Generated Node #0,2: 80:[14, 82, 19] Operation: 93-74=19 Exploring Operation: 93-82=11, Resulting Numbers: [14, 74, 11] Generated Node #0,3: 80:[14, 74, 11] Operation: 93-82=11 Moving to Node #0,2 Current State: 80:[14, 82, 19], Operations: ['93-74=19'] Exploring Operation: 19-14=5, Resulting Numbers: [82, 5] Generated Node #0,2,0: 80:[82, 5] Operation: 19-14=5 Exploring Operation: 82-14=68, Resulting Numbers: [19, 68] Generated Node #0,2,1: 80:[19, 68] Operation: 82-14=68 Exploring Operation: 14+19=33, Resulting Numbers: [82, 33] Generated Node #0,2,2: 80:[82, 33] Operation: 14+19=33 Exploring Operation: 14+82=96, Resulting Numbers: [19, 96] Generated Node #0,2,3: 80:[19, 96] Operation: 14+82=96 Moving to Node #0,3 Current State: 80:[14, 74, 11], Operations: ['93-82=11'] Exploring Operation: 74+11=85, Resulting Numbers: [14, 85] Generated Node #0,3,0: 80:[14, 85] Operation: 74+11=85 Exploring Operation: 14+74=88, Resulting Numbers: [11, 88] Generated Node #0,3,1: 80:[11, 88] Operation: 14+74=88 Exploring Operation: 14-11=3, Resulting Numbers: [74, 3] Generated Node #0,3,2: 80:[74, 3] Operation: 14-11=3 Exploring Operation: 14+11=25, Resulting Numbers: [74, 25] Generated Node #0,3,3: 80:[74, 25] Operation: 14+11=25 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[14, 85], Operations: ['93-82=11', '74+11=85'] Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,80 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[74, 3], Operations: ['93-82=11', '14-11=3'] Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,80 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[11, 88], Operations: ['93-82=11', '14+74=88'] Exploring Operation: 11+88=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 11*88=968, Resulting Numbers: [968] 968,80 unequal: No Solution Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[74, 25], Operations: ['93-82=11', '14+11=25'] Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,80 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[82, 74, 79], Operations: ['93-14=79'] Exploring Operation: 79-74=5, Resulting Numbers: [82, 5] Generated Node #0,1,0: 80:[82, 5] Operation: 79-74=5 Exploring Operation: 74+79=153, Resulting Numbers: [82, 153] Generated Node #0,1,1: 80:[82, 153] Operation: 74+79=153 Exploring Operation: 82-79=3, Resulting Numbers: [74, 3] Generated Node #0,1,2: 80:[74, 3] Operation: 82-79=3 Exploring Operation: 82-74=8, Resulting Numbers: [79, 8] Generated Node #0,1,3: 80:[79, 8] Operation: 82-74=8 Moving to Node #0,0 Current State: 80:[14, 93, 8], Operations: ['82-74=8'] Exploring Operation: 14-8=6, Resulting Numbers: [93, 6] Generated Node #0,0,0: 80:[93, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [93, 22] Generated Node #0,0,1: 80:[93, 22] Operation: 14+8=22 Exploring Operation: 93-8=85, Resulting Numbers: [14, 85] Generated Node #0,0,2: 80:[14, 85] Operation: 93-8=85 Exploring Operation: 93-14=79, Resulting Numbers: [8, 79] Generated Node #0,0,3: 80:[8, 79] Operation: 93-14=79 Moving to Node #0,1,3 Current State: 80:[79, 8], Operations: ['93-14=79', '82-74=8'] Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 79*8=632, Resulting Numbers: [632] 632,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[8, 79], Operations: ['82-74=8', '93-14=79'] Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 8*79=632, Resulting Numbers: [632] 632,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[82, 5], Operations: ['93-14=79', '79-74=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[82, 5], Operations: ['93-74=19', '19-14=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,80 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[74, 3], Operations: ['93-14=79', '82-79=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,80 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[14, 85], Operations: ['82-74=8', '93-8=85'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[82, 33], Operations: ['93-74=19', '14+19=33'] Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,80 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[19, 68], Operations: ['93-74=19', '82-14=68'] Exploring Operation: 19*68=1292, Resulting Numbers: [1292] 1292,80 unequal: No Solution Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[93, 6], Operations: ['82-74=8', '14-8=6'] Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,80 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[93, 22], Operations: ['82-74=8', '14+8=22'] Exploring Operation: 93*22=2046, Resulting Numbers: [2046] 2046,80 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 93+22=115, Resulting Numbers: [115] 115,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[19, 96], Operations: ['93-74=19', '14+82=96'] Exploring Operation: 19*96=1824, Resulting Numbers: [1824] 1824,80 unequal: No Solution Exploring Operation: 19+96=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[82, 153], Operations: ['93-14=79', '74+79=153'] Exploring Operation: 82*153=12546, Resulting Numbers: [12546] 12546,80 unequal: No Solution Exploring Operation: 82+153=235, Resulting Numbers: [235] 235,80 unequal: No Solution Exploring Operation: 153-82=71, Resulting Numbers: [71] 71,80 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 61, 69, 11, 49 ]
39
[ "69-61=8", "11*8=88", "88-49=39" ]
Current State: 39:[61, 69, 11, 49], Operations: [] Exploring Operation: 69-61=8, Resulting Numbers: [11, 49, 8] Generated Node #2: [11, 49, 8] from Operation: 69-61=8 Current State: 39:[11, 49, 8], Operations: ['69-61=8'] Exploring Operation: 11*8=88, Resulting Numbers: [49, 88] Generated Node #3: [49, 88] from Operation: 11*8=88 Current State: 39:[49, 88], Operations: ['69-61=8', '11*8=88'] Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[61, 69, 11, 49], Operations: [] Exploring Operation: 69-61=8, Resulting Numbers: [11, 49, 8] Generated Node #0,0: 39:[11, 49, 8] Operation: 69-61=8 Exploring Operation: 69-49=20, Resulting Numbers: [61, 11, 20] Generated Node #0,1: 39:[61, 11, 20] Operation: 69-49=20 Exploring Operation: 69-11=58, Resulting Numbers: [61, 49, 58] Generated Node #0,2: 39:[61, 49, 58] Operation: 69-11=58 Exploring Operation: 61-49=12, Resulting Numbers: [69, 11, 12] Generated Node #0,3: 39:[69, 11, 12] Operation: 61-49=12 Exploring Operation: 61-11=50, Resulting Numbers: [69, 49, 50] Generated Node #0,4: 39:[69, 49, 50] Operation: 61-11=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[11, 49, 8], Operations: ['69-61=8'] Exploring Operation: 11-8=3, Resulting Numbers: [49, 3] Generated Node #0,0,0: 39:[49, 3] Operation: 11-8=3 Exploring Operation: 11+8=19, Resulting Numbers: [49, 19] Generated Node #0,0,1: 39:[49, 19] Operation: 11+8=19 Exploring Operation: 49-11=38, Resulting Numbers: [8, 38] Generated Node #0,0,2: 39:[8, 38] Operation: 49-11=38 Exploring Operation: 49-8=41, Resulting Numbers: [11, 41] Generated Node #0,0,3: 39:[11, 41] Operation: 49-8=41 Exploring Operation: 49+8=57, Resulting Numbers: [11, 57] Generated Node #0,0,4: 39:[11, 57] Operation: 49+8=57 Moving to Node #0,0,3 Current State: 39:[11, 41], Operations: ['69-61=8', '49-8=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[8, 38], Operations: ['69-61=8', '49-11=38'] Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,39 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[49, 3], Operations: ['69-61=8', '11-8=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[49, 19], Operations: ['69-61=8', '11+8=19'] Exploring Operation: 49*19=931, Resulting Numbers: [931] 931,39 unequal: No Solution Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,0,4 Current State: 39:[11, 57], Operations: ['69-61=8', '49+8=57'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 11*57=627, Resulting Numbers: [627] 627,39 unequal: No Solution Exploring Operation: 11+57=68, Resulting Numbers: [68] 68,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:[61, 11, 20], Operations: ['69-49=20'] Exploring Operation: 61+11=72, Resulting Numbers: [20, 72] Generated Node #0,1,0: 39:[20, 72] Operation: 61+11=72 Exploring Operation: 20-11=9, Resulting Numbers: [61, 9] Generated Node #0,1,1: 39:[61, 9] Operation: 20-11=9 Exploring Operation: 11+20=31, Resulting Numbers: [61, 31] Generated Node #0,1,2: 39:[61, 31] Operation: 11+20=31 Exploring Operation: 61-11=50, Resulting Numbers: [20, 50] Generated Node #0,1,3: 39:[20, 50] Operation: 61-11=50 Exploring Operation: 61-20=41, Resulting Numbers: [11, 41] Generated Node #0,1,4: 39:[11, 41] Operation: 61-20=41 Moving to Node #0,1,4 Current State: 39:[11, 41], Operations: ['69-49=20', '61-20=41'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,39 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[20, 50], Operations: ['69-49=20', '61-11=50'] Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,39 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[61, 9], Operations: ['69-49=20', '20-11=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,39 unequal: No Solution Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[61, 31], Operations: ['69-49=20', '11+20=31'] Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,39 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,39 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[20, 72], Operations: ['69-49=20', '61+11=72'] Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,39 unequal: No Solution Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,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,3 Current State: 39:[69, 11, 12], Operations: ['61-49=12'] Exploring Operation: 12-11=1, Resulting Numbers: [69, 1] Generated Node #0,3,0: 39:[69, 1] Operation: 12-11=1 Exploring Operation: 69-12=57, Resulting Numbers: [11, 57] Generated Node #0,3,1: 39:[11, 57] Operation: 69-12=57 Exploring Operation: 11+12=23, Resulting Numbers: [69, 23] Generated Node #0,3,2: 39:[69, 23] Operation: 11+12=23 Exploring Operation: 69-11=58, Resulting Numbers: [12, 58] Generated Node #0,3,3: 39:[12, 58] Operation: 69-11=58 Exploring Operation: 69+11=80, Resulting Numbers: [12, 80] Generated Node #0,3,4: 39:[12, 80] Operation: 69+11=80 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 39:[11, 57], Operations: ['61-49=12', '69-12=57'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 11+57=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 11*57=627, Resulting Numbers: [627] 627,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,3,3 Current State: 39:[12, 58], Operations: ['61-49=12', '69-11=58'] Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,39 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,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,3,0 Current State: 39:[69, 1], Operations: ['61-49=12', '12-11=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,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,3,2 Current State: 39:[69, 23], Operations: ['61-49=12', '11+12=23'] Exploring Operation: 69*23=1587, Resulting Numbers: [1587] 1587,39 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,39 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,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,3,4 Current State: 39:[12, 80], Operations: ['61-49=12', '69+11=80'] Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,39 unequal: No Solution Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,39 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[61, 49, 58], Operations: ['69-11=58'] Exploring Operation: 61-49=12, Resulting Numbers: [58, 12] Generated Node #0,2,0: 39:[58, 12] Operation: 61-49=12 Exploring Operation: 61-58=3, Resulting Numbers: [49, 3] Generated Node #0,2,1: 39:[49, 3] Operation: 61-58=3 Exploring Operation: 58-49=9, Resulting Numbers: [61, 9] Generated Node #0,2,2: 39:[61, 9] Operation: 58-49=9 Exploring Operation: 61+49=110, Resulting Numbers: [58, 110] Generated Node #0,2,3: 39:[58, 110] Operation: 61+49=110 Exploring Operation: 61+58=119, Resulting Numbers: [49, 119] Generated Node #0,2,4: 39:[49, 119] Operation: 61+58=119 Moving to Node #0,2,1 Current State: 39:[49, 3], Operations: ['69-11=58', '61-58=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[58, 12], Operations: ['69-11=58', '61-49=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[61, 9], Operations: ['69-11=58', '58-49=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[58, 110], Operations: ['69-11=58', '61+49=110'] Exploring Operation: 58*110=6380, Resulting Numbers: [6380] 6380,39 unequal: No Solution Exploring Operation: 110-58=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 58+110=168, Resulting Numbers: [168] 168,39 unequal: No Solution Moving to Node #0,2,4 Current State: 39:[49, 119], Operations: ['69-11=58', '61+58=119'] Exploring Operation: 49+119=168, Resulting Numbers: [168] 168,39 unequal: No Solution Exploring Operation: 49*119=5831, Resulting Numbers: [5831] 5831,39 unequal: No Solution Exploring Operation: 119-49=70, Resulting Numbers: [70] 70,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,4 Current State: 39:[69, 49, 50], Operations: ['61-11=50'] Exploring Operation: 69-49=20, Resulting Numbers: [50, 20] Generated Node #0,4,0: 39:[50, 20] Operation: 69-49=20 Exploring Operation: 69+50=119, Resulting Numbers: [49, 119] Generated Node #0,4,1: 39:[49, 119] Operation: 69+50=119 Exploring Operation: 50-49=1, Resulting Numbers: [69, 1] Generated Node #0,4,2: 39:[69, 1] Operation: 50-49=1 Exploring Operation: 69+49=118, Resulting Numbers: [50, 118] Generated Node #0,4,3: 39:[50, 118] Operation: 69+49=118 Exploring Operation: 69-50=19, Resulting Numbers: [49, 19] Generated Node #0,4,4: 39:[49, 19] Operation: 69-50=19 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 39:[49, 19], Operations: ['61-11=50', '69-50=19'] Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 49*19=931, Resulting Numbers: [931] 931,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,4,0 Current State: 39:[50, 20], Operations: ['61-11=50', '69-49=20'] Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,39 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,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,4,2 Current State: 39:[69, 1], Operations: ['61-11=50', '50-49=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,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,4,1 Current State: 39:[49, 119], Operations: ['61-11=50', '69+50=119'] Exploring Operation: 49*119=5831, Resulting Numbers: [5831] 5831,39 unequal: No Solution Exploring Operation: 119-49=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 49+119=168, Resulting Numbers: [168] 168,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,4,3 Current State: 39:[50, 118], Operations: ['61-11=50', '69+49=118'] Exploring Operation: 50+118=168, Resulting Numbers: [168] 168,39 unequal: No Solution Exploring Operation: 118-50=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 50*118=5900, Resulting Numbers: [5900] 5900,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_5
mult_heuristic
[ 7, 23, 94, 22 ]
88
[ "23-7=16", "94-22=72", "16+72=88" ]
Current State: 88:[7, 23, 94, 22], Operations: [] Exploring Operation: 23-7=16, Resulting Numbers: [94, 22, 16] Generated Node #2: [94, 22, 16] from Operation: 23-7=16 Current State: 88:[94, 22, 16], Operations: ['23-7=16'] Exploring Operation: 94-22=72, Resulting Numbers: [16, 72] Generated Node #3: [16, 72] from Operation: 94-22=72 Current State: 88:[16, 72], Operations: ['23-7=16', '94-22=72'] Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[7, 23, 94, 22], Operations: [] Exploring Operation: 23-7=16, Resulting Numbers: [94, 22, 16] Generated Node #0,0: 88:[94, 22, 16] Operation: 23-7=16 Exploring Operation: 23+22=45, Resulting Numbers: [7, 94, 45] Generated Node #0,1: 88:[7, 94, 45] Operation: 23+22=45 Exploring Operation: 94-7=87, Resulting Numbers: [23, 22, 87] Generated Node #0,2: 88:[23, 22, 87] Operation: 94-7=87 Exploring Operation: 23-22=1, Resulting Numbers: [7, 94, 1] Generated Node #0,3: 88:[7, 94, 1] Operation: 23-22=1 Moving to Node #0,2 Current State: 88:[23, 22, 87], Operations: ['94-7=87'] Exploring Operation: 23+22=45, Resulting Numbers: [87, 45] Generated Node #0,2,0: 88:[87, 45] Operation: 23+22=45 Exploring Operation: 87-23=64, Resulting Numbers: [22, 64] Generated Node #0,2,1: 88:[22, 64] Operation: 87-23=64 Exploring Operation: 23-22=1, Resulting Numbers: [87, 1] Generated Node #0,2,2: 88:[87, 1] Operation: 23-22=1 Exploring Operation: 23+87=110, Resulting Numbers: [22, 110] Generated Node #0,2,3: 88:[22, 110] Operation: 23+87=110 Moving to Node #0,3 Current State: 88:[7, 94, 1], Operations: ['23-22=1'] Exploring Operation: 94-7=87, Resulting Numbers: [1, 87] Generated Node #0,3,0: 88:[1, 87] Operation: 94-7=87 Exploring Operation: 7+1=8, Resulting Numbers: [94, 8] Generated Node #0,3,1: 88:[94, 8] Operation: 7+1=8 Exploring Operation: 94-1=93, Resulting Numbers: [7, 93] Generated Node #0,3,2: 88:[7, 93] Operation: 94-1=93 Exploring Operation: 7*1=7, Resulting Numbers: [94, 7] Generated Node #0,3,3: 88:[94, 7] Operation: 7*1=7 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[1, 87], Operations: ['23-22=1', '94-7=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[7, 23, 94, 22], Operations: [] Exploring Operation: 23-22=1, Resulting Numbers: [7, 94, 1] Generated Node #0,3: 88:[7, 94, 1] Operation: 23-22=1 Moving to Node #0,3 Current State: 88:[7, 94, 1], Operations: ['23-22=1'] Exploring Operation: 94-7=87, Resulting Numbers: [1, 87] Generated Node #0,3,0: 88:[1, 87] Operation: 94-7=87 Moving to Node #0,3,0 Current State: 88:[1, 87], Operations: ['23-22=1', '94-7=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 11, 26, 57, 17 ]
30
[ "11+57=68", "68/17=4", "26+4=30" ]
Current State: 30:[11, 26, 57, 17], Operations: [] Exploring Operation: 11+57=68, Resulting Numbers: [26, 17, 68] Generated Node #2: [26, 17, 68] from Operation: 11+57=68 Current State: 30:[26, 17, 68], Operations: ['11+57=68'] Exploring Operation: 68/17=4, Resulting Numbers: [26, 4] Generated Node #3: [26, 4] from Operation: 68/17=4 Current State: 30:[26, 4], Operations: ['11+57=68', '68/17=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[11, 26, 57, 17], Operations: [] Exploring Operation: 57-26=31, Resulting Numbers: [11, 17, 31] Generated Node #0,0: 30:[11, 17, 31] Operation: 57-26=31 Exploring Operation: 26-17=9, Resulting Numbers: [11, 57, 9] Generated Node #0,1: 30:[11, 57, 9] Operation: 26-17=9 Exploring Operation: 26-11=15, Resulting Numbers: [57, 17, 15] Generated Node #0,2: 30:[57, 17, 15] Operation: 26-11=15 Exploring Operation: 57-11=46, Resulting Numbers: [26, 17, 46] Generated Node #0,3: 30:[26, 17, 46] Operation: 57-11=46 Exploring Operation: 57-17=40, Resulting Numbers: [11, 26, 40] Generated Node #0,4: 30:[11, 26, 40] Operation: 57-17=40 Moving to Node #0,0 Current State: 30:[11, 17, 31], Operations: ['57-26=31'] Exploring Operation: 31-17=14, Resulting Numbers: [11, 14] Generated Node #0,0,0: 30:[11, 14] Operation: 31-17=14 Exploring Operation: 11+31=42, Resulting Numbers: [17, 42] Generated Node #0,0,1: 30:[17, 42] Operation: 11+31=42 Exploring Operation: 11+17=28, Resulting Numbers: [31, 28] Generated Node #0,0,2: 30:[31, 28] Operation: 11+17=28 Exploring Operation: 31-11=20, Resulting Numbers: [17, 20] Generated Node #0,0,3: 30:[17, 20] Operation: 31-11=20 Exploring Operation: 17-11=6, Resulting Numbers: [31, 6] Generated Node #0,0,4: 30:[31, 6] Operation: 17-11=6 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 30:[31, 6], Operations: ['57-26=31', '17-11=6'] Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,30 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,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:[11, 14], Operations: ['57-26=31', '31-17=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,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:[31, 28], Operations: ['57-26=31', '11+17=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,30 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,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,3 Current State: 30:[17, 20], Operations: ['57-26=31', '31-11=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,30 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[17, 42], Operations: ['57-26=31', '11+31=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,30 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,30 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: 30:[11, 26, 40], Operations: ['57-17=40'] Exploring Operation: 40-11=29, Resulting Numbers: [26, 29] Generated Node #0,4,0: 30:[26, 29] Operation: 40-11=29 Exploring Operation: 11+40=51, Resulting Numbers: [26, 51] Generated Node #0,4,1: 30:[26, 51] Operation: 11+40=51 Exploring Operation: 40-26=14, Resulting Numbers: [11, 14] Generated Node #0,4,2: 30:[11, 14] Operation: 40-26=14 Exploring Operation: 11+26=37, Resulting Numbers: [40, 37] Generated Node #0,4,3: 30:[40, 37] Operation: 11+26=37 Exploring Operation: 26-11=15, Resulting Numbers: [40, 15] Generated Node #0,4,4: 30:[40, 15] Operation: 26-11=15 Moving to Node #0,3 Current State: 30:[26, 17, 46], Operations: ['57-11=46'] Exploring Operation: 46-26=20, Resulting Numbers: [17, 20] Generated Node #0,3,0: 30:[17, 20] Operation: 46-26=20 Exploring Operation: 26+17=43, Resulting Numbers: [46, 43] Generated Node #0,3,1: 30:[46, 43] Operation: 26+17=43 Exploring Operation: 17+46=63, Resulting Numbers: [26, 63] Generated Node #0,3,2: 30:[26, 63] Operation: 17+46=63 Exploring Operation: 26-17=9, Resulting Numbers: [46, 9] Generated Node #0,3,3: 30:[46, 9] Operation: 26-17=9 Exploring Operation: 46-17=29, Resulting Numbers: [26, 29] Generated Node #0,3,4: 30:[26, 29] Operation: 46-17=29 Moving to Node #0,1 Current State: 30:[11, 57, 9], Operations: ['26-17=9'] Exploring Operation: 57+9=66, Resulting Numbers: [11, 66] Generated Node #0,1,0: 30:[11, 66] Operation: 57+9=66 Exploring Operation: 11-9=2, Resulting Numbers: [57, 2] Generated Node #0,1,1: 30:[57, 2] Operation: 11-9=2 Exploring Operation: 11+9=20, Resulting Numbers: [57, 20] Generated Node #0,1,2: 30:[57, 20] Operation: 11+9=20 Exploring Operation: 57-9=48, Resulting Numbers: [11, 48] Generated Node #0,1,3: 30:[11, 48] Operation: 57-9=48 Exploring Operation: 57-11=46, Resulting Numbers: [9, 46] Generated Node #0,1,4: 30:[9, 46] Operation: 57-11=46 Moving to Node #0,2 Current State: 30:[57, 17, 15], Operations: ['26-11=15'] Exploring Operation: 57-17=40, Resulting Numbers: [15, 40] Generated Node #0,2,0: 30:[15, 40] Operation: 57-17=40 Exploring Operation: 57-15=42, Resulting Numbers: [17, 42] Generated Node #0,2,1: 30:[17, 42] Operation: 57-15=42 Exploring Operation: 17-15=2, Resulting Numbers: [57, 2] Generated Node #0,2,2: 30:[57, 2] Operation: 17-15=2 Exploring Operation: 17+15=32, Resulting Numbers: [57, 32] Generated Node #0,2,3: 30:[57, 32] Operation: 17+15=32 Exploring Operation: 57+17=74, Resulting Numbers: [15, 74] Generated Node #0,2,4: 30:[15, 74] Operation: 57+17=74 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[15, 40], Operations: ['26-11=15', '57-17=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,30 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,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,2,1 Current State: 30:[17, 42], Operations: ['26-11=15', '57-15=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,30 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,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,2,2 Current State: 30:[57, 2], Operations: ['26-11=15', '17-15=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,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,2,3 Current State: 30:[57, 32], Operations: ['26-11=15', '17+15=32'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,30 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,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,2,4 Current State: 30:[15, 74], Operations: ['26-11=15', '57+17=74'] Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,30 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 30:[11, 14], Operations: ['57-17=40', '40-26=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,30 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[26, 29], Operations: ['57-11=46', '46-17=29'] Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,30 unequal: No Solution Moving to Node #0,4,0 Current State: 30:[26, 29], Operations: ['57-17=40', '40-11=29'] Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[17, 20], Operations: ['57-11=46', '46-26=20'] Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,30 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,4,4 Current State: 30:[40, 15], Operations: ['57-17=40', '26-11=15'] Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,30 unequal: No Solution Moving to Node #0,1,4 Current State: 30:[9, 46], Operations: ['26-17=9', '57-11=46'] Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,30 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,30 unequal: No Solution Moving to Node #0,4,3 Current State: 30:[40, 37], Operations: ['57-17=40', '11+26=37'] Exploring Operation: 40+37=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 40*37=1480, Resulting Numbers: [1480] 1480,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[46, 9], Operations: ['57-11=46', '26-17=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,30 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[11, 48], Operations: ['26-17=9', '57-9=48'] Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,30 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[26, 51], Operations: ['57-17=40', '11+40=51'] Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[57, 2], Operations: ['26-17=9', '11-9=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,30 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[46, 43], Operations: ['57-11=46', '26+17=43'] Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,30 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[57, 20], Operations: ['26-17=9', '11+9=20'] Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[26, 63], Operations: ['57-11=46', '17+46=63'] Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,30 unequal: No Solution Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[11, 66], Operations: ['26-17=9', '57+9=66'] Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 11*66=726, Resulting Numbers: [726] 726,30 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,30 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 66, 5, 31, 69 ]
99
[ "66-5=61", "69-31=38", "61+38=99" ]
Current State: 99:[66, 5, 31, 69], Operations: [] Exploring Operation: 66-5=61, Resulting Numbers: [31, 69, 61] Generated Node #2: [31, 69, 61] from Operation: 66-5=61 Current State: 99:[31, 69, 61], Operations: ['66-5=61'] Exploring Operation: 69-31=38, Resulting Numbers: [61, 38] Generated Node #3: [61, 38] from Operation: 69-31=38 Current State: 99:[61, 38], Operations: ['66-5=61', '69-31=38'] Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[66, 5, 31, 69], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [5, 31, 3] Generated Node #0,0: 99:[5, 31, 3] Operation: 69-66=3 Moving to Node #0,0 Current State: 99:[5, 31, 3], Operations: ['69-66=3'] Exploring Operation: 5+31=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 99:[3, 36] Operation: 5+31=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[3, 36], Operations: ['69-66=3', '5+31=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 84, 44, 5, 66 ]
74
[ "84-44=40", "40/5=8", "66+8=74" ]
Current State: 74:[84, 44, 5, 66], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [5, 66, 40] Generated Node #2: [5, 66, 40] from Operation: 84-44=40 Current State: 74:[5, 66, 40], Operations: ['84-44=40'] Exploring Operation: 40/5=8, Resulting Numbers: [66, 8] Generated Node #3: [66, 8] from Operation: 40/5=8 Current State: 74:[66, 8], Operations: ['84-44=40', '40/5=8'] Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[84, 44, 5, 66], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [5, 66, 40] Generated Node #0,0: 74:[5, 66, 40] Operation: 84-44=40 Exploring Operation: 84-5=79, Resulting Numbers: [44, 66, 79] Generated Node #0,1: 74:[44, 66, 79] Operation: 84-5=79 Exploring Operation: 44-5=39, Resulting Numbers: [84, 66, 39] Generated Node #0,2: 74:[84, 66, 39] Operation: 44-5=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[5, 66, 40], Operations: ['84-44=40'] Exploring Operation: 40-5=35, Resulting Numbers: [66, 35] Generated Node #0,0,0: 74:[66, 35] Operation: 40-5=35 Exploring Operation: 5+66=71, Resulting Numbers: [40, 71] Generated Node #0,0,1: 74:[40, 71] Operation: 5+66=71 Exploring Operation: 40/5=8, Resulting Numbers: [66, 8] Generated Node #0,0,2: 74:[66, 8] Operation: 40/5=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[40, 71], Operations: ['84-44=40', '5+66=71'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,74 unequal: No Solution Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,74 unequal: No Solution No 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: 74:[66, 35], Operations: ['84-44=40', '40-5=35'] Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,74 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,74 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,74 unequal: No Solution No 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: 74:[66, 8], Operations: ['84-44=40', '40/5=8'] Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,74 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[84, 44, 5, 66], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [5, 66, 40] Generated Node #0,0: 74:[5, 66, 40] Operation: 84-44=40 Moving to Node #0,0 Current State: 74:[5, 66, 40], Operations: ['84-44=40'] Exploring Operation: 40/5=8, Resulting Numbers: [66, 8] Generated Node #0,0,2: 74:[66, 8] Operation: 40/5=8 Moving to Node #0,0,2 Current State: 74:[66, 8], Operations: ['84-44=40', '40/5=8'] Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 66, 44, 62, 46 ]
58
[ "46-44=2", "62*2=124", "124-66=58" ]
Current State: 58:[66, 44, 62, 46], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [66, 62, 2] Generated Node #2: [66, 62, 2] from Operation: 46-44=2 Current State: 58:[66, 62, 2], Operations: ['46-44=2'] Exploring Operation: 62*2=124, Resulting Numbers: [66, 124] Generated Node #3: [66, 124] from Operation: 62*2=124 Current State: 58:[66, 124], Operations: ['46-44=2', '62*2=124'] Exploring Operation: 124-66=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[66, 44, 62, 46], Operations: [] Exploring Operation: 66-46=20, Resulting Numbers: [44, 62, 20] Generated Node #0,0: 58:[44, 62, 20] Operation: 66-46=20 Exploring Operation: 66-44=22, Resulting Numbers: [62, 46, 22] Generated Node #0,1: 58:[62, 46, 22] Operation: 66-44=22 Exploring Operation: 62-44=18, Resulting Numbers: [66, 46, 18] Generated Node #0,2: 58:[66, 46, 18] Operation: 62-44=18 Exploring Operation: 46-44=2, Resulting Numbers: [66, 62, 2] Generated Node #0,3: 58:[66, 62, 2] Operation: 46-44=2 Exploring Operation: 66-62=4, Resulting Numbers: [44, 46, 4] Generated Node #0,4: 58:[44, 46, 4] Operation: 66-62=4 Moving to Node #0,3 Current State: 58:[66, 62, 2], Operations: ['46-44=2'] Exploring Operation: 62/2=31, Resulting Numbers: [66, 31] Generated Node #0,3,0: 58:[66, 31] Operation: 62/2=31 Exploring Operation: 66-62=4, Resulting Numbers: [2, 4] Generated Node #0,3,1: 58:[2, 4] Operation: 66-62=4 Exploring Operation: 66-2=64, Resulting Numbers: [62, 64] Generated Node #0,3,2: 58:[62, 64] Operation: 66-2=64 Exploring Operation: 62-2=60, Resulting Numbers: [66, 60] Generated Node #0,3,3: 58:[66, 60] Operation: 62-2=60 Exploring Operation: 66/2=33, Resulting Numbers: [62, 33] Generated Node #0,3,4: 58:[62, 33] Operation: 66/2=33 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[2, 4], Operations: ['46-44=2', '66-62=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 58:[62, 33], Operations: ['46-44=2', '66/2=33'] Exploring Operation: 62*33=2046, Resulting Numbers: [2046] 2046,58 unequal: No Solution Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[66, 31], Operations: ['46-44=2', '62/2=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,58 unequal: No Solution Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[62, 64], Operations: ['46-44=2', '66-2=64'] Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 62*64=3968, Resulting Numbers: [3968] 3968,58 unequal: No Solution Exploring Operation: 62+64=126, Resulting Numbers: [126] 126,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[66, 60], Operations: ['46-44=2', '62-2=60'] Exploring Operation: 66+60=126, Resulting Numbers: [126] 126,58 unequal: No Solution Exploring Operation: 66*60=3960, Resulting Numbers: [3960] 3960,58 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 58:[62, 46, 22], Operations: ['66-44=22'] Exploring Operation: 62-22=40, Resulting Numbers: [46, 40] Generated Node #0,1,0: 58:[46, 40] Operation: 62-22=40 Exploring Operation: 62+22=84, Resulting Numbers: [46, 84] Generated Node #0,1,1: 58:[46, 84] Operation: 62+22=84 Exploring Operation: 62-46=16, Resulting Numbers: [22, 16] Generated Node #0,1,2: 58:[22, 16] Operation: 62-46=16 Exploring Operation: 46+22=68, Resulting Numbers: [62, 68] Generated Node #0,1,3: 58:[62, 68] Operation: 46+22=68 Exploring Operation: 46-22=24, Resulting Numbers: [62, 24] Generated Node #0,1,4: 58:[62, 24] Operation: 46-22=24 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 58:[62, 24], Operations: ['66-44=22', '46-22=24'] Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 62*24=1488, Resulting Numbers: [1488] 1488,58 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 58:[62, 68], Operations: ['66-44=22', '46+22=68'] Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 62+68=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 62*68=4216, Resulting Numbers: [4216] 4216,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[22, 16], Operations: ['66-44=22', '62-46=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[46, 40], Operations: ['66-44=22', '62-22=40'] Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[46, 84], Operations: ['66-44=22', '62+22=84'] Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,58 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,58 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: 58:[44, 62, 20], Operations: ['66-46=20'] Exploring Operation: 62-44=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 58:[20, 18] Operation: 62-44=18 Exploring Operation: 62+20=82, Resulting Numbers: [44, 82] Generated Node #0,0,1: 58:[44, 82] Operation: 62+20=82 Exploring Operation: 44+20=64, Resulting Numbers: [62, 64] Generated Node #0,0,2: 58:[62, 64] Operation: 44+20=64 Exploring Operation: 44-20=24, Resulting Numbers: [62, 24] Generated Node #0,0,3: 58:[62, 24] Operation: 44-20=24 Exploring Operation: 62-20=42, Resulting Numbers: [44, 42] Generated Node #0,0,4: 58:[44, 42] Operation: 62-20=42 Moving to Node #0,4 Current State: 58:[44, 46, 4], Operations: ['66-62=4'] Exploring Operation: 46-44=2, Resulting Numbers: [4, 2] Generated Node #0,4,0: 58:[4, 2] Operation: 46-44=2 Exploring Operation: 44-4=40, Resulting Numbers: [46, 40] Generated Node #0,4,1: 58:[46, 40] Operation: 44-4=40 Exploring Operation: 44+4=48, Resulting Numbers: [46, 48] Generated Node #0,4,2: 58:[46, 48] Operation: 44+4=48 Exploring Operation: 46+4=50, Resulting Numbers: [44, 50] Generated Node #0,4,3: 58:[44, 50] Operation: 46+4=50 Exploring Operation: 44/4=11, Resulting Numbers: [46, 11] Generated Node #0,4,4: 58:[46, 11] Operation: 44/4=11 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 58:[4, 2], Operations: ['66-62=4', '46-44=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 58:[46, 11], Operations: ['66-62=4', '44/4=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 58:[46, 48], Operations: ['66-62=4', '44+4=48'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 58:[44, 50], Operations: ['66-62=4', '46+4=50'] Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 58:[46, 40], Operations: ['66-62=4', '44-4=40'] Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,58 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: 58:[66, 46, 18], Operations: ['62-44=18'] Exploring Operation: 46+18=64, Resulting Numbers: [66, 64] Generated Node #0,2,0: 58:[66, 64] Operation: 46+18=64 Exploring Operation: 46-18=28, Resulting Numbers: [66, 28] Generated Node #0,2,1: 58:[66, 28] Operation: 46-18=28 Exploring Operation: 66+18=84, Resulting Numbers: [46, 84] Generated Node #0,2,2: 58:[46, 84] Operation: 66+18=84 Exploring Operation: 66-46=20, Resulting Numbers: [18, 20] Generated Node #0,2,3: 58:[18, 20] Operation: 66-46=20 Exploring Operation: 66-18=48, Resulting Numbers: [46, 48] Generated Node #0,2,4: 58:[46, 48] Operation: 66-18=48 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[66, 28], Operations: ['62-44=18', '46-18=28'] Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[66, 64], Operations: ['62-44=18', '46+18=64'] Exploring Operation: 66*64=4224, Resulting Numbers: [4224] 4224,58 unequal: No Solution Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[18, 20], Operations: ['62-44=18', '66-46=20'] Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,58 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 58:[46, 48], Operations: ['62-44=18', '66-18=48'] Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,58 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[46, 84], Operations: ['62-44=18', '66+18=84'] Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,58 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 58:[62, 24], Operations: ['66-46=20', '44-20=24'] Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 62*24=1488, Resulting Numbers: [1488] 1488,58 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[62, 64], Operations: ['66-46=20', '44+20=64'] Exploring Operation: 62+64=126, Resulting Numbers: [126] 126,58 unequal: No Solution Exploring Operation: 62*64=3968, Resulting Numbers: [3968] 3968,58 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[20, 18], Operations: ['66-46=20', '62-44=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,58 unequal: No Solution Moving to Node #0,0,4 Current State: 58:[44, 42], Operations: ['66-46=20', '62-20=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[44, 82], Operations: ['66-46=20', '62+20=82'] Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 44*82=3608, Resulting Numbers: [3608] 3608,58 unequal: No Solution Exploring Operation: 44+82=126, Resulting Numbers: [126] 126,58 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 67, 66, 55, 36 ]
91
[ "67-66=1", "55+36=91", "1*91=91" ]
Current State: 91:[67, 66, 55, 36], Operations: [] Exploring Operation: 67-66=1, Resulting Numbers: [55, 36, 1] Generated Node #2: [55, 36, 1] from Operation: 67-66=1 Current State: 91:[55, 36, 1], Operations: ['67-66=1'] Exploring Operation: 55+36=91, Resulting Numbers: [1, 91] Generated Node #3: [1, 91] from Operation: 55+36=91 Current State: 91:[1, 91], Operations: ['67-66=1', '55+36=91'] Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[67, 66, 55, 36], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [66, 36, 12] Generated Node #0,0: 91:[66, 36, 12] Operation: 67-55=12 Moving to Node #0,0 Current State: 91:[66, 36, 12], Operations: ['67-55=12'] Exploring Operation: 66+36=102, Resulting Numbers: [12, 102] Generated Node #0,0,0: 91:[12, 102] Operation: 66+36=102 Moving to Node #0,0,0 Current State: 91:[12, 102], Operations: ['67-55=12', '66+36=102'] Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,91 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 70, 68, 82, 48 ]
89
[ "70-68=2", "82/2=41", "48+41=89" ]
Current State: 89:[70, 68, 82, 48], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [82, 48, 2] Generated Node #2: [82, 48, 2] from Operation: 70-68=2 Current State: 89:[82, 48, 2], Operations: ['70-68=2'] Exploring Operation: 82/2=41, Resulting Numbers: [48, 41] Generated Node #3: [48, 41] from Operation: 82/2=41 Current State: 89:[48, 41], Operations: ['70-68=2', '82/2=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[70, 68, 82, 48], Operations: [] Exploring Operation: 68+48=116, Resulting Numbers: [70, 82, 116] Generated Node #0,0: 89:[70, 82, 116] Operation: 68+48=116 Exploring Operation: 70+48=118, Resulting Numbers: [68, 82, 118] Generated Node #0,1: 89:[68, 82, 118] Operation: 70+48=118 Exploring Operation: 82+48=130, Resulting Numbers: [70, 68, 130] Generated Node #0,2: 89:[70, 68, 130] Operation: 82+48=130 Moving to Node #0,0 Current State: 89:[70, 82, 116], Operations: ['68+48=116'] Exploring Operation: 116-82=34, Resulting Numbers: [70, 34] Generated Node #0,0,0: 89:[70, 34] Operation: 116-82=34 Exploring Operation: 116-70=46, Resulting Numbers: [82, 46] Generated Node #0,0,1: 89:[82, 46] Operation: 116-70=46 Exploring Operation: 70+82=152, Resulting Numbers: [116, 152] Generated Node #0,0,2: 89:[116, 152] Operation: 70+82=152 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[82, 46], Operations: ['68+48=116', '116-70=46'] Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,89 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,89 unequal: No Solution Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[70, 34], Operations: ['68+48=116', '116-82=34'] Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,89 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[116, 152], Operations: ['68+48=116', '70+82=152'] Exploring Operation: 152-116=36, Resulting Numbers: [36] 36,89 unequal: No Solution Exploring Operation: 116+152=268, Resulting Numbers: [268] 268,89 unequal: No Solution Exploring Operation: 116*152=17632, Resulting Numbers: [17632] 17632,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[68, 82, 118], Operations: ['70+48=118'] Exploring Operation: 68+82=150, Resulting Numbers: [118, 150] Generated Node #0,1,0: 89:[118, 150] Operation: 68+82=150 Exploring Operation: 118-82=36, Resulting Numbers: [68, 36] Generated Node #0,1,1: 89:[68, 36] Operation: 118-82=36 Exploring Operation: 118-68=50, Resulting Numbers: [82, 50] Generated Node #0,1,2: 89:[82, 50] Operation: 118-68=50 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[82, 50], Operations: ['70+48=118', '118-68=50'] Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,89 unequal: No Solution Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,89 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[68, 36], Operations: ['70+48=118', '118-82=36'] Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,89 unequal: No Solution Exploring Operation: 68*36=2448, Resulting Numbers: [2448] 2448,89 unequal: No Solution Exploring Operation: 68+36=104, Resulting Numbers: [104] 104,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[118, 150], Operations: ['70+48=118', '68+82=150'] Exploring Operation: 118*150=17700, Resulting Numbers: [17700] 17700,89 unequal: No Solution Exploring Operation: 150-118=32, Resulting Numbers: [32] 32,89 unequal: No Solution Exploring Operation: 118+150=268, Resulting Numbers: [268] 268,89 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: 89:[70, 68, 130], Operations: ['82+48=130'] Exploring Operation: 130-70=60, Resulting Numbers: [68, 60] Generated Node #0,2,0: 89:[68, 60] Operation: 130-70=60 Exploring Operation: 130-68=62, Resulting Numbers: [70, 62] Generated Node #0,2,1: 89:[70, 62] Operation: 130-68=62 Exploring Operation: 70+68=138, Resulting Numbers: [130, 138] Generated Node #0,2,2: 89:[130, 138] Operation: 70+68=138 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[70, 62], Operations: ['82+48=130', '130-68=62'] Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,89 unequal: No Solution Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,89 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[68, 60], Operations: ['82+48=130', '130-70=60'] Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,89 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,89 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[130, 138], Operations: ['82+48=130', '70+68=138'] Exploring Operation: 130*138=17940, Resulting Numbers: [17940] 17940,89 unequal: No Solution Exploring Operation: 138-130=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 130+138=268, Resulting Numbers: [268] 268,89 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
[ 8, 43, 95, 43 ]
86
[ "95-8=87", "43/43=1", "87-1=86" ]
Current State: 86:[8, 43, 95, 43], Operations: [] Exploring Operation: 95-8=87, Resulting Numbers: [43, 43, 87] Generated Node #2: [43, 43, 87] from Operation: 95-8=87 Current State: 86:[43, 43, 87], Operations: ['95-8=87'] Exploring Operation: 43/43=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 43/43=1 Current State: 86:[87, 1], Operations: ['95-8=87', '43/43=1'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[8, 43, 95, 43], Operations: [] Exploring Operation: 95-8=87, Resulting Numbers: [43, 43, 87] Generated Node #0,0: 86:[43, 43, 87] Operation: 95-8=87 Exploring Operation: 95-43=52, Resulting Numbers: [8, 43, 52] Generated Node #0,1: 86:[8, 43, 52] Operation: 95-43=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[43, 43, 87], Operations: ['95-8=87'] Exploring Operation: 43+43=86, Resulting Numbers: [87, 86] Generated Node #0,0,0: 86:[87, 86] Operation: 43+43=86 Exploring Operation: 87-43=44, Resulting Numbers: [43, 44] Generated Node #0,0,1: 86:[43, 44] Operation: 87-43=44 Moving to Node #0,0,0 Current State: 86:[87, 86], Operations: ['95-8=87', '43+43=86'] Exploring Operation: 87+86=173, Resulting Numbers: [173] 173,86 unequal: No Solution Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[43, 44], Operations: ['95-8=87', '87-43=44'] Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,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 Current State: 86:[8, 43, 52], Operations: ['95-43=52'] Exploring Operation: 52-43=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 86:[8, 9] Operation: 52-43=9 Exploring Operation: 52-8=44, Resulting Numbers: [43, 44] Generated Node #0,1,1: 86:[43, 44] Operation: 52-8=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[43, 44], Operations: ['95-43=52', '52-8=44'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[8, 9], Operations: ['95-43=52', '52-43=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 13, 41, 62, 14 ]
48
[ "41-13=28", "62+14=76", "76-28=48" ]
Current State: 48:[13, 41, 62, 14], Operations: [] Exploring Operation: 41-13=28, Resulting Numbers: [62, 14, 28] Generated Node #2: [62, 14, 28] from Operation: 41-13=28 Current State: 48:[62, 14, 28], Operations: ['41-13=28'] Exploring Operation: 62+14=76, Resulting Numbers: [28, 76] Generated Node #3: [28, 76] from Operation: 62+14=76 Current State: 48:[28, 76], Operations: ['41-13=28', '62+14=76'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 41, 62, 14], Operations: [] Exploring Operation: 62-41=21, Resulting Numbers: [13, 14, 21] Generated Node #0,0: 48:[13, 14, 21] Operation: 62-41=21 Moving to Node #0,0 Current State: 48:[13, 14, 21], Operations: ['62-41=21'] Exploring Operation: 21-13=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 48:[14, 8] Operation: 21-13=8 Moving to Node #0,0,0 Current State: 48:[14, 8], Operations: ['62-41=21', '21-13=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 86, 74, 15, 88 ]
87
[ "86+74=160", "88-15=73", "160-73=87" ]
Current State: 87:[86, 74, 15, 88], Operations: [] Exploring Operation: 86+74=160, Resulting Numbers: [15, 88, 160] Generated Node #2: [15, 88, 160] from Operation: 86+74=160 Current State: 87:[15, 88, 160], Operations: ['86+74=160'] Exploring Operation: 88-15=73, Resulting Numbers: [160, 73] Generated Node #3: [160, 73] from Operation: 88-15=73 Current State: 87:[160, 73], Operations: ['86+74=160', '88-15=73'] Exploring Operation: 160-73=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[86, 74, 15, 88], Operations: [] Exploring Operation: 74+15=89, Resulting Numbers: [86, 88, 89] Generated Node #0,0: 87:[86, 88, 89] Operation: 74+15=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[86, 88, 89], Operations: ['74+15=89'] Exploring Operation: 89-86=3, Resulting Numbers: [88, 3] Generated Node #0,0,0: 87:[88, 3] Operation: 89-86=3 Moving to Node #0,0,0 Current State: 87:[88, 3], Operations: ['74+15=89', '89-86=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 78, 8, 76, 78 ]
94
[ "78-76=2", "8*2=16", "78+16=94" ]
Current State: 94:[78, 8, 76, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [8, 2] Generated Node #2: [8, 2] from Operation: 78-76=2 Current State: 94:[8, 2], Operations: ['78-76=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,94 equal: Goal Reached Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[78, 8, 76, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [8, 78, 2] Generated Node #0,0: 94:[8, 78, 2] Operation: 78-76=2 Exploring Operation: 78/78=1, Resulting Numbers: [8, 76, 1] Generated Node #0,1: 94:[8, 76, 1] Operation: 78/78=1 Exploring Operation: 78-76=2, Resulting Numbers: [78, 8, 2] Generated Node #0,2: 94:[78, 8, 2] Operation: 78-76=2 Exploring Operation: 78-78=0, Resulting Numbers: [8, 76, 0] Generated Node #0,3: 94:[8, 76, 0] Operation: 78-78=0 Moving to Node #0,0 Current State: 94:[8, 78, 2], Operations: ['78-76=2'] Exploring Operation: 8-2=6, Resulting Numbers: [78, 6] Generated Node #0,0,0: 94:[78, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [78, 4] Generated Node #0,0,1: 94:[78, 4] Operation: 8/2=4 Exploring Operation: 78/2=39, Resulting Numbers: [8, 39] Generated Node #0,0,2: 94:[8, 39] Operation: 78/2=39 Exploring Operation: 8+78=86, Resulting Numbers: [2, 86] Generated Node #0,0,3: 94:[2, 86] Operation: 8+78=86 Moving to Node #0,2 Current State: 94:[78, 8, 2], Operations: ['78-76=2'] Exploring Operation: 78/2=39, Resulting Numbers: [8, 39] Generated Node #0,2,0: 94:[8, 39] Operation: 78/2=39 Exploring Operation: 8/2=4, Resulting Numbers: [78, 4] Generated Node #0,2,1: 94:[78, 4] Operation: 8/2=4 Exploring Operation: 78+8=86, Resulting Numbers: [2, 86] Generated Node #0,2,2: 94:[2, 86] Operation: 78+8=86 Exploring Operation: 78+2=80, Resulting Numbers: [8, 80] Generated Node #0,2,3: 94:[8, 80] Operation: 78+2=80 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[2, 86], Operations: ['78-76=2', '78+8=86'] Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,94 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[8, 39], Operations: ['78-76=2', '78/2=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,94 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[78, 4], Operations: ['78-76=2', '8/2=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,94 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[8, 80], Operations: ['78-76=2', '78+2=80'] Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 8*80=640, Resulting Numbers: [640] 640,94 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[8, 76, 1], Operations: ['78/78=1'] Exploring Operation: 8+76=84, Resulting Numbers: [1, 84] Generated Node #0,1,0: 94:[1, 84] Operation: 8+76=84 Exploring Operation: 76-8=68, Resulting Numbers: [1, 68] Generated Node #0,1,1: 94:[1, 68] Operation: 76-8=68 Exploring Operation: 8-1=7, Resulting Numbers: [76, 7] Generated Node #0,1,2: 94:[76, 7] Operation: 8-1=7 Exploring Operation: 76+1=77, Resulting Numbers: [8, 77] Generated Node #0,1,3: 94:[8, 77] Operation: 76+1=77 Moving to Node #0,3 Current State: 94:[8, 76, 0], Operations: ['78-78=0'] Exploring Operation: 76-8=68, Resulting Numbers: [0, 68] Generated Node #0,3,0: 94:[0, 68] Operation: 76-8=68 Exploring Operation: 8*0=0, Resulting Numbers: [76, 0] Generated Node #0,3,1: 94:[76, 0] Operation: 8*0=0 Exploring Operation: 76*0=0, Resulting Numbers: [8, 0] Generated Node #0,3,2: 94:[8, 0] Operation: 76*0=0 Exploring Operation: 8+76=84, Resulting Numbers: [0, 84] Generated Node #0,3,3: 94:[0, 84] Operation: 8+76=84 Moving to Node #0,0,3 Current State: 94:[2, 86], Operations: ['78-76=2', '8+78=86'] Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,94 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[8, 0], Operations: ['78-78=0', '76*0=0'] Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[1, 84], Operations: ['78/78=1', '8+76=84'] Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,94 unequal: No Solution Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[0, 84], Operations: ['78-78=0', '8+76=84'] Exploring Operation: 0*84=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 0+84=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 84-0=84, Resulting Numbers: [84] 84,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[8, 39], Operations: ['78-76=2', '78/2=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[78, 4], Operations: ['78-76=2', '8/2=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[76, 0], Operations: ['78-78=0', '8*0=0'] Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,94 unequal: No Solution Exploring Operation: 76-0=76, Resulting Numbers: [76] 76,94 unequal: No Solution Exploring Operation: 76*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[78, 6], Operations: ['78-76=2', '8-2=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,94 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[1, 68], Operations: ['78/78=1', '76-8=68'] Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[8, 77], Operations: ['78/78=1', '76+1=77'] Exploring Operation: 8*77=616, Resulting Numbers: [616] 616,94 unequal: No Solution Exploring Operation: 8+77=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[0, 68], Operations: ['78-78=0', '76-8=68'] Exploring Operation: 0*68=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 0+68=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 68-0=68, Resulting Numbers: [68] 68,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[76, 7], Operations: ['78/78=1', '8-1=7'] Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,94 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,94 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,94 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 40, 1, 37, 32 ]
16
[ "40-1=39", "39-37=2", "32/2=16" ]
Current State: 16:[40, 1, 37, 32], Operations: [] Exploring Operation: 40-1=39, Resulting Numbers: [37, 32, 39] Generated Node #2: [37, 32, 39] from Operation: 40-1=39 Current State: 16:[37, 32, 39], Operations: ['40-1=39'] Exploring Operation: 39-37=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 39-37=2 Current State: 16:[32, 2], Operations: ['40-1=39', '39-37=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[40, 1, 37, 32], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [1, 32, 3] Generated Node #0,0: 16:[1, 32, 3] Operation: 40-37=3 Exploring Operation: 37-32=5, Resulting Numbers: [40, 1, 5] Generated Node #0,1: 16:[40, 1, 5] Operation: 37-32=5 Exploring Operation: 40-32=8, Resulting Numbers: [1, 37, 8] Generated Node #0,2: 16:[1, 37, 8] Operation: 40-32=8 Moving to Node #0,0 Current State: 16:[1, 32, 3], Operations: ['40-37=3'] Exploring Operation: 32-1=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 16:[3, 31] Operation: 32-1=31 Exploring Operation: 1+3=4, Resulting Numbers: [32, 4] Generated Node #0,0,1: 16:[32, 4] Operation: 1+3=4 Exploring Operation: 32-3=29, Resulting Numbers: [1, 29] Generated Node #0,0,2: 16:[1, 29] Operation: 32-3=29 Moving to Node #0,2 Current State: 16:[1, 37, 8], Operations: ['40-32=8'] Exploring Operation: 37-8=29, Resulting Numbers: [1, 29] Generated Node #0,2,0: 16:[1, 29] Operation: 37-8=29 Exploring Operation: 1*37=37, Resulting Numbers: [8, 37] Generated Node #0,2,1: 16:[8, 37] Operation: 1*37=37 Exploring Operation: 37-1=36, Resulting Numbers: [8, 36] Generated Node #0,2,2: 16:[8, 36] Operation: 37-1=36 Moving to Node #0,1 Current State: 16:[40, 1, 5], Operations: ['37-32=5'] Exploring Operation: 40-1=39, Resulting Numbers: [5, 39] Generated Node #0,1,0: 16:[5, 39] Operation: 40-1=39 Exploring Operation: 40-5=35, Resulting Numbers: [1, 35] Generated Node #0,1,1: 16:[1, 35] Operation: 40-5=35 Exploring Operation: 40/5=8, Resulting Numbers: [1, 8] Generated Node #0,1,2: 16:[1, 8] Operation: 40/5=8 Moving to Node #0,1,2 Current State: 16:[1, 8], Operations: ['37-32=5', '40/5=8'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[1, 29], Operations: ['40-37=3', '32-3=29'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[1, 29], Operations: ['40-32=8', '37-8=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[32, 4], Operations: ['40-37=3', '1+3=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[3, 31], Operations: ['40-37=3', '32-1=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[8, 36], Operations: ['40-32=8', '37-1=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,16 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[1, 35], Operations: ['37-32=5', '40-5=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[8, 37], Operations: ['40-32=8', '1*37=37'] Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,16 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[5, 39], Operations: ['37-32=5', '40-1=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,16 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,16 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 31, 58, 83, 81 ]
85
[ "83-81=2", "58*2=116", "116-31=85" ]
Current State: 85:[31, 58, 83, 81], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [31, 58, 2] Generated Node #2: [31, 58, 2] from Operation: 83-81=2 Current State: 85:[31, 58, 2], Operations: ['83-81=2'] Exploring Operation: 58*2=116, Resulting Numbers: [31, 116] Generated Node #3: [31, 116] from Operation: 58*2=116 Current State: 85:[31, 116], Operations: ['83-81=2', '58*2=116'] Exploring Operation: 116-31=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[31, 58, 83, 81], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [83, 81, 27] Generated Node #0,0: 85:[83, 81, 27] Operation: 58-31=27 Exploring Operation: 31+58=89, Resulting Numbers: [83, 81, 89] Generated Node #0,1: 85:[83, 81, 89] Operation: 31+58=89 Exploring Operation: 81-58=23, Resulting Numbers: [31, 83, 23] Generated Node #0,2: 85:[31, 83, 23] Operation: 81-58=23 Exploring Operation: 83-81=2, Resulting Numbers: [31, 58, 2] Generated Node #0,3: 85:[31, 58, 2] Operation: 83-81=2 Exploring Operation: 83-58=25, Resulting Numbers: [31, 81, 25] Generated Node #0,4: 85:[31, 81, 25] Operation: 83-58=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[83, 81, 89], Operations: ['31+58=89'] Exploring Operation: 89-81=8, Resulting Numbers: [83, 8] Generated Node #0,1,0: 85:[83, 8] Operation: 89-81=8 Exploring Operation: 83+81=164, Resulting Numbers: [89, 164] Generated Node #0,1,1: 85:[89, 164] Operation: 83+81=164 Exploring Operation: 89-83=6, Resulting Numbers: [81, 6] Generated Node #0,1,2: 85:[81, 6] Operation: 89-83=6 Exploring Operation: 81+89=170, Resulting Numbers: [83, 170] Generated Node #0,1,3: 85:[83, 170] Operation: 81+89=170 Exploring Operation: 83-81=2, Resulting Numbers: [89, 2] Generated Node #0,1,4: 85:[89, 2] Operation: 83-81=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[83, 8], Operations: ['31+58=89', '89-81=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,85 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,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,2 Current State: 85:[81, 6], Operations: ['31+58=89', '89-83=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,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,4 Current State: 85:[89, 2], Operations: ['31+58=89', '83-81=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,85 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,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:[89, 164], Operations: ['31+58=89', '83+81=164'] Exploring Operation: 89+164=253, Resulting Numbers: [253] 253,85 unequal: No Solution Exploring Operation: 89*164=14596, Resulting Numbers: [14596] 14596,85 unequal: No Solution Exploring Operation: 164-89=75, Resulting Numbers: [75] 75,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:[83, 170], Operations: ['31+58=89', '81+89=170'] Exploring Operation: 170-83=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 83+170=253, Resulting Numbers: [253] 253,85 unequal: No Solution Exploring Operation: 83*170=14110, Resulting Numbers: [14110] 14110,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,0 Current State: 85:[83, 81, 27], Operations: ['58-31=27'] Exploring Operation: 83-81=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 85:[27, 2] Operation: 83-81=2 Exploring Operation: 83+27=110, Resulting Numbers: [81, 110] Generated Node #0,0,1: 85:[81, 110] Operation: 83+27=110 Exploring Operation: 83-27=56, Resulting Numbers: [81, 56] Generated Node #0,0,2: 85:[81, 56] Operation: 83-27=56 Exploring Operation: 81+27=108, Resulting Numbers: [83, 108] Generated Node #0,0,3: 85:[83, 108] Operation: 81+27=108 Exploring Operation: 81/27=3, Resulting Numbers: [83, 3] Generated Node #0,0,4: 85:[83, 3] Operation: 81/27=3 Moving to Node #0,0,4 Current State: 85:[83, 3], Operations: ['58-31=27', '81/27=3'] Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,85 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[27, 2], Operations: ['58-31=27', '83-81=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[83, 108], Operations: ['58-31=27', '81+27=108'] Exploring Operation: 108-83=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 83+108=191, Resulting Numbers: [191] 191,85 unequal: No Solution Exploring Operation: 83*108=8964, Resulting Numbers: [8964] 8964,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[81, 110], Operations: ['58-31=27', '83+27=110'] Exploring Operation: 81*110=8910, Resulting Numbers: [8910] 8910,85 unequal: No Solution Exploring Operation: 110-81=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 81+110=191, Resulting Numbers: [191] 191,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[81, 56], Operations: ['58-31=27', '83-27=56'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,85 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[31, 83, 23], Operations: ['81-58=23'] Exploring Operation: 31+23=54, Resulting Numbers: [83, 54] Generated Node #0,2,0: 85:[83, 54] Operation: 31+23=54 Exploring Operation: 83+23=106, Resulting Numbers: [31, 106] Generated Node #0,2,1: 85:[31, 106] Operation: 83+23=106 Exploring Operation: 31+83=114, Resulting Numbers: [23, 114] Generated Node #0,2,2: 85:[23, 114] Operation: 31+83=114 Exploring Operation: 83-31=52, Resulting Numbers: [23, 52] Generated Node #0,2,3: 85:[23, 52] Operation: 83-31=52 Exploring Operation: 31-23=8, Resulting Numbers: [83, 8] Generated Node #0,2,4: 85:[83, 8] Operation: 31-23=8 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 85:[83, 8], Operations: ['81-58=23', '31-23=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,85 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,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,2,0 Current State: 85:[83, 54], Operations: ['81-58=23', '31+23=54'] Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 83*54=4482, Resulting Numbers: [4482] 4482,85 unequal: No Solution Exploring Operation: 83+54=137, Resulting Numbers: [137] 137,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,2,1 Current State: 85:[31, 106], Operations: ['81-58=23', '83+23=106'] Exploring Operation: 106-31=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 31*106=3286, Resulting Numbers: [3286] 3286,85 unequal: No Solution Exploring Operation: 31+106=137, Resulting Numbers: [137] 137,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,2,2 Current State: 85:[23, 114], Operations: ['81-58=23', '31+83=114'] Exploring Operation: 23*114=2622, Resulting Numbers: [2622] 2622,85 unequal: No Solution Exploring Operation: 23+114=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 114-23=91, Resulting Numbers: [91] 91,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,2,3 Current State: 85:[23, 52], Operations: ['81-58=23', '83-31=52'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 23+52=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 23*52=1196, Resulting Numbers: [1196] 1196,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,4 Current State: 85:[31, 81, 25], Operations: ['83-58=25'] Exploring Operation: 31+25=56, Resulting Numbers: [81, 56] Generated Node #0,4,0: 85:[81, 56] Operation: 31+25=56 Exploring Operation: 31+81=112, Resulting Numbers: [25, 112] Generated Node #0,4,1: 85:[25, 112] Operation: 31+81=112 Exploring Operation: 31-25=6, Resulting Numbers: [81, 6] Generated Node #0,4,2: 85:[81, 6] Operation: 31-25=6 Exploring Operation: 81-31=50, Resulting Numbers: [25, 50] Generated Node #0,4,3: 85:[25, 50] Operation: 81-31=50 Exploring Operation: 81+25=106, Resulting Numbers: [31, 106] Generated Node #0,4,4: 85:[31, 106] Operation: 81+25=106 Moving to Node #0,4,2 Current State: 85:[81, 6], Operations: ['83-58=25', '31-25=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,85 unequal: No Solution Moving to Node #0,4,0 Current State: 85:[81, 56], Operations: ['83-58=25', '31+25=56'] Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,85 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,85 unequal: No Solution Moving to Node #0,4,1 Current State: 85:[25, 112], Operations: ['83-58=25', '31+81=112'] Exploring Operation: 25*112=2800, Resulting Numbers: [2800] 2800,85 unequal: No Solution Exploring Operation: 25+112=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 112-25=87, Resulting Numbers: [87] 87,85 unequal: No Solution Moving to Node #0,4,4 Current State: 85:[31, 106], Operations: ['83-58=25', '81+25=106'] Exploring Operation: 31*106=3286, Resulting Numbers: [3286] 3286,85 unequal: No Solution Exploring Operation: 106-31=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 31+106=137, Resulting Numbers: [137] 137,85 unequal: No Solution Moving to Node #0,4,3 Current State: 85:[25, 50], Operations: ['83-58=25', '81-31=50'] Exploring Operation: 25*50=1250, Resulting Numbers: [1250] 1250,85 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 25+50=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,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:[31, 58, 2], Operations: ['83-81=2'] Exploring Operation: 58+2=60, Resulting Numbers: [31, 60] Generated Node #0,3,0: 85:[31, 60] Operation: 58+2=60 Exploring Operation: 31-2=29, Resulting Numbers: [58, 29] Generated Node #0,3,1: 85:[58, 29] Operation: 31-2=29 Exploring Operation: 58-31=27, Resulting Numbers: [2, 27] Generated Node #0,3,2: 85:[2, 27] Operation: 58-31=27 Exploring Operation: 31+58=89, Resulting Numbers: [2, 89] Generated Node #0,3,3: 85:[2, 89] Operation: 31+58=89 Exploring Operation: 58/2=29, Resulting Numbers: [31, 29] Generated Node #0,3,4: 85:[31, 29] Operation: 58/2=29 Moving to Node #0,3,3 Current State: 85:[2, 89], Operations: ['83-81=2', '31+58=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,85 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[2, 27], Operations: ['83-81=2', '58-31=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,85 unequal: No Solution Moving to Node #0,3,4 Current State: 85:[31, 29], Operations: ['83-81=2', '58/2=29'] Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,85 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[31, 60], Operations: ['83-81=2', '58+2=60'] Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,85 unequal: No Solution Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[58, 29], Operations: ['83-81=2', '31-2=29'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,85 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 91, 87, 36, 23 ]
55
[ "91-87=4", "36+23=59", "59-4=55" ]
Current State: 55:[91, 87, 36, 23], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [36, 23, 4] Generated Node #2: [36, 23, 4] from Operation: 91-87=4 Current State: 55:[36, 23, 4], Operations: ['91-87=4'] Exploring Operation: 36+23=59, Resulting Numbers: [4, 59] Generated Node #3: [4, 59] from Operation: 36+23=59 Current State: 55:[4, 59], Operations: ['91-87=4', '36+23=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[91, 87, 36, 23], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [36, 23, 4] Generated Node #0,0: 55:[36, 23, 4] Operation: 91-87=4 Exploring Operation: 91-36=55, Resulting Numbers: [87, 23, 55] Generated Node #0,1: 55:[87, 23, 55] Operation: 91-36=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[36, 23, 4], Operations: ['91-87=4'] Exploring Operation: 36+23=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 55:[4, 59] Operation: 36+23=59 Exploring Operation: 36-23=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 55:[4, 13] Operation: 36-23=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[4, 13], Operations: ['91-87=4', '36-23=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,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,0 Current State: 55:[4, 59], Operations: ['91-87=4', '36+23=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[91, 87, 36, 23], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [36, 23, 4] Generated Node #0,0: 55:[36, 23, 4] Operation: 91-87=4 Moving to Node #0,0 Current State: 55:[36, 23, 4], Operations: ['91-87=4'] Exploring Operation: 36+23=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 55:[4, 59] Operation: 36+23=59 Moving to Node #0,0,0 Current State: 55:[4, 59], Operations: ['91-87=4', '36+23=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 77, 14, 28, 88 ]
12
[ "14*88=1232", "1232/77=16", "28-16=12" ]
Current State: 12:[77, 14, 28, 88], Operations: [] Exploring Operation: 14*88=1232, Resulting Numbers: [77, 28, 1232] Generated Node #2: [77, 28, 1232] from Operation: 14*88=1232 Current State: 12:[77, 28, 1232], Operations: ['14*88=1232'] Exploring Operation: 1232/77=16, Resulting Numbers: [28, 16] Generated Node #3: [28, 16] from Operation: 1232/77=16 Current State: 12:[28, 16], Operations: ['14*88=1232', '1232/77=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[77, 14, 28, 88], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [14, 28, 11] Generated Node #0,0: 12:[14, 28, 11] Operation: 88-77=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[14, 28, 11], Operations: ['88-77=11'] Exploring Operation: 28/14=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 12:[11, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 12:[11, 2], Operations: ['88-77=11', '28/14=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,12 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
[ 41, 3, 31, 83 ]
53
[ "41-31=10", "3*10=30", "83-30=53" ]
Current State: 53:[41, 3, 31, 83], Operations: [] Exploring Operation: 41-31=10, Resulting Numbers: [3, 83, 10] Generated Node #2: [3, 83, 10] from Operation: 41-31=10 Current State: 53:[3, 83, 10], Operations: ['41-31=10'] Exploring Operation: 3*10=30, Resulting Numbers: [83, 30] Generated Node #3: [83, 30] from Operation: 3*10=30 Current State: 53:[83, 30], Operations: ['41-31=10', '3*10=30'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[41, 3, 31, 83], Operations: [] Exploring Operation: 41+3=44, Resulting Numbers: [31, 83, 44] Generated Node #0,0: 53:[31, 83, 44] Operation: 41+3=44 Exploring Operation: 83-3=80, Resulting Numbers: [41, 31, 80] Generated Node #0,1: 53:[41, 31, 80] Operation: 83-3=80 Exploring Operation: 3+31=34, Resulting Numbers: [41, 83, 34] Generated Node #0,2: 53:[41, 83, 34] Operation: 3+31=34 Exploring Operation: 83-31=52, Resulting Numbers: [41, 3, 52] Generated Node #0,3: 53:[41, 3, 52] Operation: 83-31=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[31, 83, 44], Operations: ['41+3=44'] Exploring Operation: 83-44=39, Resulting Numbers: [31, 39] Generated Node #0,0,0: 53:[31, 39] Operation: 83-44=39 Exploring Operation: 83-31=52, Resulting Numbers: [44, 52] Generated Node #0,0,1: 53:[44, 52] Operation: 83-31=52 Exploring Operation: 31+44=75, Resulting Numbers: [83, 75] Generated Node #0,0,2: 53:[83, 75] Operation: 31+44=75 Exploring Operation: 31+83=114, Resulting Numbers: [44, 114] Generated Node #0,0,3: 53:[44, 114] Operation: 31+83=114 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[44, 52], Operations: ['41+3=44', '83-31=52'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,53 unequal: No Solution Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[31, 39], Operations: ['41+3=44', '83-44=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 31*39=1209, Resulting Numbers: [1209] 1209,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[83, 75], Operations: ['41+3=44', '31+44=75'] Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 83+75=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 83*75=6225, Resulting Numbers: [6225] 6225,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[44, 114], Operations: ['41+3=44', '31+83=114'] Exploring Operation: 114-44=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 44+114=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 44*114=5016, Resulting Numbers: [5016] 5016,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[41, 31, 80], Operations: ['83-3=80'] Exploring Operation: 80-41=39, Resulting Numbers: [31, 39] Generated Node #0,1,0: 53:[31, 39] Operation: 80-41=39 Exploring Operation: 41-31=10, Resulting Numbers: [80, 10] Generated Node #0,1,1: 53:[80, 10] Operation: 41-31=10 Exploring Operation: 41+31=72, Resulting Numbers: [80, 72] Generated Node #0,1,2: 53:[80, 72] Operation: 41+31=72 Exploring Operation: 80-31=49, Resulting Numbers: [41, 49] Generated Node #0,1,3: 53:[41, 49] Operation: 80-31=49 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 53:[41, 49], Operations: ['83-3=80', '80-31=49'] Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,53 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[31, 39], Operations: ['83-3=80', '80-41=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 31*39=1209, Resulting Numbers: [1209] 1209,53 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[80, 72], Operations: ['83-3=80', '41+31=72'] Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,53 unequal: No Solution Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,53 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[80, 10], Operations: ['83-3=80', '41-31=10'] Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,53 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[41, 83, 34], Operations: ['3+31=34'] Exploring Operation: 83-41=42, Resulting Numbers: [34, 42] Generated Node #0,2,0: 53:[34, 42] Operation: 83-41=42 Exploring Operation: 41-34=7, Resulting Numbers: [83, 7] Generated Node #0,2,1: 53:[83, 7] Operation: 41-34=7 Exploring Operation: 41+34=75, Resulting Numbers: [83, 75] Generated Node #0,2,2: 53:[83, 75] Operation: 41+34=75 Exploring Operation: 83-34=49, Resulting Numbers: [41, 49] Generated Node #0,2,3: 53:[41, 49] Operation: 83-34=49 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[41, 49], Operations: ['3+31=34', '83-34=49'] Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[34, 42], Operations: ['3+31=34', '83-41=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[83, 75], Operations: ['3+31=34', '41+34=75'] Exploring Operation: 83*75=6225, Resulting Numbers: [6225] 6225,53 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 83+75=158, Resulting Numbers: [158] 158,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[83, 7], Operations: ['3+31=34', '41-34=7'] Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,53 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[41, 3, 52], Operations: ['83-31=52'] Exploring Operation: 41-3=38, Resulting Numbers: [52, 38] Generated Node #0,3,0: 53:[52, 38] Operation: 41-3=38 Exploring Operation: 3+52=55, Resulting Numbers: [41, 55] Generated Node #0,3,1: 53:[41, 55] Operation: 3+52=55 Exploring Operation: 41+3=44, Resulting Numbers: [52, 44] Generated Node #0,3,2: 53:[52, 44] Operation: 41+3=44 Exploring Operation: 52-3=49, Resulting Numbers: [41, 49] Generated Node #0,3,3: 53:[41, 49] Operation: 52-3=49 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[52, 44], Operations: ['83-31=52', '41+3=44'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 53:[41, 55], Operations: ['83-31=52', '3+52=55'] Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,53 unequal: No Solution Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[52, 38], Operations: ['83-31=52', '41-3=38'] Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 53:[41, 49], Operations: ['83-31=52', '52-3=49'] Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 62, 15, 79, 90 ]
92
[ "62+15=77", "79+90=169", "169-77=92" ]
Current State: 92:[62, 15, 79, 90], Operations: [] Exploring Operation: 62+15=77, Resulting Numbers: [79, 90, 77] Generated Node #2: [79, 90, 77] from Operation: 62+15=77 Current State: 92:[79, 90, 77], Operations: ['62+15=77'] Exploring Operation: 79+90=169, Resulting Numbers: [77, 169] Generated Node #3: [77, 169] from Operation: 79+90=169 Current State: 92:[77, 169], Operations: ['62+15=77', '79+90=169'] Exploring Operation: 169-77=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[62, 15, 79, 90], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [15, 79, 28] Generated Node #0,0: 92:[15, 79, 28] Operation: 90-62=28 Exploring Operation: 15+79=94, Resulting Numbers: [62, 90, 94] Generated Node #0,1: 92:[62, 90, 94] Operation: 15+79=94 Exploring Operation: 62-15=47, Resulting Numbers: [79, 90, 47] Generated Node #0,2: 92:[79, 90, 47] Operation: 62-15=47 Exploring Operation: 79-62=17, Resulting Numbers: [15, 90, 17] Generated Node #0,3: 92:[15, 90, 17] Operation: 79-62=17 Moving to Node #0,2 Current State: 92:[79, 90, 47], Operations: ['62-15=47'] Exploring Operation: 90-47=43, Resulting Numbers: [79, 43] Generated Node #0,2,0: 92:[79, 43] Operation: 90-47=43 Exploring Operation: 90-79=11, Resulting Numbers: [47, 11] Generated Node #0,2,1: 92:[47, 11] Operation: 90-79=11 Exploring Operation: 79+47=126, Resulting Numbers: [90, 126] Generated Node #0,2,2: 92:[90, 126] Operation: 79+47=126 Exploring Operation: 79-47=32, Resulting Numbers: [90, 32] Generated Node #0,2,3: 92:[90, 32] Operation: 79-47=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[47, 11], Operations: ['62-15=47', '90-79=11'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,92 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,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,3 Current State: 92:[90, 32], Operations: ['62-15=47', '79-47=32'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,92 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,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,0 Current State: 92:[79, 43], Operations: ['62-15=47', '90-47=43'] Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 79*43=3397, Resulting Numbers: [3397] 3397,92 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,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,2 Current State: 92:[90, 126], Operations: ['62-15=47', '79+47=126'] Exploring Operation: 90*126=11340, Resulting Numbers: [11340] 11340,92 unequal: No Solution Exploring Operation: 126-90=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 90+126=216, Resulting Numbers: [216] 216,92 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: 92:[15, 90, 17], Operations: ['79-62=17'] Exploring Operation: 17-15=2, Resulting Numbers: [90, 2] Generated Node #0,3,0: 92:[90, 2] Operation: 17-15=2 Exploring Operation: 90/15=6, Resulting Numbers: [17, 6] Generated Node #0,3,1: 92:[17, 6] Operation: 90/15=6 Exploring Operation: 15+17=32, Resulting Numbers: [90, 32] Generated Node #0,3,2: 92:[90, 32] Operation: 15+17=32 Exploring Operation: 15+90=105, Resulting Numbers: [17, 105] Generated Node #0,3,3: 92:[17, 105] Operation: 15+90=105 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[90, 2], Operations: ['79-62=17', '17-15=2'] Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,92 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[62, 15, 79, 90], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [15, 90, 17] Generated Node #0,3: 92:[15, 90, 17] Operation: 79-62=17 Moving to Node #0,3 Current State: 92:[15, 90, 17], Operations: ['79-62=17'] Exploring Operation: 17-15=2, Resulting Numbers: [90, 2] Generated Node #0,3,0: 92:[90, 2] Operation: 17-15=2 Moving to Node #0,3,0 Current State: 92:[90, 2], Operations: ['79-62=17', '17-15=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 68, 5, 57, 54 ]
76
[ "68+5=73", "57-54=3", "73+3=76" ]
Current State: 76:[68, 5, 57, 54], Operations: [] Exploring Operation: 68+5=73, Resulting Numbers: [57, 54, 73] Generated Node #2: [57, 54, 73] from Operation: 68+5=73 Current State: 76:[57, 54, 73], Operations: ['68+5=73'] Exploring Operation: 57-54=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 57-54=3 Current State: 76:[73, 3], Operations: ['68+5=73', '57-54=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[68, 5, 57, 54], Operations: [] Exploring Operation: 68-57=11, Resulting Numbers: [5, 54, 11] Generated Node #0,0: 76:[5, 54, 11] Operation: 68-57=11 Exploring Operation: 57-54=3, Resulting Numbers: [68, 5, 3] Generated Node #0,1: 76:[68, 5, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[68, 5, 3], Operations: ['57-54=3'] Exploring Operation: 68+3=71, Resulting Numbers: [5, 71] Generated Node #0,1,0: 76:[5, 71] Operation: 68+3=71 Exploring Operation: 68+5=73, Resulting Numbers: [3, 73] Generated Node #0,1,1: 76:[3, 73] Operation: 68+5=73 Moving to Node #0,1,1 Current State: 76:[3, 73], Operations: ['57-54=3', '68+5=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[68, 5, 57, 54], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [68, 5, 3] Generated Node #0,1: 76:[68, 5, 3] Operation: 57-54=3 Moving to Node #0,1 Current State: 76:[68, 5, 3], Operations: ['57-54=3'] Exploring Operation: 68+5=73, Resulting Numbers: [3, 73] Generated Node #0,1,1: 76:[3, 73] Operation: 68+5=73 Moving to Node #0,1,1 Current State: 76:[3, 73], Operations: ['57-54=3', '68+5=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 98, 52, 61, 35 ]
100
[ "61-35=26", "52/26=2", "98+2=100" ]
Current State: 100:[98, 52, 61, 35], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [98, 52, 26] Generated Node #2: [98, 52, 26] from Operation: 61-35=26 Current State: 100:[98, 52, 26], Operations: ['61-35=26'] Exploring Operation: 52/26=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 52/26=2 Current State: 100:[98, 2], Operations: ['61-35=26', '52/26=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[98, 52, 61, 35], Operations: [] Exploring Operation: 61+35=96, Resulting Numbers: [98, 52, 96] Generated Node #0,0: 100:[98, 52, 96] Operation: 61+35=96 Exploring Operation: 61-35=26, Resulting Numbers: [98, 52, 26] Generated Node #0,1: 100:[98, 52, 26] Operation: 61-35=26 Moving to Node #0,1 Current State: 100:[98, 52, 26], Operations: ['61-35=26'] Exploring Operation: 52-26=26, Resulting Numbers: [98, 26] Generated Node #0,1,0: 100:[98, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [98, 2] Generated Node #0,1,1: 100:[98, 2] Operation: 52/26=2 Moving to Node #0,0 Current State: 100:[98, 52, 96], Operations: ['61+35=96'] Exploring Operation: 98-96=2, Resulting Numbers: [52, 2] Generated Node #0,0,0: 100:[52, 2] Operation: 98-96=2 Exploring Operation: 98-52=46, Resulting Numbers: [96, 46] Generated Node #0,0,1: 100:[96, 46] Operation: 98-52=46 Moving to Node #0,1,1 Current State: 100:[98, 2], Operations: ['61-35=26', '52/26=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[98, 52, 61, 35], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [98, 52, 26] Generated Node #0,1: 100:[98, 52, 26] Operation: 61-35=26 Moving to Node #0,1 Current State: 100:[98, 52, 26], Operations: ['61-35=26'] Exploring Operation: 52/26=2, Resulting Numbers: [98, 2] Generated Node #0,1,1: 100:[98, 2] Operation: 52/26=2 Moving to Node #0,1,1 Current State: 100:[98, 2], Operations: ['61-35=26', '52/26=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 14, 47, 39, 91 ]
70
[ "47+39=86", "91-86=5", "14*5=70" ]
Current State: 70:[14, 47, 39, 91], Operations: [] Exploring Operation: 47+39=86, Resulting Numbers: [14, 91, 86] Generated Node #2: [14, 91, 86] from Operation: 47+39=86 Current State: 70:[14, 91, 86], Operations: ['47+39=86'] Exploring Operation: 91-86=5, Resulting Numbers: [14, 5] Generated Node #3: [14, 5] from Operation: 91-86=5 Current State: 70:[14, 5], Operations: ['47+39=86', '91-86=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[14, 47, 39, 91], Operations: [] Exploring Operation: 47-39=8, Resulting Numbers: [14, 91, 8] Generated Node #0,0: 70:[14, 91, 8] Operation: 47-39=8 Exploring Operation: 91-47=44, Resulting Numbers: [14, 39, 44] Generated Node #0,1: 70:[14, 39, 44] Operation: 91-47=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[14, 39, 44], Operations: ['91-47=44'] Exploring Operation: 44-14=30, Resulting Numbers: [39, 30] Generated Node #0,1,0: 70:[39, 30] Operation: 44-14=30 Exploring Operation: 44-39=5, Resulting Numbers: [14, 5] Generated Node #0,1,1: 70:[14, 5] Operation: 44-39=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[14, 5], Operations: ['91-47=44', '44-39=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[14, 47, 39, 91], Operations: [] Exploring Operation: 91-47=44, Resulting Numbers: [14, 39, 44] Generated Node #0,1: 70:[14, 39, 44] Operation: 91-47=44 Moving to Node #0,1 Current State: 70:[14, 39, 44], Operations: ['91-47=44'] Exploring Operation: 44-39=5, Resulting Numbers: [14, 5] Generated Node #0,1,1: 70:[14, 5] Operation: 44-39=5 Moving to Node #0,1,1 Current State: 70:[14, 5], Operations: ['91-47=44', '44-39=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 68, 8, 79, 21 ]
40
[ "68-8=60", "79+21=100", "100-60=40" ]
Current State: 40:[68, 8, 79, 21], Operations: [] Exploring Operation: 68-8=60, Resulting Numbers: [79, 21, 60] Generated Node #2: [79, 21, 60] from Operation: 68-8=60 Current State: 40:[79, 21, 60], Operations: ['68-8=60'] Exploring Operation: 79+21=100, Resulting Numbers: [60, 100] Generated Node #3: [60, 100] from Operation: 79+21=100 Current State: 40:[60, 100], Operations: ['68-8=60', '79+21=100'] Exploring Operation: 100-60=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[68, 8, 79, 21], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [8, 21, 11] Generated Node #0,0: 40:[8, 21, 11] Operation: 79-68=11 Exploring Operation: 79-21=58, Resulting Numbers: [68, 8, 58] Generated Node #0,1: 40:[68, 8, 58] Operation: 79-21=58 Exploring Operation: 68-21=47, Resulting Numbers: [8, 79, 47] Generated Node #0,2: 40:[8, 79, 47] Operation: 68-21=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[8, 21, 11], Operations: ['79-68=11'] Exploring Operation: 8+11=19, Resulting Numbers: [21, 19] Generated Node #0,0,0: 40:[21, 19] Operation: 8+11=19 Exploring Operation: 11-8=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 40:[21, 3] Operation: 11-8=3 Exploring Operation: 21-11=10, Resulting Numbers: [8, 10] Generated Node #0,0,2: 40:[8, 10] Operation: 21-11=10 Moving to Node #0,0,2 Current State: 40:[8, 10], Operations: ['79-68=11', '21-11=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,40 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[21, 19], Operations: ['79-68=11', '8+11=19'] Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,40 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[68, 8, 79, 21], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [8, 21, 11] Generated Node #0,0: 40:[8, 21, 11] Operation: 79-68=11 Moving to Node #0,0 Current State: 40:[8, 21, 11], Operations: ['79-68=11'] Exploring Operation: 8+11=19, Resulting Numbers: [21, 19] Generated Node #0,0,0: 40:[21, 19] Operation: 8+11=19 Moving to Node #0,0,0 Current State: 40:[21, 19], Operations: ['79-68=11', '8+11=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 41, 15, 29, 27 ]
97
[ "29-27=2", "41*2=82", "15+82=97" ]
Current State: 97:[41, 15, 29, 27], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [41, 15, 2] Generated Node #2: [41, 15, 2] from Operation: 29-27=2 Current State: 97:[41, 15, 2], Operations: ['29-27=2'] Exploring Operation: 41*2=82, Resulting Numbers: [15, 82] Generated Node #3: [15, 82] from Operation: 41*2=82 Current State: 97:[15, 82], Operations: ['29-27=2', '41*2=82'] Exploring Operation: 15+82=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[41, 15, 29, 27], Operations: [] Exploring Operation: 41+29=70, Resulting Numbers: [15, 27, 70] Generated Node #0,0: 97:[15, 27, 70] Operation: 41+29=70 Exploring Operation: 15+29=44, Resulting Numbers: [41, 27, 44] Generated Node #0,1: 97:[41, 27, 44] Operation: 15+29=44 Exploring Operation: 41+27=68, Resulting Numbers: [15, 29, 68] Generated Node #0,2: 97:[15, 29, 68] Operation: 41+27=68 Exploring Operation: 41+15=56, Resulting Numbers: [29, 27, 56] Generated Node #0,3: 97:[29, 27, 56] Operation: 41+15=56 Exploring Operation: 15+27=42, Resulting Numbers: [41, 29, 42] Generated Node #0,4: 97:[41, 29, 42] Operation: 15+27=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[15, 27, 70], Operations: ['41+29=70'] Exploring Operation: 15+27=42, Resulting Numbers: [70, 42] Generated Node #0,0,0: 97:[70, 42] Operation: 15+27=42 Exploring Operation: 70-15=55, Resulting Numbers: [27, 55] Generated Node #0,0,1: 97:[27, 55] Operation: 70-15=55 Exploring Operation: 27+70=97, Resulting Numbers: [15, 97] Generated Node #0,0,2: 97:[15, 97] Operation: 27+70=97 Exploring Operation: 27-15=12, Resulting Numbers: [70, 12] Generated Node #0,0,3: 97:[70, 12] Operation: 27-15=12 Exploring Operation: 15+70=85, Resulting Numbers: [27, 85] Generated Node #0,0,4: 97:[27, 85] Operation: 15+70=85 Moving to Node #0,0,0 Current State: 97:[70, 42], Operations: ['41+29=70', '15+27=42'] Exploring Operation: 70+42=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 70*42=2940, Resulting Numbers: [2940] 2940,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[27, 85], Operations: ['41+29=70', '15+70=85'] Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,97 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[15, 97], Operations: ['41+29=70', '27+70=97'] Exploring Operation: 15*97=1455, Resulting Numbers: [1455] 1455,97 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[27, 55], Operations: ['41+29=70', '70-15=55'] Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,97 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[70, 12], Operations: ['41+29=70', '27-15=12'] Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,97 unequal: No Solution Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[41, 27, 44], Operations: ['15+29=44'] Exploring Operation: 41-27=14, Resulting Numbers: [44, 14] Generated Node #0,1,0: 97:[44, 14] Operation: 41-27=14 Exploring Operation: 41+27=68, Resulting Numbers: [44, 68] Generated Node #0,1,1: 97:[44, 68] Operation: 41+27=68 Exploring Operation: 41+44=85, Resulting Numbers: [27, 85] Generated Node #0,1,2: 97:[27, 85] Operation: 41+44=85 Exploring Operation: 27+44=71, Resulting Numbers: [41, 71] Generated Node #0,1,3: 97:[41, 71] Operation: 27+44=71 Exploring Operation: 44-27=17, Resulting Numbers: [41, 17] Generated Node #0,1,4: 97:[41, 17] Operation: 44-27=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[44, 68], Operations: ['15+29=44', '41+27=68'] Exploring Operation: 44*68=2992, Resulting Numbers: [2992] 2992,97 unequal: No Solution Exploring Operation: 44+68=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,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:[27, 85], Operations: ['15+29=44', '41+44=85'] Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,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,3 Current State: 97:[41, 71], Operations: ['15+29=44', '27+44=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,97 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,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,0 Current State: 97:[44, 14], Operations: ['15+29=44', '41-27=14'] Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,97 unequal: No Solution Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,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,4 Current State: 97:[41, 17], Operations: ['15+29=44', '44-27=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,97 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,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,2 Current State: 97:[15, 29, 68], Operations: ['41+27=68'] Exploring Operation: 29-15=14, Resulting Numbers: [68, 14] Generated Node #0,2,0: 97:[68, 14] Operation: 29-15=14 Exploring Operation: 29+68=97, Resulting Numbers: [15, 97] Generated Node #0,2,1: 97:[15, 97] Operation: 29+68=97 Exploring Operation: 68-15=53, Resulting Numbers: [29, 53] Generated Node #0,2,2: 97:[29, 53] Operation: 68-15=53 Exploring Operation: 15+29=44, Resulting Numbers: [68, 44] Generated Node #0,2,3: 97:[68, 44] Operation: 15+29=44 Exploring Operation: 15+68=83, Resulting Numbers: [29, 83] Generated Node #0,2,4: 97:[29, 83] Operation: 15+68=83 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[15, 97], Operations: ['41+27=68', '29+68=97'] Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 15*97=1455, Resulting Numbers: [1455] 1455,97 unequal: No Solution Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,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,2,3 Current State: 97:[68, 44], Operations: ['41+27=68', '15+29=44'] Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,97 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,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,2,4 Current State: 97:[29, 83], Operations: ['41+27=68', '15+68=83'] Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,97 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,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,2,0 Current State: 97:[68, 14], Operations: ['41+27=68', '29-15=14'] Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,97 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,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,2,2 Current State: 97:[29, 53], Operations: ['41+27=68', '68-15=53'] Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,97 unequal: No Solution Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,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,3 Current State: 97:[29, 27, 56], Operations: ['41+15=56'] Exploring Operation: 29+27=56, Resulting Numbers: [56, 56] Generated Node #0,3,0: 97:[56, 56] Operation: 29+27=56 Exploring Operation: 27+56=83, Resulting Numbers: [29, 83] Generated Node #0,3,1: 97:[29, 83] Operation: 27+56=83 Exploring Operation: 56-27=29, Resulting Numbers: [29, 29] Generated Node #0,3,2: 97:[29, 29] Operation: 56-27=29 Exploring Operation: 29-27=2, Resulting Numbers: [56, 2] Generated Node #0,3,3: 97:[56, 2] Operation: 29-27=2 Exploring Operation: 29+56=85, Resulting Numbers: [27, 85] Generated Node #0,3,4: 97:[27, 85] Operation: 29+56=85 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[56, 56], Operations: ['41+15=56', '29+27=56'] Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 56*56=3136, Resulting Numbers: [3136] 3136,97 unequal: No Solution Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,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,3,1 Current State: 97:[29, 83], Operations: ['41+15=56', '27+56=83'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,97 unequal: No Solution Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,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,3,4 Current State: 97:[27, 85], Operations: ['41+15=56', '29+56=85'] Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,97 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,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,3,2 Current State: 97:[29, 29], Operations: ['41+15=56', '56-27=29'] Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,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,3,3 Current State: 97:[56, 2], Operations: ['41+15=56', '29-27=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,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,4 Current State: 97:[41, 29, 42], Operations: ['15+27=42'] Exploring Operation: 29+42=71, Resulting Numbers: [41, 71] Generated Node #0,4,0: 97:[41, 71] Operation: 29+42=71 Exploring Operation: 41+29=70, Resulting Numbers: [42, 70] Generated Node #0,4,1: 97:[42, 70] Operation: 41+29=70 Exploring Operation: 41+42=83, Resulting Numbers: [29, 83] Generated Node #0,4,2: 97:[29, 83] Operation: 41+42=83 Exploring Operation: 42-29=13, Resulting Numbers: [41, 13] Generated Node #0,4,3: 97:[41, 13] Operation: 42-29=13 Exploring Operation: 41-29=12, Resulting Numbers: [42, 12] Generated Node #0,4,4: 97:[42, 12] Operation: 41-29=12 Moving to Node #0,4,0 Current State: 97:[41, 71], Operations: ['15+27=42', '29+42=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,97 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[29, 83], Operations: ['15+27=42', '41+42=83'] Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,97 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[42, 70], Operations: ['15+27=42', '41+29=70'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 42*70=2940, Resulting Numbers: [2940] 2940,97 unequal: No Solution Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[41, 13], Operations: ['15+27=42', '42-29=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,97 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[42, 12], Operations: ['15+27=42', '41-29=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,97 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
[ 34, 42, 29, 95 ]
61
[ "34-29=5", "95/5=19", "42+19=61" ]
Current State: 61:[34, 42, 29, 95], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [42, 95, 5] Generated Node #2: [42, 95, 5] from Operation: 34-29=5 Current State: 61:[42, 95, 5], Operations: ['34-29=5'] Exploring Operation: 95/5=19, Resulting Numbers: [42, 19] Generated Node #3: [42, 19] from Operation: 95/5=19 Current State: 61:[42, 19], Operations: ['34-29=5', '95/5=19'] Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[34, 42, 29, 95], Operations: [] Exploring Operation: 95-34=61, Resulting Numbers: [42, 29, 61] Generated Node #0,0: 61:[42, 29, 61] Operation: 95-34=61 Exploring Operation: 95-29=66, Resulting Numbers: [34, 42, 66] Generated Node #0,1: 61:[34, 42, 66] Operation: 95-29=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[42, 29, 61], Operations: ['95-34=61'] Exploring Operation: 42+29=71, Resulting Numbers: [61, 71] Generated Node #0,0,0: 61:[61, 71] Operation: 42+29=71 Exploring Operation: 42-29=13, Resulting Numbers: [61, 13] Generated Node #0,0,1: 61:[61, 13] Operation: 42-29=13 Moving to Node #0,0,0 Current State: 61:[61, 71], Operations: ['95-34=61', '42+29=71'] Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 61+71=132, Resulting Numbers: [132] 132,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[61, 13], Operations: ['95-34=61', '42-29=13'] Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[34, 42, 66], Operations: ['95-29=66'] Exploring Operation: 66-34=32, Resulting Numbers: [42, 32] Generated Node #0,1,0: 61:[42, 32] Operation: 66-34=32 Exploring Operation: 34+42=76, Resulting Numbers: [66, 76] Generated Node #0,1,1: 61:[66, 76] Operation: 34+42=76 Moving to Node #0,1,1 Current State: 61:[66, 76], Operations: ['95-29=66', '34+42=76'] Exploring Operation: 66+76=142, Resulting Numbers: [142] 142,61 unequal: No Solution Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[42, 32], Operations: ['95-29=66', '66-34=32'] Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 86, 20, 1, 66 ]
39
[ "86+20=106", "1+66=67", "106-67=39" ]
Current State: 39:[86, 20, 1, 66], Operations: [] Exploring Operation: 86+20=106, Resulting Numbers: [1, 66, 106] Generated Node #2: [1, 66, 106] from Operation: 86+20=106 Current State: 39:[1, 66, 106], Operations: ['86+20=106'] Exploring Operation: 1+66=67, Resulting Numbers: [106, 67] Generated Node #3: [106, 67] from Operation: 1+66=67 Current State: 39:[106, 67], Operations: ['86+20=106', '1+66=67'] Exploring Operation: 106-67=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[86, 20, 1, 66], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [20, 1, 20] Generated Node #0,0: 39:[20, 1, 20] Operation: 86-66=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[20, 1, 20], Operations: ['86-66=20'] Exploring Operation: 20+20=40, Resulting Numbers: [1, 40] Generated Node #0,0,0: 39:[1, 40] Operation: 20+20=40 Moving to Node #0,0,0 Current State: 39:[1, 40], Operations: ['86-66=20', '20+20=40'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[86, 20, 1, 66], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [20, 1, 20] Generated Node #0,0: 39:[20, 1, 20] Operation: 86-66=20 Moving to Node #0,0 Current State: 39:[20, 1, 20], Operations: ['86-66=20'] Exploring Operation: 20+20=40, Resulting Numbers: [1, 40] Generated Node #0,0,0: 39:[1, 40] Operation: 20+20=40 Moving to Node #0,0,0 Current State: 39:[1, 40], Operations: ['86-66=20', '20+20=40'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 92, 61, 4, 77 ]
75
[ "92+77=169", "61*4=244", "244-169=75" ]
Current State: 75:[92, 61, 4, 77], Operations: [] Exploring Operation: 92+77=169, Resulting Numbers: [61, 4, 169] Generated Node #2: [61, 4, 169] from Operation: 92+77=169 Current State: 75:[61, 4, 169], Operations: ['92+77=169'] Exploring Operation: 61*4=244, Resulting Numbers: [169, 244] Generated Node #3: [169, 244] from Operation: 61*4=244 Current State: 75:[169, 244], Operations: ['92+77=169', '61*4=244'] Exploring Operation: 244-169=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[92, 61, 4, 77], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [61, 77, 23] Generated Node #0,0: 75:[61, 77, 23] Operation: 92/4=23 Exploring Operation: 92-77=15, Resulting Numbers: [61, 4, 15] Generated Node #0,1: 75:[61, 4, 15] Operation: 92-77=15 Exploring Operation: 92-61=31, Resulting Numbers: [4, 77, 31] Generated Node #0,2: 75:[4, 77, 31] Operation: 92-61=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[4, 77, 31], Operations: ['92-61=31'] Exploring Operation: 4+77=81, Resulting Numbers: [31, 81] Generated Node #0,2,0: 75:[31, 81] Operation: 4+77=81 Exploring Operation: 31-4=27, Resulting Numbers: [77, 27] Generated Node #0,2,1: 75:[77, 27] Operation: 31-4=27 Exploring Operation: 77-4=73, Resulting Numbers: [31, 73] Generated Node #0,2,2: 75:[31, 73] Operation: 77-4=73 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[77, 27], Operations: ['92-61=31', '31-4=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,75 unequal: No Solution No 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: 75:[31, 73], Operations: ['92-61=31', '77-4=73'] Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,75 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,75 unequal: No Solution No 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: 75:[31, 81], Operations: ['92-61=31', '4+77=81'] Exploring Operation: 31+81=112, Resulting Numbers: [112] 112,75 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 31*81=2511, Resulting Numbers: [2511] 2511,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[61, 4, 15], Operations: ['92-77=15'] Exploring Operation: 61+15=76, Resulting Numbers: [4, 76] Generated Node #0,1,0: 75:[4, 76] Operation: 61+15=76 Exploring Operation: 61-4=57, Resulting Numbers: [15, 57] Generated Node #0,1,1: 75:[15, 57] Operation: 61-4=57 Exploring Operation: 61+4=65, Resulting Numbers: [15, 65] Generated Node #0,1,2: 75:[15, 65] Operation: 61+4=65 Moving to Node #0,1,0 Current State: 75:[4, 76], Operations: ['92-77=15', '61+15=76'] Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[15, 65], Operations: ['92-77=15', '61+4=65'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 15*65=975, Resulting Numbers: [975] 975,75 unequal: No Solution Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[15, 57], Operations: ['92-77=15', '61-4=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,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,0 Current State: 75:[61, 77, 23], Operations: ['92/4=23'] Exploring Operation: 61+23=84, Resulting Numbers: [77, 84] Generated Node #0,0,0: 75:[77, 84] Operation: 61+23=84 Exploring Operation: 61-23=38, Resulting Numbers: [77, 38] Generated Node #0,0,1: 75:[77, 38] Operation: 61-23=38 Exploring Operation: 77-61=16, Resulting Numbers: [23, 16] Generated Node #0,0,2: 75:[23, 16] Operation: 77-61=16 Moving to Node #0,0,2 Current State: 75:[23, 16], Operations: ['92/4=23', '77-61=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,75 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[77, 84], Operations: ['92/4=23', '61+23=84'] Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 77+84=161, Resulting Numbers: [161] 161,75 unequal: No Solution Exploring Operation: 77*84=6468, Resulting Numbers: [6468] 6468,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[77, 38], Operations: ['92/4=23', '61-23=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,75 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,75 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
[ 5, 33, 74, 38 ]
73
[ "5+33=38", "38/38=1", "74-1=73" ]
Current State: 73:[5, 33, 74, 38], Operations: [] Exploring Operation: 5+33=38, Resulting Numbers: [74, 38, 38] Generated Node #2: [74, 38, 38] from Operation: 5+33=38 Current State: 73:[74, 38, 38], Operations: ['5+33=38'] Exploring Operation: 38/38=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 38/38=1 Current State: 73:[74, 1], Operations: ['5+33=38', '38/38=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[5, 33, 74, 38], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [33, 74, 43] Generated Node #0,0: 73:[33, 74, 43] Operation: 5+38=43 Exploring Operation: 5+33=38, Resulting Numbers: [74, 38, 38] Generated Node #0,1: 73:[74, 38, 38] Operation: 5+33=38 Exploring Operation: 33+38=71, Resulting Numbers: [5, 74, 71] Generated Node #0,2: 73:[5, 74, 71] Operation: 33+38=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[33, 74, 43], Operations: ['5+38=43'] Exploring Operation: 74-33=41, Resulting Numbers: [43, 41] Generated Node #0,0,0: 73:[43, 41] Operation: 74-33=41 Exploring Operation: 33+74=107, Resulting Numbers: [43, 107] Generated Node #0,0,1: 73:[43, 107] Operation: 33+74=107 Exploring Operation: 33+43=76, Resulting Numbers: [74, 76] Generated Node #0,0,2: 73:[74, 76] Operation: 33+43=76 Moving to Node #0,0,2 Current State: 73:[74, 76], Operations: ['5+38=43', '33+43=76'] Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,73 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[43, 41], Operations: ['5+38=43', '74-33=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,73 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,73 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[43, 107], Operations: ['5+38=43', '33+74=107'] Exploring Operation: 43*107=4601, Resulting Numbers: [4601] 4601,73 unequal: No Solution Exploring Operation: 43+107=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 107-43=64, Resulting Numbers: [64] 64,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[74, 38, 38], Operations: ['5+33=38'] Exploring Operation: 38+38=76, Resulting Numbers: [74, 76] Generated Node #0,1,0: 73:[74, 76] Operation: 38+38=76 Exploring Operation: 74-38=36, Resulting Numbers: [38, 36] Generated Node #0,1,1: 73:[38, 36] Operation: 74-38=36 Exploring Operation: 74-38=36, Resulting Numbers: [38, 36] Generated Node #0,1,2: 73:[38, 36] Operation: 74-38=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[74, 76], Operations: ['5+33=38', '38+38=76'] Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[38, 36], Operations: ['5+33=38', '74-38=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,73 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[38, 36], Operations: ['5+33=38', '74-38=36'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,73 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[5, 74, 71], Operations: ['33+38=71'] Exploring Operation: 74-5=69, Resulting Numbers: [71, 69] Generated Node #0,2,0: 73:[71, 69] Operation: 74-5=69 Exploring Operation: 5+71=76, Resulting Numbers: [74, 76] Generated Node #0,2,1: 73:[74, 76] Operation: 5+71=76 Exploring Operation: 5+74=79, Resulting Numbers: [71, 79] Generated Node #0,2,2: 73:[71, 79] Operation: 5+74=79 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[74, 76], Operations: ['33+38=71', '5+71=76'] Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,73 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[71, 69], Operations: ['33+38=71', '74-5=69'] Exploring Operation: 71*69=4899, Resulting Numbers: [4899] 4899,73 unequal: No Solution Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 71+69=140, Resulting Numbers: [140] 140,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[71, 79], Operations: ['33+38=71', '5+74=79'] Exploring Operation: 71*79=5609, Resulting Numbers: [5609] 5609,73 unequal: No Solution Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 71+79=150, Resulting Numbers: [150] 150,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 93, 61, 2, 87 ]
23
[ "93-61=32", "2*32=64", "87-64=23" ]
Current State: 23:[93, 61, 2, 87], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [2, 87, 32] Generated Node #2: [2, 87, 32] from Operation: 93-61=32 Current State: 23:[2, 87, 32], Operations: ['93-61=32'] Exploring Operation: 2*32=64, Resulting Numbers: [87, 64] Generated Node #3: [87, 64] from Operation: 2*32=64 Current State: 23:[87, 64], Operations: ['93-61=32', '2*32=64'] Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[93, 61, 2, 87], Operations: [] Exploring Operation: 87-61=26, Resulting Numbers: [93, 2, 26] Generated Node #0,0: 23:[93, 2, 26] Operation: 87-61=26 Exploring Operation: 93-87=6, Resulting Numbers: [61, 2, 6] Generated Node #0,1: 23:[61, 2, 6] Operation: 93-87=6 Exploring Operation: 93-2=91, Resulting Numbers: [61, 87, 91] Generated Node #0,2: 23:[61, 87, 91] Operation: 93-2=91 Exploring Operation: 93-61=32, Resulting Numbers: [2, 87, 32] Generated Node #0,3: 23:[2, 87, 32] Operation: 93-61=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[61, 2, 6], Operations: ['93-87=6'] Exploring Operation: 61-6=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 23:[2, 55] Operation: 61-6=55 Exploring Operation: 2+6=8, Resulting Numbers: [61, 8] Generated Node #0,1,1: 23:[61, 8] Operation: 2+6=8 Exploring Operation: 2*6=12, Resulting Numbers: [61, 12] Generated Node #0,1,2: 23:[61, 12] Operation: 2*6=12 Exploring Operation: 61-2=59, Resulting Numbers: [6, 59] Generated Node #0,1,3: 23:[6, 59] Operation: 61-2=59 Moving to Node #0,1,2 Current State: 23:[61, 12], Operations: ['93-87=6', '2*6=12'] Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,23 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[61, 8], Operations: ['93-87=6', '2+6=8'] Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,23 unequal: No Solution Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[2, 55], Operations: ['93-87=6', '61-6=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[6, 59], Operations: ['93-87=6', '61-2=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,23 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[93, 2, 26], Operations: ['87-61=26'] Exploring Operation: 93-26=67, Resulting Numbers: [2, 67] Generated Node #0,0,0: 23:[2, 67] Operation: 93-26=67 Exploring Operation: 93-2=91, Resulting Numbers: [26, 91] Generated Node #0,0,1: 23:[26, 91] Operation: 93-2=91 Exploring Operation: 93+2=95, Resulting Numbers: [26, 95] Generated Node #0,0,2: 23:[26, 95] Operation: 93+2=95 Exploring Operation: 26-2=24, Resulting Numbers: [93, 24] Generated Node #0,0,3: 23:[93, 24] Operation: 26-2=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[2, 67], Operations: ['87-61=26', '93-26=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,23 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,23 unequal: No Solution No 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: 23:[26, 91], Operations: ['87-61=26', '93-2=91'] Exploring Operation: 26+91=117, Resulting Numbers: [117] 117,23 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 26*91=2366, Resulting Numbers: [2366] 2366,23 unequal: No Solution No 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: 23:[93, 24], Operations: ['87-61=26', '26-2=24'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,23 unequal: No Solution Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,23 unequal: No Solution No 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: 23:[26, 95], Operations: ['87-61=26', '93+2=95'] Exploring Operation: 26*95=2470, Resulting Numbers: [2470] 2470,23 unequal: No Solution Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 26+95=121, Resulting Numbers: [121] 121,23 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: 23:[2, 87, 32], Operations: ['93-61=32'] Exploring Operation: 32-2=30, Resulting Numbers: [87, 30] Generated Node #0,3,0: 23:[87, 30] Operation: 32-2=30 Exploring Operation: 32/2=16, Resulting Numbers: [87, 16] Generated Node #0,3,1: 23:[87, 16] Operation: 32/2=16 Exploring Operation: 87-32=55, Resulting Numbers: [2, 55] Generated Node #0,3,2: 23:[2, 55] Operation: 87-32=55 Exploring Operation: 87-2=85, Resulting Numbers: [32, 85] Generated Node #0,3,3: 23:[32, 85] Operation: 87-2=85 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[2, 55], Operations: ['93-61=32', '87-32=55'] Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,23 unequal: No Solution No 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: 23:[87, 30], Operations: ['93-61=32', '32-2=30'] Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 87+30=117, Resulting Numbers: [117] 117,23 unequal: No Solution Exploring Operation: 87*30=2610, Resulting Numbers: [2610] 2610,23 unequal: No Solution No 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: 23:[87, 16], Operations: ['93-61=32', '32/2=16'] Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,23 unequal: No Solution Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,23 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,23 unequal: No Solution No 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: 23:[32, 85], Operations: ['93-61=32', '87-2=85'] Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,23 unequal: No Solution Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,23 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,23 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: 23:[61, 87, 91], Operations: ['93-2=91'] Exploring Operation: 91-61=30, Resulting Numbers: [87, 30] Generated Node #0,2,0: 23:[87, 30] Operation: 91-61=30 Exploring Operation: 87-61=26, Resulting Numbers: [91, 26] Generated Node #0,2,1: 23:[91, 26] Operation: 87-61=26 Exploring Operation: 91-87=4, Resulting Numbers: [61, 4] Generated Node #0,2,2: 23:[61, 4] Operation: 91-87=4 Exploring Operation: 61+87=148, Resulting Numbers: [91, 148] Generated Node #0,2,3: 23:[91, 148] Operation: 61+87=148 Moving to Node #0,2,2 Current State: 23:[61, 4], Operations: ['93-2=91', '91-87=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,23 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[91, 26], Operations: ['93-2=91', '87-61=26'] Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 91*26=2366, Resulting Numbers: [2366] 2366,23 unequal: No Solution Exploring Operation: 91+26=117, Resulting Numbers: [117] 117,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[87, 30], Operations: ['93-2=91', '91-61=30'] Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 87*30=2610, Resulting Numbers: [2610] 2610,23 unequal: No Solution Exploring Operation: 87+30=117, Resulting Numbers: [117] 117,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[91, 148], Operations: ['93-2=91', '61+87=148'] Exploring Operation: 148-91=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 91*148=13468, Resulting Numbers: [13468] 13468,23 unequal: No Solution Exploring Operation: 91+148=239, Resulting Numbers: [239] 239,23 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
[ 84, 57, 54, 46 ]
81
[ "84-46=38", "57*54=3078", "3078/38=81" ]
Current State: 81:[84, 57, 54, 46], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [57, 54, 38] Generated Node #2: [57, 54, 38] from Operation: 84-46=38 Current State: 81:[57, 54, 38], Operations: ['84-46=38'] Exploring Operation: 57*54=3078, Resulting Numbers: [38, 3078] Generated Node #3: [38, 3078] from Operation: 57*54=3078 Current State: 81:[38, 3078], Operations: ['84-46=38', '57*54=3078'] Exploring Operation: 3078/38=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[84, 57, 54, 46], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [84, 46, 3] Generated Node #0,0: 81:[84, 46, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[84, 46, 3], Operations: ['57-54=3'] Exploring Operation: 84-46=38, Resulting Numbers: [3, 38] Generated Node #0,0,0: 81:[3, 38] Operation: 84-46=38 Moving to Node #0,0,0 Current State: 81:[3, 38], Operations: ['57-54=3', '84-46=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,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
[ 12, 24, 24, 69 ]
95
[ "24/12=2", "24+69=93", "2+93=95" ]
Current State: 95:[12, 24, 24, 69], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [69, 2] Generated Node #2: [69, 2] from Operation: 24/12=2 Current State: 95:[69, 2], Operations: ['24/12=2'] Exploring Operation: 24+69=93, Resulting Numbers: [2, 93] Generated Node #3: [2, 93] from Operation: 24+69=93 Current State: 95:[2, 93], Operations: ['24/12=2', '24+69=93'] Exploring Operation: 2+93=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[12, 24, 24, 69], Operations: [] Exploring Operation: 24+69=93, Resulting Numbers: [12, 24, 93] Generated Node #0,0: 95:[12, 24, 93] Operation: 24+69=93 Exploring Operation: 24+69=93, Resulting Numbers: [12, 24, 93] Generated Node #0,1: 95:[12, 24, 93] Operation: 24+69=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[12, 24, 93], Operations: ['24+69=93'] Exploring Operation: 24/12=2, Resulting Numbers: [93, 2] Generated Node #0,0,0: 95:[93, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [93, 12] Generated Node #0,0,1: 95:[93, 12] Operation: 24-12=12 Moving to Node #0,0,0 Current State: 95:[93, 2], Operations: ['24+69=93', '24/12=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[12, 24, 24, 69], Operations: [] Exploring Operation: 24+69=93, Resulting Numbers: [12, 24, 93] Generated Node #0,0: 95:[12, 24, 93] Operation: 24+69=93 Moving to Node #0,0 Current State: 95:[12, 24, 93], Operations: ['24+69=93'] Exploring Operation: 24/12=2, Resulting Numbers: [93, 2] Generated Node #0,0,0: 95:[93, 2] Operation: 24/12=2 Moving to Node #0,0,0 Current State: 95:[93, 2], Operations: ['24+69=93', '24/12=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 49, 77, 60, 30 ]
14
[ "77-49=28", "60/30=2", "28/2=14" ]
Current State: 14:[49, 77, 60, 30], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [60, 30, 28] Generated Node #2: [60, 30, 28] from Operation: 77-49=28 Current State: 14:[60, 30, 28], Operations: ['77-49=28'] Exploring Operation: 60/30=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 60/30=2 Current State: 14:[28, 2], Operations: ['77-49=28', '60/30=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[49, 77, 60, 30], Operations: [] Exploring Operation: 77-60=17, Resulting Numbers: [49, 30, 17] Generated Node #0,0: 14:[49, 30, 17] Operation: 77-60=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[49, 30, 17], Operations: ['77-60=17'] Exploring Operation: 49-30=19, Resulting Numbers: [17, 19] Generated Node #0,0,0: 14:[17, 19] Operation: 49-30=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[17, 19], Operations: ['77-60=17', '49-30=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 72, 4, 22 ]
92
[ "72-27=45", "45-22=23", "4*23=92" ]
Current State: 92:[27, 72, 4, 22], Operations: [] Exploring Operation: 72-27=45, Resulting Numbers: [4, 22, 45] Generated Node #2: [4, 22, 45] from Operation: 72-27=45 Current State: 92:[4, 22, 45], Operations: ['72-27=45'] Exploring Operation: 45-22=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 45-22=23 Current State: 92:[4, 23], Operations: ['72-27=45', '45-22=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[27, 72, 4, 22], Operations: [] Exploring Operation: 27+72=99, Resulting Numbers: [4, 22, 99] Generated Node #0,0: 92:[4, 22, 99] Operation: 27+72=99 Exploring Operation: 72-22=50, Resulting Numbers: [27, 4, 50] Generated Node #0,1: 92:[27, 4, 50] Operation: 72-22=50 Exploring Operation: 72+22=94, Resulting Numbers: [27, 4, 94] Generated Node #0,2: 92:[27, 4, 94] Operation: 72+22=94 Exploring Operation: 72-27=45, Resulting Numbers: [4, 22, 45] Generated Node #0,3: 92:[4, 22, 45] Operation: 72-27=45 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[4, 22, 45], Operations: ['72-27=45'] Exploring Operation: 45-22=23, Resulting Numbers: [4, 23] Generated Node #0,3,0: 92:[4, 23] Operation: 45-22=23 Exploring Operation: 4*22=88, Resulting Numbers: [45, 88] Generated Node #0,3,1: 92:[45, 88] Operation: 4*22=88 Exploring Operation: 4+22=26, Resulting Numbers: [45, 26] Generated Node #0,3,2: 92:[45, 26] Operation: 4+22=26 Exploring Operation: 4+45=49, Resulting Numbers: [22, 49] Generated Node #0,3,3: 92:[22, 49] Operation: 4+45=49 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 92:[4, 23], Operations: ['72-27=45', '45-22=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[27, 72, 4, 22], Operations: [] Exploring Operation: 72-27=45, Resulting Numbers: [4, 22, 45] Generated Node #0,3: 92:[4, 22, 45] Operation: 72-27=45 Moving to Node #0,3 Current State: 92:[4, 22, 45], Operations: ['72-27=45'] Exploring Operation: 45-22=23, Resulting Numbers: [4, 23] Generated Node #0,3,0: 92:[4, 23] Operation: 45-22=23 Moving to Node #0,3,0 Current State: 92:[4, 23], Operations: ['72-27=45', '45-22=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 91, 22, 95, 29 ]
94
[ "95-91=4", "29*4=116", "116-22=94" ]
Current State: 94:[91, 22, 95, 29], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [22, 29, 4] Generated Node #2: [22, 29, 4] from Operation: 95-91=4 Current State: 94:[22, 29, 4], Operations: ['95-91=4'] Exploring Operation: 29*4=116, Resulting Numbers: [22, 116] Generated Node #3: [22, 116] from Operation: 29*4=116 Current State: 94:[22, 116], Operations: ['95-91=4', '29*4=116'] Exploring Operation: 116-22=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[91, 22, 95, 29], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [91, 95, 7] Generated Node #0,0: 94:[91, 95, 7] Operation: 29-22=7 Exploring Operation: 22+29=51, Resulting Numbers: [91, 95, 51] Generated Node #0,1: 94:[91, 95, 51] Operation: 22+29=51 Moving to Node #0,1 Current State: 94:[91, 95, 51], Operations: ['22+29=51'] Exploring Operation: 95-91=4, Resulting Numbers: [51, 4] Generated Node #0,1,0: 94:[51, 4] Operation: 95-91=4 Exploring Operation: 95-51=44, Resulting Numbers: [91, 44] Generated Node #0,1,1: 94:[91, 44] Operation: 95-51=44 Moving to Node #0,0 Current State: 94:[91, 95, 7], Operations: ['29-22=7'] Exploring Operation: 95-91=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 94:[7, 4] Operation: 95-91=4 Exploring Operation: 91+7=98, Resulting Numbers: [95, 98] Generated Node #0,0,1: 94:[95, 98] Operation: 91+7=98 Moving to Node #0,0,1 Current State: 94:[95, 98], Operations: ['29-22=7', '91+7=98'] Exploring Operation: 95+98=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 98-95=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[51, 4], Operations: ['22+29=51', '95-91=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[91, 44], Operations: ['22+29=51', '95-51=44'] Exploring Operation: 91+44=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[7, 4], Operations: ['29-22=7', '95-91=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,94 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 80, 31, 70, 26 ]
15
[ "80+31=111", "70+26=96", "111-96=15" ]
Current State: 15:[80, 31, 70, 26], Operations: [] Exploring Operation: 80+31=111, Resulting Numbers: [70, 26, 111] Generated Node #2: [70, 26, 111] from Operation: 80+31=111 Current State: 15:[70, 26, 111], Operations: ['80+31=111'] Exploring Operation: 70+26=96, Resulting Numbers: [111, 96] Generated Node #3: [111, 96] from Operation: 70+26=96 Current State: 15:[111, 96], Operations: ['80+31=111', '70+26=96'] Exploring Operation: 111-96=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 31, 70, 26], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [31, 26, 10] Generated Node #0,0: 15:[31, 26, 10] Operation: 80-70=10 Exploring Operation: 70-31=39, Resulting Numbers: [80, 26, 39] Generated Node #0,1: 15:[80, 26, 39] Operation: 70-31=39 Exploring Operation: 80-31=49, Resulting Numbers: [70, 26, 49] Generated Node #0,2: 15:[70, 26, 49] Operation: 80-31=49 Exploring Operation: 80-26=54, Resulting Numbers: [31, 70, 54] Generated Node #0,3: 15:[31, 70, 54] Operation: 80-26=54 Exploring Operation: 70-26=44, Resulting Numbers: [80, 31, 44] Generated Node #0,4: 15:[80, 31, 44] Operation: 70-26=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[31, 26, 10], Operations: ['80-70=10'] Exploring Operation: 26+10=36, Resulting Numbers: [31, 36] Generated Node #0,0,0: 15:[31, 36] Operation: 26+10=36 Exploring Operation: 26-10=16, Resulting Numbers: [31, 16] Generated Node #0,0,1: 15:[31, 16] Operation: 26-10=16 Exploring Operation: 31+10=41, Resulting Numbers: [26, 41] Generated Node #0,0,2: 15:[26, 41] Operation: 31+10=41 Exploring Operation: 31-10=21, Resulting Numbers: [26, 21] Generated Node #0,0,3: 15:[26, 21] Operation: 31-10=21 Exploring Operation: 31-26=5, Resulting Numbers: [10, 5] Generated Node #0,0,4: 15:[10, 5] Operation: 31-26=5 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 15:[10, 5], Operations: ['80-70=10', '31-26=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[80, 31, 70, 26], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [31, 26, 10] Generated Node #0,0: 15:[31, 26, 10] Operation: 80-70=10 Moving to Node #0,0 Current State: 15:[31, 26, 10], Operations: ['80-70=10'] Exploring Operation: 31-26=5, Resulting Numbers: [10, 5] Generated Node #0,0,4: 15:[10, 5] Operation: 31-26=5 Moving to Node #0,0,4 Current State: 15:[10, 5], Operations: ['80-70=10', '31-26=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 90, 25, 32, 14 ]
19
[ "90-25=65", "32+14=46", "65-46=19" ]
Current State: 19:[90, 25, 32, 14], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [32, 14, 65] Generated Node #2: [32, 14, 65] from Operation: 90-25=65 Current State: 19:[32, 14, 65], Operations: ['90-25=65'] Exploring Operation: 32+14=46, Resulting Numbers: [65, 46] Generated Node #3: [65, 46] from Operation: 32+14=46 Current State: 19:[65, 46], Operations: ['90-25=65', '32+14=46'] Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[90, 25, 32, 14], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [32, 14, 65] Generated Node #0,0: 19:[32, 14, 65] Operation: 90-25=65 Exploring Operation: 90-32=58, Resulting Numbers: [25, 14, 58] Generated Node #0,1: 19:[25, 14, 58] Operation: 90-32=58 Moving to Node #0,1 Current State: 19:[25, 14, 58], Operations: ['90-32=58'] Exploring Operation: 58-14=44, Resulting Numbers: [25, 44] Generated Node #0,1,0: 19:[25, 44] Operation: 58-14=44 Exploring Operation: 58-25=33, Resulting Numbers: [14, 33] Generated Node #0,1,1: 19:[14, 33] Operation: 58-25=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[14, 33], Operations: ['90-32=58', '58-25=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[90, 25, 32, 14], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [25, 14, 58] Generated Node #0,1: 19:[25, 14, 58] Operation: 90-32=58 Moving to Node #0,1 Current State: 19:[25, 14, 58], Operations: ['90-32=58'] Exploring Operation: 58-25=33, Resulting Numbers: [14, 33] Generated Node #0,1,1: 19:[14, 33] Operation: 58-25=33 Moving to Node #0,1,1 Current State: 19:[14, 33], Operations: ['90-32=58', '58-25=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 88, 8, 62, 57 ]
39
[ "88-8=80", "62+57=119", "119-80=39" ]
Current State: 39:[88, 8, 62, 57], Operations: [] Exploring Operation: 88-8=80, Resulting Numbers: [62, 57, 80] Generated Node #2: [62, 57, 80] from Operation: 88-8=80 Current State: 39:[62, 57, 80], Operations: ['88-8=80'] Exploring Operation: 62+57=119, Resulting Numbers: [80, 119] Generated Node #3: [80, 119] from Operation: 62+57=119 Current State: 39:[80, 119], Operations: ['88-8=80', '62+57=119'] Exploring Operation: 119-80=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[88, 8, 62, 57], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [8, 62, 31] Generated Node #0,0: 39:[8, 62, 31] Operation: 88-57=31 Exploring Operation: 88-62=26, Resulting Numbers: [8, 57, 26] Generated Node #0,1: 39:[8, 57, 26] Operation: 88-62=26 Exploring Operation: 88/8=11, Resulting Numbers: [62, 57, 11] Generated Node #0,2: 39:[62, 57, 11] Operation: 88/8=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[8, 62, 31], Operations: ['88-57=31'] Exploring Operation: 62-8=54, Resulting Numbers: [31, 54] Generated Node #0,0,0: 39:[31, 54] Operation: 62-8=54 Exploring Operation: 62/31=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 39:[8, 2] Operation: 62/31=2 Exploring Operation: 62-31=31, Resulting Numbers: [8, 31] Generated Node #0,0,2: 39:[8, 31] Operation: 62-31=31 Moving to Node #0,0,1 Current State: 39:[8, 2], Operations: ['88-57=31', '62/31=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[8, 31], Operations: ['88-57=31', '62-31=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,39 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[88, 8, 62, 57], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [8, 62, 31] Generated Node #0,0: 39:[8, 62, 31] Operation: 88-57=31 Moving to Node #0,0 Current State: 39:[8, 62, 31], Operations: ['88-57=31'] Exploring Operation: 62-31=31, Resulting Numbers: [8, 31] Generated Node #0,0,2: 39:[8, 31] Operation: 62-31=31 Moving to Node #0,0,2 Current State: 39:[8, 31], Operations: ['88-57=31', '62-31=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 71, 21, 15, 63 ]
83
[ "71+15=86", "63/21=3", "86-3=83" ]
Current State: 83:[71, 21, 15, 63], Operations: [] Exploring Operation: 71+15=86, Resulting Numbers: [21, 63, 86] Generated Node #2: [21, 63, 86] from Operation: 71+15=86 Current State: 83:[21, 63, 86], Operations: ['71+15=86'] Exploring Operation: 63/21=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 63/21=3 Current State: 83:[86, 3], Operations: ['71+15=86', '63/21=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[71, 21, 15, 63], Operations: [] Exploring Operation: 21+63=84, Resulting Numbers: [71, 15, 84] Generated Node #0,0: 83:[71, 15, 84] Operation: 21+63=84 Exploring Operation: 21+15=36, Resulting Numbers: [71, 63, 36] Generated Node #0,1: 83:[71, 63, 36] Operation: 21+15=36 Exploring Operation: 15+63=78, Resulting Numbers: [71, 21, 78] Generated Node #0,2: 83:[71, 21, 78] Operation: 15+63=78 Moving to Node #0,1 Current State: 83:[71, 63, 36], Operations: ['21+15=36'] Exploring Operation: 71-36=35, Resulting Numbers: [63, 35] Generated Node #0,1,0: 83:[63, 35] Operation: 71-36=35 Exploring Operation: 71+36=107, Resulting Numbers: [63, 107] Generated Node #0,1,1: 83:[63, 107] Operation: 71+36=107 Exploring Operation: 63+36=99, Resulting Numbers: [71, 99] Generated Node #0,1,2: 83:[71, 99] Operation: 63+36=99 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[71, 99], Operations: ['21+15=36', '63+36=99'] Exploring Operation: 71+99=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 71*99=7029, Resulting Numbers: [7029] 7029,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[63, 107], Operations: ['21+15=36', '71+36=107'] Exploring Operation: 107-63=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 63+107=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 63*107=6741, Resulting Numbers: [6741] 6741,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[63, 35], Operations: ['21+15=36', '71-36=35'] Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 63*35=2205, Resulting Numbers: [2205] 2205,83 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,83 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: 83:[71, 21, 78], Operations: ['15+63=78'] Exploring Operation: 21+78=99, Resulting Numbers: [71, 99] Generated Node #0,2,0: 83:[71, 99] Operation: 21+78=99 Exploring Operation: 71-21=50, Resulting Numbers: [78, 50] Generated Node #0,2,1: 83:[78, 50] Operation: 71-21=50 Exploring Operation: 71+21=92, Resulting Numbers: [78, 92] Generated Node #0,2,2: 83:[78, 92] Operation: 71+21=92 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[78, 92], Operations: ['15+63=78', '71+21=92'] Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,83 unequal: No Solution Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[71, 99], Operations: ['15+63=78', '21+78=99'] Exploring Operation: 71+99=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 71*99=7029, Resulting Numbers: [7029] 7029,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[78, 50], Operations: ['15+63=78', '71-21=50'] Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 78*50=3900, Resulting Numbers: [3900] 3900,83 unequal: No Solution Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,83 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: 83:[71, 15, 84], Operations: ['21+63=84'] Exploring Operation: 84-15=69, Resulting Numbers: [71, 69] Generated Node #0,0,0: 83:[71, 69] Operation: 84-15=69 Exploring Operation: 71+15=86, Resulting Numbers: [84, 86] Generated Node #0,0,1: 83:[84, 86] Operation: 71+15=86 Exploring Operation: 71-15=56, Resulting Numbers: [84, 56] Generated Node #0,0,2: 83:[84, 56] Operation: 71-15=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[84, 86], Operations: ['21+63=84', '71+15=86'] Exploring Operation: 86-84=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 84+86=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 84*86=7224, Resulting Numbers: [7224] 7224,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[71, 69], Operations: ['21+63=84', '84-15=69'] Exploring Operation: 71+69=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 71*69=4899, Resulting Numbers: [4899] 4899,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[84, 56], Operations: ['21+63=84', '71-15=56'] Exploring Operation: 84+56=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 84*56=4704, Resulting Numbers: [4704] 4704,83 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,83 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
[ 82, 67, 90, 18 ]
41
[ "82+67=149", "90+18=108", "149-108=41" ]
Current State: 41:[82, 67, 90, 18], Operations: [] Exploring Operation: 82+67=149, Resulting Numbers: [90, 18, 149] Generated Node #2: [90, 18, 149] from Operation: 82+67=149 Current State: 41:[90, 18, 149], Operations: ['82+67=149'] Exploring Operation: 90+18=108, Resulting Numbers: [149, 108] Generated Node #3: [149, 108] from Operation: 90+18=108 Current State: 41:[149, 108], Operations: ['82+67=149', '90+18=108'] Exploring Operation: 149-108=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[82, 67, 90, 18], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [67, 18, 8] Generated Node #0,0: 41:[67, 18, 8] Operation: 90-82=8 Exploring Operation: 90-67=23, Resulting Numbers: [82, 18, 23] Generated Node #0,1: 41:[82, 18, 23] Operation: 90-67=23 Exploring Operation: 82-67=15, Resulting Numbers: [90, 18, 15] Generated Node #0,2: 41:[90, 18, 15] Operation: 82-67=15 Exploring Operation: 82-18=64, Resulting Numbers: [67, 90, 64] Generated Node #0,3: 41:[67, 90, 64] Operation: 82-18=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[67, 18, 8], Operations: ['90-82=8'] Exploring Operation: 67+8=75, Resulting Numbers: [18, 75] Generated Node #0,0,0: 41:[18, 75] Operation: 67+8=75 Exploring Operation: 18+8=26, Resulting Numbers: [67, 26] Generated Node #0,0,1: 41:[67, 26] Operation: 18+8=26 Exploring Operation: 67-18=49, Resulting Numbers: [8, 49] Generated Node #0,0,2: 41:[8, 49] Operation: 67-18=49 Exploring Operation: 67-8=59, Resulting Numbers: [18, 59] Generated Node #0,0,3: 41:[18, 59] Operation: 67-8=59 Moving to Node #0,0,1 Current State: 41:[67, 26], Operations: ['90-82=8', '18+8=26'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[82, 67, 90, 18], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [67, 18, 8] Generated Node #0,0: 41:[67, 18, 8] Operation: 90-82=8 Moving to Node #0,0 Current State: 41:[67, 18, 8], Operations: ['90-82=8'] Exploring Operation: 18+8=26, Resulting Numbers: [67, 26] Generated Node #0,0,1: 41:[67, 26] Operation: 18+8=26 Moving to Node #0,0,1 Current State: 41:[67, 26], Operations: ['90-82=8', '18+8=26'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 21, 18, 36, 66 ]
33
[ "21-18=3", "66-36=30", "3+30=33" ]
Current State: 33:[21, 18, 36, 66], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [36, 66, 3] Generated Node #2: [36, 66, 3] from Operation: 21-18=3 Current State: 33:[36, 66, 3], Operations: ['21-18=3'] Exploring Operation: 66-36=30, Resulting Numbers: [3, 30] Generated Node #3: [3, 30] from Operation: 66-36=30 Current State: 33:[3, 30], Operations: ['21-18=3', '66-36=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[21, 18, 36, 66], Operations: [] Exploring Operation: 66-36=30, Resulting Numbers: [21, 18, 30] Generated Node #0,0: 33:[21, 18, 30] Operation: 66-36=30 Exploring Operation: 66-21=45, Resulting Numbers: [18, 36, 45] Generated Node #0,1: 33:[18, 36, 45] Operation: 66-21=45 Exploring Operation: 66-18=48, Resulting Numbers: [21, 36, 48] Generated Node #0,2: 33:[21, 36, 48] Operation: 66-18=48 Exploring Operation: 21-18=3, Resulting Numbers: [36, 66, 3] Generated Node #0,3: 33:[36, 66, 3] Operation: 21-18=3 Moving to Node #0,0 Current State: 33:[21, 18, 30], Operations: ['66-36=30'] Exploring Operation: 30-18=12, Resulting Numbers: [21, 12] Generated Node #0,0,0: 33:[21, 12] Operation: 30-18=12 Exploring Operation: 21-18=3, Resulting Numbers: [30, 3] Generated Node #0,0,1: 33:[30, 3] Operation: 21-18=3 Exploring Operation: 30-21=9, Resulting Numbers: [18, 9] Generated Node #0,0,2: 33:[18, 9] Operation: 30-21=9 Exploring Operation: 21+18=39, Resulting Numbers: [30, 39] Generated Node #0,0,3: 33:[30, 39] Operation: 21+18=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[30, 3], Operations: ['66-36=30', '21-18=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[21, 18, 36, 66], Operations: [] Exploring Operation: 66-36=30, Resulting Numbers: [21, 18, 30] Generated Node #0,0: 33:[21, 18, 30] Operation: 66-36=30 Moving to Node #0,0 Current State: 33:[21, 18, 30], Operations: ['66-36=30'] Exploring Operation: 21-18=3, Resulting Numbers: [30, 3] Generated Node #0,0,1: 33:[30, 3] Operation: 21-18=3 Moving to Node #0,0,1 Current State: 33:[30, 3], Operations: ['66-36=30', '21-18=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 77, 5, 2, 42 ]
20
[ "77+5=82", "82-42=40", "40/2=20" ]
Current State: 20:[77, 5, 2, 42], Operations: [] Exploring Operation: 77+5=82, Resulting Numbers: [2, 42, 82] Generated Node #2: [2, 42, 82] from Operation: 77+5=82 Current State: 20:[2, 42, 82], Operations: ['77+5=82'] Exploring Operation: 82-42=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 82-42=40 Current State: 20:[2, 40], Operations: ['77+5=82', '82-42=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[77, 5, 2, 42], Operations: [] Exploring Operation: 77-42=35, Resulting Numbers: [5, 2, 35] Generated Node #0,0: 20:[5, 2, 35] Operation: 77-42=35 Exploring Operation: 42/2=21, Resulting Numbers: [77, 5, 21] Generated Node #0,1: 20:[77, 5, 21] Operation: 42/2=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[5, 2, 35], Operations: ['77-42=35'] Exploring Operation: 35/5=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 20:[2, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [2, 30] Generated Node #0,0,1: 20:[2, 30] Operation: 35-5=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[2, 7], Operations: ['77-42=35', '35/5=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,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,1 Current State: 20:[2, 30], Operations: ['77-42=35', '35-5=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,20 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,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,1 Current State: 20:[77, 5, 21], Operations: ['42/2=21'] Exploring Operation: 77-5=72, Resulting Numbers: [21, 72] Generated Node #0,1,0: 20:[21, 72] Operation: 77-5=72 Exploring Operation: 77-21=56, Resulting Numbers: [5, 56] Generated Node #0,1,1: 20:[5, 56] Operation: 77-21=56 Moving to Node #0,1,1 Current State: 20:[5, 56], Operations: ['42/2=21', '77-21=56'] Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[21, 72], Operations: ['42/2=21', '77-5=72'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,20 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
[ 26, 72, 19, 33 ]
74
[ "19+33=52", "52/26=2", "72+2=74" ]
Current State: 74:[26, 72, 19, 33], Operations: [] Exploring Operation: 19+33=52, Resulting Numbers: [26, 72, 52] Generated Node #2: [26, 72, 52] from Operation: 19+33=52 Current State: 74:[26, 72, 52], Operations: ['19+33=52'] Exploring Operation: 52/26=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 52/26=2 Current State: 74:[72, 2], Operations: ['19+33=52', '52/26=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[26, 72, 19, 33], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [72, 19, 7] Generated Node #0,0: 74:[72, 19, 7] Operation: 33-26=7 Exploring Operation: 33-19=14, Resulting Numbers: [26, 72, 14] Generated Node #0,1: 74:[26, 72, 14] Operation: 33-19=14 Exploring Operation: 26+19=45, Resulting Numbers: [72, 33, 45] Generated Node #0,2: 74:[72, 33, 45] Operation: 26+19=45 Exploring Operation: 26-19=7, Resulting Numbers: [72, 33, 7] Generated Node #0,3: 74:[72, 33, 7] Operation: 26-19=7 Moving to Node #0,3 Current State: 74:[72, 33, 7], Operations: ['26-19=7'] Exploring Operation: 72-7=65, Resulting Numbers: [33, 65] Generated Node #0,3,0: 74:[33, 65] Operation: 72-7=65 Exploring Operation: 33+7=40, Resulting Numbers: [72, 40] Generated Node #0,3,1: 74:[72, 40] Operation: 33+7=40 Exploring Operation: 72-33=39, Resulting Numbers: [7, 39] Generated Node #0,3,2: 74:[7, 39] Operation: 72-33=39 Exploring Operation: 72+7=79, Resulting Numbers: [33, 79] Generated Node #0,3,3: 74:[33, 79] Operation: 72+7=79 Moving to Node #0,2 Current State: 74:[72, 33, 45], Operations: ['26+19=45'] Exploring Operation: 45-33=12, Resulting Numbers: [72, 12] Generated Node #0,2,0: 74:[72, 12] Operation: 45-33=12 Exploring Operation: 33+45=78, Resulting Numbers: [72, 78] Generated Node #0,2,1: 74:[72, 78] Operation: 33+45=78 Exploring Operation: 72-45=27, Resulting Numbers: [33, 27] Generated Node #0,2,2: 74:[33, 27] Operation: 72-45=27 Exploring Operation: 72-33=39, Resulting Numbers: [45, 39] Generated Node #0,2,3: 74:[45, 39] Operation: 72-33=39 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[72, 78], Operations: ['26+19=45', '33+45=78'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,74 unequal: No Solution Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[45, 39], Operations: ['26+19=45', '72-33=39'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[72, 12], Operations: ['26+19=45', '45-33=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[33, 27], Operations: ['26+19=45', '72-45=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[72, 19, 7], Operations: ['33-26=7'] Exploring Operation: 72-19=53, Resulting Numbers: [7, 53] Generated Node #0,0,0: 74:[7, 53] Operation: 72-19=53 Exploring Operation: 19+7=26, Resulting Numbers: [72, 26] Generated Node #0,0,1: 74:[72, 26] Operation: 19+7=26 Exploring Operation: 72+19=91, Resulting Numbers: [7, 91] Generated Node #0,0,2: 74:[7, 91] Operation: 72+19=91 Exploring Operation: 19-7=12, Resulting Numbers: [72, 12] Generated Node #0,0,3: 74:[72, 12] Operation: 19-7=12 Moving to Node #0,1 Current State: 74:[26, 72, 14], Operations: ['33-19=14'] Exploring Operation: 26-14=12, Resulting Numbers: [72, 12] Generated Node #0,1,0: 74:[72, 12] Operation: 26-14=12 Exploring Operation: 26+14=40, Resulting Numbers: [72, 40] Generated Node #0,1,1: 74:[72, 40] Operation: 26+14=40 Exploring Operation: 72-26=46, Resulting Numbers: [14, 46] Generated Node #0,1,2: 74:[14, 46] Operation: 72-26=46 Exploring Operation: 72+14=86, Resulting Numbers: [26, 86] Generated Node #0,1,3: 74:[26, 86] Operation: 72+14=86 Moving to Node #0,3,1 Current State: 74:[72, 40], Operations: ['26-19=7', '33+7=40'] Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,74 unequal: No Solution Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[72, 40], Operations: ['33-19=14', '26+14=40'] Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,74 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[7, 39], Operations: ['26-19=7', '72-33=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,74 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[33, 79], Operations: ['26-19=7', '72+7=79'] Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 33*79=2607, Resulting Numbers: [2607] 2607,74 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[72, 12], Operations: ['33-26=7', '19-7=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,74 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[72, 12], Operations: ['33-19=14', '26-14=12'] Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,74 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[72, 26], Operations: ['33-26=7', '19+7=26'] Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,74 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,74 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[33, 65], Operations: ['26-19=7', '72-7=65'] Exploring Operation: 33*65=2145, Resulting Numbers: [2145] 2145,74 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,74 unequal: No Solution Exploring Operation: 33+65=98, Resulting Numbers: [98] 98,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[14, 46], Operations: ['33-19=14', '72-26=46'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,74 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[7, 53], Operations: ['33-26=7', '72-19=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 7*53=371, Resulting Numbers: [371] 371,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[7, 91], Operations: ['33-26=7', '72+19=91'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 7*91=637, Resulting Numbers: [637] 637,74 unequal: No Solution Exploring Operation: 7+91=98, Resulting Numbers: [98] 98,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[26, 86], Operations: ['33-19=14', '72+14=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,74 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 61, 4, 63, 58 ]
75
[ "61-58=3", "4*3=12", "63+12=75" ]
Current State: 75:[61, 4, 63, 58], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [4, 63, 3] Generated Node #2: [4, 63, 3] from Operation: 61-58=3 Current State: 75:[4, 63, 3], Operations: ['61-58=3'] Exploring Operation: 4*3=12, Resulting Numbers: [63, 12] Generated Node #3: [63, 12] from Operation: 4*3=12 Current State: 75:[63, 12], Operations: ['61-58=3', '4*3=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[61, 4, 63, 58], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [4, 63, 3] Generated Node #0,0: 75:[4, 63, 3] Operation: 61-58=3 Exploring Operation: 61+4=65, Resulting Numbers: [63, 58, 65] Generated Node #0,1: 75:[63, 58, 65] Operation: 61+4=65 Exploring Operation: 63-61=2, Resulting Numbers: [4, 58, 2] Generated Node #0,2: 75:[4, 58, 2] Operation: 63-61=2 Exploring Operation: 63-58=5, Resulting Numbers: [61, 4, 5] Generated Node #0,3: 75:[61, 4, 5] Operation: 63-58=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[4, 63, 3], Operations: ['61-58=3'] Exploring Operation: 4+3=7, Resulting Numbers: [63, 7] Generated Node #0,0,0: 75:[63, 7] Operation: 4+3=7 Exploring Operation: 63/3=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 75:[4, 21] Operation: 63/3=21 Exploring Operation: 4+63=67, Resulting Numbers: [3, 67] Generated Node #0,0,2: 75:[3, 67] Operation: 4+63=67 Exploring Operation: 63+3=66, Resulting Numbers: [4, 66] Generated Node #0,0,3: 75:[4, 66] Operation: 63+3=66 Moving to Node #0,0,1 Current State: 75:[4, 21], Operations: ['61-58=3', '63/3=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,75 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[3, 67], Operations: ['61-58=3', '4+63=67'] Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,75 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[4, 66], Operations: ['61-58=3', '63+3=66'] Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,75 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[63, 7], Operations: ['61-58=3', '4+3=7'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 63*7=441, Resulting Numbers: [441] 441,75 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,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,3 Current State: 75:[61, 4, 5], Operations: ['63-58=5'] Exploring Operation: 5-4=1, Resulting Numbers: [61, 1] Generated Node #0,3,0: 75:[61, 1] Operation: 5-4=1 Exploring Operation: 61+4=65, Resulting Numbers: [5, 65] Generated Node #0,3,1: 75:[5, 65] Operation: 61+4=65 Exploring Operation: 61+5=66, Resulting Numbers: [4, 66] Generated Node #0,3,2: 75:[4, 66] Operation: 61+5=66 Exploring Operation: 61-4=57, Resulting Numbers: [5, 57] Generated Node #0,3,3: 75:[5, 57] Operation: 61-4=57 Moving to Node #0,3,1 Current State: 75:[5, 65], Operations: ['63-58=5', '61+4=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 5*65=325, Resulting Numbers: [325] 325,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[4, 66], Operations: ['63-58=5', '61+5=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,75 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[61, 1], Operations: ['63-58=5', '5-4=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[5, 57], Operations: ['63-58=5', '61-4=57'] Exploring Operation: 5*57=285, Resulting Numbers: [285] 285,75 unequal: No Solution Exploring Operation: 5+57=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,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,2 Current State: 75:[4, 58, 2], Operations: ['63-61=2'] Exploring Operation: 4+2=6, Resulting Numbers: [58, 6] Generated Node #0,2,0: 75:[58, 6] Operation: 4+2=6 Exploring Operation: 58+2=60, Resulting Numbers: [4, 60] Generated Node #0,2,1: 75:[4, 60] Operation: 58+2=60 Exploring Operation: 58/2=29, Resulting Numbers: [4, 29] Generated Node #0,2,2: 75:[4, 29] Operation: 58/2=29 Exploring Operation: 4+58=62, Resulting Numbers: [2, 62] Generated Node #0,2,3: 75:[2, 62] Operation: 4+58=62 Moving to Node #0,2,2 Current State: 75:[4, 29], Operations: ['63-61=2', '58/2=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,75 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[2, 62], Operations: ['63-61=2', '4+58=62'] Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,75 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,75 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[4, 60], Operations: ['63-61=2', '58+2=60'] Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,75 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,75 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[58, 6], Operations: ['63-61=2', '4+2=6'] Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,75 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,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 Current State: 75:[63, 58, 65], Operations: ['61+4=65'] Exploring Operation: 63+58=121, Resulting Numbers: [65, 121] Generated Node #0,1,0: 75:[65, 121] Operation: 63+58=121 Exploring Operation: 63-58=5, Resulting Numbers: [65, 5] Generated Node #0,1,1: 75:[65, 5] Operation: 63-58=5 Exploring Operation: 65-63=2, Resulting Numbers: [58, 2] Generated Node #0,1,2: 75:[58, 2] Operation: 65-63=2 Exploring Operation: 65-58=7, Resulting Numbers: [63, 7] Generated Node #0,1,3: 75:[63, 7] Operation: 65-58=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[65, 5], Operations: ['61+4=65', '63-58=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,75 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,75 unequal: No Solution No 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: 75:[63, 7], Operations: ['61+4=65', '65-58=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 63*7=441, Resulting Numbers: [441] 441,75 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,75 unequal: No Solution No 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: 75:[58, 2], Operations: ['61+4=65', '65-63=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,75 unequal: No Solution No 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: 75:[65, 121], Operations: ['61+4=65', '63+58=121'] Exploring Operation: 65*121=7865, Resulting Numbers: [7865] 7865,75 unequal: No Solution Exploring Operation: 65+121=186, Resulting Numbers: [186] 186,75 unequal: No Solution Exploring Operation: 121-65=56, Resulting Numbers: [56] 56,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_4
sum_heuristic
[ 56, 72, 83, 58 ]
94
[ "58-56=2", "83*2=166", "166-72=94" ]
Current State: 94:[56, 72, 83, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [72, 83, 2] Generated Node #2: [72, 83, 2] from Operation: 58-56=2 Current State: 94:[72, 83, 2], Operations: ['58-56=2'] Exploring Operation: 83*2=166, Resulting Numbers: [72, 166] Generated Node #3: [72, 166] from Operation: 83*2=166 Current State: 94:[72, 166], Operations: ['58-56=2', '83*2=166'] Exploring Operation: 166-72=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[56, 72, 83, 58], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [56, 58, 11] Generated Node #0,0: 94:[56, 58, 11] Operation: 83-72=11 Exploring Operation: 83-56=27, Resulting Numbers: [72, 58, 27] Generated Node #0,1: 94:[72, 58, 27] Operation: 83-56=27 Exploring Operation: 72-56=16, Resulting Numbers: [83, 58, 16] Generated Node #0,2: 94:[83, 58, 16] Operation: 72-56=16 Exploring Operation: 58-56=2, Resulting Numbers: [72, 83, 2] Generated Node #0,3: 94:[72, 83, 2] Operation: 58-56=2 Exploring Operation: 72-58=14, Resulting Numbers: [56, 83, 14] Generated Node #0,4: 94:[56, 83, 14] Operation: 72-58=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[56, 58, 11], Operations: ['83-72=11'] Exploring Operation: 56+11=67, Resulting Numbers: [58, 67] Generated Node #0,0,0: 94:[58, 67] Operation: 56+11=67 Exploring Operation: 58-56=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 94:[11, 2] Operation: 58-56=2 Exploring Operation: 56-11=45, Resulting Numbers: [58, 45] Generated Node #0,0,2: 94:[58, 45] Operation: 56-11=45 Exploring Operation: 56+58=114, Resulting Numbers: [11, 114] Generated Node #0,0,3: 94:[11, 114] Operation: 56+58=114 Exploring Operation: 58-11=47, Resulting Numbers: [56, 47] Generated Node #0,0,4: 94:[56, 47] Operation: 58-11=47 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[11, 2], Operations: ['83-72=11', '58-56=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 94:[56, 47], Operations: ['83-72=11', '58-11=47'] Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,94 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[58, 45], Operations: ['83-72=11', '56-11=45'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,94 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[11, 114], Operations: ['83-72=11', '56+58=114'] Exploring Operation: 11+114=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 114-11=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 11*114=1254, Resulting Numbers: [1254] 1254,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[58, 67], Operations: ['83-72=11', '56+11=67'] Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,94 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[56, 83, 14], Operations: ['72-58=14'] Exploring Operation: 83+14=97, Resulting Numbers: [56, 97] Generated Node #0,4,0: 94:[56, 97] Operation: 83+14=97 Exploring Operation: 56/14=4, Resulting Numbers: [83, 4] Generated Node #0,4,1: 94:[83, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [83, 42] Generated Node #0,4,2: 94:[83, 42] Operation: 56-14=42 Exploring Operation: 83-14=69, Resulting Numbers: [56, 69] Generated Node #0,4,3: 94:[56, 69] Operation: 83-14=69 Exploring Operation: 83-56=27, Resulting Numbers: [14, 27] Generated Node #0,4,4: 94:[14, 27] Operation: 83-56=27 Moving to Node #0,4,0 Current State: 94:[56, 97], Operations: ['72-58=14', '83+14=97'] Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 56*97=5432, Resulting Numbers: [5432] 5432,94 unequal: No Solution Exploring Operation: 56+97=153, Resulting Numbers: [153] 153,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[83, 4], Operations: ['72-58=14', '56/14=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[83, 42], Operations: ['72-58=14', '56-14=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,94 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[56, 69], Operations: ['72-58=14', '83-14=69'] Exploring Operation: 56*69=3864, Resulting Numbers: [3864] 3864,94 unequal: No Solution Exploring Operation: 56+69=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[14, 27], Operations: ['72-58=14', '83-56=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,94 unequal: No Solution Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[72, 83, 2], Operations: ['58-56=2'] Exploring Operation: 83-72=11, Resulting Numbers: [2, 11] Generated Node #0,3,0: 94:[2, 11] Operation: 83-72=11 Exploring Operation: 72/2=36, Resulting Numbers: [83, 36] Generated Node #0,3,1: 94:[83, 36] Operation: 72/2=36 Exploring Operation: 83+2=85, Resulting Numbers: [72, 85] Generated Node #0,3,2: 94:[72, 85] Operation: 83+2=85 Exploring Operation: 72+2=74, Resulting Numbers: [83, 74] Generated Node #0,3,3: 94:[83, 74] Operation: 72+2=74 Exploring Operation: 72-2=70, Resulting Numbers: [83, 70] Generated Node #0,3,4: 94:[83, 70] Operation: 72-2=70 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 94:[2, 11], Operations: ['58-56=2', '83-72=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 94:[83, 36], Operations: ['58-56=2', '72/2=36'] Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,94 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 94:[72, 85], Operations: ['58-56=2', '83+2=85'] Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 72*85=6120, Resulting Numbers: [6120] 6120,94 unequal: No Solution Exploring Operation: 72+85=157, Resulting Numbers: [157] 157,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 94:[83, 74], Operations: ['58-56=2', '72+2=74'] Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 83*74=6142, Resulting Numbers: [6142] 6142,94 unequal: No Solution Exploring Operation: 83+74=157, Resulting Numbers: [157] 157,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 94:[83, 70], Operations: ['58-56=2', '72-2=70'] Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,94 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[83, 58, 16], Operations: ['72-56=16'] Exploring Operation: 58-16=42, Resulting Numbers: [83, 42] Generated Node #0,2,0: 94:[83, 42] Operation: 58-16=42 Exploring Operation: 83-58=25, Resulting Numbers: [16, 25] Generated Node #0,2,1: 94:[16, 25] Operation: 83-58=25 Exploring Operation: 83-16=67, Resulting Numbers: [58, 67] Generated Node #0,2,2: 94:[58, 67] Operation: 83-16=67 Exploring Operation: 58+16=74, Resulting Numbers: [83, 74] Generated Node #0,2,3: 94:[83, 74] Operation: 58+16=74 Exploring Operation: 83+16=99, Resulting Numbers: [58, 99] Generated Node #0,2,4: 94:[58, 99] Operation: 83+16=99 Moving to Node #0,2,0 Current State: 94:[83, 42], Operations: ['72-56=16', '58-16=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[58, 99], Operations: ['72-56=16', '83+16=99'] Exploring Operation: 99-58=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 58+99=157, Resulting Numbers: [157] 157,94 unequal: No Solution Exploring Operation: 58*99=5742, Resulting Numbers: [5742] 5742,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[58, 67], Operations: ['72-56=16', '83-16=67'] Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,94 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[83, 74], Operations: ['72-56=16', '58+16=74'] Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 83*74=6142, Resulting Numbers: [6142] 6142,94 unequal: No Solution Exploring Operation: 83+74=157, Resulting Numbers: [157] 157,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[16, 25], Operations: ['72-56=16', '83-58=25'] Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,94 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,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 Current State: 94:[72, 58, 27], Operations: ['83-56=27'] Exploring Operation: 72+27=99, Resulting Numbers: [58, 99] Generated Node #0,1,0: 94:[58, 99] Operation: 72+27=99 Exploring Operation: 72-58=14, Resulting Numbers: [27, 14] Generated Node #0,1,1: 94:[27, 14] Operation: 72-58=14 Exploring Operation: 72-27=45, Resulting Numbers: [58, 45] Generated Node #0,1,2: 94:[58, 45] Operation: 72-27=45 Exploring Operation: 58+27=85, Resulting Numbers: [72, 85] Generated Node #0,1,3: 94:[72, 85] Operation: 58+27=85 Exploring Operation: 58-27=31, Resulting Numbers: [72, 31] Generated Node #0,1,4: 94:[72, 31] Operation: 58-27=31 Moving to Node #0,1,2 Current State: 94:[58, 45], Operations: ['83-56=27', '72-27=45'] Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,94 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[58, 99], Operations: ['83-56=27', '72+27=99'] Exploring Operation: 99-58=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 58*99=5742, Resulting Numbers: [5742] 5742,94 unequal: No Solution Exploring Operation: 58+99=157, Resulting Numbers: [157] 157,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[72, 85], Operations: ['83-56=27', '58+27=85'] Exploring Operation: 72*85=6120, Resulting Numbers: [6120] 6120,94 unequal: No Solution Exploring Operation: 72+85=157, Resulting Numbers: [157] 157,94 unequal: No Solution Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[27, 14], Operations: ['83-56=27', '72-58=14'] Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,94 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,94 unequal: No Solution Moving to Node #0,1,4 Current State: 94:[72, 31], Operations: ['83-56=27', '58-27=31'] Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,94 unequal: No Solution Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,94 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
[ 71, 89, 19, 80 ]
81
[ "89-71=18", "19+80=99", "99-18=81" ]
Current State: 81:[71, 89, 19, 80], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [19, 80, 18] Generated Node #2: [19, 80, 18] from Operation: 89-71=18 Current State: 81:[19, 80, 18], Operations: ['89-71=18'] Exploring Operation: 19+80=99, Resulting Numbers: [18, 99] Generated Node #3: [18, 99] from Operation: 19+80=99 Current State: 81:[18, 99], Operations: ['89-71=18', '19+80=99'] Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[71, 89, 19, 80], Operations: [] Exploring Operation: 71+19=90, Resulting Numbers: [89, 80, 90] Generated Node #0,0: 81:[89, 80, 90] Operation: 71+19=90 Exploring Operation: 89-71=18, Resulting Numbers: [19, 80, 18] Generated Node #0,1: 81:[19, 80, 18] Operation: 89-71=18 Exploring Operation: 89-80=9, Resulting Numbers: [71, 19, 9] Generated Node #0,2: 81:[71, 19, 9] Operation: 89-80=9 Exploring Operation: 89-19=70, Resulting Numbers: [71, 80, 70] Generated Node #0,3: 81:[71, 80, 70] Operation: 89-19=70 Exploring Operation: 80-71=9, Resulting Numbers: [89, 19, 9] Generated Node #0,4: 81:[89, 19, 9] Operation: 80-71=9 Moving to Node #0,4 Current State: 81:[89, 19, 9], Operations: ['80-71=9'] Exploring Operation: 19+9=28, Resulting Numbers: [89, 28] Generated Node #0,4,0: 81:[89, 28] Operation: 19+9=28 Exploring Operation: 89+9=98, Resulting Numbers: [19, 98] Generated Node #0,4,1: 81:[19, 98] Operation: 89+9=98 Exploring Operation: 89-9=80, Resulting Numbers: [19, 80] Generated Node #0,4,2: 81:[19, 80] Operation: 89-9=80 Exploring Operation: 19-9=10, Resulting Numbers: [89, 10] Generated Node #0,4,3: 81:[89, 10] Operation: 19-9=10 Exploring Operation: 89-19=70, Resulting Numbers: [9, 70] Generated Node #0,4,4: 81:[9, 70] Operation: 89-19=70 Moving to Node #0,1 Current State: 81:[19, 80, 18], Operations: ['89-71=18'] Exploring Operation: 19+80=99, Resulting Numbers: [18, 99] Generated Node #0,1,0: 81:[18, 99] Operation: 19+80=99 Exploring Operation: 80-18=62, Resulting Numbers: [19, 62] Generated Node #0,1,1: 81:[19, 62] Operation: 80-18=62 Exploring Operation: 19-18=1, Resulting Numbers: [80, 1] Generated Node #0,1,2: 81:[80, 1] Operation: 19-18=1 Exploring Operation: 80+18=98, Resulting Numbers: [19, 98] Generated Node #0,1,3: 81:[19, 98] Operation: 80+18=98 Exploring Operation: 19+18=37, Resulting Numbers: [80, 37] Generated Node #0,1,4: 81:[80, 37] Operation: 19+18=37 Moving to Node #0,0 Current State: 81:[89, 80, 90], Operations: ['71+19=90'] Exploring Operation: 90-80=10, Resulting Numbers: [89, 10] Generated Node #0,0,0: 81:[89, 10] Operation: 90-80=10 Exploring Operation: 89-80=9, Resulting Numbers: [90, 9] Generated Node #0,0,1: 81:[90, 9] Operation: 89-80=9 Exploring Operation: 80+90=170, Resulting Numbers: [89, 170] Generated Node #0,0,2: 81:[89, 170] Operation: 80+90=170 Exploring Operation: 90-89=1, Resulting Numbers: [80, 1] Generated Node #0,0,3: 81:[80, 1] Operation: 90-89=1 Exploring Operation: 89+80=169, Resulting Numbers: [90, 169] Generated Node #0,0,4: 81:[90, 169] Operation: 89+80=169 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[80, 1], Operations: ['71+19=90', '90-89=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[71, 89, 19, 80], Operations: [] Exploring Operation: 71+19=90, Resulting Numbers: [89, 80, 90] Generated Node #0,0: 81:[89, 80, 90] Operation: 71+19=90 Moving to Node #0,0 Current State: 81:[89, 80, 90], Operations: ['71+19=90'] Exploring Operation: 90-89=1, Resulting Numbers: [80, 1] Generated Node #0,0,3: 81:[80, 1] Operation: 90-89=1 Moving to Node #0,0,3 Current State: 81:[80, 1], Operations: ['71+19=90', '90-89=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 46, 49, 3, 52 ]
53
[ "49-46=3", "3/3=1", "52+1=53" ]
Current State: 53:[46, 49, 3, 52], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [3, 52, 3] Generated Node #2: [3, 52, 3] from Operation: 49-46=3 Current State: 53:[3, 52, 3], Operations: ['49-46=3'] Exploring Operation: 3/3=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 3/3=1 Current State: 53:[52, 1], Operations: ['49-46=3', '3/3=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[46, 49, 3, 52], Operations: [] Exploring Operation: 49+3=52, Resulting Numbers: [46, 52, 52] Generated Node #0,0: 53:[46, 52, 52] Operation: 49+3=52 Exploring Operation: 46+3=49, Resulting Numbers: [49, 52, 49] Generated Node #0,1: 53:[49, 52, 49] Operation: 46+3=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[46, 52, 52], Operations: ['49+3=52'] Exploring Operation: 46+52=98, Resulting Numbers: [52, 98] Generated Node #0,0,0: 53:[52, 98] Operation: 46+52=98 Exploring Operation: 46+52=98, Resulting Numbers: [52, 98] Generated Node #0,0,1: 53:[52, 98] Operation: 46+52=98 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[52, 98], Operations: ['49+3=52', '46+52=98'] Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[52, 98], Operations: ['49+3=52', '46+52=98'] Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[49, 52, 49], Operations: ['46+3=49'] Exploring Operation: 49+49=98, Resulting Numbers: [52, 98] Generated Node #0,1,0: 53:[52, 98] Operation: 49+49=98 Exploring Operation: 49+52=101, Resulting Numbers: [49, 101] Generated Node #0,1,1: 53:[49, 101] Operation: 49+52=101 Moving to Node #0,1,0 Current State: 53:[52, 98], Operations: ['46+3=49', '49+49=98'] Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[49, 101], Operations: ['46+3=49', '49+52=101'] Exploring Operation: 49+101=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 101-49=52, Resulting Numbers: [52] 52,53 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
[ 16, 34, 54, 12 ]
60
[ "34-16=18", "54-12=42", "18+42=60" ]
Current State: 60:[16, 34, 54, 12], Operations: [] Exploring Operation: 34-16=18, Resulting Numbers: [54, 12, 18] Generated Node #2: [54, 12, 18] from Operation: 34-16=18 Current State: 60:[54, 12, 18], Operations: ['34-16=18'] Exploring Operation: 54-12=42, Resulting Numbers: [18, 42] Generated Node #3: [18, 42] from Operation: 54-12=42 Current State: 60:[18, 42], Operations: ['34-16=18', '54-12=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[16, 34, 54, 12], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [16, 12, 20] Generated Node #0,0: 60:[16, 12, 20] Operation: 54-34=20 Exploring Operation: 34-16=18, Resulting Numbers: [54, 12, 18] Generated Node #0,1: 60:[54, 12, 18] Operation: 34-16=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[16, 12, 20], Operations: ['54-34=20'] Exploring Operation: 20-16=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 60:[12, 4] Operation: 20-16=4 Exploring Operation: 16-12=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 60:[20, 4] Operation: 16-12=4 Moving to Node #0,0,0 Current State: 60:[12, 4], Operations: ['54-34=20', '20-16=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[20, 4], Operations: ['54-34=20', '16-12=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,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 Current State: 60:[54, 12, 18], Operations: ['34-16=18'] Exploring Operation: 54/18=3, Resulting Numbers: [12, 3] Generated Node #0,1,0: 60:[12, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 60:[12, 36] Operation: 54-18=36 Moving to Node #0,1,0 Current State: 60:[12, 3], Operations: ['34-16=18', '54/18=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[12, 36], Operations: ['34-16=18', '54-18=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,60 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
[ 44, 46, 95, 31 ]
63
[ "46-44=2", "95+31=126", "126/2=63" ]
Current State: 63:[44, 46, 95, 31], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [95, 31, 2] Generated Node #2: [95, 31, 2] from Operation: 46-44=2 Current State: 63:[95, 31, 2], Operations: ['46-44=2'] Exploring Operation: 95+31=126, Resulting Numbers: [2, 126] Generated Node #3: [2, 126] from Operation: 95+31=126 Current State: 63:[2, 126], Operations: ['46-44=2', '95+31=126'] Exploring Operation: 126/2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[44, 46, 95, 31], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [95, 31, 2] Generated Node #0,0: 63:[95, 31, 2] Operation: 46-44=2 Exploring Operation: 95-46=49, Resulting Numbers: [44, 31, 49] Generated Node #0,1: 63:[44, 31, 49] Operation: 95-46=49 Exploring Operation: 95-31=64, Resulting Numbers: [44, 46, 64] Generated Node #0,2: 63:[44, 46, 64] Operation: 95-31=64 Exploring Operation: 95-44=51, Resulting Numbers: [46, 31, 51] Generated Node #0,3: 63:[46, 31, 51] Operation: 95-44=51 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[44, 46, 64], Operations: ['95-31=64'] Exploring Operation: 64-44=20, Resulting Numbers: [46, 20] Generated Node #0,2,0: 63:[46, 20] Operation: 64-44=20 Exploring Operation: 44+46=90, Resulting Numbers: [64, 90] Generated Node #0,2,1: 63:[64, 90] Operation: 44+46=90 Exploring Operation: 64-46=18, Resulting Numbers: [44, 18] Generated Node #0,2,2: 63:[44, 18] Operation: 64-46=18 Exploring Operation: 46-44=2, Resulting Numbers: [64, 2] Generated Node #0,2,3: 63:[64, 2] Operation: 46-44=2 Moving to Node #0,2,3 Current State: 63:[64, 2], Operations: ['95-31=64', '46-44=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[46, 20], Operations: ['95-31=64', '64-44=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[44, 18], Operations: ['95-31=64', '64-46=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[64, 90], Operations: ['95-31=64', '44+46=90'] Exploring Operation: 90-64=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 64+90=154, Resulting Numbers: [154] 154,63 unequal: No Solution Exploring Operation: 64*90=5760, Resulting Numbers: [5760] 5760,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[46, 31, 51], Operations: ['95-44=51'] Exploring Operation: 46-31=15, Resulting Numbers: [51, 15] Generated Node #0,3,0: 63:[51, 15] Operation: 46-31=15 Exploring Operation: 51-46=5, Resulting Numbers: [31, 5] Generated Node #0,3,1: 63:[31, 5] Operation: 51-46=5 Exploring Operation: 51-31=20, Resulting Numbers: [46, 20] Generated Node #0,3,2: 63:[46, 20] Operation: 51-31=20 Exploring Operation: 46+31=77, Resulting Numbers: [51, 77] Generated Node #0,3,3: 63:[51, 77] Operation: 46+31=77 Moving to Node #0,3,1 Current State: 63:[31, 5], Operations: ['95-44=51', '51-46=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,63 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[46, 20], Operations: ['95-44=51', '51-31=20'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[51, 15], Operations: ['95-44=51', '46-31=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[51, 77], Operations: ['95-44=51', '46+31=77'] Exploring Operation: 51*77=3927, Resulting Numbers: [3927] 3927,63 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 51+77=128, Resulting Numbers: [128] 128,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 Current State: 63:[95, 31, 2], Operations: ['46-44=2'] Exploring Operation: 31-2=29, Resulting Numbers: [95, 29] Generated Node #0,0,0: 63:[95, 29] Operation: 31-2=29 Exploring Operation: 95-31=64, Resulting Numbers: [2, 64] Generated Node #0,0,1: 63:[2, 64] Operation: 95-31=64 Exploring Operation: 31*2=62, Resulting Numbers: [95, 62] Generated Node #0,0,2: 63:[95, 62] Operation: 31*2=62 Exploring Operation: 95-2=93, Resulting Numbers: [31, 93] Generated Node #0,0,3: 63:[31, 93] Operation: 95-2=93 Moving to Node #0,0,1 Current State: 63:[2, 64], Operations: ['46-44=2', '95-31=64'] Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[95, 62], Operations: ['46-44=2', '31*2=62'] Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,63 unequal: No Solution Exploring Operation: 95*62=5890, Resulting Numbers: [5890] 5890,63 unequal: No Solution Exploring Operation: 95+62=157, Resulting Numbers: [157] 157,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[31, 93], Operations: ['46-44=2', '95-2=93'] Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 31+93=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 31*93=2883, Resulting Numbers: [2883] 2883,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[95, 29], Operations: ['46-44=2', '31-2=29'] Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,63 unequal: No Solution Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[44, 31, 49], Operations: ['95-46=49'] Exploring Operation: 44-31=13, Resulting Numbers: [49, 13] Generated Node #0,1,0: 63:[49, 13] Operation: 44-31=13 Exploring Operation: 44+31=75, Resulting Numbers: [49, 75] Generated Node #0,1,1: 63:[49, 75] Operation: 44+31=75 Exploring Operation: 49-31=18, Resulting Numbers: [44, 18] Generated Node #0,1,2: 63:[44, 18] Operation: 49-31=18 Exploring Operation: 49-44=5, Resulting Numbers: [31, 5] Generated Node #0,1,3: 63:[31, 5] Operation: 49-44=5 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[31, 5], Operations: ['95-46=49', '49-44=5'] Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,63 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[49, 13], Operations: ['95-46=49', '44-31=13'] Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[44, 18], Operations: ['95-46=49', '49-31=18'] Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,63 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[49, 75], Operations: ['95-46=49', '44+31=75'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 49+75=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 49*75=3675, Resulting Numbers: [3675] 3675,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 17, 11, 22, 9 ]
100
[ "22-17=5", "11+9=20", "5*20=100" ]
Current State: 100:[17, 11, 22, 9], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [11, 9, 5] Generated Node #2: [11, 9, 5] from Operation: 22-17=5 Current State: 100:[11, 9, 5], Operations: ['22-17=5'] Exploring Operation: 11+9=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 11+9=20 Current State: 100:[5, 20], Operations: ['22-17=5', '11+9=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[17, 11, 22, 9], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [11, 9, 5] Generated Node #0,0: 100:[11, 9, 5] Operation: 22-17=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[11, 9, 5], Operations: ['22-17=5'] Exploring Operation: 11+9=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 100:[5, 20] Operation: 11+9=20 Moving to Node #0,0,0 Current State: 100:[5, 20], Operations: ['22-17=5', '11+9=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,100 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, 89, 14, 69 ]
98
[ "69/3=23", "89-14=75", "23+75=98" ]
Current State: 98:[3, 89, 14, 69], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [89, 14, 23] Generated Node #2: [89, 14, 23] from Operation: 69/3=23 Current State: 98:[89, 14, 23], Operations: ['69/3=23'] Exploring Operation: 89-14=75, Resulting Numbers: [23, 75] Generated Node #3: [23, 75] from Operation: 89-14=75 Current State: 98:[23, 75], Operations: ['69/3=23', '89-14=75'] Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[3, 89, 14, 69], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [3, 14, 20] Generated Node #0,0: 98:[3, 14, 20] Operation: 89-69=20 Moving to Node #0,0 Current State: 98:[3, 14, 20], Operations: ['89-69=20'] Exploring Operation: 20-14=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 98:[3, 6] Operation: 20-14=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[3, 6], Operations: ['89-69=20', '20-14=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,98 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
[ 33, 18, 39, 50 ]
74
[ "33-18=15", "39+50=89", "89-15=74" ]
Current State: 74:[33, 18, 39, 50], Operations: [] Exploring Operation: 33-18=15, Resulting Numbers: [39, 50, 15] Generated Node #2: [39, 50, 15] from Operation: 33-18=15 Current State: 74:[39, 50, 15], Operations: ['33-18=15'] Exploring Operation: 39+50=89, Resulting Numbers: [15, 89] Generated Node #3: [15, 89] from Operation: 39+50=89 Current State: 74:[15, 89], Operations: ['33-18=15', '39+50=89'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[33, 18, 39, 50], Operations: [] Exploring Operation: 33+50=83, Resulting Numbers: [18, 39, 83] Generated Node #0,0: 74:[18, 39, 83] Operation: 33+50=83 Exploring Operation: 50-18=32, Resulting Numbers: [33, 39, 32] Generated Node #0,1: 74:[33, 39, 32] Operation: 50-18=32 Exploring Operation: 18+50=68, Resulting Numbers: [33, 39, 68] Generated Node #0,2: 74:[33, 39, 68] Operation: 18+50=68 Moving to Node #0,1 Current State: 74:[33, 39, 32], Operations: ['50-18=32'] Exploring Operation: 39+32=71, Resulting Numbers: [33, 71] Generated Node #0,1,0: 74:[33, 71] Operation: 39+32=71 Exploring Operation: 33+39=72, Resulting Numbers: [32, 72] Generated Node #0,1,1: 74:[32, 72] Operation: 33+39=72 Exploring Operation: 33-32=1, Resulting Numbers: [39, 1] Generated Node #0,1,2: 74:[39, 1] Operation: 33-32=1 Moving to Node #0,2 Current State: 74:[33, 39, 68], Operations: ['18+50=68'] Exploring Operation: 33+39=72, Resulting Numbers: [68, 72] Generated Node #0,2,0: 74:[68, 72] Operation: 33+39=72 Exploring Operation: 68-33=35, Resulting Numbers: [39, 35] Generated Node #0,2,1: 74:[39, 35] Operation: 68-33=35 Exploring Operation: 39-33=6, Resulting Numbers: [68, 6] Generated Node #0,2,2: 74:[68, 6] Operation: 39-33=6 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[39, 35], Operations: ['18+50=68', '68-33=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,74 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[33, 18, 39, 50], Operations: [] Exploring Operation: 18+50=68, Resulting Numbers: [33, 39, 68] Generated Node #0,2: 74:[33, 39, 68] Operation: 18+50=68 Moving to Node #0,2 Current State: 74:[33, 39, 68], Operations: ['18+50=68'] Exploring Operation: 68-33=35, Resulting Numbers: [39, 35] Generated Node #0,2,1: 74:[39, 35] Operation: 68-33=35 Moving to Node #0,2,1 Current State: 74:[39, 35], Operations: ['18+50=68', '68-33=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 78, 22, 30, 35 ]
20
[ "78+22=100", "35-30=5", "100/5=20" ]
Current State: 20:[78, 22, 30, 35], Operations: [] Exploring Operation: 78+22=100, Resulting Numbers: [30, 35, 100] Generated Node #2: [30, 35, 100] from Operation: 78+22=100 Current State: 20:[30, 35, 100], Operations: ['78+22=100'] Exploring Operation: 35-30=5, Resulting Numbers: [100, 5] Generated Node #3: [100, 5] from Operation: 35-30=5 Current State: 20:[100, 5], Operations: ['78+22=100', '35-30=5'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[78, 22, 30, 35], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [22, 30, 43] Generated Node #0,0: 20:[22, 30, 43] Operation: 78-35=43 Moving to Node #0,0 Current State: 20:[22, 30, 43], Operations: ['78-35=43'] Exploring Operation: 43-30=13, Resulting Numbers: [22, 13] Generated Node #0,0,0: 20:[22, 13] Operation: 43-30=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[22, 13], Operations: ['78-35=43', '43-30=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 68, 71, 69, 52 ]
87
[ "71-68=3", "52*3=156", "156-69=87" ]
Current State: 87:[68, 71, 69, 52], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [69, 52, 3] Generated Node #2: [69, 52, 3] from Operation: 71-68=3 Current State: 87:[69, 52, 3], Operations: ['71-68=3'] Exploring Operation: 52*3=156, Resulting Numbers: [69, 156] Generated Node #3: [69, 156] from Operation: 52*3=156 Current State: 87:[69, 156], Operations: ['71-68=3', '52*3=156'] Exploring Operation: 156-69=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[68, 71, 69, 52], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [69, 52, 3] Generated Node #0,0: 87:[69, 52, 3] Operation: 71-68=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[69, 52, 3], Operations: ['71-68=3'] Exploring Operation: 69-52=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 87:[3, 17] Operation: 69-52=17 Moving to Node #0,0,0 Current State: 87:[3, 17], Operations: ['71-68=3', '69-52=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,87 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
[ 38, 6, 68, 14 ]
72
[ "38-14=24", "24/6=4", "68+4=72" ]
Current State: 72:[38, 6, 68, 14], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [6, 68, 24] Generated Node #2: [6, 68, 24] from Operation: 38-14=24 Current State: 72:[6, 68, 24], Operations: ['38-14=24'] Exploring Operation: 24/6=4, Resulting Numbers: [68, 4] Generated Node #3: [68, 4] from Operation: 24/6=4 Current State: 72:[68, 4], Operations: ['38-14=24', '24/6=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[38, 6, 68, 14], Operations: [] Exploring Operation: 6+68=74, Resulting Numbers: [38, 14, 74] Generated Node #0,0: 72:[38, 14, 74] Operation: 6+68=74 Exploring Operation: 14-6=8, Resulting Numbers: [38, 68, 8] Generated Node #0,1: 72:[38, 68, 8] Operation: 14-6=8 Exploring Operation: 38-14=24, Resulting Numbers: [6, 68, 24] Generated Node #0,2: 72:[6, 68, 24] Operation: 38-14=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[6, 68, 24], Operations: ['38-14=24'] Exploring Operation: 24-6=18, Resulting Numbers: [68, 18] Generated Node #0,2,0: 72:[68, 18] Operation: 24-6=18 Exploring Operation: 6+68=74, Resulting Numbers: [24, 74] Generated Node #0,2,1: 72:[24, 74] Operation: 6+68=74 Exploring Operation: 24/6=4, Resulting Numbers: [68, 4] Generated Node #0,2,2: 72:[68, 4] Operation: 24/6=4 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[24, 74], Operations: ['38-14=24', '6+68=74'] Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 24*74=1776, Resulting Numbers: [1776] 1776,72 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[68, 18], Operations: ['38-14=24', '24-6=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 68*18=1224, Resulting Numbers: [1224] 1224,72 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[68, 4], Operations: ['38-14=24', '24/6=4'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[38, 6, 68, 14], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [6, 68, 24] Generated Node #0,2: 72:[6, 68, 24] Operation: 38-14=24 Moving to Node #0,2 Current State: 72:[6, 68, 24], Operations: ['38-14=24'] Exploring Operation: 24/6=4, Resulting Numbers: [68, 4] Generated Node #0,2,2: 72:[68, 4] Operation: 24/6=4 Moving to Node #0,2,2 Current State: 72:[68, 4], Operations: ['38-14=24', '24/6=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 9, 54, 75, 42 ]
33
[ "54-42=12", "9*12=108", "108-75=33" ]
Current State: 33:[9, 54, 75, 42], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [9, 75, 12] Generated Node #2: [9, 75, 12] from Operation: 54-42=12 Current State: 33:[9, 75, 12], Operations: ['54-42=12'] Exploring Operation: 9*12=108, Resulting Numbers: [75, 108] Generated Node #3: [75, 108] from Operation: 9*12=108 Current State: 33:[75, 108], Operations: ['54-42=12', '9*12=108'] Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[9, 54, 75, 42], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [9, 42, 21] Generated Node #0,0: 33:[9, 42, 21] Operation: 75-54=21 Exploring Operation: 75-42=33, Resulting Numbers: [9, 54, 33] Generated Node #0,1: 33:[9, 54, 33] Operation: 75-42=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[9, 42, 21], Operations: ['75-54=21'] Exploring Operation: 42/21=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 33:[9, 2] Operation: 42/21=2 Exploring Operation: 42-9=33, Resulting Numbers: [21, 33] Generated Node #0,0,1: 33:[21, 33] Operation: 42-9=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[9, 2], Operations: ['75-54=21', '42/21=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,33 unequal: No Solution No 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: 33:[21, 33], Operations: ['75-54=21', '42-9=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,33 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: 33:[9, 54, 33], Operations: ['75-42=33'] Exploring Operation: 54-9=45, Resulting Numbers: [33, 45] Generated Node #0,1,0: 33:[33, 45] Operation: 54-9=45 Exploring Operation: 54/9=6, Resulting Numbers: [33, 6] Generated Node #0,1,1: 33:[33, 6] Operation: 54/9=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[33, 6], Operations: ['75-42=33', '54/9=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,33 unequal: No Solution No 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: 33:[33, 45], Operations: ['75-42=33', '54-9=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,33 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
[ 7, 13, 51, 10 ]
61
[ "7+13=20", "51-10=41", "20+41=61" ]
Current State: 61:[7, 13, 51, 10], Operations: [] Exploring Operation: 7+13=20, Resulting Numbers: [51, 10, 20] Generated Node #2: [51, 10, 20] from Operation: 7+13=20 Current State: 61:[51, 10, 20], Operations: ['7+13=20'] Exploring Operation: 51-10=41, Resulting Numbers: [20, 41] Generated Node #3: [20, 41] from Operation: 51-10=41 Current State: 61:[20, 41], Operations: ['7+13=20', '51-10=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[7, 13, 51, 10], Operations: [] Exploring Operation: 7*13=91, Resulting Numbers: [51, 10, 91] Generated Node #0,0: 61:[51, 10, 91] Operation: 7*13=91 Exploring Operation: 7+13=20, Resulting Numbers: [51, 10, 20] Generated Node #0,1: 61:[51, 10, 20] Operation: 7+13=20 Exploring Operation: 7+51=58, Resulting Numbers: [13, 10, 58] Generated Node #0,2: 61:[13, 10, 58] Operation: 7+51=58 Exploring Operation: 7*10=70, Resulting Numbers: [13, 51, 70] Generated Node #0,3: 61:[13, 51, 70] Operation: 7*10=70 Exploring Operation: 7+10=17, Resulting Numbers: [13, 51, 17] Generated Node #0,4: 61:[13, 51, 17] Operation: 7+10=17 Moving to Node #0,3 Current State: 61:[13, 51, 70], Operations: ['7*10=70'] Exploring Operation: 13+70=83, Resulting Numbers: [51, 83] Generated Node #0,3,0: 61:[51, 83] Operation: 13+70=83 Exploring Operation: 13+51=64, Resulting Numbers: [70, 64] Generated Node #0,3,1: 61:[70, 64] Operation: 13+51=64 Exploring Operation: 70-13=57, Resulting Numbers: [51, 57] Generated Node #0,3,2: 61:[51, 57] Operation: 70-13=57 Exploring Operation: 70-51=19, Resulting Numbers: [13, 19] Generated Node #0,3,3: 61:[13, 19] Operation: 70-51=19 Exploring Operation: 51-13=38, Resulting Numbers: [70, 38] Generated Node #0,3,4: 61:[70, 38] Operation: 51-13=38 Moving to Node #0,0 Current State: 61:[51, 10, 91], Operations: ['7*13=91'] Exploring Operation: 51-10=41, Resulting Numbers: [91, 41] Generated Node #0,0,0: 61:[91, 41] Operation: 51-10=41 Exploring Operation: 91-51=40, Resulting Numbers: [10, 40] Generated Node #0,0,1: 61:[10, 40] Operation: 91-51=40 Exploring Operation: 91-10=81, Resulting Numbers: [51, 81] Generated Node #0,0,2: 61:[51, 81] Operation: 91-10=81 Exploring Operation: 51+10=61, Resulting Numbers: [91, 61] Generated Node #0,0,3: 61:[91, 61] Operation: 51+10=61 Exploring Operation: 10+91=101, Resulting Numbers: [51, 101] Generated Node #0,0,4: 61:[51, 101] Operation: 10+91=101 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[51, 81], Operations: ['7*13=91', '91-10=81'] Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 51*81=4131, Resulting Numbers: [4131] 4131,61 unequal: No Solution Exploring Operation: 51+81=132, Resulting Numbers: [132] 132,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[91, 61], Operations: ['7*13=91', '51+10=61'] Exploring Operation: 91+61=152, Resulting Numbers: [152] 152,61 unequal: No Solution Exploring Operation: 91*61=5551, Resulting Numbers: [5551] 5551,61 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[91, 41], Operations: ['7*13=91', '51-10=41'] Exploring Operation: 91+41=132, Resulting Numbers: [132] 132,61 unequal: No Solution Exploring Operation: 91*41=3731, Resulting Numbers: [3731] 3731,61 unequal: No Solution Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[51, 101], Operations: ['7*13=91', '10+91=101'] Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 51+101=152, Resulting Numbers: [152] 152,61 unequal: No Solution Exploring Operation: 51*101=5151, Resulting Numbers: [5151] 5151,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[10, 40], Operations: ['7*13=91', '91-51=40'] Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,61 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[51, 10, 20], Operations: ['7+13=20'] Exploring Operation: 20-10=10, Resulting Numbers: [51, 10] Generated Node #0,1,0: 61:[51, 10] Operation: 20-10=10 Exploring Operation: 10+20=30, Resulting Numbers: [51, 30] Generated Node #0,1,1: 61:[51, 30] Operation: 10+20=30 Exploring Operation: 51+20=71, Resulting Numbers: [10, 71] Generated Node #0,1,2: 61:[10, 71] Operation: 51+20=71 Exploring Operation: 51-10=41, Resulting Numbers: [20, 41] Generated Node #0,1,3: 61:[20, 41] Operation: 51-10=41 Exploring Operation: 51+10=61, Resulting Numbers: [20, 61] Generated Node #0,1,4: 61:[20, 61] Operation: 51+10=61 Moving to Node #0,2 Current State: 61:[13, 10, 58], Operations: ['7+51=58'] Exploring Operation: 58-10=48, Resulting Numbers: [13, 48] Generated Node #0,2,0: 61:[13, 48] Operation: 58-10=48 Exploring Operation: 13+10=23, Resulting Numbers: [58, 23] Generated Node #0,2,1: 61:[58, 23] Operation: 13+10=23 Exploring Operation: 10+58=68, Resulting Numbers: [13, 68] Generated Node #0,2,2: 61:[13, 68] Operation: 10+58=68 Exploring Operation: 13-10=3, Resulting Numbers: [58, 3] Generated Node #0,2,3: 61:[58, 3] Operation: 13-10=3 Exploring Operation: 13+58=71, Resulting Numbers: [10, 71] Generated Node #0,2,4: 61:[10, 71] Operation: 13+58=71 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[58, 23], Operations: ['7+51=58', '13+10=23'] Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,61 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[13, 68], Operations: ['7+51=58', '10+58=68'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 13*68=884, Resulting Numbers: [884] 884,61 unequal: No Solution Exploring Operation: 13+68=81, Resulting Numbers: [81] 81,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[13, 48], Operations: ['7+51=58', '58-10=48'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 13*48=624, Resulting Numbers: [624] 624,61 unequal: No Solution Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[7, 13, 51, 10], Operations: [] Exploring Operation: 7+51=58, Resulting Numbers: [13, 10, 58] Generated Node #0,2: 61:[13, 10, 58] Operation: 7+51=58 Moving to Node #0,2 Current State: 61:[13, 10, 58], Operations: ['7+51=58'] Exploring Operation: 58-10=48, Resulting Numbers: [13, 48] Generated Node #0,2,0: 61:[13, 48] Operation: 58-10=48 Moving to Node #0,2,0 Current State: 61:[13, 48], Operations: ['7+51=58', '58-10=48'] Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.953125
hs_5
mult_heuristic
[ 9, 78, 48, 60 ]
57
[ "78-9=69", "60-48=12", "69-12=57" ]
Current State: 57:[9, 78, 48, 60], Operations: [] Exploring Operation: 78-9=69, Resulting Numbers: [48, 60, 69] Generated Node #2: [48, 60, 69] from Operation: 78-9=69 Current State: 57:[48, 60, 69], Operations: ['78-9=69'] Exploring Operation: 60-48=12, Resulting Numbers: [69, 12] Generated Node #3: [69, 12] from Operation: 60-48=12 Current State: 57:[69, 12], Operations: ['78-9=69', '60-48=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[9, 78, 48, 60], Operations: [] Exploring Operation: 78-60=18, Resulting Numbers: [9, 48, 18] Generated Node #0,0: 57:[9, 48, 18] Operation: 78-60=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[9, 48, 18], Operations: ['78-60=18'] Exploring Operation: 9+48=57, Resulting Numbers: [18, 57] Generated Node #0,0,0: 57:[18, 57] Operation: 9+48=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[18, 57], Operations: ['78-60=18', '9+48=57'] Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,57 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
[ 21, 95, 11, 4 ]
98
[ "11-4=7", "21/7=3", "95+3=98" ]
Current State: 98:[21, 95, 11, 4], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [21, 95, 7] Generated Node #2: [21, 95, 7] from Operation: 11-4=7 Current State: 98:[21, 95, 7], Operations: ['11-4=7'] Exploring Operation: 21/7=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 21/7=3 Current State: 98:[95, 3], Operations: ['11-4=7', '21/7=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[21, 95, 11, 4], Operations: [] Exploring Operation: 21-4=17, Resulting Numbers: [95, 11, 17] Generated Node #0,0: 98:[95, 11, 17] Operation: 21-4=17 Exploring Operation: 11-4=7, Resulting Numbers: [21, 95, 7] Generated Node #0,1: 98:[21, 95, 7] Operation: 11-4=7 Exploring Operation: 21-11=10, Resulting Numbers: [95, 4, 10] Generated Node #0,2: 98:[95, 4, 10] Operation: 21-11=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[95, 4, 10], Operations: ['21-11=10'] Exploring Operation: 10-4=6, Resulting Numbers: [95, 6] Generated Node #0,2,0: 98:[95, 6] Operation: 10-4=6 Exploring Operation: 95+4=99, Resulting Numbers: [10, 99] Generated Node #0,2,1: 98:[10, 99] Operation: 95+4=99 Exploring Operation: 4+10=14, Resulting Numbers: [95, 14] Generated Node #0,2,2: 98:[95, 14] Operation: 4+10=14 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[95, 14], Operations: ['21-11=10', '4+10=14'] Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,98 unequal: No Solution No 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: 98:[95, 6], Operations: ['21-11=10', '10-4=6'] Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,98 unequal: No Solution Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,98 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,98 unequal: No Solution No 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: 98:[10, 99], Operations: ['21-11=10', '95+4=99'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 10+99=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 10*99=990, Resulting Numbers: [990] 990,98 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: 98:[95, 11, 17], Operations: ['21-4=17'] Exploring Operation: 95-11=84, Resulting Numbers: [17, 84] Generated Node #0,0,0: 98:[17, 84] Operation: 95-11=84 Exploring Operation: 95+11=106, Resulting Numbers: [17, 106] Generated Node #0,0,1: 98:[17, 106] Operation: 95+11=106 Exploring Operation: 17-11=6, Resulting Numbers: [95, 6] Generated Node #0,0,2: 98:[95, 6] Operation: 17-11=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[95, 6], Operations: ['21-4=17', '17-11=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,98 unequal: No Solution Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,98 unequal: No Solution No 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: 98:[17, 106], Operations: ['21-4=17', '95+11=106'] Exploring Operation: 106-17=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 17*106=1802, Resulting Numbers: [1802] 1802,98 unequal: No Solution Exploring Operation: 17+106=123, Resulting Numbers: [123] 123,98 unequal: No Solution No 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: 98:[17, 84], Operations: ['21-4=17', '95-11=84'] Exploring Operation: 17*84=1428, Resulting Numbers: [1428] 1428,98 unequal: No Solution Exploring Operation: 17+84=101, Resulting Numbers: [101] 101,98 unequal: No Solution Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,98 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: 98:[21, 95, 7], Operations: ['11-4=7'] Exploring Operation: 95+7=102, Resulting Numbers: [21, 102] Generated Node #0,1,0: 98:[21, 102] Operation: 95+7=102 Exploring Operation: 21-7=14, Resulting Numbers: [95, 14] Generated Node #0,1,1: 98:[95, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [95, 3] Generated Node #0,1,2: 98:[95, 3] Operation: 21/7=3 Moving to Node #0,1,1 Current State: 98:[95, 14], Operations: ['11-4=7', '21-7=14'] Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,98 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[95, 3], Operations: ['11-4=7', '21/7=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[21, 95, 11, 4], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [21, 95, 7] Generated Node #0,1: 98:[21, 95, 7] Operation: 11-4=7 Moving to Node #0,1 Current State: 98:[21, 95, 7], Operations: ['11-4=7'] Exploring Operation: 21/7=3, Resulting Numbers: [95, 3] Generated Node #0,1,2: 98:[95, 3] Operation: 21/7=3 Moving to Node #0,1,2 Current State: 98:[95, 3], Operations: ['11-4=7', '21/7=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
mult_heuristic
[ 70, 76, 71, 60 ]
58
[ "76-71=5", "60/5=12", "70-12=58" ]
Current State: 58:[70, 76, 71, 60], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [70, 60, 5] Generated Node #2: [70, 60, 5] from Operation: 76-71=5 Current State: 58:[70, 60, 5], Operations: ['76-71=5'] Exploring Operation: 60/5=12, Resulting Numbers: [70, 12] Generated Node #3: [70, 12] from Operation: 60/5=12 Current State: 58:[70, 12], Operations: ['76-71=5', '60/5=12'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[70, 76, 71, 60], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [71, 60, 6] Generated Node #0,0: 58:[71, 60, 6] Operation: 76-70=6 Exploring Operation: 76-71=5, Resulting Numbers: [70, 60, 5] Generated Node #0,1: 58:[70, 60, 5] Operation: 76-71=5 Exploring Operation: 71-70=1, Resulting Numbers: [76, 60, 1] Generated Node #0,2: 58:[76, 60, 1] Operation: 71-70=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[70, 60, 5], Operations: ['76-71=5'] Exploring Operation: 70-5=65, Resulting Numbers: [60, 65] Generated Node #0,1,0: 58:[60, 65] Operation: 70-5=65 Exploring Operation: 70/5=14, Resulting Numbers: [60, 14] Generated Node #0,1,1: 58:[60, 14] Operation: 70/5=14 Exploring Operation: 70-60=10, Resulting Numbers: [5, 10] Generated Node #0,1,2: 58:[5, 10] Operation: 70-60=10 Moving to Node #0,1,0 Current State: 58:[60, 65], Operations: ['76-71=5', '70-5=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,58 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[5, 10], Operations: ['76-71=5', '70-60=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[60, 14], Operations: ['76-71=5', '70/5=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,58 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[71, 60, 6], Operations: ['76-70=6'] Exploring Operation: 71-6=65, Resulting Numbers: [60, 65] Generated Node #0,0,0: 58:[60, 65] Operation: 71-6=65 Exploring Operation: 60-6=54, Resulting Numbers: [71, 54] Generated Node #0,0,1: 58:[71, 54] Operation: 60-6=54 Exploring Operation: 71-60=11, Resulting Numbers: [6, 11] Generated Node #0,0,2: 58:[6, 11] Operation: 71-60=11 Moving to Node #0,0,0 Current State: 58:[60, 65], Operations: ['76-70=6', '71-6=65'] Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,58 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,58 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[6, 11], Operations: ['76-70=6', '71-60=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[71, 54], Operations: ['76-70=6', '60-6=54'] Exploring Operation: 71+54=125, Resulting Numbers: [125] 125,58 unequal: No Solution Exploring Operation: 71*54=3834, Resulting Numbers: [3834] 3834,58 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[76, 60, 1], Operations: ['71-70=1'] Exploring Operation: 60-1=59, Resulting Numbers: [76, 59] Generated Node #0,2,0: 58:[76, 59] Operation: 60-1=59 Exploring Operation: 76-60=16, Resulting Numbers: [1, 16] Generated Node #0,2,1: 58:[1, 16] Operation: 76-60=16 Exploring Operation: 76-1=75, Resulting Numbers: [60, 75] Generated Node #0,2,2: 58:[60, 75] Operation: 76-1=75 Moving to Node #0,2,1 Current State: 58:[1, 16], Operations: ['71-70=1', '76-60=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,58 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[76, 59], Operations: ['71-70=1', '60-1=59'] Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,58 unequal: No Solution Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,58 unequal: No Solution Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[60, 75], Operations: ['71-70=1', '76-1=75'] Exploring Operation: 60+75=135, Resulting Numbers: [135] 135,58 unequal: No Solution Exploring Operation: 60*75=4500, Resulting Numbers: [4500] 4500,58 unequal: No Solution Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,58 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
[ 96, 77, 83, 75 ]
89
[ "83-75=8", "96/8=12", "77+12=89" ]
Current State: 89:[96, 77, 83, 75], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [96, 77, 8] Generated Node #2: [96, 77, 8] from Operation: 83-75=8 Current State: 89:[96, 77, 8], Operations: ['83-75=8'] Exploring Operation: 96/8=12, Resulting Numbers: [77, 12] Generated Node #3: [77, 12] from Operation: 96/8=12 Current State: 89:[77, 12], Operations: ['83-75=8', '96/8=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[96, 77, 83, 75], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [77, 83, 21] Generated Node #0,0: 89:[77, 83, 21] Operation: 96-75=21 Exploring Operation: 83+75=158, Resulting Numbers: [96, 77, 158] Generated Node #0,1: 89:[96, 77, 158] Operation: 83+75=158 Exploring Operation: 77+75=152, Resulting Numbers: [96, 83, 152] Generated Node #0,2: 89:[96, 83, 152] Operation: 77+75=152 Exploring Operation: 96-77=19, Resulting Numbers: [83, 75, 19] Generated Node #0,3: 89:[83, 75, 19] Operation: 96-77=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[96, 83, 152], Operations: ['77+75=152'] Exploring Operation: 96+83=179, Resulting Numbers: [152, 179] Generated Node #0,2,0: 89:[152, 179] Operation: 96+83=179 Exploring Operation: 152-96=56, Resulting Numbers: [83, 56] Generated Node #0,2,1: 89:[83, 56] Operation: 152-96=56 Exploring Operation: 152-83=69, Resulting Numbers: [96, 69] Generated Node #0,2,2: 89:[96, 69] Operation: 152-83=69 Exploring Operation: 96-83=13, Resulting Numbers: [152, 13] Generated Node #0,2,3: 89:[152, 13] Operation: 96-83=13 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[96, 69], Operations: ['77+75=152', '152-83=69'] Exploring Operation: 96*69=6624, Resulting Numbers: [6624] 6624,89 unequal: No Solution Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 96+69=165, Resulting Numbers: [165] 165,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,1 Current State: 89:[83, 56], Operations: ['77+75=152', '152-96=56'] Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,89 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,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,3 Current State: 89:[152, 13], Operations: ['77+75=152', '96-83=13'] Exploring Operation: 152+13=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 152-13=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 152*13=1976, Resulting Numbers: [1976] 1976,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:[152, 179], Operations: ['77+75=152', '96+83=179'] Exploring Operation: 179-152=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 152*179=27208, Resulting Numbers: [27208] 27208,89 unequal: No Solution Exploring Operation: 152+179=331, Resulting Numbers: [331] 331,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,0 Current State: 89:[77, 83, 21], Operations: ['96-75=21'] Exploring Operation: 83-21=62, Resulting Numbers: [77, 62] Generated Node #0,0,0: 89:[77, 62] Operation: 83-21=62 Exploring Operation: 83+21=104, Resulting Numbers: [77, 104] Generated Node #0,0,1: 89:[77, 104] Operation: 83+21=104 Exploring Operation: 77+21=98, Resulting Numbers: [83, 98] Generated Node #0,0,2: 89:[83, 98] Operation: 77+21=98 Exploring Operation: 77-21=56, Resulting Numbers: [83, 56] Generated Node #0,0,3: 89:[83, 56] Operation: 77-21=56 Moving to Node #0,0,2 Current State: 89:[83, 98], Operations: ['96-75=21', '77+21=98'] Exploring Operation: 83*98=8134, Resulting Numbers: [8134] 8134,89 unequal: No Solution Exploring Operation: 83+98=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[77, 104], Operations: ['96-75=21', '83+21=104'] Exploring Operation: 77+104=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 104-77=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 77*104=8008, Resulting Numbers: [8008] 8008,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[83, 56], Operations: ['96-75=21', '77-21=56'] Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,89 unequal: No Solution Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[77, 62], Operations: ['96-75=21', '83-21=62'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 77*62=4774, Resulting Numbers: [4774] 4774,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[96, 77, 158], Operations: ['83+75=158'] Exploring Operation: 158-77=81, Resulting Numbers: [96, 81] Generated Node #0,1,0: 89:[96, 81] Operation: 158-77=81 Exploring Operation: 158-96=62, Resulting Numbers: [77, 62] Generated Node #0,1,1: 89:[77, 62] Operation: 158-96=62 Exploring Operation: 96-77=19, Resulting Numbers: [158, 19] Generated Node #0,1,2: 89:[158, 19] Operation: 96-77=19 Exploring Operation: 96+77=173, Resulting Numbers: [158, 173] Generated Node #0,1,3: 89:[158, 173] Operation: 96+77=173 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[96, 81], Operations: ['83+75=158', '158-77=81'] Exploring Operation: 96*81=7776, Resulting Numbers: [7776] 7776,89 unequal: No Solution Exploring Operation: 96+81=177, Resulting Numbers: [177] 177,89 unequal: No Solution Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,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,1 Current State: 89:[77, 62], Operations: ['83+75=158', '158-96=62'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 77*62=4774, Resulting Numbers: [4774] 4774,89 unequal: No Solution Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,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,2 Current State: 89:[158, 19], Operations: ['83+75=158', '96-77=19'] Exploring Operation: 158-19=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 158*19=3002, Resulting Numbers: [3002] 3002,89 unequal: No Solution Exploring Operation: 158+19=177, Resulting Numbers: [177] 177,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,3 Current State: 89:[158, 173], Operations: ['83+75=158', '96+77=173'] Exploring Operation: 158*173=27334, Resulting Numbers: [27334] 27334,89 unequal: No Solution Exploring Operation: 158+173=331, Resulting Numbers: [331] 331,89 unequal: No Solution Exploring Operation: 173-158=15, Resulting Numbers: [15] 15,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,3 Current State: 89:[83, 75, 19], Operations: ['96-77=19'] Exploring Operation: 75+19=94, Resulting Numbers: [83, 94] Generated Node #0,3,0: 89:[83, 94] Operation: 75+19=94 Exploring Operation: 83+19=102, Resulting Numbers: [75, 102] Generated Node #0,3,1: 89:[75, 102] Operation: 83+19=102 Exploring Operation: 83-19=64, Resulting Numbers: [75, 64] Generated Node #0,3,2: 89:[75, 64] Operation: 83-19=64 Exploring Operation: 75-19=56, Resulting Numbers: [83, 56] Generated Node #0,3,3: 89:[83, 56] Operation: 75-19=56 Moving to Node #0,3,0 Current State: 89:[83, 94], Operations: ['96-77=19', '75+19=94'] Exploring Operation: 83*94=7802, Resulting Numbers: [7802] 7802,89 unequal: No Solution Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 83+94=177, Resulting Numbers: [177] 177,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[75, 102], Operations: ['96-77=19', '83+19=102'] Exploring Operation: 75+102=177, Resulting Numbers: [177] 177,89 unequal: No Solution Exploring Operation: 102-75=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 75*102=7650, Resulting Numbers: [7650] 7650,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[83, 56], Operations: ['96-77=19', '75-19=56'] Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,89 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[75, 64], Operations: ['96-77=19', '83-19=64'] Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 75*64=4800, Resulting Numbers: [4800] 4800,89 unequal: No Solution Exploring Operation: 75+64=139, Resulting Numbers: [139] 139,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 4, 28, 90, 31 ]
52
[ "28/4=7", "90-31=59", "59-7=52" ]
Current State: 52:[4, 28, 90, 31], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [90, 31, 7] Generated Node #2: [90, 31, 7] from Operation: 28/4=7 Current State: 52:[90, 31, 7], Operations: ['28/4=7'] Exploring Operation: 90-31=59, Resulting Numbers: [7, 59] Generated Node #3: [7, 59] from Operation: 90-31=59 Current State: 52:[7, 59], Operations: ['28/4=7', '90-31=59'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[4, 28, 90, 31], Operations: [] Exploring Operation: 90-28=62, Resulting Numbers: [4, 31, 62] Generated Node #0,0: 52:[4, 31, 62] Operation: 90-28=62 Exploring Operation: 90-31=59, Resulting Numbers: [4, 28, 59] Generated Node #0,1: 52:[4, 28, 59] Operation: 90-31=59 Exploring Operation: 31-28=3, Resulting Numbers: [4, 90, 3] Generated Node #0,2: 52:[4, 90, 3] Operation: 31-28=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[4, 28, 59], Operations: ['90-31=59'] Exploring Operation: 59-4=55, Resulting Numbers: [28, 55] Generated Node #0,1,0: 52:[28, 55] Operation: 59-4=55 Exploring Operation: 59-28=31, Resulting Numbers: [4, 31] Generated Node #0,1,1: 52:[4, 31] Operation: 59-28=31 Exploring Operation: 28-4=24, Resulting Numbers: [59, 24] Generated Node #0,1,2: 52:[59, 24] Operation: 28-4=24 Moving to Node #0,1,0 Current State: 52:[28, 55], Operations: ['90-31=59', '59-4=55'] Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 28*55=1540, Resulting Numbers: [1540] 1540,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[4, 31], Operations: ['90-31=59', '59-28=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,52 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[59, 24], Operations: ['90-31=59', '28-4=24'] Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[4, 31, 62], Operations: ['90-28=62'] Exploring Operation: 62/31=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 52:[4, 2] Operation: 62/31=2 Exploring Operation: 31-4=27, Resulting Numbers: [62, 27] Generated Node #0,0,1: 52:[62, 27] Operation: 31-4=27 Exploring Operation: 62-31=31, Resulting Numbers: [4, 31] Generated Node #0,0,2: 52:[4, 31] Operation: 62-31=31 Moving to Node #0,0,0 Current State: 52:[4, 2], Operations: ['90-28=62', '62/31=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[4, 31], Operations: ['90-28=62', '62-31=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,52 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[62, 27], Operations: ['90-28=62', '31-4=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[4, 90, 3], Operations: ['31-28=3'] Exploring Operation: 90-4=86, Resulting Numbers: [3, 86] Generated Node #0,2,0: 52:[3, 86] Operation: 90-4=86 Exploring Operation: 90-3=87, Resulting Numbers: [4, 87] Generated Node #0,2,1: 52:[4, 87] Operation: 90-3=87 Exploring Operation: 90/3=30, Resulting Numbers: [4, 30] Generated Node #0,2,2: 52:[4, 30] Operation: 90/3=30 Moving to Node #0,2,2 Current State: 52:[4, 30], Operations: ['31-28=3', '90/3=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,52 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[3, 86], Operations: ['31-28=3', '90-4=86'] Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,52 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[4, 87], Operations: ['31-28=3', '90-3=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,52 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,52 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
[ 48, 3, 14, 17 ]
45
[ "14+17=31", "3*31=93", "93-48=45" ]
Current State: 45:[48, 3, 14, 17], Operations: [] Exploring Operation: 14+17=31, Resulting Numbers: [48, 3, 31] Generated Node #2: [48, 3, 31] from Operation: 14+17=31 Current State: 45:[48, 3, 31], Operations: ['14+17=31'] Exploring Operation: 3*31=93, Resulting Numbers: [48, 93] Generated Node #3: [48, 93] from Operation: 3*31=93 Current State: 45:[48, 93], Operations: ['14+17=31', '3*31=93'] Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[48, 3, 14, 17], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [14, 17, 16] Generated Node #0,0: 45:[14, 17, 16] Operation: 48/3=16 Exploring Operation: 17-14=3, Resulting Numbers: [48, 3, 3] Generated Node #0,1: 45:[48, 3, 3] Operation: 17-14=3 Exploring Operation: 48-3=45, Resulting Numbers: [14, 17, 45] Generated Node #0,2: 45:[14, 17, 45] Operation: 48-3=45 Moving to Node #0,1 Current State: 45:[48, 3, 3], Operations: ['17-14=3'] Exploring Operation: 48-3=45, Resulting Numbers: [3, 45] Generated Node #0,1,0: 45:[3, 45] Operation: 48-3=45 Exploring Operation: 48-3=45, Resulting Numbers: [3, 45] Generated Node #0,1,1: 45:[3, 45] Operation: 48-3=45 Exploring Operation: 48/3=16, Resulting Numbers: [3, 16] Generated Node #0,1,2: 45:[3, 16] Operation: 48/3=16 Moving to Node #0,2 Current State: 45:[14, 17, 45], Operations: ['48-3=45'] Exploring Operation: 17-14=3, Resulting Numbers: [45, 3] Generated Node #0,2,0: 45:[45, 3] Operation: 17-14=3 Exploring Operation: 45-17=28, Resulting Numbers: [14, 28] Generated Node #0,2,1: 45:[14, 28] Operation: 45-17=28 Exploring Operation: 14+17=31, Resulting Numbers: [45, 31] Generated Node #0,2,2: 45:[45, 31] Operation: 14+17=31 Moving to Node #0,0 Current State: 45:[14, 17, 16], Operations: ['48/3=16'] Exploring Operation: 17-16=1, Resulting Numbers: [14, 1] Generated Node #0,0,0: 45:[14, 1] Operation: 17-16=1 Exploring Operation: 16-14=2, Resulting Numbers: [17, 2] Generated Node #0,0,1: 45:[17, 2] Operation: 16-14=2 Exploring Operation: 17-14=3, Resulting Numbers: [16, 3] Generated Node #0,0,2: 45:[16, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[16, 3], Operations: ['48/3=16', '17-14=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[14, 1], Operations: ['48/3=16', '17-16=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[17, 2], Operations: ['48/3=16', '16-14=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,45 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: 45:[3, 45], Operations: ['17-14=3', '48-3=45'] Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[3, 45], Operations: ['17-14=3', '48-3=45'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[45, 3], Operations: ['48-3=45', '17-14=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[3, 16], Operations: ['17-14=3', '48/3=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[45, 31], Operations: ['48-3=45', '14+17=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,45 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[14, 28], Operations: ['48-3=45', '45-17=28'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,45 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 16, 80, 56, 48 ]
64
[ "80+48=128", "128/16=8", "56+8=64" ]
Current State: 64:[16, 80, 56, 48], Operations: [] Exploring Operation: 80+48=128, Resulting Numbers: [16, 56, 128] Generated Node #2: [16, 56, 128] from Operation: 80+48=128 Current State: 64:[16, 56, 128], Operations: ['80+48=128'] Exploring Operation: 128/16=8, Resulting Numbers: [56, 8] Generated Node #3: [56, 8] from Operation: 128/16=8 Current State: 64:[56, 8], Operations: ['80+48=128', '128/16=8'] Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 80, 56, 48], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [16, 80, 8] Generated Node #0,0: 64:[16, 80, 8] Operation: 56-48=8 Exploring Operation: 80-48=32, Resulting Numbers: [16, 56, 32] Generated Node #0,1: 64:[16, 56, 32] Operation: 80-48=32 Moving to Node #0,1 Current State: 64:[16, 56, 32], Operations: ['80-48=32'] Exploring Operation: 16+56=72, Resulting Numbers: [32, 72] Generated Node #0,1,0: 64:[32, 72] Operation: 16+56=72 Exploring Operation: 56-16=40, Resulting Numbers: [32, 40] Generated Node #0,1,1: 64:[32, 40] Operation: 56-16=40 Moving to Node #0,0 Current State: 64:[16, 80, 8], Operations: ['56-48=8'] Exploring Operation: 80/16=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 64:[8, 5] Operation: 80/16=5 Exploring Operation: 80-16=64, Resulting Numbers: [8, 64] Generated Node #0,0,1: 64:[8, 64] Operation: 80-16=64 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[8, 64], Operations: ['56-48=8', '80-16=64'] Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[8, 5], Operations: ['56-48=8', '80/16=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,64 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: 64:[32, 72], Operations: ['80-48=32', '16+56=72'] Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 32+72=104, Resulting Numbers: [104] 104,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[32, 40], Operations: ['80-48=32', '56-16=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,64 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 18, 30, 77, 35 ]
19
[ "18+77=95", "35-30=5", "95/5=19" ]
Current State: 19:[18, 30, 77, 35], Operations: [] Exploring Operation: 18+77=95, Resulting Numbers: [30, 35, 95] Generated Node #2: [30, 35, 95] from Operation: 18+77=95 Current State: 19:[30, 35, 95], Operations: ['18+77=95'] Exploring Operation: 35-30=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 35-30=5 Current State: 19:[95, 5], Operations: ['18+77=95', '35-30=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[18, 30, 77, 35], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [18, 30, 42] Generated Node #0,0: 19:[18, 30, 42] Operation: 77-35=42 Exploring Operation: 77-30=47, Resulting Numbers: [18, 35, 47] Generated Node #0,1: 19:[18, 35, 47] Operation: 77-30=47 Exploring Operation: 77-18=59, Resulting Numbers: [30, 35, 59] Generated Node #0,2: 19:[30, 35, 59] Operation: 77-18=59 Moving to Node #0,0 Current State: 19:[18, 30, 42], Operations: ['77-35=42'] Exploring Operation: 42-18=24, Resulting Numbers: [30, 24] Generated Node #0,0,0: 19:[30, 24] Operation: 42-18=24 Exploring Operation: 42-30=12, Resulting Numbers: [18, 12] Generated Node #0,0,1: 19:[18, 12] Operation: 42-30=12 Exploring Operation: 30-18=12, Resulting Numbers: [42, 12] Generated Node #0,0,2: 19:[42, 12] Operation: 30-18=12 Moving to Node #0,1 Current State: 19:[18, 35, 47], Operations: ['77-30=47'] Exploring Operation: 47-18=29, Resulting Numbers: [35, 29] Generated Node #0,1,0: 19:[35, 29] Operation: 47-18=29 Exploring Operation: 47-35=12, Resulting Numbers: [18, 12] Generated Node #0,1,1: 19:[18, 12] Operation: 47-35=12 Exploring Operation: 35-18=17, Resulting Numbers: [47, 17] Generated Node #0,1,2: 19:[47, 17] Operation: 35-18=17 Moving to Node #0,2 Current State: 19:[30, 35, 59], Operations: ['77-18=59'] Exploring Operation: 59-35=24, Resulting Numbers: [30, 24] Generated Node #0,2,0: 19:[30, 24] Operation: 59-35=24 Exploring Operation: 35-30=5, Resulting Numbers: [59, 5] Generated Node #0,2,1: 19:[59, 5] Operation: 35-30=5 Exploring Operation: 59-30=29, Resulting Numbers: [35, 29] Generated Node #0,2,2: 19:[35, 29] Operation: 59-30=29 Moving to Node #0,0,1 Current State: 19:[18, 12], Operations: ['77-35=42', '42-30=12'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[18, 12], Operations: ['77-30=47', '47-35=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,19 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[30, 24], Operations: ['77-18=59', '59-35=24'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,19 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[30, 24], Operations: ['77-35=42', '42-18=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[35, 29], Operations: ['77-30=47', '47-18=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[35, 29], Operations: ['77-18=59', '59-30=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[42, 12], Operations: ['77-35=42', '30-18=12'] Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,19 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[47, 17], Operations: ['77-30=47', '35-18=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,19 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[59, 5], Operations: ['77-18=59', '35-30=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,19 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,19 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 21, 47, 73, 59 ]
40
[ "47-21=26", "73-59=14", "26+14=40" ]
Current State: 40:[21, 47, 73, 59], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [73, 59, 26] Generated Node #2: [73, 59, 26] from Operation: 47-21=26 Current State: 40:[73, 59, 26], Operations: ['47-21=26'] Exploring Operation: 73-59=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 73-59=14 Current State: 40:[26, 14], Operations: ['47-21=26', '73-59=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[21, 47, 73, 59], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [21, 47, 14] Generated Node #0,0: 40:[21, 47, 14] Operation: 73-59=14 Moving to Node #0,0 Current State: 40:[21, 47, 14], Operations: ['73-59=14'] Exploring Operation: 21-14=7, Resulting Numbers: [47, 7] Generated Node #0,0,0: 40:[47, 7] Operation: 21-14=7 Moving to Node #0,0,0 Current State: 40:[47, 7], Operations: ['73-59=14', '21-14=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[21, 47, 73, 59], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [21, 47, 14] Generated Node #0,0: 40:[21, 47, 14] Operation: 73-59=14 Moving to Node #0,0 Current State: 40:[21, 47, 14], Operations: ['73-59=14'] Exploring Operation: 21-14=7, Resulting Numbers: [47, 7] Generated Node #0,0,0: 40:[47, 7] Operation: 21-14=7 Moving to Node #0,0,0 Current State: 40:[47, 7], Operations: ['73-59=14', '21-14=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 84, 49, 73, 15 ]
45
[ "84+49=133", "73+15=88", "133-88=45" ]
Current State: 45:[84, 49, 73, 15], Operations: [] Exploring Operation: 84+49=133, Resulting Numbers: [73, 15, 133] Generated Node #2: [73, 15, 133] from Operation: 84+49=133 Current State: 45:[73, 15, 133], Operations: ['84+49=133'] Exploring Operation: 73+15=88, Resulting Numbers: [133, 88] Generated Node #3: [133, 88] from Operation: 73+15=88 Current State: 45:[133, 88], Operations: ['84+49=133', '73+15=88'] Exploring Operation: 133-88=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[84, 49, 73, 15], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [49, 15, 11] Generated Node #0,0: 45:[49, 15, 11] Operation: 84-73=11 Exploring Operation: 73-49=24, Resulting Numbers: [84, 15, 24] Generated Node #0,1: 45:[84, 15, 24] Operation: 73-49=24 Exploring Operation: 84-49=35, Resulting Numbers: [73, 15, 35] Generated Node #0,2: 45:[73, 15, 35] Operation: 84-49=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[49, 15, 11], Operations: ['84-73=11'] Exploring Operation: 49-15=34, Resulting Numbers: [11, 34] Generated Node #0,0,0: 45:[11, 34] Operation: 49-15=34 Exploring Operation: 15-11=4, Resulting Numbers: [49, 4] Generated Node #0,0,1: 45:[49, 4] Operation: 15-11=4 Exploring Operation: 49-11=38, Resulting Numbers: [15, 38] Generated Node #0,0,2: 45:[15, 38] Operation: 49-11=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[49, 4], Operations: ['84-73=11', '15-11=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,45 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[84, 49, 73, 15], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [49, 15, 11] Generated Node #0,0: 45:[49, 15, 11] Operation: 84-73=11 Moving to Node #0,0 Current State: 45:[49, 15, 11], Operations: ['84-73=11'] Exploring Operation: 15-11=4, Resulting Numbers: [49, 4] Generated Node #0,0,1: 45:[49, 4] Operation: 15-11=4 Moving to Node #0,0,1 Current State: 45:[49, 4], Operations: ['84-73=11', '15-11=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 51, 78, 14, 20 ]
64
[ "20-14=6", "78/6=13", "51+13=64" ]
Current State: 64:[51, 78, 14, 20], Operations: [] Exploring Operation: 20-14=6, Resulting Numbers: [51, 78, 6] Generated Node #2: [51, 78, 6] from Operation: 20-14=6 Current State: 64:[51, 78, 6], Operations: ['20-14=6'] Exploring Operation: 78/6=13, Resulting Numbers: [51, 13] Generated Node #3: [51, 13] from Operation: 78/6=13 Current State: 64:[51, 13], Operations: ['20-14=6', '78/6=13'] Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[51, 78, 14, 20], Operations: [] Exploring Operation: 78-14=64, Resulting Numbers: [51, 20, 64] Generated Node #0,0: 64:[51, 20, 64] Operation: 78-14=64 Exploring Operation: 51+14=65, Resulting Numbers: [78, 20, 65] Generated Node #0,1: 64:[78, 20, 65] Operation: 51+14=65 Exploring Operation: 51-20=31, Resulting Numbers: [78, 14, 31] Generated Node #0,2: 64:[78, 14, 31] Operation: 51-20=31 Exploring Operation: 78-20=58, Resulting Numbers: [51, 14, 58] Generated Node #0,3: 64:[51, 14, 58] Operation: 78-20=58 Exploring Operation: 78-51=27, Resulting Numbers: [14, 20, 27] Generated Node #0,4: 64:[14, 20, 27] Operation: 78-51=27 Start Sub Search at level 1: Moving to Node #0,4 Current State: 64:[14, 20, 27], Operations: ['78-51=27'] Exploring Operation: 20-14=6, Resulting Numbers: [27, 6] Generated Node #0,4,0: 64:[27, 6] Operation: 20-14=6 Exploring Operation: 14+20=34, Resulting Numbers: [27, 34] Generated Node #0,4,1: 64:[27, 34] Operation: 14+20=34 Exploring Operation: 27-14=13, Resulting Numbers: [20, 13] Generated Node #0,4,2: 64:[20, 13] Operation: 27-14=13 Exploring Operation: 27-20=7, Resulting Numbers: [14, 7] Generated Node #0,4,3: 64:[14, 7] Operation: 27-20=7 Exploring Operation: 14+27=41, Resulting Numbers: [20, 41] Generated Node #0,4,4: 64:[20, 41] Operation: 14+27=41 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 64:[14, 7], Operations: ['78-51=27', '27-20=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,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,4,0 Current State: 64:[27, 6], Operations: ['78-51=27', '20-14=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,64 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,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,4,1 Current State: 64:[27, 34], Operations: ['78-51=27', '14+20=34'] Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,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,4,2 Current State: 64:[20, 13], Operations: ['78-51=27', '27-14=13'] Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,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,4,4 Current State: 64:[20, 41], Operations: ['78-51=27', '14+27=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,64 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,64 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: 64:[51, 20, 64], Operations: ['78-14=64'] Exploring Operation: 64-20=44, Resulting Numbers: [51, 44] Generated Node #0,0,0: 64:[51, 44] Operation: 64-20=44 Exploring Operation: 51-20=31, Resulting Numbers: [64, 31] Generated Node #0,0,1: 64:[64, 31] Operation: 51-20=31 Exploring Operation: 64-51=13, Resulting Numbers: [20, 13] Generated Node #0,0,2: 64:[20, 13] Operation: 64-51=13 Exploring Operation: 51+20=71, Resulting Numbers: [64, 71] Generated Node #0,0,3: 64:[64, 71] Operation: 51+20=71 Exploring Operation: 20+64=84, Resulting Numbers: [51, 84] Generated Node #0,0,4: 64:[51, 84] Operation: 20+64=84 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[64, 31], Operations: ['78-14=64', '51-20=31'] Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,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,0,2 Current State: 64:[20, 13], Operations: ['78-14=64', '64-51=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,64 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,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,0,3 Current State: 64:[64, 71], Operations: ['78-14=64', '51+20=71'] Exploring Operation: 64+71=135, Resulting Numbers: [135] 135,64 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 64*71=4544, Resulting Numbers: [4544] 4544,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,0,0 Current State: 64:[51, 44], Operations: ['78-14=64', '64-20=44'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,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,0,4 Current State: 64:[51, 84], Operations: ['78-14=64', '20+64=84'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,64 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,64 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: 64:[78, 14, 31], Operations: ['51-20=31'] Exploring Operation: 78-14=64, Resulting Numbers: [31, 64] Generated Node #0,2,0: 64:[31, 64] Operation: 78-14=64 Exploring Operation: 31-14=17, Resulting Numbers: [78, 17] Generated Node #0,2,1: 64:[78, 17] Operation: 31-14=17 Exploring Operation: 78-31=47, Resulting Numbers: [14, 47] Generated Node #0,2,2: 64:[14, 47] Operation: 78-31=47 Exploring Operation: 78+14=92, Resulting Numbers: [31, 92] Generated Node #0,2,3: 64:[31, 92] Operation: 78+14=92 Exploring Operation: 14+31=45, Resulting Numbers: [78, 45] Generated Node #0,2,4: 64:[78, 45] Operation: 14+31=45 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[31, 64], Operations: ['51-20=31', '78-14=64'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 31*64=1984, Resulting Numbers: [1984] 1984,64 unequal: No Solution Exploring Operation: 31+64=95, Resulting Numbers: [95] 95,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,2,1 Current State: 64:[78, 17], Operations: ['51-20=31', '31-14=17'] Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,64 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,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,2,2 Current State: 64:[14, 47], Operations: ['51-20=31', '78-31=47'] Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,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,2,4 Current State: 64:[78, 45], Operations: ['51-20=31', '14+31=45'] Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,64 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 78*45=3510, Resulting Numbers: [3510] 3510,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,2,3 Current State: 64:[31, 92], Operations: ['51-20=31', '78+14=92'] Exploring Operation: 31+92=123, Resulting Numbers: [123] 123,64 unequal: No Solution Exploring Operation: 31*92=2852, Resulting Numbers: [2852] 2852,64 unequal: No Solution Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,64 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: 64:[78, 20, 65], Operations: ['51+14=65'] Exploring Operation: 20+65=85, Resulting Numbers: [78, 85] Generated Node #0,1,0: 64:[78, 85] Operation: 20+65=85 Exploring Operation: 78+20=98, Resulting Numbers: [65, 98] Generated Node #0,1,1: 64:[65, 98] Operation: 78+20=98 Exploring Operation: 65-20=45, Resulting Numbers: [78, 45] Generated Node #0,1,2: 64:[78, 45] Operation: 65-20=45 Exploring Operation: 78-65=13, Resulting Numbers: [20, 13] Generated Node #0,1,3: 64:[20, 13] Operation: 78-65=13 Exploring Operation: 78-20=58, Resulting Numbers: [65, 58] Generated Node #0,1,4: 64:[65, 58] Operation: 78-20=58 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[20, 13], Operations: ['51+14=65', '78-65=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,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,1,4 Current State: 64:[65, 58], Operations: ['51+14=65', '78-20=58'] Exploring Operation: 65+58=123, Resulting Numbers: [123] 123,64 unequal: No Solution Exploring Operation: 65-58=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 65*58=3770, Resulting Numbers: [3770] 3770,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,1,2 Current State: 64:[78, 45], Operations: ['51+14=65', '65-20=45'] Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,64 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 78*45=3510, Resulting Numbers: [3510] 3510,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,1,0 Current State: 64:[78, 85], Operations: ['51+14=65', '20+65=85'] Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,64 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,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,1,1 Current State: 64:[65, 98], Operations: ['51+14=65', '78+20=98'] Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 65*98=6370, Resulting Numbers: [6370] 6370,64 unequal: No Solution Exploring Operation: 65+98=163, Resulting Numbers: [163] 163,64 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: 64:[51, 14, 58], Operations: ['78-20=58'] Exploring Operation: 14+58=72, Resulting Numbers: [51, 72] Generated Node #0,3,0: 64:[51, 72] Operation: 14+58=72 Exploring Operation: 51-14=37, Resulting Numbers: [58, 37] Generated Node #0,3,1: 64:[58, 37] Operation: 51-14=37 Exploring Operation: 58-14=44, Resulting Numbers: [51, 44] Generated Node #0,3,2: 64:[51, 44] Operation: 58-14=44 Exploring Operation: 58-51=7, Resulting Numbers: [14, 7] Generated Node #0,3,3: 64:[14, 7] Operation: 58-51=7 Exploring Operation: 51+14=65, Resulting Numbers: [58, 65] Generated Node #0,3,4: 64:[58, 65] Operation: 51+14=65 Moving to Node #0,3,3 Current State: 64:[14, 7], Operations: ['78-20=58', '58-51=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,64 unequal: No Solution Moving to Node #0,3,4 Current State: 64:[58, 65], Operations: ['78-20=58', '51+14=65'] Exploring Operation: 65-58=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 58*65=3770, Resulting Numbers: [3770] 3770,64 unequal: No Solution Exploring Operation: 58+65=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[58, 37], Operations: ['78-20=58', '51-14=37'] Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,64 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[51, 72], Operations: ['78-20=58', '14+58=72'] Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,64 unequal: No Solution Exploring Operation: 51*72=3672, Resulting Numbers: [3672] 3672,64 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[51, 44], Operations: ['78-20=58', '58-14=44'] Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 8, 62, 60, 91 ]
39
[ "8+62=70", "91-60=31", "70-31=39" ]
Current State: 39:[8, 62, 60, 91], Operations: [] Exploring Operation: 8+62=70, Resulting Numbers: [60, 91, 70] Generated Node #2: [60, 91, 70] from Operation: 8+62=70 Current State: 39:[60, 91, 70], Operations: ['8+62=70'] Exploring Operation: 91-60=31, Resulting Numbers: [70, 31] Generated Node #3: [70, 31] from Operation: 91-60=31 Current State: 39:[70, 31], Operations: ['8+62=70', '91-60=31'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[8, 62, 60, 91], Operations: [] Exploring Operation: 91-62=29, Resulting Numbers: [8, 60, 29] Generated Node #0,0: 39:[8, 60, 29] Operation: 91-62=29 Exploring Operation: 91-60=31, Resulting Numbers: [8, 62, 31] Generated Node #0,1: 39:[8, 62, 31] Operation: 91-60=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[8, 60, 29], Operations: ['91-62=29'] Exploring Operation: 60-29=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 60-29=31 Exploring Operation: 60-8=52, Resulting Numbers: [29, 52] Generated Node #0,0,1: 39:[29, 52] Operation: 60-8=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['91-62=29', '60-29=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[8, 62, 60, 91], Operations: [] Exploring Operation: 91-62=29, Resulting Numbers: [8, 60, 29] Generated Node #0,0: 39:[8, 60, 29] Operation: 91-62=29 Moving to Node #0,0 Current State: 39:[8, 60, 29], Operations: ['91-62=29'] Exploring Operation: 60-29=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 60-29=31 Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['91-62=29', '60-29=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 57, 61, 57, 26 ]
61
[ "57-57=0", "26*0=0", "61+0=61" ]
Current State: 61:[57, 61, 57, 26], Operations: [] Exploring Operation: 57-57=0, Resulting Numbers: [61, 26, 0] Generated Node #2: [61, 26, 0] from Operation: 57-57=0 Current State: 61:[61, 26, 0], Operations: ['57-57=0'] Exploring Operation: 26*0=0, Resulting Numbers: [61, 0] Generated Node #3: [61, 0] from Operation: 26*0=0 Current State: 61:[61, 0], Operations: ['57-57=0', '26*0=0'] Exploring Operation: 61+0=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[57, 61, 57, 26], Operations: [] Exploring Operation: 61-26=35, Resulting Numbers: [57, 57, 35] Generated Node #0,0: 61:[57, 57, 35] Operation: 61-26=35 Exploring Operation: 57+26=83, Resulting Numbers: [57, 61, 83] Generated Node #0,1: 61:[57, 61, 83] Operation: 57+26=83 Exploring Operation: 57+26=83, Resulting Numbers: [61, 57, 83] Generated Node #0,2: 61:[61, 57, 83] Operation: 57+26=83 Exploring Operation: 57-26=31, Resulting Numbers: [61, 57, 31] Generated Node #0,3: 61:[61, 57, 31] Operation: 57-26=31 Exploring Operation: 61+26=87, Resulting Numbers: [57, 57, 87] Generated Node #0,4: 61:[57, 57, 87] Operation: 61+26=87 Moving to Node #0,1 Current State: 61:[57, 61, 83], Operations: ['57+26=83'] Exploring Operation: 57+61=118, Resulting Numbers: [83, 118] Generated Node #0,1,0: 61:[83, 118] Operation: 57+61=118 Exploring Operation: 83-61=22, Resulting Numbers: [57, 22] Generated Node #0,1,1: 61:[57, 22] Operation: 83-61=22 Exploring Operation: 61-57=4, Resulting Numbers: [83, 4] Generated Node #0,1,2: 61:[83, 4] Operation: 61-57=4 Exploring Operation: 57+83=140, Resulting Numbers: [61, 140] Generated Node #0,1,3: 61:[61, 140] Operation: 57+83=140 Exploring Operation: 83-57=26, Resulting Numbers: [61, 26] Generated Node #0,1,4: 61:[61, 26] Operation: 83-57=26 Moving to Node #0,2 Current State: 61:[61, 57, 83], Operations: ['57+26=83'] Exploring Operation: 83-61=22, Resulting Numbers: [57, 22] Generated Node #0,2,0: 61:[57, 22] Operation: 83-61=22 Exploring Operation: 61+57=118, Resulting Numbers: [83, 118] Generated Node #0,2,1: 61:[83, 118] Operation: 61+57=118 Exploring Operation: 61-57=4, Resulting Numbers: [83, 4] Generated Node #0,2,2: 61:[83, 4] Operation: 61-57=4 Exploring Operation: 57+83=140, Resulting Numbers: [61, 140] Generated Node #0,2,3: 61:[61, 140] Operation: 57+83=140 Exploring Operation: 83-57=26, Resulting Numbers: [61, 26] Generated Node #0,2,4: 61:[61, 26] Operation: 83-57=26 Moving to Node #0,0 Current State: 61:[57, 57, 35], Operations: ['61-26=35'] Exploring Operation: 57+35=92, Resulting Numbers: [57, 92] Generated Node #0,0,0: 61:[57, 92] Operation: 57+35=92 Exploring Operation: 57-35=22, Resulting Numbers: [57, 22] Generated Node #0,0,1: 61:[57, 22] Operation: 57-35=22 Exploring Operation: 57-35=22, Resulting Numbers: [57, 22] Generated Node #0,0,2: 61:[57, 22] Operation: 57-35=22 Exploring Operation: 57+35=92, Resulting Numbers: [57, 92] Generated Node #0,0,3: 61:[57, 92] Operation: 57+35=92 Exploring Operation: 57+57=114, Resulting Numbers: [35, 114] Generated Node #0,0,4: 61:[35, 114] Operation: 57+57=114 Moving to Node #0,3 Current State: 61:[61, 57, 31], Operations: ['57-26=31'] Exploring Operation: 61+31=92, Resulting Numbers: [57, 92] Generated Node #0,3,0: 61:[57, 92] Operation: 61+31=92 Exploring Operation: 57-31=26, Resulting Numbers: [61, 26] Generated Node #0,3,1: 61:[61, 26] Operation: 57-31=26 Exploring Operation: 61-31=30, Resulting Numbers: [57, 30] Generated Node #0,3,2: 61:[57, 30] Operation: 61-31=30 Exploring Operation: 57+31=88, Resulting Numbers: [61, 88] Generated Node #0,3,3: 61:[61, 88] Operation: 57+31=88 Exploring Operation: 61+57=118, Resulting Numbers: [31, 118] Generated Node #0,3,4: 61:[31, 118] Operation: 61+57=118 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[61, 88], Operations: ['57-26=31', '57+31=88'] Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,61 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[57, 92], Operations: ['57-26=31', '61+31=92'] Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,61 unequal: No Solution Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[61, 26], Operations: ['57-26=31', '57-31=26'] Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[57, 30], Operations: ['57-26=31', '61-31=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 61:[31, 118], Operations: ['57-26=31', '61+57=118'] Exploring Operation: 31+118=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 118-31=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 31*118=3658, Resulting Numbers: [3658] 3658,61 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: 61:[57, 57, 87], Operations: ['61+26=87'] Exploring Operation: 57/57=1, Resulting Numbers: [87, 1] Generated Node #0,4,0: 61:[87, 1] Operation: 57/57=1 Exploring Operation: 57-57=0, Resulting Numbers: [87, 0] Generated Node #0,4,1: 61:[87, 0] Operation: 57-57=0 Exploring Operation: 87-57=30, Resulting Numbers: [57, 30] Generated Node #0,4,2: 61:[57, 30] Operation: 87-57=30 Exploring Operation: 57+57=114, Resulting Numbers: [87, 114] Generated Node #0,4,3: 61:[87, 114] Operation: 57+57=114 Exploring Operation: 87-57=30, Resulting Numbers: [57, 30] Generated Node #0,4,4: 61:[57, 30] Operation: 87-57=30 Moving to Node #0,1,4 Current State: 61:[61, 26], Operations: ['57+26=83', '83-57=26'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,61 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[61, 26], Operations: ['57+26=83', '83-57=26'] Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,61 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[57, 92], Operations: ['61-26=35', '57+35=92'] Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,61 unequal: No Solution Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[57, 92], Operations: ['61-26=35', '57+35=92'] Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,61 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[57, 30], Operations: ['61+26=87', '87-57=30'] Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,61 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[57, 30], Operations: ['61+26=87', '87-57=30'] Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,61 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[57, 22], Operations: ['57+26=83', '83-61=22'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,61 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[57, 22], Operations: ['61-26=35', '57-35=22'] Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,61 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[57, 22], Operations: ['61-26=35', '57-35=22'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[57, 22], Operations: ['57+26=83', '83-61=22'] Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,61 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[35, 114], Operations: ['61-26=35', '57+57=114'] Exploring Operation: 35+114=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 35*114=3990, Resulting Numbers: [3990] 3990,61 unequal: No Solution Exploring Operation: 114-35=79, Resulting Numbers: [79] 79,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[83, 118], Operations: ['57+26=83', '57+61=118'] Exploring Operation: 83*118=9794, Resulting Numbers: [9794] 9794,61 unequal: No Solution Exploring Operation: 118-83=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 83+118=201, Resulting Numbers: [201] 201,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[61, 140], Operations: ['57+26=83', '57+83=140'] Exploring Operation: 140-61=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 61+140=201, Resulting Numbers: [201] 201,61 unequal: No Solution Exploring Operation: 61*140=8540, Resulting Numbers: [8540] 8540,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[87, 114], Operations: ['61+26=87', '57+57=114'] Exploring Operation: 114-87=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 87*114=9918, Resulting Numbers: [9918] 9918,61 unequal: No Solution Exploring Operation: 87+114=201, Resulting Numbers: [201] 201,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[83, 4], Operations: ['57+26=83', '61-57=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,61 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[61, 140], Operations: ['57+26=83', '57+83=140'] Exploring Operation: 140-61=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 61+140=201, Resulting Numbers: [201] 201,61 unequal: No Solution Exploring Operation: 61*140=8540, Resulting Numbers: [8540] 8540,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[83, 118], Operations: ['57+26=83', '61+57=118'] Exploring Operation: 83+118=201, Resulting Numbers: [201] 201,61 unequal: No Solution Exploring Operation: 118-83=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 83*118=9794, Resulting Numbers: [9794] 9794,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[83, 4], Operations: ['57+26=83', '61-57=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[87, 1], Operations: ['61+26=87', '57/57=1'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[87, 0], Operations: ['61+26=87', '57-57=0'] Exploring Operation: 87*0=0, Resulting Numbers: [0] 0,61 unequal: No Solution Exploring Operation: 87+0=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 87-0=87, Resulting Numbers: [87] 87,61 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 28, 31, 45, 39 ]
78
[ "28*39=1092", "45-31=14", "1092/14=78" ]
Current State: 78:[28, 31, 45, 39], Operations: [] Exploring Operation: 28*39=1092, Resulting Numbers: [31, 45, 1092] Generated Node #2: [31, 45, 1092] from Operation: 28*39=1092 Current State: 78:[31, 45, 1092], Operations: ['28*39=1092'] Exploring Operation: 45-31=14, Resulting Numbers: [1092, 14] Generated Node #3: [1092, 14] from Operation: 45-31=14 Current State: 78:[1092, 14], Operations: ['28*39=1092', '45-31=14'] Exploring Operation: 1092/14=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[28, 31, 45, 39], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [31, 39, 17] Generated Node #0,0: 78:[31, 39, 17] Operation: 45-28=17 Exploring Operation: 31-28=3, Resulting Numbers: [45, 39, 3] Generated Node #0,1: 78:[45, 39, 3] Operation: 31-28=3 Exploring Operation: 31+45=76, Resulting Numbers: [28, 39, 76] Generated Node #0,2: 78:[28, 39, 76] Operation: 31+45=76 Exploring Operation: 45-39=6, Resulting Numbers: [28, 31, 6] Generated Node #0,3: 78:[28, 31, 6] Operation: 45-39=6 Exploring Operation: 45-31=14, Resulting Numbers: [28, 39, 14] Generated Node #0,4: 78:[28, 39, 14] Operation: 45-31=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 78:[28, 39, 14], Operations: ['45-31=14'] Exploring Operation: 39-14=25, Resulting Numbers: [28, 25] Generated Node #0,4,0: 78:[28, 25] Operation: 39-14=25 Exploring Operation: 39-28=11, Resulting Numbers: [14, 11] Generated Node #0,4,1: 78:[14, 11] Operation: 39-28=11 Exploring Operation: 28-14=14, Resulting Numbers: [39, 14] Generated Node #0,4,2: 78:[39, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [39, 2] Generated Node #0,4,3: 78:[39, 2] Operation: 28/14=2 Exploring Operation: 28+14=42, Resulting Numbers: [39, 42] Generated Node #0,4,4: 78:[39, 42] Operation: 28+14=42 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 78:[39, 2], Operations: ['45-31=14', '28/14=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[28, 31, 45, 39], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [28, 39, 14] Generated Node #0,4: 78:[28, 39, 14] Operation: 45-31=14 Moving to Node #0,4 Current State: 78:[28, 39, 14], Operations: ['45-31=14'] Exploring Operation: 28/14=2, Resulting Numbers: [39, 2] Generated Node #0,4,3: 78:[39, 2] Operation: 28/14=2 Moving to Node #0,4,3 Current State: 78:[39, 2], Operations: ['45-31=14', '28/14=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 3, 83, 35, 6 ]
16
[ "3*35=105", "83+6=89", "105-89=16" ]
Current State: 16:[3, 83, 35, 6], Operations: [] Exploring Operation: 3*35=105, Resulting Numbers: [83, 6, 105] Generated Node #2: [83, 6, 105] from Operation: 3*35=105 Current State: 16:[83, 6, 105], Operations: ['3*35=105'] Exploring Operation: 83+6=89, Resulting Numbers: [105, 89] Generated Node #3: [105, 89] from Operation: 83+6=89 Current State: 16:[105, 89], Operations: ['3*35=105', '83+6=89'] Exploring Operation: 105-89=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[3, 83, 35, 6], Operations: [] Exploring Operation: 35-6=29, Resulting Numbers: [3, 83, 29] Generated Node #0,0: 16:[3, 83, 29] Operation: 35-6=29 Exploring Operation: 83-6=77, Resulting Numbers: [3, 35, 77] Generated Node #0,1: 16:[3, 35, 77] Operation: 83-6=77 Exploring Operation: 83-35=48, Resulting Numbers: [3, 6, 48] Generated Node #0,2: 16:[3, 6, 48] Operation: 83-35=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[3, 6, 48], Operations: ['83-35=48'] Exploring Operation: 48/6=8, Resulting Numbers: [3, 8] Generated Node #0,2,0: 16:[3, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [3, 42] Generated Node #0,2,1: 16:[3, 42] Operation: 48-6=42 Exploring Operation: 48/3=16, Resulting Numbers: [6, 16] Generated Node #0,2,2: 16:[6, 16] Operation: 48/3=16 Moving to Node #0,2,0 Current State: 16:[3, 8], Operations: ['83-35=48', '48/6=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[6, 16], Operations: ['83-35=48', '48/3=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[3, 42], Operations: ['83-35=48', '48-6=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[3, 83, 29], Operations: ['35-6=29'] Exploring Operation: 83-3=80, Resulting Numbers: [29, 80] Generated Node #0,0,0: 16:[29, 80] Operation: 83-3=80 Exploring Operation: 83-29=54, Resulting Numbers: [3, 54] Generated Node #0,0,1: 16:[3, 54] Operation: 83-29=54 Exploring Operation: 29-3=26, Resulting Numbers: [83, 26] Generated Node #0,0,2: 16:[83, 26] Operation: 29-3=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[3, 54], Operations: ['35-6=29', '83-29=54'] Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[29, 80], Operations: ['35-6=29', '83-3=80'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,16 unequal: No Solution Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[83, 26], Operations: ['35-6=29', '29-3=26'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,16 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[3, 35, 77], Operations: ['83-6=77'] Exploring Operation: 77-35=42, Resulting Numbers: [3, 42] Generated Node #0,1,0: 16:[3, 42] Operation: 77-35=42 Exploring Operation: 35-3=32, Resulting Numbers: [77, 32] Generated Node #0,1,1: 16:[77, 32] Operation: 35-3=32 Exploring Operation: 77-3=74, Resulting Numbers: [35, 74] Generated Node #0,1,2: 16:[35, 74] Operation: 77-3=74 Moving to Node #0,1,0 Current State: 16:[3, 42], Operations: ['83-6=77', '77-35=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[77, 32], Operations: ['83-6=77', '35-3=32'] Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,16 unequal: No Solution Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,16 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[35, 74], Operations: ['83-6=77', '77-3=74'] Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 35*74=2590, Resulting Numbers: [2590] 2590,16 unequal: No Solution Exploring Operation: 35+74=109, Resulting Numbers: [109] 109,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 7, 72, 46, 3 ]
30
[ "7+72=79", "46+3=49", "79-49=30" ]
Current State: 30:[7, 72, 46, 3], Operations: [] Exploring Operation: 7+72=79, Resulting Numbers: [46, 3, 79] Generated Node #2: [46, 3, 79] from Operation: 7+72=79 Current State: 30:[46, 3, 79], Operations: ['7+72=79'] Exploring Operation: 46+3=49, Resulting Numbers: [79, 49] Generated Node #3: [79, 49] from Operation: 46+3=49 Current State: 30:[79, 49], Operations: ['7+72=79', '46+3=49'] Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[7, 72, 46, 3], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [7, 46, 24] Generated Node #0,0: 30:[7, 46, 24] Operation: 72/3=24 Exploring Operation: 46-7=39, Resulting Numbers: [72, 3, 39] Generated Node #0,1: 30:[72, 3, 39] Operation: 46-7=39 Exploring Operation: 72-46=26, Resulting Numbers: [7, 3, 26] Generated Node #0,2: 30:[7, 3, 26] Operation: 72-46=26 Exploring Operation: 72-7=65, Resulting Numbers: [46, 3, 65] Generated Node #0,3: 30:[46, 3, 65] Operation: 72-7=65 Exploring Operation: 72-3=69, Resulting Numbers: [7, 46, 69] Generated Node #0,4: 30:[7, 46, 69] Operation: 72-3=69 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[7, 3, 26], Operations: ['72-46=26'] Exploring Operation: 7+3=10, Resulting Numbers: [26, 10] Generated Node #0,2,0: 30:[26, 10] Operation: 7+3=10 Exploring Operation: 3+26=29, Resulting Numbers: [7, 29] Generated Node #0,2,1: 30:[7, 29] Operation: 3+26=29 Exploring Operation: 26-7=19, Resulting Numbers: [3, 19] Generated Node #0,2,2: 30:[3, 19] Operation: 26-7=19 Exploring Operation: 7-3=4, Resulting Numbers: [26, 4] Generated Node #0,2,3: 30:[26, 4] Operation: 7-3=4 Exploring Operation: 7+26=33, Resulting Numbers: [3, 33] Generated Node #0,2,4: 30:[3, 33] Operation: 7+26=33 Moving to Node #0,2,1 Current State: 30:[7, 29], Operations: ['72-46=26', '3+26=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,30 unequal: No Solution Moving to Node #0,2,4 Current State: 30:[3, 33], Operations: ['72-46=26', '7+26=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[7, 72, 46, 3], Operations: [] Exploring Operation: 72-46=26, Resulting Numbers: [7, 3, 26] Generated Node #0,2: 30:[7, 3, 26] Operation: 72-46=26 Moving to Node #0,2 Current State: 30:[7, 3, 26], Operations: ['72-46=26'] Exploring Operation: 7+26=33, Resulting Numbers: [3, 33] Generated Node #0,2,4: 30:[3, 33] Operation: 7+26=33 Moving to Node #0,2,4 Current State: 30:[3, 33], Operations: ['72-46=26', '7+26=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 65, 77, 16, 69 ]
97
[ "77-65=12", "16+69=85", "12+85=97" ]
Current State: 97:[65, 77, 16, 69], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [16, 69, 12] Generated Node #2: [16, 69, 12] from Operation: 77-65=12 Current State: 97:[16, 69, 12], Operations: ['77-65=12'] Exploring Operation: 16+69=85, Resulting Numbers: [12, 85] Generated Node #3: [12, 85] from Operation: 16+69=85 Current State: 97:[12, 85], Operations: ['77-65=12', '16+69=85'] Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[65, 77, 16, 69], Operations: [] Exploring Operation: 16+69=85, Resulting Numbers: [65, 77, 85] Generated Node #0,0: 97:[65, 77, 85] Operation: 16+69=85 Exploring Operation: 77+16=93, Resulting Numbers: [65, 69, 93] Generated Node #0,1: 97:[65, 69, 93] Operation: 77+16=93 Exploring Operation: 65+16=81, Resulting Numbers: [77, 69, 81] Generated Node #0,2: 97:[77, 69, 81] Operation: 65+16=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[65, 77, 85], Operations: ['16+69=85'] Exploring Operation: 65+85=150, Resulting Numbers: [77, 150] Generated Node #0,0,0: 97:[77, 150] Operation: 65+85=150 Exploring Operation: 65+77=142, Resulting Numbers: [85, 142] Generated Node #0,0,1: 97:[85, 142] Operation: 65+77=142 Exploring Operation: 77-65=12, Resulting Numbers: [85, 12] Generated Node #0,0,2: 97:[85, 12] Operation: 77-65=12 Moving to Node #0,0,1 Current State: 97:[85, 142], Operations: ['16+69=85', '65+77=142'] Exploring Operation: 85+142=227, Resulting Numbers: [227] 227,97 unequal: No Solution Exploring Operation: 85*142=12070, Resulting Numbers: [12070] 12070,97 unequal: No Solution Exploring Operation: 142-85=57, Resulting Numbers: [57] 57,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[77, 150], Operations: ['16+69=85', '65+85=150'] Exploring Operation: 77+150=227, Resulting Numbers: [227] 227,97 unequal: No Solution Exploring Operation: 150-77=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 77*150=11550, Resulting Numbers: [11550] 11550,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[85, 12], Operations: ['16+69=85', '77-65=12'] Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[65, 77, 16, 69], Operations: [] Exploring Operation: 16+69=85, Resulting Numbers: [65, 77, 85] Generated Node #0,0: 97:[65, 77, 85] Operation: 16+69=85 Moving to Node #0,0 Current State: 97:[65, 77, 85], Operations: ['16+69=85'] Exploring Operation: 77-65=12, Resulting Numbers: [85, 12] Generated Node #0,0,2: 97:[85, 12] Operation: 77-65=12 Moving to Node #0,0,2 Current State: 97:[85, 12], Operations: ['16+69=85', '77-65=12'] Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 29, 29, 83, 80 ]
83
[ "29-29=0", "80*0=0", "83+0=83" ]
Current State: 83:[29, 29, 83, 80], Operations: [] Exploring Operation: 29-29=0, Resulting Numbers: [83, 80, 0] Generated Node #2: [83, 80, 0] from Operation: 29-29=0 Current State: 83:[83, 80, 0], Operations: ['29-29=0'] Exploring Operation: 80*0=0, Resulting Numbers: [83, 0] Generated Node #3: [83, 0] from Operation: 80*0=0 Current State: 83:[83, 0], Operations: ['29-29=0', '80*0=0'] Exploring Operation: 83+0=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[29, 29, 83, 80], Operations: [] Exploring Operation: 29+29=58, Resulting Numbers: [83, 80, 58] Generated Node #0,0: 83:[83, 80, 58] Operation: 29+29=58 Moving to Node #0,0 Current State: 83:[83, 80, 58], Operations: ['29+29=58'] Exploring Operation: 80+58=138, Resulting Numbers: [83, 138] Generated Node #0,0,0: 83:[83, 138] Operation: 80+58=138 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[83, 138], Operations: ['29+29=58', '80+58=138'] Exploring Operation: 138-83=55, Resulting Numbers: [55] 55,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 13, 28, 16 ]
15
[ "16-13=3", "28*3=84", "84-69=15" ]
Current State: 15:[69, 13, 28, 16], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [69, 28, 3] Generated Node #2: [69, 28, 3] from Operation: 16-13=3 Current State: 15:[69, 28, 3], Operations: ['16-13=3'] Exploring Operation: 28*3=84, Resulting Numbers: [69, 84] Generated Node #3: [69, 84] from Operation: 28*3=84 Current State: 15:[69, 84], Operations: ['16-13=3', '28*3=84'] Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[69, 13, 28, 16], Operations: [] Exploring Operation: 69-16=53, Resulting Numbers: [13, 28, 53] Generated Node #0,0: 15:[13, 28, 53] Operation: 69-16=53 Exploring Operation: 28-13=15, Resulting Numbers: [69, 16, 15] Generated Node #0,1: 15:[69, 16, 15] Operation: 28-13=15 Exploring Operation: 69-13=56, Resulting Numbers: [28, 16, 56] Generated Node #0,2: 15:[28, 16, 56] Operation: 69-13=56 Exploring Operation: 69-28=41, Resulting Numbers: [13, 16, 41] Generated Node #0,3: 15:[13, 16, 41] Operation: 69-28=41 Moving to Node #0,3 Current State: 15:[13, 16, 41], Operations: ['69-28=41'] Exploring Operation: 41-16=25, Resulting Numbers: [13, 25] Generated Node #0,3,0: 15:[13, 25] Operation: 41-16=25 Exploring Operation: 41-13=28, Resulting Numbers: [16, 28] Generated Node #0,3,1: 15:[16, 28] Operation: 41-13=28 Exploring Operation: 13+16=29, Resulting Numbers: [41, 29] Generated Node #0,3,2: 15:[41, 29] Operation: 13+16=29 Exploring Operation: 16-13=3, Resulting Numbers: [41, 3] Generated Node #0,3,3: 15:[41, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[13, 25], Operations: ['69-28=41', '41-16=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,15 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[16, 28], Operations: ['69-28=41', '41-13=28'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,15 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[41, 3], Operations: ['69-28=41', '16-13=3'] Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,15 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[41, 29], Operations: ['69-28=41', '13+16=29'] Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,15 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,15 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: 15:[13, 28, 53], Operations: ['69-16=53'] Exploring Operation: 53-13=40, Resulting Numbers: [28, 40] Generated Node #0,0,0: 15:[28, 40] Operation: 53-13=40 Exploring Operation: 53-28=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 15:[13, 25] Operation: 53-28=25 Exploring Operation: 13+28=41, Resulting Numbers: [53, 41] Generated Node #0,0,2: 15:[53, 41] Operation: 13+28=41 Exploring Operation: 28-13=15, Resulting Numbers: [53, 15] Generated Node #0,0,3: 15:[53, 15] Operation: 28-13=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[13, 25], Operations: ['69-16=53', '53-28=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,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,0,0 Current State: 15:[28, 40], Operations: ['69-16=53', '53-13=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,15 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,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,0,3 Current State: 15:[53, 15], Operations: ['69-16=53', '28-13=15'] Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,15 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,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,0,2 Current State: 15:[53, 41], Operations: ['69-16=53', '13+28=41'] Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,15 unequal: No Solution Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,15 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: 15:[28, 16, 56], Operations: ['69-13=56'] Exploring Operation: 56/28=2, Resulting Numbers: [16, 2] Generated Node #0,2,0: 15:[16, 2] Operation: 56/28=2 Exploring Operation: 56-16=40, Resulting Numbers: [28, 40] Generated Node #0,2,1: 15:[28, 40] Operation: 56-16=40 Exploring Operation: 28-16=12, Resulting Numbers: [56, 12] Generated Node #0,2,2: 15:[56, 12] Operation: 28-16=12 Exploring Operation: 56-28=28, Resulting Numbers: [16, 28] Generated Node #0,2,3: 15:[16, 28] Operation: 56-28=28 Moving to Node #0,1 Current State: 15:[69, 16, 15], Operations: ['28-13=15'] Exploring Operation: 69-15=54, Resulting Numbers: [16, 54] Generated Node #0,1,0: 15:[16, 54] Operation: 69-15=54 Exploring Operation: 69-16=53, Resulting Numbers: [15, 53] Generated Node #0,1,1: 15:[15, 53] Operation: 69-16=53 Exploring Operation: 69+16=85, Resulting Numbers: [15, 85] Generated Node #0,1,2: 15:[15, 85] Operation: 69+16=85 Exploring Operation: 16-15=1, Resulting Numbers: [69, 1] Generated Node #0,1,3: 15:[69, 1] Operation: 16-15=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[15, 53], Operations: ['28-13=15', '69-16=53'] Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,15 unequal: No Solution Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[16, 54], Operations: ['28-13=15', '69-15=54'] Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,15 unequal: No Solution Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[69, 1], Operations: ['28-13=15', '16-15=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[15, 85], Operations: ['28-13=15', '69+16=85'] Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,15 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,15 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: 15:[16, 2], Operations: ['69-13=56', '56/28=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[16, 28], Operations: ['69-13=56', '56-28=28'] Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,15 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[28, 40], Operations: ['69-13=56', '56-16=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,15 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[56, 12], Operations: ['69-13=56', '28-16=12'] Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,15 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 96, 32, 95, 68 ]
91
[ "96-32=64", "95-68=27", "64+27=91" ]
Current State: 91:[96, 32, 95, 68], Operations: [] Exploring Operation: 96-32=64, Resulting Numbers: [95, 68, 64] Generated Node #2: [95, 68, 64] from Operation: 96-32=64 Current State: 91:[95, 68, 64], Operations: ['96-32=64'] Exploring Operation: 95-68=27, Resulting Numbers: [64, 27] Generated Node #3: [64, 27] from Operation: 95-68=27 Current State: 91:[64, 27], Operations: ['96-32=64', '95-68=27'] Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[96, 32, 95, 68], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [95, 68, 3] Generated Node #0,0: 91:[95, 68, 3] Operation: 96/32=3 Exploring Operation: 32+68=100, Resulting Numbers: [96, 95, 100] Generated Node #0,1: 91:[96, 95, 100] Operation: 32+68=100 Moving to Node #0,1 Current State: 91:[96, 95, 100], Operations: ['32+68=100'] Exploring Operation: 100-96=4, Resulting Numbers: [95, 4] Generated Node #0,1,0: 91:[95, 4] Operation: 100-96=4 Exploring Operation: 100-95=5, Resulting Numbers: [96, 5] Generated Node #0,1,1: 91:[96, 5] Operation: 100-95=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[95, 4], Operations: ['32+68=100', '100-96=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[96, 32, 95, 68], Operations: [] Exploring Operation: 32+68=100, Resulting Numbers: [96, 95, 100] Generated Node #0,1: 91:[96, 95, 100] Operation: 32+68=100 Moving to Node #0,1 Current State: 91:[96, 95, 100], Operations: ['32+68=100'] Exploring Operation: 100-96=4, Resulting Numbers: [95, 4] Generated Node #0,1,0: 91:[95, 4] Operation: 100-96=4 Moving to Node #0,1,0 Current State: 91:[95, 4], Operations: ['32+68=100', '100-96=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 48, 65, 58, 72 ]
99
[ "48+65=113", "72-58=14", "113-14=99" ]
Current State: 99:[48, 65, 58, 72], Operations: [] Exploring Operation: 48+65=113, Resulting Numbers: [58, 72, 113] Generated Node #2: [58, 72, 113] from Operation: 48+65=113 Current State: 99:[58, 72, 113], Operations: ['48+65=113'] Exploring Operation: 72-58=14, Resulting Numbers: [113, 14] Generated Node #3: [113, 14] from Operation: 72-58=14 Current State: 99:[113, 14], Operations: ['48+65=113', '72-58=14'] Exploring Operation: 113-14=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[48, 65, 58, 72], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [48, 58, 7] Generated Node #0,0: 99:[48, 58, 7] Operation: 72-65=7 Exploring Operation: 65-48=17, Resulting Numbers: [58, 72, 17] Generated Node #0,1: 99:[58, 72, 17] Operation: 65-48=17 Exploring Operation: 72-58=14, Resulting Numbers: [48, 65, 14] Generated Node #0,2: 99:[48, 65, 14] Operation: 72-58=14 Exploring Operation: 65-58=7, Resulting Numbers: [48, 72, 7] Generated Node #0,3: 99:[48, 72, 7] Operation: 65-58=7 Exploring Operation: 58-48=10, Resulting Numbers: [65, 72, 10] Generated Node #0,4: 99:[65, 72, 10] Operation: 58-48=10 Moving to Node #0,0 Current State: 99:[48, 58, 7], Operations: ['72-65=7'] Exploring Operation: 58-48=10, Resulting Numbers: [7, 10] Generated Node #0,0,0: 99:[7, 10] Operation: 58-48=10 Exploring Operation: 48-7=41, Resulting Numbers: [58, 41] Generated Node #0,0,1: 99:[58, 41] Operation: 48-7=41 Exploring Operation: 48+7=55, Resulting Numbers: [58, 55] Generated Node #0,0,2: 99:[58, 55] Operation: 48+7=55 Exploring Operation: 48+58=106, Resulting Numbers: [7, 106] Generated Node #0,0,3: 99:[7, 106] Operation: 48+58=106 Exploring Operation: 58-7=51, Resulting Numbers: [48, 51] Generated Node #0,0,4: 99:[48, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[7, 10], Operations: ['72-65=7', '58-48=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,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,3 Current State: 99:[7, 106], Operations: ['72-65=7', '48+58=106'] Exploring Operation: 7+106=113, Resulting Numbers: [113] 113,99 unequal: No Solution Exploring Operation: 7*106=742, Resulting Numbers: [742] 742,99 unequal: No Solution Exploring Operation: 106-7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[48, 65, 58, 72], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [48, 58, 7] Generated Node #0,0: 99:[48, 58, 7] Operation: 72-65=7 Moving to Node #0,0 Current State: 99:[48, 58, 7], Operations: ['72-65=7'] Exploring Operation: 48+58=106, Resulting Numbers: [7, 106] Generated Node #0,0,3: 99:[7, 106] Operation: 48+58=106 Moving to Node #0,0,3 Current State: 99:[7, 106], Operations: ['72-65=7', '48+58=106'] Exploring Operation: 106-7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 63, 18, 52, 68 ]
97
[ "63+18=81", "68-52=16", "81+16=97" ]
Current State: 97:[63, 18, 52, 68], Operations: [] Exploring Operation: 63+18=81, Resulting Numbers: [52, 68, 81] Generated Node #2: [52, 68, 81] from Operation: 63+18=81 Current State: 97:[52, 68, 81], Operations: ['63+18=81'] Exploring Operation: 68-52=16, Resulting Numbers: [81, 16] Generated Node #3: [81, 16] from Operation: 68-52=16 Current State: 97:[81, 16], Operations: ['63+18=81', '68-52=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[63, 18, 52, 68], Operations: [] Exploring Operation: 63+18=81, Resulting Numbers: [52, 68, 81] Generated Node #0,0: 97:[52, 68, 81] Operation: 63+18=81 Exploring Operation: 18+52=70, Resulting Numbers: [63, 68, 70] Generated Node #0,1: 97:[63, 68, 70] Operation: 18+52=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[52, 68, 81], Operations: ['63+18=81'] Exploring Operation: 52+68=120, Resulting Numbers: [81, 120] Generated Node #0,0,0: 97:[81, 120] Operation: 52+68=120 Exploring Operation: 52+81=133, Resulting Numbers: [68, 133] Generated Node #0,0,1: 97:[68, 133] Operation: 52+81=133 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[81, 120], Operations: ['63+18=81', '52+68=120'] Exploring Operation: 120-81=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 81+120=201, Resulting Numbers: [201] 201,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:[68, 133], Operations: ['63+18=81', '52+81=133'] Exploring Operation: 133-68=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 68+133=201, Resulting Numbers: [201] 201,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:[63, 68, 70], Operations: ['18+52=70'] Exploring Operation: 63+68=131, Resulting Numbers: [70, 131] Generated Node #0,1,0: 97:[70, 131] Operation: 63+68=131 Exploring Operation: 63+70=133, Resulting Numbers: [68, 133] Generated Node #0,1,1: 97:[68, 133] Operation: 63+70=133 Moving to Node #0,1,0 Current State: 97:[70, 131], Operations: ['18+52=70', '63+68=131'] Exploring Operation: 70+131=201, Resulting Numbers: [201] 201,97 unequal: No Solution Exploring Operation: 131-70=61, Resulting Numbers: [61] 61,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[68, 133], Operations: ['18+52=70', '63+70=133'] Exploring Operation: 68+133=201, Resulting Numbers: [201] 201,97 unequal: No Solution Exploring Operation: 133-68=65, Resulting Numbers: [65] 65,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 56, 7, 39, 30 ]
89
[ "56-39=17", "7*17=119", "119-30=89" ]
Current State: 89:[56, 7, 39, 30], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [7, 30, 17] Generated Node #2: [7, 30, 17] from Operation: 56-39=17 Current State: 89:[7, 30, 17], Operations: ['56-39=17'] Exploring Operation: 7*17=119, Resulting Numbers: [30, 119] Generated Node #3: [30, 119] from Operation: 7*17=119 Current State: 89:[30, 119], Operations: ['56-39=17', '7*17=119'] Exploring Operation: 119-30=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[56, 7, 39, 30], Operations: [] Exploring Operation: 56+7=63, Resulting Numbers: [39, 30, 63] Generated Node #0,0: 89:[39, 30, 63] Operation: 56+7=63 Moving to Node #0,0 Current State: 89:[39, 30, 63], Operations: ['56+7=63'] Exploring Operation: 39+30=69, Resulting Numbers: [63, 69] Generated Node #0,0,0: 89:[63, 69] Operation: 39+30=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[63, 69], Operations: ['56+7=63', '39+30=69'] Exploring Operation: 63+69=132, Resulting Numbers: [132] 132,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
[ 48, 15, 9, 32 ]
48
[ "48*15=720", "720/9=80", "80-32=48" ]
Current State: 48:[48, 15, 9, 32], Operations: [] Exploring Operation: 48*15=720, Resulting Numbers: [9, 32, 720] Generated Node #2: [9, 32, 720] from Operation: 48*15=720 Current State: 48:[9, 32, 720], Operations: ['48*15=720'] Exploring Operation: 720/9=80, Resulting Numbers: [32, 80] Generated Node #3: [32, 80] from Operation: 720/9=80 Current State: 48:[32, 80], Operations: ['48*15=720', '720/9=80'] Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[48, 15, 9, 32], Operations: [] Exploring Operation: 15+32=47, Resulting Numbers: [48, 9, 47] Generated Node #0,0: 48:[48, 9, 47] Operation: 15+32=47 Exploring Operation: 48-32=16, Resulting Numbers: [15, 9, 16] Generated Node #0,1: 48:[15, 9, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[48, 9, 47], Operations: ['15+32=47'] Exploring Operation: 48-47=1, Resulting Numbers: [9, 1] Generated Node #0,0,0: 48:[9, 1] Operation: 48-47=1 Exploring Operation: 9+47=56, Resulting Numbers: [48, 56] Generated Node #0,0,1: 48:[48, 56] Operation: 9+47=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[9, 1], Operations: ['15+32=47', '48-47=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[48, 56], Operations: ['15+32=47', '9+47=56'] Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[15, 9, 16], Operations: ['48-32=16'] Exploring Operation: 15+9=24, Resulting Numbers: [16, 24] Generated Node #0,1,0: 48:[16, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [16, 6] Generated Node #0,1,1: 48:[16, 6] Operation: 15-9=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[16, 24], Operations: ['48-32=16', '15+9=24'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[16, 6], Operations: ['48-32=16', '15-9=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 70, 6, 43, 79 ]
58
[ "70-6=64", "43+79=122", "122-64=58" ]
Current State: 58:[70, 6, 43, 79], Operations: [] Exploring Operation: 70-6=64, Resulting Numbers: [43, 79, 64] Generated Node #2: [43, 79, 64] from Operation: 70-6=64 Current State: 58:[43, 79, 64], Operations: ['70-6=64'] Exploring Operation: 43+79=122, Resulting Numbers: [64, 122] Generated Node #3: [64, 122] from Operation: 43+79=122 Current State: 58:[64, 122], Operations: ['70-6=64', '43+79=122'] Exploring Operation: 122-64=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[70, 6, 43, 79], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [6, 43, 9] Generated Node #0,0: 58:[6, 43, 9] Operation: 79-70=9 Exploring Operation: 70-6=64, Resulting Numbers: [43, 79, 64] Generated Node #0,1: 58:[43, 79, 64] Operation: 70-6=64 Exploring Operation: 70-43=27, Resulting Numbers: [6, 79, 27] Generated Node #0,2: 58:[6, 79, 27] Operation: 70-43=27 Exploring Operation: 79-43=36, Resulting Numbers: [70, 6, 36] Generated Node #0,3: 58:[70, 6, 36] Operation: 79-43=36 Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[70, 6, 36], Operations: ['79-43=36'] Exploring Operation: 70-36=34, Resulting Numbers: [6, 34] Generated Node #0,3,0: 58:[6, 34] Operation: 70-36=34 Exploring Operation: 36/6=6, Resulting Numbers: [70, 6] Generated Node #0,3,1: 58:[70, 6] Operation: 36/6=6 Exploring Operation: 70-6=64, Resulting Numbers: [36, 64] Generated Node #0,3,2: 58:[36, 64] Operation: 70-6=64 Exploring Operation: 36-6=30, Resulting Numbers: [70, 30] Generated Node #0,3,3: 58:[70, 30] Operation: 36-6=30 Moving to Node #0,3,0 Current State: 58:[6, 34], Operations: ['79-43=36', '70-36=34'] Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,58 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[70, 30], Operations: ['79-43=36', '36-6=30'] Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[36, 64], Operations: ['79-43=36', '70-6=64'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,58 unequal: No Solution Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[70, 6], Operations: ['79-43=36', '36/6=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,58 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[6, 43, 9], Operations: ['79-70=9'] Exploring Operation: 9-6=3, Resulting Numbers: [43, 3] Generated Node #0,0,0: 58:[43, 3] Operation: 9-6=3 Exploring Operation: 43-9=34, Resulting Numbers: [6, 34] Generated Node #0,0,1: 58:[6, 34] Operation: 43-9=34 Exploring Operation: 43-6=37, Resulting Numbers: [9, 37] Generated Node #0,0,2: 58:[9, 37] Operation: 43-6=37 Exploring Operation: 43+9=52, Resulting Numbers: [6, 52] Generated Node #0,0,3: 58:[6, 52] Operation: 43+9=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[6, 34], Operations: ['79-70=9', '43-9=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,58 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,58 unequal: No Solution No 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: 58:[6, 52], Operations: ['79-70=9', '43+9=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[70, 6, 43, 79], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [6, 43, 9] Generated Node #0,0: 58:[6, 43, 9] Operation: 79-70=9 Moving to Node #0,0 Current State: 58:[6, 43, 9], Operations: ['79-70=9'] Exploring Operation: 43+9=52, Resulting Numbers: [6, 52] Generated Node #0,0,3: 58:[6, 52] Operation: 43+9=52 Moving to Node #0,0,3 Current State: 58:[6, 52], Operations: ['79-70=9', '43+9=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 82, 72, 21, 85 ]
74
[ "82-72=10", "85-21=64", "10+64=74" ]
Current State: 74:[82, 72, 21, 85], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [21, 85, 10] Generated Node #2: [21, 85, 10] from Operation: 82-72=10 Current State: 74:[21, 85, 10], Operations: ['82-72=10'] Exploring Operation: 85-21=64, Resulting Numbers: [10, 64] Generated Node #3: [10, 64] from Operation: 85-21=64 Current State: 74:[10, 64], Operations: ['82-72=10', '85-21=64'] Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[82, 72, 21, 85], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [82, 72, 64] Generated Node #0,0: 74:[82, 72, 64] Operation: 85-21=64 Exploring Operation: 85-82=3, Resulting Numbers: [72, 21, 3] Generated Node #0,1: 74:[72, 21, 3] Operation: 85-82=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[72, 21, 3], Operations: ['85-82=3'] Exploring Operation: 21/3=7, Resulting Numbers: [72, 7] Generated Node #0,1,0: 74:[72, 7] Operation: 21/3=7 Exploring Operation: 21*3=63, Resulting Numbers: [72, 63] Generated Node #0,1,1: 74:[72, 63] Operation: 21*3=63 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[72, 7], Operations: ['85-82=3', '21/3=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,74 unequal: No Solution No 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: 74:[72, 63], Operations: ['85-82=3', '21*3=63'] Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,74 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: 74:[82, 72, 64], Operations: ['85-21=64'] Exploring Operation: 72-64=8, Resulting Numbers: [82, 8] Generated Node #0,0,0: 74:[82, 8] Operation: 72-64=8 Exploring Operation: 82-72=10, Resulting Numbers: [64, 10] Generated Node #0,0,1: 74:[64, 10] Operation: 82-72=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[82, 8], Operations: ['85-21=64', '72-64=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[82, 72, 21, 85], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [82, 72, 64] Generated Node #0,0: 74:[82, 72, 64] Operation: 85-21=64 Moving to Node #0,0 Current State: 74:[82, 72, 64], Operations: ['85-21=64'] Exploring Operation: 72-64=8, Resulting Numbers: [82, 8] Generated Node #0,0,0: 74:[82, 8] Operation: 72-64=8 Moving to Node #0,0,0 Current State: 74:[82, 8], Operations: ['85-21=64', '72-64=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 3, 10, 29, 7 ]
23
[ "3+10=13", "29+7=36", "36-13=23" ]
Current State: 23:[3, 10, 29, 7], Operations: [] Exploring Operation: 3+10=13, Resulting Numbers: [29, 7, 13] Generated Node #2: [29, 7, 13] from Operation: 3+10=13 Current State: 23:[29, 7, 13], Operations: ['3+10=13'] Exploring Operation: 29+7=36, Resulting Numbers: [13, 36] Generated Node #3: [13, 36] from Operation: 29+7=36 Current State: 23:[13, 36], Operations: ['3+10=13', '29+7=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[3, 10, 29, 7], Operations: [] Exploring Operation: 3+10=13, Resulting Numbers: [29, 7, 13] Generated Node #0,0: 23:[29, 7, 13] Operation: 3+10=13 Exploring Operation: 3*10=30, Resulting Numbers: [29, 7, 30] Generated Node #0,1: 23:[29, 7, 30] Operation: 3*10=30 Exploring Operation: 3*7=21, Resulting Numbers: [10, 29, 21] Generated Node #0,2: 23:[10, 29, 21] Operation: 3*7=21 Exploring Operation: 29-3=26, Resulting Numbers: [10, 7, 26] Generated Node #0,3: 23:[10, 7, 26] Operation: 29-3=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[10, 29, 21], Operations: ['3*7=21'] Exploring Operation: 10+21=31, Resulting Numbers: [29, 31] Generated Node #0,2,0: 23:[29, 31] Operation: 10+21=31 Exploring Operation: 29-10=19, Resulting Numbers: [21, 19] Generated Node #0,2,1: 23:[21, 19] Operation: 29-10=19 Exploring Operation: 10+29=39, Resulting Numbers: [21, 39] Generated Node #0,2,2: 23:[21, 39] Operation: 10+29=39 Exploring Operation: 21-10=11, Resulting Numbers: [29, 11] Generated Node #0,2,3: 23:[29, 11] Operation: 21-10=11 Moving to Node #0,2,1 Current State: 23:[21, 19], Operations: ['3*7=21', '29-10=19'] Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,23 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[29, 31], Operations: ['3*7=21', '10+21=31'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[29, 11], Operations: ['3*7=21', '21-10=11'] Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[21, 39], Operations: ['3*7=21', '10+29=39'] Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,23 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,23 unequal: No Solution No solution 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: 23:[29, 7, 30], Operations: ['3*10=30'] Exploring Operation: 30-7=23, Resulting Numbers: [29, 23] Generated Node #0,1,0: 23:[29, 23] Operation: 30-7=23 Exploring Operation: 29+7=36, Resulting Numbers: [30, 36] Generated Node #0,1,1: 23:[30, 36] Operation: 29+7=36 Exploring Operation: 29-7=22, Resulting Numbers: [30, 22] Generated Node #0,1,2: 23:[30, 22] Operation: 29-7=22 Exploring Operation: 7+30=37, Resulting Numbers: [29, 37] Generated Node #0,1,3: 23:[29, 37] Operation: 7+30=37 Moving to Node #0,1,0 Current State: 23:[29, 23], Operations: ['3*10=30', '30-7=23'] Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,23 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[30, 22], Operations: ['3*10=30', '29-7=22'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[29, 37], Operations: ['3*10=30', '7+30=37'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[30, 36], Operations: ['3*10=30', '29+7=36'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,23 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[29, 7, 13], Operations: ['3+10=13'] Exploring Operation: 29-13=16, Resulting Numbers: [7, 16] Generated Node #0,0,0: 23:[7, 16] Operation: 29-13=16 Exploring Operation: 7+13=20, Resulting Numbers: [29, 20] Generated Node #0,0,1: 23:[29, 20] Operation: 7+13=20 Exploring Operation: 29-7=22, Resulting Numbers: [13, 22] Generated Node #0,0,2: 23:[13, 22] Operation: 29-7=22 Exploring Operation: 29+7=36, Resulting Numbers: [13, 36] Generated Node #0,0,3: 23:[13, 36] Operation: 29+7=36 Moving to Node #0,0,1 Current State: 23:[29, 20], Operations: ['3+10=13', '7+13=20'] Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,23 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[13, 22], Operations: ['3+10=13', '29-7=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,23 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[13, 36], Operations: ['3+10=13', '29+7=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[3, 10, 29, 7], Operations: [] Exploring Operation: 3+10=13, Resulting Numbers: [29, 7, 13] Generated Node #0,0: 23:[29, 7, 13] Operation: 3+10=13 Moving to Node #0,0 Current State: 23:[29, 7, 13], Operations: ['3+10=13'] Exploring Operation: 29+7=36, Resulting Numbers: [13, 36] Generated Node #0,0,3: 23:[13, 36] Operation: 29+7=36 Moving to Node #0,0,3 Current State: 23:[13, 36], Operations: ['3+10=13', '29+7=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
sum_heuristic
[ 19, 61, 15, 84 ]
13
[ "61-19=42", "84/42=2", "15-2=13" ]
Current State: 13:[19, 61, 15, 84], Operations: [] Exploring Operation: 61-19=42, Resulting Numbers: [15, 84, 42] Generated Node #2: [15, 84, 42] from Operation: 61-19=42 Current State: 13:[15, 84, 42], Operations: ['61-19=42'] Exploring Operation: 84/42=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 84/42=2 Current State: 13:[15, 2], Operations: ['61-19=42', '84/42=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[19, 61, 15, 84], Operations: [] Exploring Operation: 61-19=42, Resulting Numbers: [15, 84, 42] Generated Node #0,0: 13:[15, 84, 42] Operation: 61-19=42 Exploring Operation: 84-61=23, Resulting Numbers: [19, 15, 23] Generated Node #0,1: 13:[19, 15, 23] Operation: 84-61=23 Moving to Node #0,1 Current State: 13:[19, 15, 23], Operations: ['84-61=23'] Exploring Operation: 23-15=8, Resulting Numbers: [19, 8] Generated Node #0,1,0: 13:[19, 8] Operation: 23-15=8 Exploring Operation: 23-19=4, Resulting Numbers: [15, 4] Generated Node #0,1,1: 13:[15, 4] Operation: 23-19=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[19, 8], Operations: ['84-61=23', '23-15=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,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,1,1 Current State: 13:[15, 4], Operations: ['84-61=23', '23-19=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,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:[15, 84, 42], Operations: ['61-19=42'] Exploring Operation: 84-42=42, Resulting Numbers: [15, 42] Generated Node #0,0,0: 13:[15, 42] Operation: 84-42=42 Exploring Operation: 84/42=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 13:[15, 2] Operation: 84/42=2 Moving to Node #0,0,1 Current State: 13:[15, 2], Operations: ['61-19=42', '84/42=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[19, 61, 15, 84], Operations: [] Exploring Operation: 61-19=42, Resulting Numbers: [15, 84, 42] Generated Node #0,0: 13:[15, 84, 42] Operation: 61-19=42 Moving to Node #0,0 Current State: 13:[15, 84, 42], Operations: ['61-19=42'] Exploring Operation: 84/42=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 13:[15, 2] Operation: 84/42=2 Moving to Node #0,0,1 Current State: 13:[15, 2], Operations: ['61-19=42', '84/42=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.986979
hs_2
mult_heuristic