Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 52, 90, 88, 93 ]
43
[ "90-52=38", "93-88=5", "38+5=43" ]
Current State: 43:[52, 90, 88, 93], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [88, 93, 38] Generated Node #2: [88, 93, 38] from Operation: 90-52=38 Current State: 43:[88, 93, 38], Operations: ['90-52=38'] Exploring Operation: 93-88=5, Resulting Numbers: [38, 5] Generated Node #3: [38, 5] from Operation: 93-88=5 Current State: 43:[38, 5], Operations: ['90-52=38', '93-88=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[52, 90, 88, 93], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [52, 88, 3] Generated Node #0,0: 43:[52, 88, 3] Operation: 93-90=3 Exploring Operation: 93-52=41, Resulting Numbers: [90, 88, 41] Generated Node #0,1: 43:[90, 88, 41] Operation: 93-52=41 Exploring Operation: 93-88=5, Resulting Numbers: [52, 90, 5] Generated Node #0,2: 43:[52, 90, 5] Operation: 93-88=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[52, 88, 3], Operations: ['93-90=3'] Exploring Operation: 88-3=85, Resulting Numbers: [52, 85] Generated Node #0,0,0: 43:[52, 85] Operation: 88-3=85 Exploring Operation: 88-52=36, Resulting Numbers: [3, 36] Generated Node #0,0,1: 43:[3, 36] Operation: 88-52=36 Exploring Operation: 52-3=49, Resulting Numbers: [88, 49] Generated Node #0,0,2: 43:[88, 49] Operation: 52-3=49 Moving to Node #0,0,1 Current State: 43:[3, 36], Operations: ['93-90=3', '88-52=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[52, 85], Operations: ['93-90=3', '88-3=85'] Exploring Operation: 52+85=137, Resulting Numbers: [137] 137,43 unequal: No Solution Exploring Operation: 52*85=4420, Resulting Numbers: [4420] 4420,43 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[88, 49], Operations: ['93-90=3', '52-3=49'] Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,43 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,43 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[90, 88, 41], Operations: ['93-52=41'] Exploring Operation: 90-88=2, Resulting Numbers: [41, 2] Generated Node #0,1,0: 43:[41, 2] Operation: 90-88=2 Exploring Operation: 90-41=49, Resulting Numbers: [88, 49] Generated Node #0,1,1: 43:[88, 49] Operation: 90-41=49 Exploring Operation: 88-41=47, Resulting Numbers: [90, 47] Generated Node #0,1,2: 43:[90, 47] Operation: 88-41=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[41, 2], Operations: ['93-52=41', '90-88=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[52, 90, 88, 93], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [90, 88, 41] Generated Node #0,1: 43:[90, 88, 41] Operation: 93-52=41 Moving to Node #0,1 Current State: 43:[90, 88, 41], Operations: ['93-52=41'] Exploring Operation: 90-88=2, Resulting Numbers: [41, 2] Generated Node #0,1,0: 43:[41, 2] Operation: 90-88=2 Moving to Node #0,1,0 Current State: 43:[41, 2], Operations: ['93-52=41', '90-88=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 26, 96, 91, 32 ]
75
[ "32-26=6", "96/6=16", "91-16=75" ]
Current State: 75:[26, 96, 91, 32], Operations: [] Exploring Operation: 32-26=6, Resulting Numbers: [96, 91, 6] Generated Node #2: [96, 91, 6] from Operation: 32-26=6 Current State: 75:[96, 91, 6], Operations: ['32-26=6'] Exploring Operation: 96/6=16, Resulting Numbers: [91, 16] Generated Node #3: [91, 16] from Operation: 96/6=16 Current State: 75:[91, 16], Operations: ['32-26=6', '96/6=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[26, 96, 91, 32], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [26, 32, 5] Generated Node #0,0: 75:[26, 32, 5] Operation: 96-91=5 Moving to Node #0,0 Current State: 75:[26, 32, 5], Operations: ['96-91=5'] Exploring Operation: 32-26=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 75:[5, 6] Operation: 32-26=6 Moving to Node #0,0,0 Current State: 75:[5, 6], Operations: ['96-91=5', '32-26=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,75 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 50, 59, 8 ]
48
[ "15+50=65", "65-59=6", "8*6=48" ]
Current State: 48:[15, 50, 59, 8], Operations: [] Exploring Operation: 15+50=65, Resulting Numbers: [59, 8, 65] Generated Node #2: [59, 8, 65] from Operation: 15+50=65 Current State: 48:[59, 8, 65], Operations: ['15+50=65'] Exploring Operation: 65-59=6, Resulting Numbers: [8, 6] Generated Node #3: [8, 6] from Operation: 65-59=6 Current State: 48:[8, 6], Operations: ['15+50=65', '65-59=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[15, 50, 59, 8], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [15, 8, 9] Generated Node #0,0: 48:[15, 8, 9] Operation: 59-50=9 Moving to Node #0,0 Current State: 48:[15, 8, 9], Operations: ['59-50=9'] Exploring Operation: 15+9=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 48:[8, 24] Operation: 15+9=24 Moving to Node #0,0,0 Current State: 48:[8, 24], Operations: ['59-50=9', '15+9=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 78, 5, 49, 83 ]
59
[ "78-5=73", "49+83=132", "132-73=59" ]
Current State: 59:[78, 5, 49, 83], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [49, 83, 73] Generated Node #2: [49, 83, 73] from Operation: 78-5=73 Current State: 59:[49, 83, 73], Operations: ['78-5=73'] Exploring Operation: 49+83=132, Resulting Numbers: [73, 132] Generated Node #3: [73, 132] from Operation: 49+83=132 Current State: 59:[73, 132], Operations: ['78-5=73', '49+83=132'] Exploring Operation: 132-73=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[78, 5, 49, 83], Operations: [] Exploring Operation: 78+5=83, Resulting Numbers: [49, 83, 83] Generated Node #0,0: 59:[49, 83, 83] Operation: 78+5=83 Exploring Operation: 49-5=44, Resulting Numbers: [78, 83, 44] Generated Node #0,1: 59:[78, 83, 44] Operation: 49-5=44 Exploring Operation: 83-5=78, Resulting Numbers: [78, 49, 78] Generated Node #0,2: 59:[78, 49, 78] Operation: 83-5=78 Exploring Operation: 5+49=54, Resulting Numbers: [78, 83, 54] Generated Node #0,3: 59:[78, 83, 54] Operation: 5+49=54 Exploring Operation: 78-5=73, Resulting Numbers: [49, 83, 73] Generated Node #0,4: 59:[49, 83, 73] Operation: 78-5=73 Moving to Node #0,2 Current State: 59:[78, 49, 78], Operations: ['83-5=78'] Exploring Operation: 78-49=29, Resulting Numbers: [78, 29] Generated Node #0,2,0: 59:[78, 29] Operation: 78-49=29 Exploring Operation: 78-49=29, Resulting Numbers: [78, 29] Generated Node #0,2,1: 59:[78, 29] Operation: 78-49=29 Exploring Operation: 78+49=127, Resulting Numbers: [78, 127] Generated Node #0,2,2: 59:[78, 127] Operation: 78+49=127 Exploring Operation: 78-78=0, Resulting Numbers: [49, 0] Generated Node #0,2,3: 59:[49, 0] Operation: 78-78=0 Exploring Operation: 78/78=1, Resulting Numbers: [49, 1] Generated Node #0,2,4: 59:[49, 1] Operation: 78/78=1 Moving to Node #0,4 Current State: 59:[49, 83, 73], Operations: ['78-5=73'] Exploring Operation: 73-49=24, Resulting Numbers: [83, 24] Generated Node #0,4,0: 59:[83, 24] Operation: 73-49=24 Exploring Operation: 83-49=34, Resulting Numbers: [73, 34] Generated Node #0,4,1: 59:[73, 34] Operation: 83-49=34 Exploring Operation: 83-73=10, Resulting Numbers: [49, 10] Generated Node #0,4,2: 59:[49, 10] Operation: 83-73=10 Exploring Operation: 49+83=132, Resulting Numbers: [73, 132] Generated Node #0,4,3: 59:[73, 132] Operation: 49+83=132 Exploring Operation: 49+73=122, Resulting Numbers: [83, 122] Generated Node #0,4,4: 59:[83, 122] Operation: 49+73=122 Moving to Node #0,3 Current State: 59:[78, 83, 54], Operations: ['5+49=54'] Exploring Operation: 83-54=29, Resulting Numbers: [78, 29] Generated Node #0,3,0: 59:[78, 29] Operation: 83-54=29 Exploring Operation: 78+54=132, Resulting Numbers: [83, 132] Generated Node #0,3,1: 59:[83, 132] Operation: 78+54=132 Exploring Operation: 83-78=5, Resulting Numbers: [54, 5] Generated Node #0,3,2: 59:[54, 5] Operation: 83-78=5 Exploring Operation: 78-54=24, Resulting Numbers: [83, 24] Generated Node #0,3,3: 59:[83, 24] Operation: 78-54=24 Exploring Operation: 83+54=137, Resulting Numbers: [78, 137] Generated Node #0,3,4: 59:[78, 137] Operation: 83+54=137 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[78, 29], Operations: ['5+49=54', '83-54=29'] Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[54, 5], Operations: ['5+49=54', '83-78=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,59 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[78, 5, 49, 83], Operations: [] Exploring Operation: 5+49=54, Resulting Numbers: [78, 83, 54] Generated Node #0,3: 59:[78, 83, 54] Operation: 5+49=54 Moving to Node #0,3 Current State: 59:[78, 83, 54], Operations: ['5+49=54'] Exploring Operation: 83-78=5, Resulting Numbers: [54, 5] Generated Node #0,3,2: 59:[54, 5] Operation: 83-78=5 Moving to Node #0,3,2 Current State: 59:[54, 5], Operations: ['5+49=54', '83-78=5'] Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
mult_heuristic
[ 19, 9, 1, 44 ]
72
[ "19+9=28", "1*44=44", "28+44=72" ]
Current State: 72:[19, 9, 1, 44], Operations: [] Exploring Operation: 19+9=28, Resulting Numbers: [1, 44, 28] Generated Node #2: [1, 44, 28] from Operation: 19+9=28 Current State: 72:[1, 44, 28], Operations: ['19+9=28'] Exploring Operation: 1*44=44, Resulting Numbers: [28, 44] Generated Node #3: [28, 44] from Operation: 1*44=44 Current State: 72:[28, 44], Operations: ['19+9=28', '1*44=44'] Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[19, 9, 1, 44], Operations: [] Exploring Operation: 44-19=25, Resulting Numbers: [9, 1, 25] Generated Node #0,0: 72:[9, 1, 25] Operation: 44-19=25 Moving to Node #0,0 Current State: 72:[9, 1, 25], Operations: ['44-19=25'] Exploring Operation: 25-1=24, Resulting Numbers: [9, 24] Generated Node #0,0,0: 72:[9, 24] Operation: 25-1=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[9, 24], Operations: ['44-19=25', '25-1=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,72 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
[ 99, 81, 2, 10 ]
15
[ "99+81=180", "2+10=12", "180/12=15" ]
Current State: 15:[99, 81, 2, 10], Operations: [] Exploring Operation: 99+81=180, Resulting Numbers: [2, 10, 180] Generated Node #2: [2, 10, 180] from Operation: 99+81=180 Current State: 15:[2, 10, 180], Operations: ['99+81=180'] Exploring Operation: 2+10=12, Resulting Numbers: [180, 12] Generated Node #3: [180, 12] from Operation: 2+10=12 Current State: 15:[180, 12], Operations: ['99+81=180', '2+10=12'] Exploring Operation: 180/12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[99, 81, 2, 10], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [2, 10, 18] Generated Node #0,0: 15:[2, 10, 18] Operation: 99-81=18 Moving to Node #0,0 Current State: 15:[2, 10, 18], Operations: ['99-81=18'] Exploring Operation: 10/2=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 15:[18, 5] Operation: 10/2=5 Moving to Node #0,0,0 Current State: 15:[18, 5], Operations: ['99-81=18', '10/2=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,15 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 82, 90, 63, 33 ]
42
[ "82*63=5166", "90+33=123", "5166/123=42" ]
Current State: 42:[82, 90, 63, 33], Operations: [] Exploring Operation: 82*63=5166, Resulting Numbers: [90, 33, 5166] Generated Node #2: [90, 33, 5166] from Operation: 82*63=5166 Current State: 42:[90, 33, 5166], Operations: ['82*63=5166'] Exploring Operation: 90+33=123, Resulting Numbers: [5166, 123] Generated Node #3: [5166, 123] from Operation: 90+33=123 Current State: 42:[5166, 123], Operations: ['82*63=5166', '90+33=123'] Exploring Operation: 5166/123=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[82, 90, 63, 33], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [82, 33, 27] Generated Node #0,0: 42:[82, 33, 27] Operation: 90-63=27 Exploring Operation: 90-82=8, Resulting Numbers: [63, 33, 8] Generated Node #0,1: 42:[63, 33, 8] Operation: 90-82=8 Exploring Operation: 82-63=19, Resulting Numbers: [90, 33, 19] Generated Node #0,2: 42:[90, 33, 19] Operation: 82-63=19 Moving to Node #0,1 Current State: 42:[63, 33, 8], Operations: ['90-82=8'] Exploring Operation: 63-8=55, Resulting Numbers: [33, 55] Generated Node #0,1,0: 42:[33, 55] Operation: 63-8=55 Exploring Operation: 63-33=30, Resulting Numbers: [8, 30] Generated Node #0,1,1: 42:[8, 30] Operation: 63-33=30 Exploring Operation: 33+8=41, Resulting Numbers: [63, 41] Generated Node #0,1,2: 42:[63, 41] Operation: 33+8=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[8, 30], Operations: ['90-82=8', '63-33=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[33, 55], Operations: ['90-82=8', '63-8=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,42 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[63, 41], Operations: ['90-82=8', '33+8=41'] Exploring Operation: 63+41=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 63*41=2583, Resulting Numbers: [2583] 2583,42 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: 42:[82, 33, 27], Operations: ['90-63=27'] Exploring Operation: 82-27=55, Resulting Numbers: [33, 55] Generated Node #0,0,0: 42:[33, 55] Operation: 82-27=55 Exploring Operation: 82-33=49, Resulting Numbers: [27, 49] Generated Node #0,0,1: 42:[27, 49] Operation: 82-33=49 Exploring Operation: 33-27=6, Resulting Numbers: [82, 6] Generated Node #0,0,2: 42:[82, 6] Operation: 33-27=6 Moving to Node #0,2 Current State: 42:[90, 33, 19], Operations: ['82-63=19'] Exploring Operation: 90-19=71, Resulting Numbers: [33, 71] Generated Node #0,2,0: 42:[33, 71] Operation: 90-19=71 Exploring Operation: 90-33=57, Resulting Numbers: [19, 57] Generated Node #0,2,1: 42:[19, 57] Operation: 90-33=57 Exploring Operation: 33-19=14, Resulting Numbers: [90, 14] Generated Node #0,2,2: 42:[90, 14] Operation: 33-19=14 Moving to Node #0,0,1 Current State: 42:[27, 49], Operations: ['90-63=27', '82-33=49'] Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[19, 57], Operations: ['82-63=19', '90-33=57'] Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[33, 55], Operations: ['90-63=27', '82-27=55'] Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,42 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[33, 71], Operations: ['82-63=19', '90-19=71'] Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,42 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[82, 6], Operations: ['90-63=27', '33-27=6'] Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,42 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[90, 14], Operations: ['82-63=19', '33-19=14'] Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 8, 5, 17, 77 ]
47
[ "8+5=13", "77-17=60", "60-13=47" ]
Current State: 47:[8, 5, 17, 77], Operations: [] Exploring Operation: 8+5=13, Resulting Numbers: [17, 77, 13] Generated Node #2: [17, 77, 13] from Operation: 8+5=13 Current State: 47:[17, 77, 13], Operations: ['8+5=13'] Exploring Operation: 77-17=60, Resulting Numbers: [13, 60] Generated Node #3: [13, 60] from Operation: 77-17=60 Current State: 47:[13, 60], Operations: ['8+5=13', '77-17=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[8, 5, 17, 77], Operations: [] Exploring Operation: 8*5=40, Resulting Numbers: [17, 77, 40] Generated Node #0,0: 47:[17, 77, 40] Operation: 8*5=40 Moving to Node #0,0 Current State: 47:[17, 77, 40], Operations: ['8*5=40'] Exploring Operation: 77-17=60, Resulting Numbers: [40, 60] Generated Node #0,0,0: 47:[40, 60] Operation: 77-17=60 Moving to Node #0,0,0 Current State: 47:[40, 60], Operations: ['8*5=40', '77-17=60'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 59, 7, 41, 79 ]
90
[ "59-7=52", "79-41=38", "52+38=90" ]
Current State: 90:[59, 7, 41, 79], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [41, 79, 52] Generated Node #2: [41, 79, 52] from Operation: 59-7=52 Current State: 90:[41, 79, 52], Operations: ['59-7=52'] Exploring Operation: 79-41=38, Resulting Numbers: [52, 38] Generated Node #3: [52, 38] from Operation: 79-41=38 Current State: 90:[52, 38], Operations: ['59-7=52', '79-41=38'] Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[59, 7, 41, 79], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [41, 79, 52] Generated Node #0,0: 90:[41, 79, 52] Operation: 59-7=52 Exploring Operation: 59-41=18, Resulting Numbers: [7, 79, 18] Generated Node #0,1: 90:[7, 79, 18] Operation: 59-41=18 Exploring Operation: 59+41=100, Resulting Numbers: [7, 79, 100] Generated Node #0,2: 90:[7, 79, 100] Operation: 59+41=100 Exploring Operation: 79-59=20, Resulting Numbers: [7, 41, 20] Generated Node #0,3: 90:[7, 41, 20] Operation: 79-59=20 Moving to Node #0,3 Current State: 90:[7, 41, 20], Operations: ['79-59=20'] Exploring Operation: 41-7=34, Resulting Numbers: [20, 34] Generated Node #0,3,0: 90:[20, 34] Operation: 41-7=34 Exploring Operation: 7+41=48, Resulting Numbers: [20, 48] Generated Node #0,3,1: 90:[20, 48] Operation: 7+41=48 Exploring Operation: 20-7=13, Resulting Numbers: [41, 13] Generated Node #0,3,2: 90:[41, 13] Operation: 20-7=13 Exploring Operation: 41-20=21, Resulting Numbers: [7, 21] Generated Node #0,3,3: 90:[7, 21] Operation: 41-20=21 Moving to Node #0,1 Current State: 90:[7, 79, 18], Operations: ['59-41=18'] Exploring Operation: 18-7=11, Resulting Numbers: [79, 11] Generated Node #0,1,0: 90:[79, 11] Operation: 18-7=11 Exploring Operation: 7+79=86, Resulting Numbers: [18, 86] Generated Node #0,1,1: 90:[18, 86] Operation: 7+79=86 Exploring Operation: 79+18=97, Resulting Numbers: [7, 97] Generated Node #0,1,2: 90:[7, 97] Operation: 79+18=97 Exploring Operation: 7+18=25, Resulting Numbers: [79, 25] Generated Node #0,1,3: 90:[79, 25] Operation: 7+18=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[18, 86], Operations: ['59-41=18', '7+79=86'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,90 unequal: No Solution Exploring Operation: 18*86=1548, Resulting Numbers: [1548] 1548,90 unequal: No Solution Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[7, 97], Operations: ['59-41=18', '79+18=97'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[59, 7, 41, 79], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [7, 79, 18] Generated Node #0,1: 90:[7, 79, 18] Operation: 59-41=18 Moving to Node #0,1 Current State: 90:[7, 79, 18], Operations: ['59-41=18'] Exploring Operation: 79+18=97, Resulting Numbers: [7, 97] Generated Node #0,1,2: 90:[7, 97] Operation: 79+18=97 Moving to Node #0,1,2 Current State: 90:[7, 97], Operations: ['59-41=18', '79+18=97'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 22, 24, 86, 77 ]
55
[ "22+24=46", "86-77=9", "46+9=55" ]
Current State: 55:[22, 24, 86, 77], Operations: [] Exploring Operation: 22+24=46, Resulting Numbers: [86, 77, 46] Generated Node #2: [86, 77, 46] from Operation: 22+24=46 Current State: 55:[86, 77, 46], Operations: ['22+24=46'] Exploring Operation: 86-77=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 86-77=9 Current State: 55:[46, 9], Operations: ['22+24=46', '86-77=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[22, 24, 86, 77], Operations: [] Exploring Operation: 86-24=62, Resulting Numbers: [22, 77, 62] Generated Node #0,0: 55:[22, 77, 62] Operation: 86-24=62 Exploring Operation: 86-77=9, Resulting Numbers: [22, 24, 9] Generated Node #0,1: 55:[22, 24, 9] Operation: 86-77=9 Moving to Node #0,1 Current State: 55:[22, 24, 9], Operations: ['86-77=9'] Exploring Operation: 24-22=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 55:[9, 2] Operation: 24-22=2 Exploring Operation: 22+24=46, Resulting Numbers: [9, 46] Generated Node #0,1,1: 55:[9, 46] Operation: 22+24=46 Moving to Node #0,0 Current State: 55:[22, 77, 62], Operations: ['86-24=62'] Exploring Operation: 77-22=55, Resulting Numbers: [62, 55] Generated Node #0,0,0: 55:[62, 55] Operation: 77-22=55 Exploring Operation: 77-62=15, Resulting Numbers: [22, 15] Generated Node #0,0,1: 55:[22, 15] Operation: 77-62=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[62, 55], Operations: ['86-24=62', '77-22=55'] Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 62+55=117, Resulting Numbers: [117] 117,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:[22, 15], Operations: ['86-24=62', '77-62=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,55 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: 55:[9, 2], Operations: ['86-77=9', '24-22=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[9, 46], Operations: ['86-77=9', '22+24=46'] Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[22, 24, 86, 77], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [22, 24, 9] Generated Node #0,1: 55:[22, 24, 9] Operation: 86-77=9 Moving to Node #0,1 Current State: 55:[22, 24, 9], Operations: ['86-77=9'] Exploring Operation: 22+24=46, Resulting Numbers: [9, 46] Generated Node #0,1,1: 55:[9, 46] Operation: 22+24=46 Moving to Node #0,1,1 Current State: 55:[9, 46], Operations: ['86-77=9', '22+24=46'] Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 38, 20, 31, 27 ]
33
[ "31-27=4", "20/4=5", "38-5=33" ]
Current State: 33:[38, 20, 31, 27], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [38, 20, 4] Generated Node #2: [38, 20, 4] from Operation: 31-27=4 Current State: 33:[38, 20, 4], Operations: ['31-27=4'] Exploring Operation: 20/4=5, Resulting Numbers: [38, 5] Generated Node #3: [38, 5] from Operation: 20/4=5 Current State: 33:[38, 5], Operations: ['31-27=4', '20/4=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[38, 20, 31, 27], Operations: [] Exploring Operation: 31-20=11, Resulting Numbers: [38, 27, 11] Generated Node #0,0: 33:[38, 27, 11] Operation: 31-20=11 Exploring Operation: 38-27=11, Resulting Numbers: [20, 31, 11] Generated Node #0,1: 33:[20, 31, 11] Operation: 38-27=11 Moving to Node #0,0 Current State: 33:[38, 27, 11], Operations: ['31-20=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38, 38] Generated Node #0,0,0: 33:[38, 38] Operation: 27+11=38 Exploring Operation: 38-27=11, Resulting Numbers: [11, 11] Generated Node #0,0,1: 33:[11, 11] Operation: 38-27=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[11, 11], Operations: ['31-20=11', '38-27=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[38, 38], Operations: ['31-20=11', '27+11=38'] Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,33 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: 33:[20, 31, 11], Operations: ['38-27=11'] Exploring Operation: 31-20=11, Resulting Numbers: [11, 11] Generated Node #0,1,0: 33:[11, 11] Operation: 31-20=11 Exploring Operation: 20+11=31, Resulting Numbers: [31, 31] Generated Node #0,1,1: 33:[31, 31] Operation: 20+11=31 Moving to Node #0,1,0 Current State: 33:[11, 11], Operations: ['38-27=11', '31-20=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[31, 31], Operations: ['38-27=11', '20+11=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 55, 78, 21, 63 ]
29
[ "78*21=1638", "1638/63=26", "55-26=29" ]
Current State: 29:[55, 78, 21, 63], Operations: [] Exploring Operation: 78*21=1638, Resulting Numbers: [55, 63, 1638] Generated Node #2: [55, 63, 1638] from Operation: 78*21=1638 Current State: 29:[55, 63, 1638], Operations: ['78*21=1638'] Exploring Operation: 1638/63=26, Resulting Numbers: [55, 26] Generated Node #3: [55, 26] from Operation: 1638/63=26 Current State: 29:[55, 26], Operations: ['78*21=1638', '1638/63=26'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[55, 78, 21, 63], Operations: [] Exploring Operation: 78-63=15, Resulting Numbers: [55, 21, 15] Generated Node #0,0: 29:[55, 21, 15] Operation: 78-63=15 Exploring Operation: 78-55=23, Resulting Numbers: [21, 63, 23] Generated Node #0,1: 29:[21, 63, 23] Operation: 78-55=23 Moving to Node #0,0 Current State: 29:[55, 21, 15], Operations: ['78-63=15'] Exploring Operation: 55-21=34, Resulting Numbers: [15, 34] Generated Node #0,0,0: 29:[15, 34] Operation: 55-21=34 Exploring Operation: 55-15=40, Resulting Numbers: [21, 40] Generated Node #0,0,1: 29:[21, 40] Operation: 55-15=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[15, 34], Operations: ['78-63=15', '55-21=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[21, 40], Operations: ['78-63=15', '55-15=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,29 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: 29:[21, 63, 23], Operations: ['78-55=23'] Exploring Operation: 63-21=42, Resulting Numbers: [23, 42] Generated Node #0,1,0: 29:[23, 42] Operation: 63-21=42 Exploring Operation: 63-23=40, Resulting Numbers: [21, 40] Generated Node #0,1,1: 29:[21, 40] Operation: 63-23=40 Moving to Node #0,1,0 Current State: 29:[23, 42], Operations: ['78-55=23', '63-21=42'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[21, 40], Operations: ['78-55=23', '63-23=40'] Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 79, 13, 94, 45 ]
16
[ "94-79=15", "45/15=3", "13+3=16" ]
Current State: 16:[79, 13, 94, 45], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [13, 45, 15] Generated Node #2: [13, 45, 15] from Operation: 94-79=15 Current State: 16:[13, 45, 15], Operations: ['94-79=15'] Exploring Operation: 45/15=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 45/15=3 Current State: 16:[13, 3], Operations: ['94-79=15', '45/15=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[79, 13, 94, 45], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [13, 45, 15] Generated Node #0,0: 16:[13, 45, 15] Operation: 94-79=15 Moving to Node #0,0 Current State: 16:[13, 45, 15], Operations: ['94-79=15'] Exploring Operation: 45/15=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 16:[13, 3] Operation: 45/15=3 Moving to Node #0,0,0 Current State: 16:[13, 3], Operations: ['94-79=15', '45/15=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[79, 13, 94, 45], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [13, 45, 15] Generated Node #0,0: 16:[13, 45, 15] Operation: 94-79=15 Moving to Node #0,0 Current State: 16:[13, 45, 15], Operations: ['94-79=15'] Exploring Operation: 45/15=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 16:[13, 3] Operation: 45/15=3 Moving to Node #0,0,0 Current State: 16:[13, 3], Operations: ['94-79=15', '45/15=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 55, 29, 36, 64 ]
63
[ "64-55=9", "36-29=7", "9*7=63" ]
Current State: 63:[55, 29, 36, 64], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [29, 36, 9] Generated Node #2: [29, 36, 9] from Operation: 64-55=9 Current State: 63:[29, 36, 9], Operations: ['64-55=9'] Exploring Operation: 36-29=7, Resulting Numbers: [9, 7] Generated Node #3: [9, 7] from Operation: 36-29=7 Current State: 63:[9, 7], Operations: ['64-55=9', '36-29=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[55, 29, 36, 64], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [55, 64, 7] Generated Node #0,0: 63:[55, 64, 7] Operation: 36-29=7 Exploring Operation: 55-36=19, Resulting Numbers: [29, 64, 19] Generated Node #0,1: 63:[29, 64, 19] Operation: 55-36=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[55, 64, 7], Operations: ['36-29=7'] Exploring Operation: 64-55=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 63:[7, 9] Operation: 64-55=9 Exploring Operation: 55+7=62, Resulting Numbers: [64, 62] Generated Node #0,0,1: 63:[64, 62] Operation: 55+7=62 Moving to Node #0,0,0 Current State: 63:[7, 9], Operations: ['36-29=7', '64-55=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[55, 29, 36, 64], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [55, 64, 7] Generated Node #0,0: 63:[55, 64, 7] Operation: 36-29=7 Moving to Node #0,0 Current State: 63:[55, 64, 7], Operations: ['36-29=7'] Exploring Operation: 64-55=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 63:[7, 9] Operation: 64-55=9 Moving to Node #0,0,0 Current State: 63:[7, 9], Operations: ['36-29=7', '64-55=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 58, 85, 16, 93 ]
60
[ "93-85=8", "16/8=2", "58+2=60" ]
Current State: 60:[58, 85, 16, 93], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [58, 16, 8] Generated Node #2: [58, 16, 8] from Operation: 93-85=8 Current State: 60:[58, 16, 8], Operations: ['93-85=8'] Exploring Operation: 16/8=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 16/8=2 Current State: 60:[58, 2], Operations: ['93-85=8', '16/8=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[58, 85, 16, 93], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [58, 16, 8] Generated Node #0,0: 60:[58, 16, 8] Operation: 93-85=8 Exploring Operation: 93-58=35, Resulting Numbers: [85, 16, 35] Generated Node #0,1: 60:[85, 16, 35] Operation: 93-58=35 Moving to Node #0,0 Current State: 60:[58, 16, 8], Operations: ['93-85=8'] Exploring Operation: 16-8=8, Resulting Numbers: [58, 8] Generated Node #0,0,0: 60:[58, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [58, 2] Generated Node #0,0,1: 60:[58, 2] Operation: 16/8=2 Moving to Node #0,1 Current State: 60:[85, 16, 35], Operations: ['93-58=35'] Exploring Operation: 85-16=69, Resulting Numbers: [35, 69] Generated Node #0,1,0: 60:[35, 69] Operation: 85-16=69 Exploring Operation: 85-35=50, Resulting Numbers: [16, 50] Generated Node #0,1,1: 60:[16, 50] Operation: 85-35=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[16, 50], Operations: ['93-58=35', '85-35=50'] Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[35, 69], Operations: ['93-58=35', '85-16=69'] Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,60 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: 60:[58, 2], Operations: ['93-85=8', '16/8=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[58, 85, 16, 93], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [58, 16, 8] Generated Node #0,0: 60:[58, 16, 8] Operation: 93-85=8 Moving to Node #0,0 Current State: 60:[58, 16, 8], Operations: ['93-85=8'] Exploring Operation: 16/8=2, Resulting Numbers: [58, 2] Generated Node #0,0,1: 60:[58, 2] Operation: 16/8=2 Moving to Node #0,0,1 Current State: 60:[58, 2], Operations: ['93-85=8', '16/8=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 10, 26, 82, 3 ]
26
[ "10+26=36", "3*36=108", "108-82=26" ]
Current State: 26:[10, 26, 82, 3], Operations: [] Exploring Operation: 10+26=36, Resulting Numbers: [82, 3, 36] Generated Node #2: [82, 3, 36] from Operation: 10+26=36 Current State: 26:[82, 3, 36], Operations: ['10+26=36'] Exploring Operation: 3*36=108, Resulting Numbers: [82, 108] Generated Node #3: [82, 108] from Operation: 3*36=108 Current State: 26:[82, 108], Operations: ['10+26=36', '3*36=108'] Exploring Operation: 108-82=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[10, 26, 82, 3], Operations: [] Exploring Operation: 82-26=56, Resulting Numbers: [10, 3, 56] Generated Node #0,0: 26:[10, 3, 56] Operation: 82-26=56 Moving to Node #0,0 Current State: 26:[10, 3, 56], Operations: ['82-26=56'] Exploring Operation: 56-10=46, Resulting Numbers: [3, 46] Generated Node #0,0,0: 26:[3, 46] Operation: 56-10=46 Moving to Node #0,0,0 Current State: 26:[3, 46], Operations: ['82-26=56', '56-10=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,26 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 21, 70, 21, 86 ]
86
[ "21-21=0", "70*0=0", "86+0=86" ]
Current State: 86:[21, 70, 21, 86], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [70, 86, 0] Generated Node #2: [70, 86, 0] from Operation: 21-21=0 Current State: 86:[70, 86, 0], Operations: ['21-21=0'] Exploring Operation: 70*0=0, Resulting Numbers: [86, 0] Generated Node #3: [86, 0] from Operation: 70*0=0 Current State: 86:[86, 0], Operations: ['21-21=0', '70*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[21, 70, 21, 86], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [70, 86, 0] Generated Node #0,0: 86:[70, 86, 0] Operation: 21-21=0 Exploring Operation: 21/21=1, Resulting Numbers: [70, 86, 1] Generated Node #0,1: 86:[70, 86, 1] Operation: 21/21=1 Exploring Operation: 21+21=42, Resulting Numbers: [70, 86, 42] Generated Node #0,2: 86:[70, 86, 42] Operation: 21+21=42 Moving to Node #0,1 Current State: 86:[70, 86, 1], Operations: ['21/21=1'] Exploring Operation: 70+1=71, Resulting Numbers: [86, 71] Generated Node #0,1,0: 86:[86, 71] Operation: 70+1=71 Exploring Operation: 70*1=70, Resulting Numbers: [86, 70] Generated Node #0,1,1: 86:[86, 70] Operation: 70*1=70 Exploring Operation: 86-70=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 86:[1, 16] Operation: 86-70=16 Moving to Node #0,2 Current State: 86:[70, 86, 42], Operations: ['21+21=42'] Exploring Operation: 86-70=16, Resulting Numbers: [42, 16] Generated Node #0,2,0: 86:[42, 16] Operation: 86-70=16 Exploring Operation: 70-42=28, Resulting Numbers: [86, 28] Generated Node #0,2,1: 86:[86, 28] Operation: 70-42=28 Exploring Operation: 86-42=44, Resulting Numbers: [70, 44] Generated Node #0,2,2: 86:[70, 44] Operation: 86-42=44 Moving to Node #0,0 Current State: 86:[70, 86, 0], Operations: ['21-21=0'] Exploring Operation: 70+0=70, Resulting Numbers: [86, 70] Generated Node #0,0,0: 86:[86, 70] Operation: 70+0=70 Exploring Operation: 86-70=16, Resulting Numbers: [0, 16] Generated Node #0,0,1: 86:[0, 16] Operation: 86-70=16 Exploring Operation: 70*0=0, Resulting Numbers: [86, 0] Generated Node #0,0,2: 86:[86, 0] Operation: 70*0=0 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[86, 0], Operations: ['21-21=0', '70*0=0'] Exploring Operation: 86-0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[21, 70, 21, 86], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [70, 86, 0] Generated Node #0,0: 86:[70, 86, 0] Operation: 21-21=0 Moving to Node #0,0 Current State: 86:[70, 86, 0], Operations: ['21-21=0'] Exploring Operation: 70*0=0, Resulting Numbers: [86, 0] Generated Node #0,0,2: 86:[86, 0] Operation: 70*0=0 Moving to Node #0,0,2 Current State: 86:[86, 0], Operations: ['21-21=0', '70*0=0'] Exploring Operation: 86-0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 42, 17, 92, 69 ]
39
[ "42*92=3864", "3864/69=56", "56-17=39" ]
Current State: 39:[42, 17, 92, 69], Operations: [] Exploring Operation: 42*92=3864, Resulting Numbers: [17, 69, 3864] Generated Node #2: [17, 69, 3864] from Operation: 42*92=3864 Current State: 39:[17, 69, 3864], Operations: ['42*92=3864'] Exploring Operation: 3864/69=56, Resulting Numbers: [17, 56] Generated Node #3: [17, 56] from Operation: 3864/69=56 Current State: 39:[17, 56], Operations: ['42*92=3864', '3864/69=56'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[42, 17, 92, 69], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [17, 92, 27] Generated Node #0,0: 39:[17, 92, 27] Operation: 69-42=27 Exploring Operation: 92-17=75, Resulting Numbers: [42, 69, 75] Generated Node #0,1: 39:[42, 69, 75] Operation: 92-17=75 Exploring Operation: 69-17=52, Resulting Numbers: [42, 92, 52] Generated Node #0,2: 39:[42, 92, 52] Operation: 69-17=52 Exploring Operation: 92-69=23, Resulting Numbers: [42, 17, 23] Generated Node #0,3: 39:[42, 17, 23] Operation: 92-69=23 Exploring Operation: 92-42=50, Resulting Numbers: [17, 69, 50] Generated Node #0,4: 39:[17, 69, 50] Operation: 92-42=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[42, 17, 23], Operations: ['92-69=23'] Exploring Operation: 23-17=6, Resulting Numbers: [42, 6] Generated Node #0,3,0: 39:[42, 6] Operation: 23-17=6 Exploring Operation: 42+17=59, Resulting Numbers: [23, 59] Generated Node #0,3,1: 39:[23, 59] Operation: 42+17=59 Exploring Operation: 17+23=40, Resulting Numbers: [42, 40] Generated Node #0,3,2: 39:[42, 40] Operation: 17+23=40 Exploring Operation: 42-23=19, Resulting Numbers: [17, 19] Generated Node #0,3,3: 39:[17, 19] Operation: 42-23=19 Exploring Operation: 42-17=25, Resulting Numbers: [23, 25] Generated Node #0,3,4: 39:[23, 25] Operation: 42-17=25 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 39:[42, 40], Operations: ['92-69=23', '17+23=40'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,39 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,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:[42, 6], Operations: ['92-69=23', '23-17=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,39 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,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:[17, 19], Operations: ['92-69=23', '42-23=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,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:[23, 25], Operations: ['92-69=23', '42-17=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,39 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,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,1 Current State: 39:[23, 59], Operations: ['92-69=23', '42+17=59'] Exploring Operation: 23*59=1357, Resulting Numbers: [1357] 1357,39 unequal: No Solution Exploring Operation: 23+59=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,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,4 Current State: 39:[17, 69, 50], Operations: ['92-42=50'] Exploring Operation: 69-17=52, Resulting Numbers: [50, 52] Generated Node #0,4,0: 39:[50, 52] Operation: 69-17=52 Exploring Operation: 50-17=33, Resulting Numbers: [69, 33] Generated Node #0,4,1: 39:[69, 33] Operation: 50-17=33 Exploring Operation: 17+69=86, Resulting Numbers: [50, 86] Generated Node #0,4,2: 39:[50, 86] Operation: 17+69=86 Exploring Operation: 69-50=19, Resulting Numbers: [17, 19] Generated Node #0,4,3: 39:[17, 19] Operation: 69-50=19 Exploring Operation: 17+50=67, Resulting Numbers: [69, 67] Generated Node #0,4,4: 39:[69, 67] Operation: 17+50=67 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 39:[17, 19], Operations: ['92-42=50', '69-50=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,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, 52], Operations: ['92-42=50', '69-17=52'] Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,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:[69, 33], Operations: ['92-42=50', '50-17=33'] Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,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:[50, 86], Operations: ['92-42=50', '17+69=86'] Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 50+86=136, Resulting Numbers: [136] 136,39 unequal: No Solution Exploring Operation: 50*86=4300, Resulting Numbers: [4300] 4300,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,4 Current State: 39:[69, 67], Operations: ['92-42=50', '17+50=67'] Exploring Operation: 69+67=136, Resulting Numbers: [136] 136,39 unequal: No Solution Exploring Operation: 69-67=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 69*67=4623, Resulting Numbers: [4623] 4623,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[17, 92, 27], Operations: ['69-42=27'] Exploring Operation: 92-27=65, Resulting Numbers: [17, 65] Generated Node #0,0,0: 39:[17, 65] Operation: 92-27=65 Exploring Operation: 17+92=109, Resulting Numbers: [27, 109] Generated Node #0,0,1: 39:[27, 109] Operation: 17+92=109 Exploring Operation: 92-17=75, Resulting Numbers: [27, 75] Generated Node #0,0,2: 39:[27, 75] Operation: 92-17=75 Exploring Operation: 17+27=44, Resulting Numbers: [92, 44] Generated Node #0,0,3: 39:[92, 44] Operation: 17+27=44 Exploring Operation: 27-17=10, Resulting Numbers: [92, 10] Generated Node #0,0,4: 39:[92, 10] Operation: 27-17=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[17, 65], Operations: ['69-42=27', '92-27=65'] Exploring Operation: 17*65=1105, Resulting Numbers: [1105] 1105,39 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[27, 75], Operations: ['69-42=27', '92-17=75'] Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 27*75=2025, Resulting Numbers: [2025] 2025,39 unequal: No Solution Exploring Operation: 27+75=102, Resulting Numbers: [102] 102,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 39:[92, 10], Operations: ['69-42=27', '27-17=10'] Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,39 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 39:[92, 44], Operations: ['69-42=27', '17+27=44'] Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,39 unequal: No Solution Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[27, 109], Operations: ['69-42=27', '17+92=109'] Exploring Operation: 27*109=2943, Resulting Numbers: [2943] 2943,39 unequal: No Solution Exploring Operation: 109-27=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 27+109=136, Resulting Numbers: [136] 136,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,1 Current State: 39:[42, 69, 75], Operations: ['92-17=75'] Exploring Operation: 75-42=33, Resulting Numbers: [69, 33] Generated Node #0,1,0: 39:[69, 33] Operation: 75-42=33 Exploring Operation: 42+69=111, Resulting Numbers: [75, 111] Generated Node #0,1,1: 39:[75, 111] Operation: 42+69=111 Exploring Operation: 69-42=27, Resulting Numbers: [75, 27] Generated Node #0,1,2: 39:[75, 27] Operation: 69-42=27 Exploring Operation: 42+75=117, Resulting Numbers: [69, 117] Generated Node #0,1,3: 39:[69, 117] Operation: 42+75=117 Exploring Operation: 75-69=6, Resulting Numbers: [42, 6] Generated Node #0,1,4: 39:[42, 6] Operation: 75-69=6 Moving to Node #0,1,4 Current State: 39:[42, 6], Operations: ['92-17=75', '75-69=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[69, 33], Operations: ['92-17=75', '75-42=33'] Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,39 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[75, 27], Operations: ['92-17=75', '69-42=27'] Exploring Operation: 75+27=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 75*27=2025, Resulting Numbers: [2025] 2025,39 unequal: No Solution Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[75, 111], Operations: ['92-17=75', '42+69=111'] Exploring Operation: 75*111=8325, Resulting Numbers: [8325] 8325,39 unequal: No Solution Exploring Operation: 75+111=186, Resulting Numbers: [186] 186,39 unequal: No Solution Exploring Operation: 111-75=36, Resulting Numbers: [36] 36,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[69, 117], Operations: ['92-17=75', '42+75=117'] Exploring Operation: 69+117=186, Resulting Numbers: [186] 186,39 unequal: No Solution Exploring Operation: 69*117=8073, Resulting Numbers: [8073] 8073,39 unequal: No Solution Exploring Operation: 117-69=48, Resulting Numbers: [48] 48,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,2 Current State: 39:[42, 92, 52], Operations: ['69-17=52'] Exploring Operation: 52-42=10, Resulting Numbers: [92, 10] Generated Node #0,2,0: 39:[92, 10] Operation: 52-42=10 Exploring Operation: 42+52=94, Resulting Numbers: [92, 94] Generated Node #0,2,1: 39:[92, 94] Operation: 42+52=94 Exploring Operation: 42+92=134, Resulting Numbers: [52, 134] Generated Node #0,2,2: 39:[52, 134] Operation: 42+92=134 Exploring Operation: 92-42=50, Resulting Numbers: [52, 50] Generated Node #0,2,3: 39:[52, 50] Operation: 92-42=50 Exploring Operation: 92-52=40, Resulting Numbers: [42, 40] Generated Node #0,2,4: 39:[42, 40] Operation: 92-52=40 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 39:[42, 40], Operations: ['69-17=52', '92-52=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,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,2,3 Current State: 39:[52, 50], Operations: ['69-17=52', '92-42=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,39 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,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,2,0 Current State: 39:[92, 10], Operations: ['69-17=52', '52-42=10'] Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,39 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,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,2,1 Current State: 39:[92, 94], Operations: ['69-17=52', '42+52=94'] Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,39 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,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,2,2 Current State: 39:[52, 134], Operations: ['69-17=52', '42+92=134'] Exploring Operation: 134-52=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 52*134=6968, Resulting Numbers: [6968] 6968,39 unequal: No Solution Exploring Operation: 52+134=186, Resulting Numbers: [186] 186,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
sum_heuristic
[ 62, 92, 16, 15 ]
18
[ "92-62=30", "30/15=2", "16+2=18" ]
Current State: 18:[62, 92, 16, 15], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [16, 15, 30] Generated Node #2: [16, 15, 30] from Operation: 92-62=30 Current State: 18:[16, 15, 30], Operations: ['92-62=30'] Exploring Operation: 30/15=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 30/15=2 Current State: 18:[16, 2], Operations: ['92-62=30', '30/15=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[62, 92, 16, 15], Operations: [] Exploring Operation: 92-16=76, Resulting Numbers: [62, 15, 76] Generated Node #0,0: 18:[62, 15, 76] Operation: 92-16=76 Exploring Operation: 92-62=30, Resulting Numbers: [16, 15, 30] Generated Node #0,1: 18:[16, 15, 30] Operation: 92-62=30 Exploring Operation: 92-15=77, Resulting Numbers: [62, 16, 77] Generated Node #0,2: 18:[62, 16, 77] Operation: 92-15=77 Exploring Operation: 62-15=47, Resulting Numbers: [92, 16, 47] Generated Node #0,3: 18:[92, 16, 47] Operation: 62-15=47 Exploring Operation: 62-16=46, Resulting Numbers: [92, 15, 46] Generated Node #0,4: 18:[92, 15, 46] Operation: 62-16=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[16, 15, 30], Operations: ['92-62=30'] Exploring Operation: 30-16=14, Resulting Numbers: [15, 14] Generated Node #0,1,0: 18:[15, 14] Operation: 30-16=14 Exploring Operation: 16+15=31, Resulting Numbers: [30, 31] Generated Node #0,1,1: 18:[30, 31] Operation: 16+15=31 Exploring Operation: 30/15=2, Resulting Numbers: [16, 2] Generated Node #0,1,2: 18:[16, 2] Operation: 30/15=2 Exploring Operation: 16-15=1, Resulting Numbers: [30, 1] Generated Node #0,1,3: 18:[30, 1] Operation: 16-15=1 Exploring Operation: 30-15=15, Resulting Numbers: [16, 15] Generated Node #0,1,4: 18:[16, 15] Operation: 30-15=15 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 18:[16, 2], Operations: ['92-62=30', '30/15=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[62, 92, 16, 15], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [16, 15, 30] Generated Node #0,1: 18:[16, 15, 30] Operation: 92-62=30 Moving to Node #0,1 Current State: 18:[16, 15, 30], Operations: ['92-62=30'] Exploring Operation: 30/15=2, Resulting Numbers: [16, 2] Generated Node #0,1,2: 18:[16, 2] Operation: 30/15=2 Moving to Node #0,1,2 Current State: 18:[16, 2], Operations: ['92-62=30', '30/15=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 98, 95, 48, 1 ]
50
[ "98-95=3", "48-1=47", "3+47=50" ]
Current State: 50:[98, 95, 48, 1], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [48, 1, 3] Generated Node #2: [48, 1, 3] from Operation: 98-95=3 Current State: 50:[48, 1, 3], Operations: ['98-95=3'] Exploring Operation: 48-1=47, Resulting Numbers: [3, 47] Generated Node #3: [3, 47] from Operation: 48-1=47 Current State: 50:[3, 47], Operations: ['98-95=3', '48-1=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[98, 95, 48, 1], Operations: [] Exploring Operation: 95-48=47, Resulting Numbers: [98, 1, 47] Generated Node #0,0: 50:[98, 1, 47] Operation: 95-48=47 Exploring Operation: 98-48=50, Resulting Numbers: [95, 1, 50] Generated Node #0,1: 50:[95, 1, 50] Operation: 98-48=50 Exploring Operation: 98-95=3, Resulting Numbers: [48, 1, 3] Generated Node #0,2: 50:[48, 1, 3] Operation: 98-95=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[48, 1, 3], Operations: ['98-95=3'] Exploring Operation: 3-1=2, Resulting Numbers: [48, 2] Generated Node #0,2,0: 50:[48, 2] Operation: 3-1=2 Exploring Operation: 48+3=51, Resulting Numbers: [1, 51] Generated Node #0,2,1: 50:[1, 51] Operation: 48+3=51 Exploring Operation: 48+1=49, Resulting Numbers: [3, 49] Generated Node #0,2,2: 50:[3, 49] Operation: 48+1=49 Moving to Node #0,2,0 Current State: 50:[48, 2], Operations: ['98-95=3', '3-1=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[98, 95, 48, 1], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [48, 1, 3] Generated Node #0,2: 50:[48, 1, 3] Operation: 98-95=3 Moving to Node #0,2 Current State: 50:[48, 1, 3], Operations: ['98-95=3'] Exploring Operation: 3-1=2, Resulting Numbers: [48, 2] Generated Node #0,2,0: 50:[48, 2] Operation: 3-1=2 Moving to Node #0,2,0 Current State: 50:[48, 2], Operations: ['98-95=3', '3-1=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 7, 42, 3, 53 ]
50
[ "42/7=6", "3+53=56", "56-6=50" ]
Current State: 50:[7, 42, 3, 53], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [3, 53, 6] Generated Node #2: [3, 53, 6] from Operation: 42/7=6 Current State: 50:[3, 53, 6], Operations: ['42/7=6'] Exploring Operation: 3+53=56, Resulting Numbers: [6, 56] Generated Node #3: [6, 56] from Operation: 3+53=56 Current State: 50:[6, 56], Operations: ['42/7=6', '3+53=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 42, 3, 53], Operations: [] Exploring Operation: 7+42=49, Resulting Numbers: [3, 53, 49] Generated Node #0,0: 50:[3, 53, 49] Operation: 7+42=49 Exploring Operation: 53-42=11, Resulting Numbers: [7, 3, 11] Generated Node #0,1: 50:[7, 3, 11] Operation: 53-42=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[7, 3, 11], Operations: ['53-42=11'] Exploring Operation: 7-3=4, Resulting Numbers: [11, 4] Generated Node #0,1,0: 50:[11, 4] Operation: 7-3=4 Exploring Operation: 7+3=10, Resulting Numbers: [11, 10] Generated Node #0,1,1: 50:[11, 10] Operation: 7+3=10 Moving to Node #0,1,1 Current State: 50:[11, 10], Operations: ['53-42=11', '7+3=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[11, 4], Operations: ['53-42=11', '7-3=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,50 unequal: No Solution No 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: 50:[3, 53, 49], Operations: ['7+42=49'] Exploring Operation: 53-3=50, Resulting Numbers: [49, 50] Generated Node #0,0,0: 50:[49, 50] Operation: 53-3=50 Exploring Operation: 53-49=4, Resulting Numbers: [3, 4] Generated Node #0,0,1: 50:[3, 4] Operation: 53-49=4 Moving to Node #0,0,0 Current State: 50:[49, 50], Operations: ['7+42=49', '53-3=50'] Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[3, 4], Operations: ['7+42=49', '53-49=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,50 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
[ 81, 82, 80, 39 ]
83
[ "80-39=41", "82/41=2", "81+2=83" ]
Current State: 83:[81, 82, 80, 39], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [81, 82, 41] Generated Node #2: [81, 82, 41] from Operation: 80-39=41 Current State: 83:[81, 82, 41], Operations: ['80-39=41'] Exploring Operation: 82/41=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 82/41=2 Current State: 83:[81, 2], Operations: ['80-39=41', '82/41=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[81, 82, 80, 39], Operations: [] Exploring Operation: 80+39=119, Resulting Numbers: [81, 82, 119] Generated Node #0,0: 83:[81, 82, 119] Operation: 80+39=119 Exploring Operation: 81+39=120, Resulting Numbers: [82, 80, 120] Generated Node #0,1: 83:[82, 80, 120] Operation: 81+39=120 Moving to Node #0,0 Current State: 83:[81, 82, 119], Operations: ['80+39=119'] Exploring Operation: 119-82=37, Resulting Numbers: [81, 37] Generated Node #0,0,0: 83:[81, 37] Operation: 119-82=37 Exploring Operation: 119-81=38, Resulting Numbers: [82, 38] Generated Node #0,0,1: 83:[82, 38] Operation: 119-81=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[82, 38], Operations: ['80+39=119', '119-81=38'] Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 82+38=120, Resulting Numbers: [120] 120,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:[81, 37], Operations: ['80+39=119', '119-82=37'] Exploring Operation: 81+37=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[82, 80, 120], Operations: ['81+39=120'] Exploring Operation: 120-80=40, Resulting Numbers: [82, 40] Generated Node #0,1,0: 83:[82, 40] Operation: 120-80=40 Exploring Operation: 120-82=38, Resulting Numbers: [80, 38] Generated Node #0,1,1: 83:[80, 38] Operation: 120-82=38 Moving to Node #0,1,0 Current State: 83:[82, 40], Operations: ['81+39=120', '120-80=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[80, 38], Operations: ['81+39=120', '120-82=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,83 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 71, 79, 19 ]
23
[ "71-34=37", "79-19=60", "60-37=23" ]
Current State: 23:[34, 71, 79, 19], Operations: [] Exploring Operation: 71-34=37, Resulting Numbers: [79, 19, 37] Generated Node #2: [79, 19, 37] from Operation: 71-34=37 Current State: 23:[79, 19, 37], Operations: ['71-34=37'] Exploring Operation: 79-19=60, Resulting Numbers: [37, 60] Generated Node #3: [37, 60] from Operation: 79-19=60 Current State: 23:[37, 60], Operations: ['71-34=37', '79-19=60'] Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[34, 71, 79, 19], Operations: [] Exploring Operation: 79-34=45, Resulting Numbers: [71, 19, 45] Generated Node #0,0: 23:[71, 19, 45] Operation: 79-34=45 Exploring Operation: 71-34=37, Resulting Numbers: [79, 19, 37] Generated Node #0,1: 23:[79, 19, 37] Operation: 71-34=37 Exploring Operation: 79-71=8, Resulting Numbers: [34, 19, 8] Generated Node #0,2: 23:[34, 19, 8] Operation: 79-71=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[34, 19, 8], Operations: ['79-71=8'] Exploring Operation: 19+8=27, Resulting Numbers: [34, 27] Generated Node #0,2,0: 23:[34, 27] Operation: 19+8=27 Exploring Operation: 34-19=15, Resulting Numbers: [8, 15] Generated Node #0,2,1: 23:[8, 15] Operation: 34-19=15 Exploring Operation: 34-8=26, Resulting Numbers: [19, 26] Generated Node #0,2,2: 23:[19, 26] Operation: 34-8=26 Moving to Node #0,2,2 Current State: 23:[19, 26], Operations: ['79-71=8', '34-8=26'] Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,23 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[34, 27], Operations: ['79-71=8', '19+8=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,23 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[8, 15], Operations: ['79-71=8', '34-19=15'] Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[34, 71, 79, 19], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [34, 19, 8] Generated Node #0,2: 23:[34, 19, 8] Operation: 79-71=8 Moving to Node #0,2 Current State: 23:[34, 19, 8], Operations: ['79-71=8'] Exploring Operation: 34-19=15, Resulting Numbers: [8, 15] Generated Node #0,2,1: 23:[8, 15] Operation: 34-19=15 Moving to Node #0,2,1 Current State: 23:[8, 15], Operations: ['79-71=8', '34-19=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 4, 44, 7, 60 ]
71
[ "60-44=16", "4*16=64", "7+64=71" ]
Current State: 71:[4, 44, 7, 60], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [4, 7, 16] Generated Node #2: [4, 7, 16] from Operation: 60-44=16 Current State: 71:[4, 7, 16], Operations: ['60-44=16'] Exploring Operation: 4*16=64, Resulting Numbers: [7, 64] Generated Node #3: [7, 64] from Operation: 4*16=64 Current State: 71:[7, 64], Operations: ['60-44=16', '4*16=64'] Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[4, 44, 7, 60], Operations: [] Exploring Operation: 4+60=64, Resulting Numbers: [44, 7, 64] Generated Node #0,0: 71:[44, 7, 64] Operation: 4+60=64 Exploring Operation: 4+7=11, Resulting Numbers: [44, 60, 11] Generated Node #0,1: 71:[44, 60, 11] Operation: 4+7=11 Exploring Operation: 4*7=28, Resulting Numbers: [44, 60, 28] Generated Node #0,2: 71:[44, 60, 28] Operation: 4*7=28 Exploring Operation: 4+44=48, Resulting Numbers: [7, 60, 48] Generated Node #0,3: 71:[7, 60, 48] Operation: 4+44=48 Exploring Operation: 44+7=51, Resulting Numbers: [4, 60, 51] Generated Node #0,4: 71:[4, 60, 51] Operation: 44+7=51 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[44, 60, 28], Operations: ['4*7=28'] Exploring Operation: 60+28=88, Resulting Numbers: [44, 88] Generated Node #0,2,0: 71:[44, 88] Operation: 60+28=88 Exploring Operation: 44+28=72, Resulting Numbers: [60, 72] Generated Node #0,2,1: 71:[60, 72] Operation: 44+28=72 Exploring Operation: 60-28=32, Resulting Numbers: [44, 32] Generated Node #0,2,2: 71:[44, 32] Operation: 60-28=32 Exploring Operation: 44-28=16, Resulting Numbers: [60, 16] Generated Node #0,2,3: 71:[60, 16] Operation: 44-28=16 Exploring Operation: 44+60=104, Resulting Numbers: [28, 104] Generated Node #0,2,4: 71:[28, 104] Operation: 44+60=104 Moving to Node #0,2,1 Current State: 71:[60, 72], Operations: ['4*7=28', '44+28=72'] Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,71 unequal: No Solution Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,71 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[44, 88], Operations: ['4*7=28', '60+28=88'] Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 44+88=132, Resulting Numbers: [132] 132,71 unequal: No Solution Exploring Operation: 44*88=3872, Resulting Numbers: [3872] 3872,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[44, 32], Operations: ['4*7=28', '60-28=32'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 44*32=1408, Resulting Numbers: [1408] 1408,71 unequal: No Solution Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[60, 16], Operations: ['4*7=28', '44-28=16'] Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,71 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[28, 104], Operations: ['4*7=28', '44+60=104'] Exploring Operation: 28+104=132, Resulting Numbers: [132] 132,71 unequal: No Solution Exploring Operation: 28*104=2912, Resulting Numbers: [2912] 2912,71 unequal: No Solution Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[44, 7, 64], Operations: ['4+60=64'] Exploring Operation: 7+64=71, Resulting Numbers: [44, 71] Generated Node #0,0,0: 71:[44, 71] Operation: 7+64=71 Exploring Operation: 64-7=57, Resulting Numbers: [44, 57] Generated Node #0,0,1: 71:[44, 57] Operation: 64-7=57 Exploring Operation: 44-7=37, Resulting Numbers: [64, 37] Generated Node #0,0,2: 71:[64, 37] Operation: 44-7=37 Exploring Operation: 44+64=108, Resulting Numbers: [7, 108] Generated Node #0,0,3: 71:[7, 108] Operation: 44+64=108 Exploring Operation: 44+7=51, Resulting Numbers: [64, 51] Generated Node #0,0,4: 71:[64, 51] Operation: 44+7=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[44, 71], Operations: ['4+60=64', '7+64=71'] Exploring Operation: 44+71=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 44*71=3124, Resulting Numbers: [3124] 3124,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[64, 51], Operations: ['4+60=64', '44+7=51'] Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,71 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[44, 57], Operations: ['4+60=64', '64-7=57'] Exploring Operation: 44*57=2508, Resulting Numbers: [2508] 2508,71 unequal: No Solution Exploring Operation: 44+57=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[64, 37], Operations: ['4+60=64', '44-7=37'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 64+37=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 64*37=2368, Resulting Numbers: [2368] 2368,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[7, 108], Operations: ['4+60=64', '44+64=108'] Exploring Operation: 108-7=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 7+108=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 7*108=756, Resulting Numbers: [756] 756,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[44, 60, 11], Operations: ['4+7=11'] Exploring Operation: 60+11=71, Resulting Numbers: [44, 71] Generated Node #0,1,0: 71:[44, 71] Operation: 60+11=71 Exploring Operation: 44+11=55, Resulting Numbers: [60, 55] Generated Node #0,1,1: 71:[60, 55] Operation: 44+11=55 Exploring Operation: 44-11=33, Resulting Numbers: [60, 33] Generated Node #0,1,2: 71:[60, 33] Operation: 44-11=33 Exploring Operation: 60-11=49, Resulting Numbers: [44, 49] Generated Node #0,1,3: 71:[44, 49] Operation: 60-11=49 Exploring Operation: 44/11=4, Resulting Numbers: [60, 4] Generated Node #0,1,4: 71:[60, 4] Operation: 44/11=4 Moving to Node #0,1,0 Current State: 71:[44, 71], Operations: ['4+7=11', '60+11=71'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 44*71=3124, Resulting Numbers: [3124] 3124,71 unequal: No Solution Exploring Operation: 44+71=115, Resulting Numbers: [115] 115,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[60, 55], Operations: ['4+7=11', '44+11=55'] Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,71 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[60, 33], Operations: ['4+7=11', '44-11=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[44, 49], Operations: ['4+7=11', '60-11=49'] Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 44*49=2156, Resulting Numbers: [2156] 2156,71 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[60, 4], Operations: ['4+7=11', '44/11=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[7, 60, 48], Operations: ['4+44=48'] Exploring Operation: 7+60=67, Resulting Numbers: [48, 67] Generated Node #0,3,0: 71:[48, 67] Operation: 7+60=67 Exploring Operation: 60+48=108, Resulting Numbers: [7, 108] Generated Node #0,3,1: 71:[7, 108] Operation: 60+48=108 Exploring Operation: 7+48=55, Resulting Numbers: [60, 55] Generated Node #0,3,2: 71:[60, 55] Operation: 7+48=55 Exploring Operation: 60-7=53, Resulting Numbers: [48, 53] Generated Node #0,3,3: 71:[48, 53] Operation: 60-7=53 Exploring Operation: 48-7=41, Resulting Numbers: [60, 41] Generated Node #0,3,4: 71:[60, 41] Operation: 48-7=41 Moving to Node #0,3,0 Current State: 71:[48, 67], Operations: ['4+44=48', '7+60=67'] Exploring Operation: 48*67=3216, Resulting Numbers: [3216] 3216,71 unequal: No Solution Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 48+67=115, Resulting Numbers: [115] 115,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[60, 55], Operations: ['4+44=48', '7+48=55'] Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,71 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[48, 53], Operations: ['4+44=48', '60-7=53'] Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,71 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[60, 41], Operations: ['4+44=48', '48-7=41'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,71 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[7, 108], Operations: ['4+44=48', '60+48=108'] Exploring Operation: 7+108=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 108-7=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 7*108=756, Resulting Numbers: [756] 756,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[4, 60, 51], Operations: ['44+7=51'] Exploring Operation: 60/4=15, Resulting Numbers: [51, 15] Generated Node #0,4,0: 71:[51, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [51, 56] Generated Node #0,4,1: 71:[51, 56] Operation: 60-4=56 Exploring Operation: 4+60=64, Resulting Numbers: [51, 64] Generated Node #0,4,2: 71:[51, 64] Operation: 4+60=64 Exploring Operation: 51-4=47, Resulting Numbers: [60, 47] Generated Node #0,4,3: 71:[60, 47] Operation: 51-4=47 Exploring Operation: 4+51=55, Resulting Numbers: [60, 55] Generated Node #0,4,4: 71:[60, 55] Operation: 4+51=55 Moving to Node #0,4,2 Current State: 71:[51, 64], Operations: ['44+7=51', '4+60=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,71 unequal: No Solution Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[60, 55], Operations: ['44+7=51', '4+51=55'] Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,71 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[51, 56], Operations: ['44+7=51', '60-4=56'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,71 unequal: No Solution Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,71 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[60, 47], Operations: ['44+7=51', '51-4=47'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,71 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[51, 15], Operations: ['44+7=51', '60/4=15'] Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,71 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,71 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
[ 43, 85, 10, 22 ]
96
[ "43+85=128", "10+22=32", "128-32=96" ]
Current State: 96:[43, 85, 10, 22], Operations: [] Exploring Operation: 43+85=128, Resulting Numbers: [10, 22, 128] Generated Node #2: [10, 22, 128] from Operation: 43+85=128 Current State: 96:[10, 22, 128], Operations: ['43+85=128'] Exploring Operation: 10+22=32, Resulting Numbers: [128, 32] Generated Node #3: [128, 32] from Operation: 10+22=32 Current State: 96:[128, 32], Operations: ['43+85=128', '10+22=32'] Exploring Operation: 128-32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[43, 85, 10, 22], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [10, 22, 42] Generated Node #0,0: 96:[10, 22, 42] Operation: 85-43=42 Exploring Operation: 43-22=21, Resulting Numbers: [85, 10, 21] Generated Node #0,1: 96:[85, 10, 21] Operation: 43-22=21 Exploring Operation: 85+10=95, Resulting Numbers: [43, 22, 95] Generated Node #0,2: 96:[43, 22, 95] Operation: 85+10=95 Exploring Operation: 43-10=33, Resulting Numbers: [85, 22, 33] Generated Node #0,3: 96:[85, 22, 33] Operation: 43-10=33 Exploring Operation: 10+22=32, Resulting Numbers: [43, 85, 32] Generated Node #0,4: 96:[43, 85, 32] Operation: 10+22=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[43, 22, 95], Operations: ['85+10=95'] Exploring Operation: 95-22=73, Resulting Numbers: [43, 73] Generated Node #0,2,0: 96:[43, 73] Operation: 95-22=73 Exploring Operation: 95-43=52, Resulting Numbers: [22, 52] Generated Node #0,2,1: 96:[22, 52] Operation: 95-43=52 Exploring Operation: 43-22=21, Resulting Numbers: [95, 21] Generated Node #0,2,2: 96:[95, 21] Operation: 43-22=21 Exploring Operation: 22+95=117, Resulting Numbers: [43, 117] Generated Node #0,2,3: 96:[43, 117] Operation: 22+95=117 Exploring Operation: 43+22=65, Resulting Numbers: [95, 65] Generated Node #0,2,4: 96:[95, 65] Operation: 43+22=65 Moving to Node #0,2,2 Current State: 96:[95, 21], Operations: ['85+10=95', '43-22=21'] Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,96 unequal: No Solution Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[22, 52], Operations: ['85+10=95', '95-43=52'] Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,96 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[95, 65], Operations: ['85+10=95', '43+22=65'] Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 95*65=6175, Resulting Numbers: [6175] 6175,96 unequal: No Solution Exploring Operation: 95+65=160, Resulting Numbers: [160] 160,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[43, 117], Operations: ['85+10=95', '22+95=117'] Exploring Operation: 43*117=5031, Resulting Numbers: [5031] 5031,96 unequal: No Solution Exploring Operation: 43+117=160, Resulting Numbers: [160] 160,96 unequal: No Solution Exploring Operation: 117-43=74, Resulting Numbers: [74] 74,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[43, 73], Operations: ['85+10=95', '95-22=73'] Exploring Operation: 43*73=3139, Resulting Numbers: [3139] 3139,96 unequal: No Solution Exploring Operation: 43+73=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[10, 22, 42], Operations: ['85-43=42'] Exploring Operation: 10+42=52, Resulting Numbers: [22, 52] Generated Node #0,0,0: 96:[22, 52] Operation: 10+42=52 Exploring Operation: 10+22=32, Resulting Numbers: [42, 32] Generated Node #0,0,1: 96:[42, 32] Operation: 10+22=32 Exploring Operation: 42-10=32, Resulting Numbers: [22, 32] Generated Node #0,0,2: 96:[22, 32] Operation: 42-10=32 Exploring Operation: 22-10=12, Resulting Numbers: [42, 12] Generated Node #0,0,3: 96:[42, 12] Operation: 22-10=12 Exploring Operation: 42-22=20, Resulting Numbers: [10, 20] Generated Node #0,0,4: 96:[10, 20] Operation: 42-22=20 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[22, 32], Operations: ['85-43=42', '42-10=32'] Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,96 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[22, 52], Operations: ['85-43=42', '10+42=52'] Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,96 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[42, 32], Operations: ['85-43=42', '10+22=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[42, 12], Operations: ['85-43=42', '22-10=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 96:[10, 20], Operations: ['85-43=42', '42-22=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,96 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[85, 22, 33], Operations: ['43-10=33'] Exploring Operation: 22+33=55, Resulting Numbers: [85, 55] Generated Node #0,3,0: 96:[85, 55] Operation: 22+33=55 Exploring Operation: 85+22=107, Resulting Numbers: [33, 107] Generated Node #0,3,1: 96:[33, 107] Operation: 85+22=107 Exploring Operation: 33-22=11, Resulting Numbers: [85, 11] Generated Node #0,3,2: 96:[85, 11] Operation: 33-22=11 Exploring Operation: 85-22=63, Resulting Numbers: [33, 63] Generated Node #0,3,3: 96:[33, 63] Operation: 85-22=63 Exploring Operation: 85-33=52, Resulting Numbers: [22, 52] Generated Node #0,3,4: 96:[22, 52] Operation: 85-33=52 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 96:[22, 52], Operations: ['43-10=33', '85-33=52'] Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,96 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[33, 107], Operations: ['43-10=33', '85+22=107'] Exploring Operation: 33*107=3531, Resulting Numbers: [3531] 3531,96 unequal: No Solution Exploring Operation: 107-33=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 33+107=140, Resulting Numbers: [140] 140,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[85, 11], Operations: ['43-10=33', '33-22=11'] Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,96 unequal: No Solution Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[43, 85, 10, 22], Operations: [] Exploring Operation: 43-10=33, Resulting Numbers: [85, 22, 33] Generated Node #0,3: 96:[85, 22, 33] Operation: 43-10=33 Moving to Node #0,3 Current State: 96:[85, 22, 33], Operations: ['43-10=33'] Exploring Operation: 33-22=11, Resulting Numbers: [85, 11] Generated Node #0,3,2: 96:[85, 11] Operation: 33-22=11 Moving to Node #0,3,2 Current State: 96:[85, 11], Operations: ['43-10=33', '33-22=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.944444
hs_5
mult_heuristic
[ 13, 96, 98, 4 ]
34
[ "13+4=17", "98-96=2", "17*2=34" ]
Current State: 34:[13, 96, 98, 4], Operations: [] Exploring Operation: 13+4=17, Resulting Numbers: [96, 98, 17] Generated Node #2: [96, 98, 17] from Operation: 13+4=17 Current State: 34:[96, 98, 17], Operations: ['13+4=17'] Exploring Operation: 98-96=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 98-96=2 Current State: 34:[17, 2], Operations: ['13+4=17', '98-96=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[13, 96, 98, 4], Operations: [] Exploring Operation: 96-13=83, Resulting Numbers: [98, 4, 83] Generated Node #0,0: 34:[98, 4, 83] Operation: 96-13=83 Exploring Operation: 96/4=24, Resulting Numbers: [13, 98, 24] Generated Node #0,1: 34:[13, 98, 24] Operation: 96/4=24 Exploring Operation: 13+4=17, Resulting Numbers: [96, 98, 17] Generated Node #0,2: 34:[96, 98, 17] Operation: 13+4=17 Exploring Operation: 98-96=2, Resulting Numbers: [13, 4, 2] Generated Node #0,3: 34:[13, 4, 2] Operation: 98-96=2 Exploring Operation: 98-13=85, Resulting Numbers: [96, 4, 85] Generated Node #0,4: 34:[96, 4, 85] Operation: 98-13=85 Moving to Node #0,3 Current State: 34:[13, 4, 2], Operations: ['98-96=2'] Exploring Operation: 4/2=2, Resulting Numbers: [13, 2] Generated Node #0,3,0: 34:[13, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [13, 2] Generated Node #0,3,1: 34:[13, 2] Operation: 4-2=2 Exploring Operation: 13-4=9, Resulting Numbers: [2, 9] Generated Node #0,3,2: 34:[2, 9] Operation: 13-4=9 Exploring Operation: 13+4=17, Resulting Numbers: [2, 17] Generated Node #0,3,3: 34:[2, 17] Operation: 13+4=17 Exploring Operation: 13+2=15, Resulting Numbers: [4, 15] Generated Node #0,3,4: 34:[4, 15] Operation: 13+2=15 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[2, 17], Operations: ['98-96=2', '13+4=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[13, 96, 98, 4], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [13, 4, 2] Generated Node #0,3: 34:[13, 4, 2] Operation: 98-96=2 Moving to Node #0,3 Current State: 34:[13, 4, 2], Operations: ['98-96=2'] Exploring Operation: 13+4=17, Resulting Numbers: [2, 17] Generated Node #0,3,3: 34:[2, 17] Operation: 13+4=17 Moving to Node #0,3,3 Current State: 34:[2, 17], Operations: ['98-96=2', '13+4=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 44, 79, 44, 59 ]
79
[ "44-44=0", "59*0=0", "79+0=79" ]
Current State: 79:[44, 79, 44, 59], Operations: [] Exploring Operation: 44-44=0, Resulting Numbers: [79, 59, 0] Generated Node #2: [79, 59, 0] from Operation: 44-44=0 Current State: 79:[79, 59, 0], Operations: ['44-44=0'] Exploring Operation: 59*0=0, Resulting Numbers: [79, 0] Generated Node #3: [79, 0] from Operation: 59*0=0 Current State: 79:[79, 0], Operations: ['44-44=0', '59*0=0'] Exploring Operation: 79+0=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[44, 79, 44, 59], Operations: [] Exploring Operation: 44+44=88, Resulting Numbers: [79, 59, 88] Generated Node #0,0: 79:[79, 59, 88] Operation: 44+44=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[79, 59, 88], Operations: ['44+44=88'] Exploring Operation: 88-59=29, Resulting Numbers: [79, 29] Generated Node #0,0,0: 79:[79, 29] Operation: 88-59=29 Moving to Node #0,0,0 Current State: 79:[79, 29], Operations: ['44+44=88', '88-59=29'] Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,79 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
[ 86, 6, 72, 69 ]
96
[ "86+6=92", "72*92=6624", "6624/69=96" ]
Current State: 96:[86, 6, 72, 69], Operations: [] Exploring Operation: 86+6=92, Resulting Numbers: [72, 69, 92] Generated Node #2: [72, 69, 92] from Operation: 86+6=92 Current State: 96:[72, 69, 92], Operations: ['86+6=92'] Exploring Operation: 72*92=6624, Resulting Numbers: [69, 6624] Generated Node #3: [69, 6624] from Operation: 72*92=6624 Current State: 96:[69, 6624], Operations: ['86+6=92', '72*92=6624'] Exploring Operation: 6624/69=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[86, 6, 72, 69], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [86, 6, 3] Generated Node #0,0: 96:[86, 6, 3] Operation: 72-69=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[86, 6, 3], Operations: ['72-69=3'] Exploring Operation: 86+6=92, Resulting Numbers: [3, 92] Generated Node #0,0,0: 96:[3, 92] Operation: 86+6=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[3, 92], Operations: ['72-69=3', '86+6=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 71, 16, 17 ]
95
[ "71-9=62", "16+17=33", "62+33=95" ]
Current State: 95:[9, 71, 16, 17], Operations: [] Exploring Operation: 71-9=62, Resulting Numbers: [16, 17, 62] Generated Node #2: [16, 17, 62] from Operation: 71-9=62 Current State: 95:[16, 17, 62], Operations: ['71-9=62'] Exploring Operation: 16+17=33, Resulting Numbers: [62, 33] Generated Node #3: [62, 33] from Operation: 16+17=33 Current State: 95:[62, 33], Operations: ['71-9=62', '16+17=33'] Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[9, 71, 16, 17], Operations: [] Exploring Operation: 71+16=87, Resulting Numbers: [9, 17, 87] Generated Node #0,0: 95:[9, 17, 87] Operation: 71+16=87 Exploring Operation: 16-9=7, Resulting Numbers: [71, 17, 7] Generated Node #0,1: 95:[71, 17, 7] Operation: 16-9=7 Exploring Operation: 9+71=80, Resulting Numbers: [16, 17, 80] Generated Node #0,2: 95:[16, 17, 80] Operation: 9+71=80 Exploring Operation: 71+17=88, Resulting Numbers: [9, 16, 88] Generated Node #0,3: 95:[9, 16, 88] Operation: 71+17=88 Moving to Node #0,0 Current State: 95:[9, 17, 87], Operations: ['71+16=87'] Exploring Operation: 17-9=8, Resulting Numbers: [87, 8] Generated Node #0,0,0: 95:[87, 8] Operation: 17-9=8 Exploring Operation: 9+17=26, Resulting Numbers: [87, 26] Generated Node #0,0,1: 95:[87, 26] Operation: 9+17=26 Exploring Operation: 17+87=104, Resulting Numbers: [9, 104] Generated Node #0,0,2: 95:[9, 104] Operation: 17+87=104 Exploring Operation: 9+87=96, Resulting Numbers: [17, 96] Generated Node #0,0,3: 95:[17, 96] Operation: 9+87=96 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[17, 96], Operations: ['71+16=87', '9+87=96'] Exploring Operation: 17*96=1632, Resulting Numbers: [1632] 1632,95 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 17+96=113, Resulting Numbers: [113] 113,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[87, 8], Operations: ['71+16=87', '17-9=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,95 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[9, 71, 16, 17], Operations: [] Exploring Operation: 71+16=87, Resulting Numbers: [9, 17, 87] Generated Node #0,0: 95:[9, 17, 87] Operation: 71+16=87 Moving to Node #0,0 Current State: 95:[9, 17, 87], Operations: ['71+16=87'] Exploring Operation: 17-9=8, Resulting Numbers: [87, 8] Generated Node #0,0,0: 95:[87, 8] Operation: 17-9=8 Moving to Node #0,0,0 Current State: 95:[87, 8], Operations: ['71+16=87', '17-9=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 50, 84, 35, 32 ]
31
[ "84-50=34", "35-32=3", "34-3=31" ]
Current State: 31:[50, 84, 35, 32], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [35, 32, 34] Generated Node #2: [35, 32, 34] from Operation: 84-50=34 Current State: 31:[35, 32, 34], Operations: ['84-50=34'] Exploring Operation: 35-32=3, Resulting Numbers: [34, 3] Generated Node #3: [34, 3] from Operation: 35-32=3 Current State: 31:[34, 3], Operations: ['84-50=34', '35-32=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[50, 84, 35, 32], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [35, 32, 34] Generated Node #0,0: 31:[35, 32, 34] Operation: 84-50=34 Exploring Operation: 84-35=49, Resulting Numbers: [50, 32, 49] Generated Node #0,1: 31:[50, 32, 49] Operation: 84-35=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[35, 32, 34], Operations: ['84-50=34'] Exploring Operation: 35-32=3, Resulting Numbers: [34, 3] Generated Node #0,0,0: 31:[34, 3] Operation: 35-32=3 Exploring Operation: 35-34=1, Resulting Numbers: [32, 1] Generated Node #0,0,1: 31:[32, 1] Operation: 35-34=1 Moving to Node #0,0,0 Current State: 31:[34, 3], Operations: ['84-50=34', '35-32=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[50, 84, 35, 32], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [35, 32, 34] Generated Node #0,0: 31:[35, 32, 34] Operation: 84-50=34 Moving to Node #0,0 Current State: 31:[35, 32, 34], Operations: ['84-50=34'] Exploring Operation: 35-32=3, Resulting Numbers: [34, 3] Generated Node #0,0,0: 31:[34, 3] Operation: 35-32=3 Moving to Node #0,0,0 Current State: 31:[34, 3], Operations: ['84-50=34', '35-32=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 72, 20, 9, 33 ]
60
[ "72*20=1440", "33-9=24", "1440/24=60" ]
Current State: 60:[72, 20, 9, 33], Operations: [] Exploring Operation: 72*20=1440, Resulting Numbers: [9, 33, 1440] Generated Node #2: [9, 33, 1440] from Operation: 72*20=1440 Current State: 60:[9, 33, 1440], Operations: ['72*20=1440'] Exploring Operation: 33-9=24, Resulting Numbers: [1440, 24] Generated Node #3: [1440, 24] from Operation: 33-9=24 Current State: 60:[1440, 24], Operations: ['72*20=1440', '33-9=24'] Exploring Operation: 1440/24=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[72, 20, 9, 33], Operations: [] Exploring Operation: 72/9=8, Resulting Numbers: [20, 33, 8] Generated Node #0,0: 60:[20, 33, 8] Operation: 72/9=8 Exploring Operation: 72-9=63, Resulting Numbers: [20, 33, 63] Generated Node #0,1: 60:[20, 33, 63] Operation: 72-9=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[20, 33, 8], Operations: ['72/9=8'] Exploring Operation: 33-20=13, Resulting Numbers: [8, 13] Generated Node #0,0,0: 60:[8, 13] Operation: 33-20=13 Exploring Operation: 20-8=12, Resulting Numbers: [33, 12] Generated Node #0,0,1: 60:[33, 12] Operation: 20-8=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[8, 13], Operations: ['72/9=8', '33-20=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,60 unequal: No Solution No 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: 60:[33, 12], Operations: ['72/9=8', '20-8=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,60 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: 60:[20, 33, 63], Operations: ['72-9=63'] Exploring Operation: 33-20=13, Resulting Numbers: [63, 13] Generated Node #0,1,0: 60:[63, 13] Operation: 33-20=13 Exploring Operation: 63-33=30, Resulting Numbers: [20, 30] Generated Node #0,1,1: 60:[20, 30] Operation: 63-33=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[20, 30], Operations: ['72-9=63', '63-33=30'] Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,60 unequal: No Solution No 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: 60:[63, 13], Operations: ['72-9=63', '33-20=13'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,60 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
[ 99, 71, 11, 43 ]
60
[ "99-71=28", "43-11=32", "28+32=60" ]
Current State: 60:[99, 71, 11, 43], Operations: [] Exploring Operation: 99-71=28, Resulting Numbers: [11, 43, 28] Generated Node #2: [11, 43, 28] from Operation: 99-71=28 Current State: 60:[11, 43, 28], Operations: ['99-71=28'] Exploring Operation: 43-11=32, Resulting Numbers: [28, 32] Generated Node #3: [28, 32] from Operation: 43-11=32 Current State: 60:[28, 32], Operations: ['99-71=28', '43-11=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[99, 71, 11, 43], Operations: [] Exploring Operation: 99-71=28, Resulting Numbers: [11, 43, 28] Generated Node #0,0: 60:[11, 43, 28] Operation: 99-71=28 Exploring Operation: 99-43=56, Resulting Numbers: [71, 11, 56] Generated Node #0,1: 60:[71, 11, 56] Operation: 99-43=56 Moving to Node #0,0 Current State: 60:[11, 43, 28], Operations: ['99-71=28'] Exploring Operation: 43-11=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 60:[28, 32] Operation: 43-11=32 Exploring Operation: 43-28=15, Resulting Numbers: [11, 15] Generated Node #0,0,1: 60:[11, 15] Operation: 43-28=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[11, 15], Operations: ['99-71=28', '43-28=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[28, 32], Operations: ['99-71=28', '43-11=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[99, 71, 11, 43], Operations: [] Exploring Operation: 99-71=28, Resulting Numbers: [11, 43, 28] Generated Node #0,0: 60:[11, 43, 28] Operation: 99-71=28 Moving to Node #0,0 Current State: 60:[11, 43, 28], Operations: ['99-71=28'] Exploring Operation: 43-11=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 60:[28, 32] Operation: 43-11=32 Moving to Node #0,0,0 Current State: 60:[28, 32], Operations: ['99-71=28', '43-11=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 38, 61, 5, 53 ]
25
[ "61-38=23", "53-5=48", "48-23=25" ]
Current State: 25:[38, 61, 5, 53], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [5, 53, 23] Generated Node #2: [5, 53, 23] from Operation: 61-38=23 Current State: 25:[5, 53, 23], Operations: ['61-38=23'] Exploring Operation: 53-5=48, Resulting Numbers: [23, 48] Generated Node #3: [23, 48] from Operation: 53-5=48 Current State: 25:[23, 48], Operations: ['61-38=23', '53-5=48'] Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[38, 61, 5, 53], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [5, 53, 23] Generated Node #0,0: 25:[5, 53, 23] Operation: 61-38=23 Exploring Operation: 61-53=8, Resulting Numbers: [38, 5, 8] Generated Node #0,1: 25:[38, 5, 8] Operation: 61-53=8 Moving to Node #0,1 Current State: 25:[38, 5, 8], Operations: ['61-53=8'] Exploring Operation: 38-8=30, Resulting Numbers: [5, 30] Generated Node #0,1,0: 25:[5, 30] Operation: 38-8=30 Exploring Operation: 38-5=33, Resulting Numbers: [8, 33] Generated Node #0,1,1: 25:[8, 33] Operation: 38-5=33 Moving to Node #0,0 Current State: 25:[5, 53, 23], Operations: ['61-38=23'] Exploring Operation: 53-23=30, Resulting Numbers: [5, 30] Generated Node #0,0,0: 25:[5, 30] Operation: 53-23=30 Exploring Operation: 53-5=48, Resulting Numbers: [23, 48] Generated Node #0,0,1: 25:[23, 48] Operation: 53-5=48 Moving to Node #0,1,0 Current State: 25:[5, 30], Operations: ['61-53=8', '38-8=30'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[38, 61, 5, 53], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [38, 5, 8] Generated Node #0,1: 25:[38, 5, 8] Operation: 61-53=8 Moving to Node #0,1 Current State: 25:[38, 5, 8], Operations: ['61-53=8'] Exploring Operation: 38-8=30, Resulting Numbers: [5, 30] Generated Node #0,1,0: 25:[5, 30] Operation: 38-8=30 Moving to Node #0,1,0 Current State: 25:[5, 30], Operations: ['61-53=8', '38-8=30'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 72, 81, 97, 27 ]
22
[ "97-72=25", "81/27=3", "25-3=22" ]
Current State: 22:[72, 81, 97, 27], Operations: [] Exploring Operation: 97-72=25, Resulting Numbers: [81, 27, 25] Generated Node #2: [81, 27, 25] from Operation: 97-72=25 Current State: 22:[81, 27, 25], Operations: ['97-72=25'] Exploring Operation: 81/27=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 81/27=3 Current State: 22:[25, 3], Operations: ['97-72=25', '81/27=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[72, 81, 97, 27], Operations: [] Exploring Operation: 97-72=25, Resulting Numbers: [81, 27, 25] Generated Node #0,0: 22:[81, 27, 25] Operation: 97-72=25 Exploring Operation: 81/27=3, Resulting Numbers: [72, 97, 3] Generated Node #0,1: 22:[72, 97, 3] Operation: 81/27=3 Exploring Operation: 81-72=9, Resulting Numbers: [97, 27, 9] Generated Node #0,2: 22:[97, 27, 9] Operation: 81-72=9 Exploring Operation: 97-81=16, Resulting Numbers: [72, 27, 16] Generated Node #0,3: 22:[72, 27, 16] Operation: 97-81=16 Moving to Node #0,3 Current State: 22:[72, 27, 16], Operations: ['97-81=16'] Exploring Operation: 72+16=88, Resulting Numbers: [27, 88] Generated Node #0,3,0: 22:[27, 88] Operation: 72+16=88 Exploring Operation: 72-16=56, Resulting Numbers: [27, 56] Generated Node #0,3,1: 22:[27, 56] Operation: 72-16=56 Exploring Operation: 72-27=45, Resulting Numbers: [16, 45] Generated Node #0,3,2: 22:[16, 45] Operation: 72-27=45 Exploring Operation: 27-16=11, Resulting Numbers: [72, 11] Generated Node #0,3,3: 22:[72, 11] Operation: 27-16=11 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[16, 45], Operations: ['97-81=16', '72-27=45'] Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,22 unequal: No Solution No 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: 22:[27, 56], Operations: ['97-81=16', '72-16=56'] Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,22 unequal: No Solution No 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: 22:[72, 11], Operations: ['97-81=16', '27-16=11'] Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,22 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,22 unequal: No Solution No 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: 22:[27, 88], Operations: ['97-81=16', '72+16=88'] Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,22 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: 22:[81, 27, 25], Operations: ['97-72=25'] Exploring Operation: 81-25=56, Resulting Numbers: [27, 56] Generated Node #0,0,0: 22:[27, 56] Operation: 81-25=56 Exploring Operation: 81-27=54, Resulting Numbers: [25, 54] Generated Node #0,0,1: 22:[25, 54] Operation: 81-27=54 Exploring Operation: 27-25=2, Resulting Numbers: [81, 2] Generated Node #0,0,2: 22:[81, 2] Operation: 27-25=2 Exploring Operation: 81/27=3, Resulting Numbers: [25, 3] Generated Node #0,0,3: 22:[25, 3] Operation: 81/27=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 22:[25, 3], Operations: ['97-72=25', '81/27=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[72, 81, 97, 27], Operations: [] Exploring Operation: 97-72=25, Resulting Numbers: [81, 27, 25] Generated Node #0,0: 22:[81, 27, 25] Operation: 97-72=25 Moving to Node #0,0 Current State: 22:[81, 27, 25], Operations: ['97-72=25'] Exploring Operation: 81/27=3, Resulting Numbers: [25, 3] Generated Node #0,0,3: 22:[25, 3] Operation: 81/27=3 Moving to Node #0,0,3 Current State: 22:[25, 3], Operations: ['97-72=25', '81/27=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 90, 67, 21, 63 ]
69
[ "90-67=23", "63/21=3", "23*3=69" ]
Current State: 69:[90, 67, 21, 63], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [21, 63, 23] Generated Node #2: [21, 63, 23] from Operation: 90-67=23 Current State: 69:[21, 63, 23], Operations: ['90-67=23'] Exploring Operation: 63/21=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 63/21=3 Current State: 69:[23, 3], Operations: ['90-67=23', '63/21=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[90, 67, 21, 63], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [21, 63, 23] Generated Node #0,0: 69:[21, 63, 23] Operation: 90-67=23 Exploring Operation: 90-21=69, Resulting Numbers: [67, 63, 69] Generated Node #0,1: 69:[67, 63, 69] Operation: 90-21=69 Exploring Operation: 90-63=27, Resulting Numbers: [67, 21, 27] Generated Node #0,2: 69:[67, 21, 27] Operation: 90-63=27 Exploring Operation: 63/21=3, Resulting Numbers: [90, 67, 3] Generated Node #0,3: 69:[90, 67, 3] Operation: 63/21=3 Exploring Operation: 67-63=4, Resulting Numbers: [90, 21, 4] Generated Node #0,4: 69:[90, 21, 4] Operation: 67-63=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[21, 63, 23], Operations: ['90-67=23'] Exploring Operation: 63/21=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 63/21=3 Exploring Operation: 63+23=86, Resulting Numbers: [21, 86] Generated Node #0,0,1: 69:[21, 86] Operation: 63+23=86 Exploring Operation: 23-21=2, Resulting Numbers: [63, 2] Generated Node #0,0,2: 69:[63, 2] Operation: 23-21=2 Exploring Operation: 63-21=42, Resulting Numbers: [23, 42] Generated Node #0,0,3: 69:[23, 42] Operation: 63-21=42 Exploring Operation: 21+63=84, Resulting Numbers: [23, 84] Generated Node #0,0,4: 69:[23, 84] Operation: 21+63=84 Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['90-67=23', '63/21=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[90, 67, 21, 63], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [21, 63, 23] Generated Node #0,0: 69:[21, 63, 23] Operation: 90-67=23 Moving to Node #0,0 Current State: 69:[21, 63, 23], Operations: ['90-67=23'] Exploring Operation: 63/21=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 63/21=3 Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['90-67=23', '63/21=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 52, 44, 30, 51 ]
75
[ "52+44=96", "51-30=21", "96-21=75" ]
Current State: 75:[52, 44, 30, 51], Operations: [] Exploring Operation: 52+44=96, Resulting Numbers: [30, 51, 96] Generated Node #2: [30, 51, 96] from Operation: 52+44=96 Current State: 75:[30, 51, 96], Operations: ['52+44=96'] Exploring Operation: 51-30=21, Resulting Numbers: [96, 21] Generated Node #3: [96, 21] from Operation: 51-30=21 Current State: 75:[96, 21], Operations: ['52+44=96', '51-30=21'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[52, 44, 30, 51], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [44, 30, 1] Generated Node #0,0: 75:[44, 30, 1] Operation: 52-51=1 Exploring Operation: 52-44=8, Resulting Numbers: [30, 51, 8] Generated Node #0,1: 75:[30, 51, 8] Operation: 52-44=8 Exploring Operation: 51-44=7, Resulting Numbers: [52, 30, 7] Generated Node #0,2: 75:[52, 30, 7] Operation: 51-44=7 Moving to Node #0,0 Current State: 75:[44, 30, 1], Operations: ['52-51=1'] Exploring Operation: 44-30=14, Resulting Numbers: [1, 14] Generated Node #0,0,0: 75:[1, 14] Operation: 44-30=14 Exploring Operation: 44-1=43, Resulting Numbers: [30, 43] Generated Node #0,0,1: 75:[30, 43] Operation: 44-1=43 Exploring Operation: 44+30=74, Resulting Numbers: [1, 74] Generated Node #0,0,2: 75:[1, 74] Operation: 44+30=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[1, 14], Operations: ['52-51=1', '44-30=14'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,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,2 Current State: 75:[1, 74], Operations: ['52-51=1', '44+30=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[52, 44, 30, 51], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [44, 30, 1] Generated Node #0,0: 75:[44, 30, 1] Operation: 52-51=1 Moving to Node #0,0 Current State: 75:[44, 30, 1], Operations: ['52-51=1'] Exploring Operation: 44+30=74, Resulting Numbers: [1, 74] Generated Node #0,0,2: 75:[1, 74] Operation: 44+30=74 Moving to Node #0,0,2 Current State: 75:[1, 74], Operations: ['52-51=1', '44+30=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 8, 66, 40, 46 ]
12
[ "8+66=74", "40+46=86", "86-74=12" ]
Current State: 12:[8, 66, 40, 46], Operations: [] Exploring Operation: 8+66=74, Resulting Numbers: [40, 46, 74] Generated Node #2: [40, 46, 74] from Operation: 8+66=74 Current State: 12:[40, 46, 74], Operations: ['8+66=74'] Exploring Operation: 40+46=86, Resulting Numbers: [74, 86] Generated Node #3: [74, 86] from Operation: 40+46=86 Current State: 12:[74, 86], Operations: ['8+66=74', '40+46=86'] Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[8, 66, 40, 46], Operations: [] Exploring Operation: 66-46=20, Resulting Numbers: [8, 40, 20] Generated Node #0,0: 12:[8, 40, 20] Operation: 66-46=20 Exploring Operation: 66-40=26, Resulting Numbers: [8, 46, 26] Generated Node #0,1: 12:[8, 46, 26] Operation: 66-40=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[8, 40, 20], Operations: ['66-46=20'] Exploring Operation: 40/20=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 12:[8, 2] Operation: 40/20=2 Exploring Operation: 40/8=5, Resulting Numbers: [20, 5] Generated Node #0,0,1: 12:[20, 5] Operation: 40/8=5 Moving to Node #0,0,0 Current State: 12:[8, 2], Operations: ['66-46=20', '40/20=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[20, 5], Operations: ['66-46=20', '40/8=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[8, 46, 26], Operations: ['66-40=26'] Exploring Operation: 46-26=20, Resulting Numbers: [8, 20] Generated Node #0,1,0: 12:[8, 20] Operation: 46-26=20 Exploring Operation: 46-8=38, Resulting Numbers: [26, 38] Generated Node #0,1,1: 12:[26, 38] Operation: 46-8=38 Moving to Node #0,1,0 Current State: 12:[8, 20], Operations: ['66-40=26', '46-26=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[8, 66, 40, 46], Operations: [] Exploring Operation: 66-40=26, Resulting Numbers: [8, 46, 26] Generated Node #0,1: 12:[8, 46, 26] Operation: 66-40=26 Moving to Node #0,1 Current State: 12:[8, 46, 26], Operations: ['66-40=26'] Exploring Operation: 46-26=20, Resulting Numbers: [8, 20] Generated Node #0,1,0: 12:[8, 20] Operation: 46-26=20 Moving to Node #0,1,0 Current State: 12:[8, 20], Operations: ['66-40=26', '46-26=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 51, 4, 21, 44 ]
91
[ "51-44=7", "4*21=84", "7+84=91" ]
Current State: 91:[51, 4, 21, 44], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [4, 21, 7] Generated Node #2: [4, 21, 7] from Operation: 51-44=7 Current State: 91:[4, 21, 7], Operations: ['51-44=7'] Exploring Operation: 4*21=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 4*21=84 Current State: 91:[7, 84], Operations: ['51-44=7', '4*21=84'] Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[51, 4, 21, 44], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [4, 21, 7] Generated Node #0,0: 91:[4, 21, 7] Operation: 51-44=7 Exploring Operation: 44/4=11, Resulting Numbers: [51, 21, 11] Generated Node #0,1: 91:[51, 21, 11] Operation: 44/4=11 Exploring Operation: 51+44=95, Resulting Numbers: [4, 21, 95] Generated Node #0,2: 91:[4, 21, 95] Operation: 51+44=95 Moving to Node #0,0 Current State: 91:[4, 21, 7], Operations: ['51-44=7'] Exploring Operation: 4*21=84, Resulting Numbers: [7, 84] Generated Node #0,0,0: 91:[7, 84] Operation: 4*21=84 Exploring Operation: 21-4=17, Resulting Numbers: [7, 17] Generated Node #0,0,1: 91:[7, 17] Operation: 21-4=17 Exploring Operation: 21-7=14, Resulting Numbers: [4, 14] Generated Node #0,0,2: 91:[4, 14] Operation: 21-7=14 Moving to Node #0,2 Current State: 91:[4, 21, 95], Operations: ['51+44=95'] Exploring Operation: 95-4=91, Resulting Numbers: [21, 91] Generated Node #0,2,0: 91:[21, 91] Operation: 95-4=91 Exploring Operation: 21-4=17, Resulting Numbers: [95, 17] Generated Node #0,2,1: 91:[95, 17] Operation: 21-4=17 Exploring Operation: 4*21=84, Resulting Numbers: [95, 84] Generated Node #0,2,2: 91:[95, 84] Operation: 4*21=84 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[21, 91], Operations: ['51+44=95', '95-4=91'] Exploring Operation: 21+91=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 21*91=1911, Resulting Numbers: [1911] 1911,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[95, 17], Operations: ['51+44=95', '21-4=17'] Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,91 unequal: No Solution Exploring Operation: 95+17=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 95*17=1615, Resulting Numbers: [1615] 1615,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[95, 84], Operations: ['51+44=95', '4*21=84'] Exploring Operation: 95+84=179, Resulting Numbers: [179] 179,91 unequal: No Solution Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 95*84=7980, Resulting Numbers: [7980] 7980,91 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: 91:[51, 21, 11], Operations: ['44/4=11'] Exploring Operation: 51-11=40, Resulting Numbers: [21, 40] Generated Node #0,1,0: 91:[21, 40] Operation: 51-11=40 Exploring Operation: 51+21=72, Resulting Numbers: [11, 72] Generated Node #0,1,1: 91:[11, 72] Operation: 51+21=72 Exploring Operation: 51-21=30, Resulting Numbers: [11, 30] Generated Node #0,1,2: 91:[11, 30] Operation: 51-21=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[11, 30], Operations: ['44/4=11', '51-21=30'] Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,91 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[11, 72], Operations: ['44/4=11', '51+21=72'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 11*72=792, Resulting Numbers: [792] 792,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[21, 40], Operations: ['44/4=11', '51-11=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,91 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,91 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: 91:[7, 17], Operations: ['51-44=7', '21-4=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[4, 14], Operations: ['51-44=7', '21-7=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[7, 84], Operations: ['51-44=7', '4*21=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[51, 4, 21, 44], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [4, 21, 7] Generated Node #0,0: 91:[4, 21, 7] Operation: 51-44=7 Moving to Node #0,0 Current State: 91:[4, 21, 7], Operations: ['51-44=7'] Exploring Operation: 4*21=84, Resulting Numbers: [7, 84] Generated Node #0,0,0: 91:[7, 84] Operation: 4*21=84 Moving to Node #0,0,0 Current State: 91:[7, 84], Operations: ['51-44=7', '4*21=84'] Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.962674
hs_3
mult_heuristic
[ 3, 39, 17, 40 ]
64
[ "3*40=120", "39+17=56", "120-56=64" ]
Current State: 64:[3, 39, 17, 40], Operations: [] Exploring Operation: 3*40=120, Resulting Numbers: [39, 17, 120] Generated Node #2: [39, 17, 120] from Operation: 3*40=120 Current State: 64:[39, 17, 120], Operations: ['3*40=120'] Exploring Operation: 39+17=56, Resulting Numbers: [120, 56] Generated Node #3: [120, 56] from Operation: 39+17=56 Current State: 64:[120, 56], Operations: ['3*40=120', '39+17=56'] Exploring Operation: 120-56=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[3, 39, 17, 40], Operations: [] Exploring Operation: 40-3=37, Resulting Numbers: [39, 17, 37] Generated Node #0,0: 64:[39, 17, 37] Operation: 40-3=37 Exploring Operation: 40-39=1, Resulting Numbers: [3, 17, 1] Generated Node #0,1: 64:[3, 17, 1] Operation: 40-39=1 Exploring Operation: 39/3=13, Resulting Numbers: [17, 40, 13] Generated Node #0,2: 64:[17, 40, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [17, 40, 36] Generated Node #0,3: 64:[17, 40, 36] Operation: 39-3=36 Moving to Node #0,1 Current State: 64:[3, 17, 1], Operations: ['40-39=1'] Exploring Operation: 3-1=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 64:[17, 2] Operation: 3-1=2 Exploring Operation: 3*1=3, Resulting Numbers: [17, 3] Generated Node #0,1,1: 64:[17, 3] Operation: 3*1=3 Exploring Operation: 3+1=4, Resulting Numbers: [17, 4] Generated Node #0,1,2: 64:[17, 4] Operation: 3+1=4 Exploring Operation: 17-1=16, Resulting Numbers: [3, 16] Generated Node #0,1,3: 64:[3, 16] Operation: 17-1=16 Moving to Node #0,2 Current State: 64:[17, 40, 13], Operations: ['39/3=13'] Exploring Operation: 40-13=27, Resulting Numbers: [17, 27] Generated Node #0,2,0: 64:[17, 27] Operation: 40-13=27 Exploring Operation: 40-17=23, Resulting Numbers: [13, 23] Generated Node #0,2,1: 64:[13, 23] Operation: 40-17=23 Exploring Operation: 17+40=57, Resulting Numbers: [13, 57] Generated Node #0,2,2: 64:[13, 57] Operation: 17+40=57 Exploring Operation: 17-13=4, Resulting Numbers: [40, 4] Generated Node #0,2,3: 64:[40, 4] Operation: 17-13=4 Moving to Node #0,3 Current State: 64:[17, 40, 36], Operations: ['39-3=36'] Exploring Operation: 40-36=4, Resulting Numbers: [17, 4] Generated Node #0,3,0: 64:[17, 4] Operation: 40-36=4 Exploring Operation: 36-17=19, Resulting Numbers: [40, 19] Generated Node #0,3,1: 64:[40, 19] Operation: 36-17=19 Exploring Operation: 17+40=57, Resulting Numbers: [36, 57] Generated Node #0,3,2: 64:[36, 57] Operation: 17+40=57 Exploring Operation: 40-17=23, Resulting Numbers: [36, 23] Generated Node #0,3,3: 64:[36, 23] Operation: 40-17=23 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[17, 4], Operations: ['39-3=36', '40-36=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,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,3,1 Current State: 64:[40, 19], Operations: ['39-3=36', '36-17=19'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,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,3,2 Current State: 64:[36, 57], Operations: ['39-3=36', '17+40=57'] Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,64 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,64 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,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,3,3 Current State: 64:[36, 23], Operations: ['39-3=36', '40-17=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,64 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 36-23=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,0 Current State: 64:[39, 17, 37], Operations: ['40-3=37'] Exploring Operation: 39-37=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 64:[17, 2] Operation: 39-37=2 Exploring Operation: 39-17=22, Resulting Numbers: [37, 22] Generated Node #0,0,1: 64:[37, 22] Operation: 39-17=22 Exploring Operation: 37-17=20, Resulting Numbers: [39, 20] Generated Node #0,0,2: 64:[39, 20] Operation: 37-17=20 Exploring Operation: 39+17=56, Resulting Numbers: [37, 56] Generated Node #0,0,3: 64:[37, 56] Operation: 39+17=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[17, 2], Operations: ['40-3=37', '39-37=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[37, 22], Operations: ['40-3=37', '39-17=22'] Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,64 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[39, 20], Operations: ['40-3=37', '37-17=20'] Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,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,3 Current State: 64:[37, 56], Operations: ['40-3=37', '39+17=56'] Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,64 unequal: No Solution Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,64 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,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:[17, 2], Operations: ['40-39=1', '3-1=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[3, 16], Operations: ['40-39=1', '17-1=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[17, 4], Operations: ['40-39=1', '3+1=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[17, 3], Operations: ['40-39=1', '3*1=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[17, 27], Operations: ['39/3=13', '40-13=27'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[40, 4], Operations: ['39/3=13', '17-13=4'] Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,64 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[13, 23], Operations: ['39/3=13', '40-17=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,64 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[13, 57], Operations: ['39/3=13', '17+40=57'] Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,64 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 95, 38, 2, 22 ]
46
[ "95-38=57", "22/2=11", "57-11=46" ]
Current State: 46:[95, 38, 2, 22], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [2, 22, 57] Generated Node #2: [2, 22, 57] from Operation: 95-38=57 Current State: 46:[2, 22, 57], Operations: ['95-38=57'] Exploring Operation: 22/2=11, Resulting Numbers: [57, 11] Generated Node #3: [57, 11] from Operation: 22/2=11 Current State: 46:[57, 11], Operations: ['95-38=57', '22/2=11'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[95, 38, 2, 22], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [2, 22, 57] Generated Node #0,0: 46:[2, 22, 57] Operation: 95-38=57 Exploring Operation: 95-22=73, Resulting Numbers: [38, 2, 73] Generated Node #0,1: 46:[38, 2, 73] Operation: 95-22=73 Moving to Node #0,0 Current State: 46:[2, 22, 57], Operations: ['95-38=57'] Exploring Operation: 57-22=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 46:[2, 35] Operation: 57-22=35 Exploring Operation: 57-2=55, Resulting Numbers: [22, 55] Generated Node #0,0,1: 46:[22, 55] Operation: 57-2=55 Moving to Node #0,1 Current State: 46:[38, 2, 73], Operations: ['95-22=73'] Exploring Operation: 73-38=35, Resulting Numbers: [2, 35] Generated Node #0,1,0: 46:[2, 35] Operation: 73-38=35 Exploring Operation: 38/2=19, Resulting Numbers: [73, 19] Generated Node #0,1,1: 46:[73, 19] Operation: 38/2=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[2, 35], Operations: ['95-22=73', '73-38=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,46 unequal: No Solution No solution 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: 46:[73, 19], Operations: ['95-22=73', '38/2=19'] Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,46 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: 46:[22, 55], Operations: ['95-38=57', '57-2=55'] Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[2, 35], Operations: ['95-38=57', '57-22=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,46 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 63, 58, 28, 54 ]
59
[ "58+54=112", "112/28=4", "63-4=59" ]
Current State: 59:[63, 58, 28, 54], Operations: [] Exploring Operation: 58+54=112, Resulting Numbers: [63, 28, 112] Generated Node #2: [63, 28, 112] from Operation: 58+54=112 Current State: 59:[63, 28, 112], Operations: ['58+54=112'] Exploring Operation: 112/28=4, Resulting Numbers: [63, 4] Generated Node #3: [63, 4] from Operation: 112/28=4 Current State: 59:[63, 4], Operations: ['58+54=112', '112/28=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[63, 58, 28, 54], Operations: [] Exploring Operation: 28+54=82, Resulting Numbers: [63, 58, 82] Generated Node #0,0: 59:[63, 58, 82] Operation: 28+54=82 Exploring Operation: 58+28=86, Resulting Numbers: [63, 54, 86] Generated Node #0,1: 59:[63, 54, 86] Operation: 58+28=86 Exploring Operation: 63-28=35, Resulting Numbers: [58, 54, 35] Generated Node #0,2: 59:[58, 54, 35] Operation: 63-28=35 Moving to Node #0,0 Current State: 59:[63, 58, 82], Operations: ['28+54=82'] Exploring Operation: 82-63=19, Resulting Numbers: [58, 19] Generated Node #0,0,0: 59:[58, 19] Operation: 82-63=19 Exploring Operation: 63-58=5, Resulting Numbers: [82, 5] Generated Node #0,0,1: 59:[82, 5] Operation: 63-58=5 Exploring Operation: 82-58=24, Resulting Numbers: [63, 24] Generated Node #0,0,2: 59:[63, 24] Operation: 82-58=24 Moving to Node #0,2 Current State: 59:[58, 54, 35], Operations: ['63-28=35'] Exploring Operation: 54+35=89, Resulting Numbers: [58, 89] Generated Node #0,2,0: 59:[58, 89] Operation: 54+35=89 Exploring Operation: 58+35=93, Resulting Numbers: [54, 93] Generated Node #0,2,1: 59:[54, 93] Operation: 58+35=93 Exploring Operation: 58-35=23, Resulting Numbers: [54, 23] Generated Node #0,2,2: 59:[54, 23] Operation: 58-35=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[58, 89], Operations: ['63-28=35', '54+35=89'] Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,59 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[54, 93], Operations: ['63-28=35', '58+35=93'] Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 54*93=5022, Resulting Numbers: [5022] 5022,59 unequal: No Solution Exploring Operation: 54+93=147, Resulting Numbers: [147] 147,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[54, 23], Operations: ['63-28=35', '58-35=23'] Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,59 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,59 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: 59:[63, 54, 86], Operations: ['58+28=86'] Exploring Operation: 86-54=32, Resulting Numbers: [63, 32] Generated Node #0,1,0: 59:[63, 32] Operation: 86-54=32 Exploring Operation: 63-54=9, Resulting Numbers: [86, 9] Generated Node #0,1,1: 59:[86, 9] Operation: 63-54=9 Exploring Operation: 86-63=23, Resulting Numbers: [54, 23] Generated Node #0,1,2: 59:[54, 23] Operation: 86-63=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[63, 32], Operations: ['58+28=86', '86-54=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,59 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[54, 23], Operations: ['58+28=86', '86-63=23'] Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,59 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[86, 9], Operations: ['58+28=86', '63-54=9'] Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 59:[63, 24], Operations: ['28+54=82', '82-58=24'] Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,59 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[58, 19], Operations: ['28+54=82', '82-63=19'] Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,59 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[82, 5], Operations: ['28+54=82', '63-58=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,59 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,59 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,59 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 93, 76, 47, 65 ]
95
[ "93-76=17", "47+65=112", "112-17=95" ]
Current State: 95:[93, 76, 47, 65], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [47, 65, 17] Generated Node #2: [47, 65, 17] from Operation: 93-76=17 Current State: 95:[47, 65, 17], Operations: ['93-76=17'] Exploring Operation: 47+65=112, Resulting Numbers: [17, 112] Generated Node #3: [17, 112] from Operation: 47+65=112 Current State: 95:[17, 112], Operations: ['93-76=17', '47+65=112'] Exploring Operation: 112-17=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[93, 76, 47, 65], Operations: [] Exploring Operation: 47+65=112, Resulting Numbers: [93, 76, 112] Generated Node #0,0: 95:[93, 76, 112] Operation: 47+65=112 Exploring Operation: 65-47=18, Resulting Numbers: [93, 76, 18] Generated Node #0,1: 95:[93, 76, 18] Operation: 65-47=18 Exploring Operation: 76-65=11, Resulting Numbers: [93, 47, 11] Generated Node #0,2: 95:[93, 47, 11] Operation: 76-65=11 Moving to Node #0,1 Current State: 95:[93, 76, 18], Operations: ['65-47=18'] Exploring Operation: 93+18=111, Resulting Numbers: [76, 111] Generated Node #0,1,0: 95:[76, 111] Operation: 93+18=111 Exploring Operation: 76+18=94, Resulting Numbers: [93, 94] Generated Node #0,1,1: 95:[93, 94] Operation: 76+18=94 Exploring Operation: 93-76=17, Resulting Numbers: [18, 17] Generated Node #0,1,2: 95:[18, 17] Operation: 93-76=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[93, 94], Operations: ['65-47=18', '76+18=94'] Exploring Operation: 93+94=187, Resulting Numbers: [187] 187,95 unequal: No Solution Exploring Operation: 94-93=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 93*94=8742, Resulting Numbers: [8742] 8742,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[18, 17], Operations: ['65-47=18', '93-76=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,95 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[76, 111], Operations: ['65-47=18', '93+18=111'] Exploring Operation: 111-76=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 76*111=8436, Resulting Numbers: [8436] 8436,95 unequal: No Solution Exploring Operation: 76+111=187, Resulting Numbers: [187] 187,95 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: 95:[93, 47, 11], Operations: ['76-65=11'] Exploring Operation: 47-11=36, Resulting Numbers: [93, 36] Generated Node #0,2,0: 95:[93, 36] Operation: 47-11=36 Exploring Operation: 93-47=46, Resulting Numbers: [11, 46] Generated Node #0,2,1: 95:[11, 46] Operation: 93-47=46 Exploring Operation: 93+11=104, Resulting Numbers: [47, 104] Generated Node #0,2,2: 95:[47, 104] Operation: 93+11=104 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[93, 36], Operations: ['76-65=11', '47-11=36'] Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 93+36=129, Resulting Numbers: [129] 129,95 unequal: No Solution Exploring Operation: 93*36=3348, Resulting Numbers: [3348] 3348,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[11, 46], Operations: ['76-65=11', '93-47=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,95 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[47, 104], Operations: ['76-65=11', '93+11=104'] Exploring Operation: 47+104=151, Resulting Numbers: [151] 151,95 unequal: No Solution Exploring Operation: 47*104=4888, Resulting Numbers: [4888] 4888,95 unequal: No Solution Exploring Operation: 104-47=57, Resulting Numbers: [57] 57,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 95:[93, 76, 112], Operations: ['47+65=112'] Exploring Operation: 112-93=19, Resulting Numbers: [76, 19] Generated Node #0,0,0: 95:[76, 19] Operation: 112-93=19 Exploring Operation: 93-76=17, Resulting Numbers: [112, 17] Generated Node #0,0,1: 95:[112, 17] Operation: 93-76=17 Exploring Operation: 112-76=36, Resulting Numbers: [93, 36] Generated Node #0,0,2: 95:[93, 36] Operation: 112-76=36 Moving to Node #0,0,0 Current State: 95:[76, 19], Operations: ['47+65=112', '112-93=19'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[93, 76, 47, 65], Operations: [] Exploring Operation: 47+65=112, Resulting Numbers: [93, 76, 112] Generated Node #0,0: 95:[93, 76, 112] Operation: 47+65=112 Moving to Node #0,0 Current State: 95:[93, 76, 112], Operations: ['47+65=112'] Exploring Operation: 112-93=19, Resulting Numbers: [76, 19] Generated Node #0,0,0: 95:[76, 19] Operation: 112-93=19 Moving to Node #0,0,0 Current State: 95:[76, 19], Operations: ['47+65=112', '112-93=19'] Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 71, 36, 68, 56 ]
52
[ "71-68=3", "36*3=108", "108-56=52" ]
Current State: 52:[71, 36, 68, 56], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [36, 56, 3] Generated Node #2: [36, 56, 3] from Operation: 71-68=3 Current State: 52:[36, 56, 3], Operations: ['71-68=3'] Exploring Operation: 36*3=108, Resulting Numbers: [56, 108] Generated Node #3: [56, 108] from Operation: 36*3=108 Current State: 52:[56, 108], Operations: ['71-68=3', '36*3=108'] Exploring Operation: 108-56=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[71, 36, 68, 56], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [36, 56, 3] Generated Node #0,0: 52:[36, 56, 3] Operation: 71-68=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[36, 56, 3], Operations: ['71-68=3'] Exploring Operation: 36/3=12, Resulting Numbers: [56, 12] Generated Node #0,0,0: 52:[56, 12] Operation: 36/3=12 Moving to Node #0,0,0 Current State: 52:[56, 12], Operations: ['71-68=3', '36/3=12'] Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,52 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
[ 60, 96, 56, 43 ]
19
[ "60-56=4", "96/4=24", "43-24=19" ]
Current State: 19:[60, 96, 56, 43], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [96, 43, 4] Generated Node #2: [96, 43, 4] from Operation: 60-56=4 Current State: 19:[96, 43, 4], Operations: ['60-56=4'] Exploring Operation: 96/4=24, Resulting Numbers: [43, 24] Generated Node #3: [43, 24] from Operation: 96/4=24 Current State: 19:[43, 24], Operations: ['60-56=4', '96/4=24'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[60, 96, 56, 43], Operations: [] Exploring Operation: 96-56=40, Resulting Numbers: [60, 43, 40] Generated Node #0,0: 19:[60, 43, 40] Operation: 96-56=40 Exploring Operation: 96-60=36, Resulting Numbers: [56, 43, 36] Generated Node #0,1: 19:[56, 43, 36] Operation: 96-60=36 Moving to Node #0,1 Current State: 19:[56, 43, 36], Operations: ['96-60=36'] Exploring Operation: 56-36=20, Resulting Numbers: [43, 20] Generated Node #0,1,0: 19:[43, 20] Operation: 56-36=20 Exploring Operation: 56-43=13, Resulting Numbers: [36, 13] Generated Node #0,1,1: 19:[36, 13] Operation: 56-43=13 Moving to Node #0,0 Current State: 19:[60, 43, 40], Operations: ['96-56=40'] Exploring Operation: 60-40=20, Resulting Numbers: [43, 20] Generated Node #0,0,0: 19:[43, 20] Operation: 60-40=20 Exploring Operation: 60-43=17, Resulting Numbers: [40, 17] Generated Node #0,0,1: 19:[40, 17] Operation: 60-43=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[40, 17], Operations: ['96-56=40', '60-43=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[43, 20], Operations: ['96-56=40', '60-40=20'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 19:[36, 13], Operations: ['96-60=36', '56-43=13'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[43, 20], Operations: ['96-60=36', '56-36=20'] Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,19 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 76, 27, 66, 52 ]
35
[ "76-27=49", "66-52=14", "49-14=35" ]
Current State: 35:[76, 27, 66, 52], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [66, 52, 49] Generated Node #2: [66, 52, 49] from Operation: 76-27=49 Current State: 35:[66, 52, 49], Operations: ['76-27=49'] Exploring Operation: 66-52=14, Resulting Numbers: [49, 14] Generated Node #3: [49, 14] from Operation: 66-52=14 Current State: 35:[49, 14], Operations: ['76-27=49', '66-52=14'] Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[76, 27, 66, 52], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [27, 66, 24] Generated Node #0,0: 35:[27, 66, 24] Operation: 76-52=24 Exploring Operation: 66-52=14, Resulting Numbers: [76, 27, 14] Generated Node #0,1: 35:[76, 27, 14] Operation: 66-52=14 Exploring Operation: 76-66=10, Resulting Numbers: [27, 52, 10] Generated Node #0,2: 35:[27, 52, 10] Operation: 76-66=10 Moving to Node #0,2 Current State: 35:[27, 52, 10], Operations: ['76-66=10'] Exploring Operation: 52-10=42, Resulting Numbers: [27, 42] Generated Node #0,2,0: 35:[27, 42] Operation: 52-10=42 Exploring Operation: 27+10=37, Resulting Numbers: [52, 37] Generated Node #0,2,1: 35:[52, 37] Operation: 27+10=37 Exploring Operation: 52-27=25, Resulting Numbers: [10, 25] Generated Node #0,2,2: 35:[10, 25] Operation: 52-27=25 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[10, 25], Operations: ['76-66=10', '52-27=25'] Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,35 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[76, 27, 66, 52], Operations: [] Exploring Operation: 76-66=10, Resulting Numbers: [27, 52, 10] Generated Node #0,2: 35:[27, 52, 10] Operation: 76-66=10 Moving to Node #0,2 Current State: 35:[27, 52, 10], Operations: ['76-66=10'] Exploring Operation: 52-27=25, Resulting Numbers: [10, 25] Generated Node #0,2,2: 35:[10, 25] Operation: 52-27=25 Moving to Node #0,2,2 Current State: 35:[10, 25], Operations: ['76-66=10', '52-27=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 69, 62, 60, 87 ]
34
[ "69-62=7", "87-60=27", "7+27=34" ]
Current State: 34:[69, 62, 60, 87], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [60, 87, 7] Generated Node #2: [60, 87, 7] from Operation: 69-62=7 Current State: 34:[60, 87, 7], Operations: ['69-62=7'] Exploring Operation: 87-60=27, Resulting Numbers: [7, 27] Generated Node #3: [7, 27] from Operation: 87-60=27 Current State: 34:[7, 27], Operations: ['69-62=7', '87-60=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[69, 62, 60, 87], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [60, 87, 7] Generated Node #0,0: 34:[60, 87, 7] Operation: 69-62=7 Exploring Operation: 87-62=25, Resulting Numbers: [69, 60, 25] Generated Node #0,1: 34:[69, 60, 25] Operation: 87-62=25 Exploring Operation: 87-69=18, Resulting Numbers: [62, 60, 18] Generated Node #0,2: 34:[62, 60, 18] Operation: 87-69=18 Exploring Operation: 87-60=27, Resulting Numbers: [69, 62, 27] Generated Node #0,3: 34:[69, 62, 27] Operation: 87-60=27 Moving to Node #0,2 Current State: 34:[62, 60, 18], Operations: ['87-69=18'] Exploring Operation: 62+18=80, Resulting Numbers: [60, 80] Generated Node #0,2,0: 34:[60, 80] Operation: 62+18=80 Exploring Operation: 62-18=44, Resulting Numbers: [60, 44] Generated Node #0,2,1: 34:[60, 44] Operation: 62-18=44 Exploring Operation: 62-60=2, Resulting Numbers: [18, 2] Generated Node #0,2,2: 34:[18, 2] Operation: 62-60=2 Exploring Operation: 60-18=42, Resulting Numbers: [62, 42] Generated Node #0,2,3: 34:[62, 42] Operation: 60-18=42 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[18, 2], Operations: ['87-69=18', '62-60=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,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,1 Current State: 34:[60, 44], Operations: ['87-69=18', '62-18=44'] Exploring Operation: 60*44=2640, Resulting Numbers: [2640] 2640,34 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 60+44=104, Resulting Numbers: [104] 104,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,3 Current State: 34:[62, 42], Operations: ['87-69=18', '60-18=42'] Exploring Operation: 62*42=2604, Resulting Numbers: [2604] 2604,34 unequal: No Solution Exploring Operation: 62+42=104, Resulting Numbers: [104] 104,34 unequal: No Solution Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,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,0 Current State: 34:[60, 80], Operations: ['87-69=18', '62+18=80'] Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,34 unequal: No Solution Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,34 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 34:[69, 60, 25], Operations: ['87-62=25'] Exploring Operation: 60-25=35, Resulting Numbers: [69, 35] Generated Node #0,1,0: 34:[69, 35] Operation: 60-25=35 Exploring Operation: 69-60=9, Resulting Numbers: [25, 9] Generated Node #0,1,1: 34:[25, 9] Operation: 69-60=9 Exploring Operation: 69+25=94, Resulting Numbers: [60, 94] Generated Node #0,1,2: 34:[60, 94] Operation: 69+25=94 Exploring Operation: 69-25=44, Resulting Numbers: [60, 44] Generated Node #0,1,3: 34:[60, 44] Operation: 69-25=44 Moving to Node #0,3 Current State: 34:[69, 62, 27], Operations: ['87-60=27'] Exploring Operation: 69-62=7, Resulting Numbers: [27, 7] Generated Node #0,3,0: 34:[27, 7] Operation: 69-62=7 Exploring Operation: 69-27=42, Resulting Numbers: [62, 42] Generated Node #0,3,1: 34:[62, 42] Operation: 69-27=42 Exploring Operation: 62-27=35, Resulting Numbers: [69, 35] Generated Node #0,3,2: 34:[69, 35] Operation: 62-27=35 Exploring Operation: 69+27=96, Resulting Numbers: [62, 96] Generated Node #0,3,3: 34:[62, 96] Operation: 69+27=96 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[27, 7], Operations: ['87-60=27', '69-62=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,34 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[69, 62, 60, 87], Operations: [] Exploring Operation: 87-60=27, Resulting Numbers: [69, 62, 27] Generated Node #0,3: 34:[69, 62, 27] Operation: 87-60=27 Moving to Node #0,3 Current State: 34:[69, 62, 27], Operations: ['87-60=27'] Exploring Operation: 69-62=7, Resulting Numbers: [27, 7] Generated Node #0,3,0: 34:[27, 7] Operation: 69-62=7 Moving to Node #0,3,0 Current State: 34:[27, 7], Operations: ['87-60=27', '69-62=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 22, 28, 27, 82 ]
24
[ "82-28=54", "54/27=2", "22+2=24" ]
Current State: 24:[22, 28, 27, 82], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [22, 27, 54] Generated Node #2: [22, 27, 54] from Operation: 82-28=54 Current State: 24:[22, 27, 54], Operations: ['82-28=54'] Exploring Operation: 54/27=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 54/27=2 Current State: 24:[22, 2], Operations: ['82-28=54', '54/27=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[22, 28, 27, 82], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [22, 27, 54] Generated Node #0,0: 24:[22, 27, 54] Operation: 82-28=54 Exploring Operation: 82-27=55, Resulting Numbers: [22, 28, 55] Generated Node #0,1: 24:[22, 28, 55] Operation: 82-27=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[22, 27, 54], Operations: ['82-28=54'] Exploring Operation: 54-27=27, Resulting Numbers: [22, 27] Generated Node #0,0,0: 24:[22, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 24:[22, 2] Operation: 54/27=2 Moving to Node #0,0,1 Current State: 24:[22, 2], Operations: ['82-28=54', '54/27=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[22, 28, 27, 82], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [22, 27, 54] Generated Node #0,0: 24:[22, 27, 54] Operation: 82-28=54 Moving to Node #0,0 Current State: 24:[22, 27, 54], Operations: ['82-28=54'] Exploring Operation: 54/27=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 24:[22, 2] Operation: 54/27=2 Moving to Node #0,0,1 Current State: 24:[22, 2], Operations: ['82-28=54', '54/27=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 74, 46, 56, 61 ]
23
[ "74-46=28", "61-56=5", "28-5=23" ]
Current State: 23:[74, 46, 56, 61], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [56, 61, 28] Generated Node #2: [56, 61, 28] from Operation: 74-46=28 Current State: 23:[56, 61, 28], Operations: ['74-46=28'] Exploring Operation: 61-56=5, Resulting Numbers: [28, 5] Generated Node #3: [28, 5] from Operation: 61-56=5 Current State: 23:[28, 5], Operations: ['74-46=28', '61-56=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[74, 46, 56, 61], Operations: [] Exploring Operation: 74-56=18, Resulting Numbers: [46, 61, 18] Generated Node #0,0: 23:[46, 61, 18] Operation: 74-56=18 Exploring Operation: 74-46=28, Resulting Numbers: [56, 61, 28] Generated Node #0,1: 23:[56, 61, 28] Operation: 74-46=28 Exploring Operation: 74-61=13, Resulting Numbers: [46, 56, 13] Generated Node #0,2: 23:[46, 56, 13] Operation: 74-61=13 Exploring Operation: 61-46=15, Resulting Numbers: [74, 56, 15] Generated Node #0,3: 23:[74, 56, 15] Operation: 61-46=15 Exploring Operation: 61-56=5, Resulting Numbers: [74, 46, 5] Generated Node #0,4: 23:[74, 46, 5] Operation: 61-56=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[46, 61, 18], Operations: ['74-56=18'] Exploring Operation: 61+18=79, Resulting Numbers: [46, 79] Generated Node #0,0,0: 23:[46, 79] Operation: 61+18=79 Exploring Operation: 61-18=43, Resulting Numbers: [46, 43] Generated Node #0,0,1: 23:[46, 43] Operation: 61-18=43 Exploring Operation: 46-18=28, Resulting Numbers: [61, 28] Generated Node #0,0,2: 23:[61, 28] Operation: 46-18=28 Exploring Operation: 46+18=64, Resulting Numbers: [61, 64] Generated Node #0,0,3: 23:[61, 64] Operation: 46+18=64 Exploring Operation: 61-46=15, Resulting Numbers: [18, 15] Generated Node #0,0,4: 23:[18, 15] Operation: 61-46=15 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 23:[18, 15], Operations: ['74-56=18', '61-46=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,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:[46, 43], Operations: ['74-56=18', '61-18=43'] Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,23 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,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:[61, 28], Operations: ['74-56=18', '46-18=28'] Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,23 unequal: No Solution Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,23 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,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,0 Current State: 23:[46, 79], Operations: ['74-56=18', '61+18=79'] Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,23 unequal: No Solution Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,23 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,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:[61, 64], Operations: ['74-56=18', '46+18=64'] Exploring Operation: 61+64=125, Resulting Numbers: [125] 125,23 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 61*64=3904, Resulting Numbers: [3904] 3904,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:[46, 56, 13], Operations: ['74-61=13'] Exploring Operation: 46-13=33, Resulting Numbers: [56, 33] Generated Node #0,2,0: 23:[56, 33] Operation: 46-13=33 Exploring Operation: 56-46=10, Resulting Numbers: [13, 10] Generated Node #0,2,1: 23:[13, 10] Operation: 56-46=10 Exploring Operation: 56+13=69, Resulting Numbers: [46, 69] Generated Node #0,2,2: 23:[46, 69] Operation: 56+13=69 Exploring Operation: 56-13=43, Resulting Numbers: [46, 43] Generated Node #0,2,3: 23:[46, 43] Operation: 56-13=43 Exploring Operation: 46+13=59, Resulting Numbers: [56, 59] Generated Node #0,2,4: 23:[56, 59] Operation: 46+13=59 Moving to Node #0,2,1 Current State: 23:[13, 10], Operations: ['74-61=13', '56-46=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[74, 46, 56, 61], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [46, 56, 13] Generated Node #0,2: 23:[46, 56, 13] Operation: 74-61=13 Moving to Node #0,2 Current State: 23:[46, 56, 13], Operations: ['74-61=13'] Exploring Operation: 56-46=10, Resulting Numbers: [13, 10] Generated Node #0,2,1: 23:[13, 10] Operation: 56-46=10 Moving to Node #0,2,1 Current State: 23:[13, 10], Operations: ['74-61=13', '56-46=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 6, 63, 39, 81 ]
13
[ "6*39=234", "81-63=18", "234/18=13" ]
Current State: 13:[6, 63, 39, 81], Operations: [] Exploring Operation: 6*39=234, Resulting Numbers: [63, 81, 234] Generated Node #2: [63, 81, 234] from Operation: 6*39=234 Current State: 13:[63, 81, 234], Operations: ['6*39=234'] Exploring Operation: 81-63=18, Resulting Numbers: [234, 18] Generated Node #3: [234, 18] from Operation: 81-63=18 Current State: 13:[234, 18], Operations: ['6*39=234', '81-63=18'] Exploring Operation: 234/18=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[6, 63, 39, 81], Operations: [] Exploring Operation: 63-39=24, Resulting Numbers: [6, 81, 24] Generated Node #0,0: 13:[6, 81, 24] Operation: 63-39=24 Exploring Operation: 81-63=18, Resulting Numbers: [6, 39, 18] Generated Node #0,1: 13:[6, 39, 18] Operation: 81-63=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[6, 39, 18], Operations: ['81-63=18'] Exploring Operation: 39-6=33, Resulting Numbers: [18, 33] Generated Node #0,1,0: 13:[18, 33] Operation: 39-6=33 Exploring Operation: 39-18=21, Resulting Numbers: [6, 21] Generated Node #0,1,1: 13:[6, 21] Operation: 39-18=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[6, 21], Operations: ['81-63=18', '39-18=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,13 unequal: No Solution No 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: 13:[18, 33], Operations: ['81-63=18', '39-6=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,13 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: 13:[6, 81, 24], Operations: ['63-39=24'] Exploring Operation: 81-24=57, Resulting Numbers: [6, 57] Generated Node #0,0,0: 13:[6, 57] Operation: 81-24=57 Exploring Operation: 81-6=75, Resulting Numbers: [24, 75] Generated Node #0,0,1: 13:[24, 75] Operation: 81-6=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[6, 57], Operations: ['63-39=24', '81-24=57'] Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,13 unequal: No Solution No 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: 13:[24, 75], Operations: ['63-39=24', '81-6=75'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,13 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
[ 16, 92, 38, 92 ]
23
[ "38-16=22", "92/92=1", "22+1=23" ]
Current State: 23:[16, 92, 38, 92], Operations: [] Exploring Operation: 38-16=22, Resulting Numbers: [92, 92, 22] Generated Node #2: [92, 92, 22] from Operation: 38-16=22 Current State: 23:[92, 92, 22], Operations: ['38-16=22'] Exploring Operation: 92/92=1, Resulting Numbers: [22, 1] Generated Node #3: [22, 1] from Operation: 92/92=1 Current State: 23:[22, 1], Operations: ['38-16=22', '92/92=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[16, 92, 38, 92], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [16, 92, 54] Generated Node #0,0: 23:[16, 92, 54] Operation: 92-38=54 Exploring Operation: 92/92=1, Resulting Numbers: [16, 38, 1] Generated Node #0,1: 23:[16, 38, 1] Operation: 92/92=1 Exploring Operation: 92-16=76, Resulting Numbers: [38, 92, 76] Generated Node #0,2: 23:[38, 92, 76] Operation: 92-16=76 Exploring Operation: 92-38=54, Resulting Numbers: [16, 92, 54] Generated Node #0,3: 23:[16, 92, 54] Operation: 92-38=54 Exploring Operation: 92-92=0, Resulting Numbers: [16, 38, 0] Generated Node #0,4: 23:[16, 38, 0] Operation: 92-92=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[16, 38, 1], Operations: ['92/92=1'] Exploring Operation: 16+1=17, Resulting Numbers: [38, 17] Generated Node #0,1,0: 23:[38, 17] Operation: 16+1=17 Exploring Operation: 38*1=38, Resulting Numbers: [16, 38] Generated Node #0,1,1: 23:[16, 38] Operation: 38*1=38 Exploring Operation: 16/1=16, Resulting Numbers: [38, 16] Generated Node #0,1,2: 23:[38, 16] Operation: 16/1=16 Exploring Operation: 16*1=16, Resulting Numbers: [38, 16] Generated Node #0,1,3: 23:[38, 16] Operation: 16*1=16 Exploring Operation: 38-1=37, Resulting Numbers: [16, 37] Generated Node #0,1,4: 23:[16, 37] Operation: 38-1=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[38, 17], Operations: ['92/92=1', '16+1=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,23 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,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,1,4 Current State: 23:[16, 37], Operations: ['92/92=1', '38-1=37'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,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,1,1 Current State: 23:[16, 38], Operations: ['92/92=1', '38*1=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,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,1,2 Current State: 23:[38, 16], Operations: ['92/92=1', '16/1=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,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,1,3 Current State: 23:[38, 16], Operations: ['92/92=1', '16*1=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,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,4 Current State: 23:[16, 38, 0], Operations: ['92-92=0'] Exploring Operation: 38-16=22, Resulting Numbers: [0, 22] Generated Node #0,4,0: 23:[0, 22] Operation: 38-16=22 Exploring Operation: 38-0=38, Resulting Numbers: [16, 38] Generated Node #0,4,1: 23:[16, 38] Operation: 38-0=38 Exploring Operation: 38+0=38, Resulting Numbers: [16, 38] Generated Node #0,4,2: 23:[16, 38] Operation: 38+0=38 Exploring Operation: 16+0=16, Resulting Numbers: [38, 16] Generated Node #0,4,3: 23:[38, 16] Operation: 16+0=16 Exploring Operation: 16-0=16, Resulting Numbers: [38, 16] Generated Node #0,4,4: 23:[38, 16] Operation: 16-0=16 Moving to Node #0,4,1 Current State: 23:[16, 38], Operations: ['92-92=0', '38-0=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[38, 16], Operations: ['92-92=0', '16+0=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[16, 38], Operations: ['92-92=0', '38+0=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[38, 16], Operations: ['92-92=0', '16-0=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,23 unequal: No Solution Moving to Node #0,4,0 Current State: 23:[0, 22], Operations: ['92-92=0', '38-16=22'] Exploring Operation: 0*22=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 0+22=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 22-0=22, Resulting Numbers: [22] 22,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:[16, 92, 54], Operations: ['92-38=54'] Exploring Operation: 16+92=108, Resulting Numbers: [54, 108] Generated Node #0,0,0: 23:[54, 108] Operation: 16+92=108 Exploring Operation: 16+54=70, Resulting Numbers: [92, 70] Generated Node #0,0,1: 23:[92, 70] Operation: 16+54=70 Exploring Operation: 92-16=76, Resulting Numbers: [54, 76] Generated Node #0,0,2: 23:[54, 76] Operation: 92-16=76 Exploring Operation: 92-54=38, Resulting Numbers: [16, 38] Generated Node #0,0,3: 23:[16, 38] Operation: 92-54=38 Exploring Operation: 54-16=38, Resulting Numbers: [92, 38] Generated Node #0,0,4: 23:[92, 38] Operation: 54-16=38 Moving to Node #0,0,3 Current State: 23:[16, 38], Operations: ['92-38=54', '92-54=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,0,4 Current State: 23:[92, 38], Operations: ['92-38=54', '54-16=38'] Exploring Operation: 92+38=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 92*38=3496, Resulting Numbers: [3496] 3496,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[54, 76], Operations: ['92-38=54', '92-16=76'] Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,23 unequal: No Solution Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[54, 108], Operations: ['92-38=54', '16+92=108'] Exploring Operation: 54+108=162, Resulting Numbers: [162] 162,23 unequal: No Solution Exploring Operation: 54*108=5832, Resulting Numbers: [5832] 5832,23 unequal: No Solution Exploring Operation: 108/54=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[92, 70], Operations: ['92-38=54', '16+54=70'] Exploring Operation: 92*70=6440, Resulting Numbers: [6440] 6440,23 unequal: No Solution Exploring Operation: 92+70=162, Resulting Numbers: [162] 162,23 unequal: No Solution Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,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,3 Current State: 23:[16, 92, 54], Operations: ['92-38=54'] Exploring Operation: 92-54=38, Resulting Numbers: [16, 38] Generated Node #0,3,0: 23:[16, 38] Operation: 92-54=38 Exploring Operation: 54-16=38, Resulting Numbers: [92, 38] Generated Node #0,3,1: 23:[92, 38] Operation: 54-16=38 Exploring Operation: 16+54=70, Resulting Numbers: [92, 70] Generated Node #0,3,2: 23:[92, 70] Operation: 16+54=70 Exploring Operation: 16+92=108, Resulting Numbers: [54, 108] Generated Node #0,3,3: 23:[54, 108] Operation: 16+92=108 Exploring Operation: 92-16=76, Resulting Numbers: [54, 76] Generated Node #0,3,4: 23:[54, 76] Operation: 92-16=76 Moving to Node #0,3,0 Current State: 23:[16, 38], Operations: ['92-38=54', '92-54=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[54, 76], Operations: ['92-38=54', '92-16=76'] Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,23 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[92, 38], Operations: ['92-38=54', '54-16=38'] Exploring Operation: 92*38=3496, Resulting Numbers: [3496] 3496,23 unequal: No Solution Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 92+38=130, Resulting Numbers: [130] 130,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[92, 70], Operations: ['92-38=54', '16+54=70'] Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 92*70=6440, Resulting Numbers: [6440] 6440,23 unequal: No Solution Exploring Operation: 92+70=162, Resulting Numbers: [162] 162,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[54, 108], Operations: ['92-38=54', '16+92=108'] Exploring Operation: 108/54=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 54+108=162, Resulting Numbers: [162] 162,23 unequal: No Solution Exploring Operation: 54*108=5832, Resulting Numbers: [5832] 5832,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,2 Current State: 23:[38, 92, 76], Operations: ['92-16=76'] Exploring Operation: 92-38=54, Resulting Numbers: [76, 54] Generated Node #0,2,0: 23:[76, 54] Operation: 92-38=54 Exploring Operation: 76/38=2, Resulting Numbers: [92, 2] Generated Node #0,2,1: 23:[92, 2] Operation: 76/38=2 Exploring Operation: 76-38=38, Resulting Numbers: [92, 38] Generated Node #0,2,2: 23:[92, 38] Operation: 76-38=38 Exploring Operation: 38+92=130, Resulting Numbers: [76, 130] Generated Node #0,2,3: 23:[76, 130] Operation: 38+92=130 Exploring Operation: 92-76=16, Resulting Numbers: [38, 16] Generated Node #0,2,4: 23:[38, 16] Operation: 92-76=16 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 23:[38, 16], Operations: ['92-16=76', '92-76=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,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,2,0 Current State: 23:[76, 54], Operations: ['92-16=76', '92-38=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,23 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,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,2,2 Current State: 23:[92, 38], Operations: ['92-16=76', '76-38=38'] Exploring Operation: 92+38=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 92*38=3496, Resulting Numbers: [3496] 3496,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,2,1 Current State: 23:[92, 2], Operations: ['92-16=76', '76/38=2'] Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,23 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,23 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,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,2,3 Current State: 23:[76, 130], Operations: ['92-16=76', '38+92=130'] Exploring Operation: 130-76=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 76+130=206, Resulting Numbers: [206] 206,23 unequal: No Solution Exploring Operation: 76*130=9880, Resulting Numbers: [9880] 9880,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 No solution found.
0
hs_5
mult_heuristic
[ 84, 6, 32, 22 ]
86
[ "84+22=106", "6*32=192", "192-106=86" ]
Current State: 86:[84, 6, 32, 22], Operations: [] Exploring Operation: 84+22=106, Resulting Numbers: [6, 32, 106] Generated Node #2: [6, 32, 106] from Operation: 84+22=106 Current State: 86:[6, 32, 106], Operations: ['84+22=106'] Exploring Operation: 6*32=192, Resulting Numbers: [106, 192] Generated Node #3: [106, 192] from Operation: 6*32=192 Current State: 86:[106, 192], Operations: ['84+22=106', '6*32=192'] Exploring Operation: 192-106=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[84, 6, 32, 22], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [84, 6, 10] Generated Node #0,0: 86:[84, 6, 10] Operation: 32-22=10 Exploring Operation: 32+22=54, Resulting Numbers: [84, 6, 54] Generated Node #0,1: 86:[84, 6, 54] Operation: 32+22=54 Exploring Operation: 6+32=38, Resulting Numbers: [84, 22, 38] Generated Node #0,2: 86:[84, 22, 38] Operation: 6+32=38 Exploring Operation: 22-6=16, Resulting Numbers: [84, 32, 16] Generated Node #0,3: 86:[84, 32, 16] Operation: 22-6=16 Moving to Node #0,0 Current State: 86:[84, 6, 10], Operations: ['32-22=10'] Exploring Operation: 10-6=4, Resulting Numbers: [84, 4] Generated Node #0,0,0: 86:[84, 4] Operation: 10-6=4 Exploring Operation: 84+10=94, Resulting Numbers: [6, 94] Generated Node #0,0,1: 86:[6, 94] Operation: 84+10=94 Exploring Operation: 84+6=90, Resulting Numbers: [10, 90] Generated Node #0,0,2: 86:[10, 90] Operation: 84+6=90 Exploring Operation: 84-6=78, Resulting Numbers: [10, 78] Generated Node #0,0,3: 86:[10, 78] Operation: 84-6=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[84, 4], Operations: ['32-22=10', '10-6=4'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 84*4=336, Resulting Numbers: [336] 336,86 unequal: No Solution Exploring Operation: 84+4=88, Resulting Numbers: [88] 88,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[6, 94], Operations: ['32-22=10', '84+10=94'] Exploring Operation: 6+94=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 6*94=564, Resulting Numbers: [564] 564,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[10, 90], Operations: ['32-22=10', '84+6=90'] Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[10, 78], Operations: ['32-22=10', '84-6=78'] Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,86 unequal: No Solution Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[84, 6, 54], Operations: ['32+22=54'] Exploring Operation: 54-6=48, Resulting Numbers: [84, 48] Generated Node #0,1,0: 86:[84, 48] Operation: 54-6=48 Exploring Operation: 84+6=90, Resulting Numbers: [54, 90] Generated Node #0,1,1: 86:[54, 90] Operation: 84+6=90 Exploring Operation: 84-54=30, Resulting Numbers: [6, 30] Generated Node #0,1,2: 86:[6, 30] Operation: 84-54=30 Exploring Operation: 54/6=9, Resulting Numbers: [84, 9] Generated Node #0,1,3: 86:[84, 9] Operation: 54/6=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[84, 48], Operations: ['32+22=54', '54-6=48'] Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,86 unequal: No Solution Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,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,3 Current State: 86:[84, 9], Operations: ['32+22=54', '54/6=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,86 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[54, 90], Operations: ['32+22=54', '84+6=90'] Exploring Operation: 54*90=4860, Resulting Numbers: [4860] 4860,86 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 54+90=144, Resulting Numbers: [144] 144,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,2 Current State: 86:[6, 30], Operations: ['32+22=54', '84-54=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,86 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,86 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: 86:[84, 32, 16], Operations: ['22-6=16'] Exploring Operation: 32/16=2, Resulting Numbers: [84, 2] Generated Node #0,3,0: 86:[84, 2] Operation: 32/16=2 Exploring Operation: 84-32=52, Resulting Numbers: [16, 52] Generated Node #0,3,1: 86:[16, 52] Operation: 84-32=52 Exploring Operation: 32+16=48, Resulting Numbers: [84, 48] Generated Node #0,3,2: 86:[84, 48] Operation: 32+16=48 Exploring Operation: 32-16=16, Resulting Numbers: [84, 16] Generated Node #0,3,3: 86:[84, 16] Operation: 32-16=16 Moving to Node #0,2 Current State: 86:[84, 22, 38], Operations: ['6+32=38'] Exploring Operation: 38-22=16, Resulting Numbers: [84, 16] Generated Node #0,2,0: 86:[84, 16] Operation: 38-22=16 Exploring Operation: 84-38=46, Resulting Numbers: [22, 46] Generated Node #0,2,1: 86:[22, 46] Operation: 84-38=46 Exploring Operation: 22+38=60, Resulting Numbers: [84, 60] Generated Node #0,2,2: 86:[84, 60] Operation: 22+38=60 Exploring Operation: 84-22=62, Resulting Numbers: [38, 62] Generated Node #0,2,3: 86:[38, 62] Operation: 84-22=62 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[84, 16], Operations: ['6+32=38', '38-22=16'] Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,86 unequal: No Solution Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,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,2,2 Current State: 86:[84, 60], Operations: ['6+32=38', '22+38=60'] Exploring Operation: 84+60=144, Resulting Numbers: [144] 144,86 unequal: No Solution Exploring Operation: 84*60=5040, Resulting Numbers: [5040] 5040,86 unequal: No Solution Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,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,2,1 Current State: 86:[22, 46], Operations: ['6+32=38', '84-38=46'] Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,86 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,86 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,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,2,3 Current State: 86:[38, 62], Operations: ['6+32=38', '84-22=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,86 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 86:[84, 2], Operations: ['22-6=16', '32/16=2'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,86 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[84, 6, 32, 22], Operations: [] Exploring Operation: 22-6=16, Resulting Numbers: [84, 32, 16] Generated Node #0,3: 86:[84, 32, 16] Operation: 22-6=16 Moving to Node #0,3 Current State: 86:[84, 32, 16], Operations: ['22-6=16'] Exploring Operation: 32/16=2, Resulting Numbers: [84, 2] Generated Node #0,3,0: 86:[84, 2] Operation: 32/16=2 Moving to Node #0,3,0 Current State: 86:[84, 2], Operations: ['22-6=16', '32/16=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.94184
hs_4
mult_heuristic
[ 42, 63, 32, 40 ]
94
[ "42-40=2", "63*2=126", "126-32=94" ]
Current State: 94:[42, 63, 32, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [63, 32, 2] Generated Node #2: [63, 32, 2] from Operation: 42-40=2 Current State: 94:[63, 32, 2], Operations: ['42-40=2'] Exploring Operation: 63*2=126, Resulting Numbers: [32, 126] Generated Node #3: [32, 126] from Operation: 63*2=126 Current State: 94:[32, 126], Operations: ['42-40=2', '63*2=126'] Exploring Operation: 126-32=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[42, 63, 32, 40], Operations: [] Exploring Operation: 42-32=10, Resulting Numbers: [63, 40, 10] Generated Node #0,0: 94:[63, 40, 10] Operation: 42-32=10 Exploring Operation: 63+40=103, Resulting Numbers: [42, 32, 103] Generated Node #0,1: 94:[42, 32, 103] Operation: 63+40=103 Exploring Operation: 63-32=31, Resulting Numbers: [42, 40, 31] Generated Node #0,2: 94:[42, 40, 31] Operation: 63-32=31 Exploring Operation: 63+32=95, Resulting Numbers: [42, 40, 95] Generated Node #0,3: 94:[42, 40, 95] Operation: 63+32=95 Exploring Operation: 40-32=8, Resulting Numbers: [42, 63, 8] Generated Node #0,4: 94:[42, 63, 8] Operation: 40-32=8 Moving to Node #0,3 Current State: 94:[42, 40, 95], Operations: ['63+32=95'] Exploring Operation: 95-42=53, Resulting Numbers: [40, 53] Generated Node #0,3,0: 94:[40, 53] Operation: 95-42=53 Exploring Operation: 42-40=2, Resulting Numbers: [95, 2] Generated Node #0,3,1: 94:[95, 2] Operation: 42-40=2 Exploring Operation: 42+40=82, Resulting Numbers: [95, 82] Generated Node #0,3,2: 94:[95, 82] Operation: 42+40=82 Exploring Operation: 95-40=55, Resulting Numbers: [42, 55] Generated Node #0,3,3: 94:[42, 55] Operation: 95-40=55 Exploring Operation: 40+95=135, Resulting Numbers: [42, 135] Generated Node #0,3,4: 94:[42, 135] Operation: 40+95=135 Moving to Node #0,4 Current State: 94:[42, 63, 8], Operations: ['40-32=8'] Exploring Operation: 63-42=21, Resulting Numbers: [8, 21] Generated Node #0,4,0: 94:[8, 21] Operation: 63-42=21 Exploring Operation: 42+63=105, Resulting Numbers: [8, 105] Generated Node #0,4,1: 94:[8, 105] Operation: 42+63=105 Exploring Operation: 63-8=55, Resulting Numbers: [42, 55] Generated Node #0,4,2: 94:[42, 55] Operation: 63-8=55 Exploring Operation: 63+8=71, Resulting Numbers: [42, 71] Generated Node #0,4,3: 94:[42, 71] Operation: 63+8=71 Exploring Operation: 42+8=50, Resulting Numbers: [63, 50] Generated Node #0,4,4: 94:[63, 50] Operation: 42+8=50 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[42, 55], Operations: ['40-32=8', '63-8=55'] Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 42*55=2310, Resulting Numbers: [2310] 2310,94 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[8, 105], Operations: ['40-32=8', '42+63=105'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 8*105=840, Resulting Numbers: [840] 840,94 unequal: No Solution Exploring Operation: 8+105=113, Resulting Numbers: [113] 113,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 94:[63, 50], Operations: ['40-32=8', '42+8=50'] Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,94 unequal: No Solution Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[8, 21], Operations: ['40-32=8', '63-42=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,94 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[42, 71], Operations: ['40-32=8', '63+8=71'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 42*71=2982, Resulting Numbers: [2982] 2982,94 unequal: No Solution Exploring Operation: 42+71=113, Resulting Numbers: [113] 113,94 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: 94:[42, 40, 31], Operations: ['63-32=31'] Exploring Operation: 42-31=11, Resulting Numbers: [40, 11] Generated Node #0,2,0: 94:[40, 11] Operation: 42-31=11 Exploring Operation: 40-31=9, Resulting Numbers: [42, 9] Generated Node #0,2,1: 94:[42, 9] Operation: 40-31=9 Exploring Operation: 42+31=73, Resulting Numbers: [40, 73] Generated Node #0,2,2: 94:[40, 73] Operation: 42+31=73 Exploring Operation: 42+40=82, Resulting Numbers: [31, 82] Generated Node #0,2,3: 94:[31, 82] Operation: 42+40=82 Exploring Operation: 42-40=2, Resulting Numbers: [31, 2] Generated Node #0,2,4: 94:[31, 2] Operation: 42-40=2 Moving to Node #0,1 Current State: 94:[42, 32, 103], Operations: ['63+40=103'] Exploring Operation: 32+103=135, Resulting Numbers: [42, 135] Generated Node #0,1,0: 94:[42, 135] Operation: 32+103=135 Exploring Operation: 42-32=10, Resulting Numbers: [103, 10] Generated Node #0,1,1: 94:[103, 10] Operation: 42-32=10 Exploring Operation: 103-32=71, Resulting Numbers: [42, 71] Generated Node #0,1,2: 94:[42, 71] Operation: 103-32=71 Exploring Operation: 103-42=61, Resulting Numbers: [32, 61] Generated Node #0,1,3: 94:[32, 61] Operation: 103-42=61 Exploring Operation: 42+32=74, Resulting Numbers: [103, 74] Generated Node #0,1,4: 94:[103, 74] Operation: 42+32=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[103, 10], Operations: ['63+40=103', '42-32=10'] Exploring Operation: 103+10=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 103-10=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 103*10=1030, Resulting Numbers: [1030] 1030,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[42, 71], Operations: ['63+40=103', '103-32=71'] Exploring Operation: 42+71=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 42*71=2982, Resulting Numbers: [2982] 2982,94 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[32, 61], Operations: ['63+40=103', '103-42=61'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 94:[103, 74], Operations: ['63+40=103', '42+32=74'] Exploring Operation: 103+74=177, Resulting Numbers: [177] 177,94 unequal: No Solution Exploring Operation: 103*74=7622, Resulting Numbers: [7622] 7622,94 unequal: No Solution Exploring Operation: 103-74=29, Resulting Numbers: [29] 29,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[42, 135], Operations: ['63+40=103', '32+103=135'] Exploring Operation: 135-42=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 42*135=5670, Resulting Numbers: [5670] 5670,94 unequal: No Solution Exploring Operation: 42+135=177, Resulting Numbers: [177] 177,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[63, 40, 10], Operations: ['42-32=10'] Exploring Operation: 63+10=73, Resulting Numbers: [40, 73] Generated Node #0,0,0: 94:[40, 73] Operation: 63+10=73 Exploring Operation: 40+10=50, Resulting Numbers: [63, 50] Generated Node #0,0,1: 94:[63, 50] Operation: 40+10=50 Exploring Operation: 63+40=103, Resulting Numbers: [10, 103] Generated Node #0,0,2: 94:[10, 103] Operation: 63+40=103 Exploring Operation: 63-10=53, Resulting Numbers: [40, 53] Generated Node #0,0,3: 94:[40, 53] Operation: 63-10=53 Exploring Operation: 40/10=4, Resulting Numbers: [63, 4] Generated Node #0,0,4: 94:[63, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[40, 53], Operations: ['42-32=10', '63-10=53'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[10, 103], Operations: ['42-32=10', '63+40=103'] Exploring Operation: 103-10=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 10+103=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 10*103=1030, Resulting Numbers: [1030] 1030,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[63, 4], Operations: ['42-32=10', '40/10=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,94 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[63, 50], Operations: ['42-32=10', '40+10=50'] Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[40, 73], Operations: ['42-32=10', '63+10=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 94:[95, 2], Operations: ['63+32=95', '42-40=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[42, 9], Operations: ['63-32=31', '40-31=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[95, 82], Operations: ['63+32=95', '42+40=82'] Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 95+82=177, Resulting Numbers: [177] 177,94 unequal: No Solution Exploring Operation: 95*82=7790, Resulting Numbers: [7790] 7790,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[40, 53], Operations: ['63+32=95', '95-42=53'] Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,94 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[42, 55], Operations: ['63+32=95', '95-40=55'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 42*55=2310, Resulting Numbers: [2310] 2310,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[40, 11], Operations: ['63-32=31', '42-31=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[31, 2], Operations: ['63-32=31', '42-40=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[40, 73], Operations: ['63-32=31', '42+31=73'] Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,94 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[31, 82], Operations: ['63-32=31', '42+40=82'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 31+82=113, Resulting Numbers: [113] 113,94 unequal: No Solution Exploring Operation: 31*82=2542, Resulting Numbers: [2542] 2542,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[42, 135], Operations: ['63+32=95', '40+95=135'] Exploring Operation: 135-42=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 42*135=5670, Resulting Numbers: [5670] 5670,94 unequal: No Solution Exploring Operation: 42+135=177, Resulting Numbers: [177] 177,94 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 6, 61, 34, 3 ]
36
[ "6+61=67", "34-3=31", "67-31=36" ]
Current State: 36:[6, 61, 34, 3], Operations: [] Exploring Operation: 6+61=67, Resulting Numbers: [34, 3, 67] Generated Node #2: [34, 3, 67] from Operation: 6+61=67 Current State: 36:[34, 3, 67], Operations: ['6+61=67'] Exploring Operation: 34-3=31, Resulting Numbers: [67, 31] Generated Node #3: [67, 31] from Operation: 34-3=31 Current State: 36:[67, 31], Operations: ['6+61=67', '34-3=31'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[6, 61, 34, 3], Operations: [] Exploring Operation: 61-34=27, Resulting Numbers: [6, 3, 27] Generated Node #0,0: 36:[6, 3, 27] Operation: 61-34=27 Exploring Operation: 61-6=55, Resulting Numbers: [34, 3, 55] Generated Node #0,1: 36:[34, 3, 55] Operation: 61-6=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[6, 3, 27], Operations: ['61-34=27'] Exploring Operation: 6+27=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 36:[3, 33] Operation: 6+27=33 Exploring Operation: 27/3=9, Resulting Numbers: [6, 9] Generated Node #0,0,1: 36:[6, 9] Operation: 27/3=9 Moving to Node #0,0,1 Current State: 36:[6, 9], Operations: ['61-34=27', '27/3=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[3, 33], Operations: ['61-34=27', '6+27=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[6, 61, 34, 3], Operations: [] Exploring Operation: 61-34=27, Resulting Numbers: [6, 3, 27] Generated Node #0,0: 36:[6, 3, 27] Operation: 61-34=27 Moving to Node #0,0 Current State: 36:[6, 3, 27], Operations: ['61-34=27'] Exploring Operation: 6+27=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 36:[3, 33] Operation: 6+27=33 Moving to Node #0,0,0 Current State: 36:[3, 33], Operations: ['61-34=27', '6+27=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 94, 37, 47, 35 ]
39
[ "94*37=3478", "3478/47=74", "74-35=39" ]
Current State: 39:[94, 37, 47, 35], Operations: [] Exploring Operation: 94*37=3478, Resulting Numbers: [47, 35, 3478] Generated Node #2: [47, 35, 3478] from Operation: 94*37=3478 Current State: 39:[47, 35, 3478], Operations: ['94*37=3478'] Exploring Operation: 3478/47=74, Resulting Numbers: [35, 74] Generated Node #3: [35, 74] from Operation: 3478/47=74 Current State: 39:[35, 74], Operations: ['94*37=3478', '3478/47=74'] Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[94, 37, 47, 35], Operations: [] Exploring Operation: 94-35=59, Resulting Numbers: [37, 47, 59] Generated Node #0,0: 39:[37, 47, 59] Operation: 94-35=59 Exploring Operation: 94/47=2, Resulting Numbers: [37, 35, 2] Generated Node #0,1: 39:[37, 35, 2] Operation: 94/47=2 Exploring Operation: 94-37=57, Resulting Numbers: [47, 35, 57] Generated Node #0,2: 39:[47, 35, 57] Operation: 94-37=57 Exploring Operation: 94-47=47, Resulting Numbers: [37, 35, 47] Generated Node #0,3: 39:[37, 35, 47] Operation: 94-47=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[37, 35, 2], Operations: ['94/47=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35, 35] Generated Node #0,1,0: 39:[35, 35] Operation: 37-2=35 Exploring Operation: 37-35=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 39:[2, 2] Operation: 37-35=2 Exploring Operation: 37+2=39, Resulting Numbers: [35, 39] Generated Node #0,1,2: 39:[35, 39] Operation: 37+2=39 Exploring Operation: 35+2=37, Resulting Numbers: [37, 37] Generated Node #0,1,3: 39:[37, 37] Operation: 35+2=37 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[2, 2], Operations: ['94/47=2', '37-35=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[35, 39], Operations: ['94/47=2', '37+2=39'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,39 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 39:[37, 37], Operations: ['94/47=2', '35+2=37'] Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 37*37=1369, Resulting Numbers: [1369] 1369,39 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[35, 35], Operations: ['94/47=2', '37-2=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,39 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,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,3 Current State: 39:[37, 35, 47], Operations: ['94-47=47'] Exploring Operation: 47-37=10, Resulting Numbers: [35, 10] Generated Node #0,3,0: 39:[35, 10] Operation: 47-37=10 Exploring Operation: 47-35=12, Resulting Numbers: [37, 12] Generated Node #0,3,1: 39:[37, 12] Operation: 47-35=12 Exploring Operation: 37-35=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 39:[47, 2] Operation: 37-35=2 Exploring Operation: 37+35=72, Resulting Numbers: [47, 72] Generated Node #0,3,3: 39:[47, 72] Operation: 37+35=72 Moving to Node #0,3,1 Current State: 39:[37, 12], Operations: ['94-47=47', '47-35=12'] Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,39 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[35, 10], Operations: ['94-47=47', '47-37=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,39 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[47, 2], Operations: ['94-47=47', '37-35=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,39 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[47, 72], Operations: ['94-47=47', '37+35=72'] Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,39 unequal: No Solution Exploring Operation: 47*72=3384, Resulting Numbers: [3384] 3384,39 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[37, 47, 59], Operations: ['94-35=59'] Exploring Operation: 59-37=22, Resulting Numbers: [47, 22] Generated Node #0,0,0: 39:[47, 22] Operation: 59-37=22 Exploring Operation: 47-37=10, Resulting Numbers: [59, 10] Generated Node #0,0,1: 39:[59, 10] Operation: 47-37=10 Exploring Operation: 59-47=12, Resulting Numbers: [37, 12] Generated Node #0,0,2: 39:[37, 12] Operation: 59-47=12 Exploring Operation: 37+47=84, Resulting Numbers: [59, 84] Generated Node #0,0,3: 39:[59, 84] Operation: 37+47=84 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[37, 12], Operations: ['94-35=59', '59-47=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,39 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[47, 22], Operations: ['94-35=59', '59-37=22'] Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,39 unequal: No Solution Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[59, 10], Operations: ['94-35=59', '47-37=10'] Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,39 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 39:[59, 84], Operations: ['94-35=59', '37+47=84'] Exploring Operation: 59*84=4956, Resulting Numbers: [4956] 4956,39 unequal: No Solution Exploring Operation: 59+84=143, Resulting Numbers: [143] 143,39 unequal: No Solution Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,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:[47, 35, 57], Operations: ['94-37=57'] Exploring Operation: 47+35=82, Resulting Numbers: [57, 82] Generated Node #0,2,0: 39:[57, 82] Operation: 47+35=82 Exploring Operation: 47-35=12, Resulting Numbers: [57, 12] Generated Node #0,2,1: 39:[57, 12] Operation: 47-35=12 Exploring Operation: 57-35=22, Resulting Numbers: [47, 22] Generated Node #0,2,2: 39:[47, 22] Operation: 57-35=22 Exploring Operation: 57-47=10, Resulting Numbers: [35, 10] Generated Node #0,2,3: 39:[35, 10] Operation: 57-47=10 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 39:[35, 10], Operations: ['94-37=57', '57-47=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,39 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,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,2,2 Current State: 39:[47, 22], Operations: ['94-37=57', '57-35=22'] Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,39 unequal: No Solution Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,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,2,1 Current State: 39:[57, 12], Operations: ['94-37=57', '47-35=12'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,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,2,0 Current State: 39:[57, 82], Operations: ['94-37=57', '47+35=82'] Exploring Operation: 57*82=4674, Resulting Numbers: [4674] 4674,39 unequal: No Solution Exploring Operation: 57+82=139, Resulting Numbers: [139] 139,39 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,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_4
mult_heuristic
[ 53, 3, 32, 35 ]
26
[ "53-35=18", "18/3=6", "32-6=26" ]
Current State: 26:[53, 3, 32, 35], Operations: [] Exploring Operation: 53-35=18, Resulting Numbers: [3, 32, 18] Generated Node #2: [3, 32, 18] from Operation: 53-35=18 Current State: 26:[3, 32, 18], Operations: ['53-35=18'] Exploring Operation: 18/3=6, Resulting Numbers: [32, 6] Generated Node #3: [32, 6] from Operation: 18/3=6 Current State: 26:[32, 6], Operations: ['53-35=18', '18/3=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[53, 3, 32, 35], Operations: [] Exploring Operation: 53-35=18, Resulting Numbers: [3, 32, 18] Generated Node #0,0: 26:[3, 32, 18] Operation: 53-35=18 Exploring Operation: 53-32=21, Resulting Numbers: [3, 35, 21] Generated Node #0,1: 26:[3, 35, 21] Operation: 53-32=21 Exploring Operation: 35-32=3, Resulting Numbers: [53, 3, 3] Generated Node #0,2: 26:[53, 3, 3] Operation: 35-32=3 Moving to Node #0,0 Current State: 26:[3, 32, 18], Operations: ['53-35=18'] Exploring Operation: 32-18=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 26:[3, 14] Operation: 32-18=14 Exploring Operation: 32-3=29, Resulting Numbers: [18, 29] Generated Node #0,0,1: 26:[18, 29] Operation: 32-3=29 Exploring Operation: 18-3=15, Resulting Numbers: [32, 15] Generated Node #0,0,2: 26:[32, 15] Operation: 18-3=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[3, 14], Operations: ['53-35=18', '32-18=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,26 unequal: No Solution No 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: 26:[18, 29], Operations: ['53-35=18', '32-3=29'] Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,26 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,26 unequal: No Solution No 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: 26:[32, 15], Operations: ['53-35=18', '18-3=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,26 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,26 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: 26:[3, 35, 21], Operations: ['53-32=21'] Exploring Operation: 35-3=32, Resulting Numbers: [21, 32] Generated Node #0,1,0: 26:[21, 32] Operation: 35-3=32 Exploring Operation: 35-21=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 26:[3, 14] Operation: 35-21=14 Exploring Operation: 3+21=24, Resulting Numbers: [35, 24] Generated Node #0,1,2: 26:[35, 24] Operation: 3+21=24 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[3, 14], Operations: ['53-32=21', '35-21=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,26 unequal: No Solution No solution 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: 26:[21, 32], Operations: ['53-32=21', '35-3=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,26 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,26 unequal: No Solution No solution 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: 26:[35, 24], Operations: ['53-32=21', '3+21=24'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,26 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,26 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: 26:[53, 3, 3], Operations: ['35-32=3'] Exploring Operation: 53-3=50, Resulting Numbers: [3, 50] Generated Node #0,2,0: 26:[3, 50] Operation: 53-3=50 Exploring Operation: 3/3=1, Resulting Numbers: [53, 1] Generated Node #0,2,1: 26:[53, 1] Operation: 3/3=1 Exploring Operation: 53-3=50, Resulting Numbers: [3, 50] Generated Node #0,2,2: 26:[3, 50] Operation: 53-3=50 Moving to Node #0,2,0 Current State: 26:[3, 50], Operations: ['35-32=3', '53-3=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[3, 50], Operations: ['35-32=3', '53-3=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[53, 1], Operations: ['35-32=3', '3/3=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,26 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 92, 32, 46, 65 ]
41
[ "92-32=60", "65-46=19", "60-19=41" ]
Current State: 41:[92, 32, 46, 65], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [46, 65, 60] Generated Node #2: [46, 65, 60] from Operation: 92-32=60 Current State: 41:[46, 65, 60], Operations: ['92-32=60'] Exploring Operation: 65-46=19, Resulting Numbers: [60, 19] Generated Node #3: [60, 19] from Operation: 65-46=19 Current State: 41:[60, 19], Operations: ['92-32=60', '65-46=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[92, 32, 46, 65], Operations: [] Exploring Operation: 92-65=27, Resulting Numbers: [32, 46, 27] Generated Node #0,0: 41:[32, 46, 27] Operation: 92-65=27 Exploring Operation: 92-32=60, Resulting Numbers: [46, 65, 60] Generated Node #0,1: 41:[46, 65, 60] Operation: 92-32=60 Exploring Operation: 92-46=46, Resulting Numbers: [32, 65, 46] Generated Node #0,2: 41:[32, 65, 46] Operation: 92-46=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[32, 46, 27], Operations: ['92-65=27'] Exploring Operation: 32+27=59, Resulting Numbers: [46, 59] Generated Node #0,0,0: 41:[46, 59] Operation: 32+27=59 Exploring Operation: 46-27=19, Resulting Numbers: [32, 19] Generated Node #0,0,1: 41:[32, 19] Operation: 46-27=19 Exploring Operation: 46-32=14, Resulting Numbers: [27, 14] Generated Node #0,0,2: 41:[27, 14] Operation: 46-32=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[46, 59], Operations: ['92-65=27', '32+27=59'] Exploring Operation: 46*59=2714, Resulting Numbers: [2714] 2714,41 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 46+59=105, Resulting Numbers: [105] 105,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[32, 19], Operations: ['92-65=27', '46-27=19'] Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,41 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[27, 14], Operations: ['92-65=27', '46-32=14'] Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,41 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[92, 32, 46, 65], Operations: [] Exploring Operation: 92-65=27, Resulting Numbers: [32, 46, 27] Generated Node #0,0: 41:[32, 46, 27] Operation: 92-65=27 Moving to Node #0,0 Current State: 41:[32, 46, 27], Operations: ['92-65=27'] Exploring Operation: 46-32=14, Resulting Numbers: [27, 14] Generated Node #0,0,2: 41:[27, 14] Operation: 46-32=14 Moving to Node #0,0,2 Current State: 41:[27, 14], Operations: ['92-65=27', '46-32=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 22, 26, 58, 69 ]
52
[ "22*26=572", "69-58=11", "572/11=52" ]
Current State: 52:[22, 26, 58, 69], Operations: [] Exploring Operation: 22*26=572, Resulting Numbers: [58, 69, 572] Generated Node #2: [58, 69, 572] from Operation: 22*26=572 Current State: 52:[58, 69, 572], Operations: ['22*26=572'] Exploring Operation: 69-58=11, Resulting Numbers: [572, 11] Generated Node #3: [572, 11] from Operation: 69-58=11 Current State: 52:[572, 11], Operations: ['22*26=572', '69-58=11'] Exploring Operation: 572/11=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[22, 26, 58, 69], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [22, 26, 11] Generated Node #0,0: 52:[22, 26, 11] Operation: 69-58=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[22, 26, 11], Operations: ['69-58=11'] Exploring Operation: 22/11=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 22/11=2 Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['69-58=11', '22/11=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[22, 26, 58, 69], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [22, 26, 11] Generated Node #0,0: 52:[22, 26, 11] Operation: 69-58=11 Moving to Node #0,0 Current State: 52:[22, 26, 11], Operations: ['69-58=11'] Exploring Operation: 22/11=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 22/11=2 Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['69-58=11', '22/11=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 53, 4, 30, 22 ]
89
[ "53-22=31", "4*30=120", "120-31=89" ]
Current State: 89:[53, 4, 30, 22], Operations: [] Exploring Operation: 53-22=31, Resulting Numbers: [4, 30, 31] Generated Node #2: [4, 30, 31] from Operation: 53-22=31 Current State: 89:[4, 30, 31], Operations: ['53-22=31'] Exploring Operation: 4*30=120, Resulting Numbers: [31, 120] Generated Node #3: [31, 120] from Operation: 4*30=120 Current State: 89:[31, 120], Operations: ['53-22=31', '4*30=120'] Exploring Operation: 120-31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[53, 4, 30, 22], Operations: [] Exploring Operation: 4*22=88, Resulting Numbers: [53, 30, 88] Generated Node #0,0: 89:[53, 30, 88] Operation: 4*22=88 Exploring Operation: 53+30=83, Resulting Numbers: [4, 22, 83] Generated Node #0,1: 89:[4, 22, 83] Operation: 53+30=83 Exploring Operation: 53+4=57, Resulting Numbers: [30, 22, 57] Generated Node #0,2: 89:[30, 22, 57] Operation: 53+4=57 Exploring Operation: 4*30=120, Resulting Numbers: [53, 22, 120] Generated Node #0,3: 89:[53, 22, 120] Operation: 4*30=120 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[53, 30, 88], Operations: ['4*22=88'] Exploring Operation: 53+30=83, Resulting Numbers: [88, 83] Generated Node #0,0,0: 89:[88, 83] Operation: 53+30=83 Exploring Operation: 88-30=58, Resulting Numbers: [53, 58] Generated Node #0,0,1: 89:[53, 58] Operation: 88-30=58 Exploring Operation: 53-30=23, Resulting Numbers: [88, 23] Generated Node #0,0,2: 89:[88, 23] Operation: 53-30=23 Exploring Operation: 30+88=118, Resulting Numbers: [53, 118] Generated Node #0,0,3: 89:[53, 118] Operation: 30+88=118 Moving to Node #0,0,0 Current State: 89:[88, 83], Operations: ['4*22=88', '53+30=83'] Exploring Operation: 88*83=7304, Resulting Numbers: [7304] 7304,89 unequal: No Solution Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 88+83=171, Resulting Numbers: [171] 171,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[53, 118], Operations: ['4*22=88', '30+88=118'] Exploring Operation: 53*118=6254, Resulting Numbers: [6254] 6254,89 unequal: No Solution Exploring Operation: 53+118=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 118-53=65, Resulting Numbers: [65] 65,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[88, 23], Operations: ['4*22=88', '53-30=23'] Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,89 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[53, 58], Operations: ['4*22=88', '88-30=58'] Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,89 unequal: No Solution Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[53, 22, 120], Operations: ['4*30=120'] Exploring Operation: 53-22=31, Resulting Numbers: [120, 31] Generated Node #0,3,0: 89:[120, 31] Operation: 53-22=31 Exploring Operation: 120-53=67, Resulting Numbers: [22, 67] Generated Node #0,3,1: 89:[22, 67] Operation: 120-53=67 Exploring Operation: 120-22=98, Resulting Numbers: [53, 98] Generated Node #0,3,2: 89:[53, 98] Operation: 120-22=98 Exploring Operation: 53+22=75, Resulting Numbers: [120, 75] Generated Node #0,3,3: 89:[120, 75] Operation: 53+22=75 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[53, 98], Operations: ['4*30=120', '120-22=98'] Exploring Operation: 53+98=151, Resulting Numbers: [151] 151,89 unequal: No Solution Exploring Operation: 98-53=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 53*98=5194, Resulting Numbers: [5194] 5194,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,3,3 Current State: 89:[120, 75], Operations: ['4*30=120', '53+22=75'] Exploring Operation: 120*75=9000, Resulting Numbers: [9000] 9000,89 unequal: No Solution Exploring Operation: 120+75=195, Resulting Numbers: [195] 195,89 unequal: No Solution Exploring Operation: 120-75=45, Resulting Numbers: [45] 45,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,3,0 Current State: 89:[120, 31], Operations: ['4*30=120', '53-22=31'] Exploring Operation: 120*31=3720, Resulting Numbers: [3720] 3720,89 unequal: No Solution Exploring Operation: 120-31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[53, 4, 30, 22], Operations: [] Exploring Operation: 4*30=120, Resulting Numbers: [53, 22, 120] Generated Node #0,3: 89:[53, 22, 120] Operation: 4*30=120 Moving to Node #0,3 Current State: 89:[53, 22, 120], Operations: ['4*30=120'] Exploring Operation: 53-22=31, Resulting Numbers: [120, 31] Generated Node #0,3,0: 89:[120, 31] Operation: 53-22=31 Moving to Node #0,3,0 Current State: 89:[120, 31], Operations: ['4*30=120', '53-22=31'] Exploring Operation: 120-31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 50, 84, 56, 2 ]
96
[ "56-50=6", "2*6=12", "84+12=96" ]
Current State: 96:[50, 84, 56, 2], Operations: [] Exploring Operation: 56-50=6, Resulting Numbers: [84, 2, 6] Generated Node #2: [84, 2, 6] from Operation: 56-50=6 Current State: 96:[84, 2, 6], Operations: ['56-50=6'] Exploring Operation: 2*6=12, Resulting Numbers: [84, 12] Generated Node #3: [84, 12] from Operation: 2*6=12 Current State: 96:[84, 12], Operations: ['56-50=6', '2*6=12'] Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[50, 84, 56, 2], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [50, 2, 28] Generated Node #0,0: 96:[50, 2, 28] Operation: 84-56=28 Exploring Operation: 84-50=34, Resulting Numbers: [56, 2, 34] Generated Node #0,1: 96:[56, 2, 34] Operation: 84-50=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[50, 2, 28], Operations: ['84-56=28'] Exploring Operation: 50-2=48, Resulting Numbers: [28, 48] Generated Node #0,0,0: 96:[28, 48] Operation: 50-2=48 Exploring Operation: 50-28=22, Resulting Numbers: [2, 22] Generated Node #0,0,1: 96:[2, 22] Operation: 50-28=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[2, 22], Operations: ['84-56=28', '50-28=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[28, 48], Operations: ['84-56=28', '50-2=48'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[56, 2, 34], Operations: ['84-50=34'] Exploring Operation: 56-34=22, Resulting Numbers: [2, 22] Generated Node #0,1,0: 96:[2, 22] Operation: 56-34=22 Exploring Operation: 56/2=28, Resulting Numbers: [34, 28] Generated Node #0,1,1: 96:[34, 28] Operation: 56/2=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[2, 22], Operations: ['84-50=34', '56-34=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[34, 28], Operations: ['84-50=34', '56/2=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 76, 91, 9, 37 ]
70
[ "91-37=54", "54/9=6", "76-6=70" ]
Current State: 70:[76, 91, 9, 37], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [76, 9, 54] Generated Node #2: [76, 9, 54] from Operation: 91-37=54 Current State: 70:[76, 9, 54], Operations: ['91-37=54'] Exploring Operation: 54/9=6, Resulting Numbers: [76, 6] Generated Node #3: [76, 6] from Operation: 54/9=6 Current State: 70:[76, 6], Operations: ['91-37=54', '54/9=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[76, 91, 9, 37], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [76, 9, 54] Generated Node #0,0: 70:[76, 9, 54] Operation: 91-37=54 Exploring Operation: 91-76=15, Resulting Numbers: [9, 37, 15] Generated Node #0,1: 70:[9, 37, 15] Operation: 91-76=15 Exploring Operation: 91-9=82, Resulting Numbers: [76, 37, 82] Generated Node #0,2: 70:[76, 37, 82] Operation: 91-9=82 Exploring Operation: 76-9=67, Resulting Numbers: [91, 37, 67] Generated Node #0,3: 70:[91, 37, 67] Operation: 76-9=67 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[9, 37, 15], Operations: ['91-76=15'] Exploring Operation: 37-15=22, Resulting Numbers: [9, 22] Generated Node #0,1,0: 70:[9, 22] Operation: 37-15=22 Exploring Operation: 37-9=28, Resulting Numbers: [15, 28] Generated Node #0,1,1: 70:[15, 28] Operation: 37-9=28 Exploring Operation: 9+37=46, Resulting Numbers: [15, 46] Generated Node #0,1,2: 70:[15, 46] Operation: 9+37=46 Exploring Operation: 15-9=6, Resulting Numbers: [37, 6] Generated Node #0,1,3: 70:[37, 6] Operation: 15-9=6 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 70:[37, 6], Operations: ['91-76=15', '15-9=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[15, 28], Operations: ['91-76=15', '37-9=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,70 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[9, 22], Operations: ['91-76=15', '37-15=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[15, 46], Operations: ['91-76=15', '9+37=46'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,70 unequal: No Solution Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[76, 37, 82], Operations: ['91-9=82'] Exploring Operation: 82-37=45, Resulting Numbers: [76, 45] Generated Node #0,2,0: 70:[76, 45] Operation: 82-37=45 Exploring Operation: 76+37=113, Resulting Numbers: [82, 113] Generated Node #0,2,1: 70:[82, 113] Operation: 76+37=113 Exploring Operation: 82-76=6, Resulting Numbers: [37, 6] Generated Node #0,2,2: 70:[37, 6] Operation: 82-76=6 Exploring Operation: 76-37=39, Resulting Numbers: [82, 39] Generated Node #0,2,3: 70:[82, 39] Operation: 76-37=39 Moving to Node #0,2,2 Current State: 70:[37, 6], Operations: ['91-9=82', '82-76=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[82, 39], Operations: ['91-9=82', '76-37=39'] Exploring Operation: 82*39=3198, Resulting Numbers: [3198] 3198,70 unequal: No Solution Exploring Operation: 82+39=121, Resulting Numbers: [121] 121,70 unequal: No Solution Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[76, 45], Operations: ['91-9=82', '82-37=45'] Exploring Operation: 76+45=121, Resulting Numbers: [121] 121,70 unequal: No Solution Exploring Operation: 76*45=3420, Resulting Numbers: [3420] 3420,70 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[82, 113], Operations: ['91-9=82', '76+37=113'] Exploring Operation: 113-82=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 82*113=9266, Resulting Numbers: [9266] 9266,70 unequal: No Solution Exploring Operation: 82+113=195, Resulting Numbers: [195] 195,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[76, 9, 54], Operations: ['91-37=54'] Exploring Operation: 76-54=22, Resulting Numbers: [9, 22] Generated Node #0,0,0: 70:[9, 22] Operation: 76-54=22 Exploring Operation: 54-9=45, Resulting Numbers: [76, 45] Generated Node #0,0,1: 70:[76, 45] Operation: 54-9=45 Exploring Operation: 9+54=63, Resulting Numbers: [76, 63] Generated Node #0,0,2: 70:[76, 63] Operation: 9+54=63 Exploring Operation: 54/9=6, Resulting Numbers: [76, 6] Generated Node #0,0,3: 70:[76, 6] Operation: 54/9=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[76, 6], Operations: ['91-37=54', '54/9=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[76, 91, 9, 37], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [76, 9, 54] Generated Node #0,0: 70:[76, 9, 54] Operation: 91-37=54 Moving to Node #0,0 Current State: 70:[76, 9, 54], Operations: ['91-37=54'] Exploring Operation: 54/9=6, Resulting Numbers: [76, 6] Generated Node #0,0,3: 70:[76, 6] Operation: 54/9=6 Moving to Node #0,0,3 Current State: 70:[76, 6], Operations: ['91-37=54', '54/9=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_4
mult_heuristic
[ 39, 59, 26, 52 ]
61
[ "52-39=13", "26/13=2", "59+2=61" ]
Current State: 61:[39, 59, 26, 52], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [59, 26, 13] Generated Node #2: [59, 26, 13] from Operation: 52-39=13 Current State: 61:[59, 26, 13], Operations: ['52-39=13'] Exploring Operation: 26/13=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 26/13=2 Current State: 61:[59, 2], Operations: ['52-39=13', '26/13=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[39, 59, 26, 52], Operations: [] Exploring Operation: 26+52=78, Resulting Numbers: [39, 59, 78] Generated Node #0,0: 61:[39, 59, 78] Operation: 26+52=78 Exploring Operation: 39+26=65, Resulting Numbers: [59, 52, 65] Generated Node #0,1: 61:[59, 52, 65] Operation: 39+26=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[59, 52, 65], Operations: ['39+26=65'] Exploring Operation: 65-52=13, Resulting Numbers: [59, 13] Generated Node #0,1,0: 61:[59, 13] Operation: 65-52=13 Exploring Operation: 59+52=111, Resulting Numbers: [65, 111] Generated Node #0,1,1: 61:[65, 111] Operation: 59+52=111 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[59, 13], Operations: ['39+26=65', '65-52=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,61 unequal: No Solution No 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: 61:[65, 111], Operations: ['39+26=65', '59+52=111'] Exploring Operation: 65+111=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 111-65=46, Resulting Numbers: [46] 46,61 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: 61:[39, 59, 78], Operations: ['26+52=78'] Exploring Operation: 78-39=39, Resulting Numbers: [59, 39] Generated Node #0,0,0: 61:[59, 39] Operation: 78-39=39 Exploring Operation: 39+59=98, Resulting Numbers: [78, 98] Generated Node #0,0,1: 61:[78, 98] Operation: 39+59=98 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[59, 39], Operations: ['26+52=78', '78-39=39'] Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,61 unequal: No Solution No 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: 61:[78, 98], Operations: ['26+52=78', '39+59=98'] Exploring Operation: 98-78=20, Resulting Numbers: [20] 20,61 unequal: No Solution Exploring Operation: 78+98=176, Resulting Numbers: [176] 176,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 64, 19, 74 ]
63
[ "64-34=30", "19+74=93", "93-30=63" ]
Current State: 63:[34, 64, 19, 74], Operations: [] Exploring Operation: 64-34=30, Resulting Numbers: [19, 74, 30] Generated Node #2: [19, 74, 30] from Operation: 64-34=30 Current State: 63:[19, 74, 30], Operations: ['64-34=30'] Exploring Operation: 19+74=93, Resulting Numbers: [30, 93] Generated Node #3: [30, 93] from Operation: 19+74=93 Current State: 63:[30, 93], Operations: ['64-34=30', '19+74=93'] Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[34, 64, 19, 74], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [34, 19, 10] Generated Node #0,0: 63:[34, 19, 10] Operation: 74-64=10 Moving to Node #0,0 Current State: 63:[34, 19, 10], Operations: ['74-64=10'] Exploring Operation: 34-10=24, Resulting Numbers: [19, 24] Generated Node #0,0,0: 63:[19, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[19, 24], Operations: ['74-64=10', '34-10=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,63 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
[ 46, 75, 8, 35 ]
14
[ "75-46=29", "8+35=43", "43-29=14" ]
Current State: 14:[46, 75, 8, 35], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [8, 35, 29] Generated Node #2: [8, 35, 29] from Operation: 75-46=29 Current State: 14:[8, 35, 29], Operations: ['75-46=29'] Exploring Operation: 8+35=43, Resulting Numbers: [29, 43] Generated Node #3: [29, 43] from Operation: 8+35=43 Current State: 14:[29, 43], Operations: ['75-46=29', '8+35=43'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[46, 75, 8, 35], Operations: [] Exploring Operation: 75-35=40, Resulting Numbers: [46, 8, 40] Generated Node #0,0: 14:[46, 8, 40] Operation: 75-35=40 Exploring Operation: 75-46=29, Resulting Numbers: [8, 35, 29] Generated Node #0,1: 14:[8, 35, 29] Operation: 75-46=29 Moving to Node #0,1 Current State: 14:[8, 35, 29], Operations: ['75-46=29'] Exploring Operation: 35-29=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 14:[8, 6] Operation: 35-29=6 Exploring Operation: 35-8=27, Resulting Numbers: [29, 27] Generated Node #0,1,1: 14:[29, 27] Operation: 35-8=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[8, 6], Operations: ['75-46=29', '35-29=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[46, 75, 8, 35], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [8, 35, 29] Generated Node #0,1: 14:[8, 35, 29] Operation: 75-46=29 Moving to Node #0,1 Current State: 14:[8, 35, 29], Operations: ['75-46=29'] Exploring Operation: 35-29=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 14:[8, 6] Operation: 35-29=6 Moving to Node #0,1,0 Current State: 14:[8, 6], Operations: ['75-46=29', '35-29=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 84, 35, 35, 39 ]
25
[ "84-35=49", "35+39=74", "74-49=25" ]
Current State: 25:[84, 35, 35, 39], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [39, 49] Generated Node #2: [39, 49] from Operation: 84-35=49 Current State: 25:[39, 49], Operations: ['84-35=49'] Exploring Operation: 35+39=74, Resulting Numbers: [49, 74] Generated Node #3: [49, 74] from Operation: 35+39=74 Current State: 25:[49, 74], Operations: ['84-35=49', '35+39=74'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[84, 35, 35, 39], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [84, 35, 4] Generated Node #0,0: 25:[84, 35, 4] Operation: 39-35=4 Exploring Operation: 84-35=49, Resulting Numbers: [35, 39, 49] Generated Node #0,1: 25:[35, 39, 49] Operation: 84-35=49 Exploring Operation: 39-35=4, Resulting Numbers: [84, 35, 4] Generated Node #0,2: 25:[84, 35, 4] Operation: 39-35=4 Exploring Operation: 84-35=49, Resulting Numbers: [35, 39, 49] Generated Node #0,3: 25:[35, 39, 49] Operation: 84-35=49 Exploring Operation: 84-39=45, Resulting Numbers: [35, 35, 45] Generated Node #0,4: 25:[35, 35, 45] Operation: 84-39=45 Moving to Node #0,4 Current State: 25:[35, 35, 45], Operations: ['84-39=45'] Exploring Operation: 35/35=1, Resulting Numbers: [45, 1] Generated Node #0,4,0: 25:[45, 1] Operation: 35/35=1 Exploring Operation: 45-35=10, Resulting Numbers: [35, 10] Generated Node #0,4,1: 25:[35, 10] Operation: 45-35=10 Exploring Operation: 35-35=0, Resulting Numbers: [45, 0] Generated Node #0,4,2: 25:[45, 0] Operation: 35-35=0 Exploring Operation: 35+35=70, Resulting Numbers: [45, 70] Generated Node #0,4,3: 25:[45, 70] Operation: 35+35=70 Exploring Operation: 45-35=10, Resulting Numbers: [35, 10] Generated Node #0,4,4: 25:[35, 10] Operation: 45-35=10 Moving to Node #0,3 Current State: 25:[35, 39, 49], Operations: ['84-35=49'] Exploring Operation: 49-39=10, Resulting Numbers: [35, 10] Generated Node #0,3,0: 25:[35, 10] Operation: 49-39=10 Exploring Operation: 49-35=14, Resulting Numbers: [39, 14] Generated Node #0,3,1: 25:[39, 14] Operation: 49-35=14 Exploring Operation: 35+39=74, Resulting Numbers: [49, 74] Generated Node #0,3,2: 25:[49, 74] Operation: 35+39=74 Exploring Operation: 39-35=4, Resulting Numbers: [49, 4] Generated Node #0,3,3: 25:[49, 4] Operation: 39-35=4 Exploring Operation: 35+49=84, Resulting Numbers: [39, 84] Generated Node #0,3,4: 25:[39, 84] Operation: 35+49=84 Moving to Node #0,1 Current State: 25:[35, 39, 49], Operations: ['84-35=49'] Exploring Operation: 49-39=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 25:[35, 10] Operation: 49-39=10 Exploring Operation: 49-35=14, Resulting Numbers: [39, 14] Generated Node #0,1,1: 25:[39, 14] Operation: 49-35=14 Exploring Operation: 39-35=4, Resulting Numbers: [49, 4] Generated Node #0,1,2: 25:[49, 4] Operation: 39-35=4 Exploring Operation: 35+39=74, Resulting Numbers: [49, 74] Generated Node #0,1,3: 25:[49, 74] Operation: 35+39=74 Exploring Operation: 35+49=84, Resulting Numbers: [39, 84] Generated Node #0,1,4: 25:[39, 84] Operation: 35+49=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[35, 10], Operations: ['84-35=49', '49-39=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[84, 35, 35, 39], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [35, 39, 49] Generated Node #0,1: 25:[35, 39, 49] Operation: 84-35=49 Moving to Node #0,1 Current State: 25:[35, 39, 49], Operations: ['84-35=49'] Exploring Operation: 49-39=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 25:[35, 10] Operation: 49-39=10 Moving to Node #0,1,0 Current State: 25:[35, 10], Operations: ['84-35=49', '49-39=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 21, 70, 27, 75 ]
78
[ "75-70=5", "21*5=105", "105-27=78" ]
Current State: 78:[21, 70, 27, 75], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [21, 27, 5] Generated Node #2: [21, 27, 5] from Operation: 75-70=5 Current State: 78:[21, 27, 5], Operations: ['75-70=5'] Exploring Operation: 21*5=105, Resulting Numbers: [27, 105] Generated Node #3: [27, 105] from Operation: 21*5=105 Current State: 78:[27, 105], Operations: ['75-70=5', '21*5=105'] Exploring Operation: 105-27=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[21, 70, 27, 75], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [21, 27, 5] Generated Node #0,0: 78:[21, 27, 5] Operation: 75-70=5 Exploring Operation: 27-21=6, Resulting Numbers: [70, 75, 6] Generated Node #0,1: 78:[70, 75, 6] Operation: 27-21=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[21, 27, 5], Operations: ['75-70=5'] Exploring Operation: 21+5=26, Resulting Numbers: [27, 26] Generated Node #0,0,0: 78:[27, 26] Operation: 21+5=26 Exploring Operation: 27-21=6, Resulting Numbers: [5, 6] Generated Node #0,0,1: 78:[5, 6] Operation: 27-21=6 Moving to Node #0,0,0 Current State: 78:[27, 26], Operations: ['75-70=5', '21+5=26'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[5, 6], Operations: ['75-70=5', '27-21=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[70, 75, 6], Operations: ['27-21=6'] Exploring Operation: 75-70=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 78:[6, 5] Operation: 75-70=5 Exploring Operation: 70+6=76, Resulting Numbers: [75, 76] Generated Node #0,1,1: 78:[75, 76] Operation: 70+6=76 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[6, 5], Operations: ['27-21=6', '75-70=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,78 unequal: No Solution No 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: 78:[75, 76], Operations: ['27-21=6', '70+6=76'] Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,78 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
[ 69, 78, 52, 92 ]
46
[ "69*52=3588", "3588/78=46", "92-46=46" ]
Current State: 46:[69, 78, 52, 92], Operations: [] Exploring Operation: 69*52=3588, Resulting Numbers: [78, 92, 3588] Generated Node #2: [78, 92, 3588] from Operation: 69*52=3588 Current State: 46:[78, 92, 3588], Operations: ['69*52=3588'] Exploring Operation: 3588/78=46, Resulting Numbers: [92, 46] Generated Node #3: [92, 46] from Operation: 3588/78=46 Current State: 46:[92, 46], Operations: ['69*52=3588', '3588/78=46'] Exploring Operation: 92-46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[69, 78, 52, 92], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [78, 52, 23] Generated Node #0,0: 46:[78, 52, 23] Operation: 92-69=23 Exploring Operation: 78-69=9, Resulting Numbers: [52, 92, 9] Generated Node #0,1: 46:[52, 92, 9] Operation: 78-69=9 Exploring Operation: 92-78=14, Resulting Numbers: [69, 52, 14] Generated Node #0,2: 46:[69, 52, 14] Operation: 92-78=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[78, 52, 23], Operations: ['92-69=23'] Exploring Operation: 78-52=26, Resulting Numbers: [23, 26] Generated Node #0,0,0: 46:[23, 26] Operation: 78-52=26 Exploring Operation: 78-23=55, Resulting Numbers: [52, 55] Generated Node #0,0,1: 46:[52, 55] Operation: 78-23=55 Exploring Operation: 52-23=29, Resulting Numbers: [78, 29] Generated Node #0,0,2: 46:[78, 29] Operation: 52-23=29 Moving to Node #0,0,0 Current State: 46:[23, 26], Operations: ['92-69=23', '78-52=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,46 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[52, 55], Operations: ['92-69=23', '78-23=55'] Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[78, 29], Operations: ['92-69=23', '52-23=29'] Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,46 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,46 unequal: No Solution No 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: 46:[69, 52, 14], Operations: ['92-78=14'] Exploring Operation: 69-14=55, Resulting Numbers: [52, 55] Generated Node #0,2,0: 46:[52, 55] Operation: 69-14=55 Exploring Operation: 69-52=17, Resulting Numbers: [14, 17] Generated Node #0,2,1: 46:[14, 17] Operation: 69-52=17 Exploring Operation: 52-14=38, Resulting Numbers: [69, 38] Generated Node #0,2,2: 46:[69, 38] Operation: 52-14=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[52, 55], Operations: ['92-78=14', '69-14=55'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,46 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,46 unequal: No Solution No 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: 46:[14, 17], Operations: ['92-78=14', '69-52=17'] Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,46 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,46 unequal: No Solution No 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: 46:[69, 38], Operations: ['92-78=14', '52-14=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,46 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: 46:[52, 92, 9], Operations: ['78-69=9'] Exploring Operation: 52-9=43, Resulting Numbers: [92, 43] Generated Node #0,1,0: 46:[92, 43] Operation: 52-9=43 Exploring Operation: 92-9=83, Resulting Numbers: [52, 83] Generated Node #0,1,1: 46:[52, 83] Operation: 92-9=83 Exploring Operation: 92-52=40, Resulting Numbers: [9, 40] Generated Node #0,1,2: 46:[9, 40] Operation: 92-52=40 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 46:[9, 40], Operations: ['78-69=9', '92-52=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,46 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,46 unequal: No Solution No 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: 46:[52, 83], Operations: ['78-69=9', '92-9=83'] Exploring Operation: 52*83=4316, Resulting Numbers: [4316] 4316,46 unequal: No Solution Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,46 unequal: No Solution Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,46 unequal: No Solution No 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: 46:[92, 43], Operations: ['78-69=9', '52-9=43'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,46 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,46 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
[ 78, 26, 7, 51 ]
41
[ "78/26=3", "51-7=44", "44-3=41" ]
Current State: 41:[78, 26, 7, 51], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [7, 51, 3] Generated Node #2: [7, 51, 3] from Operation: 78/26=3 Current State: 41:[7, 51, 3], Operations: ['78/26=3'] Exploring Operation: 51-7=44, Resulting Numbers: [3, 44] Generated Node #3: [3, 44] from Operation: 51-7=44 Current State: 41:[3, 44], Operations: ['78/26=3', '51-7=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[78, 26, 7, 51], Operations: [] Exploring Operation: 26+7=33, Resulting Numbers: [78, 51, 33] Generated Node #0,0: 41:[78, 51, 33] Operation: 26+7=33 Exploring Operation: 78-7=71, Resulting Numbers: [26, 51, 71] Generated Node #0,1: 41:[26, 51, 71] Operation: 78-7=71 Exploring Operation: 78-26=52, Resulting Numbers: [7, 51, 52] Generated Node #0,2: 41:[7, 51, 52] Operation: 78-26=52 Moving to Node #0,0 Current State: 41:[78, 51, 33], Operations: ['26+7=33'] Exploring Operation: 78-33=45, Resulting Numbers: [51, 45] Generated Node #0,0,0: 41:[51, 45] Operation: 78-33=45 Exploring Operation: 78-51=27, Resulting Numbers: [33, 27] Generated Node #0,0,1: 41:[33, 27] Operation: 78-51=27 Exploring Operation: 51-33=18, Resulting Numbers: [78, 18] Generated Node #0,0,2: 41:[78, 18] Operation: 51-33=18 Moving to Node #0,1 Current State: 41:[26, 51, 71], Operations: ['78-7=71'] Exploring Operation: 51-26=25, Resulting Numbers: [71, 25] Generated Node #0,1,0: 41:[71, 25] Operation: 51-26=25 Exploring Operation: 71-51=20, Resulting Numbers: [26, 20] Generated Node #0,1,1: 41:[26, 20] Operation: 71-51=20 Exploring Operation: 71-26=45, Resulting Numbers: [51, 45] Generated Node #0,1,2: 41:[51, 45] Operation: 71-26=45 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[51, 45], Operations: ['78-7=71', '71-26=45'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 51*45=2295, Resulting Numbers: [2295] 2295,41 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[26, 20], Operations: ['78-7=71', '71-51=20'] Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,41 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[71, 25], Operations: ['78-7=71', '51-26=25'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,41 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 41:[7, 51, 52], Operations: ['78-26=52'] Exploring Operation: 52-7=45, Resulting Numbers: [51, 45] Generated Node #0,2,0: 41:[51, 45] Operation: 52-7=45 Exploring Operation: 51-7=44, Resulting Numbers: [52, 44] Generated Node #0,2,1: 41:[52, 44] Operation: 51-7=44 Exploring Operation: 7+51=58, Resulting Numbers: [52, 58] Generated Node #0,2,2: 41:[52, 58] Operation: 7+51=58 Moving to Node #0,0,0 Current State: 41:[51, 45], Operations: ['26+7=33', '78-33=45'] Exploring Operation: 51*45=2295, Resulting Numbers: [2295] 2295,41 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[51, 45], Operations: ['78-26=52', '52-7=45'] Exploring Operation: 51*45=2295, Resulting Numbers: [2295] 2295,41 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[52, 44], Operations: ['78-26=52', '51-7=44'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[33, 27], Operations: ['26+7=33', '78-51=27'] Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,41 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[52, 58], Operations: ['78-26=52', '7+51=58'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,41 unequal: No Solution Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[78, 18], Operations: ['26+7=33', '51-33=18'] Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,41 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,41 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 60, 60, 53, 2 ]
53
[ "60-60=0", "2*0=0", "53+0=53" ]
Current State: 53:[60, 60, 53, 2], Operations: [] Exploring Operation: 60-60=0, Resulting Numbers: [53, 2, 0] Generated Node #2: [53, 2, 0] from Operation: 60-60=0 Current State: 53:[53, 2, 0], Operations: ['60-60=0'] Exploring Operation: 2*0=0, Resulting Numbers: [53, 0] Generated Node #3: [53, 0] from Operation: 2*0=0 Current State: 53:[53, 0], Operations: ['60-60=0', '2*0=0'] Exploring Operation: 53+0=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[60, 60, 53, 2], Operations: [] Exploring Operation: 60-2=58, Resulting Numbers: [60, 53, 58] Generated Node #0,0: 53:[60, 53, 58] Operation: 60-2=58 Exploring Operation: 60-2=58, Resulting Numbers: [60, 53, 58] Generated Node #0,1: 53:[60, 53, 58] Operation: 60-2=58 Moving to Node #0,0 Current State: 53:[60, 53, 58], Operations: ['60-2=58'] Exploring Operation: 60-53=7, Resulting Numbers: [58, 7] Generated Node #0,0,0: 53:[58, 7] Operation: 60-53=7 Exploring Operation: 60-58=2, Resulting Numbers: [53, 2] Generated Node #0,0,1: 53:[53, 2] Operation: 60-58=2 Moving to Node #0,1 Current State: 53:[60, 53, 58], Operations: ['60-2=58'] Exploring Operation: 60-58=2, Resulting Numbers: [53, 2] Generated Node #0,1,0: 53:[53, 2] Operation: 60-58=2 Exploring Operation: 60-53=7, Resulting Numbers: [58, 7] Generated Node #0,1,1: 53:[58, 7] Operation: 60-53=7 Moving to Node #0,0,0 Current State: 53:[58, 7], Operations: ['60-2=58', '60-53=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[53, 2], Operations: ['60-2=58', '60-58=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[53, 2], Operations: ['60-2=58', '60-58=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,53 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[58, 7], Operations: ['60-2=58', '60-53=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,53 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 29, 84, 28, 69 ]
72
[ "29+84=113", "69-28=41", "113-41=72" ]
Current State: 72:[29, 84, 28, 69], Operations: [] Exploring Operation: 29+84=113, Resulting Numbers: [28, 69, 113] Generated Node #2: [28, 69, 113] from Operation: 29+84=113 Current State: 72:[28, 69, 113], Operations: ['29+84=113'] Exploring Operation: 69-28=41, Resulting Numbers: [113, 41] Generated Node #3: [113, 41] from Operation: 69-28=41 Current State: 72:[113, 41], Operations: ['29+84=113', '69-28=41'] Exploring Operation: 113-41=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[29, 84, 28, 69], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [29, 69, 3] Generated Node #0,0: 72:[29, 69, 3] Operation: 84/28=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[29, 69, 3], Operations: ['84/28=3'] Exploring Operation: 69-29=40, Resulting Numbers: [3, 40] Generated Node #0,0,0: 72:[3, 40] Operation: 69-29=40 Moving to Node #0,0,0 Current State: 72:[3, 40], Operations: ['84/28=3', '69-29=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,72 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
[ 36, 18, 46, 79 ]
51
[ "36-18=18", "79-46=33", "18+33=51" ]
Current State: 51:[36, 18, 46, 79], Operations: [] Exploring Operation: 36-18=18, Resulting Numbers: [46, 79, 18] Generated Node #2: [46, 79, 18] from Operation: 36-18=18 Current State: 51:[46, 79, 18], Operations: ['36-18=18'] Exploring Operation: 79-46=33, Resulting Numbers: [18, 33] Generated Node #3: [18, 33] from Operation: 79-46=33 Current State: 51:[18, 33], Operations: ['36-18=18', '79-46=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[36, 18, 46, 79], Operations: [] Exploring Operation: 79-46=33, Resulting Numbers: [36, 18, 33] Generated Node #0,0: 51:[36, 18, 33] Operation: 79-46=33 Exploring Operation: 79-18=61, Resulting Numbers: [36, 46, 61] Generated Node #0,1: 51:[36, 46, 61] Operation: 79-18=61 Exploring Operation: 79-36=43, Resulting Numbers: [18, 46, 43] Generated Node #0,2: 51:[18, 46, 43] Operation: 79-36=43 Exploring Operation: 36-18=18, Resulting Numbers: [46, 79, 18] Generated Node #0,3: 51:[46, 79, 18] Operation: 36-18=18 Moving to Node #0,2 Current State: 51:[18, 46, 43], Operations: ['79-36=43'] Exploring Operation: 43-18=25, Resulting Numbers: [46, 25] Generated Node #0,2,0: 51:[46, 25] Operation: 43-18=25 Exploring Operation: 46-43=3, Resulting Numbers: [18, 3] Generated Node #0,2,1: 51:[18, 3] Operation: 46-43=3 Exploring Operation: 18+43=61, Resulting Numbers: [46, 61] Generated Node #0,2,2: 51:[46, 61] Operation: 18+43=61 Exploring Operation: 46-18=28, Resulting Numbers: [43, 28] Generated Node #0,2,3: 51:[43, 28] Operation: 46-18=28 Moving to Node #0,1 Current State: 51:[36, 46, 61], Operations: ['79-18=61'] Exploring Operation: 46-36=10, Resulting Numbers: [61, 10] Generated Node #0,1,0: 51:[61, 10] Operation: 46-36=10 Exploring Operation: 61-36=25, Resulting Numbers: [46, 25] Generated Node #0,1,1: 51:[46, 25] Operation: 61-36=25 Exploring Operation: 61-46=15, Resulting Numbers: [36, 15] Generated Node #0,1,2: 51:[36, 15] Operation: 61-46=15 Exploring Operation: 36+46=82, Resulting Numbers: [61, 82] Generated Node #0,1,3: 51:[61, 82] Operation: 36+46=82 Moving to Node #0,0 Current State: 51:[36, 18, 33], Operations: ['79-46=33'] Exploring Operation: 36-33=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 51:[18, 3] Operation: 36-33=3 Exploring Operation: 36/18=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 51:[33, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [33, 18] Generated Node #0,0,2: 51:[33, 18] Operation: 36-18=18 Exploring Operation: 18+33=51, Resulting Numbers: [36, 51] Generated Node #0,0,3: 51:[36, 51] Operation: 18+33=51 Moving to Node #0,3 Current State: 51:[46, 79, 18], Operations: ['36-18=18'] Exploring Operation: 46-18=28, Resulting Numbers: [79, 28] Generated Node #0,3,0: 51:[79, 28] Operation: 46-18=28 Exploring Operation: 79-46=33, Resulting Numbers: [18, 33] Generated Node #0,3,1: 51:[18, 33] Operation: 79-46=33 Exploring Operation: 46+18=64, Resulting Numbers: [79, 64] Generated Node #0,3,2: 51:[79, 64] Operation: 46+18=64 Exploring Operation: 79-18=61, Resulting Numbers: [46, 61] Generated Node #0,3,3: 51:[46, 61] Operation: 79-18=61 Moving to Node #0,2,1 Current State: 51:[18, 3], Operations: ['79-36=43', '46-43=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[18, 3], Operations: ['79-46=33', '36-33=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[46, 25], Operations: ['79-18=61', '61-36=25'] Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[46, 25], Operations: ['79-36=43', '43-18=25'] Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,51 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[46, 61], Operations: ['79-36=43', '18+43=61'] Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,51 unequal: No Solution Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[46, 61], Operations: ['36-18=18', '79-18=61'] Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,51 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[36, 51], Operations: ['79-46=33', '18+33=51'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,51 unequal: No Solution Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[36, 15], Operations: ['79-18=61', '61-46=15'] Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[36, 18, 46, 79], Operations: [] Exploring Operation: 79-18=61, Resulting Numbers: [36, 46, 61] Generated Node #0,1: 51:[36, 46, 61] Operation: 79-18=61 Moving to Node #0,1 Current State: 51:[36, 46, 61], Operations: ['79-18=61'] Exploring Operation: 61-46=15, Resulting Numbers: [36, 15] Generated Node #0,1,2: 51:[36, 15] Operation: 61-46=15 Moving to Node #0,1,2 Current State: 51:[36, 15], Operations: ['79-18=61', '61-46=15'] Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.958333
hs_4
mult_heuristic
[ 21, 71, 46, 54 ]
58
[ "71-21=50", "54-46=8", "50+8=58" ]
Current State: 58:[21, 71, 46, 54], Operations: [] Exploring Operation: 71-21=50, Resulting Numbers: [46, 54, 50] Generated Node #2: [46, 54, 50] from Operation: 71-21=50 Current State: 58:[46, 54, 50], Operations: ['71-21=50'] Exploring Operation: 54-46=8, Resulting Numbers: [50, 8] Generated Node #3: [50, 8] from Operation: 54-46=8 Current State: 58:[50, 8], Operations: ['71-21=50', '54-46=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[21, 71, 46, 54], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [21, 54, 25] Generated Node #0,0: 58:[21, 54, 25] Operation: 71-46=25 Exploring Operation: 46-21=25, Resulting Numbers: [71, 54, 25] Generated Node #0,1: 58:[71, 54, 25] Operation: 46-21=25 Exploring Operation: 71-21=50, Resulting Numbers: [46, 54, 50] Generated Node #0,2: 58:[46, 54, 50] Operation: 71-21=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[21, 54, 25], Operations: ['71-46=25'] Exploring Operation: 54-21=33, Resulting Numbers: [25, 33] Generated Node #0,0,0: 58:[25, 33] Operation: 54-21=33 Exploring Operation: 25-21=4, Resulting Numbers: [54, 4] Generated Node #0,0,1: 58:[54, 4] Operation: 25-21=4 Exploring Operation: 54-25=29, Resulting Numbers: [21, 29] Generated Node #0,0,2: 58:[21, 29] Operation: 54-25=29 Moving to Node #0,0,1 Current State: 58:[54, 4], Operations: ['71-46=25', '25-21=4'] Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,58 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[21, 71, 46, 54], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [21, 54, 25] Generated Node #0,0: 58:[21, 54, 25] Operation: 71-46=25 Moving to Node #0,0 Current State: 58:[21, 54, 25], Operations: ['71-46=25'] Exploring Operation: 25-21=4, Resulting Numbers: [54, 4] Generated Node #0,0,1: 58:[54, 4] Operation: 25-21=4 Moving to Node #0,0,1 Current State: 58:[54, 4], Operations: ['71-46=25', '25-21=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 34, 4, 4, 76 ]
44
[ "34-4=30", "4*30=120", "120-76=44" ]
Current State: 44:[34, 4, 4, 76], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [76, 30] Generated Node #2: [76, 30] from Operation: 34-4=30 Current State: 44:[76, 30], Operations: ['34-4=30'] Exploring Operation: 4*30=120, Resulting Numbers: [76, 120] Generated Node #3: [76, 120] from Operation: 4*30=120 Current State: 44:[76, 120], Operations: ['34-4=30', '4*30=120'] Exploring Operation: 120-76=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[34, 4, 4, 76], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [34, 4, 19] Generated Node #0,0: 44:[34, 4, 19] Operation: 76/4=19 Exploring Operation: 76/4=19, Resulting Numbers: [34, 4, 19] Generated Node #0,1: 44:[34, 4, 19] Operation: 76/4=19 Exploring Operation: 76-34=42, Resulting Numbers: [4, 4, 42] Generated Node #0,2: 44:[4, 4, 42] Operation: 76-34=42 Moving to Node #0,2 Current State: 44:[4, 4, 42], Operations: ['76-34=42'] Exploring Operation: 4+42=46, Resulting Numbers: [4, 46] Generated Node #0,2,0: 44:[4, 46] Operation: 4+42=46 Exploring Operation: 4+42=46, Resulting Numbers: [4, 46] Generated Node #0,2,1: 44:[4, 46] Operation: 4+42=46 Exploring Operation: 4/4=1, Resulting Numbers: [42, 1] Generated Node #0,2,2: 44:[42, 1] Operation: 4/4=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[4, 46], Operations: ['76-34=42', '4+42=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,44 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[4, 46], Operations: ['76-34=42', '4+42=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,44 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[42, 1], Operations: ['76-34=42', '4/4=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 44:[34, 4, 19], Operations: ['76/4=19'] Exploring Operation: 34+19=53, Resulting Numbers: [4, 53] Generated Node #0,0,0: 44:[4, 53] Operation: 34+19=53 Exploring Operation: 34+4=38, Resulting Numbers: [19, 38] Generated Node #0,0,1: 44:[19, 38] Operation: 34+4=38 Exploring Operation: 34-19=15, Resulting Numbers: [4, 15] Generated Node #0,0,2: 44:[4, 15] Operation: 34-19=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[4, 15], Operations: ['76/4=19', '34-19=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[4, 53], Operations: ['76/4=19', '34+19=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[19, 38], Operations: ['76/4=19', '34+4=38'] Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,44 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: 44:[34, 4, 19], Operations: ['76/4=19'] Exploring Operation: 34+19=53, Resulting Numbers: [4, 53] Generated Node #0,1,0: 44:[4, 53] Operation: 34+19=53 Exploring Operation: 34+4=38, Resulting Numbers: [19, 38] Generated Node #0,1,1: 44:[19, 38] Operation: 34+4=38 Exploring Operation: 34-19=15, Resulting Numbers: [4, 15] Generated Node #0,1,2: 44:[4, 15] Operation: 34-19=15 Moving to Node #0,1,2 Current State: 44:[4, 15], Operations: ['76/4=19', '34-19=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[4, 53], Operations: ['76/4=19', '34+19=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,44 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[19, 38], Operations: ['76/4=19', '34+4=38'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,44 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 76, 11, 8, 65 ]
33
[ "76-8=68", "68-65=3", "11*3=33" ]
Current State: 33:[76, 11, 8, 65], Operations: [] Exploring Operation: 76-8=68, Resulting Numbers: [11, 65, 68] Generated Node #2: [11, 65, 68] from Operation: 76-8=68 Current State: 33:[11, 65, 68], Operations: ['76-8=68'] Exploring Operation: 68-65=3, Resulting Numbers: [11, 3] Generated Node #3: [11, 3] from Operation: 68-65=3 Current State: 33:[11, 3], Operations: ['76-8=68', '68-65=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[76, 11, 8, 65], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [11, 8, 11] Generated Node #0,0: 33:[11, 8, 11] Operation: 76-65=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[11, 8, 11], Operations: ['76-65=11'] Exploring Operation: 11-8=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 11-8=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['76-65=11', '11-8=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[76, 11, 8, 65], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [11, 8, 11] Generated Node #0,0: 33:[11, 8, 11] Operation: 76-65=11 Moving to Node #0,0 Current State: 33:[11, 8, 11], Operations: ['76-65=11'] Exploring Operation: 11-8=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 11-8=3 Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['76-65=11', '11-8=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 33, 26, 99, 66 ]
23
[ "66-33=33", "99/33=3", "26-3=23" ]
Current State: 23:[33, 26, 99, 66], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [26, 99, 33] Generated Node #2: [26, 99, 33] from Operation: 66-33=33 Current State: 23:[26, 99, 33], Operations: ['66-33=33'] Exploring Operation: 99/33=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 99/33=3 Current State: 23:[26, 3], Operations: ['66-33=33', '99/33=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[33, 26, 99, 66], Operations: [] Exploring Operation: 99-66=33, Resulting Numbers: [33, 26, 33] Generated Node #0,0: 23:[33, 26, 33] Operation: 99-66=33 Exploring Operation: 99/33=3, Resulting Numbers: [26, 66, 3] Generated Node #0,1: 23:[26, 66, 3] Operation: 99/33=3 Exploring Operation: 99-33=66, Resulting Numbers: [26, 66, 66] Generated Node #0,2: 23:[26, 66, 66] Operation: 99-33=66 Moving to Node #0,0 Current State: 23:[33, 26, 33], Operations: ['99-66=33'] Exploring Operation: 33-26=7, Resulting Numbers: [33, 7] Generated Node #0,0,0: 23:[33, 7] Operation: 33-26=7 Exploring Operation: 33/33=1, Resulting Numbers: [26, 1] Generated Node #0,0,1: 23:[26, 1] Operation: 33/33=1 Exploring Operation: 33-33=0, Resulting Numbers: [26, 0] Generated Node #0,0,2: 23:[26, 0] Operation: 33-33=0 Moving to Node #0,1 Current State: 23:[26, 66, 3], Operations: ['99/33=3'] Exploring Operation: 66/3=22, Resulting Numbers: [26, 22] Generated Node #0,1,0: 23:[26, 22] Operation: 66/3=22 Exploring Operation: 66-26=40, Resulting Numbers: [3, 40] Generated Node #0,1,1: 23:[3, 40] Operation: 66-26=40 Exploring Operation: 26-3=23, Resulting Numbers: [66, 23] Generated Node #0,1,2: 23:[66, 23] Operation: 26-3=23 Moving to Node #0,2 Current State: 23:[26, 66, 66], Operations: ['99-33=66'] Exploring Operation: 66-26=40, Resulting Numbers: [66, 40] Generated Node #0,2,0: 23:[66, 40] Operation: 66-26=40 Exploring Operation: 66-66=0, Resulting Numbers: [26, 0] Generated Node #0,2,1: 23:[26, 0] Operation: 66-66=0 Exploring Operation: 66/66=1, Resulting Numbers: [26, 1] Generated Node #0,2,2: 23:[26, 1] Operation: 66/66=1 Moving to Node #0,1,0 Current State: 23:[26, 22], Operations: ['99/33=3', '66/3=22'] Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,23 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[26, 1], Operations: ['99-33=66', '66/66=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[26, 1], Operations: ['99-66=33', '33/33=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[26, 0], Operations: ['99-66=33', '33-33=0'] Exploring Operation: 26+0=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26-0=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26*0=0, Resulting Numbers: [0] 0,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[33, 7], Operations: ['99-66=33', '33-26=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,23 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[26, 0], Operations: ['99-33=66', '66-66=0'] Exploring Operation: 26*0=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 26-0=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26+0=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[3, 40], Operations: ['99/33=3', '66-26=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[66, 23], Operations: ['99/33=3', '26-3=23'] Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,23 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[66, 40], Operations: ['99-33=66', '66-26=40'] Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,23 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,23 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,23 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 87, 15, 91, 59 ]
11
[ "91-87=4", "59-15=44", "44/4=11" ]
Current State: 11:[87, 15, 91, 59], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [15, 59, 4] Generated Node #2: [15, 59, 4] from Operation: 91-87=4 Current State: 11:[15, 59, 4], Operations: ['91-87=4'] Exploring Operation: 59-15=44, Resulting Numbers: [4, 44] Generated Node #3: [4, 44] from Operation: 59-15=44 Current State: 11:[4, 44], Operations: ['91-87=4', '59-15=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[87, 15, 91, 59], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [15, 59, 4] Generated Node #0,0: 11:[15, 59, 4] Operation: 91-87=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[15, 59, 4], Operations: ['91-87=4'] Exploring Operation: 59-15=44, Resulting Numbers: [4, 44] Generated Node #0,0,0: 11:[4, 44] Operation: 59-15=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[4, 44], Operations: ['91-87=4', '59-15=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[87, 15, 91, 59], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [15, 59, 4] Generated Node #0,0: 11:[15, 59, 4] Operation: 91-87=4 Moving to Node #0,0 Current State: 11:[15, 59, 4], Operations: ['91-87=4'] Exploring Operation: 59-15=44, Resulting Numbers: [4, 44] Generated Node #0,0,0: 11:[4, 44] Operation: 59-15=44 Moving to Node #0,0,0 Current State: 11:[4, 44], Operations: ['91-87=4', '59-15=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 52, 56, 97, 87 ]
76
[ "52+56=108", "97+87=184", "184-108=76" ]
Current State: 76:[52, 56, 97, 87], Operations: [] Exploring Operation: 52+56=108, Resulting Numbers: [97, 87, 108] Generated Node #2: [97, 87, 108] from Operation: 52+56=108 Current State: 76:[97, 87, 108], Operations: ['52+56=108'] Exploring Operation: 97+87=184, Resulting Numbers: [108, 184] Generated Node #3: [108, 184] from Operation: 97+87=184 Current State: 76:[108, 184], Operations: ['52+56=108', '97+87=184'] Exploring Operation: 184-108=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[52, 56, 97, 87], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [56, 97, 35] Generated Node #0,0: 76:[56, 97, 35] Operation: 87-52=35 Exploring Operation: 97-87=10, Resulting Numbers: [52, 56, 10] Generated Node #0,1: 76:[52, 56, 10] Operation: 97-87=10 Exploring Operation: 97-52=45, Resulting Numbers: [56, 87, 45] Generated Node #0,2: 76:[56, 87, 45] Operation: 97-52=45 Exploring Operation: 56-52=4, Resulting Numbers: [97, 87, 4] Generated Node #0,3: 76:[97, 87, 4] Operation: 56-52=4 Exploring Operation: 97-56=41, Resulting Numbers: [52, 87, 41] Generated Node #0,4: 76:[52, 87, 41] Operation: 97-56=41 Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[52, 87, 41], Operations: ['97-56=41'] Exploring Operation: 87-52=35, Resulting Numbers: [41, 35] Generated Node #0,4,0: 76:[41, 35] Operation: 87-52=35 Exploring Operation: 52+87=139, Resulting Numbers: [41, 139] Generated Node #0,4,1: 76:[41, 139] Operation: 52+87=139 Exploring Operation: 52-41=11, Resulting Numbers: [87, 11] Generated Node #0,4,2: 76:[87, 11] Operation: 52-41=11 Exploring Operation: 52+41=93, Resulting Numbers: [87, 93] Generated Node #0,4,3: 76:[87, 93] Operation: 52+41=93 Exploring Operation: 87-41=46, Resulting Numbers: [52, 46] Generated Node #0,4,4: 76:[52, 46] Operation: 87-41=46 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 76:[41, 35], Operations: ['97-56=41', '87-52=35'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[52, 56, 97, 87], Operations: [] Exploring Operation: 97-56=41, Resulting Numbers: [52, 87, 41] Generated Node #0,4: 76:[52, 87, 41] Operation: 97-56=41 Moving to Node #0,4 Current State: 76:[52, 87, 41], Operations: ['97-56=41'] Exploring Operation: 87-52=35, Resulting Numbers: [41, 35] Generated Node #0,4,0: 76:[41, 35] Operation: 87-52=35 Moving to Node #0,4,0 Current State: 76:[41, 35], Operations: ['97-56=41', '87-52=35'] Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 34, 33, 17, 23 ]
12
[ "34/17=2", "33-23=10", "2+10=12" ]
Current State: 12:[34, 33, 17, 23], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [33, 23, 2] Generated Node #2: [33, 23, 2] from Operation: 34/17=2 Current State: 12:[33, 23, 2], Operations: ['34/17=2'] Exploring Operation: 33-23=10, Resulting Numbers: [2, 10] Generated Node #3: [2, 10] from Operation: 33-23=10 Current State: 12:[2, 10], Operations: ['34/17=2', '33-23=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[34, 33, 17, 23], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [33, 23, 2] Generated Node #0,0: 12:[33, 23, 2] Operation: 34/17=2 Exploring Operation: 34-23=11, Resulting Numbers: [33, 17, 11] Generated Node #0,1: 12:[33, 17, 11] Operation: 34-23=11 Exploring Operation: 34-33=1, Resulting Numbers: [17, 23, 1] Generated Node #0,2: 12:[17, 23, 1] Operation: 34-33=1 Exploring Operation: 33-23=10, Resulting Numbers: [34, 17, 10] Generated Node #0,3: 12:[34, 17, 10] Operation: 33-23=10 Moving to Node #0,2 Current State: 12:[17, 23, 1], Operations: ['34-33=1'] Exploring Operation: 23-17=6, Resulting Numbers: [1, 6] Generated Node #0,2,0: 12:[1, 6] Operation: 23-17=6 Exploring Operation: 23-1=22, Resulting Numbers: [17, 22] Generated Node #0,2,1: 12:[17, 22] Operation: 23-1=22 Exploring Operation: 17*1=17, Resulting Numbers: [23, 17] Generated Node #0,2,2: 12:[23, 17] Operation: 17*1=17 Exploring Operation: 17-1=16, Resulting Numbers: [23, 16] Generated Node #0,2,3: 12:[23, 16] Operation: 17-1=16 Moving to Node #0,1 Current State: 12:[33, 17, 11], Operations: ['34-23=11'] Exploring Operation: 33/11=3, Resulting Numbers: [17, 3] Generated Node #0,1,0: 12:[17, 3] Operation: 33/11=3 Exploring Operation: 33-11=22, Resulting Numbers: [17, 22] Generated Node #0,1,1: 12:[17, 22] Operation: 33-11=22 Exploring Operation: 17-11=6, Resulting Numbers: [33, 6] Generated Node #0,1,2: 12:[33, 6] Operation: 17-11=6 Exploring Operation: 33-17=16, Resulting Numbers: [11, 16] Generated Node #0,1,3: 12:[11, 16] Operation: 33-17=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[17, 3], Operations: ['34-23=11', '33/11=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[11, 16], Operations: ['34-23=11', '33-17=16'] Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,12 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[17, 22], Operations: ['34-23=11', '33-11=22'] Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,12 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[33, 6], Operations: ['34-23=11', '17-11=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,12 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: 12:[34, 17, 10], Operations: ['33-23=10'] Exploring Operation: 34-10=24, Resulting Numbers: [17, 24] Generated Node #0,3,0: 12:[17, 24] Operation: 34-10=24 Exploring Operation: 34/17=2, Resulting Numbers: [10, 2] Generated Node #0,3,1: 12:[10, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [10, 17] Generated Node #0,3,2: 12:[10, 17] Operation: 34-17=17 Exploring Operation: 17-10=7, Resulting Numbers: [34, 7] Generated Node #0,3,3: 12:[34, 7] Operation: 17-10=7 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[10, 2], Operations: ['33-23=10', '34/17=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[34, 33, 17, 23], Operations: [] Exploring Operation: 33-23=10, Resulting Numbers: [34, 17, 10] Generated Node #0,3: 12:[34, 17, 10] Operation: 33-23=10 Moving to Node #0,3 Current State: 12:[34, 17, 10], Operations: ['33-23=10'] Exploring Operation: 34/17=2, Resulting Numbers: [10, 2] Generated Node #0,3,1: 12:[10, 2] Operation: 34/17=2 Moving to Node #0,3,1 Current State: 12:[10, 2], Operations: ['33-23=10', '34/17=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 85, 31, 51, 39 ]
34
[ "85*39=3315", "3315/51=65", "65-31=34" ]
Current State: 34:[85, 31, 51, 39], Operations: [] Exploring Operation: 85*39=3315, Resulting Numbers: [31, 51, 3315] Generated Node #2: [31, 51, 3315] from Operation: 85*39=3315 Current State: 34:[31, 51, 3315], Operations: ['85*39=3315'] Exploring Operation: 3315/51=65, Resulting Numbers: [31, 65] Generated Node #3: [31, 65] from Operation: 3315/51=65 Current State: 34:[31, 65], Operations: ['85*39=3315', '3315/51=65'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[85, 31, 51, 39], Operations: [] Exploring Operation: 85-51=34, Resulting Numbers: [31, 39, 34] Generated Node #0,0: 34:[31, 39, 34] Operation: 85-51=34 Moving to Node #0,0 Current State: 34:[31, 39, 34], Operations: ['85-51=34'] Exploring Operation: 39-31=8, Resulting Numbers: [34, 8] Generated Node #0,0,0: 34:[34, 8] Operation: 39-31=8 Moving to Node #0,0,0 Current State: 34:[34, 8], Operations: ['85-51=34', '39-31=8'] Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,34 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 69, 86, 1, 41 ]
58
[ "86-69=17", "1*41=41", "17+41=58" ]
Current State: 58:[69, 86, 1, 41], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [1, 41, 17] Generated Node #2: [1, 41, 17] from Operation: 86-69=17 Current State: 58:[1, 41, 17], Operations: ['86-69=17'] Exploring Operation: 1*41=41, Resulting Numbers: [17, 41] Generated Node #3: [17, 41] from Operation: 1*41=41 Current State: 58:[17, 41], Operations: ['86-69=17', '1*41=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[69, 86, 1, 41], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [69, 1, 45] Generated Node #0,0: 58:[69, 1, 45] Operation: 86-41=45 Exploring Operation: 69-41=28, Resulting Numbers: [86, 1, 28] Generated Node #0,1: 58:[86, 1, 28] Operation: 69-41=28 Exploring Operation: 69-1=68, Resulting Numbers: [86, 41, 68] Generated Node #0,2: 58:[86, 41, 68] Operation: 69-1=68 Exploring Operation: 86-69=17, Resulting Numbers: [1, 41, 17] Generated Node #0,3: 58:[1, 41, 17] Operation: 86-69=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[69, 1, 45], Operations: ['86-41=45'] Exploring Operation: 1+45=46, Resulting Numbers: [69, 46] Generated Node #0,0,0: 58:[69, 46] Operation: 1+45=46 Exploring Operation: 69-1=68, Resulting Numbers: [45, 68] Generated Node #0,0,1: 58:[45, 68] Operation: 69-1=68 Exploring Operation: 69*1=69, Resulting Numbers: [45, 69] Generated Node #0,0,2: 58:[45, 69] Operation: 69*1=69 Exploring Operation: 69-45=24, Resulting Numbers: [1, 24] Generated Node #0,0,3: 58:[1, 24] Operation: 69-45=24 Moving to Node #0,0,3 Current State: 58:[1, 24], Operations: ['86-41=45', '69-45=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[45, 68], Operations: ['86-41=45', '69-1=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,58 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[69, 46], Operations: ['86-41=45', '1+45=46'] Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,58 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[45, 69], Operations: ['86-41=45', '69*1=69'] Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,58 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,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 Current State: 58:[1, 41, 17], Operations: ['86-69=17'] Exploring Operation: 41+17=58, Resulting Numbers: [1, 58] Generated Node #0,3,0: 58:[1, 58] Operation: 41+17=58 Exploring Operation: 41-17=24, Resulting Numbers: [1, 24] Generated Node #0,3,1: 58:[1, 24] Operation: 41-17=24 Exploring Operation: 1+17=18, Resulting Numbers: [41, 18] Generated Node #0,3,2: 58:[41, 18] Operation: 1+17=18 Exploring Operation: 41-1=40, Resulting Numbers: [17, 40] Generated Node #0,3,3: 58:[17, 40] Operation: 41-1=40 Moving to Node #0,3,0 Current State: 58:[1, 58], Operations: ['86-69=17', '41+17=58'] Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[69, 86, 1, 41], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [1, 41, 17] Generated Node #0,3: 58:[1, 41, 17] Operation: 86-69=17 Moving to Node #0,3 Current State: 58:[1, 41, 17], Operations: ['86-69=17'] Exploring Operation: 41+17=58, Resulting Numbers: [1, 58] Generated Node #0,3,0: 58:[1, 58] Operation: 41+17=58 Moving to Node #0,3,0 Current State: 58:[1, 58], Operations: ['86-69=17', '41+17=58'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 11, 79, 84, 48 ]
64
[ "79-11=68", "84+48=132", "132-68=64" ]
Current State: 64:[11, 79, 84, 48], Operations: [] Exploring Operation: 79-11=68, Resulting Numbers: [84, 48, 68] Generated Node #2: [84, 48, 68] from Operation: 79-11=68 Current State: 64:[84, 48, 68], Operations: ['79-11=68'] Exploring Operation: 84+48=132, Resulting Numbers: [68, 132] Generated Node #3: [68, 132] from Operation: 84+48=132 Current State: 64:[68, 132], Operations: ['79-11=68', '84+48=132'] Exploring Operation: 132-68=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[11, 79, 84, 48], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [11, 48, 5] Generated Node #0,0: 64:[11, 48, 5] Operation: 84-79=5 Moving to Node #0,0 Current State: 64:[11, 48, 5], Operations: ['84-79=5'] Exploring Operation: 11+48=59, Resulting Numbers: [5, 59] Generated Node #0,0,0: 64:[5, 59] Operation: 11+48=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[5, 59], Operations: ['84-79=5', '11+48=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[11, 79, 84, 48], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [11, 48, 5] Generated Node #0,0: 64:[11, 48, 5] Operation: 84-79=5 Moving to Node #0,0 Current State: 64:[11, 48, 5], Operations: ['84-79=5'] Exploring Operation: 11+48=59, Resulting Numbers: [5, 59] Generated Node #0,0,0: 64:[5, 59] Operation: 11+48=59 Moving to Node #0,0,0 Current State: 64:[5, 59], Operations: ['84-79=5', '11+48=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 60, 72, 56 ]
81
[ "60-56=4", "36/4=9", "72+9=81" ]
Current State: 81:[36, 60, 72, 56], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [36, 72, 4] Generated Node #2: [36, 72, 4] from Operation: 60-56=4 Current State: 81:[36, 72, 4], Operations: ['60-56=4'] Exploring Operation: 36/4=9, Resulting Numbers: [72, 9] Generated Node #3: [72, 9] from Operation: 36/4=9 Current State: 81:[72, 9], Operations: ['60-56=4', '36/4=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[36, 60, 72, 56], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [36, 72, 4] Generated Node #0,0: 81:[36, 72, 4] Operation: 60-56=4 Exploring Operation: 60-36=24, Resulting Numbers: [72, 56, 24] Generated Node #0,1: 81:[72, 56, 24] Operation: 60-36=24 Moving to Node #0,0 Current State: 81:[36, 72, 4], Operations: ['60-56=4'] Exploring Operation: 36/4=9, Resulting Numbers: [72, 9] Generated Node #0,0,0: 81:[72, 9] Operation: 36/4=9 Exploring Operation: 72/36=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 81:[4, 2] Operation: 72/36=2 Moving to Node #0,1 Current State: 81:[72, 56, 24], Operations: ['60-36=24'] Exploring Operation: 72-56=16, Resulting Numbers: [24, 16] Generated Node #0,1,0: 81:[24, 16] Operation: 72-56=16 Exploring Operation: 56+24=80, Resulting Numbers: [72, 80] Generated Node #0,1,1: 81:[72, 80] Operation: 56+24=80 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[24, 16], Operations: ['60-36=24', '72-56=16'] Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[72, 80], Operations: ['60-36=24', '56+24=80'] Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,81 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,81 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: 81:[4, 2], Operations: ['60-56=4', '72/36=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[72, 9], Operations: ['60-56=4', '36/4=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[36, 60, 72, 56], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [36, 72, 4] Generated Node #0,0: 81:[36, 72, 4] Operation: 60-56=4 Moving to Node #0,0 Current State: 81:[36, 72, 4], Operations: ['60-56=4'] Exploring Operation: 36/4=9, Resulting Numbers: [72, 9] Generated Node #0,0,0: 81:[72, 9] Operation: 36/4=9 Moving to Node #0,0,0 Current State: 81:[72, 9], Operations: ['60-56=4', '36/4=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 69, 46, 80, 22 ]
57
[ "69+46=115", "80-22=58", "115-58=57" ]
Current State: 57:[69, 46, 80, 22], Operations: [] Exploring Operation: 69+46=115, Resulting Numbers: [80, 22, 115] Generated Node #2: [80, 22, 115] from Operation: 69+46=115 Current State: 57:[80, 22, 115], Operations: ['69+46=115'] Exploring Operation: 80-22=58, Resulting Numbers: [115, 58] Generated Node #3: [115, 58] from Operation: 80-22=58 Current State: 57:[115, 58], Operations: ['69+46=115', '80-22=58'] Exploring Operation: 115-58=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[69, 46, 80, 22], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [46, 22, 11] Generated Node #0,0: 57:[46, 22, 11] Operation: 80-69=11 Moving to Node #0,0 Current State: 57:[46, 22, 11], Operations: ['80-69=11'] Exploring Operation: 46+11=57, Resulting Numbers: [22, 57] Generated Node #0,0,0: 57:[22, 57] Operation: 46+11=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[22, 57], Operations: ['80-69=11', '46+11=57'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,57 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
[ 86, 83, 96, 29 ]
64
[ "86-83=3", "96-29=67", "67-3=64" ]
Current State: 64:[86, 83, 96, 29], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [96, 29, 3] Generated Node #2: [96, 29, 3] from Operation: 86-83=3 Current State: 64:[96, 29, 3], Operations: ['86-83=3'] Exploring Operation: 96-29=67, Resulting Numbers: [3, 67] Generated Node #3: [3, 67] from Operation: 96-29=67 Current State: 64:[3, 67], Operations: ['86-83=3', '96-29=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[86, 83, 96, 29], Operations: [] Exploring Operation: 96-83=13, Resulting Numbers: [86, 29, 13] Generated Node #0,0: 64:[86, 29, 13] Operation: 96-83=13 Exploring Operation: 96-29=67, Resulting Numbers: [86, 83, 67] Generated Node #0,1: 64:[86, 83, 67] Operation: 96-29=67 Exploring Operation: 86-83=3, Resulting Numbers: [96, 29, 3] Generated Node #0,2: 64:[96, 29, 3] Operation: 86-83=3 Exploring Operation: 96-86=10, Resulting Numbers: [83, 29, 10] Generated Node #0,3: 64:[83, 29, 10] Operation: 96-86=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[83, 29, 10], Operations: ['96-86=10'] Exploring Operation: 83-10=73, Resulting Numbers: [29, 73] Generated Node #0,3,0: 64:[29, 73] Operation: 83-10=73 Exploring Operation: 83-29=54, Resulting Numbers: [10, 54] Generated Node #0,3,1: 64:[10, 54] Operation: 83-29=54 Exploring Operation: 29-10=19, Resulting Numbers: [83, 19] Generated Node #0,3,2: 64:[83, 19] Operation: 29-10=19 Exploring Operation: 29+10=39, Resulting Numbers: [83, 39] Generated Node #0,3,3: 64:[83, 39] Operation: 29+10=39 Moving to Node #0,3,0 Current State: 64:[29, 73], Operations: ['96-86=10', '83-10=73'] Exploring Operation: 29*73=2117, Resulting Numbers: [2117] 2117,64 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 29+73=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[10, 54], Operations: ['96-86=10', '83-29=54'] Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[86, 83, 96, 29], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [83, 29, 10] Generated Node #0,3: 64:[83, 29, 10] Operation: 96-86=10 Moving to Node #0,3 Current State: 64:[83, 29, 10], Operations: ['96-86=10'] Exploring Operation: 83-29=54, Resulting Numbers: [10, 54] Generated Node #0,3,1: 64:[10, 54] Operation: 83-29=54 Moving to Node #0,3,1 Current State: 64:[10, 54], Operations: ['96-86=10', '83-29=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 67, 80, 66, 75 ]
76
[ "75-67=8", "80/8=10", "66+10=76" ]
Current State: 76:[67, 80, 66, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [80, 66, 8] Generated Node #2: [80, 66, 8] from Operation: 75-67=8 Current State: 76:[80, 66, 8], Operations: ['75-67=8'] Exploring Operation: 80/8=10, Resulting Numbers: [66, 10] Generated Node #3: [66, 10] from Operation: 80/8=10 Current State: 76:[66, 10], Operations: ['75-67=8', '80/8=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[67, 80, 66, 75], Operations: [] Exploring Operation: 67-66=1, Resulting Numbers: [80, 75, 1] Generated Node #0,0: 76:[80, 75, 1] Operation: 67-66=1 Exploring Operation: 80-67=13, Resulting Numbers: [66, 75, 13] Generated Node #0,1: 76:[66, 75, 13] Operation: 80-67=13 Exploring Operation: 75-67=8, Resulting Numbers: [80, 66, 8] Generated Node #0,2: 76:[80, 66, 8] Operation: 75-67=8 Exploring Operation: 75-66=9, Resulting Numbers: [67, 80, 9] Generated Node #0,3: 76:[67, 80, 9] Operation: 75-66=9 Exploring Operation: 80-66=14, Resulting Numbers: [67, 75, 14] Generated Node #0,4: 76:[67, 75, 14] Operation: 80-66=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[80, 75, 1], Operations: ['67-66=1'] Exploring Operation: 80-75=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 76:[1, 5] Operation: 80-75=5 Exploring Operation: 80/1=80, Resulting Numbers: [75, 80] Generated Node #0,0,1: 76:[75, 80] Operation: 80/1=80 Exploring Operation: 80-1=79, Resulting Numbers: [75, 79] Generated Node #0,0,2: 76:[75, 79] Operation: 80-1=79 Exploring Operation: 80*1=80, Resulting Numbers: [75, 80] Generated Node #0,0,3: 76:[75, 80] Operation: 80*1=80 Exploring Operation: 75+1=76, Resulting Numbers: [80, 76] Generated Node #0,0,4: 76:[80, 76] Operation: 75+1=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[1, 5], Operations: ['67-66=1', '80-75=5'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[75, 79], Operations: ['67-66=1', '80-1=79'] Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,76 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 76:[80, 76], Operations: ['67-66=1', '75+1=76'] Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 80+76=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 80*76=6080, Resulting Numbers: [6080] 6080,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[75, 80], Operations: ['67-66=1', '80/1=80'] Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,76 unequal: No Solution Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 76:[75, 80], Operations: ['67-66=1', '80*1=80'] Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,76 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[67, 75, 14], Operations: ['80-66=14'] Exploring Operation: 75-67=8, Resulting Numbers: [14, 8] Generated Node #0,4,0: 76:[14, 8] Operation: 75-67=8 Exploring Operation: 67-14=53, Resulting Numbers: [75, 53] Generated Node #0,4,1: 76:[75, 53] Operation: 67-14=53 Exploring Operation: 67+14=81, Resulting Numbers: [75, 81] Generated Node #0,4,2: 76:[75, 81] Operation: 67+14=81 Exploring Operation: 75+14=89, Resulting Numbers: [67, 89] Generated Node #0,4,3: 76:[67, 89] Operation: 75+14=89 Exploring Operation: 75-14=61, Resulting Numbers: [67, 61] Generated Node #0,4,4: 76:[67, 61] Operation: 75-14=61 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 76:[75, 81], Operations: ['80-66=14', '67+14=81'] Exploring Operation: 75*81=6075, Resulting Numbers: [6075] 6075,76 unequal: No Solution Exploring Operation: 75+81=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 76:[14, 8], Operations: ['80-66=14', '75-67=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,76 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 76:[75, 53], Operations: ['80-66=14', '67-14=53'] Exploring Operation: 75+53=128, Resulting Numbers: [128] 128,76 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 75*53=3975, Resulting Numbers: [3975] 3975,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 76:[67, 89], Operations: ['80-66=14', '75+14=89'] Exploring Operation: 67*89=5963, Resulting Numbers: [5963] 5963,76 unequal: No Solution Exploring Operation: 89-67=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 67+89=156, Resulting Numbers: [156] 156,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 76:[67, 61], Operations: ['80-66=14', '75-14=61'] Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,76 unequal: No Solution Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,76 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[66, 75, 13], Operations: ['80-67=13'] Exploring Operation: 75-13=62, Resulting Numbers: [66, 62] Generated Node #0,1,0: 76:[66, 62] Operation: 75-13=62 Exploring Operation: 66+13=79, Resulting Numbers: [75, 79] Generated Node #0,1,1: 76:[75, 79] Operation: 66+13=79 Exploring Operation: 75+13=88, Resulting Numbers: [66, 88] Generated Node #0,1,2: 76:[66, 88] Operation: 75+13=88 Exploring Operation: 66-13=53, Resulting Numbers: [75, 53] Generated Node #0,1,3: 76:[75, 53] Operation: 66-13=53 Exploring Operation: 75-66=9, Resulting Numbers: [13, 9] Generated Node #0,1,4: 76:[13, 9] Operation: 75-66=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[75, 79], Operations: ['80-67=13', '66+13=79'] Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,76 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,76 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 76:[13, 9], Operations: ['80-67=13', '75-66=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 76:[75, 53], Operations: ['80-67=13', '66-13=53'] Exploring Operation: 75+53=128, Resulting Numbers: [128] 128,76 unequal: No Solution Exploring Operation: 75*53=3975, Resulting Numbers: [3975] 3975,76 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 76:[66, 88], Operations: ['80-67=13', '75+13=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,76 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,76 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[66, 62], Operations: ['80-67=13', '75-13=62'] Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,76 unequal: No Solution Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[80, 66, 8], Operations: ['75-67=8'] Exploring Operation: 66+8=74, Resulting Numbers: [80, 74] Generated Node #0,2,0: 76:[80, 74] Operation: 66+8=74 Exploring Operation: 80+8=88, Resulting Numbers: [66, 88] Generated Node #0,2,1: 76:[66, 88] Operation: 80+8=88 Exploring Operation: 80-66=14, Resulting Numbers: [8, 14] Generated Node #0,2,2: 76:[8, 14] Operation: 80-66=14 Exploring Operation: 80-8=72, Resulting Numbers: [66, 72] Generated Node #0,2,3: 76:[66, 72] Operation: 80-8=72 Exploring Operation: 80/8=10, Resulting Numbers: [66, 10] Generated Node #0,2,4: 76:[66, 10] Operation: 80/8=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[80, 74], Operations: ['75-67=8', '66+8=74'] Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,76 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[8, 14], Operations: ['75-67=8', '80-66=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,76 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[66, 72], Operations: ['75-67=8', '80-8=72'] Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,76 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,76 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 76:[66, 10], Operations: ['75-67=8', '80/8=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,76 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[67, 80, 66, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [80, 66, 8] Generated Node #0,2: 76:[80, 66, 8] Operation: 75-67=8 Moving to Node #0,2 Current State: 76:[80, 66, 8], Operations: ['75-67=8'] Exploring Operation: 80/8=10, Resulting Numbers: [66, 10] Generated Node #0,2,4: 76:[66, 10] Operation: 80/8=10 Moving to Node #0,2,4 Current State: 76:[66, 10], Operations: ['75-67=8', '80/8=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.924479
hs_5
mult_heuristic
[ 26, 72, 84, 96 ]
91
[ "26*84=2184", "96-72=24", "2184/24=91" ]
Current State: 91:[26, 72, 84, 96], Operations: [] Exploring Operation: 26*84=2184, Resulting Numbers: [72, 96, 2184] Generated Node #2: [72, 96, 2184] from Operation: 26*84=2184 Current State: 91:[72, 96, 2184], Operations: ['26*84=2184'] Exploring Operation: 96-72=24, Resulting Numbers: [2184, 24] Generated Node #3: [2184, 24] from Operation: 96-72=24 Current State: 91:[2184, 24], Operations: ['26*84=2184', '96-72=24'] Exploring Operation: 2184/24=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[26, 72, 84, 96], Operations: [] Exploring Operation: 26+72=98, Resulting Numbers: [84, 96, 98] Generated Node #0,0: 91:[84, 96, 98] Operation: 26+72=98 Exploring Operation: 84-72=12, Resulting Numbers: [26, 96, 12] Generated Node #0,1: 91:[26, 96, 12] Operation: 84-72=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[84, 96, 98], Operations: ['26+72=98'] Exploring Operation: 96-84=12, Resulting Numbers: [98, 12] Generated Node #0,0,0: 91:[98, 12] Operation: 96-84=12 Exploring Operation: 98-84=14, Resulting Numbers: [96, 14] Generated Node #0,0,1: 91:[96, 14] Operation: 98-84=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[96, 14], Operations: ['26+72=98', '98-84=14'] Exploring Operation: 96+14=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[98, 12], Operations: ['26+72=98', '96-84=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[26, 96, 12], Operations: ['84-72=12'] Exploring Operation: 96/12=8, Resulting Numbers: [26, 8] Generated Node #0,1,0: 91:[26, 8] Operation: 96/12=8 Exploring Operation: 26-12=14, Resulting Numbers: [96, 14] Generated Node #0,1,1: 91:[96, 14] Operation: 26-12=14 Moving to Node #0,1,1 Current State: 91:[96, 14], Operations: ['84-72=12', '26-12=14'] Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,91 unequal: No Solution Exploring Operation: 96+14=110, Resulting Numbers: [110] 110,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[26, 8], Operations: ['84-72=12', '96/12=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,91 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
[ 39, 17, 15, 49 ]
72
[ "39*17=663", "15*49=735", "735-663=72" ]
Current State: 72:[39, 17, 15, 49], Operations: [] Exploring Operation: 39*17=663, Resulting Numbers: [15, 49, 663] Generated Node #2: [15, 49, 663] from Operation: 39*17=663 Current State: 72:[15, 49, 663], Operations: ['39*17=663'] Exploring Operation: 15*49=735, Resulting Numbers: [663, 735] Generated Node #3: [663, 735] from Operation: 15*49=735 Current State: 72:[663, 735], Operations: ['39*17=663', '15*49=735'] Exploring Operation: 735-663=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[39, 17, 15, 49], Operations: [] Exploring Operation: 49-39=10, Resulting Numbers: [17, 15, 10] Generated Node #0,0: 72:[17, 15, 10] Operation: 49-39=10 Moving to Node #0,0 Current State: 72:[17, 15, 10], Operations: ['49-39=10'] Exploring Operation: 17-15=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 72:[10, 2] Operation: 17-15=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[10, 2], Operations: ['49-39=10', '17-15=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,72 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
[ 20, 13, 62, 5 ]
74
[ "20-13=7", "62+5=67", "7+67=74" ]
Current State: 74:[20, 13, 62, 5], Operations: [] Exploring Operation: 20-13=7, Resulting Numbers: [62, 5, 7] Generated Node #2: [62, 5, 7] from Operation: 20-13=7 Current State: 74:[62, 5, 7], Operations: ['20-13=7'] Exploring Operation: 62+5=67, Resulting Numbers: [7, 67] Generated Node #3: [7, 67] from Operation: 62+5=67 Current State: 74:[7, 67], Operations: ['20-13=7', '62+5=67'] Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[20, 13, 62, 5], Operations: [] Exploring Operation: 20+13=33, Resulting Numbers: [62, 5, 33] Generated Node #0,0: 74:[62, 5, 33] Operation: 20+13=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[62, 5, 33], Operations: ['20+13=33'] Exploring Operation: 62+5=67, Resulting Numbers: [33, 67] Generated Node #0,0,0: 74:[33, 67] Operation: 62+5=67 Moving to Node #0,0,0 Current State: 74:[33, 67], Operations: ['20+13=33', '62+5=67'] Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,74 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
[ 23, 24, 96, 4 ]
20
[ "23*4=92", "96-24=72", "92-72=20" ]
Current State: 20:[23, 24, 96, 4], Operations: [] Exploring Operation: 23*4=92, Resulting Numbers: [24, 96, 92] Generated Node #2: [24, 96, 92] from Operation: 23*4=92 Current State: 20:[24, 96, 92], Operations: ['23*4=92'] Exploring Operation: 96-24=72, Resulting Numbers: [92, 72] Generated Node #3: [92, 72] from Operation: 96-24=72 Current State: 20:[92, 72], Operations: ['23*4=92', '96-24=72'] Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[23, 24, 96, 4], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [23, 24, 24] Generated Node #0,0: 20:[23, 24, 24] Operation: 96/4=24 Exploring Operation: 96-24=72, Resulting Numbers: [23, 4, 72] Generated Node #0,1: 20:[23, 4, 72] Operation: 96-24=72 Exploring Operation: 96-23=73, Resulting Numbers: [24, 4, 73] Generated Node #0,2: 20:[24, 4, 73] Operation: 96-23=73 Exploring Operation: 96/24=4, Resulting Numbers: [23, 4, 4] Generated Node #0,3: 20:[23, 4, 4] Operation: 96/24=4 Moving to Node #0,3 Current State: 20:[23, 4, 4], Operations: ['96/24=4'] Exploring Operation: 4/4=1, Resulting Numbers: [23, 1] Generated Node #0,3,0: 20:[23, 1] Operation: 4/4=1 Exploring Operation: 4+4=8, Resulting Numbers: [23, 8] Generated Node #0,3,1: 20:[23, 8] Operation: 4+4=8 Exploring Operation: 23-4=19, Resulting Numbers: [4, 19] Generated Node #0,3,2: 20:[4, 19] Operation: 23-4=19 Exploring Operation: 23-4=19, Resulting Numbers: [4, 19] Generated Node #0,3,3: 20:[4, 19] Operation: 23-4=19 Moving to Node #0,0 Current State: 20:[23, 24, 24], Operations: ['96/4=24'] Exploring Operation: 24-24=0, Resulting Numbers: [23, 0] Generated Node #0,0,0: 20:[23, 0] Operation: 24-24=0 Exploring Operation: 24-23=1, Resulting Numbers: [24, 1] Generated Node #0,0,1: 20:[24, 1] Operation: 24-23=1 Exploring Operation: 24-23=1, Resulting Numbers: [24, 1] Generated Node #0,0,2: 20:[24, 1] Operation: 24-23=1 Exploring Operation: 24/24=1, Resulting Numbers: [23, 1] Generated Node #0,0,3: 20:[23, 1] Operation: 24/24=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[23, 1], Operations: ['96/4=24', '24/24=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,20 unequal: No Solution No 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: 20:[23, 0], Operations: ['96/4=24', '24-24=0'] Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,20 unequal: No Solution No 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: 20:[24, 1], Operations: ['96/4=24', '24-23=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,20 unequal: No Solution No 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: 20:[24, 1], Operations: ['96/4=24', '24-23=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,20 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: 20:[23, 4, 72], Operations: ['96-24=72'] Exploring Operation: 72/4=18, Resulting Numbers: [23, 18] Generated Node #0,1,0: 20:[23, 18] Operation: 72/4=18 Exploring Operation: 72-4=68, Resulting Numbers: [23, 68] Generated Node #0,1,1: 20:[23, 68] Operation: 72-4=68 Exploring Operation: 72-23=49, Resulting Numbers: [4, 49] Generated Node #0,1,2: 20:[4, 49] Operation: 72-23=49 Exploring Operation: 23-4=19, Resulting Numbers: [72, 19] Generated Node #0,1,3: 20:[72, 19] Operation: 23-4=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[23, 18], Operations: ['96-24=72', '72/4=18'] Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,20 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,20 unequal: No Solution No solution 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: 20:[4, 49], Operations: ['96-24=72', '72-23=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,20 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,20 unequal: No Solution No solution 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: 20:[23, 68], Operations: ['96-24=72', '72-4=68'] Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,20 unequal: No Solution No solution 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: 20:[72, 19], Operations: ['96-24=72', '23-4=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,20 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,20 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: 20:[24, 4, 73], Operations: ['96-23=73'] Exploring Operation: 24/4=6, Resulting Numbers: [73, 6] Generated Node #0,2,0: 20:[73, 6] Operation: 24/4=6 Exploring Operation: 73-4=69, Resulting Numbers: [24, 69] Generated Node #0,2,1: 20:[24, 69] Operation: 73-4=69 Exploring Operation: 73-24=49, Resulting Numbers: [4, 49] Generated Node #0,2,2: 20:[4, 49] Operation: 73-24=49 Exploring Operation: 24-4=20, Resulting Numbers: [73, 20] Generated Node #0,2,3: 20:[73, 20] Operation: 24-4=20 Moving to Node #0,3,2 Current State: 20:[4, 19], Operations: ['96/24=4', '23-4=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[4, 19], Operations: ['96/24=4', '23-4=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[23, 1], Operations: ['96/24=4', '4/4=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[23, 8], Operations: ['96/24=4', '4+4=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[4, 49], Operations: ['96-23=73', '73-24=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[24, 69], Operations: ['96-23=73', '73-4=69'] Exploring Operation: 24*69=1656, Resulting Numbers: [1656] 1656,20 unequal: No Solution Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,20 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[73, 20], Operations: ['96-23=73', '24-4=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,20 unequal: No Solution Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[73, 6], Operations: ['96-23=73', '24/4=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,20 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,20 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,20 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 35, 65, 70, 33 ]
67
[ "65-35=30", "70-33=37", "30+37=67" ]
Current State: 67:[35, 65, 70, 33], Operations: [] Exploring Operation: 65-35=30, Resulting Numbers: [70, 33, 30] Generated Node #2: [70, 33, 30] from Operation: 65-35=30 Current State: 67:[70, 33, 30], Operations: ['65-35=30'] Exploring Operation: 70-33=37, Resulting Numbers: [30, 37] Generated Node #3: [30, 37] from Operation: 70-33=37 Current State: 67:[30, 37], Operations: ['65-35=30', '70-33=37'] Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[35, 65, 70, 33], Operations: [] Exploring Operation: 35+33=68, Resulting Numbers: [65, 70, 68] Generated Node #0,0: 67:[65, 70, 68] Operation: 35+33=68 Exploring Operation: 70-33=37, Resulting Numbers: [35, 65, 37] Generated Node #0,1: 67:[35, 65, 37] Operation: 70-33=37 Exploring Operation: 70-35=35, Resulting Numbers: [65, 33, 35] Generated Node #0,2: 67:[65, 33, 35] Operation: 70-35=35 Exploring Operation: 65+33=98, Resulting Numbers: [35, 70, 98] Generated Node #0,3: 67:[35, 70, 98] Operation: 65+33=98 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[65, 70, 68], Operations: ['35+33=68'] Exploring Operation: 65+70=135, Resulting Numbers: [68, 135] Generated Node #0,0,0: 67:[68, 135] Operation: 65+70=135 Exploring Operation: 70-65=5, Resulting Numbers: [68, 5] Generated Node #0,0,1: 67:[68, 5] Operation: 70-65=5 Exploring Operation: 68-65=3, Resulting Numbers: [70, 3] Generated Node #0,0,2: 67:[70, 3] Operation: 68-65=3 Exploring Operation: 70-68=2, Resulting Numbers: [65, 2] Generated Node #0,0,3: 67:[65, 2] Operation: 70-68=2 Moving to Node #0,0,1 Current State: 67:[68, 5], Operations: ['35+33=68', '70-65=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,67 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[65, 2], Operations: ['35+33=68', '70-68=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[35, 65, 70, 33], Operations: [] Exploring Operation: 35+33=68, Resulting Numbers: [65, 70, 68] Generated Node #0,0: 67:[65, 70, 68] Operation: 35+33=68 Moving to Node #0,0 Current State: 67:[65, 70, 68], Operations: ['35+33=68'] Exploring Operation: 70-68=2, Resulting Numbers: [65, 2] Generated Node #0,0,3: 67:[65, 2] Operation: 70-68=2 Moving to Node #0,0,3 Current State: 67:[65, 2], Operations: ['35+33=68', '70-68=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 40, 69, 74, 25 ]
85
[ "74-69=5", "25*5=125", "125-40=85" ]
Current State: 85:[40, 69, 74, 25], Operations: [] Exploring Operation: 74-69=5, Resulting Numbers: [40, 25, 5] Generated Node #2: [40, 25, 5] from Operation: 74-69=5 Current State: 85:[40, 25, 5], Operations: ['74-69=5'] Exploring Operation: 25*5=125, Resulting Numbers: [40, 125] Generated Node #3: [40, 125] from Operation: 25*5=125 Current State: 85:[40, 125], Operations: ['74-69=5', '25*5=125'] Exploring Operation: 125-40=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[40, 69, 74, 25], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [74, 25, 29] Generated Node #0,0: 85:[74, 25, 29] Operation: 69-40=29 Exploring Operation: 40-25=15, Resulting Numbers: [69, 74, 15] Generated Node #0,1: 85:[69, 74, 15] Operation: 40-25=15 Moving to Node #0,1 Current State: 85:[69, 74, 15], Operations: ['40-25=15'] Exploring Operation: 69+15=84, Resulting Numbers: [74, 84] Generated Node #0,1,0: 85:[74, 84] Operation: 69+15=84 Exploring Operation: 74-69=5, Resulting Numbers: [15, 5] Generated Node #0,1,1: 85:[15, 5] Operation: 74-69=5 Moving to Node #0,0 Current State: 85:[74, 25, 29], Operations: ['69-40=29'] Exploring Operation: 29-25=4, Resulting Numbers: [74, 4] Generated Node #0,0,0: 85:[74, 4] Operation: 29-25=4 Exploring Operation: 74+25=99, Resulting Numbers: [29, 99] Generated Node #0,0,1: 85:[29, 99] Operation: 74+25=99 Moving to Node #0,1,1 Current State: 85:[15, 5], Operations: ['40-25=15', '74-69=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[74, 4], Operations: ['69-40=29', '29-25=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,85 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[74, 84], Operations: ['40-25=15', '69+15=84'] Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,85 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[29, 99], Operations: ['69-40=29', '74+25=99'] Exploring Operation: 29+99=128, Resulting Numbers: [128] 128,85 unequal: No Solution Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,85 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 83, 14, 33, 39 ]
86
[ "33*39=1287", "1287-83=1204", "1204/14=86" ]
Current State: 86:[83, 14, 33, 39], Operations: [] Exploring Operation: 33*39=1287, Resulting Numbers: [83, 14, 1287] Generated Node #2: [83, 14, 1287] from Operation: 33*39=1287 Current State: 86:[83, 14, 1287], Operations: ['33*39=1287'] Exploring Operation: 1287-83=1204, Resulting Numbers: [14, 1204] Generated Node #3: [14, 1204] from Operation: 1287-83=1204 Current State: 86:[14, 1204], Operations: ['33*39=1287', '1287-83=1204'] Exploring Operation: 1204/14=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[83, 14, 33, 39], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [14, 39, 50] Generated Node #0,0: 86:[14, 39, 50] Operation: 83-33=50 Exploring Operation: 83-39=44, Resulting Numbers: [14, 33, 44] Generated Node #0,1: 86:[14, 33, 44] Operation: 83-39=44 Exploring Operation: 39-33=6, Resulting Numbers: [83, 14, 6] Generated Node #0,2: 86:[83, 14, 6] Operation: 39-33=6 Exploring Operation: 14+33=47, Resulting Numbers: [83, 39, 47] Generated Node #0,3: 86:[83, 39, 47] Operation: 14+33=47 Exploring Operation: 14+39=53, Resulting Numbers: [83, 33, 53] Generated Node #0,4: 86:[83, 33, 53] Operation: 14+39=53 Moving to Node #0,3 Current State: 86:[83, 39, 47], Operations: ['14+33=47'] Exploring Operation: 83+39=122, Resulting Numbers: [47, 122] Generated Node #0,3,0: 86:[47, 122] Operation: 83+39=122 Exploring Operation: 83-47=36, Resulting Numbers: [39, 36] Generated Node #0,3,1: 86:[39, 36] Operation: 83-47=36 Exploring Operation: 39+47=86, Resulting Numbers: [83, 86] Generated Node #0,3,2: 86:[83, 86] Operation: 39+47=86 Exploring Operation: 83-39=44, Resulting Numbers: [47, 44] Generated Node #0,3,3: 86:[47, 44] Operation: 83-39=44 Exploring Operation: 47-39=8, Resulting Numbers: [83, 8] Generated Node #0,3,4: 86:[83, 8] Operation: 47-39=8 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[83, 86], Operations: ['14+33=47', '39+47=86'] Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,86 unequal: No Solution Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,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,3,3 Current State: 86:[47, 44], Operations: ['14+33=47', '83-39=44'] Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,86 unequal: No Solution Exploring Operation: 47*44=2068, Resulting Numbers: [2068] 2068,86 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,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,3,4 Current State: 86:[83, 8], Operations: ['14+33=47', '47-39=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,86 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,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,3,1 Current State: 86:[39, 36], Operations: ['14+33=47', '83-47=36'] Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,86 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,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,3,0 Current State: 86:[47, 122], Operations: ['14+33=47', '83+39=122'] Exploring Operation: 122-47=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 47*122=5734, Resulting Numbers: [5734] 5734,86 unequal: No Solution Exploring Operation: 47+122=169, Resulting Numbers: [169] 169,86 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: 86:[83, 14, 6], Operations: ['39-33=6'] Exploring Operation: 83+6=89, Resulting Numbers: [14, 89] Generated Node #0,2,0: 86:[14, 89] Operation: 83+6=89 Exploring Operation: 83-14=69, Resulting Numbers: [6, 69] Generated Node #0,2,1: 86:[6, 69] Operation: 83-14=69 Exploring Operation: 83+14=97, Resulting Numbers: [6, 97] Generated Node #0,2,2: 86:[6, 97] Operation: 83+14=97 Exploring Operation: 14*6=84, Resulting Numbers: [83, 84] Generated Node #0,2,3: 86:[83, 84] Operation: 14*6=84 Exploring Operation: 14-6=8, Resulting Numbers: [83, 8] Generated Node #0,2,4: 86:[83, 8] Operation: 14-6=8 Moving to Node #0,0 Current State: 86:[14, 39, 50], Operations: ['83-33=50'] Exploring Operation: 50-39=11, Resulting Numbers: [14, 11] Generated Node #0,0,0: 86:[14, 11] Operation: 50-39=11 Exploring Operation: 50-14=36, Resulting Numbers: [39, 36] Generated Node #0,0,1: 86:[39, 36] Operation: 50-14=36 Exploring Operation: 39-14=25, Resulting Numbers: [50, 25] Generated Node #0,0,2: 86:[50, 25] Operation: 39-14=25 Exploring Operation: 39+50=89, Resulting Numbers: [14, 89] Generated Node #0,0,3: 86:[14, 89] Operation: 39+50=89 Exploring Operation: 14+39=53, Resulting Numbers: [50, 53] Generated Node #0,0,4: 86:[50, 53] Operation: 14+39=53 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[39, 36], Operations: ['83-33=50', '50-14=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,86 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[14, 89], Operations: ['83-33=50', '39+50=89'] Exploring Operation: 14+89=103, Resulting Numbers: [103] 103,86 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 14*89=1246, Resulting Numbers: [1246] 1246,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 86:[50, 53], Operations: ['83-33=50', '14+39=53'] Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 50+53=103, Resulting Numbers: [103] 103,86 unequal: No Solution Exploring Operation: 50*53=2650, Resulting Numbers: [2650] 2650,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[14, 11], Operations: ['83-33=50', '50-39=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,86 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,86 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[50, 25], Operations: ['83-33=50', '39-14=25'] Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,86 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,86 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[14, 33, 44], Operations: ['83-39=44'] Exploring Operation: 44-33=11, Resulting Numbers: [14, 11] Generated Node #0,1,0: 86:[14, 11] Operation: 44-33=11 Exploring Operation: 33+44=77, Resulting Numbers: [14, 77] Generated Node #0,1,1: 86:[14, 77] Operation: 33+44=77 Exploring Operation: 44-14=30, Resulting Numbers: [33, 30] Generated Node #0,1,2: 86:[33, 30] Operation: 44-14=30 Exploring Operation: 14+33=47, Resulting Numbers: [44, 47] Generated Node #0,1,3: 86:[44, 47] Operation: 14+33=47 Exploring Operation: 33-14=19, Resulting Numbers: [44, 19] Generated Node #0,1,4: 86:[44, 19] Operation: 33-14=19 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[44, 47], Operations: ['83-39=44', '14+33=47'] Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,86 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,86 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,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,4 Current State: 86:[44, 19], Operations: ['83-39=44', '33-14=19'] Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,86 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,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,0 Current State: 86:[14, 11], Operations: ['83-39=44', '44-33=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,86 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,86 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[14, 77], Operations: ['83-39=44', '33+44=77'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 14+77=91, Resulting Numbers: [91] 91,86 unequal: No Solution Exploring Operation: 14*77=1078, Resulting Numbers: [1078] 1078,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,2 Current State: 86:[33, 30], Operations: ['83-39=44', '44-14=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,86 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,86 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: 86:[83, 33, 53], Operations: ['14+39=53'] Exploring Operation: 53-33=20, Resulting Numbers: [83, 20] Generated Node #0,4,0: 86:[83, 20] Operation: 53-33=20 Exploring Operation: 33+53=86, Resulting Numbers: [83, 86] Generated Node #0,4,1: 86:[83, 86] Operation: 33+53=86 Exploring Operation: 83-33=50, Resulting Numbers: [53, 50] Generated Node #0,4,2: 86:[53, 50] Operation: 83-33=50 Exploring Operation: 83+33=116, Resulting Numbers: [53, 116] Generated Node #0,4,3: 86:[53, 116] Operation: 83+33=116 Exploring Operation: 83-53=30, Resulting Numbers: [33, 30] Generated Node #0,4,4: 86:[33, 30] Operation: 83-53=30 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 86:[83, 86], Operations: ['14+39=53', '33+53=86'] Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,86 unequal: No Solution Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,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,4,2 Current State: 86:[53, 50], Operations: ['14+39=53', '83-33=50'] Exploring Operation: 53+50=103, Resulting Numbers: [103] 103,86 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 53*50=2650, Resulting Numbers: [2650] 2650,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,4,0 Current State: 86:[83, 20], Operations: ['14+39=53', '53-33=20'] Exploring Operation: 83*20=1660, Resulting Numbers: [1660] 1660,86 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,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,4,4 Current State: 86:[33, 30], Operations: ['14+39=53', '83-53=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,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,4,3 Current State: 86:[53, 116], Operations: ['14+39=53', '83+33=116'] Exploring Operation: 53*116=6148, Resulting Numbers: [6148] 6148,86 unequal: No Solution Exploring Operation: 116-53=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 53+116=169, Resulting Numbers: [169] 169,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 86:[83, 84], Operations: ['39-33=6', '14*6=84'] Exploring Operation: 83*84=6972, Resulting Numbers: [6972] 6972,86 unequal: No Solution Exploring Operation: 83+84=167, Resulting Numbers: [167] 167,86 unequal: No Solution Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[83, 8], Operations: ['39-33=6', '14-6=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,86 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,86 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[14, 89], Operations: ['39-33=6', '83+6=89'] Exploring Operation: 14+89=103, Resulting Numbers: [103] 103,86 unequal: No Solution Exploring Operation: 14*89=1246, Resulting Numbers: [1246] 1246,86 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[6, 97], Operations: ['39-33=6', '83+14=97'] Exploring Operation: 6+97=103, Resulting Numbers: [103] 103,86 unequal: No Solution Exploring Operation: 6*97=582, Resulting Numbers: [582] 582,86 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[6, 69], Operations: ['39-33=6', '83-14=69'] Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,86 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 14, 10, 56, 36 ]
22
[ "14-10=4", "56/4=14", "36-14=22" ]
Current State: 22:[14, 10, 56, 36], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [56, 36, 4] Generated Node #2: [56, 36, 4] from Operation: 14-10=4 Current State: 22:[56, 36, 4], Operations: ['14-10=4'] Exploring Operation: 56/4=14, Resulting Numbers: [36, 14] Generated Node #3: [36, 14] from Operation: 56/4=14 Current State: 22:[36, 14], Operations: ['14-10=4', '56/4=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[14, 10, 56, 36], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [14, 10, 20] Generated Node #0,0: 22:[14, 10, 20] Operation: 56-36=20 Exploring Operation: 56/14=4, Resulting Numbers: [10, 36, 4] Generated Node #0,1: 22:[10, 36, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[14, 10, 20], Operations: ['56-36=20'] Exploring Operation: 14+10=24, Resulting Numbers: [20, 24] Generated Node #0,0,0: 22:[20, 24] Operation: 14+10=24 Exploring Operation: 20/10=2, Resulting Numbers: [14, 2] Generated Node #0,0,1: 22:[14, 2] Operation: 20/10=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[14, 2], Operations: ['56-36=20', '20/10=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,22 unequal: No Solution No 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: 22:[20, 24], Operations: ['56-36=20', '14+10=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,22 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: 22:[10, 36, 4], Operations: ['56/14=4'] Exploring Operation: 36-10=26, Resulting Numbers: [4, 26] Generated Node #0,1,0: 22:[4, 26] Operation: 36-10=26 Exploring Operation: 36/4=9, Resulting Numbers: [10, 9] Generated Node #0,1,1: 22:[10, 9] Operation: 36/4=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[10, 9], Operations: ['56/14=4', '36/4=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,22 unequal: No Solution No 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: 22:[4, 26], Operations: ['56/14=4', '36-10=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[14, 10, 56, 36], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [10, 36, 4] Generated Node #0,1: 22:[10, 36, 4] Operation: 56/14=4 Moving to Node #0,1 Current State: 22:[10, 36, 4], Operations: ['56/14=4'] Exploring Operation: 36-10=26, Resulting Numbers: [4, 26] Generated Node #0,1,0: 22:[4, 26] Operation: 36-10=26 Moving to Node #0,1,0 Current State: 22:[4, 26], Operations: ['56/14=4', '36-10=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 69, 33, 22, 81 ]
15
[ "22*81=1782", "1782/33=54", "69-54=15" ]
Current State: 15:[69, 33, 22, 81], Operations: [] Exploring Operation: 22*81=1782, Resulting Numbers: [69, 33, 1782] Generated Node #2: [69, 33, 1782] from Operation: 22*81=1782 Current State: 15:[69, 33, 1782], Operations: ['22*81=1782'] Exploring Operation: 1782/33=54, Resulting Numbers: [69, 54] Generated Node #3: [69, 54] from Operation: 1782/33=54 Current State: 15:[69, 54], Operations: ['22*81=1782', '1782/33=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[69, 33, 22, 81], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [33, 22, 12] Generated Node #0,0: 15:[33, 22, 12] Operation: 81-69=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[33, 22, 12], Operations: ['81-69=12'] Exploring Operation: 33-22=11, Resulting Numbers: [12, 11] Generated Node #0,0,0: 15:[12, 11] Operation: 33-22=11 Moving to Node #0,0,0 Current State: 15:[12, 11], Operations: ['81-69=12', '33-22=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 68, 69, 60 ]
68
[ "60-60=0", "69*0=0", "68+0=68" ]
Current State: 68:[60, 68, 69, 60], Operations: [] Exploring Operation: 60-60=0, Resulting Numbers: [68, 69, 0] Generated Node #2: [68, 69, 0] from Operation: 60-60=0 Current State: 68:[68, 69, 0], Operations: ['60-60=0'] Exploring Operation: 69*0=0, Resulting Numbers: [68, 0] Generated Node #3: [68, 0] from Operation: 69*0=0 Current State: 68:[68, 0], Operations: ['60-60=0', '69*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[60, 68, 69, 60], Operations: [] Exploring Operation: 60/60=1, Resulting Numbers: [68, 69, 1] Generated Node #0,0: 68:[68, 69, 1] Operation: 60/60=1 Exploring Operation: 68-60=8, Resulting Numbers: [69, 60, 8] Generated Node #0,1: 68:[69, 60, 8] Operation: 68-60=8 Exploring Operation: 60-60=0, Resulting Numbers: [68, 69, 0] Generated Node #0,2: 68:[68, 69, 0] Operation: 60-60=0 Moving to Node #0,0 Current State: 68:[68, 69, 1], Operations: ['60/60=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68, 68] Generated Node #0,0,0: 68:[68, 68] Operation: 69-1=68 Exploring Operation: 68*1=68, Resulting Numbers: [69, 68] Generated Node #0,0,1: 68:[69, 68] Operation: 68*1=68 Exploring Operation: 68/1=68, Resulting Numbers: [69, 68] Generated Node #0,0,2: 68:[69, 68] Operation: 68/1=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[68, 68], Operations: ['60/60=1', '69-1=68'] Exploring Operation: 68/68=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 68+68=136, Resulting Numbers: [136] 136,68 unequal: No Solution Exploring Operation: 68-68=0, Resulting Numbers: [0] 0,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[69, 68], Operations: ['60/60=1', '68*1=68'] Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[69, 68], Operations: ['60/60=1', '68/1=68'] Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 68:[68, 69, 0], Operations: ['60-60=0'] Exploring Operation: 68+0=68, Resulting Numbers: [69, 68] Generated Node #0,2,0: 68:[69, 68] Operation: 68+0=68 Exploring Operation: 68-0=68, Resulting Numbers: [69, 68] Generated Node #0,2,1: 68:[69, 68] Operation: 68-0=68 Exploring Operation: 69+0=69, Resulting Numbers: [68, 69] Generated Node #0,2,2: 68:[68, 69] Operation: 69+0=69 Moving to Node #0,1 Current State: 68:[69, 60, 8], Operations: ['68-60=8'] Exploring Operation: 69-8=61, Resulting Numbers: [60, 61] Generated Node #0,1,0: 68:[60, 61] Operation: 69-8=61 Exploring Operation: 60+8=68, Resulting Numbers: [69, 68] Generated Node #0,1,1: 68:[69, 68] Operation: 60+8=68 Exploring Operation: 69-60=9, Resulting Numbers: [8, 9] Generated Node #0,1,2: 68:[8, 9] Operation: 69-60=9 Moving to Node #0,2,0 Current State: 68:[69, 68], Operations: ['60-60=0', '68+0=68'] Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[68, 69], Operations: ['60-60=0', '69+0=69'] Exploring Operation: 68+69=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 68*69=4692, Resulting Numbers: [4692] 4692,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[69, 68], Operations: ['60-60=0', '68-0=68'] Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,68 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[69, 68], Operations: ['68-60=8', '60+8=68'] Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,68 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[8, 9], Operations: ['68-60=8', '69-60=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[60, 61], Operations: ['68-60=8', '69-8=61'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,68 unequal: No Solution Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,68 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 2, 68, 3, 21 ]
46
[ "2+68=70", "3+21=24", "70-24=46" ]
Current State: 46:[2, 68, 3, 21], Operations: [] Exploring Operation: 2+68=70, Resulting Numbers: [3, 21, 70] Generated Node #2: [3, 21, 70] from Operation: 2+68=70 Current State: 46:[3, 21, 70], Operations: ['2+68=70'] Exploring Operation: 3+21=24, Resulting Numbers: [70, 24] Generated Node #3: [70, 24] from Operation: 3+21=24 Current State: 46:[70, 24], Operations: ['2+68=70', '3+21=24'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[2, 68, 3, 21], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [3, 21, 34] Generated Node #0,0: 46:[3, 21, 34] Operation: 68/2=34 Exploring Operation: 68-21=47, Resulting Numbers: [2, 3, 47] Generated Node #0,1: 46:[2, 3, 47] Operation: 68-21=47 Exploring Operation: 68-3=65, Resulting Numbers: [2, 21, 65] Generated Node #0,2: 46:[2, 21, 65] Operation: 68-3=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[2, 3, 47], Operations: ['68-21=47'] Exploring Operation: 47-3=44, Resulting Numbers: [2, 44] Generated Node #0,1,0: 46:[2, 44] Operation: 47-3=44 Exploring Operation: 47-2=45, Resulting Numbers: [3, 45] Generated Node #0,1,1: 46:[3, 45] Operation: 47-2=45 Exploring Operation: 3-2=1, Resulting Numbers: [47, 1] Generated Node #0,1,2: 46:[47, 1] Operation: 3-2=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[2, 44], Operations: ['68-21=47', '47-3=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[2, 68, 3, 21], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [2, 3, 47] Generated Node #0,1: 46:[2, 3, 47] Operation: 68-21=47 Moving to Node #0,1 Current State: 46:[2, 3, 47], Operations: ['68-21=47'] Exploring Operation: 47-3=44, Resulting Numbers: [2, 44] Generated Node #0,1,0: 46:[2, 44] Operation: 47-3=44 Moving to Node #0,1,0 Current State: 46:[2, 44], Operations: ['68-21=47', '47-3=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 34, 53, 33, 69 ]
56
[ "33+69=102", "102/34=3", "53+3=56" ]
Current State: 56:[34, 53, 33, 69], Operations: [] Exploring Operation: 33+69=102, Resulting Numbers: [34, 53, 102] Generated Node #2: [34, 53, 102] from Operation: 33+69=102 Current State: 56:[34, 53, 102], Operations: ['33+69=102'] Exploring Operation: 102/34=3, Resulting Numbers: [53, 3] Generated Node #3: [53, 3] from Operation: 102/34=3 Current State: 56:[53, 3], Operations: ['33+69=102', '102/34=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[34, 53, 33, 69], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [53, 69, 1] Generated Node #0,0: 56:[53, 69, 1] Operation: 34-33=1 Exploring Operation: 69-34=35, Resulting Numbers: [53, 33, 35] Generated Node #0,1: 56:[53, 33, 35] Operation: 69-34=35 Exploring Operation: 69-53=16, Resulting Numbers: [34, 33, 16] Generated Node #0,2: 56:[34, 33, 16] Operation: 69-53=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[34, 33, 16], Operations: ['69-53=16'] Exploring Operation: 34-33=1, Resulting Numbers: [16, 1] Generated Node #0,2,0: 56:[16, 1] Operation: 34-33=1 Exploring Operation: 34-16=18, Resulting Numbers: [33, 18] Generated Node #0,2,1: 56:[33, 18] Operation: 34-16=18 Exploring Operation: 33-16=17, Resulting Numbers: [34, 17] Generated Node #0,2,2: 56:[34, 17] Operation: 33-16=17 Moving to Node #0,2,0 Current State: 56:[16, 1], Operations: ['69-53=16', '34-33=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[33, 18], Operations: ['69-53=16', '34-16=18'] Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,56 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[34, 17], Operations: ['69-53=16', '33-16=17'] Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,56 unequal: No Solution No solution 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: 56:[53, 33, 35], Operations: ['69-34=35'] Exploring Operation: 53-33=20, Resulting Numbers: [35, 20] Generated Node #0,1,0: 56:[35, 20] Operation: 53-33=20 Exploring Operation: 35-33=2, Resulting Numbers: [53, 2] Generated Node #0,1,1: 56:[53, 2] Operation: 35-33=2 Exploring Operation: 53-35=18, Resulting Numbers: [33, 18] Generated Node #0,1,2: 56:[33, 18] Operation: 53-35=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[53, 2], Operations: ['69-34=35', '35-33=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,56 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,56 unequal: No Solution No 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: 56:[33, 18], Operations: ['69-34=35', '53-35=18'] Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,56 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,56 unequal: No Solution No 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: 56:[35, 20], Operations: ['69-34=35', '53-33=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,56 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,56 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: 56:[53, 69, 1], Operations: ['34-33=1'] Exploring Operation: 69-1=68, Resulting Numbers: [53, 68] Generated Node #0,0,0: 56:[53, 68] Operation: 69-1=68 Exploring Operation: 53+1=54, Resulting Numbers: [69, 54] Generated Node #0,0,1: 56:[69, 54] Operation: 53+1=54 Exploring Operation: 69-53=16, Resulting Numbers: [1, 16] Generated Node #0,0,2: 56:[1, 16] Operation: 69-53=16 Moving to Node #0,0,2 Current State: 56:[1, 16], Operations: ['34-33=1', '69-53=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[53, 68], Operations: ['34-33=1', '69-1=68'] Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 53*68=3604, Resulting Numbers: [3604] 3604,56 unequal: No Solution Exploring Operation: 53+68=121, Resulting Numbers: [121] 121,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[69, 54], Operations: ['34-33=1', '53+1=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,56 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,56 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
[ 12, 65, 68, 64 ]
52
[ "12+68=80", "65*64=4160", "4160/80=52" ]
Current State: 52:[12, 65, 68, 64], Operations: [] Exploring Operation: 12+68=80, Resulting Numbers: [65, 64, 80] Generated Node #2: [65, 64, 80] from Operation: 12+68=80 Current State: 52:[65, 64, 80], Operations: ['12+68=80'] Exploring Operation: 65*64=4160, Resulting Numbers: [80, 4160] Generated Node #3: [80, 4160] from Operation: 65*64=4160 Current State: 52:[80, 4160], Operations: ['12+68=80', '65*64=4160'] Exploring Operation: 4160/80=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[12, 65, 68, 64], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [12, 64, 3] Generated Node #0,0: 52:[12, 64, 3] Operation: 68-65=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[12, 64, 3], Operations: ['68-65=3'] Exploring Operation: 64-12=52, Resulting Numbers: [3, 52] Generated Node #0,0,0: 52:[3, 52] Operation: 64-12=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[3, 52], Operations: ['68-65=3', '64-12=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,52 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
[ 20, 11, 4, 40 ]
16
[ "20+40=60", "11*4=44", "60-44=16" ]
Current State: 16:[20, 11, 4, 40], Operations: [] Exploring Operation: 20+40=60, Resulting Numbers: [11, 4, 60] Generated Node #2: [11, 4, 60] from Operation: 20+40=60 Current State: 16:[11, 4, 60], Operations: ['20+40=60'] Exploring Operation: 11*4=44, Resulting Numbers: [60, 44] Generated Node #3: [60, 44] from Operation: 11*4=44 Current State: 16:[60, 44], Operations: ['20+40=60', '11*4=44'] Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[20, 11, 4, 40], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [11, 4, 2] Generated Node #0,0: 16:[11, 4, 2] Operation: 40/20=2 Moving to Node #0,0 Current State: 16:[11, 4, 2], Operations: ['40/20=2'] Exploring Operation: 11+4=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 16:[2, 15] Operation: 11+4=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[2, 15], Operations: ['40/20=2', '11+4=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 91, 56, 65, 13 ]
48
[ "65+13=78", "56*78=4368", "4368/91=48" ]
Current State: 48:[91, 56, 65, 13], Operations: [] Exploring Operation: 65+13=78, Resulting Numbers: [91, 56, 78] Generated Node #2: [91, 56, 78] from Operation: 65+13=78 Current State: 48:[91, 56, 78], Operations: ['65+13=78'] Exploring Operation: 56*78=4368, Resulting Numbers: [91, 4368] Generated Node #3: [91, 4368] from Operation: 56*78=4368 Current State: 48:[91, 4368], Operations: ['65+13=78', '56*78=4368'] Exploring Operation: 4368/91=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[91, 56, 65, 13], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [56, 13, 26] Generated Node #0,0: 48:[56, 13, 26] Operation: 91-65=26 Exploring Operation: 91-56=35, Resulting Numbers: [65, 13, 35] Generated Node #0,1: 48:[65, 13, 35] Operation: 91-56=35 Exploring Operation: 65-56=9, Resulting Numbers: [91, 13, 9] Generated Node #0,2: 48:[91, 13, 9] Operation: 65-56=9 Exploring Operation: 65/13=5, Resulting Numbers: [91, 56, 5] Generated Node #0,3: 48:[91, 56, 5] Operation: 65/13=5 Exploring Operation: 91/13=7, Resulting Numbers: [56, 65, 7] Generated Node #0,4: 48:[56, 65, 7] Operation: 91/13=7 Moving to Node #0,0 Current State: 48:[56, 13, 26], Operations: ['91-65=26'] Exploring Operation: 13+26=39, Resulting Numbers: [56, 39] Generated Node #0,0,0: 48:[56, 39] Operation: 13+26=39 Exploring Operation: 56-26=30, Resulting Numbers: [13, 30] Generated Node #0,0,1: 48:[13, 30] Operation: 56-26=30 Exploring Operation: 56-13=43, Resulting Numbers: [26, 43] Generated Node #0,0,2: 48:[26, 43] Operation: 56-13=43 Exploring Operation: 26-13=13, Resulting Numbers: [56, 13] Generated Node #0,0,3: 48:[56, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [56, 2] Generated Node #0,0,4: 48:[56, 2] Operation: 26/13=2 Moving to Node #0,4 Current State: 48:[56, 65, 7], Operations: ['91/13=7'] Exploring Operation: 56-7=49, Resulting Numbers: [65, 49] Generated Node #0,4,0: 48:[65, 49] Operation: 56-7=49 Exploring Operation: 65-56=9, Resulting Numbers: [7, 9] Generated Node #0,4,1: 48:[7, 9] Operation: 65-56=9 Exploring Operation: 65-7=58, Resulting Numbers: [56, 58] Generated Node #0,4,2: 48:[56, 58] Operation: 65-7=58 Exploring Operation: 56/7=8, Resulting Numbers: [65, 8] Generated Node #0,4,3: 48:[65, 8] Operation: 56/7=8 Exploring Operation: 56+7=63, Resulting Numbers: [65, 63] Generated Node #0,4,4: 48:[65, 63] Operation: 56+7=63 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 48:[7, 9], Operations: ['91/13=7', '65-56=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 48:[65, 8], Operations: ['91/13=7', '56/7=8'] Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 48:[65, 49], Operations: ['91/13=7', '56-7=49'] Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,48 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 48:[56, 58], Operations: ['91/13=7', '65-7=58'] Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 56*58=3248, Resulting Numbers: [3248] 3248,48 unequal: No Solution Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 48:[65, 63], Operations: ['91/13=7', '56+7=63'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 65*63=4095, Resulting Numbers: [4095] 4095,48 unequal: No Solution Exploring Operation: 65+63=128, Resulting Numbers: [128] 128,48 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: 48:[65, 13, 35], Operations: ['91-56=35'] Exploring Operation: 65-35=30, Resulting Numbers: [13, 30] Generated Node #0,1,0: 48:[13, 30] Operation: 65-35=30 Exploring Operation: 13+35=48, Resulting Numbers: [65, 48] Generated Node #0,1,1: 48:[65, 48] Operation: 13+35=48 Exploring Operation: 65/13=5, Resulting Numbers: [35, 5] Generated Node #0,1,2: 48:[35, 5] Operation: 65/13=5 Exploring Operation: 35-13=22, Resulting Numbers: [65, 22] Generated Node #0,1,3: 48:[65, 22] Operation: 35-13=22 Exploring Operation: 65-13=52, Resulting Numbers: [35, 52] Generated Node #0,1,4: 48:[35, 52] Operation: 65-13=52 Moving to Node #0,2 Current State: 48:[91, 13, 9], Operations: ['65-56=9'] Exploring Operation: 91-13=78, Resulting Numbers: [9, 78] Generated Node #0,2,0: 48:[9, 78] Operation: 91-13=78 Exploring Operation: 91-9=82, Resulting Numbers: [13, 82] Generated Node #0,2,1: 48:[13, 82] Operation: 91-9=82 Exploring Operation: 13-9=4, Resulting Numbers: [91, 4] Generated Node #0,2,2: 48:[91, 4] Operation: 13-9=4 Exploring Operation: 91/13=7, Resulting Numbers: [9, 7] Generated Node #0,2,3: 48:[9, 7] Operation: 91/13=7 Exploring Operation: 13+9=22, Resulting Numbers: [91, 22] Generated Node #0,2,4: 48:[91, 22] Operation: 13+9=22 Moving to Node #0,3 Current State: 48:[91, 56, 5], Operations: ['65/13=5'] Exploring Operation: 91+5=96, Resulting Numbers: [56, 96] Generated Node #0,3,0: 48:[56, 96] Operation: 91+5=96 Exploring Operation: 91-5=86, Resulting Numbers: [56, 86] Generated Node #0,3,1: 48:[56, 86] Operation: 91-5=86 Exploring Operation: 91-56=35, Resulting Numbers: [5, 35] Generated Node #0,3,2: 48:[5, 35] Operation: 91-56=35 Exploring Operation: 56-5=51, Resulting Numbers: [91, 51] Generated Node #0,3,3: 48:[91, 51] Operation: 56-5=51 Exploring Operation: 56+5=61, Resulting Numbers: [91, 61] Generated Node #0,3,4: 48:[91, 61] Operation: 56+5=61 Moving to Node #0,2,3 Current State: 48:[9, 7], Operations: ['65-56=9', '91/13=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[13, 30], Operations: ['91-56=35', '65-35=30'] Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,48 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[13, 30], Operations: ['91-65=26', '56-26=30'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,48 unequal: No Solution Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[26, 43], Operations: ['91-65=26', '56-13=43'] Exploring Operation: 26*43=1118, Resulting Numbers: [1118] 1118,48 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[56, 2], Operations: ['91-65=26', '26/13=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,48 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[56, 13], Operations: ['91-65=26', '26-13=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,48 unequal: No Solution Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[35, 5], Operations: ['91-56=35', '65/13=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,48 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[5, 35], Operations: ['65/13=5', '91-56=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,48 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[35, 52], Operations: ['91-56=35', '65-13=52'] Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 35*52=1820, Resulting Numbers: [1820] 1820,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[56, 39], Operations: ['91-65=26', '13+26=39'] Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,48 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[65, 48], Operations: ['91-56=35', '13+35=48'] Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 65*48=3120, Resulting Numbers: [3120] 3120,48 unequal: No Solution Exploring Operation: 65+48=113, Resulting Numbers: [113] 113,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[65, 22], Operations: ['91-56=35', '35-13=22'] Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,48 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[9, 78], Operations: ['65-56=9', '91-13=78'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[13, 82], Operations: ['65-56=9', '91-9=82'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 13*82=1066, Resulting Numbers: [1066] 1066,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[91, 4], Operations: ['65-56=9', '13-9=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,48 unequal: No Solution Moving to Node #0,2,4 Current State: 48:[91, 22], Operations: ['65-56=9', '13+9=22'] Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,48 unequal: No Solution Exploring Operation: 91*22=2002, Resulting Numbers: [2002] 2002,48 unequal: No Solution Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[91, 51], Operations: ['65/13=5', '56-5=51'] Exploring Operation: 91-51=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 91+51=142, Resulting Numbers: [142] 142,48 unequal: No Solution Exploring Operation: 91*51=4641, Resulting Numbers: [4641] 4641,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[56, 86], Operations: ['65/13=5', '91-5=86'] Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 56*86=4816, Resulting Numbers: [4816] 4816,48 unequal: No Solution Exploring Operation: 56+86=142, Resulting Numbers: [142] 142,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[91, 61], Operations: ['65/13=5', '56+5=61'] Exploring Operation: 91+61=152, Resulting Numbers: [152] 152,48 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 91*61=5551, Resulting Numbers: [5551] 5551,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[56, 96], Operations: ['65/13=5', '91+5=96'] Exploring Operation: 56*96=5376, Resulting Numbers: [5376] 5376,48 unequal: No Solution Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 56+96=152, Resulting Numbers: [152] 152,48 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 86, 98, 11, 9 ]
10
[ "98-86=12", "11-9=2", "12-2=10" ]
Current State: 10:[86, 98, 11, 9], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [11, 9, 12] Generated Node #2: [11, 9, 12] from Operation: 98-86=12 Current State: 10:[11, 9, 12], Operations: ['98-86=12'] Exploring Operation: 11-9=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 11-9=2 Current State: 10:[12, 2], Operations: ['98-86=12', '11-9=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[86, 98, 11, 9], Operations: [] Exploring Operation: 86-9=77, Resulting Numbers: [98, 11, 77] Generated Node #0,0: 10:[98, 11, 77] Operation: 86-9=77 Exploring Operation: 86-11=75, Resulting Numbers: [98, 9, 75] Generated Node #0,1: 10:[98, 9, 75] Operation: 86-11=75 Exploring Operation: 98-11=87, Resulting Numbers: [86, 9, 87] Generated Node #0,2: 10:[86, 9, 87] Operation: 98-11=87 Exploring Operation: 98-86=12, Resulting Numbers: [11, 9, 12] Generated Node #0,3: 10:[11, 9, 12] Operation: 98-86=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[11, 9, 12], Operations: ['98-86=12'] Exploring Operation: 12-9=3, Resulting Numbers: [11, 3] Generated Node #0,3,0: 10:[11, 3] Operation: 12-9=3 Exploring Operation: 11-9=2, Resulting Numbers: [12, 2] Generated Node #0,3,1: 10:[12, 2] Operation: 11-9=2 Exploring Operation: 11+9=20, Resulting Numbers: [12, 20] Generated Node #0,3,2: 10:[12, 20] Operation: 11+9=20 Exploring Operation: 12-11=1, Resulting Numbers: [9, 1] Generated Node #0,3,3: 10:[9, 1] Operation: 12-11=1 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[11, 3], Operations: ['98-86=12', '12-9=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[12, 2], Operations: ['98-86=12', '11-9=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[86, 98, 11, 9], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [11, 9, 12] Generated Node #0,3: 10:[11, 9, 12] Operation: 98-86=12 Moving to Node #0,3 Current State: 10:[11, 9, 12], Operations: ['98-86=12'] Exploring Operation: 11-9=2, Resulting Numbers: [12, 2] Generated Node #0,3,1: 10:[12, 2] Operation: 11-9=2 Moving to Node #0,3,1 Current State: 10:[12, 2], Operations: ['98-86=12', '11-9=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic