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
[ 73, 12, 84, 8 ]
64
[ "84-12=72", "72/8=9", "73-9=64" ]
Current State: 64:[73, 12, 84, 8], Operations: [] Exploring Operation: 84-12=72, Resulting Numbers: [73, 8, 72] Generated Node #2: [73, 8, 72] from Operation: 84-12=72 Current State: 64:[73, 8, 72], Operations: ['84-12=72'] Exploring Operation: 72/8=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 72/8=9 Current State: 64:[73, 9], Operations: ['84-12=72', '72/8=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[73, 12, 84, 8], Operations: [] Exploring Operation: 84/12=7, Resulting Numbers: [73, 8, 7] Generated Node #0,0: 64:[73, 8, 7] Operation: 84/12=7 Exploring Operation: 84-73=11, Resulting Numbers: [12, 8, 11] Generated Node #0,1: 64:[12, 8, 11] Operation: 84-73=11 Moving to Node #0,1 Current State: 64:[12, 8, 11], Operations: ['84-73=11'] Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #0,1,0: 64:[11, 4] Operation: 12-8=4 Exploring Operation: 12-11=1, Resulting Numbers: [8, 1] Generated Node #0,1,1: 64:[8, 1] Operation: 12-11=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[8, 1], Operations: ['84-73=11', '12-11=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[11, 4], Operations: ['84-73=11', '12-8=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,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:[73, 8, 7], Operations: ['84/12=7'] Exploring Operation: 73-8=65, Resulting Numbers: [7, 65] Generated Node #0,0,0: 64:[7, 65] Operation: 73-8=65 Exploring Operation: 73-7=66, Resulting Numbers: [8, 66] Generated Node #0,0,1: 64:[8, 66] Operation: 73-7=66 Moving to Node #0,0,0 Current State: 64:[7, 65], Operations: ['84/12=7', '73-8=65'] Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[8, 66], Operations: ['84/12=7', '73-7=66'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,64 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 20, 87, 91, 68 ]
84
[ "20+87=107", "91-68=23", "107-23=84" ]
Current State: 84:[20, 87, 91, 68], Operations: [] Exploring Operation: 20+87=107, Resulting Numbers: [91, 68, 107] Generated Node #2: [91, 68, 107] from Operation: 20+87=107 Current State: 84:[91, 68, 107], Operations: ['20+87=107'] Exploring Operation: 91-68=23, Resulting Numbers: [107, 23] Generated Node #3: [107, 23] from Operation: 91-68=23 Current State: 84:[107, 23], Operations: ['20+87=107', '91-68=23'] Exploring Operation: 107-23=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[20, 87, 91, 68], Operations: [] Exploring Operation: 91-68=23, Resulting Numbers: [20, 87, 23] Generated Node #0,0: 84:[20, 87, 23] Operation: 91-68=23 Moving to Node #0,0 Current State: 84:[20, 87, 23], Operations: ['91-68=23'] Exploring Operation: 23-20=3, Resulting Numbers: [87, 3] Generated Node #0,0,0: 84:[87, 3] Operation: 23-20=3 Moving to Node #0,0,0 Current State: 84:[87, 3], Operations: ['91-68=23', '23-20=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[20, 87, 91, 68], Operations: [] Exploring Operation: 91-68=23, Resulting Numbers: [20, 87, 23] Generated Node #0,0: 84:[20, 87, 23] Operation: 91-68=23 Moving to Node #0,0 Current State: 84:[20, 87, 23], Operations: ['91-68=23'] Exploring Operation: 23-20=3, Resulting Numbers: [87, 3] Generated Node #0,0,0: 84:[87, 3] Operation: 23-20=3 Moving to Node #0,0,0 Current State: 84:[87, 3], Operations: ['91-68=23', '23-20=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 37, 59, 28, 62 ]
83
[ "62-59=3", "37*3=111", "111-28=83" ]
Current State: 83:[37, 59, 28, 62], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [37, 28, 3] Generated Node #2: [37, 28, 3] from Operation: 62-59=3 Current State: 83:[37, 28, 3], Operations: ['62-59=3'] Exploring Operation: 37*3=111, Resulting Numbers: [28, 111] Generated Node #3: [28, 111] from Operation: 37*3=111 Current State: 83:[28, 111], Operations: ['62-59=3', '37*3=111'] Exploring Operation: 111-28=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[37, 59, 28, 62], Operations: [] Exploring Operation: 37+28=65, Resulting Numbers: [59, 62, 65] Generated Node #0,0: 83:[59, 62, 65] Operation: 37+28=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[59, 62, 65], Operations: ['37+28=65'] Exploring Operation: 59+62=121, Resulting Numbers: [65, 121] Generated Node #0,0,0: 83:[65, 121] Operation: 59+62=121 Moving to Node #0,0,0 Current State: 83:[65, 121], Operations: ['37+28=65', '59+62=121'] Exploring Operation: 121-65=56, Resulting Numbers: [56] 56,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 79, 45, 56, 42 ]
89
[ "45-42=3", "56*3=168", "168-79=89" ]
Current State: 89:[79, 45, 56, 42], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [79, 56, 3] Generated Node #2: [79, 56, 3] from Operation: 45-42=3 Current State: 89:[79, 56, 3], Operations: ['45-42=3'] Exploring Operation: 56*3=168, Resulting Numbers: [79, 168] Generated Node #3: [79, 168] from Operation: 56*3=168 Current State: 89:[79, 168], Operations: ['45-42=3', '56*3=168'] Exploring Operation: 168-79=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[79, 45, 56, 42], Operations: [] Exploring Operation: 79+42=121, Resulting Numbers: [45, 56, 121] Generated Node #0,0: 89:[45, 56, 121] Operation: 79+42=121 Exploring Operation: 56+42=98, Resulting Numbers: [79, 45, 98] Generated Node #0,1: 89:[79, 45, 98] Operation: 56+42=98 Exploring Operation: 79+45=124, Resulting Numbers: [56, 42, 124] Generated Node #0,2: 89:[56, 42, 124] Operation: 79+45=124 Exploring Operation: 45+56=101, Resulting Numbers: [79, 42, 101] Generated Node #0,3: 89:[79, 42, 101] Operation: 45+56=101 Exploring Operation: 45+42=87, Resulting Numbers: [79, 56, 87] Generated Node #0,4: 89:[79, 56, 87] Operation: 45+42=87 Moving to Node #0,4 Current State: 89:[79, 56, 87], Operations: ['45+42=87'] Exploring Operation: 79+87=166, Resulting Numbers: [56, 166] Generated Node #0,4,0: 89:[56, 166] Operation: 79+87=166 Exploring Operation: 87-56=31, Resulting Numbers: [79, 31] Generated Node #0,4,1: 89:[79, 31] Operation: 87-56=31 Exploring Operation: 79+56=135, Resulting Numbers: [87, 135] Generated Node #0,4,2: 89:[87, 135] Operation: 79+56=135 Exploring Operation: 79-56=23, Resulting Numbers: [87, 23] Generated Node #0,4,3: 89:[87, 23] Operation: 79-56=23 Exploring Operation: 56+87=143, Resulting Numbers: [79, 143] Generated Node #0,4,4: 89:[79, 143] Operation: 56+87=143 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 89:[87, 135], Operations: ['45+42=87', '79+56=135'] Exploring Operation: 87+135=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 87*135=11745, Resulting Numbers: [11745] 11745,89 unequal: No Solution Exploring Operation: 135-87=48, Resulting Numbers: [48] 48,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,4,4 Current State: 89:[79, 143], Operations: ['45+42=87', '56+87=143'] Exploring Operation: 79*143=11297, Resulting Numbers: [11297] 11297,89 unequal: No Solution Exploring Operation: 143-79=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 79+143=222, Resulting Numbers: [222] 222,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,4,1 Current State: 89:[79, 31], Operations: ['45+42=87', '87-56=31'] Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 79*31=2449, Resulting Numbers: [2449] 2449,89 unequal: No Solution Exploring Operation: 79+31=110, Resulting Numbers: [110] 110,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,4,3 Current State: 89:[87, 23], Operations: ['45+42=87', '79-56=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,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,4,0 Current State: 89:[56, 166], Operations: ['45+42=87', '79+87=166'] Exploring Operation: 166-56=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 56+166=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 56*166=9296, Resulting Numbers: [9296] 9296,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[79, 45, 98], Operations: ['56+42=98'] Exploring Operation: 45+98=143, Resulting Numbers: [79, 143] Generated Node #0,1,0: 89:[79, 143] Operation: 45+98=143 Exploring Operation: 98-79=19, Resulting Numbers: [45, 19] Generated Node #0,1,1: 89:[45, 19] Operation: 98-79=19 Exploring Operation: 79+45=124, Resulting Numbers: [98, 124] Generated Node #0,1,2: 89:[98, 124] Operation: 79+45=124 Exploring Operation: 79-45=34, Resulting Numbers: [98, 34] Generated Node #0,1,3: 89:[98, 34] Operation: 79-45=34 Exploring Operation: 98-45=53, Resulting Numbers: [79, 53] Generated Node #0,1,4: 89:[79, 53] Operation: 98-45=53 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[98, 124], Operations: ['56+42=98', '79+45=124'] Exploring Operation: 124-98=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 98+124=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 98*124=12152, Resulting Numbers: [12152] 12152,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 89:[79, 53], Operations: ['56+42=98', '98-45=53'] Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 79*53=4187, Resulting Numbers: [4187] 4187,89 unequal: No Solution Exploring Operation: 79+53=132, Resulting Numbers: [132] 132,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[79, 143], Operations: ['56+42=98', '45+98=143'] Exploring Operation: 79*143=11297, Resulting Numbers: [11297] 11297,89 unequal: No Solution Exploring Operation: 143-79=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 79+143=222, Resulting Numbers: [222] 222,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[98, 34], Operations: ['56+42=98', '79-45=34'] Exploring Operation: 98*34=3332, Resulting Numbers: [3332] 3332,89 unequal: No Solution Exploring Operation: 98+34=132, Resulting Numbers: [132] 132,89 unequal: No Solution Exploring Operation: 98-34=64, Resulting Numbers: [64] 64,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[45, 19], Operations: ['56+42=98', '98-79=19'] Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,89 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 89:[79, 42, 101], Operations: ['45+56=101'] Exploring Operation: 42+101=143, Resulting Numbers: [79, 143] Generated Node #0,3,0: 89:[79, 143] Operation: 42+101=143 Exploring Operation: 101-42=59, Resulting Numbers: [79, 59] Generated Node #0,3,1: 89:[79, 59] Operation: 101-42=59 Exploring Operation: 79-42=37, Resulting Numbers: [101, 37] Generated Node #0,3,2: 89:[101, 37] Operation: 79-42=37 Exploring Operation: 79+42=121, Resulting Numbers: [101, 121] Generated Node #0,3,3: 89:[101, 121] Operation: 79+42=121 Exploring Operation: 101-79=22, Resulting Numbers: [42, 22] Generated Node #0,3,4: 89:[42, 22] Operation: 101-79=22 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[79, 59], Operations: ['45+56=101', '101-42=59'] Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 79*59=4661, Resulting Numbers: [4661] 4661,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,3 Current State: 89:[101, 121], Operations: ['45+56=101', '79+42=121'] Exploring Operation: 101*121=12221, Resulting Numbers: [12221] 12221,89 unequal: No Solution Exploring Operation: 121-101=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 101+121=222, Resulting Numbers: [222] 222,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[79, 143], Operations: ['45+56=101', '42+101=143'] Exploring Operation: 79+143=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 79*143=11297, Resulting Numbers: [11297] 11297,89 unequal: No Solution Exploring Operation: 143-79=64, Resulting Numbers: [64] 64,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[101, 37], Operations: ['45+56=101', '79-42=37'] Exploring Operation: 101*37=3737, Resulting Numbers: [3737] 3737,89 unequal: No Solution Exploring Operation: 101+37=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 101-37=64, Resulting Numbers: [64] 64,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,4 Current State: 89:[42, 22], Operations: ['45+56=101', '101-79=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 89:[45, 56, 121], Operations: ['79+42=121'] Exploring Operation: 45+121=166, Resulting Numbers: [56, 166] Generated Node #0,0,0: 89:[56, 166] Operation: 45+121=166 Exploring Operation: 56-45=11, Resulting Numbers: [121, 11] Generated Node #0,0,1: 89:[121, 11] Operation: 56-45=11 Exploring Operation: 45+56=101, Resulting Numbers: [121, 101] Generated Node #0,0,2: 89:[121, 101] Operation: 45+56=101 Exploring Operation: 121-45=76, Resulting Numbers: [56, 76] Generated Node #0,0,3: 89:[56, 76] Operation: 121-45=76 Exploring Operation: 121-56=65, Resulting Numbers: [45, 65] Generated Node #0,0,4: 89:[45, 65] Operation: 121-56=65 Moving to Node #0,2 Current State: 89:[56, 42, 124], Operations: ['79+45=124'] Exploring Operation: 42+124=166, Resulting Numbers: [56, 166] Generated Node #0,2,0: 89:[56, 166] Operation: 42+124=166 Exploring Operation: 124-56=68, Resulting Numbers: [42, 68] Generated Node #0,2,1: 89:[42, 68] Operation: 124-56=68 Exploring Operation: 56+42=98, Resulting Numbers: [124, 98] Generated Node #0,2,2: 89:[124, 98] Operation: 56+42=98 Exploring Operation: 124-42=82, Resulting Numbers: [56, 82] Generated Node #0,2,3: 89:[56, 82] Operation: 124-42=82 Exploring Operation: 56-42=14, Resulting Numbers: [124, 14] Generated Node #0,2,4: 89:[124, 14] Operation: 56-42=14 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[56, 82], Operations: ['79+45=124', '124-42=82'] Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 56*82=4592, Resulting Numbers: [4592] 4592,89 unequal: No Solution Exploring Operation: 56+82=138, Resulting Numbers: [138] 138,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[124, 98], Operations: ['79+45=124', '56+42=98'] Exploring Operation: 124*98=12152, Resulting Numbers: [12152] 12152,89 unequal: No Solution Exploring Operation: 124+98=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 124-98=26, Resulting Numbers: [26] 26,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[42, 68], Operations: ['79+45=124', '124-56=68'] Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,89 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[56, 166], Operations: ['79+45=124', '42+124=166'] Exploring Operation: 56*166=9296, Resulting Numbers: [9296] 9296,89 unequal: No Solution Exploring Operation: 166-56=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 56+166=222, Resulting Numbers: [222] 222,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 89:[124, 14], Operations: ['79+45=124', '56-42=14'] Exploring Operation: 124*14=1736, Resulting Numbers: [1736] 1736,89 unequal: No Solution Exploring Operation: 124-14=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 124+14=138, Resulting Numbers: [138] 138,89 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: 89:[121, 101], Operations: ['79+42=121', '45+56=101'] Exploring Operation: 121+101=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 121*101=12221, Resulting Numbers: [12221] 12221,89 unequal: No Solution Exploring Operation: 121-101=20, Resulting Numbers: [20] 20,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[56, 76], Operations: ['79+42=121', '121-45=76'] Exploring Operation: 56*76=4256, Resulting Numbers: [4256] 4256,89 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 56+76=132, Resulting Numbers: [132] 132,89 unequal: No Solution Moving to Node #0,0,4 Current State: 89:[45, 65], Operations: ['79+42=121', '121-56=65'] Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 45*65=2925, Resulting Numbers: [2925] 2925,89 unequal: No Solution Exploring Operation: 45+65=110, Resulting Numbers: [110] 110,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[56, 166], Operations: ['79+42=121', '45+121=166'] Exploring Operation: 56*166=9296, Resulting Numbers: [9296] 9296,89 unequal: No Solution Exploring Operation: 56+166=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 166-56=110, Resulting Numbers: [110] 110,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[121, 11], Operations: ['79+42=121', '56-45=11'] Exploring Operation: 121-11=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 121+11=132, Resulting Numbers: [132] 132,89 unequal: No Solution Exploring Operation: 121/11=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 121*11=1331, Resulting Numbers: [1331] 1331,89 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 88, 15, 80, 30 ]
12
[ "88*15=1320", "80+30=110", "1320/110=12" ]
Current State: 12:[88, 15, 80, 30], Operations: [] Exploring Operation: 88*15=1320, Resulting Numbers: [80, 30, 1320] Generated Node #2: [80, 30, 1320] from Operation: 88*15=1320 Current State: 12:[80, 30, 1320], Operations: ['88*15=1320'] Exploring Operation: 80+30=110, Resulting Numbers: [1320, 110] Generated Node #3: [1320, 110] from Operation: 80+30=110 Current State: 12:[1320, 110], Operations: ['88*15=1320', '80+30=110'] Exploring Operation: 1320/110=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[88, 15, 80, 30], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [15, 80, 58] Generated Node #0,0: 12:[15, 80, 58] Operation: 88-30=58 Exploring Operation: 88-80=8, Resulting Numbers: [15, 30, 8] Generated Node #0,1: 12:[15, 30, 8] Operation: 88-80=8 Exploring Operation: 80-30=50, Resulting Numbers: [88, 15, 50] Generated Node #0,2: 12:[88, 15, 50] Operation: 80-30=50 Moving to Node #0,1 Current State: 12:[15, 30, 8], Operations: ['88-80=8'] Exploring Operation: 30/15=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 12:[8, 2] Operation: 30/15=2 Exploring Operation: 30-15=15, Resulting Numbers: [8, 15] Generated Node #0,1,1: 12:[8, 15] Operation: 30-15=15 Exploring Operation: 30-8=22, Resulting Numbers: [15, 22] Generated Node #0,1,2: 12:[15, 22] Operation: 30-8=22 Moving to Node #0,0 Current State: 12:[15, 80, 58], Operations: ['88-30=58'] Exploring Operation: 80-15=65, Resulting Numbers: [58, 65] Generated Node #0,0,0: 12:[58, 65] Operation: 80-15=65 Exploring Operation: 80-58=22, Resulting Numbers: [15, 22] Generated Node #0,0,1: 12:[15, 22] Operation: 80-58=22 Exploring Operation: 58-15=43, Resulting Numbers: [80, 43] Generated Node #0,0,2: 12:[80, 43] Operation: 58-15=43 Moving to Node #0,2 Current State: 12:[88, 15, 50], Operations: ['80-30=50'] Exploring Operation: 50-15=35, Resulting Numbers: [88, 35] Generated Node #0,2,0: 12:[88, 35] Operation: 50-15=35 Exploring Operation: 88-50=38, Resulting Numbers: [15, 38] Generated Node #0,2,1: 12:[15, 38] Operation: 88-50=38 Exploring Operation: 88-15=73, Resulting Numbers: [50, 73] Generated Node #0,2,2: 12:[50, 73] Operation: 88-15=73 Moving to Node #0,1,0 Current State: 12:[8, 2], Operations: ['88-80=8', '30/15=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[8, 15], Operations: ['88-80=8', '30-15=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[15, 22], Operations: ['88-80=8', '30-8=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[15, 22], Operations: ['88-30=58', '80-58=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[15, 38], Operations: ['80-30=50', '88-50=38'] Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,12 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[80, 43], Operations: ['88-30=58', '58-15=43'] Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 80+43=123, Resulting Numbers: [123] 123,12 unequal: No Solution Exploring Operation: 80*43=3440, Resulting Numbers: [3440] 3440,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[50, 73], Operations: ['80-30=50', '88-15=73'] Exploring Operation: 50*73=3650, Resulting Numbers: [3650] 3650,12 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 50+73=123, Resulting Numbers: [123] 123,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[58, 65], Operations: ['88-30=58', '80-15=65'] Exploring Operation: 58*65=3770, Resulting Numbers: [3770] 3770,12 unequal: No Solution Exploring Operation: 65-58=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 58+65=123, Resulting Numbers: [123] 123,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[88, 35], Operations: ['80-30=50', '50-15=35'] Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,12 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,12 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 39, 83, 11, 7 ]
62
[ "83-39=44", "11+7=18", "44+18=62" ]
Current State: 62:[39, 83, 11, 7], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [11, 7, 44] Generated Node #2: [11, 7, 44] from Operation: 83-39=44 Current State: 62:[11, 7, 44], Operations: ['83-39=44'] Exploring Operation: 11+7=18, Resulting Numbers: [44, 18] Generated Node #3: [44, 18] from Operation: 11+7=18 Current State: 62:[44, 18], Operations: ['83-39=44', '11+7=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[39, 83, 11, 7], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [11, 7, 44] Generated Node #0,0: 62:[11, 7, 44] Operation: 83-39=44 Exploring Operation: 83-11=72, Resulting Numbers: [39, 7, 72] Generated Node #0,1: 62:[39, 7, 72] Operation: 83-11=72 Exploring Operation: 39-11=28, Resulting Numbers: [83, 7, 28] Generated Node #0,2: 62:[83, 7, 28] Operation: 39-11=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[39, 7, 72], Operations: ['83-11=72'] Exploring Operation: 72-39=33, Resulting Numbers: [7, 33] Generated Node #0,1,0: 62:[7, 33] Operation: 72-39=33 Exploring Operation: 72-7=65, Resulting Numbers: [39, 65] Generated Node #0,1,1: 62:[39, 65] Operation: 72-7=65 Exploring Operation: 39-7=32, Resulting Numbers: [72, 32] Generated Node #0,1,2: 62:[72, 32] Operation: 39-7=32 Moving to Node #0,1,0 Current State: 62:[7, 33], Operations: ['83-11=72', '72-39=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,62 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[39, 65], Operations: ['83-11=72', '72-7=65'] Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,62 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[72, 32], Operations: ['83-11=72', '39-7=32'] Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,62 unequal: No Solution Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[11, 7, 44], Operations: ['83-39=44'] Exploring Operation: 11+44=55, Resulting Numbers: [7, 55] Generated Node #0,0,0: 62:[7, 55] Operation: 11+44=55 Exploring Operation: 44-11=33, Resulting Numbers: [7, 33] Generated Node #0,0,1: 62:[7, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [7, 4] Generated Node #0,0,2: 62:[7, 4] Operation: 44/11=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[7, 33], Operations: ['83-39=44', '44-11=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,62 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,62 unequal: No Solution No 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: 62:[7, 4], Operations: ['83-39=44', '44/11=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,62 unequal: No Solution No 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: 62:[7, 55], Operations: ['83-39=44', '11+44=55'] Exploring Operation: 7*55=385, Resulting Numbers: [385] 385,62 unequal: No Solution Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[39, 83, 11, 7], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [11, 7, 44] Generated Node #0,0: 62:[11, 7, 44] Operation: 83-39=44 Moving to Node #0,0 Current State: 62:[11, 7, 44], Operations: ['83-39=44'] Exploring Operation: 11+44=55, Resulting Numbers: [7, 55] Generated Node #0,0,0: 62:[7, 55] Operation: 11+44=55 Moving to Node #0,0,0 Current State: 62:[7, 55], Operations: ['83-39=44', '11+44=55'] Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_3
sum_heuristic
[ 16, 68, 3, 66 ]
26
[ "16-3=13", "68-66=2", "13*2=26" ]
Current State: 26:[16, 68, 3, 66], Operations: [] Exploring Operation: 16-3=13, Resulting Numbers: [68, 66, 13] Generated Node #2: [68, 66, 13] from Operation: 16-3=13 Current State: 26:[68, 66, 13], Operations: ['16-3=13'] Exploring Operation: 68-66=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 68-66=2 Current State: 26:[13, 2], Operations: ['16-3=13', '68-66=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[16, 68, 3, 66], Operations: [] Exploring Operation: 16-3=13, Resulting Numbers: [68, 66, 13] Generated Node #0,0: 26:[68, 66, 13] Operation: 16-3=13 Exploring Operation: 66-16=50, Resulting Numbers: [68, 3, 50] Generated Node #0,1: 26:[68, 3, 50] Operation: 66-16=50 Exploring Operation: 68-66=2, Resulting Numbers: [16, 3, 2] Generated Node #0,2: 26:[16, 3, 2] Operation: 68-66=2 Exploring Operation: 66/3=22, Resulting Numbers: [16, 68, 22] Generated Node #0,3: 26:[16, 68, 22] Operation: 66/3=22 Exploring Operation: 68-16=52, Resulting Numbers: [3, 66, 52] Generated Node #0,4: 26:[3, 66, 52] Operation: 68-16=52 Moving to Node #0,2 Current State: 26:[16, 3, 2], Operations: ['68-66=2'] Exploring Operation: 16+2=18, Resulting Numbers: [3, 18] Generated Node #0,2,0: 26:[3, 18] Operation: 16+2=18 Exploring Operation: 16-2=14, Resulting Numbers: [3, 14] Generated Node #0,2,1: 26:[3, 14] Operation: 16-2=14 Exploring Operation: 3-2=1, Resulting Numbers: [16, 1] Generated Node #0,2,2: 26:[16, 1] Operation: 3-2=1 Exploring Operation: 16-3=13, Resulting Numbers: [2, 13] Generated Node #0,2,3: 26:[2, 13] Operation: 16-3=13 Exploring Operation: 16+3=19, Resulting Numbers: [2, 19] Generated Node #0,2,4: 26:[2, 19] Operation: 16+3=19 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[2, 13], Operations: ['68-66=2', '16-3=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[16, 68, 3, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [16, 3, 2] Generated Node #0,2: 26:[16, 3, 2] Operation: 68-66=2 Moving to Node #0,2 Current State: 26:[16, 3, 2], Operations: ['68-66=2'] Exploring Operation: 16-3=13, Resulting Numbers: [2, 13] Generated Node #0,2,3: 26:[2, 13] Operation: 16-3=13 Moving to Node #0,2,3 Current State: 26:[2, 13], Operations: ['68-66=2', '16-3=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 51, 16, 33, 90 ]
93
[ "33-16=17", "51/17=3", "90+3=93" ]
Current State: 93:[51, 16, 33, 90], Operations: [] Exploring Operation: 33-16=17, Resulting Numbers: [51, 90, 17] Generated Node #2: [51, 90, 17] from Operation: 33-16=17 Current State: 93:[51, 90, 17], Operations: ['33-16=17'] Exploring Operation: 51/17=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 51/17=3 Current State: 93:[90, 3], Operations: ['33-16=17', '51/17=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[51, 16, 33, 90], Operations: [] Exploring Operation: 51-16=35, Resulting Numbers: [33, 90, 35] Generated Node #0,0: 93:[33, 90, 35] Operation: 51-16=35 Moving to Node #0,0 Current State: 93:[33, 90, 35], Operations: ['51-16=35'] Exploring Operation: 35-33=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 93:[90, 2] Operation: 35-33=2 Moving to Node #0,0,0 Current State: 93:[90, 2], Operations: ['51-16=35', '35-33=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 5, 22, 20, 36 ]
29
[ "5+22=27", "20+36=56", "56-27=29" ]
Current State: 29:[5, 22, 20, 36], Operations: [] Exploring Operation: 5+22=27, Resulting Numbers: [20, 36, 27] Generated Node #2: [20, 36, 27] from Operation: 5+22=27 Current State: 29:[20, 36, 27], Operations: ['5+22=27'] Exploring Operation: 20+36=56, Resulting Numbers: [27, 56] Generated Node #3: [27, 56] from Operation: 20+36=56 Current State: 29:[27, 56], Operations: ['5+22=27', '20+36=56'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[5, 22, 20, 36], Operations: [] Exploring Operation: 5+20=25, Resulting Numbers: [22, 36, 25] Generated Node #0,0: 29:[22, 36, 25] Operation: 5+20=25 Exploring Operation: 5+22=27, Resulting Numbers: [20, 36, 27] Generated Node #0,1: 29:[20, 36, 27] Operation: 5+22=27 Moving to Node #0,0 Current State: 29:[22, 36, 25], Operations: ['5+20=25'] Exploring Operation: 36-22=14, Resulting Numbers: [25, 14] Generated Node #0,0,0: 29:[25, 14] Operation: 36-22=14 Exploring Operation: 22+25=47, Resulting Numbers: [36, 47] Generated Node #0,0,1: 29:[36, 47] Operation: 22+25=47 Moving to Node #0,1 Current State: 29:[20, 36, 27], Operations: ['5+22=27'] Exploring Operation: 36-20=16, Resulting Numbers: [27, 16] Generated Node #0,1,0: 29:[27, 16] Operation: 36-20=16 Exploring Operation: 20+27=47, Resulting Numbers: [36, 47] Generated Node #0,1,1: 29:[36, 47] Operation: 20+27=47 Moving to Node #0,1,0 Current State: 29:[27, 16], Operations: ['5+22=27', '36-20=16'] Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[25, 14], Operations: ['5+20=25', '36-22=14'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[36, 47], Operations: ['5+20=25', '22+25=47'] Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[36, 47], Operations: ['5+22=27', '20+27=47'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 72, 12, 28 ]
77
[ "28/4=7", "72+12=84", "84-7=77" ]
Current State: 77:[4, 72, 12, 28], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [72, 12, 7] Generated Node #2: [72, 12, 7] from Operation: 28/4=7 Current State: 77:[72, 12, 7], Operations: ['28/4=7'] Exploring Operation: 72+12=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 72+12=84 Current State: 77:[7, 84], Operations: ['28/4=7', '72+12=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[4, 72, 12, 28], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [72, 12, 7] Generated Node #0,0: 77:[72, 12, 7] Operation: 28/4=7 Exploring Operation: 4+72=76, Resulting Numbers: [12, 28, 76] Generated Node #0,1: 77:[12, 28, 76] Operation: 4+72=76 Exploring Operation: 28-12=16, Resulting Numbers: [4, 72, 16] Generated Node #0,2: 77:[4, 72, 16] Operation: 28-12=16 Exploring Operation: 28-4=24, Resulting Numbers: [72, 12, 24] Generated Node #0,3: 77:[72, 12, 24] Operation: 28-4=24 Exploring Operation: 72/12=6, Resulting Numbers: [4, 28, 6] Generated Node #0,4: 77:[4, 28, 6] Operation: 72/12=6 Moving to Node #0,0 Current State: 77:[72, 12, 7], Operations: ['28/4=7'] Exploring Operation: 72+7=79, Resulting Numbers: [12, 79] Generated Node #0,0,0: 77:[12, 79] Operation: 72+7=79 Exploring Operation: 72+12=84, Resulting Numbers: [7, 84] Generated Node #0,0,1: 77:[7, 84] Operation: 72+12=84 Exploring Operation: 72/12=6, Resulting Numbers: [7, 6] Generated Node #0,0,2: 77:[7, 6] Operation: 72/12=6 Exploring Operation: 12-7=5, Resulting Numbers: [72, 5] Generated Node #0,0,3: 77:[72, 5] Operation: 12-7=5 Exploring Operation: 12*7=84, Resulting Numbers: [72, 84] Generated Node #0,0,4: 77:[72, 84] Operation: 12*7=84 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[7, 6], Operations: ['28/4=7', '72/12=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,77 unequal: No Solution No 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: 77:[12, 79], Operations: ['28/4=7', '72+7=79'] Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,77 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,77 unequal: No Solution No 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: 77:[7, 84], Operations: ['28/4=7', '72+12=84'] Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,77 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[4, 72, 12, 28], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [72, 12, 7] Generated Node #0,0: 77:[72, 12, 7] Operation: 28/4=7 Moving to Node #0,0 Current State: 77:[72, 12, 7], Operations: ['28/4=7'] Exploring Operation: 72+12=84, Resulting Numbers: [7, 84] Generated Node #0,0,1: 77:[7, 84] Operation: 72+12=84 Moving to Node #0,0,1 Current State: 77:[7, 84], Operations: ['28/4=7', '72+12=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 99, 34, 17, 64 ]
37
[ "99-64=35", "34/17=2", "35+2=37" ]
Current State: 37:[99, 34, 17, 64], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [34, 17, 35] Generated Node #2: [34, 17, 35] from Operation: 99-64=35 Current State: 37:[34, 17, 35], Operations: ['99-64=35'] Exploring Operation: 34/17=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 34/17=2 Current State: 37:[35, 2], Operations: ['99-64=35', '34/17=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[99, 34, 17, 64], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [34, 17, 35] Generated Node #0,0: 37:[34, 17, 35] Operation: 99-64=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[34, 17, 35], Operations: ['99-64=35'] Exploring Operation: 34+17=51, Resulting Numbers: [35, 51] Generated Node #0,0,0: 37:[35, 51] Operation: 34+17=51 Moving to Node #0,0,0 Current State: 37:[35, 51], Operations: ['99-64=35', '34+17=51'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 31, 34, 2, 89 ]
10
[ "89-31=58", "34*2=68", "68-58=10" ]
Current State: 10:[31, 34, 2, 89], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [34, 2, 58] Generated Node #2: [34, 2, 58] from Operation: 89-31=58 Current State: 10:[34, 2, 58], Operations: ['89-31=58'] Exploring Operation: 34*2=68, Resulting Numbers: [58, 68] Generated Node #3: [58, 68] from Operation: 34*2=68 Current State: 10:[58, 68], Operations: ['89-31=58', '34*2=68'] Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[31, 34, 2, 89], Operations: [] Exploring Operation: 89-34=55, Resulting Numbers: [31, 2, 55] Generated Node #0,0: 10:[31, 2, 55] Operation: 89-34=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[31, 2, 55], Operations: ['89-34=55'] Exploring Operation: 55-31=24, Resulting Numbers: [2, 24] Generated Node #0,0,0: 10:[2, 24] Operation: 55-31=24 Moving to Node #0,0,0 Current State: 10:[2, 24], Operations: ['89-34=55', '55-31=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 79, 44, 26, 15 ]
76
[ "79-44=35", "26+15=41", "35+41=76" ]
Current State: 76:[79, 44, 26, 15], Operations: [] Exploring Operation: 79-44=35, Resulting Numbers: [26, 15, 35] Generated Node #2: [26, 15, 35] from Operation: 79-44=35 Current State: 76:[26, 15, 35], Operations: ['79-44=35'] Exploring Operation: 26+15=41, Resulting Numbers: [35, 41] Generated Node #3: [35, 41] from Operation: 26+15=41 Current State: 76:[35, 41], Operations: ['79-44=35', '26+15=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[79, 44, 26, 15], Operations: [] Exploring Operation: 26+15=41, Resulting Numbers: [79, 44, 41] Generated Node #0,0: 76:[79, 44, 41] Operation: 26+15=41 Exploring Operation: 44-26=18, Resulting Numbers: [79, 15, 18] Generated Node #0,1: 76:[79, 15, 18] Operation: 44-26=18 Exploring Operation: 26-15=11, Resulting Numbers: [79, 44, 11] Generated Node #0,2: 76:[79, 44, 11] Operation: 26-15=11 Exploring Operation: 44+26=70, Resulting Numbers: [79, 15, 70] Generated Node #0,3: 76:[79, 15, 70] Operation: 44+26=70 Exploring Operation: 79-44=35, Resulting Numbers: [26, 15, 35] Generated Node #0,4: 76:[26, 15, 35] Operation: 79-44=35 Moving to Node #0,1 Current State: 76:[79, 15, 18], Operations: ['44-26=18'] Exploring Operation: 79-15=64, Resulting Numbers: [18, 64] Generated Node #0,1,0: 76:[18, 64] Operation: 79-15=64 Exploring Operation: 15+18=33, Resulting Numbers: [79, 33] Generated Node #0,1,1: 76:[79, 33] Operation: 15+18=33 Exploring Operation: 79+15=94, Resulting Numbers: [18, 94] Generated Node #0,1,2: 76:[18, 94] Operation: 79+15=94 Exploring Operation: 79-18=61, Resulting Numbers: [15, 61] Generated Node #0,1,3: 76:[15, 61] Operation: 79-18=61 Exploring Operation: 18-15=3, Resulting Numbers: [79, 3] Generated Node #0,1,4: 76:[79, 3] Operation: 18-15=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 76:[79, 3], Operations: ['44-26=18', '18-15=3'] Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,76 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[79, 44, 26, 15], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [79, 15, 18] Generated Node #0,1: 76:[79, 15, 18] Operation: 44-26=18 Moving to Node #0,1 Current State: 76:[79, 15, 18], Operations: ['44-26=18'] Exploring Operation: 18-15=3, Resulting Numbers: [79, 3] Generated Node #0,1,4: 76:[79, 3] Operation: 18-15=3 Moving to Node #0,1,4 Current State: 76:[79, 3], Operations: ['44-26=18', '18-15=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 69, 69, 26, 38 ]
38
[ "69-69=0", "26*0=0", "38+0=38" ]
Current State: 38:[69, 69, 26, 38], Operations: [] Exploring Operation: 69-69=0, Resulting Numbers: [26, 38, 0] Generated Node #2: [26, 38, 0] from Operation: 69-69=0 Current State: 38:[26, 38, 0], Operations: ['69-69=0'] Exploring Operation: 26*0=0, Resulting Numbers: [38, 0] Generated Node #3: [38, 0] from Operation: 26*0=0 Current State: 38:[38, 0], Operations: ['69-69=0', '26*0=0'] Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[69, 69, 26, 38], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [26, 38, 1] Generated Node #0,0: 38:[26, 38, 1] Operation: 69/69=1 Exploring Operation: 69-69=0, Resulting Numbers: [26, 38, 0] Generated Node #0,1: 38:[26, 38, 0] Operation: 69-69=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[26, 38, 1], Operations: ['69/69=1'] Exploring Operation: 26-1=25, Resulting Numbers: [38, 25] Generated Node #0,0,0: 38:[38, 25] Operation: 26-1=25 Exploring Operation: 26*1=26, Resulting Numbers: [38, 26] Generated Node #0,0,1: 38:[38, 26] Operation: 26*1=26 Moving to Node #0,0,0 Current State: 38:[38, 25], Operations: ['69/69=1', '26-1=25'] Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[38, 26], Operations: ['69/69=1', '26*1=26'] Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[26, 38, 0], Operations: ['69-69=0'] Exploring Operation: 26*0=0, Resulting Numbers: [38, 0] Generated Node #0,1,0: 38:[38, 0] Operation: 26*0=0 Exploring Operation: 26+0=26, Resulting Numbers: [38, 26] Generated Node #0,1,1: 38:[38, 26] Operation: 26+0=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[38, 0], Operations: ['69-69=0', '26*0=0'] Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[69, 69, 26, 38], Operations: [] Exploring Operation: 69-69=0, Resulting Numbers: [26, 38, 0] Generated Node #0,1: 38:[26, 38, 0] Operation: 69-69=0 Moving to Node #0,1 Current State: 38:[26, 38, 0], Operations: ['69-69=0'] Exploring Operation: 26*0=0, Resulting Numbers: [38, 0] Generated Node #0,1,0: 38:[38, 0] Operation: 26*0=0 Moving to Node #0,1,0 Current State: 38:[38, 0], Operations: ['69-69=0', '26*0=0'] Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 2, 52, 21, 4 ]
24
[ "21-2=19", "4*19=76", "76-52=24" ]
Current State: 24:[2, 52, 21, 4], Operations: [] Exploring Operation: 21-2=19, Resulting Numbers: [52, 4, 19] Generated Node #2: [52, 4, 19] from Operation: 21-2=19 Current State: 24:[52, 4, 19], Operations: ['21-2=19'] Exploring Operation: 4*19=76, Resulting Numbers: [52, 76] Generated Node #3: [52, 76] from Operation: 4*19=76 Current State: 24:[52, 76], Operations: ['21-2=19', '4*19=76'] Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[2, 52, 21, 4], Operations: [] Exploring Operation: 52-2=50, Resulting Numbers: [21, 4, 50] Generated Node #0,0: 24:[21, 4, 50] Operation: 52-2=50 Exploring Operation: 52-21=31, Resulting Numbers: [2, 4, 31] Generated Node #0,1: 24:[2, 4, 31] Operation: 52-21=31 Exploring Operation: 52/2=26, Resulting Numbers: [21, 4, 26] Generated Node #0,2: 24:[21, 4, 26] Operation: 52/2=26 Exploring Operation: 52/4=13, Resulting Numbers: [2, 21, 13] Generated Node #0,3: 24:[2, 21, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [2, 21, 48] Generated Node #0,4: 24:[2, 21, 48] Operation: 52-4=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[2, 21, 13], Operations: ['52/4=13'] Exploring Operation: 2+21=23, Resulting Numbers: [13, 23] Generated Node #0,3,0: 24:[13, 23] Operation: 2+21=23 Exploring Operation: 21-13=8, Resulting Numbers: [2, 8] Generated Node #0,3,1: 24:[2, 8] Operation: 21-13=8 Exploring Operation: 21-2=19, Resulting Numbers: [13, 19] Generated Node #0,3,2: 24:[13, 19] Operation: 21-2=19 Exploring Operation: 2*13=26, Resulting Numbers: [21, 26] Generated Node #0,3,3: 24:[21, 26] Operation: 2*13=26 Exploring Operation: 13-2=11, Resulting Numbers: [21, 11] Generated Node #0,3,4: 24:[21, 11] Operation: 13-2=11 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 24:[2, 8], Operations: ['52/4=13', '21-13=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 24:[13, 23], Operations: ['52/4=13', '2+21=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,24 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 24:[21, 11], Operations: ['52/4=13', '13-2=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,24 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 24:[21, 26], Operations: ['52/4=13', '2*13=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,24 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 24:[13, 19], Operations: ['52/4=13', '21-2=19'] Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,24 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[21, 4, 26], Operations: ['52/2=26'] Exploring Operation: 26-4=22, Resulting Numbers: [21, 22] Generated Node #0,2,0: 24:[21, 22] Operation: 26-4=22 Exploring Operation: 26-21=5, Resulting Numbers: [4, 5] Generated Node #0,2,1: 24:[4, 5] Operation: 26-21=5 Exploring Operation: 21-4=17, Resulting Numbers: [26, 17] Generated Node #0,2,2: 24:[26, 17] Operation: 21-4=17 Exploring Operation: 21+4=25, Resulting Numbers: [26, 25] Generated Node #0,2,3: 24:[26, 25] Operation: 21+4=25 Exploring Operation: 4+26=30, Resulting Numbers: [21, 30] Generated Node #0,2,4: 24:[21, 30] Operation: 4+26=30 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[4, 5], Operations: ['52/2=26', '26-21=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 24:[26, 25], Operations: ['52/2=26', '21+4=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 24:[21, 22], Operations: ['52/2=26', '26-4=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[26, 17], Operations: ['52/2=26', '21-4=17'] Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 24:[21, 30], Operations: ['52/2=26', '4+26=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,24 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[2, 4, 31], Operations: ['52-21=31'] Exploring Operation: 2+4=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 24:[31, 6] Operation: 2+4=6 Exploring Operation: 2*4=8, Resulting Numbers: [31, 8] Generated Node #0,1,1: 24:[31, 8] Operation: 2*4=8 Exploring Operation: 4-2=2, Resulting Numbers: [31, 2] Generated Node #0,1,2: 24:[31, 2] Operation: 4-2=2 Exploring Operation: 31-4=27, Resulting Numbers: [2, 27] Generated Node #0,1,3: 24:[2, 27] Operation: 31-4=27 Exploring Operation: 31-2=29, Resulting Numbers: [4, 29] Generated Node #0,1,4: 24:[4, 29] Operation: 31-2=29 Moving to Node #0,1,3 Current State: 24:[2, 27], Operations: ['52-21=31', '31-4=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Moving to Node #0,1,4 Current State: 24:[4, 29], Operations: ['52-21=31', '31-2=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,24 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[31, 6], Operations: ['52-21=31', '2+4=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[31, 8], Operations: ['52-21=31', '2*4=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,24 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[31, 2], Operations: ['52-21=31', '4-2=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 24:[2, 21, 48], Operations: ['52-4=48'] Exploring Operation: 2+21=23, Resulting Numbers: [48, 23] Generated Node #0,4,0: 24:[48, 23] Operation: 2+21=23 Exploring Operation: 48-2=46, Resulting Numbers: [21, 46] Generated Node #0,4,1: 24:[21, 46] Operation: 48-2=46 Exploring Operation: 21-2=19, Resulting Numbers: [48, 19] Generated Node #0,4,2: 24:[48, 19] Operation: 21-2=19 Exploring Operation: 48-21=27, Resulting Numbers: [2, 27] Generated Node #0,4,3: 24:[2, 27] Operation: 48-21=27 Exploring Operation: 48/2=24, Resulting Numbers: [21, 24] Generated Node #0,4,4: 24:[21, 24] Operation: 48/2=24 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 24:[2, 27], Operations: ['52-4=48', '48-21=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 24:[21, 24], Operations: ['52-4=48', '48/2=24'] Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,24 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 24:[48, 23], Operations: ['52-4=48', '2+21=23'] Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,24 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 24:[21, 46], Operations: ['52-4=48', '48-2=46'] Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,24 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 24:[48, 19], Operations: ['52-4=48', '21-2=19'] Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 48*19=912, Resulting Numbers: [912] 912,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[21, 4, 50], Operations: ['52-2=50'] Exploring Operation: 21-4=17, Resulting Numbers: [50, 17] Generated Node #0,0,0: 24:[50, 17] Operation: 21-4=17 Exploring Operation: 21+4=25, Resulting Numbers: [50, 25] Generated Node #0,0,1: 24:[50, 25] Operation: 21+4=25 Exploring Operation: 50-21=29, Resulting Numbers: [4, 29] Generated Node #0,0,2: 24:[4, 29] Operation: 50-21=29 Exploring Operation: 4+50=54, Resulting Numbers: [21, 54] Generated Node #0,0,3: 24:[21, 54] Operation: 4+50=54 Exploring Operation: 50-4=46, Resulting Numbers: [21, 46] Generated Node #0,0,4: 24:[21, 46] Operation: 50-4=46 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 24:[4, 29], Operations: ['52-2=50', '50-21=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 24:[21, 46], Operations: ['52-2=50', '50-4=46'] Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[50, 25], Operations: ['52-2=50', '21+4=25'] Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,24 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[50, 17], Operations: ['52-2=50', '21-4=17'] Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,24 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 24:[21, 54], Operations: ['52-2=50', '4+50=54'] Exploring Operation: 21*54=1134, Resulting Numbers: [1134] 1134,24 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 49, 33, 6, 77 ]
30
[ "49+33=82", "82-77=5", "6*5=30" ]
Current State: 30:[49, 33, 6, 77], Operations: [] Exploring Operation: 49+33=82, Resulting Numbers: [6, 77, 82] Generated Node #2: [6, 77, 82] from Operation: 49+33=82 Current State: 30:[6, 77, 82], Operations: ['49+33=82'] Exploring Operation: 82-77=5, Resulting Numbers: [6, 5] Generated Node #3: [6, 5] from Operation: 82-77=5 Current State: 30:[6, 5], Operations: ['49+33=82', '82-77=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[49, 33, 6, 77], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [33, 6, 28] Generated Node #0,0: 30:[33, 6, 28] Operation: 77-49=28 Exploring Operation: 77-33=44, Resulting Numbers: [49, 6, 44] Generated Node #0,1: 30:[49, 6, 44] Operation: 77-33=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[33, 6, 28], Operations: ['77-49=28'] Exploring Operation: 33-28=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 30:[6, 5] Operation: 33-28=5 Exploring Operation: 33-6=27, Resulting Numbers: [28, 27] Generated Node #0,0,1: 30:[28, 27] Operation: 33-6=27 Moving to Node #0,0,0 Current State: 30:[6, 5], Operations: ['77-49=28', '33-28=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[49, 33, 6, 77], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [33, 6, 28] Generated Node #0,0: 30:[33, 6, 28] Operation: 77-49=28 Moving to Node #0,0 Current State: 30:[33, 6, 28], Operations: ['77-49=28'] Exploring Operation: 33-28=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 30:[6, 5] Operation: 33-28=5 Moving to Node #0,0,0 Current State: 30:[6, 5], Operations: ['77-49=28', '33-28=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 7, 90, 86, 77 ]
17
[ "86-77=9", "90/9=10", "7+10=17" ]
Current State: 17:[7, 90, 86, 77], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [7, 90, 9] Generated Node #2: [7, 90, 9] from Operation: 86-77=9 Current State: 17:[7, 90, 9], Operations: ['86-77=9'] Exploring Operation: 90/9=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 90/9=10 Current State: 17:[7, 10], Operations: ['86-77=9', '90/9=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[7, 90, 86, 77], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [7, 77, 4] Generated Node #0,0: 17:[7, 77, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 17:[7, 77, 4], Operations: ['90-86=4'] Exploring Operation: 77/7=11, Resulting Numbers: [4, 11] Generated Node #0,0,0: 17:[4, 11] Operation: 77/7=11 Moving to Node #0,0,0 Current State: 17:[4, 11], Operations: ['90-86=4', '77/7=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 32, 35, 61, 38 ]
32
[ "32+35=67", "61+38=99", "99-67=32" ]
Current State: 32:[32, 35, 61, 38], Operations: [] Exploring Operation: 32+35=67, Resulting Numbers: [61, 38, 67] Generated Node #2: [61, 38, 67] from Operation: 32+35=67 Current State: 32:[61, 38, 67], Operations: ['32+35=67'] Exploring Operation: 61+38=99, Resulting Numbers: [67, 99] Generated Node #3: [67, 99] from Operation: 61+38=99 Current State: 32:[67, 99], Operations: ['32+35=67', '61+38=99'] Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[32, 35, 61, 38], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [32, 35, 23] Generated Node #0,0: 32:[32, 35, 23] Operation: 61-38=23 Exploring Operation: 61-32=29, Resulting Numbers: [35, 38, 29] Generated Node #0,1: 32:[35, 38, 29] Operation: 61-32=29 Moving to Node #0,0 Current State: 32:[32, 35, 23], Operations: ['61-38=23'] Exploring Operation: 32-23=9, Resulting Numbers: [35, 9] Generated Node #0,0,0: 32:[35, 9] Operation: 32-23=9 Exploring Operation: 35-23=12, Resulting Numbers: [32, 12] Generated Node #0,0,1: 32:[32, 12] Operation: 35-23=12 Moving to Node #0,1 Current State: 32:[35, 38, 29], Operations: ['61-32=29'] Exploring Operation: 38-29=9, Resulting Numbers: [35, 9] Generated Node #0,1,0: 32:[35, 9] Operation: 38-29=9 Exploring Operation: 38-35=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 32:[29, 3] Operation: 38-35=3 Moving to Node #0,0,0 Current State: 32:[35, 9], Operations: ['61-38=23', '32-23=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[35, 9], Operations: ['61-32=29', '38-29=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[32, 12], Operations: ['61-38=23', '35-23=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[29, 3], Operations: ['61-32=29', '38-35=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[32, 35, 61, 38], Operations: [] Exploring Operation: 61-32=29, Resulting Numbers: [35, 38, 29] Generated Node #0,1: 32:[35, 38, 29] Operation: 61-32=29 Moving to Node #0,1 Current State: 32:[35, 38, 29], Operations: ['61-32=29'] Exploring Operation: 38-35=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 32:[29, 3] Operation: 38-35=3 Moving to Node #0,1,1 Current State: 32:[29, 3], Operations: ['61-32=29', '38-35=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 70, 8, 57, 94 ]
41
[ "70+8=78", "94-57=37", "78-37=41" ]
Current State: 41:[70, 8, 57, 94], Operations: [] Exploring Operation: 70+8=78, Resulting Numbers: [57, 94, 78] Generated Node #2: [57, 94, 78] from Operation: 70+8=78 Current State: 41:[57, 94, 78], Operations: ['70+8=78'] Exploring Operation: 94-57=37, Resulting Numbers: [78, 37] Generated Node #3: [78, 37] from Operation: 94-57=37 Current State: 41:[78, 37], Operations: ['70+8=78', '94-57=37'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[70, 8, 57, 94], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [8, 57, 24] Generated Node #0,0: 41:[8, 57, 24] Operation: 94-70=24 Exploring Operation: 94-57=37, Resulting Numbers: [70, 8, 37] Generated Node #0,1: 41:[70, 8, 37] Operation: 94-57=37 Exploring Operation: 70-8=62, Resulting Numbers: [57, 94, 62] Generated Node #0,2: 41:[57, 94, 62] Operation: 70-8=62 Moving to Node #0,0 Current State: 41:[8, 57, 24], Operations: ['94-70=24'] Exploring Operation: 8+24=32, Resulting Numbers: [57, 32] Generated Node #0,0,0: 41:[57, 32] Operation: 8+24=32 Exploring Operation: 57-8=49, Resulting Numbers: [24, 49] Generated Node #0,0,1: 41:[24, 49] Operation: 57-8=49 Exploring Operation: 8+57=65, Resulting Numbers: [24, 65] Generated Node #0,0,2: 41:[24, 65] Operation: 8+57=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[57, 32], Operations: ['94-70=24', '8+24=32'] Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[24, 49], Operations: ['94-70=24', '57-8=49'] Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,41 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[24, 65], Operations: ['94-70=24', '8+57=65'] Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[70, 8, 57, 94], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [8, 57, 24] Generated Node #0,0: 41:[8, 57, 24] Operation: 94-70=24 Moving to Node #0,0 Current State: 41:[8, 57, 24], Operations: ['94-70=24'] Exploring Operation: 8+57=65, Resulting Numbers: [24, 65] Generated Node #0,0,2: 41:[24, 65] Operation: 8+57=65 Moving to Node #0,0,2 Current State: 41:[24, 65], Operations: ['94-70=24', '8+57=65'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 69, 88, 6, 82 ]
57
[ "88-69=19", "82-6=76", "76-19=57" ]
Current State: 57:[69, 88, 6, 82], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [6, 82, 19] Generated Node #2: [6, 82, 19] from Operation: 88-69=19 Current State: 57:[6, 82, 19], Operations: ['88-69=19'] Exploring Operation: 82-6=76, Resulting Numbers: [19, 76] Generated Node #3: [19, 76] from Operation: 82-6=76 Current State: 57:[19, 76], Operations: ['88-69=19', '82-6=76'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[69, 88, 6, 82], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [88, 6, 13] Generated Node #0,0: 57:[88, 6, 13] Operation: 82-69=13 Exploring Operation: 88-82=6, Resulting Numbers: [69, 6, 6] Generated Node #0,1: 57:[69, 6, 6] Operation: 88-82=6 Exploring Operation: 88-69=19, Resulting Numbers: [6, 82, 19] Generated Node #0,2: 57:[6, 82, 19] Operation: 88-69=19 Exploring Operation: 69-6=63, Resulting Numbers: [88, 82, 63] Generated Node #0,3: 57:[88, 82, 63] Operation: 69-6=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[69, 6, 6], Operations: ['88-82=6'] Exploring Operation: 6-6=0, Resulting Numbers: [69, 0] Generated Node #0,1,0: 57:[69, 0] Operation: 6-6=0 Exploring Operation: 6/6=1, Resulting Numbers: [69, 1] Generated Node #0,1,1: 57:[69, 1] Operation: 6/6=1 Exploring Operation: 69-6=63, Resulting Numbers: [6, 63] Generated Node #0,1,2: 57:[6, 63] Operation: 69-6=63 Exploring Operation: 69-6=63, Resulting Numbers: [6, 63] Generated Node #0,1,3: 57:[6, 63] Operation: 69-6=63 Moving to Node #0,1,2 Current State: 57:[6, 63], Operations: ['88-82=6', '69-6=63'] Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,57 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[69, 88, 6, 82], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [69, 6, 6] Generated Node #0,1: 57:[69, 6, 6] Operation: 88-82=6 Moving to Node #0,1 Current State: 57:[69, 6, 6], Operations: ['88-82=6'] Exploring Operation: 69-6=63, Resulting Numbers: [6, 63] Generated Node #0,1,2: 57:[6, 63] Operation: 69-6=63 Moving to Node #0,1,2 Current State: 57:[6, 63], Operations: ['88-82=6', '69-6=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 17, 53, 25, 32 ]
77
[ "17+53=70", "32-25=7", "70+7=77" ]
Current State: 77:[17, 53, 25, 32], Operations: [] Exploring Operation: 17+53=70, Resulting Numbers: [25, 32, 70] Generated Node #2: [25, 32, 70] from Operation: 17+53=70 Current State: 77:[25, 32, 70], Operations: ['17+53=70'] Exploring Operation: 32-25=7, Resulting Numbers: [70, 7] Generated Node #3: [70, 7] from Operation: 32-25=7 Current State: 77:[70, 7], Operations: ['17+53=70', '32-25=7'] Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[17, 53, 25, 32], Operations: [] Exploring Operation: 53+25=78, Resulting Numbers: [17, 32, 78] Generated Node #0,0: 77:[17, 32, 78] Operation: 53+25=78 Moving to Node #0,0 Current State: 77:[17, 32, 78], Operations: ['53+25=78'] Exploring Operation: 32-17=15, Resulting Numbers: [78, 15] Generated Node #0,0,0: 77:[78, 15] Operation: 32-17=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[78, 15], Operations: ['53+25=78', '32-17=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,77 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
[ 56, 4, 30, 10 ]
49
[ "56-4=52", "30/10=3", "52-3=49" ]
Current State: 49:[56, 4, 30, 10], Operations: [] Exploring Operation: 56-4=52, Resulting Numbers: [30, 10, 52] Generated Node #2: [30, 10, 52] from Operation: 56-4=52 Current State: 49:[30, 10, 52], Operations: ['56-4=52'] Exploring Operation: 30/10=3, Resulting Numbers: [52, 3] Generated Node #3: [52, 3] from Operation: 30/10=3 Current State: 49:[52, 3], Operations: ['56-4=52', '30/10=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[56, 4, 30, 10], Operations: [] Exploring Operation: 30+10=40, Resulting Numbers: [56, 4, 40] Generated Node #0,0: 49:[56, 4, 40] Operation: 30+10=40 Exploring Operation: 30/10=3, Resulting Numbers: [56, 4, 3] Generated Node #0,1: 49:[56, 4, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [56, 4, 20] Generated Node #0,2: 49:[56, 4, 20] Operation: 30-10=20 Moving to Node #0,1 Current State: 49:[56, 4, 3], Operations: ['30/10=3'] Exploring Operation: 4+3=7, Resulting Numbers: [56, 7] Generated Node #0,1,0: 49:[56, 7] Operation: 4+3=7 Exploring Operation: 56-3=53, Resulting Numbers: [4, 53] Generated Node #0,1,1: 49:[4, 53] Operation: 56-3=53 Exploring Operation: 56-4=52, Resulting Numbers: [3, 52] Generated Node #0,1,2: 49:[3, 52] Operation: 56-4=52 Moving to Node #0,0 Current State: 49:[56, 4, 40], Operations: ['30+10=40'] Exploring Operation: 56-40=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 49:[4, 16] Operation: 56-40=16 Exploring Operation: 56-4=52, Resulting Numbers: [40, 52] Generated Node #0,0,1: 49:[40, 52] Operation: 56-4=52 Exploring Operation: 40/4=10, Resulting Numbers: [56, 10] Generated Node #0,0,2: 49:[56, 10] Operation: 40/4=10 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[56, 10], Operations: ['30+10=40', '40/4=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[4, 16], Operations: ['30+10=40', '56-40=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[40, 52], Operations: ['30+10=40', '56-4=52'] Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,49 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 49:[56, 4, 20], Operations: ['30-10=20'] Exploring Operation: 56-4=52, Resulting Numbers: [20, 52] Generated Node #0,2,0: 49:[20, 52] Operation: 56-4=52 Exploring Operation: 20/4=5, Resulting Numbers: [56, 5] Generated Node #0,2,1: 49:[56, 5] Operation: 20/4=5 Exploring Operation: 56-20=36, Resulting Numbers: [4, 36] Generated Node #0,2,2: 49:[4, 36] Operation: 56-20=36 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[56, 5], Operations: ['30-10=20', '20/4=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,49 unequal: No Solution Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[20, 52], Operations: ['30-10=20', '56-4=52'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 20+52=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 20*52=1040, Resulting Numbers: [1040] 1040,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[4, 36], Operations: ['30-10=20', '56-20=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 49:[56, 7], Operations: ['30/10=3', '4+3=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[56, 4, 30, 10], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [56, 4, 3] Generated Node #0,1: 49:[56, 4, 3] Operation: 30/10=3 Moving to Node #0,1 Current State: 49:[56, 4, 3], Operations: ['30/10=3'] Exploring Operation: 4+3=7, Resulting Numbers: [56, 7] Generated Node #0,1,0: 49:[56, 7] Operation: 4+3=7 Moving to Node #0,1,0 Current State: 49:[56, 7], Operations: ['30/10=3', '4+3=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 75, 91, 3, 40 ]
59
[ "91-75=16", "3+40=43", "16+43=59" ]
Current State: 59:[75, 91, 3, 40], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [3, 40, 16] Generated Node #2: [3, 40, 16] from Operation: 91-75=16 Current State: 59:[3, 40, 16], Operations: ['91-75=16'] Exploring Operation: 3+40=43, Resulting Numbers: [16, 43] Generated Node #3: [16, 43] from Operation: 3+40=43 Current State: 59:[16, 43], Operations: ['91-75=16', '3+40=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[75, 91, 3, 40], Operations: [] Exploring Operation: 75+3=78, Resulting Numbers: [91, 40, 78] Generated Node #0,0: 59:[91, 40, 78] Operation: 75+3=78 Exploring Operation: 91-3=88, Resulting Numbers: [75, 40, 88] Generated Node #0,1: 59:[75, 40, 88] Operation: 91-3=88 Exploring Operation: 91+3=94, Resulting Numbers: [75, 40, 94] Generated Node #0,2: 59:[75, 40, 94] Operation: 91+3=94 Exploring Operation: 3+40=43, Resulting Numbers: [75, 91, 43] Generated Node #0,3: 59:[75, 91, 43] Operation: 3+40=43 Exploring Operation: 75-3=72, Resulting Numbers: [91, 40, 72] Generated Node #0,4: 59:[91, 40, 72] Operation: 75-3=72 Moving to Node #0,1 Current State: 59:[75, 40, 88], Operations: ['91-3=88'] Exploring Operation: 40+88=128, Resulting Numbers: [75, 128] Generated Node #0,1,0: 59:[75, 128] Operation: 40+88=128 Exploring Operation: 88-75=13, Resulting Numbers: [40, 13] Generated Node #0,1,1: 59:[40, 13] Operation: 88-75=13 Exploring Operation: 88-40=48, Resulting Numbers: [75, 48] Generated Node #0,1,2: 59:[75, 48] Operation: 88-40=48 Exploring Operation: 75-40=35, Resulting Numbers: [88, 35] Generated Node #0,1,3: 59:[88, 35] Operation: 75-40=35 Exploring Operation: 75+40=115, Resulting Numbers: [88, 115] Generated Node #0,1,4: 59:[88, 115] Operation: 75+40=115 Moving to Node #0,4 Current State: 59:[91, 40, 72], Operations: ['75-3=72'] Exploring Operation: 72-40=32, Resulting Numbers: [91, 32] Generated Node #0,4,0: 59:[91, 32] Operation: 72-40=32 Exploring Operation: 91+40=131, Resulting Numbers: [72, 131] Generated Node #0,4,1: 59:[72, 131] Operation: 91+40=131 Exploring Operation: 91-72=19, Resulting Numbers: [40, 19] Generated Node #0,4,2: 59:[40, 19] Operation: 91-72=19 Exploring Operation: 40+72=112, Resulting Numbers: [91, 112] Generated Node #0,4,3: 59:[91, 112] Operation: 40+72=112 Exploring Operation: 91-40=51, Resulting Numbers: [72, 51] Generated Node #0,4,4: 59:[72, 51] Operation: 91-40=51 Moving to Node #0,3 Current State: 59:[75, 91, 43], Operations: ['3+40=43'] Exploring Operation: 75-43=32, Resulting Numbers: [91, 32] Generated Node #0,3,0: 59:[91, 32] Operation: 75-43=32 Exploring Operation: 91-43=48, Resulting Numbers: [75, 48] Generated Node #0,3,1: 59:[75, 48] Operation: 91-43=48 Exploring Operation: 91-75=16, Resulting Numbers: [43, 16] Generated Node #0,3,2: 59:[43, 16] Operation: 91-75=16 Exploring Operation: 75+43=118, Resulting Numbers: [91, 118] Generated Node #0,3,3: 59:[91, 118] Operation: 75+43=118 Exploring Operation: 91+43=134, Resulting Numbers: [75, 134] Generated Node #0,3,4: 59:[75, 134] Operation: 91+43=134 Moving to Node #0,0 Current State: 59:[91, 40, 78], Operations: ['75+3=78'] Exploring Operation: 40+78=118, Resulting Numbers: [91, 118] Generated Node #0,0,0: 59:[91, 118] Operation: 40+78=118 Exploring Operation: 91+40=131, Resulting Numbers: [78, 131] Generated Node #0,0,1: 59:[78, 131] Operation: 91+40=131 Exploring Operation: 91-78=13, Resulting Numbers: [40, 13] Generated Node #0,0,2: 59:[40, 13] Operation: 91-78=13 Exploring Operation: 91-40=51, Resulting Numbers: [78, 51] Generated Node #0,0,3: 59:[78, 51] Operation: 91-40=51 Exploring Operation: 78-40=38, Resulting Numbers: [91, 38] Generated Node #0,0,4: 59:[91, 38] Operation: 78-40=38 Moving to Node #0,2 Current State: 59:[75, 40, 94], Operations: ['91+3=94'] Exploring Operation: 94-40=54, Resulting Numbers: [75, 54] Generated Node #0,2,0: 59:[75, 54] Operation: 94-40=54 Exploring Operation: 75-40=35, Resulting Numbers: [94, 35] Generated Node #0,2,1: 59:[94, 35] Operation: 75-40=35 Exploring Operation: 40+94=134, Resulting Numbers: [75, 134] Generated Node #0,2,2: 59:[75, 134] Operation: 40+94=134 Exploring Operation: 94-75=19, Resulting Numbers: [40, 19] Generated Node #0,2,3: 59:[40, 19] Operation: 94-75=19 Exploring Operation: 75+40=115, Resulting Numbers: [94, 115] Generated Node #0,2,4: 59:[94, 115] Operation: 75+40=115 Moving to Node #0,4,4 Current State: 59:[72, 51], Operations: ['75-3=72', '91-40=51'] Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,59 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[75, 54], Operations: ['91+3=94', '94-40=54'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,59 unequal: No Solution Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[75, 48], Operations: ['91-3=88', '88-40=48'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[75, 48], Operations: ['3+40=43', '91-43=48'] Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,59 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[78, 51], Operations: ['75+3=78', '91-40=51'] Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,59 unequal: No Solution Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[88, 35], Operations: ['91-3=88', '75-40=35'] Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,59 unequal: No Solution Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[91, 38], Operations: ['75+3=78', '78-40=38'] Exploring Operation: 91+38=129, Resulting Numbers: [129] 129,59 unequal: No Solution Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 91*38=3458, Resulting Numbers: [3458] 3458,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[91, 32], Operations: ['75-3=72', '72-40=32'] Exploring Operation: 91*32=2912, Resulting Numbers: [2912] 2912,59 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[75, 91, 3, 40], Operations: [] Exploring Operation: 75-3=72, Resulting Numbers: [91, 40, 72] Generated Node #0,4: 59:[91, 40, 72] Operation: 75-3=72 Moving to Node #0,4 Current State: 59:[91, 40, 72], Operations: ['75-3=72'] Exploring Operation: 72-40=32, Resulting Numbers: [91, 32] Generated Node #0,4,0: 59:[91, 32] Operation: 72-40=32 Moving to Node #0,4,0 Current State: 59:[91, 32], Operations: ['75-3=72', '72-40=32'] Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.950521
hs_5
sum_heuristic
[ 49, 33, 45, 55 ]
84
[ "49-33=16", "45+55=100", "100-16=84" ]
Current State: 84:[49, 33, 45, 55], Operations: [] Exploring Operation: 49-33=16, Resulting Numbers: [45, 55, 16] Generated Node #2: [45, 55, 16] from Operation: 49-33=16 Current State: 84:[45, 55, 16], Operations: ['49-33=16'] Exploring Operation: 45+55=100, Resulting Numbers: [16, 100] Generated Node #3: [16, 100] from Operation: 45+55=100 Current State: 84:[16, 100], Operations: ['49-33=16', '45+55=100'] Exploring Operation: 100-16=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[49, 33, 45, 55], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [33, 45, 6] Generated Node #0,0: 84:[33, 45, 6] Operation: 55-49=6 Exploring Operation: 55-33=22, Resulting Numbers: [49, 45, 22] Generated Node #0,1: 84:[49, 45, 22] Operation: 55-33=22 Exploring Operation: 33+55=88, Resulting Numbers: [49, 45, 88] Generated Node #0,2: 84:[49, 45, 88] Operation: 33+55=88 Exploring Operation: 55-45=10, Resulting Numbers: [49, 33, 10] Generated Node #0,3: 84:[49, 33, 10] Operation: 55-45=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[33, 45, 6], Operations: ['55-49=6'] Exploring Operation: 33+45=78, Resulting Numbers: [6, 78] Generated Node #0,0,0: 84:[6, 78] Operation: 33+45=78 Exploring Operation: 45-33=12, Resulting Numbers: [6, 12] Generated Node #0,0,1: 84:[6, 12] Operation: 45-33=12 Exploring Operation: 33-6=27, Resulting Numbers: [45, 27] Generated Node #0,0,2: 84:[45, 27] Operation: 33-6=27 Exploring Operation: 33+6=39, Resulting Numbers: [45, 39] Generated Node #0,0,3: 84:[45, 39] Operation: 33+6=39 Moving to Node #0,0,1 Current State: 84:[6, 12], Operations: ['55-49=6', '45-33=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[45, 27], Operations: ['55-49=6', '33-6=27'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,84 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[45, 39], Operations: ['55-49=6', '33+6=39'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[49, 33, 45, 55], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [33, 45, 6] Generated Node #0,0: 84:[33, 45, 6] Operation: 55-49=6 Moving to Node #0,0 Current State: 84:[33, 45, 6], Operations: ['55-49=6'] Exploring Operation: 33+6=39, Resulting Numbers: [45, 39] Generated Node #0,0,3: 84:[45, 39] Operation: 33+6=39 Moving to Node #0,0,3 Current State: 84:[45, 39], Operations: ['55-49=6', '33+6=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 83, 54, 79, 93 ]
15
[ "83-54=29", "93-79=14", "29-14=15" ]
Current State: 15:[83, 54, 79, 93], Operations: [] Exploring Operation: 83-54=29, Resulting Numbers: [79, 93, 29] Generated Node #2: [79, 93, 29] from Operation: 83-54=29 Current State: 15:[79, 93, 29], Operations: ['83-54=29'] Exploring Operation: 93-79=14, Resulting Numbers: [29, 14] Generated Node #3: [29, 14] from Operation: 93-79=14 Current State: 15:[29, 14], Operations: ['83-54=29', '93-79=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[83, 54, 79, 93], Operations: [] Exploring Operation: 79-54=25, Resulting Numbers: [83, 93, 25] Generated Node #0,0: 15:[83, 93, 25] Operation: 79-54=25 Exploring Operation: 83-79=4, Resulting Numbers: [54, 93, 4] Generated Node #0,1: 15:[54, 93, 4] Operation: 83-79=4 Exploring Operation: 93-83=10, Resulting Numbers: [54, 79, 10] Generated Node #0,2: 15:[54, 79, 10] Operation: 93-83=10 Exploring Operation: 93-79=14, Resulting Numbers: [83, 54, 14] Generated Node #0,3: 15:[83, 54, 14] Operation: 93-79=14 Exploring Operation: 83-54=29, Resulting Numbers: [79, 93, 29] Generated Node #0,4: 15:[79, 93, 29] Operation: 83-54=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[54, 79, 10], Operations: ['93-83=10'] Exploring Operation: 79-10=69, Resulting Numbers: [54, 69] Generated Node #0,2,0: 15:[54, 69] Operation: 79-10=69 Exploring Operation: 79+10=89, Resulting Numbers: [54, 89] Generated Node #0,2,1: 15:[54, 89] Operation: 79+10=89 Exploring Operation: 54+10=64, Resulting Numbers: [79, 64] Generated Node #0,2,2: 15:[79, 64] Operation: 54+10=64 Exploring Operation: 79-54=25, Resulting Numbers: [10, 25] Generated Node #0,2,3: 15:[10, 25] Operation: 79-54=25 Exploring Operation: 54-10=44, Resulting Numbers: [79, 44] Generated Node #0,2,4: 15:[79, 44] Operation: 54-10=44 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[10, 25], Operations: ['93-83=10', '79-54=25'] Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,15 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[83, 54, 79, 93], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [54, 79, 10] Generated Node #0,2: 15:[54, 79, 10] Operation: 93-83=10 Moving to Node #0,2 Current State: 15:[54, 79, 10], Operations: ['93-83=10'] Exploring Operation: 79-54=25, Resulting Numbers: [10, 25] Generated Node #0,2,3: 15:[10, 25] Operation: 79-54=25 Moving to Node #0,2,3 Current State: 15:[10, 25], Operations: ['93-83=10', '79-54=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 91, 65, 18, 71 ]
74
[ "91+71=162", "162/18=9", "65+9=74" ]
Current State: 74:[91, 65, 18, 71], Operations: [] Exploring Operation: 91+71=162, Resulting Numbers: [65, 18, 162] Generated Node #2: [65, 18, 162] from Operation: 91+71=162 Current State: 74:[65, 18, 162], Operations: ['91+71=162'] Exploring Operation: 162/18=9, Resulting Numbers: [65, 9] Generated Node #3: [65, 9] from Operation: 162/18=9 Current State: 74:[65, 9], Operations: ['91+71=162', '162/18=9'] Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[91, 65, 18, 71], Operations: [] Exploring Operation: 91-18=73, Resulting Numbers: [65, 71, 73] Generated Node #0,0: 74:[65, 71, 73] Operation: 91-18=73 Exploring Operation: 91-65=26, Resulting Numbers: [18, 71, 26] Generated Node #0,1: 74:[18, 71, 26] Operation: 91-65=26 Exploring Operation: 65-18=47, Resulting Numbers: [91, 71, 47] Generated Node #0,2: 74:[91, 71, 47] Operation: 65-18=47 Exploring Operation: 65+18=83, Resulting Numbers: [91, 71, 83] Generated Node #0,3: 74:[91, 71, 83] Operation: 65+18=83 Moving to Node #0,0 Current State: 74:[65, 71, 73], Operations: ['91-18=73'] Exploring Operation: 71-65=6, Resulting Numbers: [73, 6] Generated Node #0,0,0: 74:[73, 6] Operation: 71-65=6 Exploring Operation: 73-71=2, Resulting Numbers: [65, 2] Generated Node #0,0,1: 74:[65, 2] Operation: 73-71=2 Exploring Operation: 73-65=8, Resulting Numbers: [71, 8] Generated Node #0,0,2: 74:[71, 8] Operation: 73-65=8 Exploring Operation: 65+71=136, Resulting Numbers: [73, 136] Generated Node #0,0,3: 74:[73, 136] Operation: 65+71=136 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[73, 6], Operations: ['91-18=73', '71-65=6'] Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,74 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[65, 2], Operations: ['91-18=73', '73-71=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[71, 8], Operations: ['91-18=73', '73-65=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,74 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[73, 136], Operations: ['91-18=73', '65+71=136'] Exploring Operation: 136-73=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 73*136=9928, Resulting Numbers: [9928] 9928,74 unequal: No Solution Exploring Operation: 73+136=209, Resulting Numbers: [209] 209,74 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: 74:[91, 71, 83], Operations: ['65+18=83'] Exploring Operation: 91+71=162, Resulting Numbers: [83, 162] Generated Node #0,3,0: 74:[83, 162] Operation: 91+71=162 Exploring Operation: 91-83=8, Resulting Numbers: [71, 8] Generated Node #0,3,1: 74:[71, 8] Operation: 91-83=8 Exploring Operation: 91-71=20, Resulting Numbers: [83, 20] Generated Node #0,3,2: 74:[83, 20] Operation: 91-71=20 Exploring Operation: 83-71=12, Resulting Numbers: [91, 12] Generated Node #0,3,3: 74:[91, 12] Operation: 83-71=12 Moving to Node #0,2 Current State: 74:[91, 71, 47], Operations: ['65-18=47'] Exploring Operation: 91-71=20, Resulting Numbers: [47, 20] Generated Node #0,2,0: 74:[47, 20] Operation: 91-71=20 Exploring Operation: 71+47=118, Resulting Numbers: [91, 118] Generated Node #0,2,1: 74:[91, 118] Operation: 71+47=118 Exploring Operation: 71-47=24, Resulting Numbers: [91, 24] Generated Node #0,2,2: 74:[91, 24] Operation: 71-47=24 Exploring Operation: 91-47=44, Resulting Numbers: [71, 44] Generated Node #0,2,3: 74:[71, 44] Operation: 91-47=44 Moving to Node #0,1 Current State: 74:[18, 71, 26], Operations: ['91-65=26'] Exploring Operation: 18+26=44, Resulting Numbers: [71, 44] Generated Node #0,1,0: 74:[71, 44] Operation: 18+26=44 Exploring Operation: 71-26=45, Resulting Numbers: [18, 45] Generated Node #0,1,1: 74:[18, 45] Operation: 71-26=45 Exploring Operation: 26-18=8, Resulting Numbers: [71, 8] Generated Node #0,1,2: 74:[71, 8] Operation: 26-18=8 Exploring Operation: 18+71=89, Resulting Numbers: [26, 89] Generated Node #0,1,3: 74:[26, 89] Operation: 18+71=89 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[71, 8], Operations: ['91-65=26', '26-18=8'] Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,74 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[71, 44], Operations: ['91-65=26', '18+26=44'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,74 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[18, 45], Operations: ['91-65=26', '71-26=45'] Exploring Operation: 18*45=810, Resulting Numbers: [810] 810,74 unequal: No Solution Exploring Operation: 18+45=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[26, 89], Operations: ['91-65=26', '18+71=89'] Exploring Operation: 26*89=2314, Resulting Numbers: [2314] 2314,74 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,74 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: 74:[71, 8], Operations: ['65+18=83', '91-83=8'] Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,74 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[71, 44], Operations: ['65-18=47', '91-47=44'] Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[83, 20], Operations: ['65+18=83', '91-71=20'] Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 83*20=1660, Resulting Numbers: [1660] 1660,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[91, 12], Operations: ['65+18=83', '83-71=12'] Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[47, 20], Operations: ['65-18=47', '91-71=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[91, 24], Operations: ['65-18=47', '71-47=24'] Exploring Operation: 91+24=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 91*24=2184, Resulting Numbers: [2184] 2184,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[91, 118], Operations: ['65-18=47', '71+47=118'] Exploring Operation: 118-91=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 91*118=10738, Resulting Numbers: [10738] 10738,74 unequal: No Solution Exploring Operation: 91+118=209, Resulting Numbers: [209] 209,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[83, 162], Operations: ['65+18=83', '91+71=162'] Exploring Operation: 83*162=13446, Resulting Numbers: [13446] 13446,74 unequal: No Solution Exploring Operation: 162-83=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 83+162=245, Resulting Numbers: [245] 245,74 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 45, 79, 36, 41 ]
43
[ "79-45=34", "36+41=77", "77-34=43" ]
Current State: 43:[45, 79, 36, 41], Operations: [] Exploring Operation: 79-45=34, Resulting Numbers: [36, 41, 34] Generated Node #2: [36, 41, 34] from Operation: 79-45=34 Current State: 43:[36, 41, 34], Operations: ['79-45=34'] Exploring Operation: 36+41=77, Resulting Numbers: [34, 77] Generated Node #3: [34, 77] from Operation: 36+41=77 Current State: 43:[34, 77], Operations: ['79-45=34', '36+41=77'] Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[45, 79, 36, 41], Operations: [] Exploring Operation: 79-41=38, Resulting Numbers: [45, 36, 38] Generated Node #0,0: 43:[45, 36, 38] Operation: 79-41=38 Exploring Operation: 79-36=43, Resulting Numbers: [45, 41, 43] Generated Node #0,1: 43:[45, 41, 43] Operation: 79-36=43 Exploring Operation: 45-36=9, Resulting Numbers: [79, 41, 9] Generated Node #0,2: 43:[79, 41, 9] Operation: 45-36=9 Exploring Operation: 79-45=34, Resulting Numbers: [36, 41, 34] Generated Node #0,3: 43:[36, 41, 34] Operation: 79-45=34 Moving to Node #0,1 Current State: 43:[45, 41, 43], Operations: ['79-36=43'] Exploring Operation: 45+41=86, Resulting Numbers: [43, 86] Generated Node #0,1,0: 43:[43, 86] Operation: 45+41=86 Exploring Operation: 45-41=4, Resulting Numbers: [43, 4] Generated Node #0,1,1: 43:[43, 4] Operation: 45-41=4 Exploring Operation: 41+43=84, Resulting Numbers: [45, 84] Generated Node #0,1,2: 43:[45, 84] Operation: 41+43=84 Exploring Operation: 45-43=2, Resulting Numbers: [41, 2] Generated Node #0,1,3: 43:[41, 2] Operation: 45-43=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[43, 4], Operations: ['79-36=43', '45-41=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,43 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,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,0 Current State: 43:[43, 86], Operations: ['79-36=43', '45+41=86'] Exploring Operation: 43*86=3698, Resulting Numbers: [3698] 3698,43 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[45, 79, 36, 41], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [45, 41, 43] Generated Node #0,1: 43:[45, 41, 43] Operation: 79-36=43 Moving to Node #0,1 Current State: 43:[45, 41, 43], Operations: ['79-36=43'] Exploring Operation: 45+41=86, Resulting Numbers: [43, 86] Generated Node #0,1,0: 43:[43, 86] Operation: 45+41=86 Moving to Node #0,1,0 Current State: 43:[43, 86], Operations: ['79-36=43', '45+41=86'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 76, 73, 17, 36 ]
29
[ "76-73=3", "36/3=12", "17+12=29" ]
Current State: 29:[76, 73, 17, 36], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [17, 36, 3] Generated Node #2: [17, 36, 3] from Operation: 76-73=3 Current State: 29:[17, 36, 3], Operations: ['76-73=3'] Exploring Operation: 36/3=12, Resulting Numbers: [17, 12] Generated Node #3: [17, 12] from Operation: 36/3=12 Current State: 29:[17, 12], Operations: ['76-73=3', '36/3=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[76, 73, 17, 36], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [17, 36, 3] Generated Node #0,0: 29:[17, 36, 3] Operation: 76-73=3 Exploring Operation: 76-36=40, Resulting Numbers: [73, 17, 40] Generated Node #0,1: 29:[73, 17, 40] Operation: 76-36=40 Moving to Node #0,0 Current State: 29:[17, 36, 3], Operations: ['76-73=3'] Exploring Operation: 17+3=20, Resulting Numbers: [36, 20] Generated Node #0,0,0: 29:[36, 20] Operation: 17+3=20 Exploring Operation: 36-3=33, Resulting Numbers: [17, 33] Generated Node #0,0,1: 29:[17, 33] Operation: 36-3=33 Moving to Node #0,1 Current State: 29:[73, 17, 40], Operations: ['76-36=40'] Exploring Operation: 73-40=33, Resulting Numbers: [17, 33] Generated Node #0,1,0: 29:[17, 33] Operation: 73-40=33 Exploring Operation: 73-17=56, Resulting Numbers: [40, 56] Generated Node #0,1,1: 29:[40, 56] Operation: 73-17=56 Moving to Node #0,0,0 Current State: 29:[36, 20], Operations: ['76-73=3', '17+3=20'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[17, 33], Operations: ['76-36=40', '73-40=33'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[17, 33], Operations: ['76-73=3', '36-3=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[40, 56], Operations: ['76-36=40', '73-17=56'] Exploring Operation: 40+56=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,29 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 58, 24, 81 ]
54
[ "63+24=87", "58*81=4698", "4698/87=54" ]
Current State: 54:[63, 58, 24, 81], Operations: [] Exploring Operation: 63+24=87, Resulting Numbers: [58, 81, 87] Generated Node #2: [58, 81, 87] from Operation: 63+24=87 Current State: 54:[58, 81, 87], Operations: ['63+24=87'] Exploring Operation: 58*81=4698, Resulting Numbers: [87, 4698] Generated Node #3: [87, 4698] from Operation: 58*81=4698 Current State: 54:[87, 4698], Operations: ['63+24=87', '58*81=4698'] Exploring Operation: 4698/87=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[63, 58, 24, 81], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [58, 24, 18] Generated Node #0,0: 54:[58, 24, 18] Operation: 81-63=18 Exploring Operation: 81-58=23, Resulting Numbers: [63, 24, 23] Generated Node #0,1: 54:[63, 24, 23] Operation: 81-58=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[58, 24, 18], Operations: ['81-63=18'] Exploring Operation: 24-18=6, Resulting Numbers: [58, 6] Generated Node #0,0,0: 54:[58, 6] Operation: 24-18=6 Exploring Operation: 58-24=34, Resulting Numbers: [18, 34] Generated Node #0,0,1: 54:[18, 34] Operation: 58-24=34 Moving to Node #0,0,0 Current State: 54:[58, 6], Operations: ['81-63=18', '24-18=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[18, 34], Operations: ['81-63=18', '58-24=34'] Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,54 unequal: No Solution No 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: 54:[63, 24, 23], Operations: ['81-58=23'] Exploring Operation: 63-24=39, Resulting Numbers: [23, 39] Generated Node #0,1,0: 54:[23, 39] Operation: 63-24=39 Exploring Operation: 24-23=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 54:[63, 1] Operation: 24-23=1 Moving to Node #0,1,1 Current State: 54:[63, 1], Operations: ['81-58=23', '24-23=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,54 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[23, 39], Operations: ['81-58=23', '63-24=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,54 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
[ 47, 10, 95, 25 ]
15
[ "47+10=57", "25*57=1425", "1425/95=15" ]
Current State: 15:[47, 10, 95, 25], Operations: [] Exploring Operation: 47+10=57, Resulting Numbers: [95, 25, 57] Generated Node #2: [95, 25, 57] from Operation: 47+10=57 Current State: 15:[95, 25, 57], Operations: ['47+10=57'] Exploring Operation: 25*57=1425, Resulting Numbers: [95, 1425] Generated Node #3: [95, 1425] from Operation: 25*57=1425 Current State: 15:[95, 1425], Operations: ['47+10=57', '25*57=1425'] Exploring Operation: 1425/95=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[47, 10, 95, 25], Operations: [] Exploring Operation: 47-25=22, Resulting Numbers: [10, 95, 22] Generated Node #0,0: 15:[10, 95, 22] Operation: 47-25=22 Exploring Operation: 95-25=70, Resulting Numbers: [47, 10, 70] Generated Node #0,1: 15:[47, 10, 70] Operation: 95-25=70 Exploring Operation: 95-47=48, Resulting Numbers: [10, 25, 48] Generated Node #0,2: 15:[10, 25, 48] Operation: 95-47=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[10, 25, 48], Operations: ['95-47=48'] Exploring Operation: 25-10=15, Resulting Numbers: [48, 15] Generated Node #0,2,0: 15:[48, 15] Operation: 25-10=15 Exploring Operation: 48-10=38, Resulting Numbers: [25, 38] Generated Node #0,2,1: 15:[25, 38] Operation: 48-10=38 Exploring Operation: 48-25=23, Resulting Numbers: [10, 23] Generated Node #0,2,2: 15:[10, 23] Operation: 48-25=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[10, 23], Operations: ['95-47=48', '48-25=23'] Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,15 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,15 unequal: No Solution No 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: 15:[48, 15], Operations: ['95-47=48', '25-10=15'] Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,15 unequal: No Solution Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,15 unequal: No Solution No 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: 15:[25, 38], Operations: ['95-47=48', '48-10=38'] Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[10, 95, 22], Operations: ['47-25=22'] Exploring Operation: 95-10=85, Resulting Numbers: [22, 85] Generated Node #0,0,0: 15:[22, 85] Operation: 95-10=85 Exploring Operation: 22-10=12, Resulting Numbers: [95, 12] Generated Node #0,0,1: 15:[95, 12] Operation: 22-10=12 Exploring Operation: 95-22=73, Resulting Numbers: [10, 73] Generated Node #0,0,2: 15:[10, 73] Operation: 95-22=73 Moving to Node #0,0,2 Current State: 15:[10, 73], Operations: ['47-25=22', '95-22=73'] Exploring Operation: 10*73=730, Resulting Numbers: [730] 730,15 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[22, 85], Operations: ['47-25=22', '95-10=85'] Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,15 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[95, 12], Operations: ['47-25=22', '22-10=12'] Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,15 unequal: No Solution Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,15 unequal: No Solution Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[47, 10, 70], Operations: ['95-25=70'] Exploring Operation: 70/10=7, Resulting Numbers: [47, 7] Generated Node #0,1,0: 15:[47, 7] Operation: 70/10=7 Exploring Operation: 47-10=37, Resulting Numbers: [70, 37] Generated Node #0,1,1: 15:[70, 37] Operation: 47-10=37 Exploring Operation: 70-47=23, Resulting Numbers: [10, 23] Generated Node #0,1,2: 15:[10, 23] Operation: 70-47=23 Moving to Node #0,1,2 Current State: 15:[10, 23], Operations: ['95-25=70', '70-47=23'] Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,15 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[47, 7], Operations: ['95-25=70', '70/10=7'] Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,15 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[70, 37], Operations: ['95-25=70', '47-10=37'] Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,15 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 54, 4, 23, 55 ]
62
[ "55-23=32", "32/4=8", "54+8=62" ]
Current State: 62:[54, 4, 23, 55], Operations: [] Exploring Operation: 55-23=32, Resulting Numbers: [54, 4, 32] Generated Node #2: [54, 4, 32] from Operation: 55-23=32 Current State: 62:[54, 4, 32], Operations: ['55-23=32'] Exploring Operation: 32/4=8, Resulting Numbers: [54, 8] Generated Node #3: [54, 8] from Operation: 32/4=8 Current State: 62:[54, 8], Operations: ['55-23=32', '32/4=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[54, 4, 23, 55], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [4, 55, 31] Generated Node #0,0: 62:[4, 55, 31] Operation: 54-23=31 Exploring Operation: 55-23=32, Resulting Numbers: [54, 4, 32] Generated Node #0,1: 62:[54, 4, 32] Operation: 55-23=32 Exploring Operation: 54+4=58, Resulting Numbers: [23, 55, 58] Generated Node #0,2: 62:[23, 55, 58] Operation: 54+4=58 Exploring Operation: 55-54=1, Resulting Numbers: [4, 23, 1] Generated Node #0,3: 62:[4, 23, 1] Operation: 55-54=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[4, 55, 31], Operations: ['54-23=31'] Exploring Operation: 55-4=51, Resulting Numbers: [31, 51] Generated Node #0,0,0: 62:[31, 51] Operation: 55-4=51 Exploring Operation: 4+31=35, Resulting Numbers: [55, 35] Generated Node #0,0,1: 62:[55, 35] Operation: 4+31=35 Exploring Operation: 55-31=24, Resulting Numbers: [4, 24] Generated Node #0,0,2: 62:[4, 24] Operation: 55-31=24 Exploring Operation: 4+55=59, Resulting Numbers: [31, 59] Generated Node #0,0,3: 62:[31, 59] Operation: 4+55=59 Moving to Node #0,0,3 Current State: 62:[31, 59], Operations: ['54-23=31', '4+55=59'] Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 31*59=1829, Resulting Numbers: [1829] 1829,62 unequal: No Solution Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[4, 24], Operations: ['54-23=31', '55-31=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[55, 35], Operations: ['54-23=31', '4+31=35'] Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,62 unequal: No Solution Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[31, 51], Operations: ['54-23=31', '55-4=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,62 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,62 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[54, 4, 32], Operations: ['55-23=32'] Exploring Operation: 54-32=22, Resulting Numbers: [4, 22] Generated Node #0,1,0: 62:[4, 22] Operation: 54-32=22 Exploring Operation: 54+4=58, Resulting Numbers: [32, 58] Generated Node #0,1,1: 62:[32, 58] Operation: 54+4=58 Exploring Operation: 54-4=50, Resulting Numbers: [32, 50] Generated Node #0,1,2: 62:[32, 50] Operation: 54-4=50 Exploring Operation: 32-4=28, Resulting Numbers: [54, 28] Generated Node #0,1,3: 62:[54, 28] Operation: 32-4=28 Moving to Node #0,1,1 Current State: 62:[32, 58], Operations: ['55-23=32', '54+4=58'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[54, 28], Operations: ['55-23=32', '32-4=28'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,62 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[4, 22], Operations: ['55-23=32', '54-32=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,62 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[32, 50], Operations: ['55-23=32', '54-4=50'] Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,62 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,62 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[4, 23, 1], Operations: ['55-54=1'] Exploring Operation: 4-1=3, Resulting Numbers: [23, 3] Generated Node #0,3,0: 62:[23, 3] Operation: 4-1=3 Exploring Operation: 23+1=24, Resulting Numbers: [4, 24] Generated Node #0,3,1: 62:[4, 24] Operation: 23+1=24 Exploring Operation: 4+23=27, Resulting Numbers: [1, 27] Generated Node #0,3,2: 62:[1, 27] Operation: 4+23=27 Exploring Operation: 4*1=4, Resulting Numbers: [23, 4] Generated Node #0,3,3: 62:[23, 4] Operation: 4*1=4 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[1, 27], Operations: ['55-54=1', '4+23=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,62 unequal: No Solution No 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: 62:[23, 3], Operations: ['55-54=1', '4-1=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,62 unequal: No Solution No 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: 62:[4, 24], Operations: ['55-54=1', '23+1=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,62 unequal: No Solution No 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: 62:[23, 4], Operations: ['55-54=1', '4*1=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,62 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: 62:[23, 55, 58], Operations: ['54+4=58'] Exploring Operation: 23+55=78, Resulting Numbers: [58, 78] Generated Node #0,2,0: 62:[58, 78] Operation: 23+55=78 Exploring Operation: 58-55=3, Resulting Numbers: [23, 3] Generated Node #0,2,1: 62:[23, 3] Operation: 58-55=3 Exploring Operation: 55-23=32, Resulting Numbers: [58, 32] Generated Node #0,2,2: 62:[58, 32] Operation: 55-23=32 Exploring Operation: 58-23=35, Resulting Numbers: [55, 35] Generated Node #0,2,3: 62:[55, 35] Operation: 58-23=35 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[58, 32], Operations: ['54+4=58', '55-23=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,62 unequal: No Solution No 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: 62:[23, 3], Operations: ['54+4=58', '58-55=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,62 unequal: No Solution No 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: 62:[55, 35], Operations: ['54+4=58', '58-23=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,62 unequal: No Solution No 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: 62:[58, 78], Operations: ['54+4=58', '23+55=78'] Exploring Operation: 58+78=136, Resulting Numbers: [136] 136,62 unequal: No Solution Exploring Operation: 58*78=4524, Resulting Numbers: [4524] 4524,62 unequal: No Solution Exploring Operation: 78-58=20, Resulting Numbers: [20] 20,62 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
[ 67, 69, 97, 14 ]
65
[ "97-69=28", "28/14=2", "67-2=65" ]
Current State: 65:[67, 69, 97, 14], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [67, 14, 28] Generated Node #2: [67, 14, 28] from Operation: 97-69=28 Current State: 65:[67, 14, 28], Operations: ['97-69=28'] Exploring Operation: 28/14=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 28/14=2 Current State: 65:[67, 2], Operations: ['97-69=28', '28/14=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[67, 69, 97, 14], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [67, 69, 83] Generated Node #0,0: 65:[67, 69, 83] Operation: 97-14=83 Exploring Operation: 69-67=2, Resulting Numbers: [97, 14, 2] Generated Node #0,1: 65:[97, 14, 2] Operation: 69-67=2 Exploring Operation: 97-67=30, Resulting Numbers: [69, 14, 30] Generated Node #0,2: 65:[69, 14, 30] Operation: 97-67=30 Exploring Operation: 69-14=55, Resulting Numbers: [67, 97, 55] Generated Node #0,3: 65:[67, 97, 55] Operation: 69-14=55 Exploring Operation: 97-69=28, Resulting Numbers: [67, 14, 28] Generated Node #0,4: 65:[67, 14, 28] Operation: 97-69=28 Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[67, 14, 28], Operations: ['97-69=28'] Exploring Operation: 67-28=39, Resulting Numbers: [14, 39] Generated Node #0,4,0: 65:[14, 39] Operation: 67-28=39 Exploring Operation: 14+28=42, Resulting Numbers: [67, 42] Generated Node #0,4,1: 65:[67, 42] Operation: 14+28=42 Exploring Operation: 28-14=14, Resulting Numbers: [67, 14] Generated Node #0,4,2: 65:[67, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [67, 2] Generated Node #0,4,3: 65:[67, 2] Operation: 28/14=2 Exploring Operation: 67-14=53, Resulting Numbers: [28, 53] Generated Node #0,4,4: 65:[28, 53] Operation: 67-14=53 Moving to Node #0,4,2 Current State: 65:[67, 14], Operations: ['97-69=28', '28-14=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,65 unequal: No Solution Moving to Node #0,4,3 Current State: 65:[67, 2], Operations: ['97-69=28', '28/14=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[67, 69, 97, 14], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [67, 14, 28] Generated Node #0,4: 65:[67, 14, 28] Operation: 97-69=28 Moving to Node #0,4 Current State: 65:[67, 14, 28], Operations: ['97-69=28'] Exploring Operation: 28/14=2, Resulting Numbers: [67, 2] Generated Node #0,4,3: 65:[67, 2] Operation: 28/14=2 Moving to Node #0,4,3 Current State: 65:[67, 2], Operations: ['97-69=28', '28/14=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 92, 87, 39, 89 ]
68
[ "92-89=3", "87/3=29", "39+29=68" ]
Current State: 68:[92, 87, 39, 89], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [87, 39, 3] Generated Node #2: [87, 39, 3] from Operation: 92-89=3 Current State: 68:[87, 39, 3], Operations: ['92-89=3'] Exploring Operation: 87/3=29, Resulting Numbers: [39, 29] Generated Node #3: [39, 29] from Operation: 87/3=29 Current State: 68:[39, 29], Operations: ['92-89=3', '87/3=29'] Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[92, 87, 39, 89], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [39, 89, 5] Generated Node #0,0: 68:[39, 89, 5] Operation: 92-87=5 Exploring Operation: 89-87=2, Resulting Numbers: [92, 39, 2] Generated Node #0,1: 68:[92, 39, 2] Operation: 89-87=2 Exploring Operation: 92-89=3, Resulting Numbers: [87, 39, 3] Generated Node #0,2: 68:[87, 39, 3] Operation: 92-89=3 Exploring Operation: 92-39=53, Resulting Numbers: [87, 89, 53] Generated Node #0,3: 68:[87, 89, 53] Operation: 92-39=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[87, 39, 3], Operations: ['92-89=3'] Exploring Operation: 87/3=29, Resulting Numbers: [39, 29] Generated Node #0,2,0: 68:[39, 29] Operation: 87/3=29 Exploring Operation: 87-3=84, Resulting Numbers: [39, 84] Generated Node #0,2,1: 68:[39, 84] Operation: 87-3=84 Exploring Operation: 39-3=36, Resulting Numbers: [87, 36] Generated Node #0,2,2: 68:[87, 36] Operation: 39-3=36 Exploring Operation: 87-39=48, Resulting Numbers: [3, 48] Generated Node #0,2,3: 68:[3, 48] Operation: 87-39=48 Moving to Node #0,2,0 Current State: 68:[39, 29], Operations: ['92-89=3', '87/3=29'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[92, 87, 39, 89], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [87, 39, 3] Generated Node #0,2: 68:[87, 39, 3] Operation: 92-89=3 Moving to Node #0,2 Current State: 68:[87, 39, 3], Operations: ['92-89=3'] Exploring Operation: 87/3=29, Resulting Numbers: [39, 29] Generated Node #0,2,0: 68:[39, 29] Operation: 87/3=29 Moving to Node #0,2,0 Current State: 68:[39, 29], Operations: ['92-89=3', '87/3=29'] Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 81, 57, 89, 1 ]
48
[ "81+57=138", "89+1=90", "138-90=48" ]
Current State: 48:[81, 57, 89, 1], Operations: [] Exploring Operation: 81+57=138, Resulting Numbers: [89, 1, 138] Generated Node #2: [89, 1, 138] from Operation: 81+57=138 Current State: 48:[89, 1, 138], Operations: ['81+57=138'] Exploring Operation: 89+1=90, Resulting Numbers: [138, 90] Generated Node #3: [138, 90] from Operation: 89+1=90 Current State: 48:[138, 90], Operations: ['81+57=138', '89+1=90'] Exploring Operation: 138-90=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[81, 57, 89, 1], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [57, 1, 8] Generated Node #0,0: 48:[57, 1, 8] Operation: 89-81=8 Moving to Node #0,0 Current State: 48:[57, 1, 8], Operations: ['89-81=8'] Exploring Operation: 57-8=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 48:[1, 49] Operation: 57-8=49 Moving to Node #0,0,0 Current State: 48:[1, 49], Operations: ['89-81=8', '57-8=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[81, 57, 89, 1], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [57, 1, 8] Generated Node #0,0: 48:[57, 1, 8] Operation: 89-81=8 Moving to Node #0,0 Current State: 48:[57, 1, 8], Operations: ['89-81=8'] Exploring Operation: 57-8=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 48:[1, 49] Operation: 57-8=49 Moving to Node #0,0,0 Current State: 48:[1, 49], Operations: ['89-81=8', '57-8=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 9, 45, 78, 1 ]
73
[ "45/9=5", "78*1=78", "78-5=73" ]
Current State: 73:[9, 45, 78, 1], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [78, 1, 5] Generated Node #2: [78, 1, 5] from Operation: 45/9=5 Current State: 73:[78, 1, 5], Operations: ['45/9=5'] Exploring Operation: 78*1=78, Resulting Numbers: [5, 78] Generated Node #3: [5, 78] from Operation: 78*1=78 Current State: 73:[5, 78], Operations: ['45/9=5', '78*1=78'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[9, 45, 78, 1], Operations: [] Exploring Operation: 9+45=54, Resulting Numbers: [78, 1, 54] Generated Node #0,0: 73:[78, 1, 54] Operation: 9+45=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[78, 1, 54], Operations: ['9+45=54'] Exploring Operation: 78-1=77, Resulting Numbers: [54, 77] Generated Node #0,0,0: 73:[54, 77] Operation: 78-1=77 Moving to Node #0,0,0 Current State: 73:[54, 77], Operations: ['9+45=54', '78-1=77'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 64, 80, 39, 48 ]
78
[ "64*39=2496", "80-48=32", "2496/32=78" ]
Current State: 78:[64, 80, 39, 48], Operations: [] Exploring Operation: 64*39=2496, Resulting Numbers: [80, 48, 2496] Generated Node #2: [80, 48, 2496] from Operation: 64*39=2496 Current State: 78:[80, 48, 2496], Operations: ['64*39=2496'] Exploring Operation: 80-48=32, Resulting Numbers: [2496, 32] Generated Node #3: [2496, 32] from Operation: 80-48=32 Current State: 78:[2496, 32], Operations: ['64*39=2496', '80-48=32'] Exploring Operation: 2496/32=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[64, 80, 39, 48], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [39, 48, 16] Generated Node #0,0: 78:[39, 48, 16] Operation: 80-64=16 Exploring Operation: 64-48=16, Resulting Numbers: [80, 39, 16] Generated Node #0,1: 78:[80, 39, 16] Operation: 64-48=16 Exploring Operation: 64-39=25, Resulting Numbers: [80, 48, 25] Generated Node #0,2: 78:[80, 48, 25] Operation: 64-39=25 Exploring Operation: 48-39=9, Resulting Numbers: [64, 80, 9] Generated Node #0,3: 78:[64, 80, 9] Operation: 48-39=9 Moving to Node #0,1 Current State: 78:[80, 39, 16], Operations: ['64-48=16'] Exploring Operation: 39-16=23, Resulting Numbers: [80, 23] Generated Node #0,1,0: 78:[80, 23] Operation: 39-16=23 Exploring Operation: 80-39=41, Resulting Numbers: [16, 41] Generated Node #0,1,1: 78:[16, 41] Operation: 80-39=41 Exploring Operation: 80/16=5, Resulting Numbers: [39, 5] Generated Node #0,1,2: 78:[39, 5] Operation: 80/16=5 Exploring Operation: 80-16=64, Resulting Numbers: [39, 64] Generated Node #0,1,3: 78:[39, 64] Operation: 80-16=64 Moving to Node #0,2 Current State: 78:[80, 48, 25], Operations: ['64-39=25'] Exploring Operation: 80-48=32, Resulting Numbers: [25, 32] Generated Node #0,2,0: 78:[25, 32] Operation: 80-48=32 Exploring Operation: 80-25=55, Resulting Numbers: [48, 55] Generated Node #0,2,1: 78:[48, 55] Operation: 80-25=55 Exploring Operation: 48-25=23, Resulting Numbers: [80, 23] Generated Node #0,2,2: 78:[80, 23] Operation: 48-25=23 Exploring Operation: 48+25=73, Resulting Numbers: [80, 73] Generated Node #0,2,3: 78:[80, 73] Operation: 48+25=73 Moving to Node #0,0 Current State: 78:[39, 48, 16], Operations: ['80-64=16'] Exploring Operation: 48/16=3, Resulting Numbers: [39, 3] Generated Node #0,0,0: 78:[39, 3] Operation: 48/16=3 Exploring Operation: 48-16=32, Resulting Numbers: [39, 32] Generated Node #0,0,1: 78:[39, 32] Operation: 48-16=32 Exploring Operation: 39+48=87, Resulting Numbers: [16, 87] Generated Node #0,0,2: 78:[16, 87] Operation: 39+48=87 Exploring Operation: 48-39=9, Resulting Numbers: [16, 9] Generated Node #0,0,3: 78:[16, 9] Operation: 48-39=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[39, 3], Operations: ['80-64=16', '48/16=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,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,0,1 Current State: 78:[39, 32], Operations: ['80-64=16', '48-16=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,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,0,3 Current State: 78:[16, 9], Operations: ['80-64=16', '48-39=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,78 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,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,0,2 Current State: 78:[16, 87], Operations: ['80-64=16', '39+48=87'] Exploring Operation: 16+87=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 16*87=1392, Resulting Numbers: [1392] 1392,78 unequal: No Solution Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,78 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: 78:[64, 80, 9], Operations: ['48-39=9'] Exploring Operation: 80-9=71, Resulting Numbers: [64, 71] Generated Node #0,3,0: 78:[64, 71] Operation: 80-9=71 Exploring Operation: 64-9=55, Resulting Numbers: [80, 55] Generated Node #0,3,1: 78:[80, 55] Operation: 64-9=55 Exploring Operation: 80-64=16, Resulting Numbers: [9, 16] Generated Node #0,3,2: 78:[9, 16] Operation: 80-64=16 Exploring Operation: 64+9=73, Resulting Numbers: [80, 73] Generated Node #0,3,3: 78:[80, 73] Operation: 64+9=73 Moving to Node #0,1,2 Current State: 78:[39, 5], Operations: ['64-48=16', '80/16=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[16, 41], Operations: ['64-48=16', '80-39=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,78 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[80, 23], Operations: ['64-48=16', '39-16=23'] Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,78 unequal: No Solution Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[80, 23], Operations: ['64-39=25', '48-25=23'] Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,78 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[9, 16], Operations: ['48-39=9', '80-64=16'] Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,78 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[80, 73], Operations: ['64-39=25', '48+25=73'] Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,78 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[25, 32], Operations: ['64-39=25', '80-48=32'] Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[80, 73], Operations: ['48-39=9', '64+9=73'] Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,78 unequal: No Solution Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[39, 64], Operations: ['64-48=16', '80-16=64'] Exploring Operation: 39*64=2496, Resulting Numbers: [2496] 2496,78 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 39+64=103, Resulting Numbers: [103] 103,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[80, 55], Operations: ['48-39=9', '64-9=55'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 80*55=4400, Resulting Numbers: [4400] 4400,78 unequal: No Solution Exploring Operation: 80+55=135, Resulting Numbers: [135] 135,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[64, 71], Operations: ['48-39=9', '80-9=71'] Exploring Operation: 64*71=4544, Resulting Numbers: [4544] 4544,78 unequal: No Solution Exploring Operation: 64+71=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[48, 55], Operations: ['64-39=25', '80-25=55'] Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,78 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 51, 29, 7, 98 ]
49
[ "51+7=58", "29*98=2842", "2842/58=49" ]
Current State: 49:[51, 29, 7, 98], Operations: [] Exploring Operation: 51+7=58, Resulting Numbers: [29, 98, 58] Generated Node #2: [29, 98, 58] from Operation: 51+7=58 Current State: 49:[29, 98, 58], Operations: ['51+7=58'] Exploring Operation: 29*98=2842, Resulting Numbers: [58, 2842] Generated Node #3: [58, 2842] from Operation: 29*98=2842 Current State: 49:[58, 2842], Operations: ['51+7=58', '29*98=2842'] Exploring Operation: 2842/58=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[51, 29, 7, 98], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [29, 7, 47] Generated Node #0,0: 49:[29, 7, 47] Operation: 98-51=47 Moving to Node #0,0 Current State: 49:[29, 7, 47], Operations: ['98-51=47'] Exploring Operation: 47-29=18, Resulting Numbers: [7, 18] Generated Node #0,0,0: 49:[7, 18] Operation: 47-29=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[7, 18], Operations: ['98-51=47', '47-29=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 36, 7, 57 ]
48
[ "7+57=64", "36*64=2304", "2304/48=48" ]
Current State: 48:[48, 36, 7, 57], Operations: [] Exploring Operation: 7+57=64, Resulting Numbers: [48, 36, 64] Generated Node #2: [48, 36, 64] from Operation: 7+57=64 Current State: 48:[48, 36, 64], Operations: ['7+57=64'] Exploring Operation: 36*64=2304, Resulting Numbers: [48, 2304] Generated Node #3: [48, 2304] from Operation: 36*64=2304 Current State: 48:[48, 2304], Operations: ['7+57=64', '36*64=2304'] Exploring Operation: 2304/48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[48, 36, 7, 57], Operations: [] Exploring Operation: 57-36=21, Resulting Numbers: [48, 7, 21] Generated Node #0,0: 48:[48, 7, 21] Operation: 57-36=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[48, 7, 21], Operations: ['57-36=21'] Exploring Operation: 21/7=3, Resulting Numbers: [48, 3] Generated Node #0,0,0: 48:[48, 3] Operation: 21/7=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[48, 3], Operations: ['57-36=21', '21/7=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 49, 46, 3, 10 ]
33
[ "49-46=3", "3*10=30", "3+30=33" ]
Current State: 33:[49, 46, 3, 10], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [3, 10, 3] Generated Node #2: [3, 10, 3] from Operation: 49-46=3 Current State: 33:[3, 10, 3], Operations: ['49-46=3'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,33 equal: Goal Reached Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[49, 46, 3, 10], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [46, 3, 39] Generated Node #0,0: 33:[46, 3, 39] Operation: 49-10=39 Exploring Operation: 46-10=36, Resulting Numbers: [49, 3, 36] Generated Node #0,1: 33:[49, 3, 36] Operation: 46-10=36 Exploring Operation: 49-46=3, Resulting Numbers: [3, 10, 3] Generated Node #0,2: 33:[3, 10, 3] Operation: 49-46=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[3, 10, 3], Operations: ['49-46=3'] Exploring Operation: 3+10=13, Resulting Numbers: [3, 13] Generated Node #0,2,0: 33:[3, 13] Operation: 3+10=13 Exploring Operation: 10+3=13, Resulting Numbers: [3, 13] Generated Node #0,2,1: 33:[3, 13] Operation: 10+3=13 Exploring Operation: 3*10=30, Resulting Numbers: [3, 30] Generated Node #0,2,2: 33:[3, 30] Operation: 3*10=30 Moving to Node #0,2,0 Current State: 33:[3, 13], Operations: ['49-46=3', '3+10=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[3, 13], Operations: ['49-46=3', '10+3=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[3, 30], Operations: ['49-46=3', '3*10=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[49, 46, 3, 10], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [3, 10, 3] Generated Node #0,2: 33:[3, 10, 3] Operation: 49-46=3 Moving to Node #0,2 Current State: 33:[3, 10, 3], Operations: ['49-46=3'] Exploring Operation: 3*10=30, Resulting Numbers: [3, 30] Generated Node #0,2,2: 33:[3, 30] Operation: 3*10=30 Moving to Node #0,2,2 Current State: 33:[3, 30], Operations: ['49-46=3', '3*10=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 85, 61, 2, 74 ]
100
[ "85-61=24", "2+74=76", "24+76=100" ]
Current State: 100:[85, 61, 2, 74], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [2, 74, 24] Generated Node #2: [2, 74, 24] from Operation: 85-61=24 Current State: 100:[2, 74, 24], Operations: ['85-61=24'] Exploring Operation: 2+74=76, Resulting Numbers: [24, 76] Generated Node #3: [24, 76] from Operation: 2+74=76 Current State: 100:[24, 76], Operations: ['85-61=24', '2+74=76'] Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[85, 61, 2, 74], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [61, 2, 11] Generated Node #0,0: 100:[61, 2, 11] Operation: 85-74=11 Exploring Operation: 74-61=13, Resulting Numbers: [85, 2, 13] Generated Node #0,1: 100:[85, 2, 13] Operation: 74-61=13 Moving to Node #0,0 Current State: 100:[61, 2, 11], Operations: ['85-74=11'] Exploring Operation: 61-2=59, Resulting Numbers: [11, 59] Generated Node #0,0,0: 100:[11, 59] Operation: 61-2=59 Exploring Operation: 61-11=50, Resulting Numbers: [2, 50] Generated Node #0,0,1: 100:[2, 50] Operation: 61-11=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[2, 50], Operations: ['85-74=11', '61-11=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[85, 61, 2, 74], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [61, 2, 11] Generated Node #0,0: 100:[61, 2, 11] Operation: 85-74=11 Moving to Node #0,0 Current State: 100:[61, 2, 11], Operations: ['85-74=11'] Exploring Operation: 61-11=50, Resulting Numbers: [2, 50] Generated Node #0,0,1: 100:[2, 50] Operation: 61-11=50 Moving to Node #0,0,1 Current State: 100:[2, 50], Operations: ['85-74=11', '61-11=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 66, 3, 3, 57 ]
44
[ "66-3=63", "57/3=19", "63-19=44" ]
Current State: 44:[66, 3, 3, 57], Operations: [] Exploring Operation: 66-3=63, Resulting Numbers: [57, 63] Generated Node #2: [57, 63] from Operation: 66-3=63 Current State: 44:[57, 63], Operations: ['66-3=63'] Exploring Operation: 57/3=19, Resulting Numbers: [63, 19] Generated Node #3: [63, 19] from Operation: 57/3=19 Current State: 44:[63, 19], Operations: ['66-3=63', '57/3=19'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[66, 3, 3, 57], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [3, 57, 22] Generated Node #0,0: 44:[3, 57, 22] Operation: 66/3=22 Exploring Operation: 66-57=9, Resulting Numbers: [3, 3, 9] Generated Node #0,1: 44:[3, 3, 9] Operation: 66-57=9 Exploring Operation: 66/3=22, Resulting Numbers: [3, 57, 22] Generated Node #0,2: 44:[3, 57, 22] Operation: 66/3=22 Exploring Operation: 57/3=19, Resulting Numbers: [66, 3, 19] Generated Node #0,3: 44:[66, 3, 19] Operation: 57/3=19 Moving to Node #0,1 Current State: 44:[3, 3, 9], Operations: ['66-57=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 44:[3, 3] Operation: 9/3=3 Exploring Operation: 9/3=3, Resulting Numbers: [3, 3] Generated Node #0,1,1: 44:[3, 3] Operation: 9/3=3 Exploring Operation: 3+9=12, Resulting Numbers: [3, 12] Generated Node #0,1,2: 44:[3, 12] Operation: 3+9=12 Exploring Operation: 3+9=12, Resulting Numbers: [3, 12] Generated Node #0,1,3: 44:[3, 12] Operation: 3+9=12 Moving to Node #0,2 Current State: 44:[3, 57, 22], Operations: ['66/3=22'] Exploring Operation: 57-22=35, Resulting Numbers: [3, 35] Generated Node #0,2,0: 44:[3, 35] Operation: 57-22=35 Exploring Operation: 57-3=54, Resulting Numbers: [22, 54] Generated Node #0,2,1: 44:[22, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [22, 19] Generated Node #0,2,2: 44:[22, 19] Operation: 57/3=19 Exploring Operation: 3+57=60, Resulting Numbers: [22, 60] Generated Node #0,2,3: 44:[22, 60] Operation: 3+57=60 Moving to Node #0,0 Current State: 44:[3, 57, 22], Operations: ['66/3=22'] Exploring Operation: 3+57=60, Resulting Numbers: [22, 60] Generated Node #0,0,0: 44:[22, 60] Operation: 3+57=60 Exploring Operation: 57-22=35, Resulting Numbers: [3, 35] Generated Node #0,0,1: 44:[3, 35] Operation: 57-22=35 Exploring Operation: 57/3=19, Resulting Numbers: [22, 19] Generated Node #0,0,2: 44:[22, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [22, 54] Generated Node #0,0,3: 44:[22, 54] Operation: 57-3=54 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[22, 19], Operations: ['66/3=22', '57/3=19'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,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:[3, 35], Operations: ['66/3=22', '57-22=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,44 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,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,3 Current State: 44:[22, 54], Operations: ['66/3=22', '57-3=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,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:[22, 60], Operations: ['66/3=22', '3+57=60'] Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,44 unequal: No Solution Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,44 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: 44:[66, 3, 19], Operations: ['57/3=19'] Exploring Operation: 66-3=63, Resulting Numbers: [19, 63] Generated Node #0,3,0: 44:[19, 63] Operation: 66-3=63 Exploring Operation: 66-19=47, Resulting Numbers: [3, 47] Generated Node #0,3,1: 44:[3, 47] Operation: 66-19=47 Exploring Operation: 3+19=22, Resulting Numbers: [66, 22] Generated Node #0,3,2: 44:[66, 22] Operation: 3+19=22 Exploring Operation: 66/3=22, Resulting Numbers: [19, 22] Generated Node #0,3,3: 44:[19, 22] Operation: 66/3=22 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 44:[19, 22], Operations: ['57/3=19', '66/3=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,44 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 44:[3, 47], Operations: ['57/3=19', '66-19=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[66, 3, 3, 57], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [66, 3, 19] Generated Node #0,3: 44:[66, 3, 19] Operation: 57/3=19 Moving to Node #0,3 Current State: 44:[66, 3, 19], Operations: ['57/3=19'] Exploring Operation: 66-19=47, Resulting Numbers: [3, 47] Generated Node #0,3,1: 44:[3, 47] Operation: 66-19=47 Moving to Node #0,3,1 Current State: 44:[3, 47], Operations: ['57/3=19', '66-19=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
sum_heuristic
[ 64, 10, 2, 16 ]
100
[ "64+16=80", "10*2=20", "80+20=100" ]
Current State: 100:[64, 10, 2, 16], Operations: [] Exploring Operation: 64+16=80, Resulting Numbers: [10, 2, 80] Generated Node #2: [10, 2, 80] from Operation: 64+16=80 Current State: 100:[10, 2, 80], Operations: ['64+16=80'] Exploring Operation: 10*2=20, Resulting Numbers: [80, 20] Generated Node #3: [80, 20] from Operation: 10*2=20 Current State: 100:[80, 20], Operations: ['64+16=80', '10*2=20'] Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[64, 10, 2, 16], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [10, 16, 32] Generated Node #0,0: 100:[10, 16, 32] Operation: 64/2=32 Exploring Operation: 64-16=48, Resulting Numbers: [10, 2, 48] Generated Node #0,1: 100:[10, 2, 48] Operation: 64-16=48 Exploring Operation: 64/16=4, Resulting Numbers: [10, 2, 4] Generated Node #0,2: 100:[10, 2, 4] Operation: 64/16=4 Exploring Operation: 64-10=54, Resulting Numbers: [2, 16, 54] Generated Node #0,3: 100:[2, 16, 54] Operation: 64-10=54 Moving to Node #0,2 Current State: 100:[10, 2, 4], Operations: ['64/16=4'] Exploring Operation: 10/2=5, Resulting Numbers: [4, 5] Generated Node #0,2,0: 100:[4, 5] Operation: 10/2=5 Exploring Operation: 4-2=2, Resulting Numbers: [10, 2] Generated Node #0,2,1: 100:[10, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [10, 2] Generated Node #0,2,2: 100:[10, 2] Operation: 4/2=2 Exploring Operation: 10*2=20, Resulting Numbers: [4, 20] Generated Node #0,2,3: 100:[4, 20] Operation: 10*2=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[4, 5], Operations: ['64/16=4', '10/2=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[10, 2], Operations: ['64/16=4', '4-2=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[10, 2], Operations: ['64/16=4', '4/2=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[4, 20], Operations: ['64/16=4', '10*2=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,100 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,100 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: 100:[10, 2, 48], Operations: ['64-16=48'] Exploring Operation: 10/2=5, Resulting Numbers: [48, 5] Generated Node #0,1,0: 100:[48, 5] Operation: 10/2=5 Exploring Operation: 10*2=20, Resulting Numbers: [48, 20] Generated Node #0,1,1: 100:[48, 20] Operation: 10*2=20 Exploring Operation: 48/2=24, Resulting Numbers: [10, 24] Generated Node #0,1,2: 100:[10, 24] Operation: 48/2=24 Exploring Operation: 2+48=50, Resulting Numbers: [10, 50] Generated Node #0,1,3: 100:[10, 50] Operation: 2+48=50 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[10, 50], Operations: ['64-16=48', '2+48=50'] Exploring Operation: 10*50=500, Resulting Numbers: [500] 500,100 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[10, 24], Operations: ['64-16=48', '48/2=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[48, 5], Operations: ['64-16=48', '10/2=5'] Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[48, 20], Operations: ['64-16=48', '10*2=20'] Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,100 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: 100:[2, 16, 54], Operations: ['64-10=54'] Exploring Operation: 2+16=18, Resulting Numbers: [54, 18] Generated Node #0,3,0: 100:[54, 18] Operation: 2+16=18 Exploring Operation: 54-2=52, Resulting Numbers: [16, 52] Generated Node #0,3,1: 100:[16, 52] Operation: 54-2=52 Exploring Operation: 54/2=27, Resulting Numbers: [16, 27] Generated Node #0,3,2: 100:[16, 27] Operation: 54/2=27 Exploring Operation: 16/2=8, Resulting Numbers: [54, 8] Generated Node #0,3,3: 100:[54, 8] Operation: 16/2=8 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[54, 18], Operations: ['64-10=54', '2+16=18'] Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,100 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[16, 52], Operations: ['64-10=54', '54-2=52'] Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[16, 27], Operations: ['64-10=54', '54/2=27'] Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,100 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[54, 8], Operations: ['64-10=54', '16/2=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,100 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,100 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: 100:[10, 16, 32], Operations: ['64/2=32'] Exploring Operation: 32-10=22, Resulting Numbers: [16, 22] Generated Node #0,0,0: 100:[16, 22] Operation: 32-10=22 Exploring Operation: 32-16=16, Resulting Numbers: [10, 16] Generated Node #0,0,1: 100:[10, 16] Operation: 32-16=16 Exploring Operation: 16+32=48, Resulting Numbers: [10, 48] Generated Node #0,0,2: 100:[10, 48] Operation: 16+32=48 Exploring Operation: 32/16=2, Resulting Numbers: [10, 2] Generated Node #0,0,3: 100:[10, 2] Operation: 32/16=2 Moving to Node #0,0,3 Current State: 100:[10, 2], Operations: ['64/2=32', '32/16=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[10, 48], Operations: ['64/2=32', '16+32=48'] Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[10, 16], Operations: ['64/2=32', '32-16=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,100 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[16, 22], Operations: ['64/2=32', '32-10=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,100 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 31, 60, 83, 81 ]
89
[ "31+60=91", "83-81=2", "91-2=89" ]
Current State: 89:[31, 60, 83, 81], Operations: [] Exploring Operation: 31+60=91, Resulting Numbers: [83, 81, 91] Generated Node #2: [83, 81, 91] from Operation: 31+60=91 Current State: 89:[83, 81, 91], Operations: ['31+60=91'] Exploring Operation: 83-81=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 83-81=2 Current State: 89:[91, 2], Operations: ['31+60=91', '83-81=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[31, 60, 83, 81], Operations: [] Exploring Operation: 31+81=112, Resulting Numbers: [60, 83, 112] Generated Node #0,0: 89:[60, 83, 112] Operation: 31+81=112 Exploring Operation: 31+60=91, Resulting Numbers: [83, 81, 91] Generated Node #0,1: 89:[83, 81, 91] Operation: 31+60=91 Moving to Node #0,1 Current State: 89:[83, 81, 91], Operations: ['31+60=91'] Exploring Operation: 83+81=164, Resulting Numbers: [91, 164] Generated Node #0,1,0: 89:[91, 164] Operation: 83+81=164 Exploring Operation: 91-81=10, Resulting Numbers: [83, 10] Generated Node #0,1,1: 89:[83, 10] Operation: 91-81=10 Moving to Node #0,0 Current State: 89:[60, 83, 112], Operations: ['31+81=112'] Exploring Operation: 112-60=52, Resulting Numbers: [83, 52] Generated Node #0,0,0: 89:[83, 52] Operation: 112-60=52 Exploring Operation: 60+83=143, Resulting Numbers: [112, 143] Generated Node #0,0,1: 89:[112, 143] Operation: 60+83=143 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[83, 52], Operations: ['31+81=112', '112-60=52'] Exploring Operation: 83+52=135, Resulting Numbers: [135] 135,89 unequal: No Solution Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[112, 143], Operations: ['31+81=112', '60+83=143'] Exploring Operation: 112+143=255, Resulting Numbers: [255] 255,89 unequal: No Solution Exploring Operation: 143-112=31, Resulting Numbers: [31] 31,89 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: 89:[91, 164], Operations: ['31+60=91', '83+81=164'] Exploring Operation: 164-91=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 91+164=255, Resulting Numbers: [255] 255,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[83, 10], Operations: ['31+60=91', '91-81=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 47, 63, 47, 62 ]
47
[ "47*63=2961", "47*62=2914", "2961-2914=47" ]
Current State: 47:[47, 63, 47, 62], Operations: [] Exploring Operation: 47*63=2961, Resulting Numbers: [62, 2961] Generated Node #2: [62, 2961] from Operation: 47*63=2961 Current State: 47:[62, 2961], Operations: ['47*63=2961'] Exploring Operation: 47*62=2914, Resulting Numbers: [2961, 2914] Generated Node #3: [2961, 2914] from Operation: 47*62=2914 Current State: 47:[2961, 2914], Operations: ['47*63=2961', '47*62=2914'] Exploring Operation: 2961-2914=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[47, 63, 47, 62], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [47, 62, 16] Generated Node #0,0: 47:[47, 62, 16] Operation: 63-47=16 Exploring Operation: 63-47=16, Resulting Numbers: [47, 62, 16] Generated Node #0,1: 47:[47, 62, 16] Operation: 63-47=16 Moving to Node #0,0 Current State: 47:[47, 62, 16], Operations: ['63-47=16'] Exploring Operation: 47+16=63, Resulting Numbers: [62, 63] Generated Node #0,0,0: 47:[62, 63] Operation: 47+16=63 Exploring Operation: 62-16=46, Resulting Numbers: [47, 46] Generated Node #0,0,1: 47:[47, 46] Operation: 62-16=46 Moving to Node #0,1 Current State: 47:[47, 62, 16], Operations: ['63-47=16'] Exploring Operation: 62-16=46, Resulting Numbers: [47, 46] Generated Node #0,1,0: 47:[47, 46] Operation: 62-16=46 Exploring Operation: 47+16=63, Resulting Numbers: [62, 63] Generated Node #0,1,1: 47:[62, 63] Operation: 47+16=63 Moving to Node #0,0,1 Current State: 47:[47, 46], Operations: ['63-47=16', '62-16=46'] Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47+46=93, Resulting Numbers: [93] 93,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[47, 46], Operations: ['63-47=16', '62-16=46'] Exploring Operation: 47+46=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[62, 63], Operations: ['63-47=16', '47+16=63'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[62, 63], Operations: ['63-47=16', '47+16=63'] Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 18, 35, 74, 22 ]
69
[ "35-18=17", "74-22=52", "17+52=69" ]
Current State: 69:[18, 35, 74, 22], Operations: [] Exploring Operation: 35-18=17, Resulting Numbers: [74, 22, 17] Generated Node #2: [74, 22, 17] from Operation: 35-18=17 Current State: 69:[74, 22, 17], Operations: ['35-18=17'] Exploring Operation: 74-22=52, Resulting Numbers: [17, 52] Generated Node #3: [17, 52] from Operation: 74-22=52 Current State: 69:[17, 52], Operations: ['35-18=17', '74-22=52'] Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[18, 35, 74, 22], Operations: [] Exploring Operation: 35-18=17, Resulting Numbers: [74, 22, 17] Generated Node #0,0: 69:[74, 22, 17] Operation: 35-18=17 Moving to Node #0,0 Current State: 69:[74, 22, 17], Operations: ['35-18=17'] Exploring Operation: 22-17=5, Resulting Numbers: [74, 5] Generated Node #0,0,0: 69:[74, 5] Operation: 22-17=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[74, 5], Operations: ['35-18=17', '22-17=5'] Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[18, 35, 74, 22], Operations: [] Exploring Operation: 35-18=17, Resulting Numbers: [74, 22, 17] Generated Node #0,0: 69:[74, 22, 17] Operation: 35-18=17 Moving to Node #0,0 Current State: 69:[74, 22, 17], Operations: ['35-18=17'] Exploring Operation: 22-17=5, Resulting Numbers: [74, 5] Generated Node #0,0,0: 69:[74, 5] Operation: 22-17=5 Moving to Node #0,0,0 Current State: 69:[74, 5], Operations: ['35-18=17', '22-17=5'] Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 97, 1, 18, 5 ]
25
[ "5-1=4", "18*4=72", "97-72=25" ]
Current State: 25:[97, 1, 18, 5], Operations: [] Exploring Operation: 5-1=4, Resulting Numbers: [97, 18, 4] Generated Node #2: [97, 18, 4] from Operation: 5-1=4 Current State: 25:[97, 18, 4], Operations: ['5-1=4'] Exploring Operation: 18*4=72, Resulting Numbers: [97, 72] Generated Node #3: [97, 72] from Operation: 18*4=72 Current State: 25:[97, 72], Operations: ['5-1=4', '18*4=72'] Exploring Operation: 97-72=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[97, 1, 18, 5], Operations: [] Exploring Operation: 97-18=79, Resulting Numbers: [1, 5, 79] Generated Node #0,0: 25:[1, 5, 79] Operation: 97-18=79 Exploring Operation: 97-1=96, Resulting Numbers: [18, 5, 96] Generated Node #0,1: 25:[18, 5, 96] Operation: 97-1=96 Exploring Operation: 1+18=19, Resulting Numbers: [97, 5, 19] Generated Node #0,2: 25:[97, 5, 19] Operation: 1+18=19 Exploring Operation: 97-5=92, Resulting Numbers: [1, 18, 92] Generated Node #0,3: 25:[1, 18, 92] Operation: 97-5=92 Moving to Node #0,0 Current State: 25:[1, 5, 79], Operations: ['97-18=79'] Exploring Operation: 5/1=5, Resulting Numbers: [79, 5] Generated Node #0,0,0: 25:[79, 5] Operation: 5/1=5 Exploring Operation: 79-1=78, Resulting Numbers: [5, 78] Generated Node #0,0,1: 25:[5, 78] Operation: 79-1=78 Exploring Operation: 1*5=5, Resulting Numbers: [79, 5] Generated Node #0,0,2: 25:[79, 5] Operation: 1*5=5 Exploring Operation: 79-5=74, Resulting Numbers: [1, 74] Generated Node #0,0,3: 25:[1, 74] Operation: 79-5=74 Moving to Node #0,2 Current State: 25:[97, 5, 19], Operations: ['1+18=19'] Exploring Operation: 97-5=92, Resulting Numbers: [19, 92] Generated Node #0,2,0: 25:[19, 92] Operation: 97-5=92 Exploring Operation: 5+19=24, Resulting Numbers: [97, 24] Generated Node #0,2,1: 25:[97, 24] Operation: 5+19=24 Exploring Operation: 97-19=78, Resulting Numbers: [5, 78] Generated Node #0,2,2: 25:[5, 78] Operation: 97-19=78 Exploring Operation: 19-5=14, Resulting Numbers: [97, 14] Generated Node #0,2,3: 25:[97, 14] Operation: 19-5=14 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[5, 78], Operations: ['1+18=19', '97-19=78'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 5*78=390, Resulting Numbers: [390] 390,25 unequal: No Solution Exploring Operation: 5+78=83, Resulting Numbers: [83] 83,25 unequal: No Solution No 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: 25:[19, 92], Operations: ['1+18=19', '97-5=92'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 19*92=1748, Resulting Numbers: [1748] 1748,25 unequal: No Solution Exploring Operation: 19+92=111, Resulting Numbers: [111] 111,25 unequal: No Solution No 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: 25:[97, 24], Operations: ['1+18=19', '5+19=24'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 97*24=2328, Resulting Numbers: [2328] 2328,25 unequal: No Solution Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,25 unequal: No Solution No 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: 25:[97, 14], Operations: ['1+18=19', '19-5=14'] Exploring Operation: 97*14=1358, Resulting Numbers: [1358] 1358,25 unequal: No Solution Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,25 unequal: No Solution Exploring Operation: 97+14=111, Resulting Numbers: [111] 111,25 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: 25:[18, 5, 96], Operations: ['97-1=96'] Exploring Operation: 18-5=13, Resulting Numbers: [96, 13] Generated Node #0,1,0: 25:[96, 13] Operation: 18-5=13 Exploring Operation: 96-18=78, Resulting Numbers: [5, 78] Generated Node #0,1,1: 25:[5, 78] Operation: 96-18=78 Exploring Operation: 18+5=23, Resulting Numbers: [96, 23] Generated Node #0,1,2: 25:[96, 23] Operation: 18+5=23 Exploring Operation: 96-5=91, Resulting Numbers: [18, 91] Generated Node #0,1,3: 25:[18, 91] Operation: 96-5=91 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[5, 78], Operations: ['97-1=96', '96-18=78'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 5+78=83, Resulting Numbers: [83] 83,25 unequal: No Solution Exploring Operation: 5*78=390, Resulting Numbers: [390] 390,25 unequal: No Solution No 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: 25:[96, 23], Operations: ['97-1=96', '18+5=23'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 96*23=2208, Resulting Numbers: [2208] 2208,25 unequal: No Solution Exploring Operation: 96+23=119, Resulting Numbers: [119] 119,25 unequal: No Solution No 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: 25:[18, 91], Operations: ['97-1=96', '96-5=91'] Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 18*91=1638, Resulting Numbers: [1638] 1638,25 unequal: No Solution Exploring Operation: 18+91=109, Resulting Numbers: [109] 109,25 unequal: No Solution No 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: 25:[96, 13], Operations: ['97-1=96', '18-5=13'] Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 96*13=1248, Resulting Numbers: [1248] 1248,25 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,25 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: 25:[1, 18, 92], Operations: ['97-5=92'] Exploring Operation: 1*18=18, Resulting Numbers: [92, 18] Generated Node #0,3,0: 25:[92, 18] Operation: 1*18=18 Exploring Operation: 92-18=74, Resulting Numbers: [1, 74] Generated Node #0,3,1: 25:[1, 74] Operation: 92-18=74 Exploring Operation: 92-1=91, Resulting Numbers: [18, 91] Generated Node #0,3,2: 25:[18, 91] Operation: 92-1=91 Exploring Operation: 1+18=19, Resulting Numbers: [92, 19] Generated Node #0,3,3: 25:[92, 19] Operation: 1+18=19 Moving to Node #0,0,1 Current State: 25:[5, 78], Operations: ['97-18=79', '79-1=78'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 5+78=83, Resulting Numbers: [83] 83,25 unequal: No Solution Exploring Operation: 5*78=390, Resulting Numbers: [390] 390,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[1, 74], Operations: ['97-18=79', '79-5=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[1, 74], Operations: ['97-5=92', '92-18=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[79, 5], Operations: ['97-18=79', '5/1=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[79, 5], Operations: ['97-18=79', '1*5=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[18, 91], Operations: ['97-5=92', '92-1=91'] Exploring Operation: 18*91=1638, Resulting Numbers: [1638] 1638,25 unequal: No Solution Exploring Operation: 18+91=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[92, 19], Operations: ['97-5=92', '1+18=19'] Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[92, 18], Operations: ['97-5=92', '1*18=18'] Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,25 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,25 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 4, 11, 85, 46 ]
88
[ "4*46=184", "11+85=96", "184-96=88" ]
Current State: 88:[4, 11, 85, 46], Operations: [] Exploring Operation: 4*46=184, Resulting Numbers: [11, 85, 184] Generated Node #2: [11, 85, 184] from Operation: 4*46=184 Current State: 88:[11, 85, 184], Operations: ['4*46=184'] Exploring Operation: 11+85=96, Resulting Numbers: [184, 96] Generated Node #3: [184, 96] from Operation: 11+85=96 Current State: 88:[184, 96], Operations: ['4*46=184', '11+85=96'] Exploring Operation: 184-96=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[4, 11, 85, 46], Operations: [] Exploring Operation: 4+85=89, Resulting Numbers: [11, 46, 89] Generated Node #0,0: 88:[11, 46, 89] Operation: 4+85=89 Exploring Operation: 4*11=44, Resulting Numbers: [85, 46, 44] Generated Node #0,1: 88:[85, 46, 44] Operation: 4*11=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[11, 46, 89], Operations: ['4+85=89'] Exploring Operation: 46-11=35, Resulting Numbers: [89, 35] Generated Node #0,0,0: 88:[89, 35] Operation: 46-11=35 Exploring Operation: 89-46=43, Resulting Numbers: [11, 43] Generated Node #0,0,1: 88:[11, 43] Operation: 89-46=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[11, 43], Operations: ['4+85=89', '89-46=43'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,88 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,88 unequal: No Solution No 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: 88:[89, 35], Operations: ['4+85=89', '46-11=35'] Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,88 unequal: No Solution Exploring Operation: 89+35=124, Resulting Numbers: [124] 124,88 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: 88:[85, 46, 44], Operations: ['4*11=44'] Exploring Operation: 85-46=39, Resulting Numbers: [44, 39] Generated Node #0,1,0: 88:[44, 39] Operation: 85-46=39 Exploring Operation: 46-44=2, Resulting Numbers: [85, 2] Generated Node #0,1,1: 88:[85, 2] Operation: 46-44=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[85, 2], Operations: ['4*11=44', '46-44=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,88 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,88 unequal: No Solution No 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: 88:[44, 39], Operations: ['4*11=44', '85-46=39'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,88 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
[ 8, 3, 47, 63 ]
27
[ "8+3=11", "63-47=16", "11+16=27" ]
Current State: 27:[8, 3, 47, 63], Operations: [] Exploring Operation: 8+3=11, Resulting Numbers: [47, 63, 11] Generated Node #2: [47, 63, 11] from Operation: 8+3=11 Current State: 27:[47, 63, 11], Operations: ['8+3=11'] Exploring Operation: 63-47=16, Resulting Numbers: [11, 16] Generated Node #3: [11, 16] from Operation: 63-47=16 Current State: 27:[11, 16], Operations: ['8+3=11', '63-47=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[8, 3, 47, 63], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [8, 3, 16] Generated Node #0,0: 27:[8, 3, 16] Operation: 63-47=16 Exploring Operation: 47-8=39, Resulting Numbers: [3, 63, 39] Generated Node #0,1: 27:[3, 63, 39] Operation: 47-8=39 Exploring Operation: 63/3=21, Resulting Numbers: [8, 47, 21] Generated Node #0,2: 27:[8, 47, 21] Operation: 63/3=21 Moving to Node #0,0 Current State: 27:[8, 3, 16], Operations: ['63-47=16'] Exploring Operation: 8+16=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 27:[3, 24] Operation: 8+16=24 Exploring Operation: 16/8=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 27:[3, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [3, 8] Generated Node #0,0,2: 27:[3, 8] Operation: 16-8=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[3, 2], Operations: ['63-47=16', '16/8=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[3, 8], Operations: ['63-47=16', '16-8=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[3, 24], Operations: ['63-47=16', '8+16=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[8, 3, 47, 63], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [8, 3, 16] Generated Node #0,0: 27:[8, 3, 16] Operation: 63-47=16 Moving to Node #0,0 Current State: 27:[8, 3, 16], Operations: ['63-47=16'] Exploring Operation: 8+16=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 27:[3, 24] Operation: 8+16=24 Moving to Node #0,0,0 Current State: 27:[3, 24], Operations: ['63-47=16', '8+16=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 14, 28, 84, 33 ]
41
[ "28+84=112", "112/14=8", "33+8=41" ]
Current State: 41:[14, 28, 84, 33], Operations: [] Exploring Operation: 28+84=112, Resulting Numbers: [14, 33, 112] Generated Node #2: [14, 33, 112] from Operation: 28+84=112 Current State: 41:[14, 33, 112], Operations: ['28+84=112'] Exploring Operation: 112/14=8, Resulting Numbers: [33, 8] Generated Node #3: [33, 8] from Operation: 112/14=8 Current State: 41:[33, 8], Operations: ['28+84=112', '112/14=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[14, 28, 84, 33], Operations: [] Exploring Operation: 84-14=70, Resulting Numbers: [28, 33, 70] Generated Node #0,0: 41:[28, 33, 70] Operation: 84-14=70 Moving to Node #0,0 Current State: 41:[28, 33, 70], Operations: ['84-14=70'] Exploring Operation: 70-28=42, Resulting Numbers: [33, 42] Generated Node #0,0,0: 41:[33, 42] Operation: 70-28=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[33, 42], Operations: ['84-14=70', '70-28=42'] Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,41 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
[ 43, 39, 75, 68 ]
28
[ "43-39=4", "75-68=7", "4*7=28" ]
Current State: 28:[43, 39, 75, 68], Operations: [] Exploring Operation: 43-39=4, Resulting Numbers: [75, 68, 4] Generated Node #2: [75, 68, 4] from Operation: 43-39=4 Current State: 28:[75, 68, 4], Operations: ['43-39=4'] Exploring Operation: 75-68=7, Resulting Numbers: [4, 7] Generated Node #3: [4, 7] from Operation: 75-68=7 Current State: 28:[4, 7], Operations: ['43-39=4', '75-68=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[43, 39, 75, 68], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [39, 68, 32] Generated Node #0,0: 28:[39, 68, 32] Operation: 75-43=32 Exploring Operation: 75-68=7, Resulting Numbers: [43, 39, 7] Generated Node #0,1: 28:[43, 39, 7] Operation: 75-68=7 Exploring Operation: 68-43=25, Resulting Numbers: [39, 75, 25] Generated Node #0,2: 28:[39, 75, 25] Operation: 68-43=25 Moving to Node #0,1 Current State: 28:[43, 39, 7], Operations: ['75-68=7'] Exploring Operation: 43-7=36, Resulting Numbers: [39, 36] Generated Node #0,1,0: 28:[39, 36] Operation: 43-7=36 Exploring Operation: 43-39=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 28:[7, 4] Operation: 43-39=4 Exploring Operation: 39-7=32, Resulting Numbers: [43, 32] Generated Node #0,1,2: 28:[43, 32] Operation: 39-7=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[7, 4], Operations: ['75-68=7', '43-39=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[43, 39, 75, 68], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [43, 39, 7] Generated Node #0,1: 28:[43, 39, 7] Operation: 75-68=7 Moving to Node #0,1 Current State: 28:[43, 39, 7], Operations: ['75-68=7'] Exploring Operation: 43-39=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 28:[7, 4] Operation: 43-39=4 Moving to Node #0,1,1 Current State: 28:[7, 4], Operations: ['75-68=7', '43-39=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 72, 11, 56, 13 ]
80
[ "72*13=936", "936-56=880", "880/11=80" ]
Current State: 80:[72, 11, 56, 13], Operations: [] Exploring Operation: 72*13=936, Resulting Numbers: [11, 56, 936] Generated Node #2: [11, 56, 936] from Operation: 72*13=936 Current State: 80:[11, 56, 936], Operations: ['72*13=936'] Exploring Operation: 936-56=880, Resulting Numbers: [11, 880] Generated Node #3: [11, 880] from Operation: 936-56=880 Current State: 80:[11, 880], Operations: ['72*13=936', '936-56=880'] Exploring Operation: 880/11=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[72, 11, 56, 13], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [11, 13, 16] Generated Node #0,0: 80:[11, 13, 16] Operation: 72-56=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[11, 13, 16], Operations: ['72-56=16'] Exploring Operation: 13-11=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 80:[16, 2] Operation: 13-11=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[16, 2], Operations: ['72-56=16', '13-11=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,80 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
[ 34, 87, 94, 74 ]
47
[ "34+87=121", "94+74=168", "168-121=47" ]
Current State: 47:[34, 87, 94, 74], Operations: [] Exploring Operation: 34+87=121, Resulting Numbers: [94, 74, 121] Generated Node #2: [94, 74, 121] from Operation: 34+87=121 Current State: 47:[94, 74, 121], Operations: ['34+87=121'] Exploring Operation: 94+74=168, Resulting Numbers: [121, 168] Generated Node #3: [121, 168] from Operation: 94+74=168 Current State: 47:[121, 168], Operations: ['34+87=121', '94+74=168'] Exploring Operation: 168-121=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[34, 87, 94, 74], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [87, 74, 60] Generated Node #0,0: 47:[87, 74, 60] Operation: 94-34=60 Exploring Operation: 87-34=53, Resulting Numbers: [94, 74, 53] Generated Node #0,1: 47:[94, 74, 53] Operation: 87-34=53 Exploring Operation: 94-87=7, Resulting Numbers: [34, 74, 7] Generated Node #0,2: 47:[34, 74, 7] Operation: 94-87=7 Exploring Operation: 94-74=20, Resulting Numbers: [34, 87, 20] Generated Node #0,3: 47:[34, 87, 20] Operation: 94-74=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[87, 74, 60], Operations: ['94-34=60'] Exploring Operation: 87-60=27, Resulting Numbers: [74, 27] Generated Node #0,0,0: 47:[74, 27] Operation: 87-60=27 Exploring Operation: 74-60=14, Resulting Numbers: [87, 14] Generated Node #0,0,1: 47:[87, 14] Operation: 74-60=14 Exploring Operation: 87-74=13, Resulting Numbers: [60, 13] Generated Node #0,0,2: 47:[60, 13] Operation: 87-74=13 Exploring Operation: 87+74=161, Resulting Numbers: [60, 161] Generated Node #0,0,3: 47:[60, 161] Operation: 87+74=161 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[74, 27], Operations: ['94-34=60', '87-60=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,47 unequal: No Solution Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,47 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[34, 87, 94, 74], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [87, 74, 60] Generated Node #0,0: 47:[87, 74, 60] Operation: 94-34=60 Moving to Node #0,0 Current State: 47:[87, 74, 60], Operations: ['94-34=60'] Exploring Operation: 87-60=27, Resulting Numbers: [74, 27] Generated Node #0,0,0: 47:[74, 27] Operation: 87-60=27 Moving to Node #0,0,0 Current State: 47:[74, 27], Operations: ['94-34=60', '87-60=27'] Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 43, 36, 4, 12 ]
71
[ "43+36=79", "12-4=8", "79-8=71" ]
Current State: 71:[43, 36, 4, 12], Operations: [] Exploring Operation: 43+36=79, Resulting Numbers: [4, 12, 79] Generated Node #2: [4, 12, 79] from Operation: 43+36=79 Current State: 71:[4, 12, 79], Operations: ['43+36=79'] Exploring Operation: 12-4=8, Resulting Numbers: [79, 8] Generated Node #3: [79, 8] from Operation: 12-4=8 Current State: 71:[79, 8], Operations: ['43+36=79', '12-4=8'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[43, 36, 4, 12], Operations: [] Exploring Operation: 43+4=47, Resulting Numbers: [36, 12, 47] Generated Node #0,0: 71:[36, 12, 47] Operation: 43+4=47 Exploring Operation: 4*12=48, Resulting Numbers: [43, 36, 48] Generated Node #0,1: 71:[43, 36, 48] Operation: 4*12=48 Moving to Node #0,1 Current State: 71:[43, 36, 48], Operations: ['4*12=48'] Exploring Operation: 43+36=79, Resulting Numbers: [48, 79] Generated Node #0,1,0: 71:[48, 79] Operation: 43+36=79 Exploring Operation: 36+48=84, Resulting Numbers: [43, 84] Generated Node #0,1,1: 71:[43, 84] Operation: 36+48=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[48, 79], Operations: ['4*12=48', '43+36=79'] Exploring Operation: 79-48=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 48+79=127, Resulting Numbers: [127] 127,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[43, 84], Operations: ['4*12=48', '36+48=84'] Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,71 unequal: No Solution Exploring Operation: 43+84=127, Resulting Numbers: [127] 127,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 71:[36, 12, 47], Operations: ['43+4=47'] Exploring Operation: 36+12=48, Resulting Numbers: [47, 48] Generated Node #0,0,0: 71:[47, 48] Operation: 36+12=48 Exploring Operation: 12+47=59, Resulting Numbers: [36, 59] Generated Node #0,0,1: 71:[36, 59] Operation: 12+47=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[47, 48], Operations: ['43+4=47', '36+12=48'] Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,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,1 Current State: 71:[36, 59], Operations: ['43+4=47', '12+47=59'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 36+59=95, Resulting Numbers: [95] 95,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 49, 36, 26, 23 ]
28
[ "49+23=72", "72/36=2", "26+2=28" ]
Current State: 28:[49, 36, 26, 23], Operations: [] Exploring Operation: 49+23=72, Resulting Numbers: [36, 26, 72] Generated Node #2: [36, 26, 72] from Operation: 49+23=72 Current State: 28:[36, 26, 72], Operations: ['49+23=72'] Exploring Operation: 72/36=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 72/36=2 Current State: 28:[26, 2], Operations: ['49+23=72', '72/36=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[49, 36, 26, 23], Operations: [] Exploring Operation: 49-26=23, Resulting Numbers: [36, 23, 23] Generated Node #0,0: 28:[36, 23, 23] Operation: 49-26=23 Exploring Operation: 49-23=26, Resulting Numbers: [36, 26, 26] Generated Node #0,1: 28:[36, 26, 26] Operation: 49-23=26 Exploring Operation: 49-36=13, Resulting Numbers: [26, 23, 13] Generated Node #0,2: 28:[26, 23, 13] Operation: 49-36=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[26, 23, 13], Operations: ['49-36=13'] Exploring Operation: 26-23=3, Resulting Numbers: [13, 3] Generated Node #0,2,0: 28:[13, 3] Operation: 26-23=3 Exploring Operation: 26/13=2, Resulting Numbers: [23, 2] Generated Node #0,2,1: 28:[23, 2] Operation: 26/13=2 Exploring Operation: 23-13=10, Resulting Numbers: [26, 10] Generated Node #0,2,2: 28:[26, 10] Operation: 23-13=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[13, 3], Operations: ['49-36=13', '26-23=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[23, 2], Operations: ['49-36=13', '26/13=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[26, 10], Operations: ['49-36=13', '23-13=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[36, 26, 26], Operations: ['49-23=26'] Exploring Operation: 36-26=10, Resulting Numbers: [26, 10] Generated Node #0,1,0: 28:[26, 10] Operation: 36-26=10 Exploring Operation: 36-26=10, Resulting Numbers: [26, 10] Generated Node #0,1,1: 28:[26, 10] Operation: 36-26=10 Exploring Operation: 26/26=1, Resulting Numbers: [36, 1] Generated Node #0,1,2: 28:[36, 1] Operation: 26/26=1 Moving to Node #0,1,0 Current State: 28:[26, 10], Operations: ['49-23=26', '36-26=10'] Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,28 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[26, 10], Operations: ['49-23=26', '36-26=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,28 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[36, 1], Operations: ['49-23=26', '26/26=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[36, 23, 23], Operations: ['49-26=23'] Exploring Operation: 36-23=13, Resulting Numbers: [23, 13] Generated Node #0,0,0: 28:[23, 13] Operation: 36-23=13 Exploring Operation: 23/23=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 28:[36, 1] Operation: 23/23=1 Exploring Operation: 36-23=13, Resulting Numbers: [23, 13] Generated Node #0,0,2: 28:[23, 13] Operation: 36-23=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[23, 13], Operations: ['49-26=23', '36-23=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,28 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[23, 13], Operations: ['49-26=23', '36-23=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,28 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[36, 1], Operations: ['49-26=23', '23/23=1'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 78, 68, 26, 85 ]
35
[ "78+68=146", "26+85=111", "146-111=35" ]
Current State: 35:[78, 68, 26, 85], Operations: [] Exploring Operation: 78+68=146, Resulting Numbers: [26, 85, 146] Generated Node #2: [26, 85, 146] from Operation: 78+68=146 Current State: 35:[26, 85, 146], Operations: ['78+68=146'] Exploring Operation: 26+85=111, Resulting Numbers: [146, 111] Generated Node #3: [146, 111] from Operation: 26+85=111 Current State: 35:[146, 111], Operations: ['78+68=146', '26+85=111'] Exploring Operation: 146-111=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[78, 68, 26, 85], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [26, 85, 10] Generated Node #0,0: 35:[26, 85, 10] Operation: 78-68=10 Exploring Operation: 85-78=7, Resulting Numbers: [68, 26, 7] Generated Node #0,1: 35:[68, 26, 7] Operation: 85-78=7 Moving to Node #0,1 Current State: 35:[68, 26, 7], Operations: ['85-78=7'] Exploring Operation: 68-7=61, Resulting Numbers: [26, 61] Generated Node #0,1,0: 35:[26, 61] Operation: 68-7=61 Exploring Operation: 68-26=42, Resulting Numbers: [7, 42] Generated Node #0,1,1: 35:[7, 42] Operation: 68-26=42 Moving to Node #0,0 Current State: 35:[26, 85, 10], Operations: ['78-68=10'] Exploring Operation: 85-10=75, Resulting Numbers: [26, 75] Generated Node #0,0,0: 35:[26, 75] Operation: 85-10=75 Exploring Operation: 85-26=59, Resulting Numbers: [10, 59] Generated Node #0,0,1: 35:[10, 59] Operation: 85-26=59 Moving to Node #0,1,1 Current State: 35:[7, 42], Operations: ['85-78=7', '68-26=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[78, 68, 26, 85], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [68, 26, 7] Generated Node #0,1: 35:[68, 26, 7] Operation: 85-78=7 Moving to Node #0,1 Current State: 35:[68, 26, 7], Operations: ['85-78=7'] Exploring Operation: 68-26=42, Resulting Numbers: [7, 42] Generated Node #0,1,1: 35:[7, 42] Operation: 68-26=42 Moving to Node #0,1,1 Current State: 35:[7, 42], Operations: ['85-78=7', '68-26=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 23, 23, 77, 2 ]
38
[ "23/23=1", "77-1=76", "76/2=38" ]
Current State: 38:[23, 23, 77, 2], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [77, 2, 1] Generated Node #2: [77, 2, 1] from Operation: 23/23=1 Current State: 38:[77, 2, 1], Operations: ['23/23=1'] Exploring Operation: 77-1=76, Resulting Numbers: [2, 76] Generated Node #3: [2, 76] from Operation: 77-1=76 Current State: 38:[2, 76], Operations: ['23/23=1', '77-1=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[23, 23, 77, 2], Operations: [] Exploring Operation: 77-23=54, Resulting Numbers: [23, 2, 54] Generated Node #0,0: 38:[23, 2, 54] Operation: 77-23=54 Exploring Operation: 77-23=54, Resulting Numbers: [23, 2, 54] Generated Node #0,1: 38:[23, 2, 54] Operation: 77-23=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[23, 2, 54], Operations: ['77-23=54'] Exploring Operation: 54-23=31, Resulting Numbers: [2, 31] Generated Node #0,0,0: 38:[2, 31] Operation: 54-23=31 Exploring Operation: 54/2=27, Resulting Numbers: [23, 27] Generated Node #0,0,1: 38:[23, 27] Operation: 54/2=27 Moving to Node #0,0,0 Current State: 38:[2, 31], Operations: ['77-23=54', '54-23=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,38 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[23, 27], Operations: ['77-23=54', '54/2=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[23, 2, 54], Operations: ['77-23=54'] Exploring Operation: 54/2=27, Resulting Numbers: [23, 27] Generated Node #0,1,0: 38:[23, 27] Operation: 54/2=27 Exploring Operation: 54-23=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 38:[2, 31] Operation: 54-23=31 Moving to Node #0,1,1 Current State: 38:[2, 31], Operations: ['77-23=54', '54-23=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[23, 27], Operations: ['77-23=54', '54/2=27'] Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 39, 11, 27, 97 ]
98
[ "39-11=28", "97-27=70", "28+70=98" ]
Current State: 98:[39, 11, 27, 97], Operations: [] Exploring Operation: 39-11=28, Resulting Numbers: [27, 97, 28] Generated Node #2: [27, 97, 28] from Operation: 39-11=28 Current State: 98:[27, 97, 28], Operations: ['39-11=28'] Exploring Operation: 97-27=70, Resulting Numbers: [28, 70] Generated Node #3: [28, 70] from Operation: 97-27=70 Current State: 98:[28, 70], Operations: ['39-11=28', '97-27=70'] Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[39, 11, 27, 97], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [11, 97, 12] Generated Node #0,0: 98:[11, 97, 12] Operation: 39-27=12 Exploring Operation: 27-11=16, Resulting Numbers: [39, 97, 16] Generated Node #0,1: 98:[39, 97, 16] Operation: 27-11=16 Exploring Operation: 39+11=50, Resulting Numbers: [27, 97, 50] Generated Node #0,2: 98:[27, 97, 50] Operation: 39+11=50 Moving to Node #0,0 Current State: 98:[11, 97, 12], Operations: ['39-27=12'] Exploring Operation: 11+97=108, Resulting Numbers: [12, 108] Generated Node #0,0,0: 98:[12, 108] Operation: 11+97=108 Exploring Operation: 11+12=23, Resulting Numbers: [97, 23] Generated Node #0,0,1: 98:[97, 23] Operation: 11+12=23 Exploring Operation: 12-11=1, Resulting Numbers: [97, 1] Generated Node #0,0,2: 98:[97, 1] Operation: 12-11=1 Moving to Node #0,1 Current State: 98:[39, 97, 16], Operations: ['27-11=16'] Exploring Operation: 97-39=58, Resulting Numbers: [16, 58] Generated Node #0,1,0: 98:[16, 58] Operation: 97-39=58 Exploring Operation: 39+16=55, Resulting Numbers: [97, 55] Generated Node #0,1,1: 98:[97, 55] Operation: 39+16=55 Exploring Operation: 39-16=23, Resulting Numbers: [97, 23] Generated Node #0,1,2: 98:[97, 23] Operation: 39-16=23 Moving to Node #0,2 Current State: 98:[27, 97, 50], Operations: ['39+11=50'] Exploring Operation: 97-27=70, Resulting Numbers: [50, 70] Generated Node #0,2,0: 98:[50, 70] Operation: 97-27=70 Exploring Operation: 97-50=47, Resulting Numbers: [27, 47] Generated Node #0,2,1: 98:[27, 47] Operation: 97-50=47 Exploring Operation: 50-27=23, Resulting Numbers: [97, 23] Generated Node #0,2,2: 98:[97, 23] Operation: 50-27=23 Moving to Node #0,0,2 Current State: 98:[97, 1], Operations: ['39-27=12', '12-11=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,98 unequal: No Solution Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,98 unequal: No Solution Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[39, 11, 27, 97], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [11, 97, 12] Generated Node #0,0: 98:[11, 97, 12] Operation: 39-27=12 Moving to Node #0,0 Current State: 98:[11, 97, 12], Operations: ['39-27=12'] Exploring Operation: 12-11=1, Resulting Numbers: [97, 1] Generated Node #0,0,2: 98:[97, 1] Operation: 12-11=1 Moving to Node #0,0,2 Current State: 98:[97, 1], Operations: ['39-27=12', '12-11=1'] Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 10, 42, 96, 10 ]
54
[ "10+42=52", "96+10=106", "106-52=54" ]
Current State: 54:[10, 42, 96, 10], Operations: [] Exploring Operation: 10+42=52, Resulting Numbers: [96, 52] Generated Node #2: [96, 52] from Operation: 10+42=52 Current State: 54:[96, 52], Operations: ['10+42=52'] Exploring Operation: 96+10=106, Resulting Numbers: [52, 106] Generated Node #3: [52, 106] from Operation: 96+10=106 Current State: 54:[52, 106], Operations: ['10+42=52', '96+10=106'] Exploring Operation: 106-52=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[10, 42, 96, 10], Operations: [] Exploring Operation: 96-42=54, Resulting Numbers: [10, 10, 54] Generated Node #0,0: 54:[10, 10, 54] Operation: 96-42=54 Exploring Operation: 10+42=52, Resulting Numbers: [96, 10, 52] Generated Node #0,1: 54:[96, 10, 52] Operation: 10+42=52 Exploring Operation: 96-10=86, Resulting Numbers: [42, 10, 86] Generated Node #0,2: 54:[42, 10, 86] Operation: 96-10=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[10, 10, 54], Operations: ['96-42=54'] Exploring Operation: 10+10=20, Resulting Numbers: [54, 20] Generated Node #0,0,0: 54:[54, 20] Operation: 10+10=20 Exploring Operation: 10/10=1, Resulting Numbers: [54, 1] Generated Node #0,0,1: 54:[54, 1] Operation: 10/10=1 Exploring Operation: 10-10=0, Resulting Numbers: [54, 0] Generated Node #0,0,2: 54:[54, 0] Operation: 10-10=0 Moving to Node #0,0,1 Current State: 54:[54, 1], Operations: ['96-42=54', '10/10=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[10, 42, 96, 10], Operations: [] Exploring Operation: 96-42=54, Resulting Numbers: [10, 10, 54] Generated Node #0,0: 54:[10, 10, 54] Operation: 96-42=54 Moving to Node #0,0 Current State: 54:[10, 10, 54], Operations: ['96-42=54'] Exploring Operation: 10/10=1, Resulting Numbers: [54, 1] Generated Node #0,0,1: 54:[54, 1] Operation: 10/10=1 Moving to Node #0,0,1 Current State: 54:[54, 1], Operations: ['96-42=54', '10/10=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 47, 83, 74, 82 ]
28
[ "83-47=36", "82-74=8", "36-8=28" ]
Current State: 28:[47, 83, 74, 82], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [74, 82, 36] Generated Node #2: [74, 82, 36] from Operation: 83-47=36 Current State: 28:[74, 82, 36], Operations: ['83-47=36'] Exploring Operation: 82-74=8, Resulting Numbers: [36, 8] Generated Node #3: [36, 8] from Operation: 82-74=8 Current State: 28:[36, 8], Operations: ['83-47=36', '82-74=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[47, 83, 74, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [47, 74, 1] Generated Node #0,0: 28:[47, 74, 1] Operation: 83-82=1 Exploring Operation: 83-74=9, Resulting Numbers: [47, 82, 9] Generated Node #0,1: 28:[47, 82, 9] Operation: 83-74=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[47, 74, 1], Operations: ['83-82=1'] Exploring Operation: 47-1=46, Resulting Numbers: [74, 46] Generated Node #0,0,0: 28:[74, 46] Operation: 47-1=46 Exploring Operation: 74-47=27, Resulting Numbers: [1, 27] Generated Node #0,0,1: 28:[1, 27] Operation: 74-47=27 Moving to Node #0,0,1 Current State: 28:[1, 27], Operations: ['83-82=1', '74-47=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[47, 83, 74, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [47, 74, 1] Generated Node #0,0: 28:[47, 74, 1] Operation: 83-82=1 Moving to Node #0,0 Current State: 28:[47, 74, 1], Operations: ['83-82=1'] Exploring Operation: 74-47=27, Resulting Numbers: [1, 27] Generated Node #0,0,1: 28:[1, 27] Operation: 74-47=27 Moving to Node #0,0,1 Current State: 28:[1, 27], Operations: ['83-82=1', '74-47=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 77, 75, 2, 4 ]
74
[ "77+75=152", "152-4=148", "148/2=74" ]
Current State: 74:[77, 75, 2, 4], Operations: [] Exploring Operation: 77+75=152, Resulting Numbers: [2, 4, 152] Generated Node #2: [2, 4, 152] from Operation: 77+75=152 Current State: 74:[2, 4, 152], Operations: ['77+75=152'] Exploring Operation: 152-4=148, Resulting Numbers: [2, 148] Generated Node #3: [2, 148] from Operation: 152-4=148 Current State: 74:[2, 148], Operations: ['77+75=152', '152-4=148'] Exploring Operation: 148/2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[77, 75, 2, 4], Operations: [] Exploring Operation: 77-4=73, Resulting Numbers: [75, 2, 73] Generated Node #0,0: 74:[75, 2, 73] Operation: 77-4=73 Exploring Operation: 77-75=2, Resulting Numbers: [2, 4, 2] Generated Node #0,1: 74:[2, 4, 2] Operation: 77-75=2 Moving to Node #0,0 Current State: 74:[75, 2, 73], Operations: ['77-4=73'] Exploring Operation: 75-73=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 74:[2, 2] Operation: 75-73=2 Exploring Operation: 75-2=73, Resulting Numbers: [73, 73] Generated Node #0,0,1: 74:[73, 73] Operation: 75-2=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[2, 2], Operations: ['77-4=73', '75-73=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[73, 73], Operations: ['77-4=73', '75-2=73'] Exploring Operation: 73/73=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 73-73=0, Resulting Numbers: [0] 0,74 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: 74:[2, 4, 2], Operations: ['77-75=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 74:[2, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 74:[2, 2] Operation: 4-2=2 Moving to Node #0,1,0 Current State: 74:[2, 2], Operations: ['77-75=2', '4/2=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[2, 2], Operations: ['77-75=2', '4-2=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 22, 34, 18, 86 ]
13
[ "22-18=4", "86-34=52", "52/4=13" ]
Current State: 13:[22, 34, 18, 86], Operations: [] Exploring Operation: 22-18=4, Resulting Numbers: [34, 86, 4] Generated Node #2: [34, 86, 4] from Operation: 22-18=4 Current State: 13:[34, 86, 4], Operations: ['22-18=4'] Exploring Operation: 86-34=52, Resulting Numbers: [4, 52] Generated Node #3: [4, 52] from Operation: 86-34=52 Current State: 13:[4, 52], Operations: ['22-18=4', '86-34=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[22, 34, 18, 86], Operations: [] Exploring Operation: 34-18=16, Resulting Numbers: [22, 86, 16] Generated Node #0,0: 13:[22, 86, 16] Operation: 34-18=16 Exploring Operation: 34-22=12, Resulting Numbers: [18, 86, 12] Generated Node #0,1: 13:[18, 86, 12] Operation: 34-22=12 Exploring Operation: 86-22=64, Resulting Numbers: [34, 18, 64] Generated Node #0,2: 13:[34, 18, 64] Operation: 86-22=64 Exploring Operation: 86-34=52, Resulting Numbers: [22, 18, 52] Generated Node #0,3: 13:[22, 18, 52] Operation: 86-34=52 Moving to Node #0,3 Current State: 13:[22, 18, 52], Operations: ['86-34=52'] Exploring Operation: 22+18=40, Resulting Numbers: [52, 40] Generated Node #0,3,0: 13:[52, 40] Operation: 22+18=40 Exploring Operation: 52-22=30, Resulting Numbers: [18, 30] Generated Node #0,3,1: 13:[18, 30] Operation: 52-22=30 Exploring Operation: 22-18=4, Resulting Numbers: [52, 4] Generated Node #0,3,2: 13:[52, 4] Operation: 22-18=4 Exploring Operation: 52-18=34, Resulting Numbers: [22, 34] Generated Node #0,3,3: 13:[22, 34] Operation: 52-18=34 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[18, 30], Operations: ['86-34=52', '52-22=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[22, 34], Operations: ['86-34=52', '52-18=34'] Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,13 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[52, 4], Operations: ['86-34=52', '22-18=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[22, 34, 18, 86], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [22, 18, 52] Generated Node #0,3: 13:[22, 18, 52] Operation: 86-34=52 Moving to Node #0,3 Current State: 13:[22, 18, 52], Operations: ['86-34=52'] Exploring Operation: 22-18=4, Resulting Numbers: [52, 4] Generated Node #0,3,2: 13:[52, 4] Operation: 22-18=4 Moving to Node #0,3,2 Current State: 13:[52, 4], Operations: ['86-34=52', '22-18=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 94, 81, 31, 92 ]
48
[ "94-81=13", "92-31=61", "61-13=48" ]
Current State: 48:[94, 81, 31, 92], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [31, 92, 13] Generated Node #2: [31, 92, 13] from Operation: 94-81=13 Current State: 48:[31, 92, 13], Operations: ['94-81=13'] Exploring Operation: 92-31=61, Resulting Numbers: [13, 61] Generated Node #3: [13, 61] from Operation: 92-31=61 Current State: 48:[13, 61], Operations: ['94-81=13', '92-31=61'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[94, 81, 31, 92], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [94, 31, 11] Generated Node #0,0: 48:[94, 31, 11] Operation: 92-81=11 Exploring Operation: 94-81=13, Resulting Numbers: [31, 92, 13] Generated Node #0,1: 48:[31, 92, 13] Operation: 94-81=13 Exploring Operation: 94-31=63, Resulting Numbers: [81, 92, 63] Generated Node #0,2: 48:[81, 92, 63] Operation: 94-31=63 Exploring Operation: 81-31=50, Resulting Numbers: [94, 92, 50] Generated Node #0,3: 48:[94, 92, 50] Operation: 81-31=50 Exploring Operation: 94-92=2, Resulting Numbers: [81, 31, 2] Generated Node #0,4: 48:[81, 31, 2] Operation: 94-92=2 Moving to Node #0,4 Current State: 48:[81, 31, 2], Operations: ['94-92=2'] Exploring Operation: 81-31=50, Resulting Numbers: [2, 50] Generated Node #0,4,0: 48:[2, 50] Operation: 81-31=50 Exploring Operation: 81+2=83, Resulting Numbers: [31, 83] Generated Node #0,4,1: 48:[31, 83] Operation: 81+2=83 Exploring Operation: 31-2=29, Resulting Numbers: [81, 29] Generated Node #0,4,2: 48:[81, 29] Operation: 31-2=29 Exploring Operation: 31+2=33, Resulting Numbers: [81, 33] Generated Node #0,4,3: 48:[81, 33] Operation: 31+2=33 Exploring Operation: 81-2=79, Resulting Numbers: [31, 79] Generated Node #0,4,4: 48:[31, 79] Operation: 81-2=79 Moving to Node #0,1 Current State: 48:[31, 92, 13], Operations: ['94-81=13'] Exploring Operation: 31+13=44, Resulting Numbers: [92, 44] Generated Node #0,1,0: 48:[92, 44] Operation: 31+13=44 Exploring Operation: 92-13=79, Resulting Numbers: [31, 79] Generated Node #0,1,1: 48:[31, 79] Operation: 92-13=79 Exploring Operation: 31-13=18, Resulting Numbers: [92, 18] Generated Node #0,1,2: 48:[92, 18] Operation: 31-13=18 Exploring Operation: 92-31=61, Resulting Numbers: [13, 61] Generated Node #0,1,3: 48:[13, 61] Operation: 92-31=61 Exploring Operation: 92+13=105, Resulting Numbers: [31, 105] Generated Node #0,1,4: 48:[31, 105] Operation: 92+13=105 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[13, 61], Operations: ['94-81=13', '92-31=61'] Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,48 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[94, 81, 31, 92], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [31, 92, 13] Generated Node #0,1: 48:[31, 92, 13] Operation: 94-81=13 Moving to Node #0,1 Current State: 48:[31, 92, 13], Operations: ['94-81=13'] Exploring Operation: 92-31=61, Resulting Numbers: [13, 61] Generated Node #0,1,3: 48:[13, 61] Operation: 92-31=61 Moving to Node #0,1,3 Current State: 48:[13, 61], Operations: ['94-81=13', '92-31=61'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 34, 7, 32, 16 ]
75
[ "34-7=27", "32+16=48", "27+48=75" ]
Current State: 75:[34, 7, 32, 16], Operations: [] Exploring Operation: 34-7=27, Resulting Numbers: [32, 16, 27] Generated Node #2: [32, 16, 27] from Operation: 34-7=27 Current State: 75:[32, 16, 27], Operations: ['34-7=27'] Exploring Operation: 32+16=48, Resulting Numbers: [27, 48] Generated Node #3: [27, 48] from Operation: 32+16=48 Current State: 75:[27, 48], Operations: ['34-7=27', '32+16=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[34, 7, 32, 16], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [7, 16, 2] Generated Node #0,0: 75:[7, 16, 2] Operation: 34-32=2 Exploring Operation: 32-7=25, Resulting Numbers: [34, 16, 25] Generated Node #0,1: 75:[34, 16, 25] Operation: 32-7=25 Exploring Operation: 34-7=27, Resulting Numbers: [32, 16, 27] Generated Node #0,2: 75:[32, 16, 27] Operation: 34-7=27 Exploring Operation: 34+32=66, Resulting Numbers: [7, 16, 66] Generated Node #0,3: 75:[7, 16, 66] Operation: 34+32=66 Moving to Node #0,0 Current State: 75:[7, 16, 2], Operations: ['34-32=2'] Exploring Operation: 7*2=14, Resulting Numbers: [16, 14] Generated Node #0,0,0: 75:[16, 14] Operation: 7*2=14 Exploring Operation: 7+16=23, Resulting Numbers: [2, 23] Generated Node #0,0,1: 75:[2, 23] Operation: 7+16=23 Exploring Operation: 16-2=14, Resulting Numbers: [7, 14] Generated Node #0,0,2: 75:[7, 14] Operation: 16-2=14 Exploring Operation: 7-2=5, Resulting Numbers: [16, 5] Generated Node #0,0,3: 75:[16, 5] Operation: 7-2=5 Moving to Node #0,2 Current State: 75:[32, 16, 27], Operations: ['34-7=27'] Exploring Operation: 32-27=5, Resulting Numbers: [16, 5] Generated Node #0,2,0: 75:[16, 5] Operation: 32-27=5 Exploring Operation: 32-16=16, Resulting Numbers: [27, 16] Generated Node #0,2,1: 75:[27, 16] Operation: 32-16=16 Exploring Operation: 27-16=11, Resulting Numbers: [32, 11] Generated Node #0,2,2: 75:[32, 11] Operation: 27-16=11 Exploring Operation: 32/16=2, Resulting Numbers: [27, 2] Generated Node #0,2,3: 75:[27, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[16, 5], Operations: ['34-7=27', '32-27=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[27, 16], Operations: ['34-7=27', '32-16=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,75 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 75:[27, 2], Operations: ['34-7=27', '32/16=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,75 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[32, 11], Operations: ['34-7=27', '27-16=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,75 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,75 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: 75:[34, 16, 25], Operations: ['32-7=25'] Exploring Operation: 34-25=9, Resulting Numbers: [16, 9] Generated Node #0,1,0: 75:[16, 9] Operation: 34-25=9 Exploring Operation: 25-16=9, Resulting Numbers: [34, 9] Generated Node #0,1,1: 75:[34, 9] Operation: 25-16=9 Exploring Operation: 34+25=59, Resulting Numbers: [16, 59] Generated Node #0,1,2: 75:[16, 59] Operation: 34+25=59 Exploring Operation: 34-16=18, Resulting Numbers: [25, 18] Generated Node #0,1,3: 75:[25, 18] Operation: 34-16=18 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 75:[25, 18], Operations: ['32-7=25', '34-16=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,75 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[16, 9], Operations: ['32-7=25', '34-25=9'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[34, 9], Operations: ['32-7=25', '25-16=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,75 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[16, 59], Operations: ['32-7=25', '34+25=59'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,75 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[34, 7, 32, 16], Operations: [] Exploring Operation: 32-7=25, Resulting Numbers: [34, 16, 25] Generated Node #0,1: 75:[34, 16, 25] Operation: 32-7=25 Moving to Node #0,1 Current State: 75:[34, 16, 25], Operations: ['32-7=25'] Exploring Operation: 34+25=59, Resulting Numbers: [16, 59] Generated Node #0,1,2: 75:[16, 59] Operation: 34+25=59 Moving to Node #0,1,2 Current State: 75:[16, 59], Operations: ['32-7=25', '34+25=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_4
sum_heuristic
[ 6, 20, 23, 8 ]
51
[ "6*8=48", "23-20=3", "48+3=51" ]
Current State: 51:[6, 20, 23, 8], Operations: [] Exploring Operation: 6*8=48, Resulting Numbers: [20, 23, 48] Generated Node #2: [20, 23, 48] from Operation: 6*8=48 Current State: 51:[20, 23, 48], Operations: ['6*8=48'] Exploring Operation: 23-20=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 23-20=3 Current State: 51:[48, 3], Operations: ['6*8=48', '23-20=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[6, 20, 23, 8], Operations: [] Exploring Operation: 23-6=17, Resulting Numbers: [20, 8, 17] Generated Node #0,0: 51:[20, 8, 17] Operation: 23-6=17 Exploring Operation: 6+8=14, Resulting Numbers: [20, 23, 14] Generated Node #0,1: 51:[20, 23, 14] Operation: 6+8=14 Exploring Operation: 23-8=15, Resulting Numbers: [6, 20, 15] Generated Node #0,2: 51:[6, 20, 15] Operation: 23-8=15 Exploring Operation: 8-6=2, Resulting Numbers: [20, 23, 2] Generated Node #0,3: 51:[20, 23, 2] Operation: 8-6=2 Exploring Operation: 23-20=3, Resulting Numbers: [6, 8, 3] Generated Node #0,4: 51:[6, 8, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[20, 8, 17], Operations: ['23-6=17'] Exploring Operation: 20-17=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 51:[8, 3] Operation: 20-17=3 Exploring Operation: 8+17=25, Resulting Numbers: [20, 25] Generated Node #0,0,1: 51:[20, 25] Operation: 8+17=25 Exploring Operation: 20+8=28, Resulting Numbers: [17, 28] Generated Node #0,0,2: 51:[17, 28] Operation: 20+8=28 Exploring Operation: 17-8=9, Resulting Numbers: [20, 9] Generated Node #0,0,3: 51:[20, 9] Operation: 17-8=9 Exploring Operation: 20-8=12, Resulting Numbers: [17, 12] Generated Node #0,0,4: 51:[17, 12] Operation: 20-8=12 Moving to Node #0,0,0 Current State: 51:[8, 3], Operations: ['23-6=17', '20-17=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[17, 12], Operations: ['23-6=17', '20-8=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[20, 9], Operations: ['23-6=17', '17-8=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,51 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[20, 25], Operations: ['23-6=17', '8+17=25'] Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,51 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[17, 28], Operations: ['23-6=17', '20+8=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,51 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[6, 20, 15], Operations: ['23-8=15'] Exploring Operation: 15-6=9, Resulting Numbers: [20, 9] Generated Node #0,2,0: 51:[20, 9] Operation: 15-6=9 Exploring Operation: 6+15=21, Resulting Numbers: [20, 21] Generated Node #0,2,1: 51:[20, 21] Operation: 6+15=21 Exploring Operation: 6+20=26, Resulting Numbers: [15, 26] Generated Node #0,2,2: 51:[15, 26] Operation: 6+20=26 Exploring Operation: 20-6=14, Resulting Numbers: [15, 14] Generated Node #0,2,3: 51:[15, 14] Operation: 20-6=14 Exploring Operation: 20-15=5, Resulting Numbers: [6, 5] Generated Node #0,2,4: 51:[6, 5] Operation: 20-15=5 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[15, 14], Operations: ['23-8=15', '20-6=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,51 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 51:[6, 5], Operations: ['23-8=15', '20-15=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[20, 21], Operations: ['23-8=15', '6+15=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,51 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[20, 9], Operations: ['23-8=15', '15-6=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,51 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[15, 26], Operations: ['23-8=15', '6+20=26'] Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,51 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[6, 8, 3], Operations: ['23-20=3'] Exploring Operation: 6-3=3, Resulting Numbers: [8, 3] Generated Node #0,4,0: 51:[8, 3] Operation: 6-3=3 Exploring Operation: 8-3=5, Resulting Numbers: [6, 5] Generated Node #0,4,1: 51:[6, 5] Operation: 8-3=5 Exploring Operation: 6*8=48, Resulting Numbers: [3, 48] Generated Node #0,4,2: 51:[3, 48] Operation: 6*8=48 Exploring Operation: 8-6=2, Resulting Numbers: [3, 2] Generated Node #0,4,3: 51:[3, 2] Operation: 8-6=2 Exploring Operation: 6+8=14, Resulting Numbers: [3, 14] Generated Node #0,4,4: 51:[3, 14] Operation: 6+8=14 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 51:[3, 2], Operations: ['23-20=3', '8-6=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 51:[3, 48], Operations: ['23-20=3', '6*8=48'] Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,51 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[6, 20, 23, 8], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [6, 8, 3] Generated Node #0,4: 51:[6, 8, 3] Operation: 23-20=3 Moving to Node #0,4 Current State: 51:[6, 8, 3], Operations: ['23-20=3'] Exploring Operation: 6*8=48, Resulting Numbers: [3, 48] Generated Node #0,4,2: 51:[3, 48] Operation: 6*8=48 Moving to Node #0,4,2 Current State: 51:[3, 48], Operations: ['23-20=3', '6*8=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 4, 99, 21, 91 ]
53
[ "99-91=8", "4*8=32", "21+32=53" ]
Current State: 53:[4, 99, 21, 91], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [4, 21, 8] Generated Node #2: [4, 21, 8] from Operation: 99-91=8 Current State: 53:[4, 21, 8], Operations: ['99-91=8'] Exploring Operation: 4*8=32, Resulting Numbers: [21, 32] Generated Node #3: [21, 32] from Operation: 4*8=32 Current State: 53:[21, 32], Operations: ['99-91=8', '4*8=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[4, 99, 21, 91], Operations: [] Exploring Operation: 99-4=95, Resulting Numbers: [21, 91, 95] Generated Node #0,0: 53:[21, 91, 95] Operation: 99-4=95 Moving to Node #0,0 Current State: 53:[21, 91, 95], Operations: ['99-4=95'] Exploring Operation: 91-21=70, Resulting Numbers: [95, 70] Generated Node #0,0,0: 53:[95, 70] Operation: 91-21=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[95, 70], Operations: ['99-4=95', '91-21=70'] Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,53 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
[ 48, 34, 82, 65 ]
96
[ "48*34=1632", "82-65=17", "1632/17=96" ]
Current State: 96:[48, 34, 82, 65], Operations: [] Exploring Operation: 48*34=1632, Resulting Numbers: [82, 65, 1632] Generated Node #2: [82, 65, 1632] from Operation: 48*34=1632 Current State: 96:[82, 65, 1632], Operations: ['48*34=1632'] Exploring Operation: 82-65=17, Resulting Numbers: [1632, 17] Generated Node #3: [1632, 17] from Operation: 82-65=17 Current State: 96:[1632, 17], Operations: ['48*34=1632', '82-65=17'] Exploring Operation: 1632/17=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 34, 82, 65], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [48, 34, 17] Generated Node #0,0: 96:[48, 34, 17] Operation: 82-65=17 Exploring Operation: 65-34=31, Resulting Numbers: [48, 82, 31] Generated Node #0,1: 96:[48, 82, 31] Operation: 65-34=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[48, 34, 17], Operations: ['82-65=17'] Exploring Operation: 34-17=17, Resulting Numbers: [48, 17] Generated Node #0,0,0: 96:[48, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 96:[48, 2] Operation: 34/17=2 Moving to Node #0,0,1 Current State: 96:[48, 2], Operations: ['82-65=17', '34/17=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[48, 34, 82, 65], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [48, 34, 17] Generated Node #0,0: 96:[48, 34, 17] Operation: 82-65=17 Moving to Node #0,0 Current State: 96:[48, 34, 17], Operations: ['82-65=17'] Exploring Operation: 34/17=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 96:[48, 2] Operation: 34/17=2 Moving to Node #0,0,1 Current State: 96:[48, 2], Operations: ['82-65=17', '34/17=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 89, 15, 9, 28 ]
37
[ "89-15=74", "9+28=37", "74-37=37" ]
Current State: 37:[89, 15, 9, 28], Operations: [] Exploring Operation: 89-15=74, Resulting Numbers: [9, 28, 74] Generated Node #2: [9, 28, 74] from Operation: 89-15=74 Current State: 37:[9, 28, 74], Operations: ['89-15=74'] Exploring Operation: 9+28=37, Resulting Numbers: [74, 37] Generated Node #3: [74, 37] from Operation: 9+28=37 Current State: 37:[74, 37], Operations: ['89-15=74', '9+28=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[89, 15, 9, 28], Operations: [] Exploring Operation: 89-28=61, Resulting Numbers: [15, 9, 61] Generated Node #0,0: 37:[15, 9, 61] Operation: 89-28=61 Exploring Operation: 15+9=24, Resulting Numbers: [89, 28, 24] Generated Node #0,1: 37:[89, 28, 24] Operation: 15+9=24 Exploring Operation: 89-9=80, Resulting Numbers: [15, 28, 80] Generated Node #0,2: 37:[15, 28, 80] Operation: 89-9=80 Exploring Operation: 89-15=74, Resulting Numbers: [9, 28, 74] Generated Node #0,3: 37:[9, 28, 74] Operation: 89-15=74 Moving to Node #0,0 Current State: 37:[15, 9, 61], Operations: ['89-28=61'] Exploring Operation: 61-9=52, Resulting Numbers: [15, 52] Generated Node #0,0,0: 37:[15, 52] Operation: 61-9=52 Exploring Operation: 61-15=46, Resulting Numbers: [9, 46] Generated Node #0,0,1: 37:[9, 46] Operation: 61-15=46 Exploring Operation: 15-9=6, Resulting Numbers: [61, 6] Generated Node #0,0,2: 37:[61, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [61, 24] Generated Node #0,0,3: 37:[61, 24] Operation: 15+9=24 Moving to Node #0,2 Current State: 37:[15, 28, 80], Operations: ['89-9=80'] Exploring Operation: 80-28=52, Resulting Numbers: [15, 52] Generated Node #0,2,0: 37:[15, 52] Operation: 80-28=52 Exploring Operation: 80-15=65, Resulting Numbers: [28, 65] Generated Node #0,2,1: 37:[28, 65] Operation: 80-15=65 Exploring Operation: 28-15=13, Resulting Numbers: [80, 13] Generated Node #0,2,2: 37:[80, 13] Operation: 28-15=13 Exploring Operation: 15+28=43, Resulting Numbers: [80, 43] Generated Node #0,2,3: 37:[80, 43] Operation: 15+28=43 Moving to Node #0,1 Current State: 37:[89, 28, 24], Operations: ['15+9=24'] Exploring Operation: 89+24=113, Resulting Numbers: [28, 113] Generated Node #0,1,0: 37:[28, 113] Operation: 89+24=113 Exploring Operation: 28+24=52, Resulting Numbers: [89, 52] Generated Node #0,1,1: 37:[89, 52] Operation: 28+24=52 Exploring Operation: 89-28=61, Resulting Numbers: [24, 61] Generated Node #0,1,2: 37:[24, 61] Operation: 89-28=61 Exploring Operation: 89-24=65, Resulting Numbers: [28, 65] Generated Node #0,1,3: 37:[28, 65] Operation: 89-24=65 Moving to Node #0,3 Current State: 37:[9, 28, 74], Operations: ['89-15=74'] Exploring Operation: 9+28=37, Resulting Numbers: [74, 37] Generated Node #0,3,0: 37:[74, 37] Operation: 9+28=37 Exploring Operation: 28-9=19, Resulting Numbers: [74, 19] Generated Node #0,3,1: 37:[74, 19] Operation: 28-9=19 Exploring Operation: 74-28=46, Resulting Numbers: [9, 46] Generated Node #0,3,2: 37:[9, 46] Operation: 74-28=46 Exploring Operation: 74-9=65, Resulting Numbers: [28, 65] Generated Node #0,3,3: 37:[28, 65] Operation: 74-9=65 Moving to Node #0,0,0 Current State: 37:[15, 52], Operations: ['89-28=61', '61-9=52'] Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,37 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[89, 15, 9, 28], Operations: [] Exploring Operation: 89-28=61, Resulting Numbers: [15, 9, 61] Generated Node #0,0: 37:[15, 9, 61] Operation: 89-28=61 Moving to Node #0,0 Current State: 37:[15, 9, 61], Operations: ['89-28=61'] Exploring Operation: 61-9=52, Resulting Numbers: [15, 52] Generated Node #0,0,0: 37:[15, 52] Operation: 61-9=52 Moving to Node #0,0,0 Current State: 37:[15, 52], Operations: ['89-28=61', '61-9=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.976563
hs_4
sum_heuristic
[ 26, 10, 8, 40 ]
68
[ "26+10=36", "40-8=32", "36+32=68" ]
Current State: 68:[26, 10, 8, 40], Operations: [] Exploring Operation: 26+10=36, Resulting Numbers: [8, 40, 36] Generated Node #2: [8, 40, 36] from Operation: 26+10=36 Current State: 68:[8, 40, 36], Operations: ['26+10=36'] Exploring Operation: 40-8=32, Resulting Numbers: [36, 32] Generated Node #3: [36, 32] from Operation: 40-8=32 Current State: 68:[36, 32], Operations: ['26+10=36', '40-8=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[26, 10, 8, 40], Operations: [] Exploring Operation: 26+10=36, Resulting Numbers: [8, 40, 36] Generated Node #0,0: 68:[8, 40, 36] Operation: 26+10=36 Exploring Operation: 26-10=16, Resulting Numbers: [8, 40, 16] Generated Node #0,1: 68:[8, 40, 16] Operation: 26-10=16 Moving to Node #0,1 Current State: 68:[8, 40, 16], Operations: ['26-10=16'] Exploring Operation: 40/8=5, Resulting Numbers: [16, 5] Generated Node #0,1,0: 68:[16, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [16, 32] Generated Node #0,1,1: 68:[16, 32] Operation: 40-8=32 Moving to Node #0,0 Current State: 68:[8, 40, 36], Operations: ['26+10=36'] Exploring Operation: 40-8=32, Resulting Numbers: [36, 32] Generated Node #0,0,0: 68:[36, 32] Operation: 40-8=32 Exploring Operation: 40/8=5, Resulting Numbers: [36, 5] Generated Node #0,0,1: 68:[36, 5] Operation: 40/8=5 Moving to Node #0,1,0 Current State: 68:[16, 5], Operations: ['26-10=16', '40/8=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[36, 5], Operations: ['26+10=36', '40/8=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[16, 32], Operations: ['26-10=16', '40-8=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[36, 32], Operations: ['26+10=36', '40-8=32'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[26, 10, 8, 40], Operations: [] Exploring Operation: 26+10=36, Resulting Numbers: [8, 40, 36] Generated Node #0,0: 68:[8, 40, 36] Operation: 26+10=36 Moving to Node #0,0 Current State: 68:[8, 40, 36], Operations: ['26+10=36'] Exploring Operation: 40-8=32, Resulting Numbers: [36, 32] Generated Node #0,0,0: 68:[36, 32] Operation: 40-8=32 Moving to Node #0,0,0 Current State: 68:[36, 32], Operations: ['26+10=36', '40-8=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 39, 31, 21, 68 ]
100
[ "39-31=8", "21*8=168", "168-68=100" ]
Current State: 100:[39, 31, 21, 68], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [21, 68, 8] Generated Node #2: [21, 68, 8] from Operation: 39-31=8 Current State: 100:[21, 68, 8], Operations: ['39-31=8'] Exploring Operation: 21*8=168, Resulting Numbers: [68, 168] Generated Node #3: [68, 168] from Operation: 21*8=168 Current State: 100:[68, 168], Operations: ['39-31=8', '21*8=168'] Exploring Operation: 168-68=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[39, 31, 21, 68], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [39, 31, 47] Generated Node #0,0: 100:[39, 31, 47] Operation: 68-21=47 Exploring Operation: 39+68=107, Resulting Numbers: [31, 21, 107] Generated Node #0,1: 100:[31, 21, 107] Operation: 39+68=107 Exploring Operation: 31+68=99, Resulting Numbers: [39, 21, 99] Generated Node #0,2: 100:[39, 21, 99] Operation: 31+68=99 Exploring Operation: 68-39=29, Resulting Numbers: [31, 21, 29] Generated Node #0,3: 100:[31, 21, 29] Operation: 68-39=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[31, 21, 29], Operations: ['68-39=29'] Exploring Operation: 31-21=10, Resulting Numbers: [29, 10] Generated Node #0,3,0: 100:[29, 10] Operation: 31-21=10 Exploring Operation: 31-29=2, Resulting Numbers: [21, 2] Generated Node #0,3,1: 100:[21, 2] Operation: 31-29=2 Exploring Operation: 21+29=50, Resulting Numbers: [31, 50] Generated Node #0,3,2: 100:[31, 50] Operation: 21+29=50 Exploring Operation: 31+21=52, Resulting Numbers: [29, 52] Generated Node #0,3,3: 100:[29, 52] Operation: 31+21=52 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[21, 2], Operations: ['68-39=29', '31-29=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[29, 10], Operations: ['68-39=29', '31-21=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[31, 50], Operations: ['68-39=29', '21+29=50'] Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,100 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[29, 52], Operations: ['68-39=29', '31+21=52'] Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,100 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[39, 21, 99], Operations: ['31+68=99'] Exploring Operation: 99-39=60, Resulting Numbers: [21, 60] Generated Node #0,2,0: 100:[21, 60] Operation: 99-39=60 Exploring Operation: 21+99=120, Resulting Numbers: [39, 120] Generated Node #0,2,1: 100:[39, 120] Operation: 21+99=120 Exploring Operation: 39+21=60, Resulting Numbers: [99, 60] Generated Node #0,2,2: 100:[99, 60] Operation: 39+21=60 Exploring Operation: 39-21=18, Resulting Numbers: [99, 18] Generated Node #0,2,3: 100:[99, 18] Operation: 39-21=18 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 100:[99, 18], Operations: ['31+68=99', '39-21=18'] Exploring Operation: 99+18=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 99*18=1782, Resulting Numbers: [1782] 1782,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[21, 60], Operations: ['31+68=99', '99-39=60'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 21*60=1260, Resulting Numbers: [1260] 1260,100 unequal: No Solution Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[99, 60], Operations: ['31+68=99', '39+21=60'] Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 99+60=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 99*60=5940, Resulting Numbers: [5940] 5940,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[39, 120], Operations: ['31+68=99', '21+99=120'] Exploring Operation: 39+120=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 39*120=4680, Resulting Numbers: [4680] 4680,100 unequal: No Solution Exploring Operation: 120-39=81, Resulting Numbers: [81] 81,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[31, 21, 107], Operations: ['39+68=107'] Exploring Operation: 31+21=52, Resulting Numbers: [107, 52] Generated Node #0,1,0: 100:[107, 52] Operation: 31+21=52 Exploring Operation: 107-21=86, Resulting Numbers: [31, 86] Generated Node #0,1,1: 100:[31, 86] Operation: 107-21=86 Exploring Operation: 31-21=10, Resulting Numbers: [107, 10] Generated Node #0,1,2: 100:[107, 10] Operation: 31-21=10 Exploring Operation: 107-31=76, Resulting Numbers: [21, 76] Generated Node #0,1,3: 100:[21, 76] Operation: 107-31=76 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[107, 10], Operations: ['39+68=107', '31-21=10'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,100 unequal: No Solution Exploring Operation: 107+10=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 107*10=1070, Resulting Numbers: [1070] 1070,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[107, 52], Operations: ['39+68=107', '31+21=52'] Exploring Operation: 107*52=5564, Resulting Numbers: [5564] 5564,100 unequal: No Solution Exploring Operation: 107-52=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 107+52=159, Resulting Numbers: [159] 159,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[31, 86], Operations: ['39+68=107', '107-21=86'] Exploring Operation: 31*86=2666, Resulting Numbers: [2666] 2666,100 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 31+86=117, Resulting Numbers: [117] 117,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[21, 76], Operations: ['39+68=107', '107-31=76'] Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,100 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[39, 31, 47], Operations: ['68-21=47'] Exploring Operation: 47-39=8, Resulting Numbers: [31, 8] Generated Node #0,0,0: 100:[31, 8] Operation: 47-39=8 Exploring Operation: 39+47=86, Resulting Numbers: [31, 86] Generated Node #0,0,1: 100:[31, 86] Operation: 39+47=86 Exploring Operation: 39-31=8, Resulting Numbers: [47, 8] Generated Node #0,0,2: 100:[47, 8] Operation: 39-31=8 Exploring Operation: 47-31=16, Resulting Numbers: [39, 16] Generated Node #0,0,3: 100:[39, 16] Operation: 47-31=16 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[47, 8], Operations: ['68-21=47', '39-31=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[31, 8], Operations: ['68-21=47', '47-39=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,100 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[39, 16], Operations: ['68-21=47', '47-31=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[31, 86], Operations: ['68-21=47', '39+47=86'] Exploring Operation: 31*86=2666, Resulting Numbers: [2666] 2666,100 unequal: No Solution Exploring Operation: 31+86=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 39, 60, 3, 66 ]
59
[ "60-39=21", "21/3=7", "66-7=59" ]
Current State: 59:[39, 60, 3, 66], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [3, 66, 21] Generated Node #2: [3, 66, 21] from Operation: 60-39=21 Current State: 59:[3, 66, 21], Operations: ['60-39=21'] Exploring Operation: 21/3=7, Resulting Numbers: [66, 7] Generated Node #3: [66, 7] from Operation: 21/3=7 Current State: 59:[66, 7], Operations: ['60-39=21', '21/3=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[39, 60, 3, 66], Operations: [] Exploring Operation: 39-3=36, Resulting Numbers: [60, 66, 36] Generated Node #0,0: 59:[60, 66, 36] Operation: 39-3=36 Exploring Operation: 66-3=63, Resulting Numbers: [39, 60, 63] Generated Node #0,1: 59:[39, 60, 63] Operation: 66-3=63 Exploring Operation: 39+3=42, Resulting Numbers: [60, 66, 42] Generated Node #0,2: 59:[60, 66, 42] Operation: 39+3=42 Exploring Operation: 60-3=57, Resulting Numbers: [39, 66, 57] Generated Node #0,3: 59:[39, 66, 57] Operation: 60-3=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[39, 60, 63], Operations: ['66-3=63'] Exploring Operation: 63-39=24, Resulting Numbers: [60, 24] Generated Node #0,1,0: 59:[60, 24] Operation: 63-39=24 Exploring Operation: 60-39=21, Resulting Numbers: [63, 21] Generated Node #0,1,1: 59:[63, 21] Operation: 60-39=21 Exploring Operation: 39+60=99, Resulting Numbers: [63, 99] Generated Node #0,1,2: 59:[63, 99] Operation: 39+60=99 Exploring Operation: 39+63=102, Resulting Numbers: [60, 102] Generated Node #0,1,3: 59:[60, 102] Operation: 39+63=102 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[60, 24], Operations: ['66-3=63', '63-39=24'] Exploring Operation: 60+24=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 60*24=1440, Resulting Numbers: [1440] 1440,59 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[63, 21], Operations: ['66-3=63', '60-39=21'] Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 63*21=1323, Resulting Numbers: [1323] 1323,59 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 63+21=84, Resulting Numbers: [84] 84,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[63, 99], Operations: ['66-3=63', '39+60=99'] Exploring Operation: 63*99=6237, Resulting Numbers: [6237] 6237,59 unequal: No Solution Exploring Operation: 63+99=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[60, 102], Operations: ['66-3=63', '39+63=102'] Exploring Operation: 102-60=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 60*102=6120, Resulting Numbers: [6120] 6120,59 unequal: No Solution Exploring Operation: 60+102=162, Resulting Numbers: [162] 162,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[60, 66, 42], Operations: ['39+3=42'] Exploring Operation: 60-42=18, Resulting Numbers: [66, 18] Generated Node #0,2,0: 59:[66, 18] Operation: 60-42=18 Exploring Operation: 66+42=108, Resulting Numbers: [60, 108] Generated Node #0,2,1: 59:[60, 108] Operation: 66+42=108 Exploring Operation: 60+42=102, Resulting Numbers: [66, 102] Generated Node #0,2,2: 59:[66, 102] Operation: 60+42=102 Exploring Operation: 66-42=24, Resulting Numbers: [60, 24] Generated Node #0,2,3: 59:[60, 24] Operation: 66-42=24 Moving to Node #0,2,3 Current State: 59:[60, 24], Operations: ['39+3=42', '66-42=24'] Exploring Operation: 60*24=1440, Resulting Numbers: [1440] 1440,59 unequal: No Solution Exploring Operation: 60+24=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[66, 18], Operations: ['39+3=42', '60-42=18'] Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,59 unequal: No Solution Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[66, 102], Operations: ['39+3=42', '60+42=102'] Exploring Operation: 66+102=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 66*102=6732, Resulting Numbers: [6732] 6732,59 unequal: No Solution Exploring Operation: 102-66=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[60, 108], Operations: ['39+3=42', '66+42=108'] Exploring Operation: 60*108=6480, Resulting Numbers: [6480] 6480,59 unequal: No Solution Exploring Operation: 108-60=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 60+108=168, Resulting Numbers: [168] 168,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[39, 66, 57], Operations: ['60-3=57'] Exploring Operation: 57-39=18, Resulting Numbers: [66, 18] Generated Node #0,3,0: 59:[66, 18] Operation: 57-39=18 Exploring Operation: 39+66=105, Resulting Numbers: [57, 105] Generated Node #0,3,1: 59:[57, 105] Operation: 39+66=105 Exploring Operation: 66-39=27, Resulting Numbers: [57, 27] Generated Node #0,3,2: 59:[57, 27] Operation: 66-39=27 Exploring Operation: 39+57=96, Resulting Numbers: [66, 96] Generated Node #0,3,3: 59:[66, 96] Operation: 39+57=96 Moving to Node #0,3,2 Current State: 59:[57, 27], Operations: ['60-3=57', '66-39=27'] Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[66, 96], Operations: ['60-3=57', '39+57=96'] Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,59 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[57, 105], Operations: ['60-3=57', '39+66=105'] Exploring Operation: 105-57=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 57+105=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 57*105=5985, Resulting Numbers: [5985] 5985,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[66, 18], Operations: ['60-3=57', '57-39=18'] Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,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,0 Current State: 59:[60, 66, 36], Operations: ['39-3=36'] Exploring Operation: 60+36=96, Resulting Numbers: [66, 96] Generated Node #0,0,0: 59:[66, 96] Operation: 60+36=96 Exploring Operation: 66+36=102, Resulting Numbers: [60, 102] Generated Node #0,0,1: 59:[60, 102] Operation: 66+36=102 Exploring Operation: 60-36=24, Resulting Numbers: [66, 24] Generated Node #0,0,2: 59:[66, 24] Operation: 60-36=24 Exploring Operation: 66-36=30, Resulting Numbers: [60, 30] Generated Node #0,0,3: 59:[60, 30] Operation: 66-36=30 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[60, 30], Operations: ['39-3=36', '66-36=30'] Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[66, 24], Operations: ['39-3=36', '60-36=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[66, 96], Operations: ['39-3=36', '60+36=96'] Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[60, 102], Operations: ['39-3=36', '66+36=102'] Exploring Operation: 60+102=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 102-60=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 60*102=6120, Resulting Numbers: [6120] 6120,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 30, 38, 30, 8 ]
94
[ "38-30=8", "8*8=64", "30+64=94" ]
Current State: 94:[30, 38, 30, 8], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [8, 8] Generated Node #2: [8, 8] from Operation: 38-30=8 Current State: 94:[8, 8], Operations: ['38-30=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,94 equal: Goal Reached Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[30, 38, 30, 8], Operations: [] Exploring Operation: 30/30=1, Resulting Numbers: [38, 8, 1] Generated Node #0,0: 94:[38, 8, 1] Operation: 30/30=1 Exploring Operation: 30+30=60, Resulting Numbers: [38, 8, 60] Generated Node #0,1: 94:[38, 8, 60] Operation: 30+30=60 Exploring Operation: 30-30=0, Resulting Numbers: [38, 8, 0] Generated Node #0,2: 94:[38, 8, 0] Operation: 30-30=0 Moving to Node #0,0 Current State: 94:[38, 8, 1], Operations: ['30/30=1'] Exploring Operation: 8-1=7, Resulting Numbers: [38, 7] Generated Node #0,0,0: 94:[38, 7] Operation: 8-1=7 Exploring Operation: 38+8=46, Resulting Numbers: [1, 46] Generated Node #0,0,1: 94:[1, 46] Operation: 38+8=46 Exploring Operation: 38+1=39, Resulting Numbers: [8, 39] Generated Node #0,0,2: 94:[8, 39] Operation: 38+1=39 Moving to Node #0,2 Current State: 94:[38, 8, 0], Operations: ['30-30=0'] Exploring Operation: 38*0=0, Resulting Numbers: [8, 0] Generated Node #0,2,0: 94:[8, 0] Operation: 38*0=0 Exploring Operation: 38+8=46, Resulting Numbers: [0, 46] Generated Node #0,2,1: 94:[0, 46] Operation: 38+8=46 Exploring Operation: 8*0=0, Resulting Numbers: [38, 0] Generated Node #0,2,2: 94:[38, 0] Operation: 8*0=0 Moving to Node #0,1 Current State: 94:[38, 8, 60], Operations: ['30+30=60'] Exploring Operation: 38+8=46, Resulting Numbers: [60, 46] Generated Node #0,1,0: 94:[60, 46] Operation: 38+8=46 Exploring Operation: 60-8=52, Resulting Numbers: [38, 52] Generated Node #0,1,1: 94:[38, 52] Operation: 60-8=52 Exploring Operation: 38+60=98, Resulting Numbers: [8, 98] Generated Node #0,1,2: 94:[8, 98] Operation: 38+60=98 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[8, 98], Operations: ['30+30=60', '38+60=98'] Exploring Operation: 8+98=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 8*98=784, Resulting Numbers: [784] 784,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:[60, 46], Operations: ['30+30=60', '38+8=46'] Exploring Operation: 60+46=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 60*46=2760, Resulting Numbers: [2760] 2760,94 unequal: No Solution Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[38, 52], Operations: ['30+30=60', '60-8=52'] Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,94 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,94 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: 94:[1, 46], Operations: ['30/30=1', '38+8=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[0, 46], Operations: ['30-30=0', '38+8=46'] Exploring Operation: 0+46=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 0*46=0, Resulting Numbers: [0] 0,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[8, 0], Operations: ['30-30=0', '38*0=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[38, 0], Operations: ['30-30=0', '8*0=0'] Exploring Operation: 38-0=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 38*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[38, 7], Operations: ['30/30=1', '8-1=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,94 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[8, 39], Operations: ['30/30=1', '38+1=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,94 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,94 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 20, 24, 20, 11 ]
14
[ "20/20=1", "24-11=13", "1+13=14" ]
Current State: 14:[20, 24, 20, 11], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [24, 11, 1] Generated Node #2: [24, 11, 1] from Operation: 20/20=1 Current State: 14:[24, 11, 1], Operations: ['20/20=1'] Exploring Operation: 24-11=13, Resulting Numbers: [1, 13] Generated Node #3: [1, 13] from Operation: 24-11=13 Current State: 14:[1, 13], Operations: ['20/20=1', '24-11=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[20, 24, 20, 11], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [20, 11, 4] Generated Node #0,0: 14:[20, 11, 4] Operation: 24-20=4 Exploring Operation: 24-20=4, Resulting Numbers: [20, 11, 4] Generated Node #0,1: 14:[20, 11, 4] Operation: 24-20=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[20, 11, 4], Operations: ['24-20=4'] Exploring Operation: 20-4=16, Resulting Numbers: [11, 16] Generated Node #0,0,0: 14:[11, 16] Operation: 20-4=16 Exploring Operation: 20-11=9, Resulting Numbers: [4, 9] Generated Node #0,0,1: 14:[4, 9] Operation: 20-11=9 Moving to Node #0,0,1 Current State: 14:[4, 9], Operations: ['24-20=4', '20-11=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[11, 16], Operations: ['24-20=4', '20-4=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[20, 11, 4], Operations: ['24-20=4'] Exploring Operation: 20-11=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 14:[4, 9] Operation: 20-11=9 Exploring Operation: 20-4=16, Resulting Numbers: [11, 16] Generated Node #0,1,1: 14:[11, 16] Operation: 20-4=16 Moving to Node #0,1,0 Current State: 14:[4, 9], Operations: ['24-20=4', '20-11=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[11, 16], Operations: ['24-20=4', '20-4=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,14 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
[ 94, 87, 18, 95 ]
14
[ "94+18=112", "95-87=8", "112/8=14" ]
Current State: 14:[94, 87, 18, 95], Operations: [] Exploring Operation: 94+18=112, Resulting Numbers: [87, 95, 112] Generated Node #2: [87, 95, 112] from Operation: 94+18=112 Current State: 14:[87, 95, 112], Operations: ['94+18=112'] Exploring Operation: 95-87=8, Resulting Numbers: [112, 8] Generated Node #3: [112, 8] from Operation: 95-87=8 Current State: 14:[112, 8], Operations: ['94+18=112', '95-87=8'] Exploring Operation: 112/8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[94, 87, 18, 95], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [87, 18, 1] Generated Node #0,0: 14:[87, 18, 1] Operation: 95-94=1 Exploring Operation: 94-87=7, Resulting Numbers: [18, 95, 7] Generated Node #0,1: 14:[18, 95, 7] Operation: 94-87=7 Exploring Operation: 95-87=8, Resulting Numbers: [94, 18, 8] Generated Node #0,2: 14:[94, 18, 8] Operation: 95-87=8 Exploring Operation: 87-18=69, Resulting Numbers: [94, 95, 69] Generated Node #0,3: 14:[94, 95, 69] Operation: 87-18=69 Exploring Operation: 94-18=76, Resulting Numbers: [87, 95, 76] Generated Node #0,4: 14:[87, 95, 76] Operation: 94-18=76 Moving to Node #0,0 Current State: 14:[87, 18, 1], Operations: ['95-94=1'] Exploring Operation: 87/1=87, Resulting Numbers: [18, 87] Generated Node #0,0,0: 14:[18, 87] Operation: 87/1=87 Exploring Operation: 87-1=86, Resulting Numbers: [18, 86] Generated Node #0,0,1: 14:[18, 86] Operation: 87-1=86 Exploring Operation: 87-18=69, Resulting Numbers: [1, 69] Generated Node #0,0,2: 14:[1, 69] Operation: 87-18=69 Exploring Operation: 87*1=87, Resulting Numbers: [18, 87] Generated Node #0,0,3: 14:[18, 87] Operation: 87*1=87 Exploring Operation: 18-1=17, Resulting Numbers: [87, 17] Generated Node #0,0,4: 14:[87, 17] Operation: 18-1=17 Moving to Node #0,2 Current State: 14:[94, 18, 8], Operations: ['95-87=8'] Exploring Operation: 18-8=10, Resulting Numbers: [94, 10] Generated Node #0,2,0: 14:[94, 10] Operation: 18-8=10 Exploring Operation: 94-18=76, Resulting Numbers: [8, 76] Generated Node #0,2,1: 14:[8, 76] Operation: 94-18=76 Exploring Operation: 94-8=86, Resulting Numbers: [18, 86] Generated Node #0,2,2: 14:[18, 86] Operation: 94-8=86 Exploring Operation: 18+8=26, Resulting Numbers: [94, 26] Generated Node #0,2,3: 14:[94, 26] Operation: 18+8=26 Exploring Operation: 94+8=102, Resulting Numbers: [18, 102] Generated Node #0,2,4: 14:[18, 102] Operation: 94+8=102 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[8, 76], Operations: ['95-87=8', '94-18=76'] Exploring Operation: 8+76=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 8*76=608, Resulting Numbers: [608] 608,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[18, 86], Operations: ['95-87=8', '94-8=86'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 18*86=1548, Resulting Numbers: [1548] 1548,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[94, 10], Operations: ['95-87=8', '18-8=10'] Exploring Operation: 94+10=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 94*10=940, Resulting Numbers: [940] 940,14 unequal: No Solution Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[94, 26], Operations: ['95-87=8', '18+8=26'] Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,14 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 14:[18, 102], Operations: ['95-87=8', '94+8=102'] Exploring Operation: 18+102=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 102-18=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 18*102=1836, Resulting Numbers: [1836] 1836,14 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: 14:[18, 95, 7], Operations: ['94-87=7'] Exploring Operation: 95-7=88, Resulting Numbers: [18, 88] Generated Node #0,1,0: 14:[18, 88] Operation: 95-7=88 Exploring Operation: 18-7=11, Resulting Numbers: [95, 11] Generated Node #0,1,1: 14:[95, 11] Operation: 18-7=11 Exploring Operation: 95-18=77, Resulting Numbers: [7, 77] Generated Node #0,1,2: 14:[7, 77] Operation: 95-18=77 Exploring Operation: 95+7=102, Resulting Numbers: [18, 102] Generated Node #0,1,3: 14:[18, 102] Operation: 95+7=102 Exploring Operation: 18+7=25, Resulting Numbers: [95, 25] Generated Node #0,1,4: 14:[95, 25] Operation: 18+7=25 Moving to Node #0,3 Current State: 14:[94, 95, 69], Operations: ['87-18=69'] Exploring Operation: 95-94=1, Resulting Numbers: [69, 1] Generated Node #0,3,0: 14:[69, 1] Operation: 95-94=1 Exploring Operation: 94-69=25, Resulting Numbers: [95, 25] Generated Node #0,3,1: 14:[95, 25] Operation: 94-69=25 Exploring Operation: 94+95=189, Resulting Numbers: [69, 189] Generated Node #0,3,2: 14:[69, 189] Operation: 94+95=189 Exploring Operation: 95-69=26, Resulting Numbers: [94, 26] Generated Node #0,3,3: 14:[94, 26] Operation: 95-69=26 Exploring Operation: 94+69=163, Resulting Numbers: [95, 163] Generated Node #0,3,4: 14:[95, 163] Operation: 94+69=163 Moving to Node #0,4 Current State: 14:[87, 95, 76], Operations: ['94-18=76'] Exploring Operation: 87+76=163, Resulting Numbers: [95, 163] Generated Node #0,4,0: 14:[95, 163] Operation: 87+76=163 Exploring Operation: 95-87=8, Resulting Numbers: [76, 8] Generated Node #0,4,1: 14:[76, 8] Operation: 95-87=8 Exploring Operation: 87-76=11, Resulting Numbers: [95, 11] Generated Node #0,4,2: 14:[95, 11] Operation: 87-76=11 Exploring Operation: 95-76=19, Resulting Numbers: [87, 19] Generated Node #0,4,3: 14:[87, 19] Operation: 95-76=19 Exploring Operation: 87+95=182, Resulting Numbers: [76, 182] Generated Node #0,4,4: 14:[76, 182] Operation: 87+95=182 Moving to Node #0,0,2 Current State: 14:[1, 69], Operations: ['95-94=1', '87-18=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[69, 1], Operations: ['87-18=69', '95-94=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[7, 77], Operations: ['94-87=7', '95-18=77'] Exploring Operation: 7*77=539, Resulting Numbers: [539] 539,14 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,4,1 Current State: 14:[76, 8], Operations: ['94-18=76', '95-87=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,14 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,0,4 Current State: 14:[87, 17], Operations: ['95-94=1', '18-1=17'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,14 unequal: No Solution Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[18, 86], Operations: ['95-94=1', '87-1=86'] Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 18*86=1548, Resulting Numbers: [1548] 1548,14 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[18, 87], Operations: ['95-94=1', '87*1=87'] Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,14 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[18, 87], Operations: ['95-94=1', '87/1=87'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[18, 88], Operations: ['94-87=7', '95-7=88'] Exploring Operation: 18*88=1584, Resulting Numbers: [1584] 1584,14 unequal: No Solution Exploring Operation: 18+88=106, Resulting Numbers: [106] 106,14 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,14 unequal: No Solution Moving to Node #0,4,3 Current State: 14:[87, 19], Operations: ['94-18=76', '95-76=19'] Exploring Operation: 87+19=106, Resulting Numbers: [106] 106,14 unequal: No Solution Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 87*19=1653, Resulting Numbers: [1653] 1653,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[95, 11], Operations: ['94-87=7', '18-7=11'] Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,14 unequal: No Solution Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,14 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,4,2 Current State: 14:[95, 11], Operations: ['94-18=76', '87-76=11'] Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,14 unequal: No Solution Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,14 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[94, 26], Operations: ['87-18=69', '95-69=26'] Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,14 unequal: No Solution Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[95, 25], Operations: ['87-18=69', '94-69=25'] Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,14 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[18, 102], Operations: ['94-87=7', '95+7=102'] Exploring Operation: 18*102=1836, Resulting Numbers: [1836] 1836,14 unequal: No Solution Exploring Operation: 102-18=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 18+102=120, Resulting Numbers: [120] 120,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[95, 25], Operations: ['94-87=7', '18+7=25'] Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,14 unequal: No Solution Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[95, 163], Operations: ['87-18=69', '94+69=163'] Exploring Operation: 95*163=15485, Resulting Numbers: [15485] 15485,14 unequal: No Solution Exploring Operation: 95+163=258, Resulting Numbers: [258] 258,14 unequal: No Solution Exploring Operation: 163-95=68, Resulting Numbers: [68] 68,14 unequal: No Solution Moving to Node #0,4,0 Current State: 14:[95, 163], Operations: ['94-18=76', '87+76=163'] Exploring Operation: 163-95=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 95+163=258, Resulting Numbers: [258] 258,14 unequal: No Solution Exploring Operation: 95*163=15485, Resulting Numbers: [15485] 15485,14 unequal: No Solution Moving to Node #0,4,4 Current State: 14:[76, 182], Operations: ['94-18=76', '87+95=182'] Exploring Operation: 182-76=106, Resulting Numbers: [106] 106,14 unequal: No Solution Exploring Operation: 76*182=13832, Resulting Numbers: [13832] 13832,14 unequal: No Solution Exploring Operation: 76+182=258, Resulting Numbers: [258] 258,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[69, 189], Operations: ['87-18=69', '94+95=189'] Exploring Operation: 69*189=13041, Resulting Numbers: [13041] 13041,14 unequal: No Solution Exploring Operation: 189-69=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 69+189=258, Resulting Numbers: [258] 258,14 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 49, 91, 94, 44 ]
96
[ "91-49=42", "94+44=138", "138-42=96" ]
Current State: 96:[49, 91, 94, 44], Operations: [] Exploring Operation: 91-49=42, Resulting Numbers: [94, 44, 42] Generated Node #2: [94, 44, 42] from Operation: 91-49=42 Current State: 96:[94, 44, 42], Operations: ['91-49=42'] Exploring Operation: 94+44=138, Resulting Numbers: [42, 138] Generated Node #3: [42, 138] from Operation: 94+44=138 Current State: 96:[42, 138], Operations: ['91-49=42', '94+44=138'] Exploring Operation: 138-42=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[49, 91, 94, 44], Operations: [] Exploring Operation: 49+44=93, Resulting Numbers: [91, 94, 93] Generated Node #0,0: 96:[91, 94, 93] Operation: 49+44=93 Exploring Operation: 94-44=50, Resulting Numbers: [49, 91, 50] Generated Node #0,1: 96:[49, 91, 50] Operation: 94-44=50 Exploring Operation: 91-44=47, Resulting Numbers: [49, 94, 47] Generated Node #0,2: 96:[49, 94, 47] Operation: 91-44=47 Exploring Operation: 49-44=5, Resulting Numbers: [91, 94, 5] Generated Node #0,3: 96:[91, 94, 5] Operation: 49-44=5 Exploring Operation: 94-91=3, Resulting Numbers: [49, 44, 3] Generated Node #0,4: 96:[49, 44, 3] Operation: 94-91=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[49, 94, 47], Operations: ['91-44=47'] Exploring Operation: 94-49=45, Resulting Numbers: [47, 45] Generated Node #0,2,0: 96:[47, 45] Operation: 94-49=45 Exploring Operation: 49+47=96, Resulting Numbers: [94, 96] Generated Node #0,2,1: 96:[94, 96] Operation: 49+47=96 Exploring Operation: 94-47=47, Resulting Numbers: [49, 47] Generated Node #0,2,2: 96:[49, 47] Operation: 94-47=47 Exploring Operation: 94/47=2, Resulting Numbers: [49, 2] Generated Node #0,2,3: 96:[49, 2] Operation: 94/47=2 Exploring Operation: 49-47=2, Resulting Numbers: [94, 2] Generated Node #0,2,4: 96:[94, 2] Operation: 49-47=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 96:[49, 2], Operations: ['91-44=47', '94/47=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,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,2,1 Current State: 96:[94, 96], Operations: ['91-44=47', '49+47=96'] Exploring Operation: 94*96=9024, Resulting Numbers: [9024] 9024,96 unequal: No Solution Exploring Operation: 94+96=190, Resulting Numbers: [190] 190,96 unequal: No Solution Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,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,2,2 Current State: 96:[49, 47], Operations: ['91-44=47', '94-47=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[49, 91, 94, 44], Operations: [] Exploring Operation: 91-44=47, Resulting Numbers: [49, 94, 47] Generated Node #0,2: 96:[49, 94, 47] Operation: 91-44=47 Moving to Node #0,2 Current State: 96:[49, 94, 47], Operations: ['91-44=47'] Exploring Operation: 94-47=47, Resulting Numbers: [49, 47] Generated Node #0,2,2: 96:[49, 47] Operation: 94-47=47 Moving to Node #0,2,2 Current State: 96:[49, 47], Operations: ['91-44=47', '94-47=47'] Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 6, 45, 10, 9 ]
96
[ "6*10=60", "45-9=36", "60+36=96" ]
Current State: 96:[6, 45, 10, 9], Operations: [] Exploring Operation: 6*10=60, Resulting Numbers: [45, 9, 60] Generated Node #2: [45, 9, 60] from Operation: 6*10=60 Current State: 96:[45, 9, 60], Operations: ['6*10=60'] Exploring Operation: 45-9=36, Resulting Numbers: [60, 36] Generated Node #3: [60, 36] from Operation: 45-9=36 Current State: 96:[60, 36], Operations: ['6*10=60', '45-9=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 45, 10, 9], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [45, 9, 16] Generated Node #0,0: 96:[45, 9, 16] Operation: 6+10=16 Exploring Operation: 45/9=5, Resulting Numbers: [6, 10, 5] Generated Node #0,1: 96:[6, 10, 5] Operation: 45/9=5 Moving to Node #0,1 Current State: 96:[6, 10, 5], Operations: ['45/9=5'] Exploring Operation: 6+10=16, Resulting Numbers: [5, 16] Generated Node #0,1,0: 96:[5, 16] Operation: 6+10=16 Exploring Operation: 10/5=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 96:[6, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[6, 2], Operations: ['45/9=5', '10/5=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[5, 16], Operations: ['45/9=5', '6+10=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,96 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: 96:[45, 9, 16], Operations: ['6+10=16'] Exploring Operation: 45/9=5, Resulting Numbers: [16, 5] Generated Node #0,0,0: 96:[16, 5] Operation: 45/9=5 Exploring Operation: 45-9=36, Resulting Numbers: [16, 36] Generated Node #0,0,1: 96:[16, 36] Operation: 45-9=36 Moving to Node #0,0,0 Current State: 96:[16, 5], Operations: ['6+10=16', '45/9=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[16, 36], Operations: ['6+10=16', '45-9=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,96 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 55, 3, 19, 91 ]
58
[ "55-3=52", "19+91=110", "110-52=58" ]
Current State: 58:[55, 3, 19, 91], Operations: [] Exploring Operation: 55-3=52, Resulting Numbers: [19, 91, 52] Generated Node #2: [19, 91, 52] from Operation: 55-3=52 Current State: 58:[19, 91, 52], Operations: ['55-3=52'] Exploring Operation: 19+91=110, Resulting Numbers: [52, 110] Generated Node #3: [52, 110] from Operation: 19+91=110 Current State: 58:[52, 110], Operations: ['55-3=52', '19+91=110'] Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[55, 3, 19, 91], Operations: [] Exploring Operation: 3*19=57, Resulting Numbers: [55, 91, 57] Generated Node #0,0: 58:[55, 91, 57] Operation: 3*19=57 Exploring Operation: 91-19=72, Resulting Numbers: [55, 3, 72] Generated Node #0,1: 58:[55, 3, 72] Operation: 91-19=72 Exploring Operation: 91-55=36, Resulting Numbers: [3, 19, 36] Generated Node #0,2: 58:[3, 19, 36] Operation: 91-55=36 Moving to Node #0,1 Current State: 58:[55, 3, 72], Operations: ['91-19=72'] Exploring Operation: 72-55=17, Resulting Numbers: [3, 17] Generated Node #0,1,0: 58:[3, 17] Operation: 72-55=17 Exploring Operation: 55+3=58, Resulting Numbers: [72, 58] Generated Node #0,1,1: 58:[72, 58] Operation: 55+3=58 Exploring Operation: 72/3=24, Resulting Numbers: [55, 24] Generated Node #0,1,2: 58:[55, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[55, 24], Operations: ['91-19=72', '72/3=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,58 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[3, 17], Operations: ['91-19=72', '72-55=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,58 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[72, 58], Operations: ['91-19=72', '55+3=58'] Exploring Operation: 72*58=4176, Resulting Numbers: [4176] 4176,58 unequal: No Solution Exploring Operation: 72+58=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 58:[3, 19, 36], Operations: ['91-55=36'] Exploring Operation: 19+36=55, Resulting Numbers: [3, 55] Generated Node #0,2,0: 58:[3, 55] Operation: 19+36=55 Exploring Operation: 3*19=57, Resulting Numbers: [36, 57] Generated Node #0,2,1: 58:[36, 57] Operation: 3*19=57 Exploring Operation: 36-19=17, Resulting Numbers: [3, 17] Generated Node #0,2,2: 58:[3, 17] Operation: 36-19=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[3, 55], Operations: ['91-55=36', '19+36=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[55, 3, 19, 91], Operations: [] Exploring Operation: 91-55=36, Resulting Numbers: [3, 19, 36] Generated Node #0,2: 58:[3, 19, 36] Operation: 91-55=36 Moving to Node #0,2 Current State: 58:[3, 19, 36], Operations: ['91-55=36'] Exploring Operation: 19+36=55, Resulting Numbers: [3, 55] Generated Node #0,2,0: 58:[3, 55] Operation: 19+36=55 Moving to Node #0,2,0 Current State: 58:[3, 55], Operations: ['91-55=36', '19+36=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 17, 28, 3, 51 ]
93
[ "17+28=45", "51-3=48", "45+48=93" ]
Current State: 93:[17, 28, 3, 51], Operations: [] Exploring Operation: 17+28=45, Resulting Numbers: [3, 51, 45] Generated Node #2: [3, 51, 45] from Operation: 17+28=45 Current State: 93:[3, 51, 45], Operations: ['17+28=45'] Exploring Operation: 51-3=48, Resulting Numbers: [45, 48] Generated Node #3: [45, 48] from Operation: 51-3=48 Current State: 93:[45, 48], Operations: ['17+28=45', '51-3=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[17, 28, 3, 51], Operations: [] Exploring Operation: 51-17=34, Resulting Numbers: [28, 3, 34] Generated Node #0,0: 93:[28, 3, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [28, 3, 3] Generated Node #0,1: 93:[28, 3, 3] Operation: 51/17=3 Exploring Operation: 51-28=23, Resulting Numbers: [17, 3, 23] Generated Node #0,2: 93:[17, 3, 23] Operation: 51-28=23 Exploring Operation: 28-17=11, Resulting Numbers: [3, 51, 11] Generated Node #0,3: 93:[3, 51, 11] Operation: 28-17=11 Moving to Node #0,1 Current State: 93:[28, 3, 3], Operations: ['51/17=3'] Exploring Operation: 28+3=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 93:[3, 31] Operation: 28+3=31 Exploring Operation: 3/3=1, Resulting Numbers: [28, 1] Generated Node #0,1,1: 93:[28, 1] Operation: 3/3=1 Exploring Operation: 28+3=31, Resulting Numbers: [3, 31] Generated Node #0,1,2: 93:[3, 31] Operation: 28+3=31 Exploring Operation: 28-3=25, Resulting Numbers: [3, 25] Generated Node #0,1,3: 93:[3, 25] Operation: 28-3=25 Moving to Node #0,0 Current State: 93:[28, 3, 34], Operations: ['51-17=34'] Exploring Operation: 28+3=31, Resulting Numbers: [34, 31] Generated Node #0,0,0: 93:[34, 31] Operation: 28+3=31 Exploring Operation: 28-3=25, Resulting Numbers: [34, 25] Generated Node #0,0,1: 93:[34, 25] Operation: 28-3=25 Exploring Operation: 34-3=31, Resulting Numbers: [28, 31] Generated Node #0,0,2: 93:[28, 31] Operation: 34-3=31 Exploring Operation: 34-28=6, Resulting Numbers: [3, 6] Generated Node #0,0,3: 93:[3, 6] Operation: 34-28=6 Moving to Node #0,2 Current State: 93:[17, 3, 23], Operations: ['51-28=23'] Exploring Operation: 23-17=6, Resulting Numbers: [3, 6] Generated Node #0,2,0: 93:[3, 6] Operation: 23-17=6 Exploring Operation: 17+23=40, Resulting Numbers: [3, 40] Generated Node #0,2,1: 93:[3, 40] Operation: 17+23=40 Exploring Operation: 17-3=14, Resulting Numbers: [23, 14] Generated Node #0,2,2: 93:[23, 14] Operation: 17-3=14 Exploring Operation: 17+3=20, Resulting Numbers: [23, 20] Generated Node #0,2,3: 93:[23, 20] Operation: 17+3=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[3, 6], Operations: ['51-28=23', '23-17=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,93 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[3, 40], Operations: ['51-28=23', '17+23=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[23, 14], Operations: ['51-28=23', '17-3=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[23, 20], Operations: ['51-28=23', '17+3=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,93 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,93 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: 93:[3, 51, 11], Operations: ['28-17=11'] Exploring Operation: 51-11=40, Resulting Numbers: [3, 40] Generated Node #0,3,0: 93:[3, 40] Operation: 51-11=40 Exploring Operation: 51/3=17, Resulting Numbers: [11, 17] Generated Node #0,3,1: 93:[11, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [11, 48] Generated Node #0,3,2: 93:[11, 48] Operation: 51-3=48 Exploring Operation: 3*11=33, Resulting Numbers: [51, 33] Generated Node #0,3,3: 93:[51, 33] Operation: 3*11=33 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[3, 40], Operations: ['28-17=11', '51-11=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[11, 17], Operations: ['28-17=11', '51/3=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,93 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[51, 33], Operations: ['28-17=11', '3*11=33'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,93 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[11, 48], Operations: ['28-17=11', '51-3=48'] Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,93 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,93 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: 93:[3, 31], Operations: ['51/17=3', '28+3=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[17, 28, 3, 51], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [28, 3, 3] Generated Node #0,1: 93:[28, 3, 3] Operation: 51/17=3 Moving to Node #0,1 Current State: 93:[28, 3, 3], Operations: ['51/17=3'] Exploring Operation: 28+3=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 93:[3, 31] Operation: 28+3=31 Moving to Node #0,1,0 Current State: 93:[3, 31], Operations: ['51/17=3', '28+3=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 29, 58, 74, 42 ]
55
[ "29+58=87", "74-42=32", "87-32=55" ]
Current State: 55:[29, 58, 74, 42], Operations: [] Exploring Operation: 29+58=87, Resulting Numbers: [74, 42, 87] Generated Node #2: [74, 42, 87] from Operation: 29+58=87 Current State: 55:[74, 42, 87], Operations: ['29+58=87'] Exploring Operation: 74-42=32, Resulting Numbers: [87, 32] Generated Node #3: [87, 32] from Operation: 74-42=32 Current State: 55:[87, 32], Operations: ['29+58=87', '74-42=32'] Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[29, 58, 74, 42], Operations: [] Exploring Operation: 74-58=16, Resulting Numbers: [29, 42, 16] Generated Node #0,0: 55:[29, 42, 16] Operation: 74-58=16 Exploring Operation: 58/29=2, Resulting Numbers: [74, 42, 2] Generated Node #0,1: 55:[74, 42, 2] Operation: 58/29=2 Exploring Operation: 42-29=13, Resulting Numbers: [58, 74, 13] Generated Node #0,2: 55:[58, 74, 13] Operation: 42-29=13 Exploring Operation: 74-29=45, Resulting Numbers: [58, 42, 45] Generated Node #0,3: 55:[58, 42, 45] Operation: 74-29=45 Exploring Operation: 29+42=71, Resulting Numbers: [58, 74, 71] Generated Node #0,4: 55:[58, 74, 71] Operation: 29+42=71 Moving to Node #0,2 Current State: 55:[58, 74, 13], Operations: ['42-29=13'] Exploring Operation: 58-13=45, Resulting Numbers: [74, 45] Generated Node #0,2,0: 55:[74, 45] Operation: 58-13=45 Exploring Operation: 74+13=87, Resulting Numbers: [58, 87] Generated Node #0,2,1: 55:[58, 87] Operation: 74+13=87 Exploring Operation: 74-13=61, Resulting Numbers: [58, 61] Generated Node #0,2,2: 55:[58, 61] Operation: 74-13=61 Exploring Operation: 74-58=16, Resulting Numbers: [13, 16] Generated Node #0,2,3: 55:[13, 16] Operation: 74-58=16 Exploring Operation: 58+13=71, Resulting Numbers: [74, 71] Generated Node #0,2,4: 55:[74, 71] Operation: 58+13=71 Moving to Node #0,3 Current State: 55:[58, 42, 45], Operations: ['74-29=45'] Exploring Operation: 58-45=13, Resulting Numbers: [42, 13] Generated Node #0,3,0: 55:[42, 13] Operation: 58-45=13 Exploring Operation: 42+45=87, Resulting Numbers: [58, 87] Generated Node #0,3,1: 55:[58, 87] Operation: 42+45=87 Exploring Operation: 58+42=100, Resulting Numbers: [45, 100] Generated Node #0,3,2: 55:[45, 100] Operation: 58+42=100 Exploring Operation: 45-42=3, Resulting Numbers: [58, 3] Generated Node #0,3,3: 55:[58, 3] Operation: 45-42=3 Exploring Operation: 58-42=16, Resulting Numbers: [45, 16] Generated Node #0,3,4: 55:[45, 16] Operation: 58-42=16 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 55:[58, 3], Operations: ['74-29=45', '45-42=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,55 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[29, 58, 74, 42], Operations: [] Exploring Operation: 74-29=45, Resulting Numbers: [58, 42, 45] Generated Node #0,3: 55:[58, 42, 45] Operation: 74-29=45 Moving to Node #0,3 Current State: 55:[58, 42, 45], Operations: ['74-29=45'] Exploring Operation: 45-42=3, Resulting Numbers: [58, 3] Generated Node #0,3,3: 55:[58, 3] Operation: 45-42=3 Moving to Node #0,3,3 Current State: 55:[58, 3], Operations: ['74-29=45', '45-42=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 87, 14, 90, 78 ]
75
[ "90+78=168", "168/14=12", "87-12=75" ]
Current State: 75:[87, 14, 90, 78], Operations: [] Exploring Operation: 90+78=168, Resulting Numbers: [87, 14, 168] Generated Node #2: [87, 14, 168] from Operation: 90+78=168 Current State: 75:[87, 14, 168], Operations: ['90+78=168'] Exploring Operation: 168/14=12, Resulting Numbers: [87, 12] Generated Node #3: [87, 12] from Operation: 168/14=12 Current State: 75:[87, 12], Operations: ['90+78=168', '168/14=12'] Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[87, 14, 90, 78], Operations: [] Exploring Operation: 90-14=76, Resulting Numbers: [87, 78, 76] Generated Node #0,0: 75:[87, 78, 76] Operation: 90-14=76 Exploring Operation: 90-87=3, Resulting Numbers: [14, 78, 3] Generated Node #0,1: 75:[14, 78, 3] Operation: 90-87=3 Exploring Operation: 90-78=12, Resulting Numbers: [87, 14, 12] Generated Node #0,2: 75:[87, 14, 12] Operation: 90-78=12 Exploring Operation: 87-14=73, Resulting Numbers: [90, 78, 73] Generated Node #0,3: 75:[90, 78, 73] Operation: 87-14=73 Moving to Node #0,1 Current State: 75:[14, 78, 3], Operations: ['90-87=3'] Exploring Operation: 78-3=75, Resulting Numbers: [14, 75] Generated Node #0,1,0: 75:[14, 75] Operation: 78-3=75 Exploring Operation: 78/3=26, Resulting Numbers: [14, 26] Generated Node #0,1,1: 75:[14, 26] Operation: 78/3=26 Exploring Operation: 14-3=11, Resulting Numbers: [78, 11] Generated Node #0,1,2: 75:[78, 11] Operation: 14-3=11 Exploring Operation: 14+3=17, Resulting Numbers: [78, 17] Generated Node #0,1,3: 75:[78, 17] Operation: 14+3=17 Moving to Node #0,2 Current State: 75:[87, 14, 12], Operations: ['90-78=12'] Exploring Operation: 14-12=2, Resulting Numbers: [87, 2] Generated Node #0,2,0: 75:[87, 2] Operation: 14-12=2 Exploring Operation: 87-12=75, Resulting Numbers: [14, 75] Generated Node #0,2,1: 75:[14, 75] Operation: 87-12=75 Exploring Operation: 87-14=73, Resulting Numbers: [12, 73] Generated Node #0,2,2: 75:[12, 73] Operation: 87-14=73 Exploring Operation: 14+12=26, Resulting Numbers: [87, 26] Generated Node #0,2,3: 75:[87, 26] Operation: 14+12=26 Moving to Node #0,0 Current State: 75:[87, 78, 76], Operations: ['90-14=76'] Exploring Operation: 87+78=165, Resulting Numbers: [76, 165] Generated Node #0,0,0: 75:[76, 165] Operation: 87+78=165 Exploring Operation: 78-76=2, Resulting Numbers: [87, 2] Generated Node #0,0,1: 75:[87, 2] Operation: 78-76=2 Exploring Operation: 87-78=9, Resulting Numbers: [76, 9] Generated Node #0,0,2: 75:[76, 9] Operation: 87-78=9 Exploring Operation: 87-76=11, Resulting Numbers: [78, 11] Generated Node #0,0,3: 75:[78, 11] Operation: 87-76=11 Moving to Node #0,3 Current State: 75:[90, 78, 73], Operations: ['87-14=73'] Exploring Operation: 90+73=163, Resulting Numbers: [78, 163] Generated Node #0,3,0: 75:[78, 163] Operation: 90+73=163 Exploring Operation: 90-73=17, Resulting Numbers: [78, 17] Generated Node #0,3,1: 75:[78, 17] Operation: 90-73=17 Exploring Operation: 78-73=5, Resulting Numbers: [90, 5] Generated Node #0,3,2: 75:[90, 5] Operation: 78-73=5 Exploring Operation: 90-78=12, Resulting Numbers: [73, 12] Generated Node #0,3,3: 75:[73, 12] Operation: 90-78=12 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 75:[78, 17], Operations: ['87-14=73', '90-73=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,75 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[73, 12], Operations: ['87-14=73', '90-78=12'] Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,75 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[90, 5], Operations: ['87-14=73', '78-73=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,75 unequal: No Solution Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 75:[78, 163], Operations: ['87-14=73', '90+73=163'] Exploring Operation: 78+163=241, Resulting Numbers: [241] 241,75 unequal: No Solution Exploring Operation: 163-78=85, Resulting Numbers: [85] 85,75 unequal: No Solution Exploring Operation: 78*163=12714, Resulting Numbers: [12714] 12714,75 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: 75:[14, 75], Operations: ['90-87=3', '78-3=75'] Exploring Operation: 14*75=1050, Resulting Numbers: [1050] 1050,75 unequal: No Solution Exploring Operation: 14+75=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[14, 75], Operations: ['90-78=12', '87-12=75'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 14+75=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 14*75=1050, Resulting Numbers: [1050] 1050,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[14, 26], Operations: ['90-87=3', '78/3=26'] Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,75 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[78, 17], Operations: ['90-87=3', '14+3=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[12, 73], Operations: ['90-78=12', '87-14=73'] Exploring Operation: 12+73=85, Resulting Numbers: [85] 85,75 unequal: No Solution Exploring Operation: 12*73=876, Resulting Numbers: [876] 876,75 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[76, 9], Operations: ['90-14=76', '87-78=9'] Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,75 unequal: No Solution Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,75 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[78, 11], Operations: ['90-14=76', '87-76=11'] Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,75 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[78, 11], Operations: ['90-87=3', '14-3=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[87, 2], Operations: ['90-78=12', '14-12=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,75 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[87, 26], Operations: ['90-78=12', '14+12=26'] Exploring Operation: 87*26=2262, Resulting Numbers: [2262] 2262,75 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 87+26=113, Resulting Numbers: [113] 113,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[87, 2], Operations: ['90-14=76', '78-76=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,75 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[76, 165], Operations: ['90-14=76', '87+78=165'] Exploring Operation: 76+165=241, Resulting Numbers: [241] 241,75 unequal: No Solution Exploring Operation: 76*165=12540, Resulting Numbers: [12540] 12540,75 unequal: No Solution Exploring Operation: 165-76=89, Resulting Numbers: [89] 89,75 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 94, 57, 35, 25 ]
17
[ "35*25=875", "94+875=969", "969/57=17" ]
Current State: 17:[94, 57, 35, 25], Operations: [] Exploring Operation: 35*25=875, Resulting Numbers: [94, 57, 875] Generated Node #2: [94, 57, 875] from Operation: 35*25=875 Current State: 17:[94, 57, 875], Operations: ['35*25=875'] Exploring Operation: 94+875=969, Resulting Numbers: [57, 969] Generated Node #3: [57, 969] from Operation: 94+875=969 Current State: 17:[57, 969], Operations: ['35*25=875', '94+875=969'] Exploring Operation: 969/57=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[94, 57, 35, 25], Operations: [] Exploring Operation: 57-35=22, Resulting Numbers: [94, 25, 22] Generated Node #0,0: 17:[94, 25, 22] Operation: 57-35=22 Exploring Operation: 94-25=69, Resulting Numbers: [57, 35, 69] Generated Node #0,1: 17:[57, 35, 69] Operation: 94-25=69 Exploring Operation: 94-57=37, Resulting Numbers: [35, 25, 37] Generated Node #0,2: 17:[35, 25, 37] Operation: 94-57=37 Exploring Operation: 94-35=59, Resulting Numbers: [57, 25, 59] Generated Node #0,3: 17:[57, 25, 59] Operation: 94-35=59 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[35, 25, 37], Operations: ['94-57=37'] Exploring Operation: 37-25=12, Resulting Numbers: [35, 12] Generated Node #0,2,0: 17:[35, 12] Operation: 37-25=12 Exploring Operation: 37-35=2, Resulting Numbers: [25, 2] Generated Node #0,2,1: 17:[25, 2] Operation: 37-35=2 Exploring Operation: 35+25=60, Resulting Numbers: [37, 60] Generated Node #0,2,2: 17:[37, 60] Operation: 35+25=60 Exploring Operation: 35-25=10, Resulting Numbers: [37, 10] Generated Node #0,2,3: 17:[37, 10] Operation: 35-25=10 Moving to Node #0,2,0 Current State: 17:[35, 12], Operations: ['94-57=37', '37-25=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[25, 2], Operations: ['94-57=37', '37-35=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[37, 10], Operations: ['94-57=37', '35-25=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[37, 60], Operations: ['94-57=37', '35+25=60'] Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[94, 25, 22], Operations: ['57-35=22'] Exploring Operation: 94-25=69, Resulting Numbers: [22, 69] Generated Node #0,0,0: 17:[22, 69] Operation: 94-25=69 Exploring Operation: 25-22=3, Resulting Numbers: [94, 3] Generated Node #0,0,1: 17:[94, 3] Operation: 25-22=3 Exploring Operation: 94-22=72, Resulting Numbers: [25, 72] Generated Node #0,0,2: 17:[25, 72] Operation: 94-22=72 Exploring Operation: 94+25=119, Resulting Numbers: [22, 119] Generated Node #0,0,3: 17:[22, 119] Operation: 94+25=119 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[22, 69], Operations: ['57-35=22', '94-25=69'] Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,17 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 17:[25, 72], Operations: ['57-35=22', '94-22=72'] Exploring Operation: 25+72=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 25*72=1800, Resulting Numbers: [1800] 1800,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[94, 3], Operations: ['57-35=22', '25-22=3'] Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,17 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 17:[22, 119], Operations: ['57-35=22', '94+25=119'] Exploring Operation: 119-22=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 22+119=141, Resulting Numbers: [141] 141,17 unequal: No Solution Exploring Operation: 22*119=2618, Resulting Numbers: [2618] 2618,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[57, 25, 59], Operations: ['94-35=59'] Exploring Operation: 57+25=82, Resulting Numbers: [59, 82] Generated Node #0,3,0: 17:[59, 82] Operation: 57+25=82 Exploring Operation: 57-25=32, Resulting Numbers: [59, 32] Generated Node #0,3,1: 17:[59, 32] Operation: 57-25=32 Exploring Operation: 59-57=2, Resulting Numbers: [25, 2] Generated Node #0,3,2: 17:[25, 2] Operation: 59-57=2 Exploring Operation: 59-25=34, Resulting Numbers: [57, 34] Generated Node #0,3,3: 17:[57, 34] Operation: 59-25=34 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[25, 2], Operations: ['94-35=59', '59-57=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[59, 32], Operations: ['94-35=59', '57-25=32'] Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[57, 34], Operations: ['94-35=59', '59-25=34'] Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,17 unequal: No Solution Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 17:[59, 82], Operations: ['94-35=59', '57+25=82'] Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,17 unequal: No Solution Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,17 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[57, 35, 69], Operations: ['94-25=69'] Exploring Operation: 57-35=22, Resulting Numbers: [69, 22] Generated Node #0,1,0: 17:[69, 22] Operation: 57-35=22 Exploring Operation: 57+35=92, Resulting Numbers: [69, 92] Generated Node #0,1,1: 17:[69, 92] Operation: 57+35=92 Exploring Operation: 69-57=12, Resulting Numbers: [35, 12] Generated Node #0,1,2: 17:[35, 12] Operation: 69-57=12 Exploring Operation: 69-35=34, Resulting Numbers: [57, 34] Generated Node #0,1,3: 17:[57, 34] Operation: 69-35=34 Moving to Node #0,1,2 Current State: 17:[35, 12], Operations: ['94-25=69', '69-57=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,17 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[57, 34], Operations: ['94-25=69', '69-35=34'] Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,17 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[69, 22], Operations: ['94-25=69', '57-35=22'] Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,17 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[69, 92], Operations: ['94-25=69', '57+35=92'] Exploring Operation: 69+92=161, Resulting Numbers: [161] 161,17 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 69*92=6348, Resulting Numbers: [6348] 6348,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 8, 52, 52, 37 ]
29
[ "8+52=60", "52+37=89", "89-60=29" ]
Current State: 29:[8, 52, 52, 37], Operations: [] Exploring Operation: 8+52=60, Resulting Numbers: [37, 60] Generated Node #2: [37, 60] from Operation: 8+52=60 Current State: 29:[37, 60], Operations: ['8+52=60'] Exploring Operation: 52+37=89, Resulting Numbers: [60, 89] Generated Node #3: [60, 89] from Operation: 52+37=89 Current State: 29:[60, 89], Operations: ['8+52=60', '52+37=89'] Exploring Operation: 89-60=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[8, 52, 52, 37], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [8, 37, 1] Generated Node #0,0: 29:[8, 37, 1] Operation: 52/52=1 Exploring Operation: 52-8=44, Resulting Numbers: [52, 37, 44] Generated Node #0,1: 29:[52, 37, 44] Operation: 52-8=44 Exploring Operation: 52-8=44, Resulting Numbers: [52, 37, 44] Generated Node #0,2: 29:[52, 37, 44] Operation: 52-8=44 Exploring Operation: 37-8=29, Resulting Numbers: [52, 52, 29] Generated Node #0,3: 29:[52, 52, 29] Operation: 37-8=29 Exploring Operation: 52-52=0, Resulting Numbers: [8, 37, 0] Generated Node #0,4: 29:[8, 37, 0] Operation: 52-52=0 Moving to Node #0,1 Current State: 29:[52, 37, 44], Operations: ['52-8=44'] Exploring Operation: 52-37=15, Resulting Numbers: [44, 15] Generated Node #0,1,0: 29:[44, 15] Operation: 52-37=15 Exploring Operation: 44-37=7, Resulting Numbers: [52, 7] Generated Node #0,1,1: 29:[52, 7] Operation: 44-37=7 Exploring Operation: 52+37=89, Resulting Numbers: [44, 89] Generated Node #0,1,2: 29:[44, 89] Operation: 52+37=89 Exploring Operation: 52+44=96, Resulting Numbers: [37, 96] Generated Node #0,1,3: 29:[37, 96] Operation: 52+44=96 Exploring Operation: 52-44=8, Resulting Numbers: [37, 8] Generated Node #0,1,4: 29:[37, 8] Operation: 52-44=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[44, 15], Operations: ['52-8=44', '52-37=15'] Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,29 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,29 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[8, 52, 52, 37], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [52, 37, 44] Generated Node #0,1: 29:[52, 37, 44] Operation: 52-8=44 Moving to Node #0,1 Current State: 29:[52, 37, 44], Operations: ['52-8=44'] Exploring Operation: 52-37=15, Resulting Numbers: [44, 15] Generated Node #0,1,0: 29:[44, 15] Operation: 52-37=15 Moving to Node #0,1,0 Current State: 29:[44, 15], Operations: ['52-8=44', '52-37=15'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 42, 99, 99, 6 ]
35
[ "42-6=36", "99/99=1", "36-1=35" ]
Current State: 35:[42, 99, 99, 6], Operations: [] Exploring Operation: 42-6=36, Resulting Numbers: [99, 99, 36] Generated Node #2: [99, 99, 36] from Operation: 42-6=36 Current State: 35:[99, 99, 36], Operations: ['42-6=36'] Exploring Operation: 99/99=1, Resulting Numbers: [36, 1] Generated Node #3: [36, 1] from Operation: 99/99=1 Current State: 35:[36, 1], Operations: ['42-6=36', '99/99=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[42, 99, 99, 6], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [42, 6, 0] Generated Node #0,0: 35:[42, 6, 0] Operation: 99-99=0 Exploring Operation: 99-42=57, Resulting Numbers: [99, 6, 57] Generated Node #0,1: 35:[99, 6, 57] Operation: 99-42=57 Exploring Operation: 99/99=1, Resulting Numbers: [42, 6, 1] Generated Node #0,2: 35:[42, 6, 1] Operation: 99/99=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[42, 6, 1], Operations: ['99/99=1'] Exploring Operation: 42-6=36, Resulting Numbers: [1, 36] Generated Node #0,2,0: 35:[1, 36] Operation: 42-6=36 Exploring Operation: 42-1=41, Resulting Numbers: [6, 41] Generated Node #0,2,1: 35:[6, 41] Operation: 42-1=41 Exploring Operation: 42/6=7, Resulting Numbers: [1, 7] Generated Node #0,2,2: 35:[1, 7] Operation: 42/6=7 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[1, 7], Operations: ['99/99=1', '42/6=7'] Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,35 unequal: No Solution No 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: 35:[1, 36], Operations: ['99/99=1', '42-6=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[42, 99, 99, 6], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [42, 6, 1] Generated Node #0,2: 35:[42, 6, 1] Operation: 99/99=1 Moving to Node #0,2 Current State: 35:[42, 6, 1], Operations: ['99/99=1'] Exploring Operation: 42-6=36, Resulting Numbers: [1, 36] Generated Node #0,2,0: 35:[1, 36] Operation: 42-6=36 Moving to Node #0,2,0 Current State: 35:[1, 36], Operations: ['99/99=1', '42-6=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 85, 53, 86, 73 ]
82
[ "86+73=159", "159/53=3", "85-3=82" ]
Current State: 82:[85, 53, 86, 73], Operations: [] Exploring Operation: 86+73=159, Resulting Numbers: [85, 53, 159] Generated Node #2: [85, 53, 159] from Operation: 86+73=159 Current State: 82:[85, 53, 159], Operations: ['86+73=159'] Exploring Operation: 159/53=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 159/53=3 Current State: 82:[85, 3], Operations: ['86+73=159', '159/53=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[85, 53, 86, 73], Operations: [] Exploring Operation: 86-53=33, Resulting Numbers: [85, 73, 33] Generated Node #0,0: 82:[85, 73, 33] Operation: 86-53=33 Exploring Operation: 86-85=1, Resulting Numbers: [53, 73, 1] Generated Node #0,1: 82:[53, 73, 1] Operation: 86-85=1 Exploring Operation: 85-53=32, Resulting Numbers: [86, 73, 32] Generated Node #0,2: 82:[86, 73, 32] Operation: 85-53=32 Exploring Operation: 73-53=20, Resulting Numbers: [85, 86, 20] Generated Node #0,3: 82:[85, 86, 20] Operation: 73-53=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[85, 73, 33], Operations: ['86-53=33'] Exploring Operation: 85-33=52, Resulting Numbers: [73, 52] Generated Node #0,0,0: 82:[73, 52] Operation: 85-33=52 Exploring Operation: 73-33=40, Resulting Numbers: [85, 40] Generated Node #0,0,1: 82:[85, 40] Operation: 73-33=40 Exploring Operation: 73+33=106, Resulting Numbers: [85, 106] Generated Node #0,0,2: 82:[85, 106] Operation: 73+33=106 Exploring Operation: 85-73=12, Resulting Numbers: [33, 12] Generated Node #0,0,3: 82:[33, 12] Operation: 85-73=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[85, 40], Operations: ['86-53=33', '73-33=40'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[33, 12], Operations: ['86-53=33', '85-73=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,82 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[73, 52], Operations: ['86-53=33', '85-33=52'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[85, 106], Operations: ['86-53=33', '73+33=106'] Exploring Operation: 106-85=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 85+106=191, Resulting Numbers: [191] 191,82 unequal: No Solution Exploring Operation: 85*106=9010, Resulting Numbers: [9010] 9010,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[53, 73, 1], Operations: ['86-85=1'] Exploring Operation: 73+1=74, Resulting Numbers: [53, 74] Generated Node #0,1,0: 82:[53, 74] Operation: 73+1=74 Exploring Operation: 73-53=20, Resulting Numbers: [1, 20] Generated Node #0,1,1: 82:[1, 20] Operation: 73-53=20 Exploring Operation: 53-1=52, Resulting Numbers: [73, 52] Generated Node #0,1,2: 82:[73, 52] Operation: 53-1=52 Exploring Operation: 53*1=53, Resulting Numbers: [73, 53] Generated Node #0,1,3: 82:[73, 53] Operation: 53*1=53 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[1, 20], Operations: ['86-85=1', '73-53=20'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[53, 74], Operations: ['86-85=1', '73+1=74'] Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 53+74=127, Resulting Numbers: [127] 127,82 unequal: No Solution Exploring Operation: 53*74=3922, Resulting Numbers: [3922] 3922,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[73, 52], Operations: ['86-85=1', '53-1=52'] Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[73, 53], Operations: ['86-85=1', '53*1=53'] Exploring Operation: 73*53=3869, Resulting Numbers: [3869] 3869,82 unequal: No Solution Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 73+53=126, Resulting Numbers: [126] 126,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[86, 73, 32], Operations: ['85-53=32'] Exploring Operation: 86-73=13, Resulting Numbers: [32, 13] Generated Node #0,2,0: 82:[32, 13] Operation: 86-73=13 Exploring Operation: 86-32=54, Resulting Numbers: [73, 54] Generated Node #0,2,1: 82:[73, 54] Operation: 86-32=54 Exploring Operation: 73+32=105, Resulting Numbers: [86, 105] Generated Node #0,2,2: 82:[86, 105] Operation: 73+32=105 Exploring Operation: 73-32=41, Resulting Numbers: [86, 41] Generated Node #0,2,3: 82:[86, 41] Operation: 73-32=41 Moving to Node #0,2,3 Current State: 82:[86, 41], Operations: ['85-53=32', '73-32=41'] Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,82 unequal: No Solution Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,82 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[32, 13], Operations: ['85-53=32', '86-73=13'] Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,82 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[73, 54], Operations: ['85-53=32', '86-32=54'] Exploring Operation: 73+54=127, Resulting Numbers: [127] 127,82 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 73*54=3942, Resulting Numbers: [3942] 3942,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[86, 105], Operations: ['85-53=32', '73+32=105'] Exploring Operation: 86*105=9030, Resulting Numbers: [9030] 9030,82 unequal: No Solution Exploring Operation: 86+105=191, Resulting Numbers: [191] 191,82 unequal: No Solution Exploring Operation: 105-86=19, Resulting Numbers: [19] 19,82 unequal: No Solution No 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: 82:[85, 86, 20], Operations: ['73-53=20'] Exploring Operation: 85+20=105, Resulting Numbers: [86, 105] Generated Node #0,3,0: 82:[86, 105] Operation: 85+20=105 Exploring Operation: 85-20=65, Resulting Numbers: [86, 65] Generated Node #0,3,1: 82:[86, 65] Operation: 85-20=65 Exploring Operation: 86-85=1, Resulting Numbers: [20, 1] Generated Node #0,3,2: 82:[20, 1] Operation: 86-85=1 Exploring Operation: 86-20=66, Resulting Numbers: [85, 66] Generated Node #0,3,3: 82:[85, 66] Operation: 86-20=66 Moving to Node #0,3,2 Current State: 82:[20, 1], Operations: ['73-53=20', '86-85=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[85, 66], Operations: ['73-53=20', '86-20=66'] Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 85+66=151, Resulting Numbers: [151] 151,82 unequal: No Solution Exploring Operation: 85*66=5610, Resulting Numbers: [5610] 5610,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[86, 65], Operations: ['73-53=20', '85-20=65'] Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,82 unequal: No Solution Exploring Operation: 86*65=5590, Resulting Numbers: [5590] 5590,82 unequal: No Solution Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[86, 105], Operations: ['73-53=20', '85+20=105'] Exploring Operation: 86+105=191, Resulting Numbers: [191] 191,82 unequal: No Solution Exploring Operation: 105-86=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 86*105=9030, Resulting Numbers: [9030] 9030,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 39, 27, 31, 38 ]
19
[ "39-27=12", "38-31=7", "12+7=19" ]
Current State: 19:[39, 27, 31, 38], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [31, 38, 12] Generated Node #2: [31, 38, 12] from Operation: 39-27=12 Current State: 19:[31, 38, 12], Operations: ['39-27=12'] Exploring Operation: 38-31=7, Resulting Numbers: [12, 7] Generated Node #3: [12, 7] from Operation: 38-31=7 Current State: 19:[12, 7], Operations: ['39-27=12', '38-31=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[39, 27, 31, 38], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [31, 38, 12] Generated Node #0,0: 19:[31, 38, 12] Operation: 39-27=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[31, 38, 12], Operations: ['39-27=12'] Exploring Operation: 38-31=7, Resulting Numbers: [12, 7] Generated Node #0,0,0: 19:[12, 7] Operation: 38-31=7 Moving to Node #0,0,0 Current State: 19:[12, 7], Operations: ['39-27=12', '38-31=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[39, 27, 31, 38], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [31, 38, 12] Generated Node #0,0: 19:[31, 38, 12] Operation: 39-27=12 Moving to Node #0,0 Current State: 19:[31, 38, 12], Operations: ['39-27=12'] Exploring Operation: 38-31=7, Resulting Numbers: [12, 7] Generated Node #0,0,0: 19:[12, 7] Operation: 38-31=7 Moving to Node #0,0,0 Current State: 19:[12, 7], Operations: ['39-27=12', '38-31=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 97, 28, 40, 75 ]
34
[ "97-28=69", "75-40=35", "69-35=34" ]
Current State: 34:[97, 28, 40, 75], Operations: [] Exploring Operation: 97-28=69, Resulting Numbers: [40, 75, 69] Generated Node #2: [40, 75, 69] from Operation: 97-28=69 Current State: 34:[40, 75, 69], Operations: ['97-28=69'] Exploring Operation: 75-40=35, Resulting Numbers: [69, 35] Generated Node #3: [69, 35] from Operation: 75-40=35 Current State: 34:[69, 35], Operations: ['97-28=69', '75-40=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[97, 28, 40, 75], Operations: [] Exploring Operation: 97-75=22, Resulting Numbers: [28, 40, 22] Generated Node #0,0: 34:[28, 40, 22] Operation: 97-75=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[28, 40, 22], Operations: ['97-75=22'] Exploring Operation: 40-22=18, Resulting Numbers: [28, 18] Generated Node #0,0,0: 34:[28, 18] Operation: 40-22=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[28, 18], Operations: ['97-75=22', '40-22=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,34 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
[ 30, 15, 41, 47 ]
60
[ "47-41=6", "15*6=90", "90-30=60" ]
Current State: 60:[30, 15, 41, 47], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [30, 15, 6] Generated Node #2: [30, 15, 6] from Operation: 47-41=6 Current State: 60:[30, 15, 6], Operations: ['47-41=6'] Exploring Operation: 15*6=90, Resulting Numbers: [30, 90] Generated Node #3: [30, 90] from Operation: 15*6=90 Current State: 60:[30, 90], Operations: ['47-41=6', '15*6=90'] Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[30, 15, 41, 47], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [30, 15, 6] Generated Node #0,0: 60:[30, 15, 6] Operation: 47-41=6 Moving to Node #0,0 Current State: 60:[30, 15, 6], Operations: ['47-41=6'] Exploring Operation: 30-15=15, Resulting Numbers: [6, 15] Generated Node #0,0,0: 60:[6, 15] Operation: 30-15=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[6, 15], Operations: ['47-41=6', '30-15=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,60 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, 34, 56, 27 ]
52
[ "46*34=1564", "56*27=1512", "1564-1512=52" ]
Current State: 52:[46, 34, 56, 27], Operations: [] Exploring Operation: 46*34=1564, Resulting Numbers: [56, 27, 1564] Generated Node #2: [56, 27, 1564] from Operation: 46*34=1564 Current State: 52:[56, 27, 1564], Operations: ['46*34=1564'] Exploring Operation: 56*27=1512, Resulting Numbers: [1564, 1512] Generated Node #3: [1564, 1512] from Operation: 56*27=1512 Current State: 52:[1564, 1512], Operations: ['46*34=1564', '56*27=1512'] Exploring Operation: 1564-1512=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[46, 34, 56, 27], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [46, 56, 7] Generated Node #0,0: 52:[46, 56, 7] Operation: 34-27=7 Exploring Operation: 56-27=29, Resulting Numbers: [46, 34, 29] Generated Node #0,1: 52:[46, 34, 29] Operation: 56-27=29 Exploring Operation: 56-34=22, Resulting Numbers: [46, 27, 22] Generated Node #0,2: 52:[46, 27, 22] Operation: 56-34=22 Exploring Operation: 46-34=12, Resulting Numbers: [56, 27, 12] Generated Node #0,3: 52:[56, 27, 12] Operation: 46-34=12 Exploring Operation: 56-46=10, Resulting Numbers: [34, 27, 10] Generated Node #0,4: 52:[34, 27, 10] Operation: 56-46=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[56, 27, 12], Operations: ['46-34=12'] Exploring Operation: 56-27=29, Resulting Numbers: [12, 29] Generated Node #0,3,0: 52:[12, 29] Operation: 56-27=29 Exploring Operation: 56-12=44, Resulting Numbers: [27, 44] Generated Node #0,3,1: 52:[27, 44] Operation: 56-12=44 Exploring Operation: 27+12=39, Resulting Numbers: [56, 39] Generated Node #0,3,2: 52:[56, 39] Operation: 27+12=39 Exploring Operation: 56+12=68, Resulting Numbers: [27, 68] Generated Node #0,3,3: 52:[27, 68] Operation: 56+12=68 Exploring Operation: 27-12=15, Resulting Numbers: [56, 15] Generated Node #0,3,4: 52:[56, 15] Operation: 27-12=15 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[12, 29], Operations: ['46-34=12', '56-27=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,52 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,52 unequal: No Solution No 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: 52:[56, 15], Operations: ['46-34=12', '27-12=15'] Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,52 unequal: No Solution No 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: 52:[27, 44], Operations: ['46-34=12', '56-12=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,52 unequal: No Solution No 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: 52:[56, 39], Operations: ['46-34=12', '27+12=39'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,52 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,52 unequal: No Solution No 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: 52:[27, 68], Operations: ['46-34=12', '56+12=68'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,52 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[46, 27, 22], Operations: ['56-34=22'] Exploring Operation: 46+22=68, Resulting Numbers: [27, 68] Generated Node #0,2,0: 52:[27, 68] Operation: 46+22=68 Exploring Operation: 27-22=5, Resulting Numbers: [46, 5] Generated Node #0,2,1: 52:[46, 5] Operation: 27-22=5 Exploring Operation: 46-22=24, Resulting Numbers: [27, 24] Generated Node #0,2,2: 52:[27, 24] Operation: 46-22=24 Exploring Operation: 27+22=49, Resulting Numbers: [46, 49] Generated Node #0,2,3: 52:[46, 49] Operation: 27+22=49 Exploring Operation: 46-27=19, Resulting Numbers: [22, 19] Generated Node #0,2,4: 52:[22, 19] Operation: 46-27=19 Moving to Node #0,2,2 Current State: 52:[27, 24], Operations: ['56-34=22', '46-22=24'] Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,52 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[46, 5], Operations: ['56-34=22', '27-22=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,52 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[46, 49], Operations: ['56-34=22', '27+22=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,52 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[22, 19], Operations: ['56-34=22', '46-27=19'] Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,52 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[27, 68], Operations: ['56-34=22', '46+22=68'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[34, 27, 10], Operations: ['56-46=10'] Exploring Operation: 34+27=61, Resulting Numbers: [10, 61] Generated Node #0,4,0: 52:[10, 61] Operation: 34+27=61 Exploring Operation: 34+10=44, Resulting Numbers: [27, 44] Generated Node #0,4,1: 52:[27, 44] Operation: 34+10=44 Exploring Operation: 34-10=24, Resulting Numbers: [27, 24] Generated Node #0,4,2: 52:[27, 24] Operation: 34-10=24 Exploring Operation: 27-10=17, Resulting Numbers: [34, 17] Generated Node #0,4,3: 52:[34, 17] Operation: 27-10=17 Exploring Operation: 34-27=7, Resulting Numbers: [10, 7] Generated Node #0,4,4: 52:[10, 7] Operation: 34-27=7 Moving to Node #0,4,2 Current State: 52:[27, 24], Operations: ['56-46=10', '34-10=24'] Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,52 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[10, 7], Operations: ['56-46=10', '34-27=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[27, 44], Operations: ['56-46=10', '34+10=44'] Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,52 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[10, 61], Operations: ['56-46=10', '34+27=61'] Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,52 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[34, 17], Operations: ['56-46=10', '27-10=17'] Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,52 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[46, 56, 7], Operations: ['34-27=7'] Exploring Operation: 46+7=53, Resulting Numbers: [56, 53] Generated Node #0,0,0: 52:[56, 53] Operation: 46+7=53 Exploring Operation: 56/7=8, Resulting Numbers: [46, 8] Generated Node #0,0,1: 52:[46, 8] Operation: 56/7=8 Exploring Operation: 46-7=39, Resulting Numbers: [56, 39] Generated Node #0,0,2: 52:[56, 39] Operation: 46-7=39 Exploring Operation: 56-46=10, Resulting Numbers: [7, 10] Generated Node #0,0,3: 52:[7, 10] Operation: 56-46=10 Exploring Operation: 56-7=49, Resulting Numbers: [46, 49] Generated Node #0,0,4: 52:[46, 49] Operation: 56-7=49 Moving to Node #0,0,0 Current State: 52:[56, 53], Operations: ['34-27=7', '46+7=53'] Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 56*53=2968, Resulting Numbers: [2968] 2968,52 unequal: No Solution Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[7, 10], Operations: ['34-27=7', '56-46=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[46, 49], Operations: ['34-27=7', '56-7=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[46, 8], Operations: ['34-27=7', '56/7=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,52 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,52 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[56, 39], Operations: ['34-27=7', '46-7=39'] Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,52 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[46, 34, 29], Operations: ['56-27=29'] Exploring Operation: 46-29=17, Resulting Numbers: [34, 17] Generated Node #0,1,0: 52:[34, 17] Operation: 46-29=17 Exploring Operation: 34-29=5, Resulting Numbers: [46, 5] Generated Node #0,1,1: 52:[46, 5] Operation: 34-29=5 Exploring Operation: 46+34=80, Resulting Numbers: [29, 80] Generated Node #0,1,2: 52:[29, 80] Operation: 46+34=80 Exploring Operation: 34+29=63, Resulting Numbers: [46, 63] Generated Node #0,1,3: 52:[46, 63] Operation: 34+29=63 Exploring Operation: 46-34=12, Resulting Numbers: [29, 12] Generated Node #0,1,4: 52:[29, 12] Operation: 46-34=12 Moving to Node #0,1,4 Current State: 52:[29, 12], Operations: ['56-27=29', '46-34=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,52 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[46, 5], Operations: ['56-27=29', '34-29=5'] Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,52 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[34, 17], Operations: ['56-27=29', '46-29=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,52 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[46, 63], Operations: ['56-27=29', '34+29=63'] Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 46*63=2898, Resulting Numbers: [2898] 2898,52 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[29, 80], Operations: ['56-27=29', '46+34=80'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,52 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 20, 61, 68, 80 ]
67
[ "20+61=81", "68+80=148", "148-81=67" ]
Current State: 67:[20, 61, 68, 80], Operations: [] Exploring Operation: 20+61=81, Resulting Numbers: [68, 80, 81] Generated Node #2: [68, 80, 81] from Operation: 20+61=81 Current State: 67:[68, 80, 81], Operations: ['20+61=81'] Exploring Operation: 68+80=148, Resulting Numbers: [81, 148] Generated Node #3: [81, 148] from Operation: 68+80=148 Current State: 67:[81, 148], Operations: ['20+61=81', '68+80=148'] Exploring Operation: 148-81=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[20, 61, 68, 80], Operations: [] Exploring Operation: 68-20=48, Resulting Numbers: [61, 80, 48] Generated Node #0,0: 67:[61, 80, 48] Operation: 68-20=48 Exploring Operation: 20+68=88, Resulting Numbers: [61, 80, 88] Generated Node #0,1: 67:[61, 80, 88] Operation: 20+68=88 Exploring Operation: 61-20=41, Resulting Numbers: [68, 80, 41] Generated Node #0,2: 67:[68, 80, 41] Operation: 61-20=41 Exploring Operation: 20+61=81, Resulting Numbers: [68, 80, 81] Generated Node #0,3: 67:[68, 80, 81] Operation: 20+61=81 Exploring Operation: 80-20=60, Resulting Numbers: [61, 68, 60] Generated Node #0,4: 67:[61, 68, 60] Operation: 80-20=60 Start Sub Search at level 1: Moving to Node #0,4 Current State: 67:[61, 68, 60], Operations: ['80-20=60'] Exploring Operation: 68-61=7, Resulting Numbers: [60, 7] Generated Node #0,4,0: 67:[60, 7] Operation: 68-61=7 Exploring Operation: 68-60=8, Resulting Numbers: [61, 8] Generated Node #0,4,1: 67:[61, 8] Operation: 68-60=8 Exploring Operation: 61-60=1, Resulting Numbers: [68, 1] Generated Node #0,4,2: 67:[68, 1] Operation: 61-60=1 Exploring Operation: 68+60=128, Resulting Numbers: [61, 128] Generated Node #0,4,3: 67:[61, 128] Operation: 68+60=128 Exploring Operation: 61+60=121, Resulting Numbers: [68, 121] Generated Node #0,4,4: 67:[68, 121] Operation: 61+60=121 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 67:[68, 121], Operations: ['80-20=60', '61+60=121'] Exploring Operation: 68*121=8228, Resulting Numbers: [8228] 8228,67 unequal: No Solution Exploring Operation: 68+121=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 121-68=53, Resulting Numbers: [53] 53,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 67:[61, 8], Operations: ['80-20=60', '68-60=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,67 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 67:[60, 7], Operations: ['80-20=60', '68-61=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,67 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[20, 61, 68, 80], Operations: [] Exploring Operation: 80-20=60, Resulting Numbers: [61, 68, 60] Generated Node #0,4: 67:[61, 68, 60] Operation: 80-20=60 Moving to Node #0,4 Current State: 67:[61, 68, 60], Operations: ['80-20=60'] Exploring Operation: 68-61=7, Resulting Numbers: [60, 7] Generated Node #0,4,0: 67:[60, 7] Operation: 68-61=7 Moving to Node #0,4,0 Current State: 67:[60, 7], Operations: ['80-20=60', '68-61=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 94, 52, 68, 86 ]
92
[ "86-52=34", "68/34=2", "94-2=92" ]
Current State: 92:[94, 52, 68, 86], Operations: [] Exploring Operation: 86-52=34, Resulting Numbers: [94, 68, 34] Generated Node #2: [94, 68, 34] from Operation: 86-52=34 Current State: 92:[94, 68, 34], Operations: ['86-52=34'] Exploring Operation: 68/34=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 68/34=2 Current State: 92:[94, 2], Operations: ['86-52=34', '68/34=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[94, 52, 68, 86], Operations: [] Exploring Operation: 68-52=16, Resulting Numbers: [94, 86, 16] Generated Node #0,0: 92:[94, 86, 16] Operation: 68-52=16 Exploring Operation: 94-52=42, Resulting Numbers: [68, 86, 42] Generated Node #0,1: 92:[68, 86, 42] Operation: 94-52=42 Exploring Operation: 86-68=18, Resulting Numbers: [94, 52, 18] Generated Node #0,2: 92:[94, 52, 18] Operation: 86-68=18 Exploring Operation: 94-68=26, Resulting Numbers: [52, 86, 26] Generated Node #0,3: 92:[52, 86, 26] Operation: 94-68=26 Exploring Operation: 94-86=8, Resulting Numbers: [52, 68, 8] Generated Node #0,4: 92:[52, 68, 8] Operation: 94-86=8 Moving to Node #0,2 Current State: 92:[94, 52, 18], Operations: ['86-68=18'] Exploring Operation: 52-18=34, Resulting Numbers: [94, 34] Generated Node #0,2,0: 92:[94, 34] Operation: 52-18=34 Exploring Operation: 94+18=112, Resulting Numbers: [52, 112] Generated Node #0,2,1: 92:[52, 112] Operation: 94+18=112 Exploring Operation: 94-52=42, Resulting Numbers: [18, 42] Generated Node #0,2,2: 92:[18, 42] Operation: 94-52=42 Exploring Operation: 52+18=70, Resulting Numbers: [94, 70] Generated Node #0,2,3: 92:[94, 70] Operation: 52+18=70 Exploring Operation: 94-18=76, Resulting Numbers: [52, 76] Generated Node #0,2,4: 92:[52, 76] Operation: 94-18=76 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[18, 42], Operations: ['86-68=18', '94-52=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[94, 34], Operations: ['86-68=18', '52-18=34'] Exploring Operation: 94+34=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 94-34=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 94*34=3196, Resulting Numbers: [3196] 3196,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 92:[52, 76], Operations: ['86-68=18', '94-18=76'] Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,92 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[94, 70], Operations: ['86-68=18', '52+18=70'] Exploring Operation: 94+70=164, Resulting Numbers: [164] 164,92 unequal: No Solution Exploring Operation: 94*70=6580, Resulting Numbers: [6580] 6580,92 unequal: No Solution Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[52, 112], Operations: ['86-68=18', '94+18=112'] Exploring Operation: 52+112=164, Resulting Numbers: [164] 164,92 unequal: No Solution Exploring Operation: 52*112=5824, Resulting Numbers: [5824] 5824,92 unequal: No Solution Exploring Operation: 112-52=60, Resulting Numbers: [60] 60,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 92:[52, 86, 26], Operations: ['94-68=26'] Exploring Operation: 52-26=26, Resulting Numbers: [86, 26] Generated Node #0,3,0: 92:[86, 26] Operation: 52-26=26 Exploring Operation: 86-52=34, Resulting Numbers: [26, 34] Generated Node #0,3,1: 92:[26, 34] Operation: 86-52=34 Exploring Operation: 52/26=2, Resulting Numbers: [86, 2] Generated Node #0,3,2: 92:[86, 2] Operation: 52/26=2 Exploring Operation: 86-26=60, Resulting Numbers: [52, 60] Generated Node #0,3,3: 92:[52, 60] Operation: 86-26=60 Exploring Operation: 52+26=78, Resulting Numbers: [86, 78] Generated Node #0,3,4: 92:[86, 78] Operation: 52+26=78 Moving to Node #0,0 Current State: 92:[94, 86, 16], Operations: ['68-52=16'] Exploring Operation: 94-16=78, Resulting Numbers: [86, 78] Generated Node #0,0,0: 92:[86, 78] Operation: 94-16=78 Exploring Operation: 94-86=8, Resulting Numbers: [16, 8] Generated Node #0,0,1: 92:[16, 8] Operation: 94-86=8 Exploring Operation: 86-16=70, Resulting Numbers: [94, 70] Generated Node #0,0,2: 92:[94, 70] Operation: 86-16=70 Exploring Operation: 86+16=102, Resulting Numbers: [94, 102] Generated Node #0,0,3: 92:[94, 102] Operation: 86+16=102 Exploring Operation: 94+16=110, Resulting Numbers: [86, 110] Generated Node #0,0,4: 92:[86, 110] Operation: 94+16=110 Moving to Node #0,1 Current State: 92:[68, 86, 42], Operations: ['94-52=42'] Exploring Operation: 68+42=110, Resulting Numbers: [86, 110] Generated Node #0,1,0: 92:[86, 110] Operation: 68+42=110 Exploring Operation: 86-68=18, Resulting Numbers: [42, 18] Generated Node #0,1,1: 92:[42, 18] Operation: 86-68=18 Exploring Operation: 86-42=44, Resulting Numbers: [68, 44] Generated Node #0,1,2: 92:[68, 44] Operation: 86-42=44 Exploring Operation: 68-42=26, Resulting Numbers: [86, 26] Generated Node #0,1,3: 92:[86, 26] Operation: 68-42=26 Exploring Operation: 86+42=128, Resulting Numbers: [68, 128] Generated Node #0,1,4: 92:[68, 128] Operation: 86+42=128 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[42, 18], Operations: ['94-52=42', '86-68=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,92 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[86, 26], Operations: ['94-52=42', '68-42=26'] Exploring Operation: 86*26=2236, Resulting Numbers: [2236] 2236,92 unequal: No Solution Exploring Operation: 86+26=112, Resulting Numbers: [112] 112,92 unequal: No Solution Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[86, 110], Operations: ['94-52=42', '68+42=110'] Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,92 unequal: No Solution Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[68, 44], Operations: ['94-52=42', '86-42=44'] Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,92 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 92:[68, 128], Operations: ['94-52=42', '86+42=128'] Exploring Operation: 128-68=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 68+128=196, Resulting Numbers: [196] 196,92 unequal: No Solution Exploring Operation: 68*128=8704, Resulting Numbers: [8704] 8704,92 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: 92:[52, 68, 8], Operations: ['94-86=8'] Exploring Operation: 68-8=60, Resulting Numbers: [52, 60] Generated Node #0,4,0: 92:[52, 60] Operation: 68-8=60 Exploring Operation: 68+8=76, Resulting Numbers: [52, 76] Generated Node #0,4,1: 92:[52, 76] Operation: 68+8=76 Exploring Operation: 52+68=120, Resulting Numbers: [8, 120] Generated Node #0,4,2: 92:[8, 120] Operation: 52+68=120 Exploring Operation: 52-8=44, Resulting Numbers: [68, 44] Generated Node #0,4,3: 92:[68, 44] Operation: 52-8=44 Exploring Operation: 68-52=16, Resulting Numbers: [8, 16] Generated Node #0,4,4: 92:[8, 16] Operation: 68-52=16 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 92:[8, 16], Operations: ['94-86=8', '68-52=16'] Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 92:[52, 60], Operations: ['94-86=8', '68-8=60'] Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,92 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 92:[52, 76], Operations: ['94-86=8', '68+8=76'] Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 92:[68, 44], Operations: ['94-86=8', '52-8=44'] Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,92 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 92:[8, 120], Operations: ['94-86=8', '52+68=120'] Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 8*120=960, Resulting Numbers: [960] 960,92 unequal: No Solution Exploring Operation: 8+120=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 120-8=112, Resulting Numbers: [112] 112,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 92:[86, 2], Operations: ['94-68=26', '52/26=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,92 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[86, 26], Operations: ['94-68=26', '52-26=26'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 86*26=2236, Resulting Numbers: [2236] 2236,92 unequal: No Solution Exploring Operation: 86+26=112, Resulting Numbers: [112] 112,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[16, 8], Operations: ['68-52=16', '94-86=8'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 16*8=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[94, 102], Operations: ['68-52=16', '86+16=102'] Exploring Operation: 94*102=9588, Resulting Numbers: [9588] 9588,92 unequal: No Solution Exploring Operation: 102-94=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 94+102=196, Resulting Numbers: [196] 196,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[26, 34], Operations: ['94-68=26', '86-52=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,92 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[86, 78], Operations: ['68-52=16', '94-16=78'] Exploring Operation: 86-78=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 86+78=164, Resulting Numbers: [164] 164,92 unequal: No Solution Exploring Operation: 86*78=6708, Resulting Numbers: [6708] 6708,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[86, 78], Operations: ['94-68=26', '52+26=78'] Exploring Operation: 86*78=6708, Resulting Numbers: [6708] 6708,92 unequal: No Solution Exploring Operation: 86+78=164, Resulting Numbers: [164] 164,92 unequal: No Solution Exploring Operation: 86-78=8, Resulting Numbers: [8] 8,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[52, 60], Operations: ['94-68=26', '86-26=60'] Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,92 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[86, 110], Operations: ['68-52=16', '94+16=110'] Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,92 unequal: No Solution Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[94, 70], Operations: ['68-52=16', '86-16=70'] Exploring Operation: 94+70=164, Resulting Numbers: [164] 164,92 unequal: No Solution Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 94*70=6580, Resulting Numbers: [6580] 6580,92 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 32, 16, 99, 83 ]
64
[ "32+16=48", "99-83=16", "48+16=64" ]
Current State: 64:[32, 16, 99, 83], Operations: [] Exploring Operation: 32+16=48, Resulting Numbers: [99, 83, 48] Generated Node #2: [99, 83, 48] from Operation: 32+16=48 Current State: 64:[99, 83, 48], Operations: ['32+16=48'] Exploring Operation: 99-83=16, Resulting Numbers: [48, 16] Generated Node #3: [48, 16] from Operation: 99-83=16 Current State: 64:[48, 16], Operations: ['32+16=48', '99-83=16'] Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[32, 16, 99, 83], Operations: [] Exploring Operation: 83-16=67, Resulting Numbers: [32, 99, 67] Generated Node #0,0: 64:[32, 99, 67] Operation: 83-16=67 Exploring Operation: 99-83=16, Resulting Numbers: [32, 16, 16] Generated Node #0,1: 64:[32, 16, 16] Operation: 99-83=16 Exploring Operation: 99-32=67, Resulting Numbers: [16, 83, 67] Generated Node #0,2: 64:[16, 83, 67] Operation: 99-32=67 Exploring Operation: 83-32=51, Resulting Numbers: [16, 99, 51] Generated Node #0,3: 64:[16, 99, 51] Operation: 83-32=51 Exploring Operation: 99-16=83, Resulting Numbers: [32, 83, 83] Generated Node #0,4: 64:[32, 83, 83] Operation: 99-16=83 Moving to Node #0,1 Current State: 64:[32, 16, 16], Operations: ['99-83=16'] Exploring Operation: 32/16=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 64:[16, 2] Operation: 32/16=2 Exploring Operation: 16+16=32, Resulting Numbers: [32, 32] Generated Node #0,1,1: 64:[32, 32] Operation: 16+16=32 Exploring Operation: 32-16=16, Resulting Numbers: [16, 16] Generated Node #0,1,2: 64:[16, 16] Operation: 32-16=16 Exploring Operation: 32-16=16, Resulting Numbers: [16, 16] Generated Node #0,1,3: 64:[16, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [16, 2] Generated Node #0,1,4: 64:[16, 2] Operation: 32/16=2 Moving to Node #0,2 Current State: 64:[16, 83, 67], Operations: ['99-32=67'] Exploring Operation: 83-67=16, Resulting Numbers: [16, 16] Generated Node #0,2,0: 64:[16, 16] Operation: 83-67=16 Exploring Operation: 16+67=83, Resulting Numbers: [83, 83] Generated Node #0,2,1: 64:[83, 83] Operation: 16+67=83 Exploring Operation: 83-16=67, Resulting Numbers: [67, 67] Generated Node #0,2,2: 64:[67, 67] Operation: 83-16=67 Exploring Operation: 16+83=99, Resulting Numbers: [67, 99] Generated Node #0,2,3: 64:[67, 99] Operation: 16+83=99 Exploring Operation: 67-16=51, Resulting Numbers: [83, 51] Generated Node #0,2,4: 64:[83, 51] Operation: 67-16=51 Moving to Node #0,0 Current State: 64:[32, 99, 67], Operations: ['83-16=67'] Exploring Operation: 67-32=35, Resulting Numbers: [99, 35] Generated Node #0,0,0: 64:[99, 35] Operation: 67-32=35 Exploring Operation: 32+67=99, Resulting Numbers: [99, 99] Generated Node #0,0,1: 64:[99, 99] Operation: 32+67=99 Exploring Operation: 99-32=67, Resulting Numbers: [67, 67] Generated Node #0,0,2: 64:[67, 67] Operation: 99-32=67 Exploring Operation: 99-67=32, Resulting Numbers: [32, 32] Generated Node #0,0,3: 64:[32, 32] Operation: 99-67=32 Exploring Operation: 32+99=131, Resulting Numbers: [67, 131] Generated Node #0,0,4: 64:[67, 131] Operation: 32+99=131 Moving to Node #0,4 Current State: 64:[32, 83, 83], Operations: ['99-16=83'] Exploring Operation: 32+83=115, Resulting Numbers: [83, 115] Generated Node #0,4,0: 64:[83, 115] Operation: 32+83=115 Exploring Operation: 83-83=0, Resulting Numbers: [32, 0] Generated Node #0,4,1: 64:[32, 0] Operation: 83-83=0 Exploring Operation: 83-32=51, Resulting Numbers: [83, 51] Generated Node #0,4,2: 64:[83, 51] Operation: 83-32=51 Exploring Operation: 83-32=51, Resulting Numbers: [83, 51] Generated Node #0,4,3: 64:[83, 51] Operation: 83-32=51 Exploring Operation: 83/83=1, Resulting Numbers: [32, 1] Generated Node #0,4,4: 64:[32, 1] Operation: 83/83=1 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 64:[32, 1], Operations: ['99-16=83', '83/83=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,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,4,1 Current State: 64:[32, 0], Operations: ['99-16=83', '83-83=0'] Exploring Operation: 32-0=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 32*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 32+0=32, Resulting Numbers: [32] 32,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,4,2 Current State: 64:[83, 51], Operations: ['99-16=83', '83-32=51'] Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 83*51=4233, Resulting Numbers: [4233] 4233,64 unequal: No Solution Exploring Operation: 83+51=134, Resulting Numbers: [134] 134,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,4,3 Current State: 64:[83, 51], Operations: ['99-16=83', '83-32=51'] Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 83+51=134, Resulting Numbers: [134] 134,64 unequal: No Solution Exploring Operation: 83*51=4233, Resulting Numbers: [4233] 4233,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,4,0 Current State: 64:[83, 115], Operations: ['99-16=83', '32+83=115'] Exploring Operation: 115-83=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 83+115=198, Resulting Numbers: [198] 198,64 unequal: No Solution Exploring Operation: 83*115=9545, Resulting Numbers: [9545] 9545,64 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: 64:[16, 99, 51], Operations: ['83-32=51'] Exploring Operation: 99-16=83, Resulting Numbers: [51, 83] Generated Node #0,3,0: 64:[51, 83] Operation: 99-16=83 Exploring Operation: 51-16=35, Resulting Numbers: [99, 35] Generated Node #0,3,1: 64:[99, 35] Operation: 51-16=35 Exploring Operation: 16+51=67, Resulting Numbers: [99, 67] Generated Node #0,3,2: 64:[99, 67] Operation: 16+51=67 Exploring Operation: 99-51=48, Resulting Numbers: [16, 48] Generated Node #0,3,3: 64:[16, 48] Operation: 99-51=48 Exploring Operation: 16+99=115, Resulting Numbers: [51, 115] Generated Node #0,3,4: 64:[51, 115] Operation: 16+99=115 Moving to Node #0,1,0 Current State: 64:[16, 2], Operations: ['99-83=16', '32/16=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[16, 16], Operations: ['99-83=16', '32-16=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[16, 16], Operations: ['99-32=67', '83-67=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[32, 32], Operations: ['99-83=16', '16+16=32'] Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[32, 16, 99, 83], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [32, 16, 16] Generated Node #0,1: 64:[32, 16, 16] Operation: 99-83=16 Moving to Node #0,1 Current State: 64:[32, 16, 16], Operations: ['99-83=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32, 32] Generated Node #0,1,1: 64:[32, 32] Operation: 16+16=32 Moving to Node #0,1,1 Current State: 64:[32, 32], Operations: ['99-83=16', '16+16=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 44, 7, 29, 37 ]
100
[ "37-29=8", "7*8=56", "44+56=100" ]
Current State: 100:[44, 7, 29, 37], Operations: [] Exploring Operation: 37-29=8, Resulting Numbers: [44, 7, 8] Generated Node #2: [44, 7, 8] from Operation: 37-29=8 Current State: 100:[44, 7, 8], Operations: ['37-29=8'] Exploring Operation: 7*8=56, Resulting Numbers: [44, 56] Generated Node #3: [44, 56] from Operation: 7*8=56 Current State: 100:[44, 56], Operations: ['37-29=8', '7*8=56'] Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[44, 7, 29, 37], Operations: [] Exploring Operation: 37-29=8, Resulting Numbers: [44, 7, 8] Generated Node #0,0: 100:[44, 7, 8] Operation: 37-29=8 Exploring Operation: 44-37=7, Resulting Numbers: [7, 29, 7] Generated Node #0,1: 100:[7, 29, 7] Operation: 44-37=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[7, 29, 7], Operations: ['44-37=7'] Exploring Operation: 29-7=22, Resulting Numbers: [7, 22] Generated Node #0,1,0: 100:[7, 22] Operation: 29-7=22 Exploring Operation: 29-7=22, Resulting Numbers: [7, 22] Generated Node #0,1,1: 100:[7, 22] Operation: 29-7=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[7, 22], Operations: ['44-37=7', '29-7=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[7, 22], Operations: ['44-37=7', '29-7=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[44, 7, 8], Operations: ['37-29=8'] Exploring Operation: 44+7=51, Resulting Numbers: [8, 51] Generated Node #0,0,0: 100:[8, 51] Operation: 44+7=51 Exploring Operation: 44+8=52, Resulting Numbers: [7, 52] Generated Node #0,0,1: 100:[7, 52] Operation: 44+8=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[8, 51], Operations: ['37-29=8', '44+7=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[7, 52], Operations: ['37-29=8', '44+8=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 15, 60, 53, 35 ]
10
[ "60-53=7", "35/7=5", "15-5=10" ]
Current State: 10:[15, 60, 53, 35], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [15, 35, 7] Generated Node #2: [15, 35, 7] from Operation: 60-53=7 Current State: 10:[15, 35, 7], Operations: ['60-53=7'] Exploring Operation: 35/7=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 35/7=5 Current State: 10:[15, 5], Operations: ['60-53=7', '35/7=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 60, 53, 35], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [15, 35, 7] Generated Node #0,0: 10:[15, 35, 7] Operation: 60-53=7 Exploring Operation: 53-35=18, Resulting Numbers: [15, 60, 18] Generated Node #0,1: 10:[15, 60, 18] Operation: 53-35=18 Exploring Operation: 60-15=45, Resulting Numbers: [53, 35, 45] Generated Node #0,2: 10:[53, 35, 45] Operation: 60-15=45 Exploring Operation: 60/15=4, Resulting Numbers: [53, 35, 4] Generated Node #0,3: 10:[53, 35, 4] Operation: 60/15=4 Exploring Operation: 60-35=25, Resulting Numbers: [15, 53, 25] Generated Node #0,4: 10:[15, 53, 25] Operation: 60-35=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[15, 35, 7], Operations: ['60-53=7'] Exploring Operation: 35-15=20, Resulting Numbers: [7, 20] Generated Node #0,0,0: 10:[7, 20] Operation: 35-15=20 Exploring Operation: 35/7=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 10:[15, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [15, 28] Generated Node #0,0,2: 10:[15, 28] Operation: 35-7=28 Exploring Operation: 15-7=8, Resulting Numbers: [35, 8] Generated Node #0,0,3: 10:[35, 8] Operation: 15-7=8 Exploring Operation: 15+7=22, Resulting Numbers: [35, 22] Generated Node #0,0,4: 10:[35, 22] Operation: 15+7=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[15, 5], Operations: ['60-53=7', '35/7=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[15, 60, 53, 35], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [15, 35, 7] Generated Node #0,0: 10:[15, 35, 7] Operation: 60-53=7 Moving to Node #0,0 Current State: 10:[15, 35, 7], Operations: ['60-53=7'] Exploring Operation: 35/7=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 10:[15, 5] Operation: 35/7=5 Moving to Node #0,0,1 Current State: 10:[15, 5], Operations: ['60-53=7', '35/7=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 61, 87, 87, 25 ]
25
[ "87-87=0", "61*0=0", "25+0=25" ]
Current State: 25:[61, 87, 87, 25], Operations: [] Exploring Operation: 87-87=0, Resulting Numbers: [61, 25, 0] Generated Node #2: [61, 25, 0] from Operation: 87-87=0 Current State: 25:[61, 25, 0], Operations: ['87-87=0'] Exploring Operation: 61*0=0, Resulting Numbers: [25, 0] Generated Node #3: [25, 0] from Operation: 61*0=0 Current State: 25:[25, 0], Operations: ['87-87=0', '61*0=0'] Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[61, 87, 87, 25], Operations: [] Exploring Operation: 87-61=26, Resulting Numbers: [87, 25, 26] Generated Node #0,0: 25:[87, 25, 26] Operation: 87-61=26 Exploring Operation: 61-25=36, Resulting Numbers: [87, 87, 36] Generated Node #0,1: 25:[87, 87, 36] Operation: 61-25=36 Exploring Operation: 87-87=0, Resulting Numbers: [61, 25, 0] Generated Node #0,2: 25:[61, 25, 0] Operation: 87-87=0 Exploring Operation: 87/87=1, Resulting Numbers: [61, 25, 1] Generated Node #0,3: 25:[61, 25, 1] Operation: 87/87=1 Exploring Operation: 87-61=26, Resulting Numbers: [87, 25, 26] Generated Node #0,4: 25:[87, 25, 26] Operation: 87-61=26 Moving to Node #0,3 Current State: 25:[61, 25, 1], Operations: ['87/87=1'] Exploring Operation: 61/1=61, Resulting Numbers: [25, 61] Generated Node #0,3,0: 25:[25, 61] Operation: 61/1=61 Exploring Operation: 61*1=61, Resulting Numbers: [25, 61] Generated Node #0,3,1: 25:[25, 61] Operation: 61*1=61 Exploring Operation: 61-25=36, Resulting Numbers: [1, 36] Generated Node #0,3,2: 25:[1, 36] Operation: 61-25=36 Exploring Operation: 25*1=25, Resulting Numbers: [61, 25] Generated Node #0,3,3: 25:[61, 25] Operation: 25*1=25 Exploring Operation: 61-1=60, Resulting Numbers: [25, 60] Generated Node #0,3,4: 25:[25, 60] Operation: 61-1=60 Moving to Node #0,2 Current State: 25:[61, 25, 0], Operations: ['87-87=0'] Exploring Operation: 25+0=25, Resulting Numbers: [61, 25] Generated Node #0,2,0: 25:[61, 25] Operation: 25+0=25 Exploring Operation: 61-0=61, Resulting Numbers: [25, 61] Generated Node #0,2,1: 25:[25, 61] Operation: 61-0=61 Exploring Operation: 61*0=0, Resulting Numbers: [25, 0] Generated Node #0,2,2: 25:[25, 0] Operation: 61*0=0 Exploring Operation: 61-25=36, Resulting Numbers: [0, 36] Generated Node #0,2,3: 25:[0, 36] Operation: 61-25=36 Exploring Operation: 61+0=61, Resulting Numbers: [25, 61] Generated Node #0,2,4: 25:[25, 61] Operation: 61+0=61 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[25, 0], Operations: ['87-87=0', '61*0=0'] Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[61, 87, 87, 25], Operations: [] Exploring Operation: 87-87=0, Resulting Numbers: [61, 25, 0] Generated Node #0,2: 25:[61, 25, 0] Operation: 87-87=0 Moving to Node #0,2 Current State: 25:[61, 25, 0], Operations: ['87-87=0'] Exploring Operation: 61*0=0, Resulting Numbers: [25, 0] Generated Node #0,2,2: 25:[25, 0] Operation: 61*0=0 Moving to Node #0,2,2 Current State: 25:[25, 0], Operations: ['87-87=0', '61*0=0'] Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 82, 7, 90, 17 ]
17
[ "82+7=89", "90-89=1", "17*1=17" ]
Current State: 17:[82, 7, 90, 17], Operations: [] Exploring Operation: 82+7=89, Resulting Numbers: [90, 17, 89] Generated Node #2: [90, 17, 89] from Operation: 82+7=89 Current State: 17:[90, 17, 89], Operations: ['82+7=89'] Exploring Operation: 90-89=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 90-89=1 Current State: 17:[17, 1], Operations: ['82+7=89', '90-89=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[82, 7, 90, 17], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [7, 17, 8] Generated Node #0,0: 17:[7, 17, 8] Operation: 90-82=8 Exploring Operation: 90-7=83, Resulting Numbers: [82, 17, 83] Generated Node #0,1: 17:[82, 17, 83] Operation: 90-7=83 Exploring Operation: 82-17=65, Resulting Numbers: [7, 90, 65] Generated Node #0,2: 17:[7, 90, 65] Operation: 82-17=65 Exploring Operation: 82-7=75, Resulting Numbers: [90, 17, 75] Generated Node #0,3: 17:[90, 17, 75] Operation: 82-7=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[7, 17, 8], Operations: ['90-82=8'] Exploring Operation: 8-7=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 17:[17, 1] Operation: 8-7=1 Exploring Operation: 7+17=24, Resulting Numbers: [8, 24] Generated Node #0,0,1: 17:[8, 24] Operation: 7+17=24 Exploring Operation: 17-7=10, Resulting Numbers: [8, 10] Generated Node #0,0,2: 17:[8, 10] Operation: 17-7=10 Exploring Operation: 7+8=15, Resulting Numbers: [17, 15] Generated Node #0,0,3: 17:[17, 15] Operation: 7+8=15 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 17:[17, 15], Operations: ['90-82=8', '7+8=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[17, 1], Operations: ['90-82=8', '8-7=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[82, 7, 90, 17], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [7, 17, 8] Generated Node #0,0: 17:[7, 17, 8] Operation: 90-82=8 Moving to Node #0,0 Current State: 17:[7, 17, 8], Operations: ['90-82=8'] Exploring Operation: 8-7=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 17:[17, 1] Operation: 8-7=1 Moving to Node #0,0,0 Current State: 17:[17, 1], Operations: ['90-82=8', '8-7=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 34, 49, 31, 57 ]
89
[ "49*57=2793", "2793-34=2759", "2759/31=89" ]
Current State: 89:[34, 49, 31, 57], Operations: [] Exploring Operation: 49*57=2793, Resulting Numbers: [34, 31, 2793] Generated Node #2: [34, 31, 2793] from Operation: 49*57=2793 Current State: 89:[34, 31, 2793], Operations: ['49*57=2793'] Exploring Operation: 2793-34=2759, Resulting Numbers: [31, 2759] Generated Node #3: [31, 2759] from Operation: 2793-34=2759 Current State: 89:[31, 2759], Operations: ['49*57=2793', '2793-34=2759'] Exploring Operation: 2759/31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[34, 49, 31, 57], Operations: [] Exploring Operation: 34+49=83, Resulting Numbers: [31, 57, 83] Generated Node #0,0: 89:[31, 57, 83] Operation: 34+49=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[31, 57, 83], Operations: ['34+49=83'] Exploring Operation: 31+57=88, Resulting Numbers: [83, 88] Generated Node #0,0,0: 89:[83, 88] Operation: 31+57=88 Moving to Node #0,0,0 Current State: 89:[83, 88], Operations: ['34+49=83', '31+57=88'] Exploring Operation: 83+88=171, Resulting Numbers: [171] 171,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 95, 88, 77, 13 ]
83
[ "95-88=7", "77+13=90", "90-7=83" ]
Current State: 83:[95, 88, 77, 13], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [77, 13, 7] Generated Node #2: [77, 13, 7] from Operation: 95-88=7 Current State: 83:[77, 13, 7], Operations: ['95-88=7'] Exploring Operation: 77+13=90, Resulting Numbers: [7, 90] Generated Node #3: [7, 90] from Operation: 77+13=90 Current State: 83:[7, 90], Operations: ['95-88=7', '77+13=90'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[95, 88, 77, 13], Operations: [] Exploring Operation: 88+13=101, Resulting Numbers: [95, 77, 101] Generated Node #0,0: 83:[95, 77, 101] Operation: 88+13=101 Exploring Operation: 95+13=108, Resulting Numbers: [88, 77, 108] Generated Node #0,1: 83:[88, 77, 108] Operation: 95+13=108 Exploring Operation: 77+13=90, Resulting Numbers: [95, 88, 90] Generated Node #0,2: 83:[95, 88, 90] Operation: 77+13=90 Exploring Operation: 88-13=75, Resulting Numbers: [95, 77, 75] Generated Node #0,3: 83:[95, 77, 75] Operation: 88-13=75 Exploring Operation: 95-13=82, Resulting Numbers: [88, 77, 82] Generated Node #0,4: 83:[88, 77, 82] Operation: 95-13=82 Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[88, 77, 82], Operations: ['95-13=82'] Exploring Operation: 88+77=165, Resulting Numbers: [82, 165] Generated Node #0,4,0: 83:[82, 165] Operation: 88+77=165 Exploring Operation: 77+82=159, Resulting Numbers: [88, 159] Generated Node #0,4,1: 83:[88, 159] Operation: 77+82=159 Exploring Operation: 88-82=6, Resulting Numbers: [77, 6] Generated Node #0,4,2: 83:[77, 6] Operation: 88-82=6 Exploring Operation: 82-77=5, Resulting Numbers: [88, 5] Generated Node #0,4,3: 83:[88, 5] Operation: 82-77=5 Exploring Operation: 88-77=11, Resulting Numbers: [82, 11] Generated Node #0,4,4: 83:[82, 11] Operation: 88-77=11 Moving to Node #0,4,4 Current State: 83:[82, 11], Operations: ['95-13=82', '88-77=11'] Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[88, 159], Operations: ['95-13=82', '77+82=159'] Exploring Operation: 88+159=247, Resulting Numbers: [247] 247,83 unequal: No Solution Exploring Operation: 159-88=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 88*159=13992, Resulting Numbers: [13992] 13992,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[82, 165], Operations: ['95-13=82', '88+77=165'] Exploring Operation: 82*165=13530, Resulting Numbers: [13530] 13530,83 unequal: No Solution Exploring Operation: 165-82=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[95, 88, 77, 13], Operations: [] Exploring Operation: 95-13=82, Resulting Numbers: [88, 77, 82] Generated Node #0,4: 83:[88, 77, 82] Operation: 95-13=82 Moving to Node #0,4 Current State: 83:[88, 77, 82], Operations: ['95-13=82'] Exploring Operation: 88+77=165, Resulting Numbers: [82, 165] Generated Node #0,4,0: 83:[82, 165] Operation: 88+77=165 Moving to Node #0,4,0 Current State: 83:[82, 165], Operations: ['95-13=82', '88+77=165'] Exploring Operation: 165-82=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 69, 58, 27, 26 ]
64
[ "69-58=11", "27+26=53", "11+53=64" ]
Current State: 64:[69, 58, 27, 26], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [27, 26, 11] Generated Node #2: [27, 26, 11] from Operation: 69-58=11 Current State: 64:[27, 26, 11], Operations: ['69-58=11'] Exploring Operation: 27+26=53, Resulting Numbers: [11, 53] Generated Node #3: [11, 53] from Operation: 27+26=53 Current State: 64:[11, 53], Operations: ['69-58=11', '27+26=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[69, 58, 27, 26], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [69, 58, 1] Generated Node #0,0: 64:[69, 58, 1] Operation: 27-26=1 Exploring Operation: 69-58=11, Resulting Numbers: [27, 26, 11] Generated Node #0,1: 64:[27, 26, 11] Operation: 69-58=11 Exploring Operation: 58-26=32, Resulting Numbers: [69, 27, 32] Generated Node #0,2: 64:[69, 27, 32] Operation: 58-26=32 Exploring Operation: 58-27=31, Resulting Numbers: [69, 26, 31] Generated Node #0,3: 64:[69, 26, 31] Operation: 58-27=31 Exploring Operation: 69-27=42, Resulting Numbers: [58, 26, 42] Generated Node #0,4: 64:[58, 26, 42] Operation: 69-27=42 Moving to Node #0,2 Current State: 64:[69, 27, 32], Operations: ['58-26=32'] Exploring Operation: 27+32=59, Resulting Numbers: [69, 59] Generated Node #0,2,0: 64:[69, 59] Operation: 27+32=59 Exploring Operation: 69-32=37, Resulting Numbers: [27, 37] Generated Node #0,2,1: 64:[27, 37] Operation: 69-32=37 Exploring Operation: 69-27=42, Resulting Numbers: [32, 42] Generated Node #0,2,2: 64:[32, 42] Operation: 69-27=42 Exploring Operation: 69+27=96, Resulting Numbers: [32, 96] Generated Node #0,2,3: 64:[32, 96] Operation: 69+27=96 Exploring Operation: 32-27=5, Resulting Numbers: [69, 5] Generated Node #0,2,4: 64:[69, 5] Operation: 32-27=5 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 64:[69, 5], Operations: ['58-26=32', '32-27=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[69, 58, 27, 26], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [69, 27, 32] Generated Node #0,2: 64:[69, 27, 32] Operation: 58-26=32 Moving to Node #0,2 Current State: 64:[69, 27, 32], Operations: ['58-26=32'] Exploring Operation: 32-27=5, Resulting Numbers: [69, 5] Generated Node #0,2,4: 64:[69, 5] Operation: 32-27=5 Moving to Node #0,2,4 Current State: 64:[69, 5], Operations: ['58-26=32', '32-27=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 7, 26, 59, 14 ]
72
[ "7*26=182", "182/14=13", "59+13=72" ]
Current State: 72:[7, 26, 59, 14], Operations: [] Exploring Operation: 7*26=182, Resulting Numbers: [59, 14, 182] Generated Node #2: [59, 14, 182] from Operation: 7*26=182 Current State: 72:[59, 14, 182], Operations: ['7*26=182'] Exploring Operation: 182/14=13, Resulting Numbers: [59, 13] Generated Node #3: [59, 13] from Operation: 182/14=13 Current State: 72:[59, 13], Operations: ['7*26=182', '182/14=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[7, 26, 59, 14], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [7, 14, 33] Generated Node #0,0: 72:[7, 14, 33] Operation: 59-26=33 Exploring Operation: 59+14=73, Resulting Numbers: [7, 26, 73] Generated Node #0,1: 72:[7, 26, 73] Operation: 59+14=73 Moving to Node #0,1 Current State: 72:[7, 26, 73], Operations: ['59+14=73'] Exploring Operation: 7+26=33, Resulting Numbers: [73, 33] Generated Node #0,1,0: 72:[73, 33] Operation: 7+26=33 Exploring Operation: 26-7=19, Resulting Numbers: [73, 19] Generated Node #0,1,1: 72:[73, 19] Operation: 26-7=19 Moving to Node #0,0 Current State: 72:[7, 14, 33], Operations: ['59-26=33'] Exploring Operation: 33-14=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 72:[7, 19] Operation: 33-14=19 Exploring Operation: 14/7=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 72:[33, 2] Operation: 14/7=2 Moving to Node #0,1,1 Current State: 72:[73, 19], Operations: ['59+14=73', '26-7=19'] Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,72 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[7, 19], Operations: ['59-26=33', '33-14=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[33, 2], Operations: ['59-26=33', '14/7=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[73, 33], Operations: ['59+14=73', '7+26=33'] Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 73+33=106, Resulting Numbers: [106] 106,72 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 58, 83, 23, 80 ]
78
[ "83-58=25", "23+80=103", "103-25=78" ]
Current State: 78:[58, 83, 23, 80], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [23, 80, 25] Generated Node #2: [23, 80, 25] from Operation: 83-58=25 Current State: 78:[23, 80, 25], Operations: ['83-58=25'] Exploring Operation: 23+80=103, Resulting Numbers: [25, 103] Generated Node #3: [25, 103] from Operation: 23+80=103 Current State: 78:[25, 103], Operations: ['83-58=25', '23+80=103'] Exploring Operation: 103-25=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[58, 83, 23, 80], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [23, 80, 25] Generated Node #0,0: 78:[23, 80, 25] Operation: 83-58=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[23, 80, 25], Operations: ['83-58=25'] Exploring Operation: 25-23=2, Resulting Numbers: [80, 2] Generated Node #0,0,0: 78:[80, 2] Operation: 25-23=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[80, 2], Operations: ['83-58=25', '25-23=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[58, 83, 23, 80], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [23, 80, 25] Generated Node #0,0: 78:[23, 80, 25] Operation: 83-58=25 Moving to Node #0,0 Current State: 78:[23, 80, 25], Operations: ['83-58=25'] Exploring Operation: 25-23=2, Resulting Numbers: [80, 2] Generated Node #0,0,0: 78:[80, 2] Operation: 25-23=2 Moving to Node #0,0,0 Current State: 78:[80, 2], Operations: ['83-58=25', '25-23=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 86, 20, 61, 55 ]
10
[ "86+20=106", "61+55=116", "116-106=10" ]
Current State: 10:[86, 20, 61, 55], Operations: [] Exploring Operation: 86+20=106, Resulting Numbers: [61, 55, 106] Generated Node #2: [61, 55, 106] from Operation: 86+20=106 Current State: 10:[61, 55, 106], Operations: ['86+20=106'] Exploring Operation: 61+55=116, Resulting Numbers: [106, 116] Generated Node #3: [106, 116] from Operation: 61+55=116 Current State: 10:[106, 116], Operations: ['86+20=106', '61+55=116'] Exploring Operation: 116-106=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[86, 20, 61, 55], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [20, 55, 25] Generated Node #0,0: 10:[20, 55, 25] Operation: 86-61=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[20, 55, 25], Operations: ['86-61=25'] Exploring Operation: 55-25=30, Resulting Numbers: [20, 30] Generated Node #0,0,0: 10:[20, 30] Operation: 55-25=30 Moving to Node #0,0,0 Current State: 10:[20, 30], Operations: ['86-61=25', '55-25=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[86, 20, 61, 55], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [20, 55, 25] Generated Node #0,0: 10:[20, 55, 25] Operation: 86-61=25 Moving to Node #0,0 Current State: 10:[20, 55, 25], Operations: ['86-61=25'] Exploring Operation: 55-25=30, Resulting Numbers: [20, 30] Generated Node #0,0,0: 10:[20, 30] Operation: 55-25=30 Moving to Node #0,0,0 Current State: 10:[20, 30], Operations: ['86-61=25', '55-25=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic