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
[ 84, 30, 87, 17 ]
50
[ "84-30=54", "87+17=104", "104-54=50" ]
Current State: 50:[84, 30, 87, 17], Operations: [] Exploring Operation: 84-30=54, Resulting Numbers: [87, 17, 54] Generated Node #2: [87, 17, 54] from Operation: 84-30=54 Current State: 50:[87, 17, 54], Operations: ['84-30=54'] Exploring Operation: 87+17=104, Resulting Numbers: [54, 104] Generated Node #3: [54, 104] from Operation: 87+17=104 Current State: 50:[54, 104], Operations: ['84-30=54', '87+17=104'] Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[84, 30, 87, 17], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [30, 17, 3] Generated Node #0,0: 50:[30, 17, 3] Operation: 87-84=3 Exploring Operation: 84-30=54, Resulting Numbers: [87, 17, 54] Generated Node #0,1: 50:[87, 17, 54] Operation: 84-30=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[30, 17, 3], Operations: ['87-84=3'] Exploring Operation: 30-17=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 50:[3, 13] Operation: 30-17=13 Exploring Operation: 30+17=47, Resulting Numbers: [3, 47] Generated Node #0,0,1: 50:[3, 47] Operation: 30+17=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[3, 13], Operations: ['87-84=3', '30-17=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,50 unequal: No Solution No 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: 50:[3, 47], Operations: ['87-84=3', '30+17=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[84, 30, 87, 17], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [30, 17, 3] Generated Node #0,0: 50:[30, 17, 3] Operation: 87-84=3 Moving to Node #0,0 Current State: 50:[30, 17, 3], Operations: ['87-84=3'] Exploring Operation: 30+17=47, Resulting Numbers: [3, 47] Generated Node #0,0,1: 50:[3, 47] Operation: 30+17=47 Moving to Node #0,0,1 Current State: 50:[3, 47], Operations: ['87-84=3', '30+17=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 43, 21, 82, 45 ]
15
[ "43-21=22", "82-45=37", "37-22=15" ]
Current State: 15:[43, 21, 82, 45], Operations: [] Exploring Operation: 43-21=22, Resulting Numbers: [82, 45, 22] Generated Node #2: [82, 45, 22] from Operation: 43-21=22 Current State: 15:[82, 45, 22], Operations: ['43-21=22'] Exploring Operation: 82-45=37, Resulting Numbers: [22, 37] Generated Node #3: [22, 37] from Operation: 82-45=37 Current State: 15:[22, 37], Operations: ['43-21=22', '82-45=37'] Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[43, 21, 82, 45], Operations: [] Exploring Operation: 82-45=37, Resulting Numbers: [43, 21, 37] Generated Node #0,0: 15:[43, 21, 37] Operation: 82-45=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[43, 21, 37], Operations: ['82-45=37'] Exploring Operation: 43-37=6, Resulting Numbers: [21, 6] Generated Node #0,0,0: 15:[21, 6] Operation: 43-37=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[21, 6], Operations: ['82-45=37', '43-37=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[43, 21, 82, 45], Operations: [] Exploring Operation: 82-45=37, Resulting Numbers: [43, 21, 37] Generated Node #0,0: 15:[43, 21, 37] Operation: 82-45=37 Moving to Node #0,0 Current State: 15:[43, 21, 37], Operations: ['82-45=37'] Exploring Operation: 43-37=6, Resulting Numbers: [21, 6] Generated Node #0,0,0: 15:[21, 6] Operation: 43-37=6 Moving to Node #0,0,0 Current State: 15:[21, 6], Operations: ['82-45=37', '43-37=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 12, 35, 98, 37 ]
37
[ "12+37=49", "98/49=2", "35+2=37" ]
Current State: 37:[12, 35, 98, 37], Operations: [] Exploring Operation: 12+37=49, Resulting Numbers: [35, 98, 49] Generated Node #2: [35, 98, 49] from Operation: 12+37=49 Current State: 37:[35, 98, 49], Operations: ['12+37=49'] Exploring Operation: 98/49=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 98/49=2 Current State: 37:[35, 2], Operations: ['12+37=49', '98/49=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[12, 35, 98, 37], Operations: [] Exploring Operation: 98-12=86, Resulting Numbers: [35, 37, 86] Generated Node #0,0: 37:[35, 37, 86] Operation: 98-12=86 Exploring Operation: 98-35=63, Resulting Numbers: [12, 37, 63] Generated Node #0,1: 37:[12, 37, 63] Operation: 98-35=63 Exploring Operation: 12+35=47, Resulting Numbers: [98, 37, 47] Generated Node #0,2: 37:[98, 37, 47] Operation: 12+35=47 Exploring Operation: 98-37=61, Resulting Numbers: [12, 35, 61] Generated Node #0,3: 37:[12, 35, 61] Operation: 98-37=61 Exploring Operation: 35-12=23, Resulting Numbers: [98, 37, 23] Generated Node #0,4: 37:[98, 37, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[35, 37, 86], Operations: ['98-12=86'] Exploring Operation: 86-37=49, Resulting Numbers: [35, 49] Generated Node #0,0,0: 37:[35, 49] Operation: 86-37=49 Exploring Operation: 35+37=72, Resulting Numbers: [86, 72] Generated Node #0,0,1: 37:[86, 72] Operation: 35+37=72 Exploring Operation: 37-35=2, Resulting Numbers: [86, 2] Generated Node #0,0,2: 37:[86, 2] Operation: 37-35=2 Exploring Operation: 35+86=121, Resulting Numbers: [37, 121] Generated Node #0,0,3: 37:[37, 121] Operation: 35+86=121 Exploring Operation: 86-35=51, Resulting Numbers: [37, 51] Generated Node #0,0,4: 37:[37, 51] Operation: 86-35=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[35, 49], Operations: ['98-12=86', '86-37=49'] Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,37 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,37 unequal: No Solution No 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: 37:[37, 51], Operations: ['98-12=86', '86-35=51'] Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,37 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,37 unequal: No Solution No 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: 37:[86, 72], Operations: ['98-12=86', '35+37=72'] Exploring Operation: 86*72=6192, Resulting Numbers: [6192] 6192,37 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 86+72=158, Resulting Numbers: [158] 158,37 unequal: No Solution No 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: 37:[86, 2], Operations: ['98-12=86', '37-35=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,37 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,37 unequal: No Solution No 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: 37:[37, 121], Operations: ['98-12=86', '35+86=121'] Exploring Operation: 37+121=158, Resulting Numbers: [158] 158,37 unequal: No Solution Exploring Operation: 37*121=4477, Resulting Numbers: [4477] 4477,37 unequal: No Solution Exploring Operation: 121-37=84, Resulting Numbers: [84] 84,37 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: 37:[12, 37, 63], Operations: ['98-35=63'] Exploring Operation: 63-12=51, Resulting Numbers: [37, 51] Generated Node #0,1,0: 37:[37, 51] Operation: 63-12=51 Exploring Operation: 63-37=26, Resulting Numbers: [12, 26] Generated Node #0,1,1: 37:[12, 26] Operation: 63-37=26 Exploring Operation: 12+63=75, Resulting Numbers: [37, 75] Generated Node #0,1,2: 37:[37, 75] Operation: 12+63=75 Exploring Operation: 37-12=25, Resulting Numbers: [63, 25] Generated Node #0,1,3: 37:[63, 25] Operation: 37-12=25 Exploring Operation: 12+37=49, Resulting Numbers: [63, 49] Generated Node #0,1,4: 37:[63, 49] Operation: 12+37=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[37, 51], Operations: ['98-35=63', '63-12=51'] Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,37 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,37 unequal: No Solution No 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: 37:[12, 26], Operations: ['98-35=63', '63-37=26'] Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,37 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,37 unequal: No Solution No 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: 37:[37, 75], Operations: ['98-35=63', '12+63=75'] Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,37 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,37 unequal: No Solution No 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: 37:[63, 25], Operations: ['98-35=63', '37-12=25'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,37 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 37:[63, 49], Operations: ['98-35=63', '12+37=49'] Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,37 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,37 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: 37:[12, 35, 61], Operations: ['98-37=61'] Exploring Operation: 35-12=23, Resulting Numbers: [61, 23] Generated Node #0,3,0: 37:[61, 23] Operation: 35-12=23 Exploring Operation: 61-12=49, Resulting Numbers: [35, 49] Generated Node #0,3,1: 37:[35, 49] Operation: 61-12=49 Exploring Operation: 61-35=26, Resulting Numbers: [12, 26] Generated Node #0,3,2: 37:[12, 26] Operation: 61-35=26 Exploring Operation: 12+61=73, Resulting Numbers: [35, 73] Generated Node #0,3,3: 37:[35, 73] Operation: 12+61=73 Exploring Operation: 12+35=47, Resulting Numbers: [61, 47] Generated Node #0,3,4: 37:[61, 47] Operation: 12+35=47 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 37:[35, 49], Operations: ['98-37=61', '61-12=49'] Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,37 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,37 unequal: No Solution No 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: 37:[61, 47], Operations: ['98-37=61', '12+35=47'] Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,37 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,37 unequal: No Solution No 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: 37:[12, 26], Operations: ['98-37=61', '61-35=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,37 unequal: No Solution No 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: 37:[61, 23], Operations: ['98-37=61', '35-12=23'] Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,37 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,37 unequal: No Solution No 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: 37:[35, 73], Operations: ['98-37=61', '12+61=73'] Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 35+73=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 35*73=2555, Resulting Numbers: [2555] 2555,37 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: 37:[98, 37, 47], Operations: ['12+35=47'] Exploring Operation: 98-37=61, Resulting Numbers: [47, 61] Generated Node #0,2,0: 37:[47, 61] Operation: 98-37=61 Exploring Operation: 98+37=135, Resulting Numbers: [47, 135] Generated Node #0,2,1: 37:[47, 135] Operation: 98+37=135 Exploring Operation: 98+47=145, Resulting Numbers: [37, 145] Generated Node #0,2,2: 37:[37, 145] Operation: 98+47=145 Exploring Operation: 47-37=10, Resulting Numbers: [98, 10] Generated Node #0,2,3: 37:[98, 10] Operation: 47-37=10 Exploring Operation: 98-47=51, Resulting Numbers: [37, 51] Generated Node #0,2,4: 37:[37, 51] Operation: 98-47=51 Moving to Node #0,2,4 Current State: 37:[37, 51], Operations: ['12+35=47', '98-47=51'] Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[47, 61], Operations: ['12+35=47', '98-37=61'] Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,37 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[98, 10], Operations: ['12+35=47', '47-37=10'] Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[47, 135], Operations: ['12+35=47', '98+37=135'] Exploring Operation: 47*135=6345, Resulting Numbers: [6345] 6345,37 unequal: No Solution Exploring Operation: 47+135=182, Resulting Numbers: [182] 182,37 unequal: No Solution Exploring Operation: 135-47=88, Resulting Numbers: [88] 88,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[37, 145], Operations: ['12+35=47', '98+47=145'] Exploring Operation: 37*145=5365, Resulting Numbers: [5365] 5365,37 unequal: No Solution Exploring Operation: 37+145=182, Resulting Numbers: [182] 182,37 unequal: No Solution Exploring Operation: 145-37=108, Resulting Numbers: [108] 108,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 37:[98, 37, 23], Operations: ['35-12=23'] Exploring Operation: 37+23=60, Resulting Numbers: [98, 60] Generated Node #0,4,0: 37:[98, 60] Operation: 37+23=60 Exploring Operation: 98-37=61, Resulting Numbers: [23, 61] Generated Node #0,4,1: 37:[23, 61] Operation: 98-37=61 Exploring Operation: 98-23=75, Resulting Numbers: [37, 75] Generated Node #0,4,2: 37:[37, 75] Operation: 98-23=75 Exploring Operation: 98+23=121, Resulting Numbers: [37, 121] Generated Node #0,4,3: 37:[37, 121] Operation: 98+23=121 Exploring Operation: 37-23=14, Resulting Numbers: [98, 14] Generated Node #0,4,4: 37:[98, 14] Operation: 37-23=14 Moving to Node #0,4,1 Current State: 37:[23, 61], Operations: ['35-12=23', '98-37=61'] Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,37 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[37, 75], Operations: ['35-12=23', '98-23=75'] Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,37 unequal: No Solution Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,37 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[98, 60], Operations: ['35-12=23', '37+23=60'] Exploring Operation: 98+60=158, Resulting Numbers: [158] 158,37 unequal: No Solution Exploring Operation: 98*60=5880, Resulting Numbers: [5880] 5880,37 unequal: No Solution Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[37, 121], Operations: ['35-12=23', '98+23=121'] Exploring Operation: 37+121=158, Resulting Numbers: [158] 158,37 unequal: No Solution Exploring Operation: 121-37=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 37*121=4477, Resulting Numbers: [4477] 4477,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[98, 14], Operations: ['35-12=23', '37-23=14'] Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 98+14=112, Resulting Numbers: [112] 112,37 unequal: No Solution Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 98*14=1372, Resulting Numbers: [1372] 1372,37 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
[ 17, 5, 79, 68 ]
23
[ "17-5=12", "79-68=11", "12+11=23" ]
Current State: 23:[17, 5, 79, 68], Operations: [] Exploring Operation: 17-5=12, Resulting Numbers: [79, 68, 12] Generated Node #2: [79, 68, 12] from Operation: 17-5=12 Current State: 23:[79, 68, 12], Operations: ['17-5=12'] Exploring Operation: 79-68=11, Resulting Numbers: [12, 11] Generated Node #3: [12, 11] from Operation: 79-68=11 Current State: 23:[12, 11], Operations: ['17-5=12', '79-68=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[17, 5, 79, 68], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [17, 5, 11] Generated Node #0,0: 23:[17, 5, 11] Operation: 79-68=11 Moving to Node #0,0 Current State: 23:[17, 5, 11], Operations: ['79-68=11'] Exploring Operation: 17+5=22, Resulting Numbers: [11, 22] Generated Node #0,0,0: 23:[11, 22] Operation: 17+5=22 Moving to Node #0,0,0 Current State: 23:[11, 22], Operations: ['79-68=11', '17+5=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,23 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 73, 77, 13, 53 ]
63
[ "77+53=130", "130/13=10", "73-10=63" ]
Current State: 63:[73, 77, 13, 53], Operations: [] Exploring Operation: 77+53=130, Resulting Numbers: [73, 13, 130] Generated Node #2: [73, 13, 130] from Operation: 77+53=130 Current State: 63:[73, 13, 130], Operations: ['77+53=130'] Exploring Operation: 130/13=10, Resulting Numbers: [73, 10] Generated Node #3: [73, 10] from Operation: 130/13=10 Current State: 63:[73, 10], Operations: ['77+53=130', '130/13=10'] Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[73, 77, 13, 53], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [73, 13, 24] Generated Node #0,0: 63:[73, 13, 24] Operation: 77-53=24 Exploring Operation: 73-53=20, Resulting Numbers: [77, 13, 20] Generated Node #0,1: 63:[77, 13, 20] Operation: 73-53=20 Exploring Operation: 77-73=4, Resulting Numbers: [13, 53, 4] Generated Node #0,2: 63:[13, 53, 4] Operation: 77-73=4 Moving to Node #0,2 Current State: 63:[13, 53, 4], Operations: ['77-73=4'] Exploring Operation: 13-4=9, Resulting Numbers: [53, 9] Generated Node #0,2,0: 63:[53, 9] Operation: 13-4=9 Exploring Operation: 53+4=57, Resulting Numbers: [13, 57] Generated Node #0,2,1: 63:[13, 57] Operation: 53+4=57 Exploring Operation: 13+53=66, Resulting Numbers: [4, 66] Generated Node #0,2,2: 63:[4, 66] Operation: 13+53=66 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[4, 66], Operations: ['77-73=4', '13+53=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,63 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[53, 9], Operations: ['77-73=4', '13-4=9'] Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,63 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[13, 57], Operations: ['77-73=4', '53+4=57'] Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,63 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,63 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: 63:[73, 13, 24], Operations: ['77-53=24'] Exploring Operation: 73-24=49, Resulting Numbers: [13, 49] Generated Node #0,0,0: 63:[13, 49] Operation: 73-24=49 Exploring Operation: 73-13=60, Resulting Numbers: [24, 60] Generated Node #0,0,1: 63:[24, 60] Operation: 73-13=60 Exploring Operation: 24-13=11, Resulting Numbers: [73, 11] Generated Node #0,0,2: 63:[73, 11] Operation: 24-13=11 Moving to Node #0,1 Current State: 63:[77, 13, 20], Operations: ['73-53=20'] Exploring Operation: 20-13=7, Resulting Numbers: [77, 7] Generated Node #0,1,0: 63:[77, 7] Operation: 20-13=7 Exploring Operation: 77-13=64, Resulting Numbers: [20, 64] Generated Node #0,1,1: 63:[20, 64] Operation: 77-13=64 Exploring Operation: 77-20=57, Resulting Numbers: [13, 57] Generated Node #0,1,2: 63:[13, 57] Operation: 77-20=57 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[20, 64], Operations: ['73-53=20', '77-13=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[13, 57], Operations: ['73-53=20', '77-20=57'] Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,63 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[77, 7], Operations: ['73-53=20', '20-13=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,63 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: 63:[24, 60], Operations: ['77-53=24', '73-13=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,63 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[73, 11], Operations: ['77-53=24', '24-13=11'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[13, 49], Operations: ['77-53=24', '73-24=49'] Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,63 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 6, 26, 21, 15 ]
62
[ "21-15=6", "6*6=36", "26+36=62" ]
Current State: 62:[6, 26, 21, 15], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [6, 26, 6] Generated Node #2: [6, 26, 6] from Operation: 21-15=6 Current State: 62:[6, 26, 6], Operations: ['21-15=6'] Exploring Operation: 6*6=36, Resulting Numbers: [26, 36] Generated Node #3: [26, 36] from Operation: 6*6=36 Current State: 62:[26, 36], Operations: ['21-15=6', '6*6=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[6, 26, 21, 15], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [6, 26, 6] Generated Node #0,0: 62:[6, 26, 6] Operation: 21-15=6 Moving to Node #0,0 Current State: 62:[6, 26, 6], Operations: ['21-15=6'] Exploring Operation: 6+26=32, Resulting Numbers: [6, 32] Generated Node #0,0,0: 62:[6, 32] Operation: 6+26=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[6, 32], Operations: ['21-15=6', '6+26=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,62 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
[ 55, 54, 55, 43 ]
43
[ "55-55=0", "54*0=0", "43+0=43" ]
Current State: 43:[55, 54, 55, 43], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [54, 43, 0] Generated Node #2: [54, 43, 0] from Operation: 55-55=0 Current State: 43:[54, 43, 0], Operations: ['55-55=0'] Exploring Operation: 54*0=0, Resulting Numbers: [43, 0] Generated Node #3: [43, 0] from Operation: 54*0=0 Current State: 43:[43, 0], Operations: ['55-55=0', '54*0=0'] Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[55, 54, 55, 43], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [54, 43, 0] Generated Node #0,0: 43:[54, 43, 0] Operation: 55-55=0 Exploring Operation: 55-43=12, Resulting Numbers: [54, 55, 12] Generated Node #0,1: 43:[54, 55, 12] Operation: 55-43=12 Exploring Operation: 55-54=1, Resulting Numbers: [55, 43, 1] Generated Node #0,2: 43:[55, 43, 1] Operation: 55-54=1 Exploring Operation: 55/55=1, Resulting Numbers: [54, 43, 1] Generated Node #0,3: 43:[54, 43, 1] Operation: 55/55=1 Exploring Operation: 55-54=1, Resulting Numbers: [55, 43, 1] Generated Node #0,4: 43:[55, 43, 1] Operation: 55-54=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[54, 43, 1], Operations: ['55/55=1'] Exploring Operation: 43*1=43, Resulting Numbers: [54, 43] Generated Node #0,3,0: 43:[54, 43] Operation: 43*1=43 Exploring Operation: 54*1=54, Resulting Numbers: [43, 54] Generated Node #0,3,1: 43:[43, 54] Operation: 54*1=54 Exploring Operation: 54-1=53, Resulting Numbers: [43, 53] Generated Node #0,3,2: 43:[43, 53] Operation: 54-1=53 Exploring Operation: 43/1=43, Resulting Numbers: [54, 43] Generated Node #0,3,3: 43:[54, 43] Operation: 43/1=43 Exploring Operation: 54/1=54, Resulting Numbers: [43, 54] Generated Node #0,3,4: 43:[43, 54] Operation: 54/1=54 Moving to Node #0,3,2 Current State: 43:[43, 53], Operations: ['55/55=1', '54-1=53'] Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,43 unequal: No Solution Exploring Operation: 43*53=2279, Resulting Numbers: [2279] 2279,43 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[43, 54], Operations: ['55/55=1', '54*1=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,43 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[43, 54], Operations: ['55/55=1', '54/1=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,43 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[54, 43], Operations: ['55/55=1', '43*1=43'] Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,43 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,43 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[54, 43], Operations: ['55/55=1', '43/1=43'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,43 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,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,0 Current State: 43:[54, 43, 0], Operations: ['55-55=0'] Exploring Operation: 43-0=43, Resulting Numbers: [54, 43] Generated Node #0,0,0: 43:[54, 43] Operation: 43-0=43 Exploring Operation: 43+0=43, Resulting Numbers: [54, 43] Generated Node #0,0,1: 43:[54, 43] Operation: 43+0=43 Exploring Operation: 54*0=0, Resulting Numbers: [43, 0] Generated Node #0,0,2: 43:[43, 0] Operation: 54*0=0 Exploring Operation: 54+0=54, Resulting Numbers: [43, 54] Generated Node #0,0,3: 43:[43, 54] Operation: 54+0=54 Exploring Operation: 54-0=54, Resulting Numbers: [43, 54] Generated Node #0,0,4: 43:[43, 54] Operation: 54-0=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[54, 43], Operations: ['55-55=0', '43-0=43'] Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,43 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,43 unequal: No Solution No 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: 43:[54, 43], Operations: ['55-55=0', '43+0=43'] Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,43 unequal: No Solution Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,43 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution No 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: 43:[43, 54], Operations: ['55-55=0', '54+0=54'] Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,43 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,43 unequal: No Solution No 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: 43:[43, 54], Operations: ['55-55=0', '54-0=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,43 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,43 unequal: No Solution No 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: 43:[43, 0], Operations: ['55-55=0', '54*0=0'] Exploring Operation: 43*0=0, Resulting Numbers: [0] 0,43 unequal: No Solution Exploring Operation: 43-0=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[55, 54, 55, 43], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [54, 43, 0] Generated Node #0,0: 43:[54, 43, 0] Operation: 55-55=0 Moving to Node #0,0 Current State: 43:[54, 43, 0], Operations: ['55-55=0'] Exploring Operation: 54*0=0, Resulting Numbers: [43, 0] Generated Node #0,0,2: 43:[43, 0] Operation: 54*0=0 Moving to Node #0,0,2 Current State: 43:[43, 0], Operations: ['55-55=0', '54*0=0'] Exploring Operation: 43-0=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_5
mult_heuristic
[ 36, 53, 4, 18 ]
75
[ "36+53=89", "18-4=14", "89-14=75" ]
Current State: 75:[36, 53, 4, 18], Operations: [] Exploring Operation: 36+53=89, Resulting Numbers: [4, 18, 89] Generated Node #2: [4, 18, 89] from Operation: 36+53=89 Current State: 75:[4, 18, 89], Operations: ['36+53=89'] Exploring Operation: 18-4=14, Resulting Numbers: [89, 14] Generated Node #3: [89, 14] from Operation: 18-4=14 Current State: 75:[89, 14], Operations: ['36+53=89', '18-4=14'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[36, 53, 4, 18], Operations: [] Exploring Operation: 53-36=17, Resulting Numbers: [4, 18, 17] Generated Node #0,0: 75:[4, 18, 17] Operation: 53-36=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[4, 18, 17], Operations: ['53-36=17'] Exploring Operation: 18-4=14, Resulting Numbers: [17, 14] Generated Node #0,0,0: 75:[17, 14] Operation: 18-4=14 Moving to Node #0,0,0 Current State: 75:[17, 14], Operations: ['53-36=17', '18-4=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,75 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
[ 71, 14, 18, 24 ]
68
[ "18+24=42", "42/14=3", "71-3=68" ]
Current State: 68:[71, 14, 18, 24], Operations: [] Exploring Operation: 18+24=42, Resulting Numbers: [71, 14, 42] Generated Node #2: [71, 14, 42] from Operation: 18+24=42 Current State: 68:[71, 14, 42], Operations: ['18+24=42'] Exploring Operation: 42/14=3, Resulting Numbers: [71, 3] Generated Node #3: [71, 3] from Operation: 42/14=3 Current State: 68:[71, 3], Operations: ['18+24=42', '42/14=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[71, 14, 18, 24], Operations: [] Exploring Operation: 14+24=38, Resulting Numbers: [71, 18, 38] Generated Node #0,0: 68:[71, 18, 38] Operation: 14+24=38 Exploring Operation: 24-18=6, Resulting Numbers: [71, 14, 6] Generated Node #0,1: 68:[71, 14, 6] Operation: 24-18=6 Moving to Node #0,0 Current State: 68:[71, 18, 38], Operations: ['14+24=38'] Exploring Operation: 38-18=20, Resulting Numbers: [71, 20] Generated Node #0,0,0: 68:[71, 20] Operation: 38-18=20 Exploring Operation: 71-38=33, Resulting Numbers: [18, 33] Generated Node #0,0,1: 68:[18, 33] Operation: 71-38=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[18, 33], Operations: ['14+24=38', '71-38=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[71, 20], Operations: ['14+24=38', '38-18=20'] Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,68 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: 68:[71, 14, 6], Operations: ['24-18=6'] Exploring Operation: 14+6=20, Resulting Numbers: [71, 20] Generated Node #0,1,0: 68:[71, 20] Operation: 14+6=20 Exploring Operation: 71-6=65, Resulting Numbers: [14, 65] Generated Node #0,1,1: 68:[14, 65] Operation: 71-6=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[71, 20], Operations: ['24-18=6', '14+6=20'] Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[14, 65], Operations: ['24-18=6', '71-6=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,68 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
[ 30, 55, 44, 8 ]
11
[ "55-30=25", "44-8=36", "36-25=11" ]
Current State: 11:[30, 55, 44, 8], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [44, 8, 25] Generated Node #2: [44, 8, 25] from Operation: 55-30=25 Current State: 11:[44, 8, 25], Operations: ['55-30=25'] Exploring Operation: 44-8=36, Resulting Numbers: [25, 36] Generated Node #3: [25, 36] from Operation: 44-8=36 Current State: 11:[25, 36], Operations: ['55-30=25', '44-8=36'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[30, 55, 44, 8], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [30, 8, 11] Generated Node #0,0: 11:[30, 8, 11] Operation: 55-44=11 Exploring Operation: 55-8=47, Resulting Numbers: [30, 44, 47] Generated Node #0,1: 11:[30, 44, 47] Operation: 55-8=47 Exploring Operation: 30-8=22, Resulting Numbers: [55, 44, 22] Generated Node #0,2: 11:[55, 44, 22] Operation: 30-8=22 Exploring Operation: 55-30=25, Resulting Numbers: [44, 8, 25] Generated Node #0,3: 11:[44, 8, 25] Operation: 55-30=25 Exploring Operation: 44-30=14, Resulting Numbers: [55, 8, 14] Generated Node #0,4: 11:[55, 8, 14] Operation: 44-30=14 Moving to Node #0,0 Current State: 11:[30, 8, 11], Operations: ['55-44=11'] Exploring Operation: 30+8=38, Resulting Numbers: [11, 38] Generated Node #0,0,0: 11:[11, 38] Operation: 30+8=38 Exploring Operation: 30-11=19, Resulting Numbers: [8, 19] Generated Node #0,0,1: 11:[8, 19] Operation: 30-11=19 Exploring Operation: 11-8=3, Resulting Numbers: [30, 3] Generated Node #0,0,2: 11:[30, 3] Operation: 11-8=3 Exploring Operation: 8+11=19, Resulting Numbers: [30, 19] Generated Node #0,0,3: 11:[30, 19] Operation: 8+11=19 Exploring Operation: 30-8=22, Resulting Numbers: [11, 22] Generated Node #0,0,4: 11:[11, 22] Operation: 30-8=22 Moving to Node #0,4 Current State: 11:[55, 8, 14], Operations: ['44-30=14'] Exploring Operation: 55-14=41, Resulting Numbers: [8, 41] Generated Node #0,4,0: 11:[8, 41] Operation: 55-14=41 Exploring Operation: 55+8=63, Resulting Numbers: [14, 63] Generated Node #0,4,1: 11:[14, 63] Operation: 55+8=63 Exploring Operation: 55-8=47, Resulting Numbers: [14, 47] Generated Node #0,4,2: 11:[14, 47] Operation: 55-8=47 Exploring Operation: 8+14=22, Resulting Numbers: [55, 22] Generated Node #0,4,3: 11:[55, 22] Operation: 8+14=22 Exploring Operation: 14-8=6, Resulting Numbers: [55, 6] Generated Node #0,4,4: 11:[55, 6] Operation: 14-8=6 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 11:[8, 41], Operations: ['44-30=14', '55-14=41'] Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,11 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,11 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[14, 47], Operations: ['44-30=14', '55-8=47'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,11 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 11:[55, 6], Operations: ['44-30=14', '14-8=6'] Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,11 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[14, 63], Operations: ['44-30=14', '55+8=63'] Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,11 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,11 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 11:[55, 22], Operations: ['44-30=14', '8+14=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,11 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 11:[44, 8, 25], Operations: ['55-30=25'] Exploring Operation: 8+25=33, Resulting Numbers: [44, 33] Generated Node #0,3,0: 11:[44, 33] Operation: 8+25=33 Exploring Operation: 44-25=19, Resulting Numbers: [8, 19] Generated Node #0,3,1: 11:[8, 19] Operation: 44-25=19 Exploring Operation: 44-8=36, Resulting Numbers: [25, 36] Generated Node #0,3,2: 11:[25, 36] Operation: 44-8=36 Exploring Operation: 44+8=52, Resulting Numbers: [25, 52] Generated Node #0,3,3: 11:[25, 52] Operation: 44+8=52 Exploring Operation: 25-8=17, Resulting Numbers: [44, 17] Generated Node #0,3,4: 11:[44, 17] Operation: 25-8=17 Moving to Node #0,1 Current State: 11:[30, 44, 47], Operations: ['55-8=47'] Exploring Operation: 47-44=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 11:[30, 3] Operation: 47-44=3 Exploring Operation: 44-30=14, Resulting Numbers: [47, 14] Generated Node #0,1,1: 11:[47, 14] Operation: 44-30=14 Exploring Operation: 47-30=17, Resulting Numbers: [44, 17] Generated Node #0,1,2: 11:[44, 17] Operation: 47-30=17 Exploring Operation: 30+44=74, Resulting Numbers: [47, 74] Generated Node #0,1,3: 11:[47, 74] Operation: 30+44=74 Exploring Operation: 30+47=77, Resulting Numbers: [44, 77] Generated Node #0,1,4: 11:[44, 77] Operation: 30+47=77 Moving to Node #0,2 Current State: 11:[55, 44, 22], Operations: ['30-8=22'] Exploring Operation: 55+44=99, Resulting Numbers: [22, 99] Generated Node #0,2,0: 11:[22, 99] Operation: 55+44=99 Exploring Operation: 55-44=11, Resulting Numbers: [22, 11] Generated Node #0,2,1: 11:[22, 11] Operation: 55-44=11 Exploring Operation: 55-22=33, Resulting Numbers: [44, 33] Generated Node #0,2,2: 11:[44, 33] Operation: 55-22=33 Exploring Operation: 44/22=2, Resulting Numbers: [55, 2] Generated Node #0,2,3: 11:[55, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [55, 22] Generated Node #0,2,4: 11:[55, 22] Operation: 44-22=22 Moving to Node #0,0,1 Current State: 11:[8, 19], Operations: ['55-44=11', '30-11=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,11 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[30, 55, 44, 8], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [30, 8, 11] Generated Node #0,0: 11:[30, 8, 11] Operation: 55-44=11 Moving to Node #0,0 Current State: 11:[30, 8, 11], Operations: ['55-44=11'] Exploring Operation: 30-11=19, Resulting Numbers: [8, 19] Generated Node #0,0,1: 11:[8, 19] Operation: 30-11=19 Moving to Node #0,0,1 Current State: 11:[8, 19], Operations: ['55-44=11', '30-11=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.954861
hs_5
mult_heuristic
[ 44, 52, 17, 41 ]
57
[ "44+41=85", "85/17=5", "52+5=57" ]
Current State: 57:[44, 52, 17, 41], Operations: [] Exploring Operation: 44+41=85, Resulting Numbers: [52, 17, 85] Generated Node #2: [52, 17, 85] from Operation: 44+41=85 Current State: 57:[52, 17, 85], Operations: ['44+41=85'] Exploring Operation: 85/17=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 85/17=5 Current State: 57:[52, 5], Operations: ['44+41=85', '85/17=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[44, 52, 17, 41], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [44, 17, 11] Generated Node #0,0: 57:[44, 17, 11] Operation: 52-41=11 Exploring Operation: 52-44=8, Resulting Numbers: [17, 41, 8] Generated Node #0,1: 57:[17, 41, 8] Operation: 52-44=8 Exploring Operation: 17+41=58, Resulting Numbers: [44, 52, 58] Generated Node #0,2: 57:[44, 52, 58] Operation: 17+41=58 Exploring Operation: 44-41=3, Resulting Numbers: [52, 17, 3] Generated Node #0,3: 57:[52, 17, 3] Operation: 44-41=3 Moving to Node #0,3 Current State: 57:[52, 17, 3], Operations: ['44-41=3'] Exploring Operation: 17+3=20, Resulting Numbers: [52, 20] Generated Node #0,3,0: 57:[52, 20] Operation: 17+3=20 Exploring Operation: 17-3=14, Resulting Numbers: [52, 14] Generated Node #0,3,1: 57:[52, 14] Operation: 17-3=14 Exploring Operation: 52+3=55, Resulting Numbers: [17, 55] Generated Node #0,3,2: 57:[17, 55] Operation: 52+3=55 Exploring Operation: 52-3=49, Resulting Numbers: [17, 49] Generated Node #0,3,3: 57:[17, 49] Operation: 52-3=49 Moving to Node #0,2 Current State: 57:[44, 52, 58], Operations: ['17+41=58'] Exploring Operation: 58-52=6, Resulting Numbers: [44, 6] Generated Node #0,2,0: 57:[44, 6] Operation: 58-52=6 Exploring Operation: 58-44=14, Resulting Numbers: [52, 14] Generated Node #0,2,1: 57:[52, 14] Operation: 58-44=14 Exploring Operation: 44+52=96, Resulting Numbers: [58, 96] Generated Node #0,2,2: 57:[58, 96] Operation: 44+52=96 Exploring Operation: 52-44=8, Resulting Numbers: [58, 8] Generated Node #0,2,3: 57:[58, 8] Operation: 52-44=8 Moving to Node #0,1 Current State: 57:[17, 41, 8], Operations: ['52-44=8'] Exploring Operation: 41-8=33, Resulting Numbers: [17, 33] Generated Node #0,1,0: 57:[17, 33] Operation: 41-8=33 Exploring Operation: 41-17=24, Resulting Numbers: [8, 24] Generated Node #0,1,1: 57:[8, 24] Operation: 41-17=24 Exploring Operation: 41+8=49, Resulting Numbers: [17, 49] Generated Node #0,1,2: 57:[17, 49] Operation: 41+8=49 Exploring Operation: 17+41=58, Resulting Numbers: [8, 58] Generated Node #0,1,3: 57:[8, 58] Operation: 17+41=58 Moving to Node #0,0 Current State: 57:[44, 17, 11], Operations: ['52-41=11'] Exploring Operation: 44+11=55, Resulting Numbers: [17, 55] Generated Node #0,0,0: 57:[17, 55] Operation: 44+11=55 Exploring Operation: 44+17=61, Resulting Numbers: [11, 61] Generated Node #0,0,1: 57:[11, 61] Operation: 44+17=61 Exploring Operation: 44/11=4, Resulting Numbers: [17, 4] Generated Node #0,0,2: 57:[17, 4] Operation: 44/11=4 Exploring Operation: 44-17=27, Resulting Numbers: [11, 27] Generated Node #0,0,3: 57:[11, 27] Operation: 44-17=27 Moving to Node #0,0,2 Current State: 57:[17, 4], Operations: ['52-41=11', '44/11=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,57 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,57 unequal: No Solution Moving to Node #0,3,2 Current State: 57:[17, 55], Operations: ['44-41=3', '52+3=55'] Exploring Operation: 17+55=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 17*55=935, Resulting Numbers: [935] 935,57 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[17, 55], Operations: ['52-41=11', '44+11=55'] Exploring Operation: 17+55=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 17*55=935, Resulting Numbers: [935] 935,57 unequal: No Solution Moving to Node #0,3,0 Current State: 57:[52, 20], Operations: ['44-41=3', '17+3=20'] Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,57 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[58, 8], Operations: ['17+41=58', '52-44=8'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,57 unequal: No Solution Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,57 unequal: No Solution Moving to Node #0,1,3 Current State: 57:[8, 58], Operations: ['52-44=8', '17+41=58'] Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,57 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,57 unequal: No Solution Moving to Node #0,3,1 Current State: 57:[52, 14], Operations: ['44-41=3', '17-3=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,57 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[52, 14], Operations: ['17+41=58', '58-44=14'] Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,57 unequal: No Solution Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[17, 49], Operations: ['52-44=8', '41+8=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,57 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[8, 24], Operations: ['52-44=8', '41-17=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,57 unequal: No Solution Moving to Node #0,3,3 Current State: 57:[17, 49], Operations: ['44-41=3', '52-3=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,57 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[11, 61], Operations: ['52-41=11', '44+17=61'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,57 unequal: No Solution Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[44, 6], Operations: ['17+41=58', '58-52=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,57 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[11, 27], Operations: ['52-41=11', '44-17=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,57 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[17, 33], Operations: ['52-44=8', '41-8=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[58, 96], Operations: ['17+41=58', '44+52=96'] Exploring Operation: 58+96=154, Resulting Numbers: [154] 154,57 unequal: No Solution Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 58*96=5568, Resulting Numbers: [5568] 5568,57 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 47, 92, 33, 30 ]
15
[ "92-47=45", "33-30=3", "45/3=15" ]
Current State: 15:[47, 92, 33, 30], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [33, 30, 45] Generated Node #2: [33, 30, 45] from Operation: 92-47=45 Current State: 15:[33, 30, 45], Operations: ['92-47=45'] Exploring Operation: 33-30=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 33-30=3 Current State: 15:[45, 3], Operations: ['92-47=45', '33-30=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[47, 92, 33, 30], Operations: [] Exploring Operation: 47-30=17, Resulting Numbers: [92, 33, 17] Generated Node #0,0: 15:[92, 33, 17] Operation: 47-30=17 Exploring Operation: 92-33=59, Resulting Numbers: [47, 30, 59] Generated Node #0,1: 15:[47, 30, 59] Operation: 92-33=59 Exploring Operation: 92-47=45, Resulting Numbers: [33, 30, 45] Generated Node #0,2: 15:[33, 30, 45] Operation: 92-47=45 Exploring Operation: 47-33=14, Resulting Numbers: [92, 30, 14] Generated Node #0,3: 15:[92, 30, 14] Operation: 47-33=14 Moving to Node #0,2 Current State: 15:[33, 30, 45], Operations: ['92-47=45'] Exploring Operation: 33+30=63, Resulting Numbers: [45, 63] Generated Node #0,2,0: 15:[45, 63] Operation: 33+30=63 Exploring Operation: 45-30=15, Resulting Numbers: [33, 15] Generated Node #0,2,1: 15:[33, 15] Operation: 45-30=15 Exploring Operation: 33-30=3, Resulting Numbers: [45, 3] Generated Node #0,2,2: 15:[45, 3] Operation: 33-30=3 Exploring Operation: 45-33=12, Resulting Numbers: [30, 12] Generated Node #0,2,3: 15:[30, 12] Operation: 45-33=12 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[33, 15], Operations: ['92-47=45', '45-30=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,15 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[30, 12], Operations: ['92-47=45', '45-33=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[45, 3], Operations: ['92-47=45', '33-30=3'] Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,15 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[47, 92, 33, 30], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [33, 30, 45] Generated Node #0,2: 15:[33, 30, 45] Operation: 92-47=45 Moving to Node #0,2 Current State: 15:[33, 30, 45], Operations: ['92-47=45'] Exploring Operation: 33-30=3, Resulting Numbers: [45, 3] Generated Node #0,2,2: 15:[45, 3] Operation: 33-30=3 Moving to Node #0,2,2 Current State: 15:[45, 3], Operations: ['92-47=45', '33-30=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 45, 96, 64, 96 ]
64
[ "96-96=0", "45*0=0", "64+0=64" ]
Current State: 64:[45, 96, 64, 96], Operations: [] Exploring Operation: 96-96=0, Resulting Numbers: [45, 64, 0] Generated Node #2: [45, 64, 0] from Operation: 96-96=0 Current State: 64:[45, 64, 0], Operations: ['96-96=0'] Exploring Operation: 45*0=0, Resulting Numbers: [64, 0] Generated Node #3: [64, 0] from Operation: 45*0=0 Current State: 64:[64, 0], Operations: ['96-96=0', '45*0=0'] Exploring Operation: 64+0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[45, 96, 64, 96], Operations: [] Exploring Operation: 96-96=0, Resulting Numbers: [45, 64, 0] Generated Node #0,0: 64:[45, 64, 0] Operation: 96-96=0 Exploring Operation: 96/96=1, Resulting Numbers: [45, 64, 1] Generated Node #0,1: 64:[45, 64, 1] Operation: 96/96=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[45, 64, 1], Operations: ['96/96=1'] Exploring Operation: 45-1=44, Resulting Numbers: [64, 44] Generated Node #0,1,0: 64:[64, 44] Operation: 45-1=44 Exploring Operation: 64-45=19, Resulting Numbers: [1, 19] Generated Node #0,1,1: 64:[1, 19] Operation: 64-45=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[1, 19], Operations: ['96/96=1', '64-45=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[64, 44], Operations: ['96/96=1', '45-1=44'] Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[45, 64, 0], Operations: ['96-96=0'] Exploring Operation: 64-45=19, Resulting Numbers: [0, 19] Generated Node #0,0,0: 64:[0, 19] Operation: 64-45=19 Exploring Operation: 45*0=0, Resulting Numbers: [64, 0] Generated Node #0,0,1: 64:[64, 0] Operation: 45*0=0 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[64, 0], Operations: ['96-96=0', '45*0=0'] Exploring Operation: 64-0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[45, 96, 64, 96], Operations: [] Exploring Operation: 96-96=0, Resulting Numbers: [45, 64, 0] Generated Node #0,0: 64:[45, 64, 0] Operation: 96-96=0 Moving to Node #0,0 Current State: 64:[45, 64, 0], Operations: ['96-96=0'] Exploring Operation: 45*0=0, Resulting Numbers: [64, 0] Generated Node #0,0,1: 64:[64, 0] Operation: 45*0=0 Moving to Node #0,0,1 Current State: 64:[64, 0], Operations: ['96-96=0', '45*0=0'] Exploring Operation: 64-0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 84, 26, 8, 24 ]
90
[ "84-26=58", "8+24=32", "58+32=90" ]
Current State: 90:[84, 26, 8, 24], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [8, 24, 58] Generated Node #2: [8, 24, 58] from Operation: 84-26=58 Current State: 90:[8, 24, 58], Operations: ['84-26=58'] Exploring Operation: 8+24=32, Resulting Numbers: [58, 32] Generated Node #3: [58, 32] from Operation: 8+24=32 Current State: 90:[58, 32], Operations: ['84-26=58', '8+24=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[84, 26, 8, 24], Operations: [] Exploring Operation: 26-8=18, Resulting Numbers: [84, 24, 18] Generated Node #0,0: 90:[84, 24, 18] Operation: 26-8=18 Exploring Operation: 26-24=2, Resulting Numbers: [84, 8, 2] Generated Node #0,1: 90:[84, 8, 2] Operation: 26-24=2 Exploring Operation: 84+8=92, Resulting Numbers: [26, 24, 92] Generated Node #0,2: 90:[26, 24, 92] Operation: 84+8=92 Exploring Operation: 24/8=3, Resulting Numbers: [84, 26, 3] Generated Node #0,3: 90:[84, 26, 3] Operation: 24/8=3 Exploring Operation: 24-8=16, Resulting Numbers: [84, 26, 16] Generated Node #0,4: 90:[84, 26, 16] Operation: 24-8=16 Moving to Node #0,1 Current State: 90:[84, 8, 2], Operations: ['26-24=2'] Exploring Operation: 84/2=42, Resulting Numbers: [8, 42] Generated Node #0,1,0: 90:[8, 42] Operation: 84/2=42 Exploring Operation: 8-2=6, Resulting Numbers: [84, 6] Generated Node #0,1,1: 90:[84, 6] Operation: 8-2=6 Exploring Operation: 84+2=86, Resulting Numbers: [8, 86] Generated Node #0,1,2: 90:[8, 86] Operation: 84+2=86 Exploring Operation: 84+8=92, Resulting Numbers: [2, 92] Generated Node #0,1,3: 90:[2, 92] Operation: 84+8=92 Exploring Operation: 8+2=10, Resulting Numbers: [84, 10] Generated Node #0,1,4: 90:[84, 10] Operation: 8+2=10 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[2, 92], Operations: ['26-24=2', '84+8=92'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[84, 26, 8, 24], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [84, 8, 2] Generated Node #0,1: 90:[84, 8, 2] Operation: 26-24=2 Moving to Node #0,1 Current State: 90:[84, 8, 2], Operations: ['26-24=2'] Exploring Operation: 84+8=92, Resulting Numbers: [2, 92] Generated Node #0,1,3: 90:[2, 92] Operation: 84+8=92 Moving to Node #0,1,3 Current State: 90:[2, 92], Operations: ['26-24=2', '84+8=92'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 32, 88, 97, 82 ]
59
[ "32+88=120", "97+82=179", "179-120=59" ]
Current State: 59:[32, 88, 97, 82], Operations: [] Exploring Operation: 32+88=120, Resulting Numbers: [97, 82, 120] Generated Node #2: [97, 82, 120] from Operation: 32+88=120 Current State: 59:[97, 82, 120], Operations: ['32+88=120'] Exploring Operation: 97+82=179, Resulting Numbers: [120, 179] Generated Node #3: [120, 179] from Operation: 97+82=179 Current State: 59:[120, 179], Operations: ['32+88=120', '97+82=179'] Exploring Operation: 179-120=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[32, 88, 97, 82], Operations: [] Exploring Operation: 97-32=65, Resulting Numbers: [88, 82, 65] Generated Node #0,0: 59:[88, 82, 65] Operation: 97-32=65 Moving to Node #0,0 Current State: 59:[88, 82, 65], Operations: ['97-32=65'] Exploring Operation: 88-82=6, Resulting Numbers: [65, 6] Generated Node #0,0,0: 59:[65, 6] Operation: 88-82=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[65, 6], Operations: ['97-32=65', '88-82=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[32, 88, 97, 82], Operations: [] Exploring Operation: 97-32=65, Resulting Numbers: [88, 82, 65] Generated Node #0,0: 59:[88, 82, 65] Operation: 97-32=65 Moving to Node #0,0 Current State: 59:[88, 82, 65], Operations: ['97-32=65'] Exploring Operation: 88-82=6, Resulting Numbers: [65, 6] Generated Node #0,0,0: 59:[65, 6] Operation: 88-82=6 Moving to Node #0,0,0 Current State: 59:[65, 6], Operations: ['97-32=65', '88-82=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 51, 56, 37, 5 ]
62
[ "56-51=5", "5*5=25", "37+25=62" ]
Current State: 62:[51, 56, 37, 5], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [37, 5, 5] Generated Node #2: [37, 5, 5] from Operation: 56-51=5 Current State: 62:[37, 5, 5], Operations: ['56-51=5'] Exploring Operation: 5*5=25, Resulting Numbers: [37, 25] Generated Node #3: [37, 25] from Operation: 5*5=25 Current State: 62:[37, 25], Operations: ['56-51=5', '5*5=25'] Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[51, 56, 37, 5], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [37, 5, 5] Generated Node #0,0: 62:[37, 5, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 62:[37, 5, 5], Operations: ['56-51=5'] Exploring Operation: 37-5=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 62:[5, 32] Operation: 37-5=32 Moving to Node #0,0,0 Current State: 62:[5, 32], Operations: ['56-51=5', '37-5=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 48, 9, 12, 32 ]
68
[ "48*9=432", "432/12=36", "32+36=68" ]
Current State: 68:[48, 9, 12, 32], Operations: [] Exploring Operation: 48*9=432, Resulting Numbers: [12, 32, 432] Generated Node #2: [12, 32, 432] from Operation: 48*9=432 Current State: 68:[12, 32, 432], Operations: ['48*9=432'] Exploring Operation: 432/12=36, Resulting Numbers: [32, 36] Generated Node #3: [32, 36] from Operation: 432/12=36 Current State: 68:[32, 36], Operations: ['48*9=432', '432/12=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[48, 9, 12, 32], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [9, 32, 4] Generated Node #0,0: 68:[9, 32, 4] Operation: 48/12=4 Exploring Operation: 48-32=16, Resulting Numbers: [9, 12, 16] Generated Node #0,1: 68:[9, 12, 16] Operation: 48-32=16 Exploring Operation: 48-12=36, Resulting Numbers: [9, 32, 36] Generated Node #0,2: 68:[9, 32, 36] Operation: 48-12=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[9, 32, 4], Operations: ['48/12=4'] Exploring Operation: 9*4=36, Resulting Numbers: [32, 36] Generated Node #0,0,0: 68:[32, 36] Operation: 9*4=36 Exploring Operation: 32-9=23, Resulting Numbers: [4, 23] Generated Node #0,0,1: 68:[4, 23] Operation: 32-9=23 Exploring Operation: 9-4=5, Resulting Numbers: [32, 5] Generated Node #0,0,2: 68:[32, 5] Operation: 9-4=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[32, 5], Operations: ['48/12=4', '9-4=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,68 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,68 unequal: No Solution No 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: 68:[32, 36], Operations: ['48/12=4', '9*4=36'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,68 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[48, 9, 12, 32], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [9, 32, 4] Generated Node #0,0: 68:[9, 32, 4] Operation: 48/12=4 Moving to Node #0,0 Current State: 68:[9, 32, 4], Operations: ['48/12=4'] Exploring Operation: 9*4=36, Resulting Numbers: [32, 36] Generated Node #0,0,0: 68:[32, 36] Operation: 9*4=36 Moving to Node #0,0,0 Current State: 68:[32, 36], Operations: ['48/12=4', '9*4=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 49, 20, 72, 78 ]
81
[ "49+20=69", "72+78=150", "150-69=81" ]
Current State: 81:[49, 20, 72, 78], Operations: [] Exploring Operation: 49+20=69, Resulting Numbers: [72, 78, 69] Generated Node #2: [72, 78, 69] from Operation: 49+20=69 Current State: 81:[72, 78, 69], Operations: ['49+20=69'] Exploring Operation: 72+78=150, Resulting Numbers: [69, 150] Generated Node #3: [69, 150] from Operation: 72+78=150 Current State: 81:[69, 150], Operations: ['49+20=69', '72+78=150'] Exploring Operation: 150-69=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[49, 20, 72, 78], Operations: [] Exploring Operation: 78-49=29, Resulting Numbers: [20, 72, 29] Generated Node #0,0: 81:[20, 72, 29] Operation: 78-49=29 Exploring Operation: 72-49=23, Resulting Numbers: [20, 78, 23] Generated Node #0,1: 81:[20, 78, 23] Operation: 72-49=23 Exploring Operation: 49-20=29, Resulting Numbers: [72, 78, 29] Generated Node #0,2: 81:[72, 78, 29] Operation: 49-20=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[20, 78, 23], Operations: ['72-49=23'] Exploring Operation: 20+78=98, Resulting Numbers: [23, 98] Generated Node #0,1,0: 81:[23, 98] Operation: 20+78=98 Exploring Operation: 23-20=3, Resulting Numbers: [78, 3] Generated Node #0,1,1: 81:[78, 3] Operation: 23-20=3 Exploring Operation: 20+23=43, Resulting Numbers: [78, 43] Generated Node #0,1,2: 81:[78, 43] Operation: 20+23=43 Moving to Node #0,1,1 Current State: 81:[78, 3], Operations: ['72-49=23', '23-20=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[49, 20, 72, 78], Operations: [] Exploring Operation: 72-49=23, Resulting Numbers: [20, 78, 23] Generated Node #0,1: 81:[20, 78, 23] Operation: 72-49=23 Moving to Node #0,1 Current State: 81:[20, 78, 23], Operations: ['72-49=23'] Exploring Operation: 23-20=3, Resulting Numbers: [78, 3] Generated Node #0,1,1: 81:[78, 3] Operation: 23-20=3 Moving to Node #0,1,1 Current State: 81:[78, 3], Operations: ['72-49=23', '23-20=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 15, 89, 29, 25 ]
70
[ "89-15=74", "29-25=4", "74-4=70" ]
Current State: 70:[15, 89, 29, 25], Operations: [] Exploring Operation: 89-15=74, Resulting Numbers: [29, 25, 74] Generated Node #2: [29, 25, 74] from Operation: 89-15=74 Current State: 70:[29, 25, 74], Operations: ['89-15=74'] Exploring Operation: 29-25=4, Resulting Numbers: [74, 4] Generated Node #3: [74, 4] from Operation: 29-25=4 Current State: 70:[74, 4], Operations: ['89-15=74', '29-25=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[15, 89, 29, 25], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [15, 29, 64] Generated Node #0,0: 70:[15, 29, 64] Operation: 89-25=64 Moving to Node #0,0 Current State: 70:[15, 29, 64], Operations: ['89-25=64'] Exploring Operation: 64-29=35, Resulting Numbers: [15, 35] Generated Node #0,0,0: 70:[15, 35] Operation: 64-29=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[15, 35], Operations: ['89-25=64', '64-29=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 6, 11, 72 ]
62
[ "72/18=4", "6*11=66", "66-4=62" ]
Current State: 62:[18, 6, 11, 72], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [6, 11, 4] Generated Node #2: [6, 11, 4] from Operation: 72/18=4 Current State: 62:[6, 11, 4], Operations: ['72/18=4'] Exploring Operation: 6*11=66, Resulting Numbers: [4, 66] Generated Node #3: [4, 66] from Operation: 6*11=66 Current State: 62:[4, 66], Operations: ['72/18=4', '6*11=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[18, 6, 11, 72], Operations: [] Exploring Operation: 18+11=29, Resulting Numbers: [6, 72, 29] Generated Node #0,0: 62:[6, 72, 29] Operation: 18+11=29 Exploring Operation: 72/18=4, Resulting Numbers: [6, 11, 4] Generated Node #0,1: 62:[6, 11, 4] Operation: 72/18=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[6, 11, 4], Operations: ['72/18=4'] Exploring Operation: 6*11=66, Resulting Numbers: [4, 66] Generated Node #0,1,0: 62:[4, 66] Operation: 6*11=66 Exploring Operation: 11-6=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 62:[4, 5] Operation: 11-6=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[4, 5], Operations: ['72/18=4', '11-6=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,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,1,0 Current State: 62:[4, 66], Operations: ['72/18=4', '6*11=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[18, 6, 11, 72], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [6, 11, 4] Generated Node #0,1: 62:[6, 11, 4] Operation: 72/18=4 Moving to Node #0,1 Current State: 62:[6, 11, 4], Operations: ['72/18=4'] Exploring Operation: 6*11=66, Resulting Numbers: [4, 66] Generated Node #0,1,0: 62:[4, 66] Operation: 6*11=66 Moving to Node #0,1,0 Current State: 62:[4, 66], Operations: ['72/18=4', '6*11=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 51, 9, 69, 81 ]
79
[ "69-51=18", "18/9=2", "81-2=79" ]
Current State: 79:[51, 9, 69, 81], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [9, 81, 18] Generated Node #2: [9, 81, 18] from Operation: 69-51=18 Current State: 79:[9, 81, 18], Operations: ['69-51=18'] Exploring Operation: 18/9=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 18/9=2 Current State: 79:[81, 2], Operations: ['69-51=18', '18/9=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[51, 9, 69, 81], Operations: [] Exploring Operation: 69-9=60, Resulting Numbers: [51, 81, 60] Generated Node #0,0: 79:[51, 81, 60] Operation: 69-9=60 Exploring Operation: 51-9=42, Resulting Numbers: [69, 81, 42] Generated Node #0,1: 79:[69, 81, 42] Operation: 51-9=42 Exploring Operation: 51+9=60, Resulting Numbers: [69, 81, 60] Generated Node #0,2: 79:[69, 81, 60] Operation: 51+9=60 Exploring Operation: 81-9=72, Resulting Numbers: [51, 69, 72] Generated Node #0,3: 79:[51, 69, 72] Operation: 81-9=72 Exploring Operation: 9+69=78, Resulting Numbers: [51, 81, 78] Generated Node #0,4: 79:[51, 81, 78] Operation: 9+69=78 Moving to Node #0,2 Current State: 79:[69, 81, 60], Operations: ['51+9=60'] Exploring Operation: 81+60=141, Resulting Numbers: [69, 141] Generated Node #0,2,0: 79:[69, 141] Operation: 81+60=141 Exploring Operation: 69+60=129, Resulting Numbers: [81, 129] Generated Node #0,2,1: 79:[81, 129] Operation: 69+60=129 Exploring Operation: 81-69=12, Resulting Numbers: [60, 12] Generated Node #0,2,2: 79:[60, 12] Operation: 81-69=12 Exploring Operation: 81-60=21, Resulting Numbers: [69, 21] Generated Node #0,2,3: 79:[69, 21] Operation: 81-60=21 Exploring Operation: 69-60=9, Resulting Numbers: [81, 9] Generated Node #0,2,4: 79:[81, 9] Operation: 69-60=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[81, 129], Operations: ['51+9=60', '69+60=129'] Exploring Operation: 81*129=10449, Resulting Numbers: [10449] 10449,79 unequal: No Solution Exploring Operation: 81+129=210, Resulting Numbers: [210] 210,79 unequal: No Solution Exploring Operation: 129-81=48, Resulting Numbers: [48] 48,79 unequal: No Solution No 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: 79:[69, 21], Operations: ['51+9=60', '81-60=21'] Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,79 unequal: No Solution Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,79 unequal: No Solution No 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: 79:[69, 141], Operations: ['51+9=60', '81+60=141'] Exploring Operation: 69+141=210, Resulting Numbers: [210] 210,79 unequal: No Solution Exploring Operation: 141-69=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 69*141=9729, Resulting Numbers: [9729] 9729,79 unequal: No Solution No 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: 79:[81, 9], Operations: ['51+9=60', '69-60=9'] Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,79 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,79 unequal: No Solution No 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: 79:[60, 12], Operations: ['51+9=60', '81-69=12'] Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,79 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,79 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: 79:[51, 81, 78], Operations: ['9+69=78'] Exploring Operation: 51+81=132, Resulting Numbers: [78, 132] Generated Node #0,4,0: 79:[78, 132] Operation: 51+81=132 Exploring Operation: 81-51=30, Resulting Numbers: [78, 30] Generated Node #0,4,1: 79:[78, 30] Operation: 81-51=30 Exploring Operation: 51+78=129, Resulting Numbers: [81, 129] Generated Node #0,4,2: 79:[81, 129] Operation: 51+78=129 Exploring Operation: 81-78=3, Resulting Numbers: [51, 3] Generated Node #0,4,3: 79:[51, 3] Operation: 81-78=3 Exploring Operation: 78-51=27, Resulting Numbers: [81, 27] Generated Node #0,4,4: 79:[81, 27] Operation: 78-51=27 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[78, 30], Operations: ['9+69=78', '81-51=30'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,79 unequal: No Solution Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,79 unequal: No Solution Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,79 unequal: No Solution No 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: 79:[81, 129], Operations: ['9+69=78', '51+78=129'] Exploring Operation: 81+129=210, Resulting Numbers: [210] 210,79 unequal: No Solution Exploring Operation: 81*129=10449, Resulting Numbers: [10449] 10449,79 unequal: No Solution Exploring Operation: 129-81=48, Resulting Numbers: [48] 48,79 unequal: No Solution No 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: 79:[78, 132], Operations: ['9+69=78', '51+81=132'] Exploring Operation: 78*132=10296, Resulting Numbers: [10296] 10296,79 unequal: No Solution Exploring Operation: 78+132=210, Resulting Numbers: [210] 210,79 unequal: No Solution Exploring Operation: 132-78=54, Resulting Numbers: [54] 54,79 unequal: No Solution No 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: 79:[81, 27], Operations: ['9+69=78', '78-51=27'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,79 unequal: No Solution Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,79 unequal: No Solution No 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: 79:[51, 3], Operations: ['9+69=78', '81-78=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,79 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: 79:[51, 69, 72], Operations: ['81-9=72'] Exploring Operation: 51+72=123, Resulting Numbers: [69, 123] Generated Node #0,3,0: 79:[69, 123] Operation: 51+72=123 Exploring Operation: 72-51=21, Resulting Numbers: [69, 21] Generated Node #0,3,1: 79:[69, 21] Operation: 72-51=21 Exploring Operation: 69-51=18, Resulting Numbers: [72, 18] Generated Node #0,3,2: 79:[72, 18] Operation: 69-51=18 Exploring Operation: 51+69=120, Resulting Numbers: [72, 120] Generated Node #0,3,3: 79:[72, 120] Operation: 51+69=120 Exploring Operation: 69+72=141, Resulting Numbers: [51, 141] Generated Node #0,3,4: 79:[51, 141] Operation: 69+72=141 Moving to Node #0,0 Current State: 79:[51, 81, 60], Operations: ['69-9=60'] Exploring Operation: 51+81=132, Resulting Numbers: [60, 132] Generated Node #0,0,0: 79:[60, 132] Operation: 51+81=132 Exploring Operation: 51+60=111, Resulting Numbers: [81, 111] Generated Node #0,0,1: 79:[81, 111] Operation: 51+60=111 Exploring Operation: 81-60=21, Resulting Numbers: [51, 21] Generated Node #0,0,2: 79:[51, 21] Operation: 81-60=21 Exploring Operation: 60-51=9, Resulting Numbers: [81, 9] Generated Node #0,0,3: 79:[81, 9] Operation: 60-51=9 Exploring Operation: 81-51=30, Resulting Numbers: [60, 30] Generated Node #0,0,4: 79:[60, 30] Operation: 81-51=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[81, 111], Operations: ['69-9=60', '51+60=111'] Exploring Operation: 111-81=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 81*111=8991, Resulting Numbers: [8991] 8991,79 unequal: No Solution Exploring Operation: 81+111=192, Resulting Numbers: [192] 192,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 79:[60, 30], Operations: ['69-9=60', '81-51=30'] Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,79 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,79 unequal: No Solution No 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: 79:[60, 132], Operations: ['69-9=60', '51+81=132'] Exploring Operation: 60+132=192, Resulting Numbers: [192] 192,79 unequal: No Solution Exploring Operation: 60*132=7920, Resulting Numbers: [7920] 7920,79 unequal: No Solution Exploring Operation: 132-60=72, Resulting Numbers: [72] 72,79 unequal: No Solution No 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: 79:[81, 9], Operations: ['69-9=60', '60-51=9'] Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,79 unequal: No Solution Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,79 unequal: No Solution No 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: 79:[51, 21], Operations: ['69-9=60', '81-60=21'] Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,79 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,79 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: 79:[69, 81, 42], Operations: ['51-9=42'] Exploring Operation: 69-42=27, Resulting Numbers: [81, 27] Generated Node #0,1,0: 79:[81, 27] Operation: 69-42=27 Exploring Operation: 81-69=12, Resulting Numbers: [42, 12] Generated Node #0,1,1: 79:[42, 12] Operation: 81-69=12 Exploring Operation: 69+42=111, Resulting Numbers: [81, 111] Generated Node #0,1,2: 79:[81, 111] Operation: 69+42=111 Exploring Operation: 81+42=123, Resulting Numbers: [69, 123] Generated Node #0,1,3: 79:[69, 123] Operation: 81+42=123 Exploring Operation: 81-42=39, Resulting Numbers: [69, 39] Generated Node #0,1,4: 79:[69, 39] Operation: 81-42=39 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[81, 111], Operations: ['51-9=42', '69+42=111'] Exploring Operation: 81*111=8991, Resulting Numbers: [8991] 8991,79 unequal: No Solution Exploring Operation: 111-81=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 81+111=192, Resulting Numbers: [192] 192,79 unequal: No Solution No 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: 79:[69, 39], Operations: ['51-9=42', '81-42=39'] Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,79 unequal: No Solution No 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: 79:[81, 27], Operations: ['51-9=42', '69-42=27'] Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,79 unequal: No Solution Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,79 unequal: No Solution No 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: 79:[69, 123], Operations: ['51-9=42', '81+42=123'] Exploring Operation: 69*123=8487, Resulting Numbers: [8487] 8487,79 unequal: No Solution Exploring Operation: 123-69=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 69+123=192, Resulting Numbers: [192] 192,79 unequal: No Solution No 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: 79:[42, 12], Operations: ['51-9=42', '81-69=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,79 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 79:[72, 120], Operations: ['81-9=72', '51+69=120'] Exploring Operation: 120-72=48, Resulting Numbers: [48] 48,79 unequal: No Solution Exploring Operation: 72*120=8640, Resulting Numbers: [8640] 8640,79 unequal: No Solution Exploring Operation: 72+120=192, Resulting Numbers: [192] 192,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[69, 123], Operations: ['81-9=72', '51+72=123'] Exploring Operation: 69*123=8487, Resulting Numbers: [8487] 8487,79 unequal: No Solution Exploring Operation: 69+123=192, Resulting Numbers: [192] 192,79 unequal: No Solution Exploring Operation: 123-69=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[69, 21], Operations: ['81-9=72', '72-51=21'] Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,79 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,79 unequal: No Solution Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[72, 18], Operations: ['81-9=72', '69-51=18'] Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[51, 141], Operations: ['81-9=72', '69+72=141'] Exploring Operation: 141-51=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 51*141=7191, Resulting Numbers: [7191] 7191,79 unequal: No Solution Exploring Operation: 51+141=192, Resulting Numbers: [192] 192,79 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 8, 5, 30, 78 ]
16
[ "8-5=3", "78-30=48", "48/3=16" ]
Current State: 16:[8, 5, 30, 78], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [30, 78, 3] Generated Node #2: [30, 78, 3] from Operation: 8-5=3 Current State: 16:[30, 78, 3], Operations: ['8-5=3'] Exploring Operation: 78-30=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 78-30=48 Current State: 16:[3, 48], Operations: ['8-5=3', '78-30=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[8, 5, 30, 78], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [8, 78, 6] Generated Node #0,0: 16:[8, 78, 6] Operation: 30/5=6 Exploring Operation: 78-30=48, Resulting Numbers: [8, 5, 48] Generated Node #0,1: 16:[8, 5, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[8, 5, 48], Operations: ['78-30=48'] Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 16:[5, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [5, 40] Generated Node #0,1,1: 16:[5, 40] Operation: 48-8=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[5, 6], Operations: ['78-30=48', '48/8=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[5, 40], Operations: ['78-30=48', '48-8=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[8, 78, 6], Operations: ['30/5=6'] Exploring Operation: 78/6=13, Resulting Numbers: [8, 13] Generated Node #0,0,0: 16:[8, 13] Operation: 78/6=13 Exploring Operation: 78-8=70, Resulting Numbers: [6, 70] Generated Node #0,0,1: 16:[6, 70] Operation: 78-8=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[8, 13], Operations: ['30/5=6', '78/6=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[6, 70], Operations: ['30/5=6', '78-8=70'] Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 31, 48, 50, 3 ]
95
[ "31*3=93", "50-48=2", "93+2=95" ]
Current State: 95:[31, 48, 50, 3], Operations: [] Exploring Operation: 31*3=93, Resulting Numbers: [48, 50, 93] Generated Node #2: [48, 50, 93] from Operation: 31*3=93 Current State: 95:[48, 50, 93], Operations: ['31*3=93'] Exploring Operation: 50-48=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 50-48=2 Current State: 95:[93, 2], Operations: ['31*3=93', '50-48=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[31, 48, 50, 3], Operations: [] Exploring Operation: 48+50=98, Resulting Numbers: [31, 3, 98] Generated Node #0,0: 95:[31, 3, 98] Operation: 48+50=98 Exploring Operation: 50-31=19, Resulting Numbers: [48, 3, 19] Generated Node #0,1: 95:[48, 3, 19] Operation: 50-31=19 Exploring Operation: 48-31=17, Resulting Numbers: [50, 3, 17] Generated Node #0,2: 95:[50, 3, 17] Operation: 48-31=17 Exploring Operation: 50-48=2, Resulting Numbers: [31, 3, 2] Generated Node #0,3: 95:[31, 3, 2] Operation: 50-48=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[31, 3, 98], Operations: ['48+50=98'] Exploring Operation: 31-3=28, Resulting Numbers: [98, 28] Generated Node #0,0,0: 95:[98, 28] Operation: 31-3=28 Exploring Operation: 98-3=95, Resulting Numbers: [31, 95] Generated Node #0,0,1: 95:[31, 95] Operation: 98-3=95 Exploring Operation: 31+3=34, Resulting Numbers: [98, 34] Generated Node #0,0,2: 95:[98, 34] Operation: 31+3=34 Exploring Operation: 31*3=93, Resulting Numbers: [98, 93] Generated Node #0,0,3: 95:[98, 93] Operation: 31*3=93 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[98, 93], Operations: ['48+50=98', '31*3=93'] Exploring Operation: 98+93=191, Resulting Numbers: [191] 191,95 unequal: No Solution Exploring Operation: 98-93=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 98*93=9114, Resulting Numbers: [9114] 9114,95 unequal: No Solution No 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: 95:[98, 28], Operations: ['48+50=98', '31-3=28'] Exploring Operation: 98+28=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 98*28=2744, Resulting Numbers: [2744] 2744,95 unequal: No Solution Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,95 unequal: No Solution No 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: 95:[31, 95], Operations: ['48+50=98', '98-3=95'] Exploring Operation: 31+95=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 31*95=2945, Resulting Numbers: [2945] 2945,95 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,95 unequal: No Solution No 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: 95:[98, 34], Operations: ['48+50=98', '31+3=34'] Exploring Operation: 98+34=132, Resulting Numbers: [132] 132,95 unequal: No Solution Exploring Operation: 98-34=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 98*34=3332, Resulting Numbers: [3332] 3332,95 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: 95:[31, 3, 2], Operations: ['50-48=2'] Exploring Operation: 31*3=93, Resulting Numbers: [2, 93] Generated Node #0,3,0: 95:[2, 93] Operation: 31*3=93 Exploring Operation: 3+2=5, Resulting Numbers: [31, 5] Generated Node #0,3,1: 95:[31, 5] Operation: 3+2=5 Exploring Operation: 31-3=28, Resulting Numbers: [2, 28] Generated Node #0,3,2: 95:[2, 28] Operation: 31-3=28 Exploring Operation: 31-2=29, Resulting Numbers: [3, 29] Generated Node #0,3,3: 95:[3, 29] Operation: 31-2=29 Moving to Node #0,3,0 Current State: 95:[2, 93], Operations: ['50-48=2', '31*3=93'] Exploring Operation: 2*93=186, Resulting Numbers: [186] 186,95 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 2+93=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[31, 48, 50, 3], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [31, 3, 2] Generated Node #0,3: 95:[31, 3, 2] Operation: 50-48=2 Moving to Node #0,3 Current State: 95:[31, 3, 2], Operations: ['50-48=2'] Exploring Operation: 31*3=93, Resulting Numbers: [2, 93] Generated Node #0,3,0: 95:[2, 93] Operation: 31*3=93 Moving to Node #0,3,0 Current State: 95:[2, 93], Operations: ['50-48=2', '31*3=93'] Exploring Operation: 2+93=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 97, 37, 62, 67 ]
31
[ "97+37=134", "62*67=4154", "4154/134=31" ]
Current State: 31:[97, 37, 62, 67], Operations: [] Exploring Operation: 97+37=134, Resulting Numbers: [62, 67, 134] Generated Node #2: [62, 67, 134] from Operation: 97+37=134 Current State: 31:[62, 67, 134], Operations: ['97+37=134'] Exploring Operation: 62*67=4154, Resulting Numbers: [134, 4154] Generated Node #3: [134, 4154] from Operation: 62*67=4154 Current State: 31:[134, 4154], Operations: ['97+37=134', '62*67=4154'] Exploring Operation: 4154/134=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[97, 37, 62, 67], Operations: [] Exploring Operation: 97-67=30, Resulting Numbers: [37, 62, 30] Generated Node #0,0: 31:[37, 62, 30] Operation: 97-67=30 Exploring Operation: 97-62=35, Resulting Numbers: [37, 67, 35] Generated Node #0,1: 31:[37, 67, 35] Operation: 97-62=35 Exploring Operation: 97-37=60, Resulting Numbers: [62, 67, 60] Generated Node #0,2: 31:[62, 67, 60] Operation: 97-37=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[37, 62, 30], Operations: ['97-67=30'] Exploring Operation: 62-30=32, Resulting Numbers: [37, 32] Generated Node #0,0,0: 31:[37, 32] Operation: 62-30=32 Exploring Operation: 37-30=7, Resulting Numbers: [62, 7] Generated Node #0,0,1: 31:[62, 7] Operation: 37-30=7 Exploring Operation: 62-37=25, Resulting Numbers: [30, 25] Generated Node #0,0,2: 31:[30, 25] Operation: 62-37=25 Moving to Node #0,0,0 Current State: 31:[37, 32], Operations: ['97-67=30', '62-30=32'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[30, 25], Operations: ['97-67=30', '62-37=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,31 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[62, 7], Operations: ['97-67=30', '37-30=7'] Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,31 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,31 unequal: No Solution No 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: 31:[37, 67, 35], Operations: ['97-62=35'] Exploring Operation: 67-35=32, Resulting Numbers: [37, 32] Generated Node #0,1,0: 31:[37, 32] Operation: 67-35=32 Exploring Operation: 67-37=30, Resulting Numbers: [35, 30] Generated Node #0,1,1: 31:[35, 30] Operation: 67-37=30 Exploring Operation: 37-35=2, Resulting Numbers: [67, 2] Generated Node #0,1,2: 31:[67, 2] Operation: 37-35=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[35, 30], Operations: ['97-62=35', '67-37=30'] Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,31 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,31 unequal: No Solution No 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: 31:[37, 32], Operations: ['97-62=35', '67-35=32'] Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,31 unequal: No Solution No 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: 31:[67, 2], Operations: ['97-62=35', '37-35=2'] Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,31 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[62, 67, 60], Operations: ['97-37=60'] Exploring Operation: 67-62=5, Resulting Numbers: [60, 5] Generated Node #0,2,0: 31:[60, 5] Operation: 67-62=5 Exploring Operation: 67-60=7, Resulting Numbers: [62, 7] Generated Node #0,2,1: 31:[62, 7] Operation: 67-60=7 Exploring Operation: 62-60=2, Resulting Numbers: [67, 2] Generated Node #0,2,2: 31:[67, 2] Operation: 62-60=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[60, 5], Operations: ['97-37=60', '67-62=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,31 unequal: No Solution No 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: 31:[62, 7], Operations: ['97-37=60', '67-60=7'] Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,31 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,31 unequal: No Solution No 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: 31:[67, 2], Operations: ['97-37=60', '62-60=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 29, 87, 8, 3 ]
17
[ "87/29=3", "3*3=9", "8+9=17" ]
Current State: 17:[29, 87, 8, 3], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [8, 3, 3] Generated Node #2: [8, 3, 3] from Operation: 87/29=3 Current State: 17:[8, 3, 3], Operations: ['87/29=3'] Exploring Operation: 3*3=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 3*3=9 Current State: 17:[8, 9], Operations: ['87/29=3', '3*3=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[29, 87, 8, 3], Operations: [] Exploring Operation: 29-3=26, Resulting Numbers: [87, 8, 26] Generated Node #0,0: 17:[87, 8, 26] Operation: 29-3=26 Exploring Operation: 87/3=29, Resulting Numbers: [29, 8, 29] Generated Node #0,1: 17:[29, 8, 29] Operation: 87/3=29 Exploring Operation: 29-8=21, Resulting Numbers: [87, 3, 21] Generated Node #0,2: 17:[87, 3, 21] Operation: 29-8=21 Exploring Operation: 87/29=3, Resulting Numbers: [8, 3, 3] Generated Node #0,3: 17:[8, 3, 3] Operation: 87/29=3 Exploring Operation: 87-29=58, Resulting Numbers: [8, 3, 58] Generated Node #0,4: 17:[8, 3, 58] Operation: 87-29=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[29, 8, 29], Operations: ['87/3=29'] Exploring Operation: 29-29=0, Resulting Numbers: [8, 0] Generated Node #0,1,0: 17:[8, 0] Operation: 29-29=0 Exploring Operation: 29-8=21, Resulting Numbers: [29, 21] Generated Node #0,1,1: 17:[29, 21] Operation: 29-8=21 Exploring Operation: 29+8=37, Resulting Numbers: [29, 37] Generated Node #0,1,2: 17:[29, 37] Operation: 29+8=37 Exploring Operation: 29/29=1, Resulting Numbers: [8, 1] Generated Node #0,1,3: 17:[8, 1] Operation: 29/29=1 Exploring Operation: 29-8=21, Resulting Numbers: [29, 21] Generated Node #0,1,4: 17:[29, 21] Operation: 29-8=21 Moving to Node #0,1,1 Current State: 17:[29, 21], Operations: ['87/3=29', '29-8=21'] Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[29, 21], Operations: ['87/3=29', '29-8=21'] Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,17 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[8, 1], Operations: ['87/3=29', '29/29=1'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[8, 0], Operations: ['87/3=29', '29-29=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[29, 37], Operations: ['87/3=29', '29+8=37'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,17 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,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,3 Current State: 17:[8, 3, 3], Operations: ['87/29=3'] Exploring Operation: 8+3=11, Resulting Numbers: [3, 11] Generated Node #0,3,0: 17:[3, 11] Operation: 8+3=11 Exploring Operation: 3+3=6, Resulting Numbers: [8, 6] Generated Node #0,3,1: 17:[8, 6] Operation: 3+3=6 Exploring Operation: 3*3=9, Resulting Numbers: [8, 9] Generated Node #0,3,2: 17:[8, 9] Operation: 3*3=9 Exploring Operation: 8*3=24, Resulting Numbers: [3, 24] Generated Node #0,3,3: 17:[3, 24] Operation: 8*3=24 Exploring Operation: 8+3=11, Resulting Numbers: [3, 11] Generated Node #0,3,4: 17:[3, 11] Operation: 8+3=11 Moving to Node #0,3,2 Current State: 17:[8, 9], Operations: ['87/29=3', '3*3=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[29, 87, 8, 3], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [8, 3, 3] Generated Node #0,3: 17:[8, 3, 3] Operation: 87/29=3 Moving to Node #0,3 Current State: 17:[8, 3, 3], Operations: ['87/29=3'] Exploring Operation: 3*3=9, Resulting Numbers: [8, 9] Generated Node #0,3,2: 17:[8, 9] Operation: 3*3=9 Moving to Node #0,3,2 Current State: 17:[8, 9], Operations: ['87/29=3', '3*3=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 88, 15, 33, 51 ]
90
[ "15+51=66", "66/33=2", "88+2=90" ]
Current State: 90:[88, 15, 33, 51], Operations: [] Exploring Operation: 15+51=66, Resulting Numbers: [88, 33, 66] Generated Node #2: [88, 33, 66] from Operation: 15+51=66 Current State: 90:[88, 33, 66], Operations: ['15+51=66'] Exploring Operation: 66/33=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 66/33=2 Current State: 90:[88, 2], Operations: ['15+51=66', '66/33=2'] Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[88, 15, 33, 51], Operations: [] Exploring Operation: 51-33=18, Resulting Numbers: [88, 15, 18] Generated Node #0,0: 90:[88, 15, 18] Operation: 51-33=18 Exploring Operation: 33-15=18, Resulting Numbers: [88, 51, 18] Generated Node #0,1: 90:[88, 51, 18] Operation: 33-15=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[88, 15, 18], Operations: ['51-33=18'] Exploring Operation: 15+18=33, Resulting Numbers: [88, 33] Generated Node #0,0,0: 90:[88, 33] Operation: 15+18=33 Exploring Operation: 18-15=3, Resulting Numbers: [88, 3] Generated Node #0,0,1: 90:[88, 3] Operation: 18-15=3 Moving to Node #0,0,1 Current State: 90:[88, 3], Operations: ['51-33=18', '18-15=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[88, 33], Operations: ['51-33=18', '15+18=33'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[88, 51, 18], Operations: ['33-15=18'] Exploring Operation: 88-51=37, Resulting Numbers: [18, 37] Generated Node #0,1,0: 90:[18, 37] Operation: 88-51=37 Exploring Operation: 51-18=33, Resulting Numbers: [88, 33] Generated Node #0,1,1: 90:[88, 33] Operation: 51-18=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[88, 33], Operations: ['33-15=18', '51-18=33'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,90 unequal: No Solution No 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: 90:[18, 37], Operations: ['33-15=18', '88-51=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 99, 49, 20, 32 ]
62
[ "99-49=50", "32-20=12", "50+12=62" ]
Current State: 62:[99, 49, 20, 32], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [20, 32, 50] Generated Node #2: [20, 32, 50] from Operation: 99-49=50 Current State: 62:[20, 32, 50], Operations: ['99-49=50'] Exploring Operation: 32-20=12, Resulting Numbers: [50, 12] Generated Node #3: [50, 12] from Operation: 32-20=12 Current State: 62:[50, 12], Operations: ['99-49=50', '32-20=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[99, 49, 20, 32], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [20, 32, 50] Generated Node #0,0: 62:[20, 32, 50] Operation: 99-49=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[20, 32, 50], Operations: ['99-49=50'] Exploring Operation: 50-20=30, Resulting Numbers: [32, 30] Generated Node #0,0,0: 62:[32, 30] Operation: 50-20=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[32, 30], Operations: ['99-49=50', '50-20=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[99, 49, 20, 32], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [20, 32, 50] Generated Node #0,0: 62:[20, 32, 50] Operation: 99-49=50 Moving to Node #0,0 Current State: 62:[20, 32, 50], Operations: ['99-49=50'] Exploring Operation: 50-20=30, Resulting Numbers: [32, 30] Generated Node #0,0,0: 62:[32, 30] Operation: 50-20=30 Moving to Node #0,0,0 Current State: 62:[32, 30], Operations: ['99-49=50', '50-20=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 64, 2, 33, 5 ]
46
[ "64+33=97", "97-5=92", "92/2=46" ]
Current State: 46:[64, 2, 33, 5], Operations: [] Exploring Operation: 64+33=97, Resulting Numbers: [2, 5, 97] Generated Node #2: [2, 5, 97] from Operation: 64+33=97 Current State: 46:[2, 5, 97], Operations: ['64+33=97'] Exploring Operation: 97-5=92, Resulting Numbers: [2, 92] Generated Node #3: [2, 92] from Operation: 97-5=92 Current State: 46:[2, 92], Operations: ['64+33=97', '97-5=92'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[64, 2, 33, 5], Operations: [] Exploring Operation: 33-5=28, Resulting Numbers: [64, 2, 28] Generated Node #0,0: 46:[64, 2, 28] Operation: 33-5=28 Exploring Operation: 64-5=59, Resulting Numbers: [2, 33, 59] Generated Node #0,1: 46:[2, 33, 59] Operation: 64-5=59 Exploring Operation: 33+5=38, Resulting Numbers: [64, 2, 38] Generated Node #0,2: 46:[64, 2, 38] Operation: 33+5=38 Exploring Operation: 64-33=31, Resulting Numbers: [2, 5, 31] Generated Node #0,3: 46:[2, 5, 31] Operation: 64-33=31 Exploring Operation: 64/2=32, Resulting Numbers: [33, 5, 32] Generated Node #0,4: 46:[33, 5, 32] Operation: 64/2=32 Moving to Node #0,3 Current State: 46:[2, 5, 31], Operations: ['64-33=31'] Exploring Operation: 2+5=7, Resulting Numbers: [31, 7] Generated Node #0,3,0: 46:[31, 7] Operation: 2+5=7 Exploring Operation: 31-2=29, Resulting Numbers: [5, 29] Generated Node #0,3,1: 46:[5, 29] Operation: 31-2=29 Exploring Operation: 31-5=26, Resulting Numbers: [2, 26] Generated Node #0,3,2: 46:[2, 26] Operation: 31-5=26 Exploring Operation: 5+31=36, Resulting Numbers: [2, 36] Generated Node #0,3,3: 46:[2, 36] Operation: 5+31=36 Exploring Operation: 5-2=3, Resulting Numbers: [31, 3] Generated Node #0,3,4: 46:[31, 3] Operation: 5-2=3 Moving to Node #0,4 Current State: 46:[33, 5, 32], Operations: ['64/2=32'] Exploring Operation: 33-5=28, Resulting Numbers: [32, 28] Generated Node #0,4,0: 46:[32, 28] Operation: 33-5=28 Exploring Operation: 33-32=1, Resulting Numbers: [5, 1] Generated Node #0,4,1: 46:[5, 1] Operation: 33-32=1 Exploring Operation: 32-5=27, Resulting Numbers: [33, 27] Generated Node #0,4,2: 46:[33, 27] Operation: 32-5=27 Exploring Operation: 5+32=37, Resulting Numbers: [33, 37] Generated Node #0,4,3: 46:[33, 37] Operation: 5+32=37 Exploring Operation: 33+5=38, Resulting Numbers: [32, 38] Generated Node #0,4,4: 46:[32, 38] Operation: 33+5=38 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 46:[5, 1], Operations: ['64/2=32', '33-32=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[32, 28], Operations: ['64/2=32', '33-5=28'] Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,46 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[33, 27], Operations: ['64/2=32', '32-5=27'] Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,46 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 46:[32, 38], Operations: ['64/2=32', '33+5=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,46 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[33, 37], Operations: ['64/2=32', '5+32=37'] Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,46 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,46 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: 46:[64, 2, 28], Operations: ['33-5=28'] Exploring Operation: 64-28=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 46:[2, 36] Operation: 64-28=36 Exploring Operation: 64-2=62, Resulting Numbers: [28, 62] Generated Node #0,0,1: 46:[28, 62] Operation: 64-2=62 Exploring Operation: 64+2=66, Resulting Numbers: [28, 66] Generated Node #0,0,2: 46:[28, 66] Operation: 64+2=66 Exploring Operation: 64/2=32, Resulting Numbers: [28, 32] Generated Node #0,0,3: 46:[28, 32] Operation: 64/2=32 Exploring Operation: 28-2=26, Resulting Numbers: [64, 26] Generated Node #0,0,4: 46:[64, 26] Operation: 28-2=26 Moving to Node #0,1 Current State: 46:[2, 33, 59], Operations: ['64-5=59'] Exploring Operation: 2+59=61, Resulting Numbers: [33, 61] Generated Node #0,1,0: 46:[33, 61] Operation: 2+59=61 Exploring Operation: 33-2=31, Resulting Numbers: [59, 31] Generated Node #0,1,1: 46:[59, 31] Operation: 33-2=31 Exploring Operation: 59-2=57, Resulting Numbers: [33, 57] Generated Node #0,1,2: 46:[33, 57] Operation: 59-2=57 Exploring Operation: 2+33=35, Resulting Numbers: [59, 35] Generated Node #0,1,3: 46:[59, 35] Operation: 2+33=35 Exploring Operation: 59-33=26, Resulting Numbers: [2, 26] Generated Node #0,1,4: 46:[2, 26] Operation: 59-33=26 Moving to Node #0,2 Current State: 46:[64, 2, 38], Operations: ['33+5=38'] Exploring Operation: 64/2=32, Resulting Numbers: [38, 32] Generated Node #0,2,0: 46:[38, 32] Operation: 64/2=32 Exploring Operation: 64-38=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 46:[2, 26] Operation: 64-38=26 Exploring Operation: 38/2=19, Resulting Numbers: [64, 19] Generated Node #0,2,2: 46:[64, 19] Operation: 38/2=19 Exploring Operation: 2+38=40, Resulting Numbers: [64, 40] Generated Node #0,2,3: 46:[64, 40] Operation: 2+38=40 Exploring Operation: 64-2=62, Resulting Numbers: [38, 62] Generated Node #0,2,4: 46:[38, 62] Operation: 64-2=62 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[2, 26], Operations: ['33+5=38', '64-38=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[38, 32], Operations: ['33+5=38', '64/2=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[64, 19], Operations: ['33+5=38', '38/2=19'] Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,46 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[64, 40], Operations: ['33+5=38', '2+38=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 46:[38, 62], Operations: ['33+5=38', '64-2=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,46 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,46 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: 46:[2, 26], Operations: ['64-33=31', '31-5=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[2, 26], Operations: ['64-5=59', '59-33=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[31, 3], Operations: ['64-33=31', '5-2=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[5, 29], Operations: ['64-33=31', '31-2=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,46 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[2, 36], Operations: ['33-5=28', '64-28=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[2, 36], Operations: ['64-33=31', '5+31=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[31, 7], Operations: ['64-33=31', '2+5=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,46 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[28, 32], Operations: ['33-5=28', '64/2=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,46 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[59, 31], Operations: ['64-5=59', '33-2=31'] Exploring Operation: 59*31=1829, Resulting Numbers: [1829] 1829,46 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[33, 57], Operations: ['64-5=59', '59-2=57'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 33*57=1881, Resulting Numbers: [1881] 1881,46 unequal: No Solution Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[64, 26], Operations: ['33-5=28', '28-2=26'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[28, 62], Operations: ['33-5=28', '64-2=62'] Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,46 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[59, 35], Operations: ['64-5=59', '2+33=35'] Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[33, 61], Operations: ['64-5=59', '2+59=61'] Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,46 unequal: No Solution Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[28, 66], Operations: ['33-5=28', '64+2=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,46 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 42, 7, 14, 74 ]
76
[ "7+14=21", "42/21=2", "74+2=76" ]
Current State: 76:[42, 7, 14, 74], Operations: [] Exploring Operation: 7+14=21, Resulting Numbers: [42, 74, 21] Generated Node #2: [42, 74, 21] from Operation: 7+14=21 Current State: 76:[42, 74, 21], Operations: ['7+14=21'] Exploring Operation: 42/21=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 42/21=2 Current State: 76:[74, 2], Operations: ['7+14=21', '42/21=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[42, 7, 14, 74], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [7, 74, 3] Generated Node #0,0: 76:[7, 74, 3] Operation: 42/14=3 Moving to Node #0,0 Current State: 76:[7, 74, 3], Operations: ['42/14=3'] Exploring Operation: 7-3=4, Resulting Numbers: [74, 4] Generated Node #0,0,0: 76:[74, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[74, 4], Operations: ['42/14=3', '7-3=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,76 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
[ 96, 90, 74, 90 ]
59
[ "96-90=6", "90/6=15", "74-15=59" ]
Current State: 59:[96, 90, 74, 90], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [74, 6] Generated Node #2: [74, 6] from Operation: 96-90=6 Current State: 59:[74, 6], Operations: ['96-90=6'] Exploring Operation: 90/6=15, Resulting Numbers: [74, 15] Generated Node #3: [74, 15] from Operation: 90/6=15 Current State: 59:[74, 15], Operations: ['96-90=6', '90/6=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[96, 90, 74, 90], Operations: [] Exploring Operation: 90/90=1, Resulting Numbers: [96, 74, 1] Generated Node #0,0: 59:[96, 74, 1] Operation: 90/90=1 Exploring Operation: 96-90=6, Resulting Numbers: [90, 74, 6] Generated Node #0,1: 59:[90, 74, 6] Operation: 96-90=6 Exploring Operation: 96-90=6, Resulting Numbers: [74, 90, 6] Generated Node #0,2: 59:[74, 90, 6] Operation: 96-90=6 Exploring Operation: 96-74=22, Resulting Numbers: [90, 90, 22] Generated Node #0,3: 59:[90, 90, 22] Operation: 96-74=22 Moving to Node #0,1 Current State: 59:[90, 74, 6], Operations: ['96-90=6'] Exploring Operation: 74+6=80, Resulting Numbers: [90, 80] Generated Node #0,1,0: 59:[90, 80] Operation: 74+6=80 Exploring Operation: 90-6=84, Resulting Numbers: [74, 84] Generated Node #0,1,1: 59:[74, 84] Operation: 90-6=84 Exploring Operation: 90+6=96, Resulting Numbers: [74, 96] Generated Node #0,1,2: 59:[74, 96] Operation: 90+6=96 Exploring Operation: 74-6=68, Resulting Numbers: [90, 68] Generated Node #0,1,3: 59:[90, 68] Operation: 74-6=68 Moving to Node #0,3 Current State: 59:[90, 90, 22], Operations: ['96-74=22'] Exploring Operation: 90-22=68, Resulting Numbers: [90, 68] Generated Node #0,3,0: 59:[90, 68] Operation: 90-22=68 Exploring Operation: 90-22=68, Resulting Numbers: [90, 68] Generated Node #0,3,1: 59:[90, 68] Operation: 90-22=68 Exploring Operation: 90+22=112, Resulting Numbers: [90, 112] Generated Node #0,3,2: 59:[90, 112] Operation: 90+22=112 Exploring Operation: 90+22=112, Resulting Numbers: [90, 112] Generated Node #0,3,3: 59:[90, 112] Operation: 90+22=112 Moving to Node #0,2 Current State: 59:[74, 90, 6], Operations: ['96-90=6'] Exploring Operation: 90+6=96, Resulting Numbers: [74, 96] Generated Node #0,2,0: 59:[74, 96] Operation: 90+6=96 Exploring Operation: 90-6=84, Resulting Numbers: [74, 84] Generated Node #0,2,1: 59:[74, 84] Operation: 90-6=84 Exploring Operation: 74+6=80, Resulting Numbers: [90, 80] Generated Node #0,2,2: 59:[90, 80] Operation: 74+6=80 Exploring Operation: 74-6=68, Resulting Numbers: [90, 68] Generated Node #0,2,3: 59:[90, 68] Operation: 74-6=68 Moving to Node #0,0 Current State: 59:[96, 74, 1], Operations: ['90/90=1'] Exploring Operation: 96*1=96, Resulting Numbers: [74, 96] Generated Node #0,0,0: 59:[74, 96] Operation: 96*1=96 Exploring Operation: 96-1=95, Resulting Numbers: [74, 95] Generated Node #0,0,1: 59:[74, 95] Operation: 96-1=95 Exploring Operation: 96/1=96, Resulting Numbers: [74, 96] Generated Node #0,0,2: 59:[74, 96] Operation: 96/1=96 Exploring Operation: 74-1=73, Resulting Numbers: [96, 73] Generated Node #0,0,3: 59:[96, 73] Operation: 74-1=73 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[74, 95], Operations: ['90/90=1', '96-1=95'] Exploring Operation: 74+95=169, Resulting Numbers: [169] 169,59 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 74*95=7030, Resulting Numbers: [7030] 7030,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,3 Current State: 59:[96, 73], Operations: ['90/90=1', '74-1=73'] Exploring Operation: 96-73=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 96*73=7008, Resulting Numbers: [7008] 7008,59 unequal: No Solution Exploring Operation: 96+73=169, Resulting Numbers: [169] 169,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,0 Current State: 59:[74, 96], Operations: ['90/90=1', '96*1=96'] Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,59 unequal: No Solution Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,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,2 Current State: 59:[74, 96], Operations: ['90/90=1', '96/1=96'] Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,59 unequal: No Solution Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 59:[74, 84], Operations: ['96-90=6', '90-6=84'] Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,59 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[90, 68], Operations: ['96-74=22', '90-22=68'] Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[90, 68], Operations: ['96-90=6', '74-6=68'] Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,59 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[90, 68], Operations: ['96-74=22', '90-22=68'] Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[90, 68], Operations: ['96-90=6', '74-6=68'] Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[74, 84], Operations: ['96-90=6', '90-6=84'] Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,59 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[90, 80], Operations: ['96-90=6', '74+6=80'] Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 90*80=7200, Resulting Numbers: [7200] 7200,59 unequal: No Solution Exploring Operation: 90+80=170, Resulting Numbers: [170] 170,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[90, 80], Operations: ['96-90=6', '74+6=80'] Exploring Operation: 90+80=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 90*80=7200, Resulting Numbers: [7200] 7200,59 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[74, 96], Operations: ['96-90=6', '90+6=96'] Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,59 unequal: No Solution Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[74, 96], Operations: ['96-90=6', '90+6=96'] Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[90, 112], Operations: ['96-74=22', '90+22=112'] Exploring Operation: 90*112=10080, Resulting Numbers: [10080] 10080,59 unequal: No Solution Exploring Operation: 90+112=202, Resulting Numbers: [202] 202,59 unequal: No Solution Exploring Operation: 112-90=22, Resulting Numbers: [22] 22,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[90, 112], Operations: ['96-74=22', '90+22=112'] Exploring Operation: 90*112=10080, Resulting Numbers: [10080] 10080,59 unequal: No Solution Exploring Operation: 90+112=202, Resulting Numbers: [202] 202,59 unequal: No Solution Exploring Operation: 112-90=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 71, 20, 22, 73 ]
84
[ "73-71=2", "20+22=42", "2*42=84" ]
Current State: 84:[71, 20, 22, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [20, 22, 2] Generated Node #2: [20, 22, 2] from Operation: 73-71=2 Current State: 84:[20, 22, 2], Operations: ['73-71=2'] Exploring Operation: 20+22=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 20+22=42 Current State: 84:[2, 42], Operations: ['73-71=2', '20+22=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[71, 20, 22, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [20, 22, 2] Generated Node #0,0: 84:[20, 22, 2] Operation: 73-71=2 Exploring Operation: 71+20=91, Resulting Numbers: [22, 73, 91] Generated Node #0,1: 84:[22, 73, 91] Operation: 71+20=91 Moving to Node #0,0 Current State: 84:[20, 22, 2], Operations: ['73-71=2'] Exploring Operation: 22-20=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 84:[2, 2] Operation: 22-20=2 Exploring Operation: 20+22=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 84:[2, 42] Operation: 20+22=42 Moving to Node #0,1 Current State: 84:[22, 73, 91], Operations: ['71+20=91'] Exploring Operation: 73-22=51, Resulting Numbers: [91, 51] Generated Node #0,1,0: 84:[91, 51] Operation: 73-22=51 Exploring Operation: 91-73=18, Resulting Numbers: [22, 18] Generated Node #0,1,1: 84:[22, 18] Operation: 91-73=18 Moving to Node #0,0,0 Current State: 84:[2, 2], Operations: ['73-71=2', '22-20=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[2, 42], Operations: ['73-71=2', '20+22=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[71, 20, 22, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [20, 22, 2] Generated Node #0,0: 84:[20, 22, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 84:[20, 22, 2], Operations: ['73-71=2'] Exploring Operation: 20+22=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 84:[2, 42] Operation: 20+22=42 Moving to Node #0,0,1 Current State: 84:[2, 42], Operations: ['73-71=2', '20+22=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 78, 39, 46, 64 ]
20
[ "78/39=2", "64-46=18", "2+18=20" ]
Current State: 20:[78, 39, 46, 64], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [46, 64, 2] Generated Node #2: [46, 64, 2] from Operation: 78/39=2 Current State: 20:[46, 64, 2], Operations: ['78/39=2'] Exploring Operation: 64-46=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 64-46=18 Current State: 20:[2, 18], Operations: ['78/39=2', '64-46=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[78, 39, 46, 64], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [46, 64, 2] Generated Node #0,0: 20:[46, 64, 2] Operation: 78/39=2 Exploring Operation: 78-46=32, Resulting Numbers: [39, 64, 32] Generated Node #0,1: 20:[39, 64, 32] Operation: 78-46=32 Exploring Operation: 64-46=18, Resulting Numbers: [78, 39, 18] Generated Node #0,2: 20:[78, 39, 18] Operation: 64-46=18 Exploring Operation: 78-64=14, Resulting Numbers: [39, 46, 14] Generated Node #0,3: 20:[39, 46, 14] Operation: 78-64=14 Moving to Node #0,3 Current State: 20:[39, 46, 14], Operations: ['78-64=14'] Exploring Operation: 46-14=32, Resulting Numbers: [39, 32] Generated Node #0,3,0: 20:[39, 32] Operation: 46-14=32 Exploring Operation: 39+14=53, Resulting Numbers: [46, 53] Generated Node #0,3,1: 20:[46, 53] Operation: 39+14=53 Exploring Operation: 46-39=7, Resulting Numbers: [14, 7] Generated Node #0,3,2: 20:[14, 7] Operation: 46-39=7 Exploring Operation: 39-14=25, Resulting Numbers: [46, 25] Generated Node #0,3,3: 20:[46, 25] Operation: 39-14=25 Moving to Node #0,0 Current State: 20:[46, 64, 2], Operations: ['78/39=2'] Exploring Operation: 64/2=32, Resulting Numbers: [46, 32] Generated Node #0,0,0: 20:[46, 32] Operation: 64/2=32 Exploring Operation: 64-46=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 20:[2, 18] Operation: 64-46=18 Exploring Operation: 46-2=44, Resulting Numbers: [64, 44] Generated Node #0,0,2: 20:[64, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [64, 23] Generated Node #0,0,3: 20:[64, 23] Operation: 46/2=23 Moving to Node #0,1 Current State: 20:[39, 64, 32], Operations: ['78-46=32'] Exploring Operation: 39-32=7, Resulting Numbers: [64, 7] Generated Node #0,1,0: 20:[64, 7] Operation: 39-32=7 Exploring Operation: 64-39=25, Resulting Numbers: [32, 25] Generated Node #0,1,1: 20:[32, 25] Operation: 64-39=25 Exploring Operation: 64/32=2, Resulting Numbers: [39, 2] Generated Node #0,1,2: 20:[39, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [39, 32] Generated Node #0,1,3: 20:[39, 32] Operation: 64-32=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[32, 25], Operations: ['78-46=32', '64-39=25'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[39, 2], Operations: ['78-46=32', '64/32=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,20 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[39, 32], Operations: ['78-46=32', '64-32=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[64, 7], Operations: ['78-46=32', '39-32=7'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 20:[78, 39, 18], Operations: ['64-46=18'] Exploring Operation: 78-18=60, Resulting Numbers: [39, 60] Generated Node #0,2,0: 20:[39, 60] Operation: 78-18=60 Exploring Operation: 78/39=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 20:[18, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [18, 39] Generated Node #0,2,2: 20:[18, 39] Operation: 78-39=39 Exploring Operation: 39-18=21, Resulting Numbers: [78, 21] Generated Node #0,2,3: 20:[78, 21] Operation: 39-18=21 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[18, 2], Operations: ['64-46=18', '78/39=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[78, 39, 46, 64], Operations: [] Exploring Operation: 64-46=18, Resulting Numbers: [78, 39, 18] Generated Node #0,2: 20:[78, 39, 18] Operation: 64-46=18 Moving to Node #0,2 Current State: 20:[78, 39, 18], Operations: ['64-46=18'] Exploring Operation: 78/39=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 20:[18, 2] Operation: 78/39=2 Moving to Node #0,2,1 Current State: 20:[18, 2], Operations: ['64-46=18', '78/39=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
mult_heuristic
[ 29, 24, 47, 70 ]
31
[ "24+70=94", "94/47=2", "29+2=31" ]
Current State: 31:[29, 24, 47, 70], Operations: [] Exploring Operation: 24+70=94, Resulting Numbers: [29, 47, 94] Generated Node #2: [29, 47, 94] from Operation: 24+70=94 Current State: 31:[29, 47, 94], Operations: ['24+70=94'] Exploring Operation: 94/47=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 94/47=2 Current State: 31:[29, 2], Operations: ['24+70=94', '94/47=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[29, 24, 47, 70], Operations: [] Exploring Operation: 70-29=41, Resulting Numbers: [24, 47, 41] Generated Node #0,0: 31:[24, 47, 41] Operation: 70-29=41 Exploring Operation: 47-24=23, Resulting Numbers: [29, 70, 23] Generated Node #0,1: 31:[29, 70, 23] Operation: 47-24=23 Exploring Operation: 70-47=23, Resulting Numbers: [29, 24, 23] Generated Node #0,2: 31:[29, 24, 23] Operation: 70-47=23 Exploring Operation: 70-24=46, Resulting Numbers: [29, 47, 46] Generated Node #0,3: 31:[29, 47, 46] Operation: 70-24=46 Exploring Operation: 47-29=18, Resulting Numbers: [24, 70, 18] Generated Node #0,4: 31:[24, 70, 18] Operation: 47-29=18 Moving to Node #0,2 Current State: 31:[29, 24, 23], Operations: ['70-47=23'] Exploring Operation: 29+24=53, Resulting Numbers: [23, 53] Generated Node #0,2,0: 31:[23, 53] Operation: 29+24=53 Exploring Operation: 29-23=6, Resulting Numbers: [24, 6] Generated Node #0,2,1: 31:[24, 6] Operation: 29-23=6 Exploring Operation: 24-23=1, Resulting Numbers: [29, 1] Generated Node #0,2,2: 31:[29, 1] Operation: 24-23=1 Exploring Operation: 24+23=47, Resulting Numbers: [29, 47] Generated Node #0,2,3: 31:[29, 47] Operation: 24+23=47 Exploring Operation: 29+23=52, Resulting Numbers: [24, 52] Generated Node #0,2,4: 31:[24, 52] Operation: 29+23=52 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[29, 47], Operations: ['70-47=23', '24+23=47'] Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,31 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,31 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,31 unequal: No Solution No 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: 31:[24, 52], Operations: ['70-47=23', '29+23=52'] Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,31 unequal: No Solution Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,31 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,31 unequal: No Solution No 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: 31:[23, 53], Operations: ['70-47=23', '29+24=53'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 23*53=1219, Resulting Numbers: [1219] 1219,31 unequal: No Solution Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,31 unequal: No Solution No 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: 31:[24, 6], Operations: ['70-47=23', '29-23=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,31 unequal: No Solution No 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: 31:[29, 1], Operations: ['70-47=23', '24-23=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,31 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: 31:[29, 47, 46], Operations: ['70-24=46'] Exploring Operation: 47-29=18, Resulting Numbers: [46, 18] Generated Node #0,3,0: 31:[46, 18] Operation: 47-29=18 Exploring Operation: 29+47=76, Resulting Numbers: [46, 76] Generated Node #0,3,1: 31:[46, 76] Operation: 29+47=76 Exploring Operation: 29+46=75, Resulting Numbers: [47, 75] Generated Node #0,3,2: 31:[47, 75] Operation: 29+46=75 Exploring Operation: 47-46=1, Resulting Numbers: [29, 1] Generated Node #0,3,3: 31:[29, 1] Operation: 47-46=1 Exploring Operation: 46-29=17, Resulting Numbers: [47, 17] Generated Node #0,3,4: 31:[47, 17] Operation: 46-29=17 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[46, 18], Operations: ['70-24=46', '47-29=18'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,31 unequal: No Solution No 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: 31:[47, 17], Operations: ['70-24=46', '46-29=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,31 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,31 unequal: No Solution No 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: 31:[29, 1], Operations: ['70-24=46', '47-46=1'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,31 unequal: No Solution No 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: 31:[46, 76], Operations: ['70-24=46', '29+47=76'] Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,31 unequal: No Solution No 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: 31:[47, 75], Operations: ['70-24=46', '29+46=75'] Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,31 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: 31:[24, 47, 41], Operations: ['70-29=41'] Exploring Operation: 24+41=65, Resulting Numbers: [47, 65] Generated Node #0,0,0: 31:[47, 65] Operation: 24+41=65 Exploring Operation: 47-41=6, Resulting Numbers: [24, 6] Generated Node #0,0,1: 31:[24, 6] Operation: 47-41=6 Exploring Operation: 41-24=17, Resulting Numbers: [47, 17] Generated Node #0,0,2: 31:[47, 17] Operation: 41-24=17 Exploring Operation: 24+47=71, Resulting Numbers: [41, 71] Generated Node #0,0,3: 31:[41, 71] Operation: 24+47=71 Exploring Operation: 47-24=23, Resulting Numbers: [41, 23] Generated Node #0,0,4: 31:[41, 23] Operation: 47-24=23 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 31:[41, 23], Operations: ['70-29=41', '47-24=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,31 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,31 unequal: No Solution No 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: 31:[47, 17], Operations: ['70-29=41', '41-24=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,31 unequal: No Solution No 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: 31:[24, 6], Operations: ['70-29=41', '47-41=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,31 unequal: No Solution No 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: 31:[47, 65], Operations: ['70-29=41', '24+41=65'] Exploring Operation: 47*65=3055, Resulting Numbers: [3055] 3055,31 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 47+65=112, Resulting Numbers: [112] 112,31 unequal: No Solution No 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: 31:[41, 71], Operations: ['70-29=41', '24+47=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,31 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,31 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: 31:[29, 70, 23], Operations: ['47-24=23'] Exploring Operation: 29-23=6, Resulting Numbers: [70, 6] Generated Node #0,1,0: 31:[70, 6] Operation: 29-23=6 Exploring Operation: 70+23=93, Resulting Numbers: [29, 93] Generated Node #0,1,1: 31:[29, 93] Operation: 70+23=93 Exploring Operation: 70-23=47, Resulting Numbers: [29, 47] Generated Node #0,1,2: 31:[29, 47] Operation: 70-23=47 Exploring Operation: 70-29=41, Resulting Numbers: [23, 41] Generated Node #0,1,3: 31:[23, 41] Operation: 70-29=41 Exploring Operation: 29+23=52, Resulting Numbers: [70, 52] Generated Node #0,1,4: 31:[70, 52] Operation: 29+23=52 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[29, 47], Operations: ['47-24=23', '70-23=47'] Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,31 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,31 unequal: No Solution No 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: 31:[23, 41], Operations: ['47-24=23', '70-29=41'] Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,31 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,31 unequal: No Solution No 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: 31:[70, 52], Operations: ['47-24=23', '29+23=52'] Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,31 unequal: No Solution Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,31 unequal: No Solution No 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: 31:[70, 6], Operations: ['47-24=23', '29-23=6'] Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,31 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,31 unequal: No Solution No 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: 31:[29, 93], Operations: ['47-24=23', '70+23=93'] Exploring Operation: 29+93=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 29*93=2697, Resulting Numbers: [2697] 2697,31 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: 31:[24, 70, 18], Operations: ['47-29=18'] Exploring Operation: 70-18=52, Resulting Numbers: [24, 52] Generated Node #0,4,0: 31:[24, 52] Operation: 70-18=52 Exploring Operation: 24+18=42, Resulting Numbers: [70, 42] Generated Node #0,4,1: 31:[70, 42] Operation: 24+18=42 Exploring Operation: 24-18=6, Resulting Numbers: [70, 6] Generated Node #0,4,2: 31:[70, 6] Operation: 24-18=6 Exploring Operation: 70-24=46, Resulting Numbers: [18, 46] Generated Node #0,4,3: 31:[18, 46] Operation: 70-24=46 Exploring Operation: 70+18=88, Resulting Numbers: [24, 88] Generated Node #0,4,4: 31:[24, 88] Operation: 70+18=88 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[24, 52], Operations: ['47-29=18', '70-18=52'] Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,31 unequal: No Solution Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,31 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,31 unequal: No Solution No 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: 31:[18, 46], Operations: ['47-29=18', '70-24=46'] Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,31 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,31 unequal: No Solution No 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: 31:[70, 42], Operations: ['47-29=18', '24+18=42'] Exploring Operation: 70+42=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 70*42=2940, Resulting Numbers: [2940] 2940,31 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,31 unequal: No Solution No 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: 31:[70, 6], Operations: ['47-29=18', '24-18=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,31 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,31 unequal: No Solution No 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: 31:[24, 88], Operations: ['47-29=18', '70+18=88'] Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 24*88=2112, Resulting Numbers: [2112] 2112,31 unequal: No Solution Exploring Operation: 24+88=112, Resulting Numbers: [112] 112,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 9, 42, 93, 53 ]
18
[ "93-42=51", "53-51=2", "9*2=18" ]
Current State: 18:[9, 42, 93, 53], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [9, 53, 51] Generated Node #2: [9, 53, 51] from Operation: 93-42=51 Current State: 18:[9, 53, 51], Operations: ['93-42=51'] Exploring Operation: 53-51=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 53-51=2 Current State: 18:[9, 2], Operations: ['93-42=51', '53-51=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[9, 42, 93, 53], Operations: [] Exploring Operation: 93-53=40, Resulting Numbers: [9, 42, 40] Generated Node #0,0: 18:[9, 42, 40] Operation: 93-53=40 Moving to Node #0,0 Current State: 18:[9, 42, 40], Operations: ['93-53=40'] Exploring Operation: 42-40=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 18:[9, 2] Operation: 42-40=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[9, 2], Operations: ['93-53=40', '42-40=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[9, 42, 93, 53], Operations: [] Exploring Operation: 93-53=40, Resulting Numbers: [9, 42, 40] Generated Node #0,0: 18:[9, 42, 40] Operation: 93-53=40 Moving to Node #0,0 Current State: 18:[9, 42, 40], Operations: ['93-53=40'] Exploring Operation: 42-40=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 18:[9, 2] Operation: 42-40=2 Moving to Node #0,0,0 Current State: 18:[9, 2], Operations: ['93-53=40', '42-40=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 82, 26, 87, 9 ]
79
[ "87-9=78", "78/26=3", "82-3=79" ]
Current State: 79:[82, 26, 87, 9], Operations: [] Exploring Operation: 87-9=78, Resulting Numbers: [82, 26, 78] Generated Node #2: [82, 26, 78] from Operation: 87-9=78 Current State: 79:[82, 26, 78], Operations: ['87-9=78'] Exploring Operation: 78/26=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 78/26=3 Current State: 79:[82, 3], Operations: ['87-9=78', '78/26=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[82, 26, 87, 9], Operations: [] Exploring Operation: 26+9=35, Resulting Numbers: [82, 87, 35] Generated Node #0,0: 79:[82, 87, 35] Operation: 26+9=35 Exploring Operation: 87-9=78, Resulting Numbers: [82, 26, 78] Generated Node #0,1: 79:[82, 26, 78] Operation: 87-9=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[82, 87, 35], Operations: ['26+9=35'] Exploring Operation: 82-35=47, Resulting Numbers: [87, 47] Generated Node #0,0,0: 79:[87, 47] Operation: 82-35=47 Exploring Operation: 87-35=52, Resulting Numbers: [82, 52] Generated Node #0,0,1: 79:[82, 52] Operation: 87-35=52 Moving to Node #0,0,1 Current State: 79:[82, 52], Operations: ['26+9=35', '87-35=52'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[87, 47], Operations: ['26+9=35', '82-35=47'] Exploring Operation: 87+47=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,79 unequal: No Solution No 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: 79:[82, 26, 78], Operations: ['87-9=78'] Exploring Operation: 82-26=56, Resulting Numbers: [78, 56] Generated Node #0,1,0: 79:[78, 56] Operation: 82-26=56 Exploring Operation: 26+78=104, Resulting Numbers: [82, 104] Generated Node #0,1,1: 79:[82, 104] Operation: 26+78=104 Moving to Node #0,1,0 Current State: 79:[78, 56], Operations: ['87-9=78', '82-26=56'] Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 78+56=134, Resulting Numbers: [134] 134,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[82, 104], Operations: ['87-9=78', '26+78=104'] Exploring Operation: 82+104=186, Resulting Numbers: [186] 186,79 unequal: No Solution Exploring Operation: 104-82=22, Resulting Numbers: [22] 22,79 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
[ 73, 72, 71, 23 ]
48
[ "73-72=1", "71-23=48", "1*48=48" ]
Current State: 48:[73, 72, 71, 23], Operations: [] Exploring Operation: 73-72=1, Resulting Numbers: [71, 23, 1] Generated Node #2: [71, 23, 1] from Operation: 73-72=1 Current State: 48:[71, 23, 1], Operations: ['73-72=1'] Exploring Operation: 71-23=48, Resulting Numbers: [1, 48] Generated Node #3: [1, 48] from Operation: 71-23=48 Current State: 48:[1, 48], Operations: ['73-72=1', '71-23=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[73, 72, 71, 23], Operations: [] Exploring Operation: 73-72=1, Resulting Numbers: [71, 23, 1] Generated Node #0,0: 48:[71, 23, 1] Operation: 73-72=1 Exploring Operation: 72-71=1, Resulting Numbers: [73, 23, 1] Generated Node #0,1: 48:[73, 23, 1] Operation: 72-71=1 Exploring Operation: 73-71=2, Resulting Numbers: [72, 23, 2] Generated Node #0,2: 48:[72, 23, 2] Operation: 73-71=2 Exploring Operation: 73-23=50, Resulting Numbers: [72, 71, 50] Generated Node #0,3: 48:[72, 71, 50] Operation: 73-23=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[71, 23, 1], Operations: ['73-72=1'] Exploring Operation: 71*1=71, Resulting Numbers: [23, 71] Generated Node #0,0,0: 48:[23, 71] Operation: 71*1=71 Exploring Operation: 23+1=24, Resulting Numbers: [71, 24] Generated Node #0,0,1: 48:[71, 24] Operation: 23+1=24 Exploring Operation: 71-1=70, Resulting Numbers: [23, 70] Generated Node #0,0,2: 48:[23, 70] Operation: 71-1=70 Exploring Operation: 71-23=48, Resulting Numbers: [1, 48] Generated Node #0,0,3: 48:[1, 48] Operation: 71-23=48 Moving to Node #0,0,3 Current State: 48:[1, 48], Operations: ['73-72=1', '71-23=48'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[73, 72, 71, 23], Operations: [] Exploring Operation: 73-72=1, Resulting Numbers: [71, 23, 1] Generated Node #0,0: 48:[71, 23, 1] Operation: 73-72=1 Moving to Node #0,0 Current State: 48:[71, 23, 1], Operations: ['73-72=1'] Exploring Operation: 71-23=48, Resulting Numbers: [1, 48] Generated Node #0,0,3: 48:[1, 48] Operation: 71-23=48 Moving to Node #0,0,3 Current State: 48:[1, 48], Operations: ['73-72=1', '71-23=48'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 59, 2, 20, 18 ]
95
[ "59-2=57", "20+18=38", "57+38=95" ]
Current State: 95:[59, 2, 20, 18], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [20, 18, 57] Generated Node #2: [20, 18, 57] from Operation: 59-2=57 Current State: 95:[20, 18, 57], Operations: ['59-2=57'] Exploring Operation: 20+18=38, Resulting Numbers: [57, 38] Generated Node #3: [57, 38] from Operation: 20+18=38 Current State: 95:[57, 38], Operations: ['59-2=57', '20+18=38'] Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[59, 2, 20, 18], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [2, 18, 39] Generated Node #0,0: 95:[2, 18, 39] Operation: 59-20=39 Exploring Operation: 59+20=79, Resulting Numbers: [2, 18, 79] Generated Node #0,1: 95:[2, 18, 79] Operation: 59+20=79 Exploring Operation: 59+18=77, Resulting Numbers: [2, 20, 77] Generated Node #0,2: 95:[2, 20, 77] Operation: 59+18=77 Moving to Node #0,1 Current State: 95:[2, 18, 79], Operations: ['59+20=79'] Exploring Operation: 18+79=97, Resulting Numbers: [2, 97] Generated Node #0,1,0: 95:[2, 97] Operation: 18+79=97 Exploring Operation: 2+18=20, Resulting Numbers: [79, 20] Generated Node #0,1,1: 95:[79, 20] Operation: 2+18=20 Exploring Operation: 2+79=81, Resulting Numbers: [18, 81] Generated Node #0,1,2: 95:[18, 81] Operation: 2+79=81 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[2, 97], Operations: ['59+20=79', '18+79=97'] Exploring Operation: 2*97=194, Resulting Numbers: [194] 194,95 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[59, 2, 20, 18], Operations: [] Exploring Operation: 59+20=79, Resulting Numbers: [2, 18, 79] Generated Node #0,1: 95:[2, 18, 79] Operation: 59+20=79 Moving to Node #0,1 Current State: 95:[2, 18, 79], Operations: ['59+20=79'] Exploring Operation: 18+79=97, Resulting Numbers: [2, 97] Generated Node #0,1,0: 95:[2, 97] Operation: 18+79=97 Moving to Node #0,1,0 Current State: 95:[2, 97], Operations: ['59+20=79', '18+79=97'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 86, 94, 70, 64 ]
62
[ "94-86=8", "64/8=8", "70-8=62" ]
Current State: 62:[86, 94, 70, 64], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [70, 64, 8] Generated Node #2: [70, 64, 8] from Operation: 94-86=8 Current State: 62:[70, 64, 8], Operations: ['94-86=8'] Exploring Operation: 64/8=8, Resulting Numbers: [70, 8] Generated Node #3: [70, 8] from Operation: 64/8=8 Current State: 62:[70, 8], Operations: ['94-86=8', '64/8=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[86, 94, 70, 64], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [86, 70, 30] Generated Node #0,0: 62:[86, 70, 30] Operation: 94-64=30 Exploring Operation: 94-70=24, Resulting Numbers: [86, 64, 24] Generated Node #0,1: 62:[86, 64, 24] Operation: 94-70=24 Exploring Operation: 94-86=8, Resulting Numbers: [70, 64, 8] Generated Node #0,2: 62:[70, 64, 8] Operation: 94-86=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[70, 64, 8], Operations: ['94-86=8'] Exploring Operation: 64-8=56, Resulting Numbers: [70, 56] Generated Node #0,2,0: 62:[70, 56] Operation: 64-8=56 Exploring Operation: 70-64=6, Resulting Numbers: [8, 6] Generated Node #0,2,1: 62:[8, 6] Operation: 70-64=6 Exploring Operation: 70-8=62, Resulting Numbers: [64, 62] Generated Node #0,2,2: 62:[64, 62] Operation: 70-8=62 Moving to Node #0,2,2 Current State: 62:[64, 62], Operations: ['94-86=8', '70-8=62'] Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,62 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[8, 6], Operations: ['94-86=8', '70-64=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[70, 56], Operations: ['94-86=8', '64-8=56'] Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,62 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,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:[86, 70, 30], Operations: ['94-64=30'] Exploring Operation: 86-30=56, Resulting Numbers: [70, 56] Generated Node #0,0,0: 62:[70, 56] Operation: 86-30=56 Exploring Operation: 86-70=16, Resulting Numbers: [30, 16] Generated Node #0,0,1: 62:[30, 16] Operation: 86-70=16 Exploring Operation: 70-30=40, Resulting Numbers: [86, 40] Generated Node #0,0,2: 62:[86, 40] Operation: 70-30=40 Moving to Node #0,0,0 Current State: 62:[70, 56], Operations: ['94-64=30', '86-30=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,62 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[30, 16], Operations: ['94-64=30', '86-70=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,62 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,62 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[86, 40], Operations: ['94-64=30', '70-30=40'] Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,62 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,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:[86, 64, 24], Operations: ['94-70=24'] Exploring Operation: 86-64=22, Resulting Numbers: [24, 22] Generated Node #0,1,0: 62:[24, 22] Operation: 86-64=22 Exploring Operation: 86-24=62, Resulting Numbers: [64, 62] Generated Node #0,1,1: 62:[64, 62] Operation: 86-24=62 Exploring Operation: 64-24=40, Resulting Numbers: [86, 40] Generated Node #0,1,2: 62:[86, 40] Operation: 64-24=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[64, 62], Operations: ['94-70=24', '86-24=62'] Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,62 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,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,1,0 Current State: 62:[24, 22], Operations: ['94-70=24', '86-64=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,62 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,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,1,2 Current State: 62:[86, 40], Operations: ['94-70=24', '64-24=40'] Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,62 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,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_3
sum_heuristic
[ 55, 33, 36, 89 ]
75
[ "55-33=22", "89-36=53", "22+53=75" ]
Current State: 75:[55, 33, 36, 89], Operations: [] Exploring Operation: 55-33=22, Resulting Numbers: [36, 89, 22] Generated Node #2: [36, 89, 22] from Operation: 55-33=22 Current State: 75:[36, 89, 22], Operations: ['55-33=22'] Exploring Operation: 89-36=53, Resulting Numbers: [22, 53] Generated Node #3: [22, 53] from Operation: 89-36=53 Current State: 75:[22, 53], Operations: ['55-33=22', '89-36=53'] Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[55, 33, 36, 89], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [33, 36, 34] Generated Node #0,0: 75:[33, 36, 34] Operation: 89-55=34 Exploring Operation: 55-33=22, Resulting Numbers: [36, 89, 22] Generated Node #0,1: 75:[36, 89, 22] Operation: 55-33=22 Exploring Operation: 55-36=19, Resulting Numbers: [33, 89, 19] Generated Node #0,2: 75:[33, 89, 19] Operation: 55-36=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[33, 89, 19], Operations: ['55-36=19'] Exploring Operation: 33-19=14, Resulting Numbers: [89, 14] Generated Node #0,2,0: 75:[89, 14] Operation: 33-19=14 Exploring Operation: 89-19=70, Resulting Numbers: [33, 70] Generated Node #0,2,1: 75:[33, 70] Operation: 89-19=70 Exploring Operation: 89-33=56, Resulting Numbers: [19, 56] Generated Node #0,2,2: 75:[19, 56] Operation: 89-33=56 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[33, 70], Operations: ['55-36=19', '89-19=70'] Exploring Operation: 33+70=103, Resulting Numbers: [103] 103,75 unequal: No Solution Exploring Operation: 33*70=2310, Resulting Numbers: [2310] 2310,75 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[89, 14], Operations: ['55-36=19', '33-19=14'] Exploring Operation: 89*14=1246, Resulting Numbers: [1246] 1246,75 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[55, 33, 36, 89], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [33, 89, 19] Generated Node #0,2: 75:[33, 89, 19] Operation: 55-36=19 Moving to Node #0,2 Current State: 75:[33, 89, 19], Operations: ['55-36=19'] Exploring Operation: 33-19=14, Resulting Numbers: [89, 14] Generated Node #0,2,0: 75:[89, 14] Operation: 33-19=14 Moving to Node #0,2,0 Current State: 75:[89, 14], Operations: ['55-36=19', '33-19=14'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 78, 80, 33, 37 ]
41
[ "80-78=2", "37*2=74", "74-33=41" ]
Current State: 41:[78, 80, 33, 37], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [33, 37, 2] Generated Node #2: [33, 37, 2] from Operation: 80-78=2 Current State: 41:[33, 37, 2], Operations: ['80-78=2'] Exploring Operation: 37*2=74, Resulting Numbers: [33, 74] Generated Node #3: [33, 74] from Operation: 37*2=74 Current State: 41:[33, 74], Operations: ['80-78=2', '37*2=74'] Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[78, 80, 33, 37], Operations: [] Exploring Operation: 78-33=45, Resulting Numbers: [80, 37, 45] Generated Node #0,0: 41:[80, 37, 45] Operation: 78-33=45 Moving to Node #0,0 Current State: 41:[80, 37, 45], Operations: ['78-33=45'] Exploring Operation: 80-37=43, Resulting Numbers: [45, 43] Generated Node #0,0,0: 41:[45, 43] Operation: 80-37=43 Moving to Node #0,0,0 Current State: 41:[45, 43], Operations: ['78-33=45', '80-37=43'] Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,41 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 54, 75, 35, 41 ]
15
[ "75-54=21", "41-35=6", "21-6=15" ]
Current State: 15:[54, 75, 35, 41], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [35, 41, 21] Generated Node #2: [35, 41, 21] from Operation: 75-54=21 Current State: 15:[35, 41, 21], Operations: ['75-54=21'] Exploring Operation: 41-35=6, Resulting Numbers: [21, 6] Generated Node #3: [21, 6] from Operation: 41-35=6 Current State: 15:[21, 6], Operations: ['75-54=21', '41-35=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[54, 75, 35, 41], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [35, 41, 21] Generated Node #0,0: 15:[35, 41, 21] Operation: 75-54=21 Exploring Operation: 54-35=19, Resulting Numbers: [75, 41, 19] Generated Node #0,1: 15:[75, 41, 19] Operation: 54-35=19 Exploring Operation: 75-41=34, Resulting Numbers: [54, 35, 34] Generated Node #0,2: 15:[54, 35, 34] Operation: 75-41=34 Exploring Operation: 54-41=13, Resulting Numbers: [75, 35, 13] Generated Node #0,3: 15:[75, 35, 13] Operation: 54-41=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[35, 41, 21], Operations: ['75-54=21'] Exploring Operation: 41-21=20, Resulting Numbers: [35, 20] Generated Node #0,0,0: 15:[35, 20] Operation: 41-21=20 Exploring Operation: 35+41=76, Resulting Numbers: [21, 76] Generated Node #0,0,1: 15:[21, 76] Operation: 35+41=76 Exploring Operation: 35-21=14, Resulting Numbers: [41, 14] Generated Node #0,0,2: 15:[41, 14] Operation: 35-21=14 Exploring Operation: 41-35=6, Resulting Numbers: [21, 6] Generated Node #0,0,3: 15:[21, 6] Operation: 41-35=6 Moving to Node #0,0,3 Current State: 15:[21, 6], Operations: ['75-54=21', '41-35=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[54, 75, 35, 41], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [35, 41, 21] Generated Node #0,0: 15:[35, 41, 21] Operation: 75-54=21 Moving to Node #0,0 Current State: 15:[35, 41, 21], Operations: ['75-54=21'] Exploring Operation: 41-35=6, Resulting Numbers: [21, 6] Generated Node #0,0,3: 15:[21, 6] Operation: 41-35=6 Moving to Node #0,0,3 Current State: 15:[21, 6], Operations: ['75-54=21', '41-35=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 62, 14, 12, 74 ]
13
[ "62+12=74", "74/74=1", "14-1=13" ]
Current State: 13:[62, 14, 12, 74], Operations: [] Exploring Operation: 62+12=74, Resulting Numbers: [14, 74, 74] Generated Node #2: [14, 74, 74] from Operation: 62+12=74 Current State: 13:[14, 74, 74], Operations: ['62+12=74'] Exploring Operation: 74/74=1, Resulting Numbers: [14, 1] Generated Node #3: [14, 1] from Operation: 74/74=1 Current State: 13:[14, 1], Operations: ['62+12=74', '74/74=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[62, 14, 12, 74], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [12, 74, 48] Generated Node #0,0: 13:[12, 74, 48] Operation: 62-14=48 Exploring Operation: 62-12=50, Resulting Numbers: [14, 74, 50] Generated Node #0,1: 13:[14, 74, 50] Operation: 62-12=50 Exploring Operation: 74-62=12, Resulting Numbers: [14, 12, 12] Generated Node #0,2: 13:[14, 12, 12] Operation: 74-62=12 Exploring Operation: 74-14=60, Resulting Numbers: [62, 12, 60] Generated Node #0,3: 13:[62, 12, 60] Operation: 74-14=60 Exploring Operation: 74-12=62, Resulting Numbers: [62, 14, 62] Generated Node #0,4: 13:[62, 14, 62] Operation: 74-12=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[14, 12, 12], Operations: ['74-62=12'] Exploring Operation: 12/12=1, Resulting Numbers: [14, 1] Generated Node #0,2,0: 13:[14, 1] Operation: 12/12=1 Exploring Operation: 14-12=2, Resulting Numbers: [12, 2] Generated Node #0,2,1: 13:[12, 2] Operation: 14-12=2 Exploring Operation: 14-12=2, Resulting Numbers: [12, 2] Generated Node #0,2,2: 13:[12, 2] Operation: 14-12=2 Exploring Operation: 14+12=26, Resulting Numbers: [12, 26] Generated Node #0,2,3: 13:[12, 26] Operation: 14+12=26 Exploring Operation: 12+12=24, Resulting Numbers: [14, 24] Generated Node #0,2,4: 13:[14, 24] Operation: 12+12=24 Moving to Node #0,2,1 Current State: 13:[12, 2], Operations: ['74-62=12', '14-12=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[14, 24], Operations: ['74-62=12', '12+12=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[12, 2], Operations: ['74-62=12', '14-12=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[14, 1], Operations: ['74-62=12', '12/12=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[62, 14, 12, 74], Operations: [] Exploring Operation: 74-62=12, Resulting Numbers: [14, 12, 12] Generated Node #0,2: 13:[14, 12, 12] Operation: 74-62=12 Moving to Node #0,2 Current State: 13:[14, 12, 12], Operations: ['74-62=12'] Exploring Operation: 12/12=1, Resulting Numbers: [14, 1] Generated Node #0,2,0: 13:[14, 1] Operation: 12/12=1 Moving to Node #0,2,0 Current State: 13:[14, 1], Operations: ['74-62=12', '12/12=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
sum_heuristic
[ 19, 21, 15, 13 ]
20
[ "19+21=40", "15-13=2", "40/2=20" ]
Current State: 20:[19, 21, 15, 13], Operations: [] Exploring Operation: 19+21=40, Resulting Numbers: [15, 13, 40] Generated Node #2: [15, 13, 40] from Operation: 19+21=40 Current State: 20:[15, 13, 40], Operations: ['19+21=40'] Exploring Operation: 15-13=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 15-13=2 Current State: 20:[40, 2], Operations: ['19+21=40', '15-13=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[19, 21, 15, 13], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [15, 13, 2] Generated Node #0,0: 20:[15, 13, 2] Operation: 21-19=2 Exploring Operation: 19-15=4, Resulting Numbers: [21, 13, 4] Generated Node #0,1: 20:[21, 13, 4] Operation: 19-15=4 Exploring Operation: 21-15=6, Resulting Numbers: [19, 13, 6] Generated Node #0,2: 20:[19, 13, 6] Operation: 21-15=6 Exploring Operation: 15-13=2, Resulting Numbers: [19, 21, 2] Generated Node #0,3: 20:[19, 21, 2] Operation: 15-13=2 Exploring Operation: 19-13=6, Resulting Numbers: [21, 15, 6] Generated Node #0,4: 20:[21, 15, 6] Operation: 19-13=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[19, 21, 2], Operations: ['15-13=2'] Exploring Operation: 21+2=23, Resulting Numbers: [19, 23] Generated Node #0,3,0: 20:[19, 23] Operation: 21+2=23 Exploring Operation: 21-19=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 20:[2, 2] Operation: 21-19=2 Exploring Operation: 19+2=21, Resulting Numbers: [21, 21] Generated Node #0,3,2: 20:[21, 21] Operation: 19+2=21 Exploring Operation: 19-2=17, Resulting Numbers: [21, 17] Generated Node #0,3,3: 20:[21, 17] Operation: 19-2=17 Exploring Operation: 21-2=19, Resulting Numbers: [19, 19] Generated Node #0,3,4: 20:[19, 19] Operation: 21-2=19 Moving to Node #0,3,1 Current State: 20:[2, 2], Operations: ['15-13=2', '21-19=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,3,4 Current State: 20:[19, 19], Operations: ['15-13=2', '21-2=19'] Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[21, 21], Operations: ['15-13=2', '19+2=21'] Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,20 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[19, 23], Operations: ['15-13=2', '21+2=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,20 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[21, 17], Operations: ['15-13=2', '19-2=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,20 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[21, 13, 4], Operations: ['19-15=4'] Exploring Operation: 21-4=17, Resulting Numbers: [13, 17] Generated Node #0,1,0: 20:[13, 17] Operation: 21-4=17 Exploring Operation: 13-4=9, Resulting Numbers: [21, 9] Generated Node #0,1,1: 20:[21, 9] Operation: 13-4=9 Exploring Operation: 13+4=17, Resulting Numbers: [21, 17] Generated Node #0,1,2: 20:[21, 17] Operation: 13+4=17 Exploring Operation: 21-13=8, Resulting Numbers: [4, 8] Generated Node #0,1,3: 20:[4, 8] Operation: 21-13=8 Exploring Operation: 21+4=25, Resulting Numbers: [13, 25] Generated Node #0,1,4: 20:[13, 25] Operation: 21+4=25 Moving to Node #0,1,1 Current State: 20:[21, 9], Operations: ['19-15=4', '13-4=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,20 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[4, 8], Operations: ['19-15=4', '21-13=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[21, 17], Operations: ['19-15=4', '13+4=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,20 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[13, 17], Operations: ['19-15=4', '21-4=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,20 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[13, 25], Operations: ['19-15=4', '21+4=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,20 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[19, 13, 6], Operations: ['21-15=6'] Exploring Operation: 13-6=7, Resulting Numbers: [19, 7] Generated Node #0,2,0: 20:[19, 7] Operation: 13-6=7 Exploring Operation: 19-6=13, Resulting Numbers: [13, 13] Generated Node #0,2,1: 20:[13, 13] Operation: 19-6=13 Exploring Operation: 19+6=25, Resulting Numbers: [13, 25] Generated Node #0,2,2: 20:[13, 25] Operation: 19+6=25 Exploring Operation: 19-13=6, Resulting Numbers: [6, 6] Generated Node #0,2,3: 20:[6, 6] Operation: 19-13=6 Exploring Operation: 13+6=19, Resulting Numbers: [19, 19] Generated Node #0,2,4: 20:[19, 19] Operation: 13+6=19 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 20:[6, 6], Operations: ['21-15=6', '19-13=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 20:[19, 19], Operations: ['21-15=6', '13+6=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,20 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[19, 7], Operations: ['21-15=6', '13-6=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,20 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[13, 13], Operations: ['21-15=6', '19-6=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,20 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[13, 25], Operations: ['21-15=6', '19+6=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,20 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[21, 15, 6], Operations: ['19-13=6'] Exploring Operation: 15-6=9, Resulting Numbers: [21, 9] Generated Node #0,4,0: 20:[21, 9] Operation: 15-6=9 Exploring Operation: 21+6=27, Resulting Numbers: [15, 27] Generated Node #0,4,1: 20:[15, 27] Operation: 21+6=27 Exploring Operation: 21-15=6, Resulting Numbers: [6, 6] Generated Node #0,4,2: 20:[6, 6] Operation: 21-15=6 Exploring Operation: 15+6=21, Resulting Numbers: [21, 21] Generated Node #0,4,3: 20:[21, 21] Operation: 15+6=21 Exploring Operation: 21-6=15, Resulting Numbers: [15, 15] Generated Node #0,4,4: 20:[15, 15] Operation: 21-6=15 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[21, 9], Operations: ['19-13=6', '15-6=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 20:[6, 6], Operations: ['19-13=6', '21-15=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 20:[21, 21], Operations: ['19-13=6', '15+6=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,20 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 20:[15, 15], Operations: ['19-13=6', '21-6=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,20 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 20:[15, 27], Operations: ['19-13=6', '21+6=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,20 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[15, 13, 2], Operations: ['21-19=2'] Exploring Operation: 15+2=17, Resulting Numbers: [13, 17] Generated Node #0,0,0: 20:[13, 17] Operation: 15+2=17 Exploring Operation: 15+13=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 20:[2, 28] Operation: 15+13=28 Exploring Operation: 15-2=13, Resulting Numbers: [13, 13] Generated Node #0,0,2: 20:[13, 13] Operation: 15-2=13 Exploring Operation: 15-13=2, Resulting Numbers: [2, 2] Generated Node #0,0,3: 20:[2, 2] Operation: 15-13=2 Exploring Operation: 13-2=11, Resulting Numbers: [15, 11] Generated Node #0,0,4: 20:[15, 11] Operation: 13-2=11 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 20:[2, 2], Operations: ['21-19=2', '15-13=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[13, 17], Operations: ['21-19=2', '15+2=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,20 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 20:[13, 13], Operations: ['21-19=2', '15-2=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 20:[15, 11], Operations: ['21-19=2', '13-2=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,20 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[2, 28], Operations: ['21-19=2', '15+13=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 91, 8, 12, 22 ]
78
[ "91*12=1092", "22-8=14", "1092/14=78" ]
Current State: 78:[91, 8, 12, 22], Operations: [] Exploring Operation: 91*12=1092, Resulting Numbers: [8, 22, 1092] Generated Node #2: [8, 22, 1092] from Operation: 91*12=1092 Current State: 78:[8, 22, 1092], Operations: ['91*12=1092'] Exploring Operation: 22-8=14, Resulting Numbers: [1092, 14] Generated Node #3: [1092, 14] from Operation: 22-8=14 Current State: 78:[1092, 14], Operations: ['91*12=1092', '22-8=14'] Exploring Operation: 1092/14=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[91, 8, 12, 22], Operations: [] Exploring Operation: 91-12=79, Resulting Numbers: [8, 22, 79] Generated Node #0,0: 78:[8, 22, 79] Operation: 91-12=79 Moving to Node #0,0 Current State: 78:[8, 22, 79], Operations: ['91-12=79'] Exploring Operation: 22-8=14, Resulting Numbers: [79, 14] Generated Node #0,0,0: 78:[79, 14] Operation: 22-8=14 Moving to Node #0,0,0 Current State: 78:[79, 14], Operations: ['91-12=79', '22-8=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 57, 67, 35, 55 ]
10
[ "67-57=10", "55-35=20", "20-10=10" ]
Current State: 10:[57, 67, 35, 55], Operations: [] Exploring Operation: 67-57=10, Resulting Numbers: [35, 55, 10] Generated Node #2: [35, 55, 10] from Operation: 67-57=10 Current State: 10:[35, 55, 10], Operations: ['67-57=10'] Exploring Operation: 55-35=20, Resulting Numbers: [10, 20] Generated Node #3: [10, 20] from Operation: 55-35=20 Current State: 10:[10, 20], Operations: ['67-57=10', '55-35=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[57, 67, 35, 55], Operations: [] Exploring Operation: 67-57=10, Resulting Numbers: [35, 55, 10] Generated Node #0,0: 10:[35, 55, 10] Operation: 67-57=10 Exploring Operation: 67-55=12, Resulting Numbers: [57, 35, 12] Generated Node #0,1: 10:[57, 35, 12] Operation: 67-55=12 Exploring Operation: 67-35=32, Resulting Numbers: [57, 55, 32] Generated Node #0,2: 10:[57, 55, 32] Operation: 67-35=32 Exploring Operation: 57-35=22, Resulting Numbers: [67, 55, 22] Generated Node #0,3: 10:[67, 55, 22] Operation: 57-35=22 Exploring Operation: 57-55=2, Resulting Numbers: [67, 35, 2] Generated Node #0,4: 10:[67, 35, 2] Operation: 57-55=2 Moving to Node #0,0 Current State: 10:[35, 55, 10], Operations: ['67-57=10'] Exploring Operation: 35-10=25, Resulting Numbers: [55, 25] Generated Node #0,0,0: 10:[55, 25] Operation: 35-10=25 Exploring Operation: 55-35=20, Resulting Numbers: [10, 20] Generated Node #0,0,1: 10:[10, 20] Operation: 55-35=20 Exploring Operation: 55-10=45, Resulting Numbers: [35, 45] Generated Node #0,0,2: 10:[35, 45] Operation: 55-10=45 Exploring Operation: 35+55=90, Resulting Numbers: [10, 90] Generated Node #0,0,3: 10:[10, 90] Operation: 35+55=90 Exploring Operation: 35+10=45, Resulting Numbers: [55, 45] Generated Node #0,0,4: 10:[55, 45] Operation: 35+10=45 Moving to Node #0,1 Current State: 10:[57, 35, 12], Operations: ['67-55=12'] Exploring Operation: 57-35=22, Resulting Numbers: [12, 22] Generated Node #0,1,0: 10:[12, 22] Operation: 57-35=22 Exploring Operation: 57+35=92, Resulting Numbers: [12, 92] Generated Node #0,1,1: 10:[12, 92] Operation: 57+35=92 Exploring Operation: 35-12=23, Resulting Numbers: [57, 23] Generated Node #0,1,2: 10:[57, 23] Operation: 35-12=23 Exploring Operation: 57-12=45, Resulting Numbers: [35, 45] Generated Node #0,1,3: 10:[35, 45] Operation: 57-12=45 Exploring Operation: 57+12=69, Resulting Numbers: [35, 69] Generated Node #0,1,4: 10:[35, 69] Operation: 57+12=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[12, 22], Operations: ['67-55=12', '57-35=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[57, 67, 35, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [57, 35, 12] Generated Node #0,1: 10:[57, 35, 12] Operation: 67-55=12 Moving to Node #0,1 Current State: 10:[57, 35, 12], Operations: ['67-55=12'] Exploring Operation: 57-35=22, Resulting Numbers: [12, 22] Generated Node #0,1,0: 10:[12, 22] Operation: 57-35=22 Moving to Node #0,1,0 Current State: 10:[12, 22], Operations: ['67-55=12', '57-35=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 62, 95, 64, 68 ]
41
[ "64-62=2", "68*2=136", "136-95=41" ]
Current State: 41:[62, 95, 64, 68], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [95, 68, 2] Generated Node #2: [95, 68, 2] from Operation: 64-62=2 Current State: 41:[95, 68, 2], Operations: ['64-62=2'] Exploring Operation: 68*2=136, Resulting Numbers: [95, 136] Generated Node #3: [95, 136] from Operation: 68*2=136 Current State: 41:[95, 136], Operations: ['64-62=2', '68*2=136'] Exploring Operation: 136-95=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[62, 95, 64, 68], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [62, 68, 31] Generated Node #0,0: 41:[62, 68, 31] Operation: 95-64=31 Exploring Operation: 68-64=4, Resulting Numbers: [62, 95, 4] Generated Node #0,1: 41:[62, 95, 4] Operation: 68-64=4 Exploring Operation: 68-62=6, Resulting Numbers: [95, 64, 6] Generated Node #0,2: 41:[95, 64, 6] Operation: 68-62=6 Exploring Operation: 95-68=27, Resulting Numbers: [62, 64, 27] Generated Node #0,3: 41:[62, 64, 27] Operation: 95-68=27 Exploring Operation: 95-62=33, Resulting Numbers: [64, 68, 33] Generated Node #0,4: 41:[64, 68, 33] Operation: 95-62=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[62, 68, 31], Operations: ['95-64=31'] Exploring Operation: 68-31=37, Resulting Numbers: [62, 37] Generated Node #0,0,0: 41:[62, 37] Operation: 68-31=37 Exploring Operation: 62/31=2, Resulting Numbers: [68, 2] Generated Node #0,0,1: 41:[68, 2] Operation: 62/31=2 Exploring Operation: 68-62=6, Resulting Numbers: [31, 6] Generated Node #0,0,2: 41:[31, 6] Operation: 68-62=6 Exploring Operation: 62-31=31, Resulting Numbers: [68, 31] Generated Node #0,0,3: 41:[68, 31] Operation: 62-31=31 Exploring Operation: 62+31=93, Resulting Numbers: [68, 93] Generated Node #0,0,4: 41:[68, 93] Operation: 62+31=93 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[62, 37], Operations: ['95-64=31', '68-31=37'] Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,41 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[68, 31], Operations: ['95-64=31', '62-31=31'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,41 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[31, 6], Operations: ['95-64=31', '68-62=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[68, 2], Operations: ['95-64=31', '62/31=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,41 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 41:[68, 93], Operations: ['95-64=31', '62+31=93'] Exploring Operation: 68+93=161, Resulting Numbers: [161] 161,41 unequal: No Solution Exploring Operation: 93-68=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 68*93=6324, Resulting Numbers: [6324] 6324,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[62, 64, 27], Operations: ['95-68=27'] Exploring Operation: 64-62=2, Resulting Numbers: [27, 2] Generated Node #0,3,0: 41:[27, 2] Operation: 64-62=2 Exploring Operation: 64-27=37, Resulting Numbers: [62, 37] Generated Node #0,3,1: 41:[62, 37] Operation: 64-27=37 Exploring Operation: 62-27=35, Resulting Numbers: [64, 35] Generated Node #0,3,2: 41:[64, 35] Operation: 62-27=35 Exploring Operation: 64+27=91, Resulting Numbers: [62, 91] Generated Node #0,3,3: 41:[62, 91] Operation: 64+27=91 Exploring Operation: 62+27=89, Resulting Numbers: [64, 89] Generated Node #0,3,4: 41:[64, 89] Operation: 62+27=89 Moving to Node #0,3,1 Current State: 41:[62, 37], Operations: ['95-68=27', '64-27=37'] Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,41 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[64, 35], Operations: ['95-68=27', '62-27=35'] Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 64+35=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 64*35=2240, Resulting Numbers: [2240] 2240,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[27, 2], Operations: ['95-68=27', '64-62=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[62, 91], Operations: ['95-68=27', '64+27=91'] Exploring Operation: 62*91=5642, Resulting Numbers: [5642] 5642,41 unequal: No Solution Exploring Operation: 62+91=153, Resulting Numbers: [153] 153,41 unequal: No Solution Exploring Operation: 91-62=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,3,4 Current State: 41:[64, 89], Operations: ['95-68=27', '62+27=89'] Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,41 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,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,4 Current State: 41:[64, 68, 33], Operations: ['95-62=33'] Exploring Operation: 68-64=4, Resulting Numbers: [33, 4] Generated Node #0,4,0: 41:[33, 4] Operation: 68-64=4 Exploring Operation: 64+33=97, Resulting Numbers: [68, 97] Generated Node #0,4,1: 41:[68, 97] Operation: 64+33=97 Exploring Operation: 68+33=101, Resulting Numbers: [64, 101] Generated Node #0,4,2: 41:[64, 101] Operation: 68+33=101 Exploring Operation: 64-33=31, Resulting Numbers: [68, 31] Generated Node #0,4,3: 41:[68, 31] Operation: 64-33=31 Exploring Operation: 68-33=35, Resulting Numbers: [64, 35] Generated Node #0,4,4: 41:[64, 35] Operation: 68-33=35 Moving to Node #0,4,4 Current State: 41:[64, 35], Operations: ['95-62=33', '68-33=35'] Exploring Operation: 64+35=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 64*35=2240, Resulting Numbers: [2240] 2240,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[68, 31], Operations: ['95-62=33', '64-33=31'] Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[33, 4], Operations: ['95-62=33', '68-64=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,41 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[68, 97], Operations: ['95-62=33', '64+33=97'] Exploring Operation: 97-68=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 68+97=165, Resulting Numbers: [165] 165,41 unequal: No Solution Exploring Operation: 68*97=6596, Resulting Numbers: [6596] 6596,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[64, 101], Operations: ['95-62=33', '68+33=101'] Exploring Operation: 101-64=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 64*101=6464, Resulting Numbers: [6464] 6464,41 unequal: No Solution Exploring Operation: 64+101=165, Resulting Numbers: [165] 165,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[62, 95, 4], Operations: ['68-64=4'] Exploring Operation: 62+4=66, Resulting Numbers: [95, 66] Generated Node #0,1,0: 41:[95, 66] Operation: 62+4=66 Exploring Operation: 95-4=91, Resulting Numbers: [62, 91] Generated Node #0,1,1: 41:[62, 91] Operation: 95-4=91 Exploring Operation: 95-62=33, Resulting Numbers: [4, 33] Generated Node #0,1,2: 41:[4, 33] Operation: 95-62=33 Exploring Operation: 95+4=99, Resulting Numbers: [62, 99] Generated Node #0,1,3: 41:[62, 99] Operation: 95+4=99 Exploring Operation: 62-4=58, Resulting Numbers: [95, 58] Generated Node #0,1,4: 41:[95, 58] Operation: 62-4=58 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[4, 33], Operations: ['68-64=4', '95-62=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,41 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[62, 91], Operations: ['68-64=4', '95-4=91'] Exploring Operation: 62+91=153, Resulting Numbers: [153] 153,41 unequal: No Solution Exploring Operation: 91-62=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 62*91=5642, Resulting Numbers: [5642] 5642,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 41:[95, 58], Operations: ['68-64=4', '62-4=58'] Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 95+58=153, Resulting Numbers: [153] 153,41 unequal: No Solution Exploring Operation: 95*58=5510, Resulting Numbers: [5510] 5510,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[95, 66], Operations: ['68-64=4', '62+4=66'] Exploring Operation: 95*66=6270, Resulting Numbers: [6270] 6270,41 unequal: No Solution Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 95+66=161, Resulting Numbers: [161] 161,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[62, 99], Operations: ['68-64=4', '95+4=99'] Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 62+99=161, Resulting Numbers: [161] 161,41 unequal: No Solution Exploring Operation: 62*99=6138, Resulting Numbers: [6138] 6138,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[95, 64, 6], Operations: ['68-62=6'] Exploring Operation: 95-6=89, Resulting Numbers: [64, 89] Generated Node #0,2,0: 41:[64, 89] Operation: 95-6=89 Exploring Operation: 95+6=101, Resulting Numbers: [64, 101] Generated Node #0,2,1: 41:[64, 101] Operation: 95+6=101 Exploring Operation: 64-6=58, Resulting Numbers: [95, 58] Generated Node #0,2,2: 41:[95, 58] Operation: 64-6=58 Exploring Operation: 95-64=31, Resulting Numbers: [6, 31] Generated Node #0,2,3: 41:[6, 31] Operation: 95-64=31 Exploring Operation: 64+6=70, Resulting Numbers: [95, 70] Generated Node #0,2,4: 41:[95, 70] Operation: 64+6=70 Moving to Node #0,2,3 Current State: 41:[6, 31], Operations: ['68-62=6', '95-64=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[95, 58], Operations: ['68-62=6', '64-6=58'] Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 95*58=5510, Resulting Numbers: [5510] 5510,41 unequal: No Solution Exploring Operation: 95+58=153, Resulting Numbers: [153] 153,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[64, 89], Operations: ['68-62=6', '95-6=89'] Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,41 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[64, 101], Operations: ['68-62=6', '95+6=101'] Exploring Operation: 64*101=6464, Resulting Numbers: [6464] 6464,41 unequal: No Solution Exploring Operation: 101-64=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 64+101=165, Resulting Numbers: [165] 165,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[95, 70], Operations: ['68-62=6', '64+6=70'] Exploring Operation: 95*70=6650, Resulting Numbers: [6650] 6650,41 unequal: No Solution Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 95+70=165, Resulting Numbers: [165] 165,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 17, 57, 69, 10 ]
39
[ "57-17=40", "69+10=79", "79-40=39" ]
Current State: 39:[17, 57, 69, 10], Operations: [] Exploring Operation: 57-17=40, Resulting Numbers: [69, 10, 40] Generated Node #2: [69, 10, 40] from Operation: 57-17=40 Current State: 39:[69, 10, 40], Operations: ['57-17=40'] Exploring Operation: 69+10=79, Resulting Numbers: [40, 79] Generated Node #3: [40, 79] from Operation: 69+10=79 Current State: 39:[40, 79], Operations: ['57-17=40', '69+10=79'] Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[17, 57, 69, 10], Operations: [] Exploring Operation: 57-17=40, Resulting Numbers: [69, 10, 40] Generated Node #0,0: 39:[69, 10, 40] Operation: 57-17=40 Exploring Operation: 69-57=12, Resulting Numbers: [17, 10, 12] Generated Node #0,1: 39:[17, 10, 12] Operation: 69-57=12 Exploring Operation: 69-17=52, Resulting Numbers: [57, 10, 52] Generated Node #0,2: 39:[57, 10, 52] Operation: 69-17=52 Moving to Node #0,1 Current State: 39:[17, 10, 12], Operations: ['69-57=12'] Exploring Operation: 17-10=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 39:[12, 7] Operation: 17-10=7 Exploring Operation: 12-10=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 39:[17, 2] Operation: 12-10=2 Exploring Operation: 17-12=5, Resulting Numbers: [10, 5] Generated Node #0,1,2: 39:[10, 5] Operation: 17-12=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[12, 7], Operations: ['69-57=12', '17-10=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[17, 2], Operations: ['69-57=12', '12-10=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[10, 5], Operations: ['69-57=12', '17-12=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,39 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: 39:[69, 10, 40], Operations: ['57-17=40'] Exploring Operation: 40/10=4, Resulting Numbers: [69, 4] Generated Node #0,0,0: 39:[69, 4] Operation: 40/10=4 Exploring Operation: 69-40=29, Resulting Numbers: [10, 29] Generated Node #0,0,1: 39:[10, 29] Operation: 69-40=29 Exploring Operation: 69-10=59, Resulting Numbers: [40, 59] Generated Node #0,0,2: 39:[40, 59] Operation: 69-10=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[10, 29], Operations: ['57-17=40', '69-40=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,39 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[17, 57, 69, 10], Operations: [] Exploring Operation: 57-17=40, Resulting Numbers: [69, 10, 40] Generated Node #0,0: 39:[69, 10, 40] Operation: 57-17=40 Moving to Node #0,0 Current State: 39:[69, 10, 40], Operations: ['57-17=40'] Exploring Operation: 69-40=29, Resulting Numbers: [10, 29] Generated Node #0,0,1: 39:[10, 29] Operation: 69-40=29 Moving to Node #0,0,1 Current State: 39:[10, 29], Operations: ['57-17=40', '69-40=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 49, 90, 38, 13 ]
66
[ "90-49=41", "38-13=25", "41+25=66" ]
Current State: 66:[49, 90, 38, 13], Operations: [] Exploring Operation: 90-49=41, Resulting Numbers: [38, 13, 41] Generated Node #2: [38, 13, 41] from Operation: 90-49=41 Current State: 66:[38, 13, 41], Operations: ['90-49=41'] Exploring Operation: 38-13=25, Resulting Numbers: [41, 25] Generated Node #3: [41, 25] from Operation: 38-13=25 Current State: 66:[41, 25], Operations: ['90-49=41', '38-13=25'] Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[49, 90, 38, 13], Operations: [] Exploring Operation: 90-49=41, Resulting Numbers: [38, 13, 41] Generated Node #0,0: 66:[38, 13, 41] Operation: 90-49=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[38, 13, 41], Operations: ['90-49=41'] Exploring Operation: 41-38=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 66:[13, 3] Operation: 41-38=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[13, 3], Operations: ['90-49=41', '41-38=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 58, 31, 30, 2 ]
31
[ "58/2=29", "30-29=1", "31*1=31" ]
Current State: 31:[58, 31, 30, 2], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [31, 30, 29] Generated Node #2: [31, 30, 29] from Operation: 58/2=29 Current State: 31:[31, 30, 29], Operations: ['58/2=29'] Exploring Operation: 30-29=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 30-29=1 Current State: 31:[31, 1], Operations: ['58/2=29', '30-29=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[58, 31, 30, 2], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [31, 30, 29] Generated Node #0,0: 31:[31, 30, 29] Operation: 58/2=29 Exploring Operation: 58-2=56, Resulting Numbers: [31, 30, 56] Generated Node #0,1: 31:[31, 30, 56] Operation: 58-2=56 Moving to Node #0,0 Current State: 31:[31, 30, 29], Operations: ['58/2=29'] Exploring Operation: 31+29=60, Resulting Numbers: [30, 60] Generated Node #0,0,0: 31:[30, 60] Operation: 31+29=60 Exploring Operation: 30+29=59, Resulting Numbers: [31, 59] Generated Node #0,0,1: 31:[31, 59] Operation: 30+29=59 Moving to Node #0,1 Current State: 31:[31, 30, 56], Operations: ['58-2=56'] Exploring Operation: 56-30=26, Resulting Numbers: [31, 26] Generated Node #0,1,0: 31:[31, 26] Operation: 56-30=26 Exploring Operation: 56-31=25, Resulting Numbers: [30, 25] Generated Node #0,1,1: 31:[30, 25] Operation: 56-31=25 Moving to Node #0,1,0 Current State: 31:[31, 26], Operations: ['58-2=56', '56-30=26'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[30, 25], Operations: ['58-2=56', '56-31=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[31, 59], Operations: ['58/2=29', '30+29=59'] Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[30, 60], Operations: ['58/2=29', '31+29=60'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,31 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 20, 55, 55, 99 ]
78
[ "99-20=79", "55/55=1", "79-1=78" ]
Current State: 78:[20, 55, 55, 99], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [55, 55, 79] Generated Node #2: [55, 55, 79] from Operation: 99-20=79 Current State: 78:[55, 55, 79], Operations: ['99-20=79'] Exploring Operation: 55/55=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 55/55=1 Current State: 78:[79, 1], Operations: ['99-20=79', '55/55=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[20, 55, 55, 99], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [20, 55, 44] Generated Node #0,0: 78:[20, 55, 44] Operation: 99-55=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[20, 55, 44], Operations: ['99-55=44'] Exploring Operation: 20+55=75, Resulting Numbers: [44, 75] Generated Node #0,0,0: 78:[44, 75] Operation: 20+55=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[44, 75], Operations: ['99-55=44', '20+55=75'] Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 42, 70, 78, 7 ]
83
[ "42/7=6", "78/6=13", "70+13=83" ]
Current State: 83:[42, 70, 78, 7], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [70, 78, 6] Generated Node #2: [70, 78, 6] from Operation: 42/7=6 Current State: 83:[70, 78, 6], Operations: ['42/7=6'] Exploring Operation: 78/6=13, Resulting Numbers: [70, 13] Generated Node #3: [70, 13] from Operation: 78/6=13 Current State: 83:[70, 13], Operations: ['42/7=6', '78/6=13'] Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[42, 70, 78, 7], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [42, 78, 63] Generated Node #0,0: 83:[42, 78, 63] Operation: 70-7=63 Exploring Operation: 78+7=85, Resulting Numbers: [42, 70, 85] Generated Node #0,1: 83:[42, 70, 85] Operation: 78+7=85 Exploring Operation: 42+7=49, Resulting Numbers: [70, 78, 49] Generated Node #0,2: 83:[70, 78, 49] Operation: 42+7=49 Exploring Operation: 70+7=77, Resulting Numbers: [42, 78, 77] Generated Node #0,3: 83:[42, 78, 77] Operation: 70+7=77 Exploring Operation: 42-7=35, Resulting Numbers: [70, 78, 35] Generated Node #0,4: 83:[70, 78, 35] Operation: 42-7=35 Moving to Node #0,2 Current State: 83:[70, 78, 49], Operations: ['42+7=49'] Exploring Operation: 70+49=119, Resulting Numbers: [78, 119] Generated Node #0,2,0: 83:[78, 119] Operation: 70+49=119 Exploring Operation: 70-49=21, Resulting Numbers: [78, 21] Generated Node #0,2,1: 83:[78, 21] Operation: 70-49=21 Exploring Operation: 70+78=148, Resulting Numbers: [49, 148] Generated Node #0,2,2: 83:[49, 148] Operation: 70+78=148 Exploring Operation: 78-49=29, Resulting Numbers: [70, 29] Generated Node #0,2,3: 83:[70, 29] Operation: 78-49=29 Exploring Operation: 78+49=127, Resulting Numbers: [70, 127] Generated Node #0,2,4: 83:[70, 127] Operation: 78+49=127 Moving to Node #0,3 Current State: 83:[42, 78, 77], Operations: ['70+7=77'] Exploring Operation: 42+77=119, Resulting Numbers: [78, 119] Generated Node #0,3,0: 83:[78, 119] Operation: 42+77=119 Exploring Operation: 78-42=36, Resulting Numbers: [77, 36] Generated Node #0,3,1: 83:[77, 36] Operation: 78-42=36 Exploring Operation: 77-42=35, Resulting Numbers: [78, 35] Generated Node #0,3,2: 83:[78, 35] Operation: 77-42=35 Exploring Operation: 78+77=155, Resulting Numbers: [42, 155] Generated Node #0,3,3: 83:[42, 155] Operation: 78+77=155 Exploring Operation: 42+78=120, Resulting Numbers: [77, 120] Generated Node #0,3,4: 83:[77, 120] Operation: 42+78=120 Moving to Node #0,1 Current State: 83:[42, 70, 85], Operations: ['78+7=85'] Exploring Operation: 42+70=112, Resulting Numbers: [85, 112] Generated Node #0,1,0: 83:[85, 112] Operation: 42+70=112 Exploring Operation: 85-70=15, Resulting Numbers: [42, 15] Generated Node #0,1,1: 83:[42, 15] Operation: 85-70=15 Exploring Operation: 42+85=127, Resulting Numbers: [70, 127] Generated Node #0,1,2: 83:[70, 127] Operation: 42+85=127 Exploring Operation: 70-42=28, Resulting Numbers: [85, 28] Generated Node #0,1,3: 83:[85, 28] Operation: 70-42=28 Exploring Operation: 85-42=43, Resulting Numbers: [70, 43] Generated Node #0,1,4: 83:[70, 43] Operation: 85-42=43 Moving to Node #0,0 Current State: 83:[42, 78, 63], Operations: ['70-7=63'] Exploring Operation: 42+78=120, Resulting Numbers: [63, 120] Generated Node #0,0,0: 83:[63, 120] Operation: 42+78=120 Exploring Operation: 63-42=21, Resulting Numbers: [78, 21] Generated Node #0,0,1: 83:[78, 21] Operation: 63-42=21 Exploring Operation: 78+63=141, Resulting Numbers: [42, 141] Generated Node #0,0,2: 83:[42, 141] Operation: 78+63=141 Exploring Operation: 42+63=105, Resulting Numbers: [78, 105] Generated Node #0,0,3: 83:[78, 105] Operation: 42+63=105 Exploring Operation: 78-42=36, Resulting Numbers: [63, 36] Generated Node #0,0,4: 83:[63, 36] Operation: 78-42=36 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[78, 105], Operations: ['70-7=63', '42+63=105'] Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 78*105=8190, Resulting Numbers: [8190] 8190,83 unequal: No Solution Exploring Operation: 78+105=183, Resulting Numbers: [183] 183,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[63, 120], Operations: ['70-7=63', '42+78=120'] Exploring Operation: 120-63=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 63*120=7560, Resulting Numbers: [7560] 7560,83 unequal: No Solution Exploring Operation: 63+120=183, Resulting Numbers: [183] 183,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[78, 21], Operations: ['70-7=63', '63-42=21'] Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,83 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[63, 36], Operations: ['70-7=63', '78-42=36'] Exploring Operation: 63+36=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 63*36=2268, Resulting Numbers: [2268] 2268,83 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[42, 141], Operations: ['70-7=63', '78+63=141'] Exploring Operation: 42+141=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 141-42=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 42*141=5922, Resulting Numbers: [5922] 5922,83 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: 83:[70, 78, 35], Operations: ['42-7=35'] Exploring Operation: 70+35=105, Resulting Numbers: [78, 105] Generated Node #0,4,0: 83:[78, 105] Operation: 70+35=105 Exploring Operation: 78-35=43, Resulting Numbers: [70, 43] Generated Node #0,4,1: 83:[70, 43] Operation: 78-35=43 Exploring Operation: 70-35=35, Resulting Numbers: [78, 35] Generated Node #0,4,2: 83:[78, 35] Operation: 70-35=35 Exploring Operation: 70/35=2, Resulting Numbers: [78, 2] Generated Node #0,4,3: 83:[78, 2] Operation: 70/35=2 Exploring Operation: 78+35=113, Resulting Numbers: [70, 113] Generated Node #0,4,4: 83:[70, 113] Operation: 78+35=113 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 83:[78, 105], Operations: ['42-7=35', '70+35=105'] Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 78+105=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 78*105=8190, Resulting Numbers: [8190] 8190,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 83:[70, 113], Operations: ['42-7=35', '78+35=113'] Exploring Operation: 113-70=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 70+113=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 70*113=7910, Resulting Numbers: [7910] 7910,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 83:[70, 43], Operations: ['42-7=35', '78-35=43'] Exploring Operation: 70*43=3010, Resulting Numbers: [3010] 3010,83 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[78, 35], Operations: ['42-7=35', '70-35=35'] Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 83:[78, 2], Operations: ['42-7=35', '70/35=2'] Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,83 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: 83:[85, 112], Operations: ['78+7=85', '42+70=112'] Exploring Operation: 112-85=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 85*112=9520, Resulting Numbers: [9520] 9520,83 unequal: No Solution Exploring Operation: 85+112=197, Resulting Numbers: [197] 197,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[78, 119], Operations: ['70+7=77', '42+77=119'] Exploring Operation: 119-78=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 78*119=9282, Resulting Numbers: [9282] 9282,83 unequal: No Solution Exploring Operation: 78+119=197, Resulting Numbers: [197] 197,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[78, 119], Operations: ['42+7=49', '70+49=119'] Exploring Operation: 78*119=9282, Resulting Numbers: [9282] 9282,83 unequal: No Solution Exploring Operation: 119-78=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 78+119=197, Resulting Numbers: [197] 197,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[77, 120], Operations: ['70+7=77', '42+78=120'] Exploring Operation: 77*120=9240, Resulting Numbers: [9240] 9240,83 unequal: No Solution Exploring Operation: 77+120=197, Resulting Numbers: [197] 197,83 unequal: No Solution Exploring Operation: 120-77=43, Resulting Numbers: [43] 43,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[70, 43], Operations: ['78+7=85', '85-42=43'] Exploring Operation: 70*43=3010, Resulting Numbers: [3010] 3010,83 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[77, 36], Operations: ['70+7=77', '78-42=36'] Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,83 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[78, 35], Operations: ['70+7=77', '77-42=35'] Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,83 unequal: No Solution Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[85, 28], Operations: ['78+7=85', '70-42=28'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,83 unequal: No Solution Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[70, 127], Operations: ['78+7=85', '42+85=127'] Exploring Operation: 70*127=8890, Resulting Numbers: [8890] 8890,83 unequal: No Solution Exploring Operation: 70+127=197, Resulting Numbers: [197] 197,83 unequal: No Solution Exploring Operation: 127-70=57, Resulting Numbers: [57] 57,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[70, 127], Operations: ['42+7=49', '78+49=127'] Exploring Operation: 70+127=197, Resulting Numbers: [197] 197,83 unequal: No Solution Exploring Operation: 127-70=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 70*127=8890, Resulting Numbers: [8890] 8890,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[78, 21], Operations: ['42+7=49', '70-49=21'] Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,83 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[70, 29], Operations: ['42+7=49', '78-49=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,83 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[49, 148], Operations: ['42+7=49', '70+78=148'] Exploring Operation: 148-49=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 49*148=7252, Resulting Numbers: [7252] 7252,83 unequal: No Solution Exploring Operation: 49+148=197, Resulting Numbers: [197] 197,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[42, 15], Operations: ['78+7=85', '85-70=15'] Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[42, 155], Operations: ['70+7=77', '78+77=155'] Exploring Operation: 155-42=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 42+155=197, Resulting Numbers: [197] 197,83 unequal: No Solution Exploring Operation: 42*155=6510, Resulting Numbers: [6510] 6510,83 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 69, 79, 56, 67 ]
64
[ "79-56=23", "69/23=3", "67-3=64" ]
Current State: 64:[69, 79, 56, 67], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [69, 67, 23] Generated Node #2: [69, 67, 23] from Operation: 79-56=23 Current State: 64:[69, 67, 23], Operations: ['79-56=23'] Exploring Operation: 69/23=3, Resulting Numbers: [67, 3] Generated Node #3: [67, 3] from Operation: 69/23=3 Current State: 64:[67, 3], Operations: ['79-56=23', '69/23=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[69, 79, 56, 67], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [56, 67, 10] Generated Node #0,0: 64:[56, 67, 10] Operation: 79-69=10 Exploring Operation: 79-56=23, Resulting Numbers: [69, 67, 23] Generated Node #0,1: 64:[69, 67, 23] Operation: 79-56=23 Exploring Operation: 69-56=13, Resulting Numbers: [79, 67, 13] Generated Node #0,2: 64:[79, 67, 13] Operation: 69-56=13 Exploring Operation: 69-67=2, Resulting Numbers: [79, 56, 2] Generated Node #0,3: 64:[79, 56, 2] Operation: 69-67=2 Exploring Operation: 79-67=12, Resulting Numbers: [69, 56, 12] Generated Node #0,4: 64:[69, 56, 12] Operation: 79-67=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[56, 67, 10], Operations: ['79-69=10'] Exploring Operation: 67+10=77, Resulting Numbers: [56, 77] Generated Node #0,0,0: 64:[56, 77] Operation: 67+10=77 Exploring Operation: 56-10=46, Resulting Numbers: [67, 46] Generated Node #0,0,1: 64:[67, 46] Operation: 56-10=46 Exploring Operation: 56+10=66, Resulting Numbers: [67, 66] Generated Node #0,0,2: 64:[67, 66] Operation: 56+10=66 Exploring Operation: 67-10=57, Resulting Numbers: [56, 57] Generated Node #0,0,3: 64:[56, 57] Operation: 67-10=57 Exploring Operation: 67-56=11, Resulting Numbers: [10, 11] Generated Node #0,0,4: 64:[10, 11] Operation: 67-56=11 Moving to Node #0,0,2 Current State: 64:[67, 66], Operations: ['79-69=10', '56+10=66'] Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 67+66=133, Resulting Numbers: [133] 133,64 unequal: No Solution Exploring Operation: 67*66=4422, Resulting Numbers: [4422] 4422,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[10, 11], Operations: ['79-69=10', '67-56=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,64 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[56, 57], Operations: ['79-69=10', '67-10=57'] Exploring Operation: 56*57=3192, Resulting Numbers: [3192] 3192,64 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 56+57=113, Resulting Numbers: [113] 113,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[67, 46], Operations: ['79-69=10', '56-10=46'] Exploring Operation: 67*46=3082, Resulting Numbers: [3082] 3082,64 unequal: No Solution Exploring Operation: 67+46=113, Resulting Numbers: [113] 113,64 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[56, 77], Operations: ['79-69=10', '67+10=77'] Exploring Operation: 56+77=133, Resulting Numbers: [133] 133,64 unequal: No Solution Exploring Operation: 56*77=4312, Resulting Numbers: [4312] 4312,64 unequal: No Solution Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[69, 67, 23], Operations: ['79-56=23'] Exploring Operation: 69+23=92, Resulting Numbers: [67, 92] Generated Node #0,1,0: 64:[67, 92] Operation: 69+23=92 Exploring Operation: 67-23=44, Resulting Numbers: [69, 44] Generated Node #0,1,1: 64:[69, 44] Operation: 67-23=44 Exploring Operation: 69/23=3, Resulting Numbers: [67, 3] Generated Node #0,1,2: 64:[67, 3] Operation: 69/23=3 Exploring Operation: 69-23=46, Resulting Numbers: [67, 46] Generated Node #0,1,3: 64:[67, 46] Operation: 69-23=46 Exploring Operation: 69-67=2, Resulting Numbers: [23, 2] Generated Node #0,1,4: 64:[23, 2] Operation: 69-67=2 Moving to Node #0,1,2 Current State: 64:[67, 3], Operations: ['79-56=23', '69/23=3'] Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,64 unequal: No Solution Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[69, 79, 56, 67], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [69, 67, 23] Generated Node #0,1: 64:[69, 67, 23] Operation: 79-56=23 Moving to Node #0,1 Current State: 64:[69, 67, 23], Operations: ['79-56=23'] Exploring Operation: 69/23=3, Resulting Numbers: [67, 3] Generated Node #0,1,2: 64:[67, 3] Operation: 69/23=3 Moving to Node #0,1,2 Current State: 64:[67, 3], Operations: ['79-56=23', '69/23=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 95, 26, 93, 70 ]
46
[ "95-26=69", "93-70=23", "69-23=46" ]
Current State: 46:[95, 26, 93, 70], Operations: [] Exploring Operation: 95-26=69, Resulting Numbers: [93, 70, 69] Generated Node #2: [93, 70, 69] from Operation: 95-26=69 Current State: 46:[93, 70, 69], Operations: ['95-26=69'] Exploring Operation: 93-70=23, Resulting Numbers: [69, 23] Generated Node #3: [69, 23] from Operation: 93-70=23 Current State: 46:[69, 23], Operations: ['95-26=69', '93-70=23'] Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[95, 26, 93, 70], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [26, 93, 25] Generated Node #0,0: 46:[26, 93, 25] Operation: 95-70=25 Exploring Operation: 93-70=23, Resulting Numbers: [95, 26, 23] Generated Node #0,1: 46:[95, 26, 23] Operation: 93-70=23 Exploring Operation: 95-26=69, Resulting Numbers: [93, 70, 69] Generated Node #0,2: 46:[93, 70, 69] Operation: 95-26=69 Exploring Operation: 93-26=67, Resulting Numbers: [95, 70, 67] Generated Node #0,3: 46:[95, 70, 67] Operation: 93-26=67 Exploring Operation: 95-93=2, Resulting Numbers: [26, 70, 2] Generated Node #0,4: 46:[26, 70, 2] Operation: 95-93=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[26, 70, 2], Operations: ['95-93=2'] Exploring Operation: 70/2=35, Resulting Numbers: [26, 35] Generated Node #0,4,0: 46:[26, 35] Operation: 70/2=35 Exploring Operation: 26-2=24, Resulting Numbers: [70, 24] Generated Node #0,4,1: 46:[70, 24] Operation: 26-2=24 Exploring Operation: 70-2=68, Resulting Numbers: [26, 68] Generated Node #0,4,2: 46:[26, 68] Operation: 70-2=68 Exploring Operation: 26+2=28, Resulting Numbers: [70, 28] Generated Node #0,4,3: 46:[70, 28] Operation: 26+2=28 Exploring Operation: 70-26=44, Resulting Numbers: [2, 44] Generated Node #0,4,4: 46:[2, 44] Operation: 70-26=44 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 46:[2, 44], Operations: ['95-93=2', '70-26=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[95, 26, 93, 70], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [26, 70, 2] Generated Node #0,4: 46:[26, 70, 2] Operation: 95-93=2 Moving to Node #0,4 Current State: 46:[26, 70, 2], Operations: ['95-93=2'] Exploring Operation: 70-26=44, Resulting Numbers: [2, 44] Generated Node #0,4,4: 46:[2, 44] Operation: 70-26=44 Moving to Node #0,4,4 Current State: 46:[2, 44], Operations: ['95-93=2', '70-26=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 42, 46, 5, 6 ]
54
[ "46-42=4", "5+4=9", "6*9=54" ]
Current State: 54:[42, 46, 5, 6], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [5, 6, 4] Generated Node #2: [5, 6, 4] from Operation: 46-42=4 Current State: 54:[5, 6, 4], Operations: ['46-42=4'] Exploring Operation: 5+4=9, Resulting Numbers: [6, 9] Generated Node #3: [6, 9] from Operation: 5+4=9 Current State: 54:[6, 9], Operations: ['46-42=4', '5+4=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[42, 46, 5, 6], Operations: [] Exploring Operation: 46+5=51, Resulting Numbers: [42, 6, 51] Generated Node #0,0: 54:[42, 6, 51] Operation: 46+5=51 Exploring Operation: 42+6=48, Resulting Numbers: [46, 5, 48] Generated Node #0,1: 54:[46, 5, 48] Operation: 42+6=48 Exploring Operation: 42+5=47, Resulting Numbers: [46, 6, 47] Generated Node #0,2: 54:[46, 6, 47] Operation: 42+5=47 Exploring Operation: 46-42=4, Resulting Numbers: [5, 6, 4] Generated Node #0,3: 54:[5, 6, 4] Operation: 46-42=4 Exploring Operation: 42/6=7, Resulting Numbers: [46, 5, 7] Generated Node #0,4: 54:[46, 5, 7] Operation: 42/6=7 Moving to Node #0,3 Current State: 54:[5, 6, 4], Operations: ['46-42=4'] Exploring Operation: 6-4=2, Resulting Numbers: [5, 2] Generated Node #0,3,0: 54:[5, 2] Operation: 6-4=2 Exploring Operation: 5*4=20, Resulting Numbers: [6, 20] Generated Node #0,3,1: 54:[6, 20] Operation: 5*4=20 Exploring Operation: 5+4=9, Resulting Numbers: [6, 9] Generated Node #0,3,2: 54:[6, 9] Operation: 5+4=9 Exploring Operation: 6-5=1, Resulting Numbers: [4, 1] Generated Node #0,3,3: 54:[4, 1] Operation: 6-5=1 Exploring Operation: 5-4=1, Resulting Numbers: [6, 1] Generated Node #0,3,4: 54:[6, 1] Operation: 5-4=1 Moving to Node #0,4 Current State: 54:[46, 5, 7], Operations: ['42/6=7'] Exploring Operation: 46-7=39, Resulting Numbers: [5, 39] Generated Node #0,4,0: 54:[5, 39] Operation: 46-7=39 Exploring Operation: 46+5=51, Resulting Numbers: [7, 51] Generated Node #0,4,1: 54:[7, 51] Operation: 46+5=51 Exploring Operation: 5+7=12, Resulting Numbers: [46, 12] Generated Node #0,4,2: 54:[46, 12] Operation: 5+7=12 Exploring Operation: 46+7=53, Resulting Numbers: [5, 53] Generated Node #0,4,3: 54:[5, 53] Operation: 46+7=53 Exploring Operation: 7-5=2, Resulting Numbers: [46, 2] Generated Node #0,4,4: 54:[46, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 54:[5, 53], Operations: ['42/6=7', '46+7=53'] Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,54 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,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,4,1 Current State: 54:[7, 51], Operations: ['42/6=7', '46+5=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,54 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,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,4,4 Current State: 54:[46, 2], Operations: ['42/6=7', '7-5=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,54 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,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,4,2 Current State: 54:[46, 12], Operations: ['42/6=7', '5+7=12'] Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,54 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,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,4,0 Current State: 54:[5, 39], Operations: ['42/6=7', '46-7=39'] Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,54 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,54 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: 54:[42, 6, 51], Operations: ['46+5=51'] Exploring Operation: 42+6=48, Resulting Numbers: [51, 48] Generated Node #0,0,0: 54:[51, 48] Operation: 42+6=48 Exploring Operation: 42/6=7, Resulting Numbers: [51, 7] Generated Node #0,0,1: 54:[51, 7] Operation: 42/6=7 Exploring Operation: 51-42=9, Resulting Numbers: [6, 9] Generated Node #0,0,2: 54:[6, 9] Operation: 51-42=9 Exploring Operation: 42-6=36, Resulting Numbers: [51, 36] Generated Node #0,0,3: 54:[51, 36] Operation: 42-6=36 Exploring Operation: 6+51=57, Resulting Numbers: [42, 57] Generated Node #0,0,4: 54:[42, 57] Operation: 6+51=57 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[6, 9], Operations: ['46+5=51', '51-42=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[42, 46, 5, 6], Operations: [] Exploring Operation: 46+5=51, Resulting Numbers: [42, 6, 51] Generated Node #0,0: 54:[42, 6, 51] Operation: 46+5=51 Moving to Node #0,0 Current State: 54:[42, 6, 51], Operations: ['46+5=51'] Exploring Operation: 51-42=9, Resulting Numbers: [6, 9] Generated Node #0,0,2: 54:[6, 9] Operation: 51-42=9 Moving to Node #0,0,2 Current State: 54:[6, 9], Operations: ['46+5=51', '51-42=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 36, 78, 61, 9 ]
10
[ "78-36=42", "61-9=52", "52-42=10" ]
Current State: 10:[36, 78, 61, 9], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [61, 9, 42] Generated Node #2: [61, 9, 42] from Operation: 78-36=42 Current State: 10:[61, 9, 42], Operations: ['78-36=42'] Exploring Operation: 61-9=52, Resulting Numbers: [42, 52] Generated Node #3: [42, 52] from Operation: 61-9=52 Current State: 10:[42, 52], Operations: ['78-36=42', '61-9=52'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[36, 78, 61, 9], Operations: [] Exploring Operation: 78-61=17, Resulting Numbers: [36, 9, 17] Generated Node #0,0: 10:[36, 9, 17] Operation: 78-61=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[36, 9, 17], Operations: ['78-61=17'] Exploring Operation: 36/9=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 10:[17, 4] Operation: 36/9=4 Moving to Node #0,0,0 Current State: 10:[17, 4], Operations: ['78-61=17', '36/9=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,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
sum_heuristic
[ 97, 71, 74, 9 ]
100
[ "74-71=3", "9/3=3", "97+3=100" ]
Current State: 100:[97, 71, 74, 9], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [97, 9, 3] Generated Node #2: [97, 9, 3] from Operation: 74-71=3 Current State: 100:[97, 9, 3], Operations: ['74-71=3'] Exploring Operation: 9/3=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 9/3=3 Current State: 100:[97, 3], Operations: ['74-71=3', '9/3=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[97, 71, 74, 9], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [71, 9, 23] Generated Node #0,0: 100:[71, 9, 23] Operation: 97-74=23 Exploring Operation: 97-71=26, Resulting Numbers: [74, 9, 26] Generated Node #0,1: 100:[74, 9, 26] Operation: 97-71=26 Exploring Operation: 74-71=3, Resulting Numbers: [97, 9, 3] Generated Node #0,2: 100:[97, 9, 3] Operation: 74-71=3 Moving to Node #0,2 Current State: 100:[97, 9, 3], Operations: ['74-71=3'] Exploring Operation: 97+3=100, Resulting Numbers: [9, 100] Generated Node #0,2,0: 100:[9, 100] Operation: 97+3=100 Exploring Operation: 9/3=3, Resulting Numbers: [97, 3] Generated Node #0,2,1: 100:[97, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [97, 6] Generated Node #0,2,2: 100:[97, 6] Operation: 9-3=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[9, 100], Operations: ['74-71=3', '97+3=100'] Exploring Operation: 9+100=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 100-9=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 9*100=900, Resulting Numbers: [900] 900,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:[97, 3], Operations: ['74-71=3', '9/3=3'] Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,100 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[97, 71, 74, 9], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [97, 9, 3] Generated Node #0,2: 100:[97, 9, 3] Operation: 74-71=3 Moving to Node #0,2 Current State: 100:[97, 9, 3], Operations: ['74-71=3'] Exploring Operation: 9/3=3, Resulting Numbers: [97, 3] Generated Node #0,2,1: 100:[97, 3] Operation: 9/3=3 Moving to Node #0,2,1 Current State: 100:[97, 3], Operations: ['74-71=3', '9/3=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 58, 47, 60, 5 ]
99
[ "60-58=2", "47*2=94", "5+94=99" ]
Current State: 99:[58, 47, 60, 5], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [47, 5, 2] Generated Node #2: [47, 5, 2] from Operation: 60-58=2 Current State: 99:[47, 5, 2], Operations: ['60-58=2'] Exploring Operation: 47*2=94, Resulting Numbers: [5, 94] Generated Node #3: [5, 94] from Operation: 47*2=94 Current State: 99:[5, 94], Operations: ['60-58=2', '47*2=94'] Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[58, 47, 60, 5], Operations: [] Exploring Operation: 58+47=105, Resulting Numbers: [60, 5, 105] Generated Node #0,0: 99:[60, 5, 105] Operation: 58+47=105 Exploring Operation: 60-58=2, Resulting Numbers: [47, 5, 2] Generated Node #0,1: 99:[47, 5, 2] Operation: 60-58=2 Exploring Operation: 60-47=13, Resulting Numbers: [58, 5, 13] Generated Node #0,2: 99:[58, 5, 13] Operation: 60-47=13 Exploring Operation: 58-47=11, Resulting Numbers: [60, 5, 11] Generated Node #0,3: 99:[60, 5, 11] Operation: 58-47=11 Moving to Node #0,1 Current State: 99:[47, 5, 2], Operations: ['60-58=2'] Exploring Operation: 47*2=94, Resulting Numbers: [5, 94] Generated Node #0,1,0: 99:[5, 94] Operation: 47*2=94 Exploring Operation: 47-2=45, Resulting Numbers: [5, 45] Generated Node #0,1,1: 99:[5, 45] Operation: 47-2=45 Exploring Operation: 47-5=42, Resulting Numbers: [2, 42] Generated Node #0,1,2: 99:[2, 42] Operation: 47-5=42 Exploring Operation: 5-2=3, Resulting Numbers: [47, 3] Generated Node #0,1,3: 99:[47, 3] Operation: 5-2=3 Moving to Node #0,3 Current State: 99:[60, 5, 11], Operations: ['58-47=11'] Exploring Operation: 60-5=55, Resulting Numbers: [11, 55] Generated Node #0,3,0: 99:[11, 55] Operation: 60-5=55 Exploring Operation: 60+11=71, Resulting Numbers: [5, 71] Generated Node #0,3,1: 99:[5, 71] Operation: 60+11=71 Exploring Operation: 60-11=49, Resulting Numbers: [5, 49] Generated Node #0,3,2: 99:[5, 49] Operation: 60-11=49 Exploring Operation: 60/5=12, Resulting Numbers: [11, 12] Generated Node #0,3,3: 99:[11, 12] Operation: 60/5=12 Moving to Node #0,2 Current State: 99:[58, 5, 13], Operations: ['60-47=13'] Exploring Operation: 58-5=53, Resulting Numbers: [13, 53] Generated Node #0,2,0: 99:[13, 53] Operation: 58-5=53 Exploring Operation: 58+13=71, Resulting Numbers: [5, 71] Generated Node #0,2,1: 99:[5, 71] Operation: 58+13=71 Exploring Operation: 13-5=8, Resulting Numbers: [58, 8] Generated Node #0,2,2: 99:[58, 8] Operation: 13-5=8 Exploring Operation: 58-13=45, Resulting Numbers: [5, 45] Generated Node #0,2,3: 99:[5, 45] Operation: 58-13=45 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[5, 45], Operations: ['60-47=13', '58-13=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,99 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[13, 53], Operations: ['60-47=13', '58-5=53'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 13*53=689, Resulting Numbers: [689] 689,99 unequal: No Solution Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[58, 8], Operations: ['60-47=13', '13-5=8'] Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,99 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[5, 71], Operations: ['60-47=13', '58+13=71'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,99 unequal: No Solution Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,99 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,99 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: 99:[60, 5, 105], Operations: ['58+47=105'] Exploring Operation: 105-5=100, Resulting Numbers: [60, 100] Generated Node #0,0,0: 99:[60, 100] Operation: 105-5=100 Exploring Operation: 60/5=12, Resulting Numbers: [105, 12] Generated Node #0,0,1: 99:[105, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [105, 55] Generated Node #0,0,2: 99:[105, 55] Operation: 60-5=55 Exploring Operation: 105-60=45, Resulting Numbers: [5, 45] Generated Node #0,0,3: 99:[5, 45] Operation: 105-60=45 Moving to Node #0,3,3 Current State: 99:[11, 12], Operations: ['58-47=11', '60/5=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[5, 94], Operations: ['60-58=2', '47*2=94'] Exploring Operation: 5*94=470, Resulting Numbers: [470] 470,99 unequal: No Solution Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,99 unequal: No Solution Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[58, 47, 60, 5], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [47, 5, 2] Generated Node #0,1: 99:[47, 5, 2] Operation: 60-58=2 Moving to Node #0,1 Current State: 99:[47, 5, 2], Operations: ['60-58=2'] Exploring Operation: 47*2=94, Resulting Numbers: [5, 94] Generated Node #0,1,0: 99:[5, 94] Operation: 47*2=94 Moving to Node #0,1,0 Current State: 99:[5, 94], Operations: ['60-58=2', '47*2=94'] Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.962674
hs_4
mult_heuristic
[ 92, 97, 4, 94 ]
20
[ "92/4=23", "97-94=3", "23-3=20" ]
Current State: 20:[92, 97, 4, 94], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [97, 94, 23] Generated Node #2: [97, 94, 23] from Operation: 92/4=23 Current State: 20:[97, 94, 23], Operations: ['92/4=23'] Exploring Operation: 97-94=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 97-94=3 Current State: 20:[23, 3], Operations: ['92/4=23', '97-94=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[92, 97, 4, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [92, 4, 3] Generated Node #0,0: 20:[92, 4, 3] Operation: 97-94=3 Exploring Operation: 94-92=2, Resulting Numbers: [97, 4, 2] Generated Node #0,1: 20:[97, 4, 2] Operation: 94-92=2 Exploring Operation: 97-92=5, Resulting Numbers: [4, 94, 5] Generated Node #0,2: 20:[4, 94, 5] Operation: 97-92=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[92, 4, 3], Operations: ['97-94=3'] Exploring Operation: 92-3=89, Resulting Numbers: [4, 89] Generated Node #0,0,0: 20:[4, 89] Operation: 92-3=89 Exploring Operation: 92-4=88, Resulting Numbers: [3, 88] Generated Node #0,0,1: 20:[3, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [3, 23] Generated Node #0,0,2: 20:[3, 23] Operation: 92/4=23 Moving to Node #0,0,2 Current State: 20:[3, 23], Operations: ['97-94=3', '92/4=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,20 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[92, 97, 4, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [92, 4, 3] Generated Node #0,0: 20:[92, 4, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 20:[92, 4, 3], Operations: ['97-94=3'] Exploring Operation: 92/4=23, Resulting Numbers: [3, 23] Generated Node #0,0,2: 20:[3, 23] Operation: 92/4=23 Moving to Node #0,0,2 Current State: 20:[3, 23], Operations: ['97-94=3', '92/4=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 89, 84, 87, 49 ]
70
[ "89-87=2", "84-49=35", "2*35=70" ]
Current State: 70:[89, 84, 87, 49], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [84, 49, 2] Generated Node #2: [84, 49, 2] from Operation: 89-87=2 Current State: 70:[84, 49, 2], Operations: ['89-87=2'] Exploring Operation: 84-49=35, Resulting Numbers: [2, 35] Generated Node #3: [2, 35] from Operation: 84-49=35 Current State: 70:[2, 35], Operations: ['89-87=2', '84-49=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[89, 84, 87, 49], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [84, 49, 2] Generated Node #0,0: 70:[84, 49, 2] Operation: 89-87=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[84, 49, 2], Operations: ['89-87=2'] Exploring Operation: 84-49=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 70:[2, 35] Operation: 84-49=35 Moving to Node #0,0,0 Current State: 70:[2, 35], Operations: ['89-87=2', '84-49=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[89, 84, 87, 49], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [84, 49, 2] Generated Node #0,0: 70:[84, 49, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 70:[84, 49, 2], Operations: ['89-87=2'] Exploring Operation: 84-49=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 70:[2, 35] Operation: 84-49=35 Moving to Node #0,0,0 Current State: 70:[2, 35], Operations: ['89-87=2', '84-49=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 70, 3, 93 ]
80
[ "41+70=111", "93/3=31", "111-31=80" ]
Current State: 80:[41, 70, 3, 93], Operations: [] Exploring Operation: 41+70=111, Resulting Numbers: [3, 93, 111] Generated Node #2: [3, 93, 111] from Operation: 41+70=111 Current State: 80:[3, 93, 111], Operations: ['41+70=111'] Exploring Operation: 93/3=31, Resulting Numbers: [111, 31] Generated Node #3: [111, 31] from Operation: 93/3=31 Current State: 80:[111, 31], Operations: ['41+70=111', '93/3=31'] Exploring Operation: 111-31=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[41, 70, 3, 93], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [41, 3, 23] Generated Node #0,0: 80:[41, 3, 23] Operation: 93-70=23 Exploring Operation: 93/3=31, Resulting Numbers: [41, 70, 31] Generated Node #0,1: 80:[41, 70, 31] Operation: 93/3=31 Moving to Node #0,0 Current State: 80:[41, 3, 23], Operations: ['93-70=23'] Exploring Operation: 23-3=20, Resulting Numbers: [41, 20] Generated Node #0,0,0: 80:[41, 20] Operation: 23-3=20 Exploring Operation: 41-23=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 80:[3, 18] Operation: 41-23=18 Moving to Node #0,1 Current State: 80:[41, 70, 31], Operations: ['93/3=31'] Exploring Operation: 70-31=39, Resulting Numbers: [41, 39] Generated Node #0,1,0: 80:[41, 39] Operation: 70-31=39 Exploring Operation: 41-31=10, Resulting Numbers: [70, 10] Generated Node #0,1,1: 80:[70, 10] Operation: 41-31=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[41, 39], Operations: ['93/3=31', '70-31=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[41, 70, 3, 93], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [41, 70, 31] Generated Node #0,1: 80:[41, 70, 31] Operation: 93/3=31 Moving to Node #0,1 Current State: 80:[41, 70, 31], Operations: ['93/3=31'] Exploring Operation: 70-31=39, Resulting Numbers: [41, 39] Generated Node #0,1,0: 80:[41, 39] Operation: 70-31=39 Moving to Node #0,1,0 Current State: 80:[41, 39], Operations: ['93/3=31', '70-31=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 43, 67, 21, 26 ]
85
[ "67*26=1742", "43+1742=1785", "1785/21=85" ]
Current State: 85:[43, 67, 21, 26], Operations: [] Exploring Operation: 67*26=1742, Resulting Numbers: [43, 21, 1742] Generated Node #2: [43, 21, 1742] from Operation: 67*26=1742 Current State: 85:[43, 21, 1742], Operations: ['67*26=1742'] Exploring Operation: 43+1742=1785, Resulting Numbers: [21, 1785] Generated Node #3: [21, 1785] from Operation: 43+1742=1785 Current State: 85:[21, 1785], Operations: ['67*26=1742', '43+1742=1785'] Exploring Operation: 1785/21=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[43, 67, 21, 26], Operations: [] Exploring Operation: 67-43=24, Resulting Numbers: [21, 26, 24] Generated Node #0,0: 85:[21, 26, 24] Operation: 67-43=24 Exploring Operation: 43-21=22, Resulting Numbers: [67, 26, 22] Generated Node #0,1: 85:[67, 26, 22] Operation: 43-21=22 Exploring Operation: 43+67=110, Resulting Numbers: [21, 26, 110] Generated Node #0,2: 85:[21, 26, 110] Operation: 43+67=110 Exploring Operation: 43-26=17, Resulting Numbers: [67, 21, 17] Generated Node #0,3: 85:[67, 21, 17] Operation: 43-26=17 Moving to Node #0,0 Current State: 85:[21, 26, 24], Operations: ['67-43=24'] Exploring Operation: 24-21=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 85:[26, 3] Operation: 24-21=3 Exploring Operation: 26-24=2, Resulting Numbers: [21, 2] Generated Node #0,0,1: 85:[21, 2] Operation: 26-24=2 Exploring Operation: 26-21=5, Resulting Numbers: [24, 5] Generated Node #0,0,2: 85:[24, 5] Operation: 26-21=5 Exploring Operation: 21+26=47, Resulting Numbers: [24, 47] Generated Node #0,0,3: 85:[24, 47] Operation: 21+26=47 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[21, 2], Operations: ['67-43=24', '26-24=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[24, 5], Operations: ['67-43=24', '26-21=5'] Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,85 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[26, 3], Operations: ['67-43=24', '24-21=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,85 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 85:[24, 47], Operations: ['67-43=24', '21+26=47'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,85 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: 85:[67, 21, 17], Operations: ['43-26=17'] Exploring Operation: 67-21=46, Resulting Numbers: [17, 46] Generated Node #0,3,0: 85:[17, 46] Operation: 67-21=46 Exploring Operation: 67+21=88, Resulting Numbers: [17, 88] Generated Node #0,3,1: 85:[17, 88] Operation: 67+21=88 Exploring Operation: 21-17=4, Resulting Numbers: [67, 4] Generated Node #0,3,2: 85:[67, 4] Operation: 21-17=4 Exploring Operation: 67+17=84, Resulting Numbers: [21, 84] Generated Node #0,3,3: 85:[21, 84] Operation: 67+17=84 Moving to Node #0,1 Current State: 85:[67, 26, 22], Operations: ['43-21=22'] Exploring Operation: 67-26=41, Resulting Numbers: [22, 41] Generated Node #0,1,0: 85:[22, 41] Operation: 67-26=41 Exploring Operation: 26-22=4, Resulting Numbers: [67, 4] Generated Node #0,1,1: 85:[67, 4] Operation: 26-22=4 Exploring Operation: 67+26=93, Resulting Numbers: [22, 93] Generated Node #0,1,2: 85:[22, 93] Operation: 67+26=93 Exploring Operation: 67+22=89, Resulting Numbers: [26, 89] Generated Node #0,1,3: 85:[26, 89] Operation: 67+22=89 Moving to Node #0,2 Current State: 85:[21, 26, 110], Operations: ['43+67=110'] Exploring Operation: 26-21=5, Resulting Numbers: [110, 5] Generated Node #0,2,0: 85:[110, 5] Operation: 26-21=5 Exploring Operation: 110-26=84, Resulting Numbers: [21, 84] Generated Node #0,2,1: 85:[21, 84] Operation: 110-26=84 Exploring Operation: 21+26=47, Resulting Numbers: [110, 47] Generated Node #0,2,2: 85:[110, 47] Operation: 21+26=47 Exploring Operation: 110-21=89, Resulting Numbers: [26, 89] Generated Node #0,2,3: 85:[26, 89] Operation: 110-21=89 Moving to Node #0,3,1 Current State: 85:[17, 88], Operations: ['43-26=17', '67+21=88'] Exploring Operation: 17+88=105, Resulting Numbers: [105] 105,85 unequal: No Solution Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 17*88=1496, Resulting Numbers: [1496] 1496,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[21, 84], Operations: ['43-26=17', '67+17=84'] Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,85 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 21*84=1764, Resulting Numbers: [1764] 1764,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[21, 84], Operations: ['43+67=110', '110-26=84'] Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,85 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 21*84=1764, Resulting Numbers: [1764] 1764,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[26, 89], Operations: ['43-21=22', '67+22=89'] Exploring Operation: 26*89=2314, Resulting Numbers: [2314] 2314,85 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[22, 93], Operations: ['43-21=22', '67+26=93'] Exploring Operation: 22+93=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 22*93=2046, Resulting Numbers: [2046] 2046,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[26, 89], Operations: ['43+67=110', '110-21=89'] Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 26*89=2314, Resulting Numbers: [2314] 2314,85 unequal: No Solution Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[67, 4], Operations: ['43-21=22', '26-22=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[67, 4], Operations: ['43-26=17', '21-17=4'] Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,85 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[110, 5], Operations: ['43+67=110', '26-21=5'] Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,85 unequal: No Solution Exploring Operation: 110+5=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,85 unequal: No Solution Exploring Operation: 110*5=550, Resulting Numbers: [550] 550,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[17, 46], Operations: ['43-26=17', '67-21=46'] Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[22, 41], Operations: ['43-21=22', '67-26=41'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[110, 47], Operations: ['43+67=110', '21+26=47'] Exploring Operation: 110*47=5170, Resulting Numbers: [5170] 5170,85 unequal: No Solution Exploring Operation: 110+47=157, Resulting Numbers: [157] 157,85 unequal: No Solution Exploring Operation: 110-47=63, Resulting Numbers: [63] 63,85 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 96, 11, 12, 15 ]
48
[ "15-11=4", "12*4=48", "96-48=48" ]
Current State: 48:[96, 11, 12, 15], Operations: [] Exploring Operation: 15-11=4, Resulting Numbers: [96, 12, 4] Generated Node #2: [96, 12, 4] from Operation: 15-11=4 Current State: 48:[96, 12, 4], Operations: ['15-11=4'] Exploring Operation: 12*4=48, Resulting Numbers: [96, 48] Generated Node #3: [96, 48] from Operation: 12*4=48 Current State: 48:[96, 48], Operations: ['15-11=4', '12*4=48'] Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[96, 11, 12, 15], Operations: [] Exploring Operation: 96-15=81, Resulting Numbers: [11, 12, 81] Generated Node #0,0: 48:[11, 12, 81] Operation: 96-15=81 Exploring Operation: 96/12=8, Resulting Numbers: [11, 15, 8] Generated Node #0,1: 48:[11, 15, 8] Operation: 96/12=8 Moving to Node #0,1 Current State: 48:[11, 15, 8], Operations: ['96/12=8'] Exploring Operation: 11-8=3, Resulting Numbers: [15, 3] Generated Node #0,1,0: 48:[15, 3] Operation: 11-8=3 Exploring Operation: 15-11=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 48:[8, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[8, 4], Operations: ['96/12=8', '15-11=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[15, 3], Operations: ['96/12=8', '11-8=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,48 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: 48:[11, 12, 81], Operations: ['96-15=81'] Exploring Operation: 81-11=70, Resulting Numbers: [12, 70] Generated Node #0,0,0: 48:[12, 70] Operation: 81-11=70 Exploring Operation: 81-12=69, Resulting Numbers: [11, 69] Generated Node #0,0,1: 48:[11, 69] Operation: 81-12=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[12, 70], Operations: ['96-15=81', '81-11=70'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[11, 69], Operations: ['96-15=81', '81-12=69'] Exploring Operation: 11+69=80, Resulting Numbers: [80] 80,48 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,48 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, 83, 21, 84 ]
73
[ "39*84=3276", "3276/21=156", "156-83=73" ]
Current State: 73:[39, 83, 21, 84], Operations: [] Exploring Operation: 39*84=3276, Resulting Numbers: [83, 21, 3276] Generated Node #2: [83, 21, 3276] from Operation: 39*84=3276 Current State: 73:[83, 21, 3276], Operations: ['39*84=3276'] Exploring Operation: 3276/21=156, Resulting Numbers: [83, 156] Generated Node #3: [83, 156] from Operation: 3276/21=156 Current State: 73:[83, 156], Operations: ['39*84=3276', '3276/21=156'] Exploring Operation: 156-83=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[39, 83, 21, 84], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [39, 83, 63] Generated Node #0,0: 73:[39, 83, 63] Operation: 84-21=63 Exploring Operation: 39+21=60, Resulting Numbers: [83, 84, 60] Generated Node #0,1: 73:[83, 84, 60] Operation: 39+21=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[83, 84, 60], Operations: ['39+21=60'] Exploring Operation: 84-60=24, Resulting Numbers: [83, 24] Generated Node #0,1,0: 73:[83, 24] Operation: 84-60=24 Exploring Operation: 83-60=23, Resulting Numbers: [84, 23] Generated Node #0,1,1: 73:[84, 23] Operation: 83-60=23 Moving to Node #0,1,0 Current State: 73:[83, 24], Operations: ['39+21=60', '84-60=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[84, 23], Operations: ['39+21=60', '83-60=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[39, 83, 63], Operations: ['84-21=63'] Exploring Operation: 83-39=44, Resulting Numbers: [63, 44] Generated Node #0,0,0: 73:[63, 44] Operation: 83-39=44 Exploring Operation: 39+63=102, Resulting Numbers: [83, 102] Generated Node #0,0,1: 73:[83, 102] Operation: 39+63=102 Moving to Node #0,0,0 Current State: 73:[63, 44], Operations: ['84-21=63', '83-39=44'] Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 63+44=107, Resulting Numbers: [107] 107,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[83, 102], Operations: ['84-21=63', '39+63=102'] Exploring Operation: 83+102=185, Resulting Numbers: [185] 185,73 unequal: No Solution Exploring Operation: 102-83=19, Resulting Numbers: [19] 19,73 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
[ 43, 53, 17, 10 ]
16
[ "53-43=10", "10/10=1", "17-1=16" ]
Current State: 16:[43, 53, 17, 10], Operations: [] Exploring Operation: 53-43=10, Resulting Numbers: [17, 10, 10] Generated Node #2: [17, 10, 10] from Operation: 53-43=10 Current State: 16:[17, 10, 10], Operations: ['53-43=10'] Exploring Operation: 10/10=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 10/10=1 Current State: 16:[17, 1], Operations: ['53-43=10', '10/10=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[43, 53, 17, 10], Operations: [] Exploring Operation: 53-43=10, Resulting Numbers: [17, 10, 10] Generated Node #0,0: 16:[17, 10, 10] Operation: 53-43=10 Exploring Operation: 43-17=26, Resulting Numbers: [53, 10, 26] Generated Node #0,1: 16:[53, 10, 26] Operation: 43-17=26 Moving to Node #0,0 Current State: 16:[17, 10, 10], Operations: ['53-43=10'] Exploring Operation: 10/10=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 16:[17, 1] Operation: 10/10=1 Exploring Operation: 17-10=7, Resulting Numbers: [10, 7] Generated Node #0,0,1: 16:[10, 7] Operation: 17-10=7 Moving to Node #0,1 Current State: 16:[53, 10, 26], Operations: ['43-17=26'] Exploring Operation: 53-26=27, Resulting Numbers: [10, 27] Generated Node #0,1,0: 16:[10, 27] Operation: 53-26=27 Exploring Operation: 53-10=43, Resulting Numbers: [26, 43] Generated Node #0,1,1: 16:[26, 43] Operation: 53-10=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[10, 27], Operations: ['43-17=26', '53-26=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[26, 43], Operations: ['43-17=26', '53-10=43'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 16:[17, 1], Operations: ['53-43=10', '10/10=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[43, 53, 17, 10], Operations: [] Exploring Operation: 53-43=10, Resulting Numbers: [17, 10, 10] Generated Node #0,0: 16:[17, 10, 10] Operation: 53-43=10 Moving to Node #0,0 Current State: 16:[17, 10, 10], Operations: ['53-43=10'] Exploring Operation: 10/10=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 16:[17, 1] Operation: 10/10=1 Moving to Node #0,0,0 Current State: 16:[17, 1], Operations: ['53-43=10', '10/10=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 50, 51, 11, 78 ]
53
[ "50-11=39", "78/39=2", "51+2=53" ]
Current State: 53:[50, 51, 11, 78], Operations: [] Exploring Operation: 50-11=39, Resulting Numbers: [51, 78, 39] Generated Node #2: [51, 78, 39] from Operation: 50-11=39 Current State: 53:[51, 78, 39], Operations: ['50-11=39'] Exploring Operation: 78/39=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 78/39=2 Current State: 53:[51, 2], Operations: ['50-11=39', '78/39=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[50, 51, 11, 78], Operations: [] Exploring Operation: 50+11=61, Resulting Numbers: [51, 78, 61] Generated Node #0,0: 53:[51, 78, 61] Operation: 50+11=61 Exploring Operation: 51+11=62, Resulting Numbers: [50, 78, 62] Generated Node #0,1: 53:[50, 78, 62] Operation: 51+11=62 Exploring Operation: 78-11=67, Resulting Numbers: [50, 51, 67] Generated Node #0,2: 53:[50, 51, 67] Operation: 78-11=67 Moving to Node #0,2 Current State: 53:[50, 51, 67], Operations: ['78-11=67'] Exploring Operation: 67-50=17, Resulting Numbers: [51, 17] Generated Node #0,2,0: 53:[51, 17] Operation: 67-50=17 Exploring Operation: 67-51=16, Resulting Numbers: [50, 16] Generated Node #0,2,1: 53:[50, 16] Operation: 67-51=16 Exploring Operation: 50+51=101, Resulting Numbers: [67, 101] Generated Node #0,2,2: 53:[67, 101] Operation: 50+51=101 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[51, 17], Operations: ['78-11=67', '67-50=17'] Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[50, 16], Operations: ['78-11=67', '67-51=16'] Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,53 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[67, 101], Operations: ['78-11=67', '50+51=101'] Exploring Operation: 101-67=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 67*101=6767, Resulting Numbers: [6767] 6767,53 unequal: No Solution Exploring Operation: 67+101=168, Resulting Numbers: [168] 168,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 53:[51, 78, 61], Operations: ['50+11=61'] Exploring Operation: 78-61=17, Resulting Numbers: [51, 17] Generated Node #0,0,0: 53:[51, 17] Operation: 78-61=17 Exploring Operation: 78-51=27, Resulting Numbers: [61, 27] Generated Node #0,0,1: 53:[61, 27] Operation: 78-51=27 Exploring Operation: 61-51=10, Resulting Numbers: [78, 10] Generated Node #0,0,2: 53:[78, 10] Operation: 61-51=10 Moving to Node #0,1 Current State: 53:[50, 78, 62], Operations: ['51+11=62'] Exploring Operation: 78-62=16, Resulting Numbers: [50, 16] Generated Node #0,1,0: 53:[50, 16] Operation: 78-62=16 Exploring Operation: 62-50=12, Resulting Numbers: [78, 12] Generated Node #0,1,1: 53:[78, 12] Operation: 62-50=12 Exploring Operation: 78-50=28, Resulting Numbers: [62, 28] Generated Node #0,1,2: 53:[62, 28] Operation: 78-50=28 Moving to Node #0,0,1 Current State: 53:[61, 27], Operations: ['50+11=61', '78-51=27'] Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,53 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[62, 28], Operations: ['51+11=62', '78-50=28'] Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,53 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[51, 17], Operations: ['50+11=61', '78-61=17'] Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[50, 16], Operations: ['51+11=62', '78-62=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,53 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[78, 12], Operations: ['51+11=62', '62-50=12'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[78, 10], Operations: ['50+11=61', '61-51=10'] Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,53 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 58, 29, 70, 35 ]
27
[ "58-29=29", "70/35=2", "29-2=27" ]
Current State: 27:[58, 29, 70, 35], Operations: [] Exploring Operation: 58-29=29, Resulting Numbers: [70, 35, 29] Generated Node #2: [70, 35, 29] from Operation: 58-29=29 Current State: 27:[70, 35, 29], Operations: ['58-29=29'] Exploring Operation: 70/35=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 70/35=2 Current State: 27:[29, 2], Operations: ['58-29=29', '70/35=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[58, 29, 70, 35], Operations: [] Exploring Operation: 70-35=35, Resulting Numbers: [58, 29, 35] Generated Node #0,0: 27:[58, 29, 35] Operation: 70-35=35 Exploring Operation: 58-35=23, Resulting Numbers: [29, 70, 23] Generated Node #0,1: 27:[29, 70, 23] Operation: 58-35=23 Exploring Operation: 70/35=2, Resulting Numbers: [58, 29, 2] Generated Node #0,2: 27:[58, 29, 2] Operation: 70/35=2 Exploring Operation: 70-58=12, Resulting Numbers: [29, 35, 12] Generated Node #0,3: 27:[29, 35, 12] Operation: 70-58=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[29, 35, 12], Operations: ['70-58=12'] Exploring Operation: 35-12=23, Resulting Numbers: [29, 23] Generated Node #0,3,0: 27:[29, 23] Operation: 35-12=23 Exploring Operation: 29+12=41, Resulting Numbers: [35, 41] Generated Node #0,3,1: 27:[35, 41] Operation: 29+12=41 Exploring Operation: 29-12=17, Resulting Numbers: [35, 17] Generated Node #0,3,2: 27:[35, 17] Operation: 29-12=17 Exploring Operation: 35-29=6, Resulting Numbers: [12, 6] Generated Node #0,3,3: 27:[12, 6] Operation: 35-29=6 Moving to Node #0,3,0 Current State: 27:[29, 23], Operations: ['70-58=12', '35-12=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[12, 6], Operations: ['70-58=12', '35-29=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[35, 17], Operations: ['70-58=12', '29-12=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[35, 41], Operations: ['70-58=12', '29+12=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,27 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,27 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,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,2 Current State: 27:[58, 29, 2], Operations: ['70/35=2'] Exploring Operation: 58-2=56, Resulting Numbers: [29, 56] Generated Node #0,2,0: 27:[29, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [29, 29] Generated Node #0,2,1: 27:[29, 29] Operation: 58/2=29 Exploring Operation: 58/29=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 27:[2, 2] Operation: 58/29=2 Exploring Operation: 58-29=29, Resulting Numbers: [2, 29] Generated Node #0,2,3: 27:[2, 29] Operation: 58-29=29 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 27:[2, 2], Operations: ['70/35=2', '58/29=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,27 unequal: No Solution No 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: 27:[2, 29], Operations: ['70/35=2', '58-29=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[58, 29, 70, 35], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [58, 29, 2] Generated Node #0,2: 27:[58, 29, 2] Operation: 70/35=2 Moving to Node #0,2 Current State: 27:[58, 29, 2], Operations: ['70/35=2'] Exploring Operation: 58-29=29, Resulting Numbers: [2, 29] Generated Node #0,2,3: 27:[2, 29] Operation: 58-29=29 Moving to Node #0,2,3 Current State: 27:[2, 29], Operations: ['70/35=2', '58-29=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 66, 99, 14, 90 ]
46
[ "66*90=5940", "5940/99=60", "60-14=46" ]
Current State: 46:[66, 99, 14, 90], Operations: [] Exploring Operation: 66*90=5940, Resulting Numbers: [99, 14, 5940] Generated Node #2: [99, 14, 5940] from Operation: 66*90=5940 Current State: 46:[99, 14, 5940], Operations: ['66*90=5940'] Exploring Operation: 5940/99=60, Resulting Numbers: [14, 60] Generated Node #3: [14, 60] from Operation: 5940/99=60 Current State: 46:[14, 60], Operations: ['66*90=5940', '5940/99=60'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[66, 99, 14, 90], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [66, 14, 9] Generated Node #0,0: 46:[66, 14, 9] Operation: 99-90=9 Exploring Operation: 99-66=33, Resulting Numbers: [14, 90, 33] Generated Node #0,1: 46:[14, 90, 33] Operation: 99-66=33 Moving to Node #0,0 Current State: 46:[66, 14, 9], Operations: ['99-90=9'] Exploring Operation: 66-14=52, Resulting Numbers: [9, 52] Generated Node #0,0,0: 46:[9, 52] Operation: 66-14=52 Exploring Operation: 66-9=57, Resulting Numbers: [14, 57] Generated Node #0,0,1: 46:[14, 57] Operation: 66-9=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[9, 52], Operations: ['99-90=9', '66-14=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[14, 57], Operations: ['99-90=9', '66-9=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,46 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: 46:[14, 90, 33], Operations: ['99-66=33'] Exploring Operation: 90-14=76, Resulting Numbers: [33, 76] Generated Node #0,1,0: 46:[33, 76] Operation: 90-14=76 Exploring Operation: 90-33=57, Resulting Numbers: [14, 57] Generated Node #0,1,1: 46:[14, 57] Operation: 90-33=57 Moving to Node #0,1,1 Current State: 46:[14, 57], Operations: ['99-66=33', '90-33=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[33, 76], Operations: ['99-66=33', '90-14=76'] Exploring Operation: 33+76=109, Resulting Numbers: [109] 109,46 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,46 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 24, 3, 37, 4 ]
62
[ "24-3=21", "37+4=41", "21+41=62" ]
Current State: 62:[24, 3, 37, 4], Operations: [] Exploring Operation: 24-3=21, Resulting Numbers: [37, 4, 21] Generated Node #2: [37, 4, 21] from Operation: 24-3=21 Current State: 62:[37, 4, 21], Operations: ['24-3=21'] Exploring Operation: 37+4=41, Resulting Numbers: [21, 41] Generated Node #3: [21, 41] from Operation: 37+4=41 Current State: 62:[21, 41], Operations: ['24-3=21', '37+4=41'] Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[24, 3, 37, 4], Operations: [] Exploring Operation: 24+4=28, Resulting Numbers: [3, 37, 28] Generated Node #0,0: 62:[3, 37, 28] Operation: 24+4=28 Exploring Operation: 37-4=33, Resulting Numbers: [24, 3, 33] Generated Node #0,1: 62:[24, 3, 33] Operation: 37-4=33 Exploring Operation: 24+37=61, Resulting Numbers: [3, 4, 61] Generated Node #0,2: 62:[3, 4, 61] Operation: 24+37=61 Moving to Node #0,2 Current State: 62:[3, 4, 61], Operations: ['24+37=61'] Exploring Operation: 4-3=1, Resulting Numbers: [61, 1] Generated Node #0,2,0: 62:[61, 1] Operation: 4-3=1 Exploring Operation: 3+61=64, Resulting Numbers: [4, 64] Generated Node #0,2,1: 62:[4, 64] Operation: 3+61=64 Exploring Operation: 4+61=65, Resulting Numbers: [3, 65] Generated Node #0,2,2: 62:[3, 65] Operation: 4+61=65 Moving to Node #0,0 Current State: 62:[3, 37, 28], Operations: ['24+4=28'] Exploring Operation: 37+28=65, Resulting Numbers: [3, 65] Generated Node #0,0,0: 62:[3, 65] Operation: 37+28=65 Exploring Operation: 37-3=34, Resulting Numbers: [28, 34] Generated Node #0,0,1: 62:[28, 34] Operation: 37-3=34 Exploring Operation: 3+28=31, Resulting Numbers: [37, 31] Generated Node #0,0,2: 62:[37, 31] Operation: 3+28=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[3, 65], Operations: ['24+4=28', '37+28=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[24, 3, 37, 4], Operations: [] Exploring Operation: 24+4=28, Resulting Numbers: [3, 37, 28] Generated Node #0,0: 62:[3, 37, 28] Operation: 24+4=28 Moving to Node #0,0 Current State: 62:[3, 37, 28], Operations: ['24+4=28'] Exploring Operation: 37+28=65, Resulting Numbers: [3, 65] Generated Node #0,0,0: 62:[3, 65] Operation: 37+28=65 Moving to Node #0,0,0 Current State: 62:[3, 65], Operations: ['24+4=28', '37+28=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 46, 47, 95, 26 ]
78
[ "46+95=141", "141/47=3", "26*3=78" ]
Current State: 78:[46, 47, 95, 26], Operations: [] Exploring Operation: 46+95=141, Resulting Numbers: [47, 26, 141] Generated Node #2: [47, 26, 141] from Operation: 46+95=141 Current State: 78:[47, 26, 141], Operations: ['46+95=141'] Exploring Operation: 141/47=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 141/47=3 Current State: 78:[26, 3], Operations: ['46+95=141', '141/47=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[46, 47, 95, 26], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [47, 26, 49] Generated Node #0,0: 78:[47, 26, 49] Operation: 95-46=49 Exploring Operation: 95-47=48, Resulting Numbers: [46, 26, 48] Generated Node #0,1: 78:[46, 26, 48] Operation: 95-47=48 Exploring Operation: 47-46=1, Resulting Numbers: [95, 26, 1] Generated Node #0,2: 78:[95, 26, 1] Operation: 47-46=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[46, 26, 48], Operations: ['95-47=48'] Exploring Operation: 48-26=22, Resulting Numbers: [46, 22] Generated Node #0,1,0: 78:[46, 22] Operation: 48-26=22 Exploring Operation: 48-46=2, Resulting Numbers: [26, 2] Generated Node #0,1,1: 78:[26, 2] Operation: 48-46=2 Exploring Operation: 26+48=74, Resulting Numbers: [46, 74] Generated Node #0,1,2: 78:[46, 74] Operation: 26+48=74 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[26, 2], Operations: ['95-47=48', '48-46=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[46, 22], Operations: ['95-47=48', '48-26=22'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,78 unequal: No Solution Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[46, 74], Operations: ['95-47=48', '26+48=74'] Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,78 unequal: No Solution Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[47, 26, 49], Operations: ['95-46=49'] Exploring Operation: 49-47=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 78:[26, 2] Operation: 49-47=2 Exploring Operation: 49-26=23, Resulting Numbers: [47, 23] Generated Node #0,0,1: 78:[47, 23] Operation: 49-26=23 Exploring Operation: 26+49=75, Resulting Numbers: [47, 75] Generated Node #0,0,2: 78:[47, 75] Operation: 26+49=75 Moving to Node #0,0,0 Current State: 78:[26, 2], Operations: ['95-46=49', '49-47=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[47, 23], Operations: ['95-46=49', '49-26=23'] Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,78 unequal: No Solution Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,78 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[47, 75], Operations: ['95-46=49', '26+49=75'] Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,78 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,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,2 Current State: 78:[95, 26, 1], Operations: ['47-46=1'] Exploring Operation: 95-1=94, Resulting Numbers: [26, 94] Generated Node #0,2,0: 78:[26, 94] Operation: 95-1=94 Exploring Operation: 95-26=69, Resulting Numbers: [1, 69] Generated Node #0,2,1: 78:[1, 69] Operation: 95-26=69 Exploring Operation: 95*1=95, Resulting Numbers: [26, 95] Generated Node #0,2,2: 78:[26, 95] Operation: 95*1=95 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[1, 69], Operations: ['47-46=1', '95-26=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,78 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[26, 94], Operations: ['47-46=1', '95-1=94'] Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,78 unequal: No Solution Exploring Operation: 26+94=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 26*94=2444, Resulting Numbers: [2444] 2444,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[26, 95], Operations: ['47-46=1', '95*1=95'] Exploring Operation: 26+95=121, Resulting Numbers: [121] 121,78 unequal: No Solution Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 26*95=2470, Resulting Numbers: [2470] 2470,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 77, 6, 11, 24 ]
28
[ "77/11=7", "24/6=4", "7*4=28" ]
Current State: 28:[77, 6, 11, 24], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [6, 24, 7] Generated Node #2: [6, 24, 7] from Operation: 77/11=7 Current State: 28:[6, 24, 7], Operations: ['77/11=7'] Exploring Operation: 24/6=4, Resulting Numbers: [7, 4] Generated Node #3: [7, 4] from Operation: 24/6=4 Current State: 28:[7, 4], Operations: ['77/11=7', '24/6=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[77, 6, 11, 24], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [6, 24, 66] Generated Node #0,0: 28:[6, 24, 66] Operation: 77-11=66 Exploring Operation: 77-24=53, Resulting Numbers: [6, 11, 53] Generated Node #0,1: 28:[6, 11, 53] Operation: 77-24=53 Exploring Operation: 77/11=7, Resulting Numbers: [6, 24, 7] Generated Node #0,2: 28:[6, 24, 7] Operation: 77/11=7 Exploring Operation: 24-11=13, Resulting Numbers: [77, 6, 13] Generated Node #0,3: 28:[77, 6, 13] Operation: 24-11=13 Exploring Operation: 77-6=71, Resulting Numbers: [11, 24, 71] Generated Node #0,4: 28:[11, 24, 71] Operation: 77-6=71 Moving to Node #0,2 Current State: 28:[6, 24, 7], Operations: ['77/11=7'] Exploring Operation: 24/6=4, Resulting Numbers: [7, 4] Generated Node #0,2,0: 28:[7, 4] Operation: 24/6=4 Exploring Operation: 24-7=17, Resulting Numbers: [6, 17] Generated Node #0,2,1: 28:[6, 17] Operation: 24-7=17 Exploring Operation: 24+7=31, Resulting Numbers: [6, 31] Generated Node #0,2,2: 28:[6, 31] Operation: 24+7=31 Exploring Operation: 6+24=30, Resulting Numbers: [7, 30] Generated Node #0,2,3: 28:[7, 30] Operation: 6+24=30 Exploring Operation: 24-6=18, Resulting Numbers: [7, 18] Generated Node #0,2,4: 28:[7, 18] Operation: 24-6=18 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[7, 4], Operations: ['77/11=7', '24/6=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[77, 6, 11, 24], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [6, 24, 7] Generated Node #0,2: 28:[6, 24, 7] Operation: 77/11=7 Moving to Node #0,2 Current State: 28:[6, 24, 7], Operations: ['77/11=7'] Exploring Operation: 24/6=4, Resulting Numbers: [7, 4] Generated Node #0,2,0: 28:[7, 4] Operation: 24/6=4 Moving to Node #0,2,0 Current State: 28:[7, 4], Operations: ['77/11=7', '24/6=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 32, 2, 6, 62 ]
49
[ "32-6=26", "26/2=13", "62-13=49" ]
Current State: 49:[32, 2, 6, 62], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [2, 62, 26] Generated Node #2: [2, 62, 26] from Operation: 32-6=26 Current State: 49:[2, 62, 26], Operations: ['32-6=26'] Exploring Operation: 26/2=13, Resulting Numbers: [62, 13] Generated Node #3: [62, 13] from Operation: 26/2=13 Current State: 49:[62, 13], Operations: ['32-6=26', '26/2=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[32, 2, 6, 62], Operations: [] Exploring Operation: 32/2=16, Resulting Numbers: [6, 62, 16] Generated Node #0,0: 49:[6, 62, 16] Operation: 32/2=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[6, 62, 16], Operations: ['32/2=16'] Exploring Operation: 62-16=46, Resulting Numbers: [6, 46] Generated Node #0,0,0: 49:[6, 46] Operation: 62-16=46 Moving to Node #0,0,0 Current State: 49:[6, 46], Operations: ['32/2=16', '62-16=46'] Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,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
[ 65, 6, 98, 84 ]
85
[ "65+6=71", "98-84=14", "71+14=85" ]
Current State: 85:[65, 6, 98, 84], Operations: [] Exploring Operation: 65+6=71, Resulting Numbers: [98, 84, 71] Generated Node #2: [98, 84, 71] from Operation: 65+6=71 Current State: 85:[98, 84, 71], Operations: ['65+6=71'] Exploring Operation: 98-84=14, Resulting Numbers: [71, 14] Generated Node #3: [71, 14] from Operation: 98-84=14 Current State: 85:[71, 14], Operations: ['65+6=71', '98-84=14'] Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[65, 6, 98, 84], Operations: [] Exploring Operation: 98-6=92, Resulting Numbers: [65, 84, 92] Generated Node #0,0: 85:[65, 84, 92] Operation: 98-6=92 Exploring Operation: 98-84=14, Resulting Numbers: [65, 6, 14] Generated Node #0,1: 85:[65, 6, 14] Operation: 98-84=14 Exploring Operation: 84-65=19, Resulting Numbers: [6, 98, 19] Generated Node #0,2: 85:[6, 98, 19] Operation: 84-65=19 Exploring Operation: 98-65=33, Resulting Numbers: [6, 84, 33] Generated Node #0,3: 85:[6, 84, 33] Operation: 98-65=33 Exploring Operation: 65+6=71, Resulting Numbers: [98, 84, 71] Generated Node #0,4: 85:[98, 84, 71] Operation: 65+6=71 Moving to Node #0,2 Current State: 85:[6, 98, 19], Operations: ['84-65=19'] Exploring Operation: 98-19=79, Resulting Numbers: [6, 79] Generated Node #0,2,0: 85:[6, 79] Operation: 98-19=79 Exploring Operation: 6+19=25, Resulting Numbers: [98, 25] Generated Node #0,2,1: 85:[98, 25] Operation: 6+19=25 Exploring Operation: 98-6=92, Resulting Numbers: [19, 92] Generated Node #0,2,2: 85:[19, 92] Operation: 98-6=92 Exploring Operation: 19-6=13, Resulting Numbers: [98, 13] Generated Node #0,2,3: 85:[98, 13] Operation: 19-6=13 Exploring Operation: 6+98=104, Resulting Numbers: [19, 104] Generated Node #0,2,4: 85:[19, 104] Operation: 6+98=104 Moving to Node #0,3 Current State: 85:[6, 84, 33], Operations: ['98-65=33'] Exploring Operation: 6+84=90, Resulting Numbers: [33, 90] Generated Node #0,3,0: 85:[33, 90] Operation: 6+84=90 Exploring Operation: 84/6=14, Resulting Numbers: [33, 14] Generated Node #0,3,1: 85:[33, 14] Operation: 84/6=14 Exploring Operation: 84-6=78, Resulting Numbers: [33, 78] Generated Node #0,3,2: 85:[33, 78] Operation: 84-6=78 Exploring Operation: 33-6=27, Resulting Numbers: [84, 27] Generated Node #0,3,3: 85:[84, 27] Operation: 33-6=27 Exploring Operation: 6+33=39, Resulting Numbers: [84, 39] Generated Node #0,3,4: 85:[84, 39] Operation: 6+33=39 Moving to Node #0,1 Current State: 85:[65, 6, 14], Operations: ['98-84=14'] Exploring Operation: 65+14=79, Resulting Numbers: [6, 79] Generated Node #0,1,0: 85:[6, 79] Operation: 65+14=79 Exploring Operation: 6*14=84, Resulting Numbers: [65, 84] Generated Node #0,1,1: 85:[65, 84] Operation: 6*14=84 Exploring Operation: 65+6=71, Resulting Numbers: [14, 71] Generated Node #0,1,2: 85:[14, 71] Operation: 65+6=71 Exploring Operation: 6+14=20, Resulting Numbers: [65, 20] Generated Node #0,1,3: 85:[65, 20] Operation: 6+14=20 Exploring Operation: 14-6=8, Resulting Numbers: [65, 8] Generated Node #0,1,4: 85:[65, 8] Operation: 14-6=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[6, 79], Operations: ['98-84=14', '65+14=79'] Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[65, 6, 98, 84], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [65, 6, 14] Generated Node #0,1: 85:[65, 6, 14] Operation: 98-84=14 Moving to Node #0,1 Current State: 85:[65, 6, 14], Operations: ['98-84=14'] Exploring Operation: 65+14=79, Resulting Numbers: [6, 79] Generated Node #0,1,0: 85:[6, 79] Operation: 65+14=79 Moving to Node #0,1,0 Current State: 85:[6, 79], Operations: ['98-84=14', '65+14=79'] Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 64, 47, 61, 86 ]
13
[ "64-61=3", "86-47=39", "39/3=13" ]
Current State: 13:[64, 47, 61, 86], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [47, 86, 3] Generated Node #2: [47, 86, 3] from Operation: 64-61=3 Current State: 13:[47, 86, 3], Operations: ['64-61=3'] Exploring Operation: 86-47=39, Resulting Numbers: [3, 39] Generated Node #3: [3, 39] from Operation: 86-47=39 Current State: 13:[3, 39], Operations: ['64-61=3', '86-47=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[64, 47, 61, 86], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [47, 86, 3] Generated Node #0,0: 13:[47, 86, 3] Operation: 64-61=3 Exploring Operation: 64-47=17, Resulting Numbers: [61, 86, 17] Generated Node #0,1: 13:[61, 86, 17] Operation: 64-47=17 Exploring Operation: 86-64=22, Resulting Numbers: [47, 61, 22] Generated Node #0,2: 13:[47, 61, 22] Operation: 86-64=22 Exploring Operation: 86-61=25, Resulting Numbers: [64, 47, 25] Generated Node #0,3: 13:[64, 47, 25] Operation: 86-61=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[47, 61, 22], Operations: ['86-64=22'] Exploring Operation: 61-47=14, Resulting Numbers: [22, 14] Generated Node #0,2,0: 13:[22, 14] Operation: 61-47=14 Exploring Operation: 47+61=108, Resulting Numbers: [22, 108] Generated Node #0,2,1: 13:[22, 108] Operation: 47+61=108 Exploring Operation: 61-22=39, Resulting Numbers: [47, 39] Generated Node #0,2,2: 13:[47, 39] Operation: 61-22=39 Exploring Operation: 47-22=25, Resulting Numbers: [61, 25] Generated Node #0,2,3: 13:[61, 25] Operation: 47-22=25 Moving to Node #0,2,0 Current State: 13:[22, 14], Operations: ['86-64=22', '61-47=14'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,13 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[61, 25], Operations: ['86-64=22', '47-22=25'] Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,13 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,13 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[47, 39], Operations: ['86-64=22', '61-22=39'] Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,13 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[22, 108], Operations: ['86-64=22', '47+61=108'] Exploring Operation: 108-22=86, Resulting Numbers: [86] 86,13 unequal: No Solution Exploring Operation: 22+108=130, Resulting Numbers: [130] 130,13 unequal: No Solution Exploring Operation: 22*108=2376, Resulting Numbers: [2376] 2376,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 Current State: 13:[64, 47, 25], Operations: ['86-61=25'] Exploring Operation: 47-25=22, Resulting Numbers: [64, 22] Generated Node #0,3,0: 13:[64, 22] Operation: 47-25=22 Exploring Operation: 64-47=17, Resulting Numbers: [25, 17] Generated Node #0,3,1: 13:[25, 17] Operation: 64-47=17 Exploring Operation: 64-25=39, Resulting Numbers: [47, 39] Generated Node #0,3,2: 13:[47, 39] Operation: 64-25=39 Exploring Operation: 64+47=111, Resulting Numbers: [25, 111] Generated Node #0,3,3: 13:[25, 111] Operation: 64+47=111 Moving to Node #0,3,1 Current State: 13:[25, 17], Operations: ['86-61=25', '64-47=17'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,13 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[47, 39], Operations: ['86-61=25', '64-25=39'] Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,13 unequal: No Solution Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[64, 22], Operations: ['86-61=25', '47-25=22'] Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 64+22=86, Resulting Numbers: [86] 86,13 unequal: No Solution Exploring Operation: 64*22=1408, Resulting Numbers: [1408] 1408,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[25, 111], Operations: ['86-61=25', '64+47=111'] Exploring Operation: 25*111=2775, Resulting Numbers: [2775] 2775,13 unequal: No Solution Exploring Operation: 25+111=136, Resulting Numbers: [136] 136,13 unequal: No Solution Exploring Operation: 111-25=86, Resulting Numbers: [86] 86,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,0 Current State: 13:[47, 86, 3], Operations: ['64-61=3'] Exploring Operation: 86-3=83, Resulting Numbers: [47, 83] Generated Node #0,0,0: 13:[47, 83] Operation: 86-3=83 Exploring Operation: 47-3=44, Resulting Numbers: [86, 44] Generated Node #0,0,1: 13:[86, 44] Operation: 47-3=44 Exploring Operation: 86-47=39, Resulting Numbers: [3, 39] Generated Node #0,0,2: 13:[3, 39] Operation: 86-47=39 Exploring Operation: 47+3=50, Resulting Numbers: [86, 50] Generated Node #0,0,3: 13:[86, 50] Operation: 47+3=50 Moving to Node #0,0,2 Current State: 13:[3, 39], Operations: ['64-61=3', '86-47=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[64, 47, 61, 86], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [47, 86, 3] Generated Node #0,0: 13:[47, 86, 3] Operation: 64-61=3 Moving to Node #0,0 Current State: 13:[47, 86, 3], Operations: ['64-61=3'] Exploring Operation: 86-47=39, Resulting Numbers: [3, 39] Generated Node #0,0,2: 13:[3, 39] Operation: 86-47=39 Moving to Node #0,0,2 Current State: 13:[3, 39], Operations: ['64-61=3', '86-47=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_4
sum_heuristic
[ 2, 54, 52, 67 ]
39
[ "52/2=26", "67-54=13", "26+13=39" ]
Current State: 39:[2, 54, 52, 67], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [54, 67, 26] Generated Node #2: [54, 67, 26] from Operation: 52/2=26 Current State: 39:[54, 67, 26], Operations: ['52/2=26'] Exploring Operation: 67-54=13, Resulting Numbers: [26, 13] Generated Node #3: [26, 13] from Operation: 67-54=13 Current State: 39:[26, 13], Operations: ['52/2=26', '67-54=13'] Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[2, 54, 52, 67], Operations: [] Exploring Operation: 67-52=15, Resulting Numbers: [2, 54, 15] Generated Node #0,0: 39:[2, 54, 15] Operation: 67-52=15 Exploring Operation: 54/2=27, Resulting Numbers: [52, 67, 27] Generated Node #0,1: 39:[52, 67, 27] Operation: 54/2=27 Exploring Operation: 54-52=2, Resulting Numbers: [2, 67, 2] Generated Node #0,2: 39:[2, 67, 2] Operation: 54-52=2 Exploring Operation: 67-54=13, Resulting Numbers: [2, 52, 13] Generated Node #0,3: 39:[2, 52, 13] Operation: 67-54=13 Moving to Node #0,3 Current State: 39:[2, 52, 13], Operations: ['67-54=13'] Exploring Operation: 52/2=26, Resulting Numbers: [13, 26] Generated Node #0,3,0: 39:[13, 26] Operation: 52/2=26 Exploring Operation: 52-2=50, Resulting Numbers: [13, 50] Generated Node #0,3,1: 39:[13, 50] Operation: 52-2=50 Exploring Operation: 52/13=4, Resulting Numbers: [2, 4] Generated Node #0,3,2: 39:[2, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [2, 39] Generated Node #0,3,3: 39:[2, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 39:[2, 39], Operations: ['67-54=13', '52-13=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 39:[2, 4], Operations: ['67-54=13', '52/13=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[13, 50], Operations: ['67-54=13', '52-2=50'] Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,39 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 39:[13, 26], Operations: ['67-54=13', '52/2=26'] Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,39 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[2, 54, 52, 67], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [2, 52, 13] Generated Node #0,3: 39:[2, 52, 13] Operation: 67-54=13 Moving to Node #0,3 Current State: 39:[2, 52, 13], Operations: ['67-54=13'] Exploring Operation: 52/2=26, Resulting Numbers: [13, 26] Generated Node #0,3,0: 39:[13, 26] Operation: 52/2=26 Moving to Node #0,3,0 Current State: 39:[13, 26], Operations: ['67-54=13', '52/2=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 28, 93, 89, 68 ]
10
[ "68-28=40", "93-89=4", "40/4=10" ]
Current State: 10:[28, 93, 89, 68], Operations: [] Exploring Operation: 68-28=40, Resulting Numbers: [93, 89, 40] Generated Node #2: [93, 89, 40] from Operation: 68-28=40 Current State: 10:[93, 89, 40], Operations: ['68-28=40'] Exploring Operation: 93-89=4, Resulting Numbers: [40, 4] Generated Node #3: [40, 4] from Operation: 93-89=4 Current State: 10:[40, 4], Operations: ['68-28=40', '93-89=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[28, 93, 89, 68], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [28, 68, 4] Generated Node #0,0: 10:[28, 68, 4] Operation: 93-89=4 Moving to Node #0,0 Current State: 10:[28, 68, 4], Operations: ['93-89=4'] Exploring Operation: 68/4=17, Resulting Numbers: [28, 17] Generated Node #0,0,0: 10:[28, 17] Operation: 68/4=17 Moving to Node #0,0,0 Current State: 10:[28, 17], Operations: ['93-89=4', '68/4=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 25, 94, 16, 18 ]
47
[ "25-16=9", "94*9=846", "846/18=47" ]
Current State: 47:[25, 94, 16, 18], Operations: [] Exploring Operation: 25-16=9, Resulting Numbers: [94, 18, 9] Generated Node #2: [94, 18, 9] from Operation: 25-16=9 Current State: 47:[94, 18, 9], Operations: ['25-16=9'] Exploring Operation: 94*9=846, Resulting Numbers: [18, 846] Generated Node #3: [18, 846] from Operation: 94*9=846 Current State: 47:[18, 846], Operations: ['25-16=9', '94*9=846'] Exploring Operation: 846/18=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[25, 94, 16, 18], Operations: [] Exploring Operation: 94-25=69, Resulting Numbers: [16, 18, 69] Generated Node #0,0: 47:[16, 18, 69] Operation: 94-25=69 Exploring Operation: 25+16=41, Resulting Numbers: [94, 18, 41] Generated Node #0,1: 47:[94, 18, 41] Operation: 25+16=41 Exploring Operation: 25+18=43, Resulting Numbers: [94, 16, 43] Generated Node #0,2: 47:[94, 16, 43] Operation: 25+18=43 Exploring Operation: 94-16=78, Resulting Numbers: [25, 18, 78] Generated Node #0,3: 47:[25, 18, 78] Operation: 94-16=78 Exploring Operation: 94-18=76, Resulting Numbers: [25, 16, 76] Generated Node #0,4: 47:[25, 16, 76] Operation: 94-18=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[16, 18, 69], Operations: ['94-25=69'] Exploring Operation: 16+69=85, Resulting Numbers: [18, 85] Generated Node #0,0,0: 47:[18, 85] Operation: 16+69=85 Exploring Operation: 16+18=34, Resulting Numbers: [69, 34] Generated Node #0,0,1: 47:[69, 34] Operation: 16+18=34 Exploring Operation: 69-18=51, Resulting Numbers: [16, 51] Generated Node #0,0,2: 47:[16, 51] Operation: 69-18=51 Exploring Operation: 18-16=2, Resulting Numbers: [69, 2] Generated Node #0,0,3: 47:[69, 2] Operation: 18-16=2 Exploring Operation: 69-16=53, Resulting Numbers: [18, 53] Generated Node #0,0,4: 47:[18, 53] Operation: 69-16=53 Moving to Node #0,0,1 Current State: 47:[69, 34], Operations: ['94-25=69', '16+18=34'] Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,47 unequal: No Solution Moving to Node #0,0,4 Current State: 47:[18, 53], Operations: ['94-25=69', '69-16=53'] Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,47 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[16, 51], Operations: ['94-25=69', '69-18=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,47 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[18, 85], Operations: ['94-25=69', '16+69=85'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 18*85=1530, Resulting Numbers: [1530] 1530,47 unequal: No Solution Exploring Operation: 18+85=103, Resulting Numbers: [103] 103,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[69, 2], Operations: ['94-25=69', '18-16=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[94, 18, 41], Operations: ['25+16=41'] Exploring Operation: 18+41=59, Resulting Numbers: [94, 59] Generated Node #0,1,0: 47:[94, 59] Operation: 18+41=59 Exploring Operation: 94-41=53, Resulting Numbers: [18, 53] Generated Node #0,1,1: 47:[18, 53] Operation: 94-41=53 Exploring Operation: 41-18=23, Resulting Numbers: [94, 23] Generated Node #0,1,2: 47:[94, 23] Operation: 41-18=23 Exploring Operation: 94+18=112, Resulting Numbers: [41, 112] Generated Node #0,1,3: 47:[41, 112] Operation: 94+18=112 Exploring Operation: 94-18=76, Resulting Numbers: [41, 76] Generated Node #0,1,4: 47:[41, 76] Operation: 94-18=76 Moving to Node #0,1,1 Current State: 47:[18, 53], Operations: ['25+16=41', '94-41=53'] Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,47 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[41, 76], Operations: ['25+16=41', '94-18=76'] Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 41*76=3116, Resulting Numbers: [3116] 3116,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[94, 59], Operations: ['25+16=41', '18+41=59'] Exploring Operation: 94+59=153, Resulting Numbers: [153] 153,47 unequal: No Solution Exploring Operation: 94*59=5546, Resulting Numbers: [5546] 5546,47 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[94, 23], Operations: ['25+16=41', '41-18=23'] Exploring Operation: 94*23=2162, Resulting Numbers: [2162] 2162,47 unequal: No Solution Exploring Operation: 94+23=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[41, 112], Operations: ['25+16=41', '94+18=112'] Exploring Operation: 41+112=153, Resulting Numbers: [153] 153,47 unequal: No Solution Exploring Operation: 112-41=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 41*112=4592, Resulting Numbers: [4592] 4592,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[94, 16, 43], Operations: ['25+18=43'] Exploring Operation: 43-16=27, Resulting Numbers: [94, 27] Generated Node #0,2,0: 47:[94, 27] Operation: 43-16=27 Exploring Operation: 16+43=59, Resulting Numbers: [94, 59] Generated Node #0,2,1: 47:[94, 59] Operation: 16+43=59 Exploring Operation: 94-43=51, Resulting Numbers: [16, 51] Generated Node #0,2,2: 47:[16, 51] Operation: 94-43=51 Exploring Operation: 94-16=78, Resulting Numbers: [43, 78] Generated Node #0,2,3: 47:[43, 78] Operation: 94-16=78 Exploring Operation: 94+16=110, Resulting Numbers: [43, 110] Generated Node #0,2,4: 47:[43, 110] Operation: 94+16=110 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[16, 51], Operations: ['25+18=43', '94-43=51'] Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,47 unequal: No Solution Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[43, 78], Operations: ['25+18=43', '94-16=78'] Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,47 unequal: No Solution Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,47 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[94, 59], Operations: ['25+18=43', '16+43=59'] Exploring Operation: 94+59=153, Resulting Numbers: [153] 153,47 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 94*59=5546, Resulting Numbers: [5546] 5546,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[94, 27], Operations: ['25+18=43', '43-16=27'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 94+27=121, Resulting Numbers: [121] 121,47 unequal: No Solution Exploring Operation: 94*27=2538, Resulting Numbers: [2538] 2538,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 47:[43, 110], Operations: ['25+18=43', '94+16=110'] Exploring Operation: 110-43=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 43+110=153, Resulting Numbers: [153] 153,47 unequal: No Solution Exploring Operation: 43*110=4730, Resulting Numbers: [4730] 4730,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[25, 18, 78], Operations: ['94-16=78'] Exploring Operation: 78-25=53, Resulting Numbers: [18, 53] Generated Node #0,3,0: 47:[18, 53] Operation: 78-25=53 Exploring Operation: 25-18=7, Resulting Numbers: [78, 7] Generated Node #0,3,1: 47:[78, 7] Operation: 25-18=7 Exploring Operation: 78-18=60, Resulting Numbers: [25, 60] Generated Node #0,3,2: 47:[25, 60] Operation: 78-18=60 Exploring Operation: 25+18=43, Resulting Numbers: [78, 43] Generated Node #0,3,3: 47:[78, 43] Operation: 25+18=43 Exploring Operation: 18+78=96, Resulting Numbers: [25, 96] Generated Node #0,3,4: 47:[25, 96] Operation: 18+78=96 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[18, 53], Operations: ['94-16=78', '78-25=53'] Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,47 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[25, 60], Operations: ['94-16=78', '78-18=60'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,47 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[78, 43], Operations: ['94-16=78', '25+18=43'] Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,47 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[78, 7], Operations: ['94-16=78', '25-18=7'] Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 78*7=546, Resulting Numbers: [546] 546,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 47:[25, 96], Operations: ['94-16=78', '18+78=96'] Exploring Operation: 25*96=2400, Resulting Numbers: [2400] 2400,47 unequal: No Solution Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 47:[25, 16, 76], Operations: ['94-18=76'] Exploring Operation: 76-16=60, Resulting Numbers: [25, 60] Generated Node #0,4,0: 47:[25, 60] Operation: 76-16=60 Exploring Operation: 16+76=92, Resulting Numbers: [25, 92] Generated Node #0,4,1: 47:[25, 92] Operation: 16+76=92 Exploring Operation: 25+16=41, Resulting Numbers: [76, 41] Generated Node #0,4,2: 47:[76, 41] Operation: 25+16=41 Exploring Operation: 76-25=51, Resulting Numbers: [16, 51] Generated Node #0,4,3: 47:[16, 51] Operation: 76-25=51 Exploring Operation: 25-16=9, Resulting Numbers: [76, 9] Generated Node #0,4,4: 47:[76, 9] Operation: 25-16=9 Moving to Node #0,4,0 Current State: 47:[25, 60], Operations: ['94-18=76', '76-16=60'] Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,47 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,4,3 Current State: 47:[16, 51], Operations: ['94-18=76', '76-25=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[76, 41], Operations: ['94-18=76', '25+16=41'] Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,47 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,4,1 Current State: 47:[25, 92], Operations: ['94-18=76', '16+76=92'] Exploring Operation: 25+92=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 25*92=2300, Resulting Numbers: [2300] 2300,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[76, 9], Operations: ['94-18=76', '25-16=9'] Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,47 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 91, 77, 99, 35 ]
72
[ "91-35=56", "99*56=5544", "5544/77=72" ]
Current State: 72:[91, 77, 99, 35], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [77, 99, 56] Generated Node #2: [77, 99, 56] from Operation: 91-35=56 Current State: 72:[77, 99, 56], Operations: ['91-35=56'] Exploring Operation: 99*56=5544, Resulting Numbers: [77, 5544] Generated Node #3: [77, 5544] from Operation: 99*56=5544 Current State: 72:[77, 5544], Operations: ['91-35=56', '99*56=5544'] Exploring Operation: 5544/77=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[91, 77, 99, 35], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [91, 35, 22] Generated Node #0,0: 72:[91, 35, 22] Operation: 99-77=22 Exploring Operation: 91-77=14, Resulting Numbers: [99, 35, 14] Generated Node #0,1: 72:[99, 35, 14] Operation: 91-77=14 Exploring Operation: 99-91=8, Resulting Numbers: [77, 35, 8] Generated Node #0,2: 72:[77, 35, 8] Operation: 99-91=8 Exploring Operation: 99-35=64, Resulting Numbers: [91, 77, 64] Generated Node #0,3: 72:[91, 77, 64] Operation: 99-35=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[77, 35, 8], Operations: ['99-91=8'] Exploring Operation: 35-8=27, Resulting Numbers: [77, 27] Generated Node #0,2,0: 72:[77, 27] Operation: 35-8=27 Exploring Operation: 77-8=69, Resulting Numbers: [35, 69] Generated Node #0,2,1: 72:[35, 69] Operation: 77-8=69 Exploring Operation: 35+8=43, Resulting Numbers: [77, 43] Generated Node #0,2,2: 72:[77, 43] Operation: 35+8=43 Exploring Operation: 77-35=42, Resulting Numbers: [8, 42] Generated Node #0,2,3: 72:[8, 42] Operation: 77-35=42 Moving to Node #0,2,1 Current State: 72:[35, 69], Operations: ['99-91=8', '77-8=69'] Exploring Operation: 35*69=2415, Resulting Numbers: [2415] 2415,72 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[8, 42], Operations: ['99-91=8', '77-35=42'] Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,72 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[77, 27], Operations: ['99-91=8', '35-8=27'] Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,72 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[77, 43], Operations: ['99-91=8', '35+8=43'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,72 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,72 unequal: No Solution No 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: 72:[91, 35, 22], Operations: ['99-77=22'] Exploring Operation: 35+22=57, Resulting Numbers: [91, 57] Generated Node #0,0,0: 72:[91, 57] Operation: 35+22=57 Exploring Operation: 91-35=56, Resulting Numbers: [22, 56] Generated Node #0,0,1: 72:[22, 56] Operation: 91-35=56 Exploring Operation: 91-22=69, Resulting Numbers: [35, 69] Generated Node #0,0,2: 72:[35, 69] Operation: 91-22=69 Exploring Operation: 35-22=13, Resulting Numbers: [91, 13] Generated Node #0,0,3: 72:[91, 13] Operation: 35-22=13 Moving to Node #0,0,2 Current State: 72:[35, 69], Operations: ['99-77=22', '91-22=69'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 35*69=2415, Resulting Numbers: [2415] 2415,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[22, 56], Operations: ['99-77=22', '91-35=56'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 22*56=1232, Resulting Numbers: [1232] 1232,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[91, 13], Operations: ['99-77=22', '35-22=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,72 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[91, 57], Operations: ['99-77=22', '35+22=57'] Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 91+57=148, Resulting Numbers: [148] 148,72 unequal: No Solution Exploring Operation: 91*57=5187, Resulting Numbers: [5187] 5187,72 unequal: No Solution No 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: 72:[99, 35, 14], Operations: ['91-77=14'] Exploring Operation: 35-14=21, Resulting Numbers: [99, 21] Generated Node #0,1,0: 72:[99, 21] Operation: 35-14=21 Exploring Operation: 35+14=49, Resulting Numbers: [99, 49] Generated Node #0,1,1: 72:[99, 49] Operation: 35+14=49 Exploring Operation: 99-35=64, Resulting Numbers: [14, 64] Generated Node #0,1,2: 72:[14, 64] Operation: 99-35=64 Exploring Operation: 99-14=85, Resulting Numbers: [35, 85] Generated Node #0,1,3: 72:[35, 85] Operation: 99-14=85 Moving to Node #0,1,2 Current State: 72:[14, 64], Operations: ['91-77=14', '99-35=64'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 14*64=896, Resulting Numbers: [896] 896,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[35, 85], Operations: ['91-77=14', '99-14=85'] Exploring Operation: 35+85=120, Resulting Numbers: [120] 120,72 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[99, 21], Operations: ['91-77=14', '35-14=21'] Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,72 unequal: No Solution Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[99, 49], Operations: ['91-77=14', '35+14=49'] Exploring Operation: 99+49=148, Resulting Numbers: [148] 148,72 unequal: No Solution Exploring Operation: 99*49=4851, Resulting Numbers: [4851] 4851,72 unequal: No Solution Exploring Operation: 99-49=50, Resulting Numbers: [50] 50,72 unequal: No Solution No 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: 72:[91, 77, 64], Operations: ['99-35=64'] Exploring Operation: 91+64=155, Resulting Numbers: [77, 155] Generated Node #0,3,0: 72:[77, 155] Operation: 91+64=155 Exploring Operation: 91-64=27, Resulting Numbers: [77, 27] Generated Node #0,3,1: 72:[77, 27] Operation: 91-64=27 Exploring Operation: 91-77=14, Resulting Numbers: [64, 14] Generated Node #0,3,2: 72:[64, 14] Operation: 91-77=14 Exploring Operation: 77-64=13, Resulting Numbers: [91, 13] Generated Node #0,3,3: 72:[91, 13] Operation: 77-64=13 Moving to Node #0,3,1 Current State: 72:[77, 27], Operations: ['99-35=64', '91-64=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[64, 14], Operations: ['99-35=64', '91-77=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,72 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[91, 13], Operations: ['99-35=64', '77-64=13'] Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,72 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[77, 155], Operations: ['99-35=64', '91+64=155'] Exploring Operation: 155-77=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 77+155=232, Resulting Numbers: [232] 232,72 unequal: No Solution Exploring Operation: 77*155=11935, Resulting Numbers: [11935] 11935,72 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
[ 14, 84, 93, 3 ]
96
[ "84/14=6", "93-3=90", "6+90=96" ]
Current State: 96:[14, 84, 93, 3], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [93, 3, 6] Generated Node #2: [93, 3, 6] from Operation: 84/14=6 Current State: 96:[93, 3, 6], Operations: ['84/14=6'] Exploring Operation: 93-3=90, Resulting Numbers: [6, 90] Generated Node #3: [6, 90] from Operation: 93-3=90 Current State: 96:[6, 90], Operations: ['84/14=6', '93-3=90'] Exploring Operation: 6+90=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[14, 84, 93, 3], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [93, 3, 6] Generated Node #0,0: 96:[93, 3, 6] Operation: 84/14=6 Exploring Operation: 93-84=9, Resulting Numbers: [14, 3, 9] Generated Node #0,1: 96:[14, 3, 9] Operation: 93-84=9 Moving to Node #0,0 Current State: 96:[93, 3, 6], Operations: ['84/14=6'] Exploring Operation: 93/3=31, Resulting Numbers: [6, 31] Generated Node #0,0,0: 96:[6, 31] Operation: 93/3=31 Exploring Operation: 93+3=96, Resulting Numbers: [6, 96] Generated Node #0,0,1: 96:[6, 96] Operation: 93+3=96 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[6, 96], Operations: ['84/14=6', '93+3=96'] Exploring Operation: 6+96=102, Resulting Numbers: [102] 102,96 unequal: No Solution Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[6, 31], Operations: ['84/14=6', '93/3=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 96:[14, 3, 9], Operations: ['93-84=9'] Exploring Operation: 14+9=23, Resulting Numbers: [3, 23] Generated Node #0,1,0: 96:[3, 23] Operation: 14+9=23 Exploring Operation: 14-9=5, Resulting Numbers: [3, 5] Generated Node #0,1,1: 96:[3, 5] Operation: 14-9=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[3, 23], Operations: ['93-84=9', '14+9=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[3, 5], Operations: ['93-84=9', '14-9=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,96 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
[ 21, 93, 3, 23 ]
63
[ "21/3=7", "93-23=70", "70-7=63" ]
Current State: 63:[21, 93, 3, 23], Operations: [] Exploring Operation: 21/3=7, Resulting Numbers: [93, 23, 7] Generated Node #2: [93, 23, 7] from Operation: 21/3=7 Current State: 63:[93, 23, 7], Operations: ['21/3=7'] Exploring Operation: 93-23=70, Resulting Numbers: [7, 70] Generated Node #3: [7, 70] from Operation: 93-23=70 Current State: 63:[7, 70], Operations: ['21/3=7', '93-23=70'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 93, 3, 23], Operations: [] Exploring Operation: 93-21=72, Resulting Numbers: [3, 23, 72] Generated Node #0,0: 63:[3, 23, 72] Operation: 93-21=72 Exploring Operation: 93-23=70, Resulting Numbers: [21, 3, 70] Generated Node #0,1: 63:[21, 3, 70] Operation: 93-23=70 Exploring Operation: 93-3=90, Resulting Numbers: [21, 23, 90] Generated Node #0,2: 63:[21, 23, 90] Operation: 93-3=90 Exploring Operation: 93/3=31, Resulting Numbers: [21, 23, 31] Generated Node #0,3: 63:[21, 23, 31] Operation: 93/3=31 Exploring Operation: 23-21=2, Resulting Numbers: [93, 3, 2] Generated Node #0,4: 63:[93, 3, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[21, 3, 70], Operations: ['93-23=70'] Exploring Operation: 21/3=7, Resulting Numbers: [70, 7] Generated Node #0,1,0: 63:[70, 7] Operation: 21/3=7 Exploring Operation: 21+3=24, Resulting Numbers: [70, 24] Generated Node #0,1,1: 63:[70, 24] Operation: 21+3=24 Exploring Operation: 70-3=67, Resulting Numbers: [21, 67] Generated Node #0,1,2: 63:[21, 67] Operation: 70-3=67 Exploring Operation: 21*3=63, Resulting Numbers: [70, 63] Generated Node #0,1,3: 63:[70, 63] Operation: 21*3=63 Exploring Operation: 21-3=18, Resulting Numbers: [70, 18] Generated Node #0,1,4: 63:[70, 18] Operation: 21-3=18 Moving to Node #0,1,2 Current State: 63:[21, 67], Operations: ['93-23=70', '70-3=67'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[70, 63], Operations: ['93-23=70', '21*3=63'] Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,63 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[70, 7], Operations: ['93-23=70', '21/3=7'] Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,63 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[21, 93, 3, 23], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [21, 3, 70] Generated Node #0,1: 63:[21, 3, 70] Operation: 93-23=70 Moving to Node #0,1 Current State: 63:[21, 3, 70], Operations: ['93-23=70'] Exploring Operation: 21/3=7, Resulting Numbers: [70, 7] Generated Node #0,1,0: 63:[70, 7] Operation: 21/3=7 Moving to Node #0,1,0 Current State: 63:[70, 7], Operations: ['93-23=70', '21/3=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 2, 76, 32, 84 ]
36
[ "2*76=152", "32+84=116", "152-116=36" ]
Current State: 36:[2, 76, 32, 84], Operations: [] Exploring Operation: 2*76=152, Resulting Numbers: [32, 84, 152] Generated Node #2: [32, 84, 152] from Operation: 2*76=152 Current State: 36:[32, 84, 152], Operations: ['2*76=152'] Exploring Operation: 32+84=116, Resulting Numbers: [152, 116] Generated Node #3: [152, 116] from Operation: 32+84=116 Current State: 36:[152, 116], Operations: ['2*76=152', '32+84=116'] Exploring Operation: 152-116=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 76, 32, 84], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [76, 32, 42] Generated Node #0,0: 36:[76, 32, 42] Operation: 84/2=42 Exploring Operation: 76/2=38, Resulting Numbers: [32, 84, 38] Generated Node #0,1: 36:[32, 84, 38] Operation: 76/2=38 Exploring Operation: 84-76=8, Resulting Numbers: [2, 32, 8] Generated Node #0,2: 36:[2, 32, 8] Operation: 84-76=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[2, 32, 8], Operations: ['84-76=8'] Exploring Operation: 32/8=4, Resulting Numbers: [2, 4] Generated Node #0,2,0: 36:[2, 4] Operation: 32/8=4 Exploring Operation: 2+32=34, Resulting Numbers: [8, 34] Generated Node #0,2,1: 36:[8, 34] Operation: 2+32=34 Exploring Operation: 32/2=16, Resulting Numbers: [8, 16] Generated Node #0,2,2: 36:[8, 16] Operation: 32/2=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[2, 4], Operations: ['84-76=8', '32/8=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,36 unequal: No Solution No 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: 36:[8, 34], Operations: ['84-76=8', '2+32=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,36 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,36 unequal: No Solution No 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: 36:[8, 16], Operations: ['84-76=8', '32/2=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,36 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: 36:[76, 32, 42], Operations: ['84/2=42'] Exploring Operation: 42-32=10, Resulting Numbers: [76, 10] Generated Node #0,0,0: 36:[76, 10] Operation: 42-32=10 Exploring Operation: 76-42=34, Resulting Numbers: [32, 34] Generated Node #0,0,1: 36:[32, 34] Operation: 76-42=34 Exploring Operation: 76-32=44, Resulting Numbers: [42, 44] Generated Node #0,0,2: 36:[42, 44] Operation: 76-32=44 Moving to Node #0,0,1 Current State: 36:[32, 34], Operations: ['84/2=42', '76-42=34'] Exploring Operation: 32+34=66, Resulting Numbers: [66] 66,36 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 32*34=1088, Resulting Numbers: [1088] 1088,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[42, 44], Operations: ['84/2=42', '76-32=44'] Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,36 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,36 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[76, 10], Operations: ['84/2=42', '42-32=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,36 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,36 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[32, 84, 38], Operations: ['76/2=38'] Exploring Operation: 84-38=46, Resulting Numbers: [32, 46] Generated Node #0,1,0: 36:[32, 46] Operation: 84-38=46 Exploring Operation: 38-32=6, Resulting Numbers: [84, 6] Generated Node #0,1,1: 36:[84, 6] Operation: 38-32=6 Exploring Operation: 84-32=52, Resulting Numbers: [38, 52] Generated Node #0,1,2: 36:[38, 52] Operation: 84-32=52 Moving to Node #0,1,0 Current State: 36:[32, 46], Operations: ['76/2=38', '84-38=46'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,36 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[38, 52], Operations: ['76/2=38', '84-32=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[84, 6], Operations: ['76/2=38', '38-32=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,36 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
[ 14, 74, 32, 76 ]
79
[ "74-32=42", "42/14=3", "76+3=79" ]
Current State: 79:[14, 74, 32, 76], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [14, 76, 42] Generated Node #2: [14, 76, 42] from Operation: 74-32=42 Current State: 79:[14, 76, 42], Operations: ['74-32=42'] Exploring Operation: 42/14=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 42/14=3 Current State: 79:[76, 3], Operations: ['74-32=42', '42/14=3'] Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[14, 74, 32, 76], Operations: [] Exploring Operation: 14+32=46, Resulting Numbers: [74, 76, 46] Generated Node #0,0: 79:[74, 76, 46] Operation: 14+32=46 Moving to Node #0,0 Current State: 79:[74, 76, 46], Operations: ['14+32=46'] Exploring Operation: 74+46=120, Resulting Numbers: [76, 120] Generated Node #0,0,0: 79:[76, 120] Operation: 74+46=120 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[76, 120], Operations: ['14+32=46', '74+46=120'] Exploring Operation: 120-76=44, Resulting Numbers: [44] 44,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 98, 13, 39, 55 ]
11
[ "13*39=507", "98+507=605", "605/55=11" ]
Current State: 11:[98, 13, 39, 55], Operations: [] Exploring Operation: 13*39=507, Resulting Numbers: [98, 55, 507] Generated Node #2: [98, 55, 507] from Operation: 13*39=507 Current State: 11:[98, 55, 507], Operations: ['13*39=507'] Exploring Operation: 98+507=605, Resulting Numbers: [55, 605] Generated Node #3: [55, 605] from Operation: 98+507=605 Current State: 11:[55, 605], Operations: ['13*39=507', '98+507=605'] Exploring Operation: 605/55=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[98, 13, 39, 55], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [13, 39, 43] Generated Node #0,0: 11:[13, 39, 43] Operation: 98-55=43 Exploring Operation: 39/13=3, Resulting Numbers: [98, 55, 3] Generated Node #0,1: 11:[98, 55, 3] Operation: 39/13=3 Exploring Operation: 55-39=16, Resulting Numbers: [98, 13, 16] Generated Node #0,2: 11:[98, 13, 16] Operation: 55-39=16 Exploring Operation: 98-39=59, Resulting Numbers: [13, 55, 59] Generated Node #0,3: 11:[13, 55, 59] Operation: 98-39=59 Moving to Node #0,0 Current State: 11:[13, 39, 43], Operations: ['98-55=43'] Exploring Operation: 43-39=4, Resulting Numbers: [13, 4] Generated Node #0,0,0: 11:[13, 4] Operation: 43-39=4 Exploring Operation: 43-13=30, Resulting Numbers: [39, 30] Generated Node #0,0,1: 11:[39, 30] Operation: 43-13=30 Exploring Operation: 39/13=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 11:[43, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [43, 26] Generated Node #0,0,3: 11:[43, 26] Operation: 39-13=26 Moving to Node #0,3 Current State: 11:[13, 55, 59], Operations: ['98-39=59'] Exploring Operation: 55-13=42, Resulting Numbers: [59, 42] Generated Node #0,3,0: 11:[59, 42] Operation: 55-13=42 Exploring Operation: 59-13=46, Resulting Numbers: [55, 46] Generated Node #0,3,1: 11:[55, 46] Operation: 59-13=46 Exploring Operation: 13+55=68, Resulting Numbers: [59, 68] Generated Node #0,3,2: 11:[59, 68] Operation: 13+55=68 Exploring Operation: 59-55=4, Resulting Numbers: [13, 4] Generated Node #0,3,3: 11:[13, 4] Operation: 59-55=4 Moving to Node #0,2 Current State: 11:[98, 13, 16], Operations: ['55-39=16'] Exploring Operation: 98-16=82, Resulting Numbers: [13, 82] Generated Node #0,2,0: 11:[13, 82] Operation: 98-16=82 Exploring Operation: 16-13=3, Resulting Numbers: [98, 3] Generated Node #0,2,1: 11:[98, 3] Operation: 16-13=3 Exploring Operation: 98-13=85, Resulting Numbers: [16, 85] Generated Node #0,2,2: 11:[16, 85] Operation: 98-13=85 Exploring Operation: 98+13=111, Resulting Numbers: [16, 111] Generated Node #0,2,3: 11:[16, 111] Operation: 98+13=111 Moving to Node #0,1 Current State: 11:[98, 55, 3], Operations: ['39/13=3'] Exploring Operation: 98-3=95, Resulting Numbers: [55, 95] Generated Node #0,1,0: 11:[55, 95] Operation: 98-3=95 Exploring Operation: 98+3=101, Resulting Numbers: [55, 101] Generated Node #0,1,1: 11:[55, 101] Operation: 98+3=101 Exploring Operation: 55-3=52, Resulting Numbers: [98, 52] Generated Node #0,1,2: 11:[98, 52] Operation: 55-3=52 Exploring Operation: 98-55=43, Resulting Numbers: [3, 43] Generated Node #0,1,3: 11:[3, 43] Operation: 98-55=43 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[3, 43], Operations: ['39/13=3', '98-55=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,11 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[55, 95], Operations: ['39/13=3', '98-3=95'] Exploring Operation: 55+95=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 55*95=5225, Resulting Numbers: [5225] 5225,11 unequal: No Solution Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[98, 52], Operations: ['39/13=3', '55-3=52'] Exploring Operation: 98*52=5096, Resulting Numbers: [5096] 5096,11 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 98+52=150, Resulting Numbers: [150] 150,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[55, 101], Operations: ['39/13=3', '98+3=101'] Exploring Operation: 101-55=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 55*101=5555, Resulting Numbers: [5555] 5555,11 unequal: No Solution Exploring Operation: 55+101=156, Resulting Numbers: [156] 156,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 11:[13, 4], Operations: ['98-55=43', '43-39=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[13, 4], Operations: ['98-39=59', '59-55=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[43, 3], Operations: ['98-55=43', '39/13=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,11 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[39, 30], Operations: ['98-55=43', '43-13=30'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,11 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[43, 26], Operations: ['98-55=43', '39-13=26'] Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,11 unequal: No Solution Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,11 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[13, 82], Operations: ['55-39=16', '98-16=82'] Exploring Operation: 13*82=1066, Resulting Numbers: [1066] 1066,11 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,11 unequal: No Solution Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[55, 46], Operations: ['98-39=59', '59-13=46'] Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[59, 42], Operations: ['98-39=59', '55-13=42'] Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[16, 85], Operations: ['55-39=16', '98-13=85'] Exploring Operation: 16+85=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 16*85=1360, Resulting Numbers: [1360] 1360,11 unequal: No Solution Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[98, 3], Operations: ['55-39=16', '16-13=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 98*3=294, Resulting Numbers: [294] 294,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[59, 68], Operations: ['98-39=59', '13+55=68'] Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 59*68=4012, Resulting Numbers: [4012] 4012,11 unequal: No Solution Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[16, 111], Operations: ['55-39=16', '98+13=111'] Exploring Operation: 111-16=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 16+111=127, Resulting Numbers: [127] 127,11 unequal: No Solution Exploring Operation: 16*111=1776, Resulting Numbers: [1776] 1776,11 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 39, 31, 4, 62 ]
61
[ "62-39=23", "4*23=92", "92-31=61" ]
Current State: 61:[39, 31, 4, 62], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [31, 4, 23] Generated Node #2: [31, 4, 23] from Operation: 62-39=23 Current State: 61:[31, 4, 23], Operations: ['62-39=23'] Exploring Operation: 4*23=92, Resulting Numbers: [31, 92] Generated Node #3: [31, 92] from Operation: 4*23=92 Current State: 61:[31, 92], Operations: ['62-39=23', '4*23=92'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[39, 31, 4, 62], Operations: [] Exploring Operation: 62-4=58, Resulting Numbers: [39, 31, 58] Generated Node #0,0: 61:[39, 31, 58] Operation: 62-4=58 Exploring Operation: 39-4=35, Resulting Numbers: [31, 62, 35] Generated Node #0,1: 61:[31, 62, 35] Operation: 39-4=35 Exploring Operation: 31-4=27, Resulting Numbers: [39, 62, 27] Generated Node #0,2: 61:[39, 62, 27] Operation: 31-4=27 Exploring Operation: 39+4=43, Resulting Numbers: [31, 62, 43] Generated Node #0,3: 61:[31, 62, 43] Operation: 39+4=43 Exploring Operation: 31+4=35, Resulting Numbers: [39, 62, 35] Generated Node #0,4: 61:[39, 62, 35] Operation: 31+4=35 Moving to Node #0,3 Current State: 61:[31, 62, 43], Operations: ['39+4=43'] Exploring Operation: 43-31=12, Resulting Numbers: [62, 12] Generated Node #0,3,0: 61:[62, 12] Operation: 43-31=12 Exploring Operation: 31+62=93, Resulting Numbers: [43, 93] Generated Node #0,3,1: 61:[43, 93] Operation: 31+62=93 Exploring Operation: 31+43=74, Resulting Numbers: [62, 74] Generated Node #0,3,2: 61:[62, 74] Operation: 31+43=74 Exploring Operation: 62-43=19, Resulting Numbers: [31, 19] Generated Node #0,3,3: 61:[31, 19] Operation: 62-43=19 Exploring Operation: 62-31=31, Resulting Numbers: [43, 31] Generated Node #0,3,4: 61:[43, 31] Operation: 62-31=31 Moving to Node #0,4 Current State: 61:[39, 62, 35], Operations: ['31+4=35'] Exploring Operation: 39+35=74, Resulting Numbers: [62, 74] Generated Node #0,4,0: 61:[62, 74] Operation: 39+35=74 Exploring Operation: 62-39=23, Resulting Numbers: [35, 23] Generated Node #0,4,1: 61:[35, 23] Operation: 62-39=23 Exploring Operation: 62-35=27, Resulting Numbers: [39, 27] Generated Node #0,4,2: 61:[39, 27] Operation: 62-35=27 Exploring Operation: 39-35=4, Resulting Numbers: [62, 4] Generated Node #0,4,3: 61:[62, 4] Operation: 39-35=4 Exploring Operation: 62+35=97, Resulting Numbers: [39, 97] Generated Node #0,4,4: 61:[39, 97] Operation: 62+35=97 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 61:[62, 74], Operations: ['31+4=35', '39+35=74'] Exploring Operation: 62+74=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 62*74=4588, Resulting Numbers: [4588] 4588,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[39, 27], Operations: ['31+4=35', '62-35=27'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,61 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 61:[62, 4], Operations: ['31+4=35', '39-35=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,61 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 61:[39, 97], Operations: ['31+4=35', '62+35=97'] Exploring Operation: 97-39=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 39+97=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 39*97=3783, Resulting Numbers: [3783] 3783,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 61:[35, 23], Operations: ['31+4=35', '62-39=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[39, 31, 58], Operations: ['62-4=58'] Exploring Operation: 39-31=8, Resulting Numbers: [58, 8] Generated Node #0,0,0: 61:[58, 8] Operation: 39-31=8 Exploring Operation: 58-31=27, Resulting Numbers: [39, 27] Generated Node #0,0,1: 61:[39, 27] Operation: 58-31=27 Exploring Operation: 39+58=97, Resulting Numbers: [31, 97] Generated Node #0,0,2: 61:[31, 97] Operation: 39+58=97 Exploring Operation: 39+31=70, Resulting Numbers: [58, 70] Generated Node #0,0,3: 61:[58, 70] Operation: 39+31=70 Exploring Operation: 31+58=89, Resulting Numbers: [39, 89] Generated Node #0,0,4: 61:[39, 89] Operation: 31+58=89 Moving to Node #0,1 Current State: 61:[31, 62, 35], Operations: ['39-4=35'] Exploring Operation: 62-31=31, Resulting Numbers: [35, 31] Generated Node #0,1,0: 61:[35, 31] Operation: 62-31=31 Exploring Operation: 35-31=4, Resulting Numbers: [62, 4] Generated Node #0,1,1: 61:[62, 4] Operation: 35-31=4 Exploring Operation: 31+62=93, Resulting Numbers: [35, 93] Generated Node #0,1,2: 61:[35, 93] Operation: 31+62=93 Exploring Operation: 62-35=27, Resulting Numbers: [31, 27] Generated Node #0,1,3: 61:[31, 27] Operation: 62-35=27 Exploring Operation: 31+35=66, Resulting Numbers: [62, 66] Generated Node #0,1,4: 61:[62, 66] Operation: 31+35=66 Moving to Node #0,2 Current State: 61:[39, 62, 27], Operations: ['31-4=27'] Exploring Operation: 39-27=12, Resulting Numbers: [62, 12] Generated Node #0,2,0: 61:[62, 12] Operation: 39-27=12 Exploring Operation: 62-39=23, Resulting Numbers: [27, 23] Generated Node #0,2,1: 61:[27, 23] Operation: 62-39=23 Exploring Operation: 39+27=66, Resulting Numbers: [62, 66] Generated Node #0,2,2: 61:[62, 66] Operation: 39+27=66 Exploring Operation: 62+27=89, Resulting Numbers: [39, 89] Generated Node #0,2,3: 61:[39, 89] Operation: 62+27=89 Exploring Operation: 62-27=35, Resulting Numbers: [39, 35] Generated Node #0,2,4: 61:[39, 35] Operation: 62-27=35 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[62, 66], Operations: ['31-4=27', '39+27=66'] Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,61 unequal: No Solution Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 61:[39, 35], Operations: ['31-4=27', '62-27=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,61 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[62, 12], Operations: ['31-4=27', '39-27=12'] Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,61 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[39, 89], Operations: ['31-4=27', '62+27=89'] Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,61 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[27, 23], Operations: ['31-4=27', '62-39=23'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,61 unequal: No Solution Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 61:[62, 66], Operations: ['39-4=35', '31+35=66'] Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,61 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[58, 70], Operations: ['62-4=58', '39+31=70'] Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 58*70=4060, Resulting Numbers: [4060] 4060,61 unequal: No Solution Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[62, 74], Operations: ['39+4=43', '31+43=74'] Exploring Operation: 62+74=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 62*74=4588, Resulting Numbers: [4588] 4588,61 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,61 unequal: No Solution Moving to Node #0,3,4 Current State: 61:[43, 31], Operations: ['39+4=43', '62-31=31'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[39, 89], Operations: ['62-4=58', '31+58=89'] Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,61 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[62, 12], Operations: ['39+4=43', '43-31=12'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[43, 93], Operations: ['39+4=43', '31+62=93'] Exploring Operation: 43*93=3999, Resulting Numbers: [3999] 3999,61 unequal: No Solution Exploring Operation: 43+93=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[35, 31], Operations: ['39-4=35', '62-31=31'] Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,61 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[39, 27], Operations: ['62-4=58', '58-31=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,61 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[58, 8], Operations: ['62-4=58', '39-31=8'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[35, 93], Operations: ['39-4=35', '31+62=93'] Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 35*93=3255, Resulting Numbers: [3255] 3255,61 unequal: No Solution Exploring Operation: 35+93=128, Resulting Numbers: [128] 128,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[62, 4], Operations: ['39-4=35', '35-31=4'] Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,61 unequal: No Solution Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[31, 27], Operations: ['39-4=35', '62-35=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,61 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[31, 97], Operations: ['62-4=58', '39+58=97'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 31+97=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 31*97=3007, Resulting Numbers: [3007] 3007,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[31, 19], Operations: ['39+4=43', '62-43=19'] Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,61 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,61 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 37, 30, 42, 45 ]
65
[ "30*42=1260", "1260/45=28", "37+28=65" ]
Current State: 65:[37, 30, 42, 45], Operations: [] Exploring Operation: 30*42=1260, Resulting Numbers: [37, 45, 1260] Generated Node #2: [37, 45, 1260] from Operation: 30*42=1260 Current State: 65:[37, 45, 1260], Operations: ['30*42=1260'] Exploring Operation: 1260/45=28, Resulting Numbers: [37, 28] Generated Node #3: [37, 28] from Operation: 1260/45=28 Current State: 65:[37, 28], Operations: ['30*42=1260', '1260/45=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[37, 30, 42, 45], Operations: [] Exploring Operation: 37+30=67, Resulting Numbers: [42, 45, 67] Generated Node #0,0: 65:[42, 45, 67] Operation: 37+30=67 Exploring Operation: 42-37=5, Resulting Numbers: [30, 45, 5] Generated Node #0,1: 65:[30, 45, 5] Operation: 42-37=5 Exploring Operation: 45-37=8, Resulting Numbers: [30, 42, 8] Generated Node #0,2: 65:[30, 42, 8] Operation: 45-37=8 Exploring Operation: 45-42=3, Resulting Numbers: [37, 30, 3] Generated Node #0,3: 65:[37, 30, 3] Operation: 45-42=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[30, 45, 5], Operations: ['42-37=5'] Exploring Operation: 30/5=6, Resulting Numbers: [45, 6] Generated Node #0,1,0: 65:[45, 6] Operation: 30/5=6 Exploring Operation: 45-30=15, Resulting Numbers: [5, 15] Generated Node #0,1,1: 65:[5, 15] Operation: 45-30=15 Exploring Operation: 30+45=75, Resulting Numbers: [5, 75] Generated Node #0,1,2: 65:[5, 75] Operation: 30+45=75 Exploring Operation: 45/5=9, Resulting Numbers: [30, 9] Generated Node #0,1,3: 65:[30, 9] Operation: 45/5=9 Moving to Node #0,1,1 Current State: 65:[5, 15], Operations: ['42-37=5', '45-30=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[5, 75], Operations: ['42-37=5', '30+45=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,65 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[30, 9], Operations: ['42-37=5', '45/5=9'] Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,65 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[45, 6], Operations: ['42-37=5', '30/5=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,65 unequal: No Solution Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,65 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[30, 42, 8], Operations: ['45-37=8'] Exploring Operation: 42+8=50, Resulting Numbers: [30, 50] Generated Node #0,2,0: 65:[30, 50] Operation: 42+8=50 Exploring Operation: 42-30=12, Resulting Numbers: [8, 12] Generated Node #0,2,1: 65:[8, 12] Operation: 42-30=12 Exploring Operation: 30+42=72, Resulting Numbers: [8, 72] Generated Node #0,2,2: 65:[8, 72] Operation: 30+42=72 Exploring Operation: 30-8=22, Resulting Numbers: [42, 22] Generated Node #0,2,3: 65:[42, 22] Operation: 30-8=22 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 65:[8, 12], Operations: ['45-37=8', '42-30=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 65:[8, 72], Operations: ['45-37=8', '30+42=72'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,65 unequal: No Solution Exploring Operation: 8*72=576, Resulting Numbers: [576] 576,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[30, 50], Operations: ['45-37=8', '42+8=50'] Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,65 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 65:[42, 22], Operations: ['45-37=8', '30-8=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[37, 30, 3], Operations: ['45-42=3'] Exploring Operation: 37+30=67, Resulting Numbers: [3, 67] Generated Node #0,3,0: 65:[3, 67] Operation: 37+30=67 Exploring Operation: 37-3=34, Resulting Numbers: [30, 34] Generated Node #0,3,1: 65:[30, 34] Operation: 37-3=34 Exploring Operation: 30/3=10, Resulting Numbers: [37, 10] Generated Node #0,3,2: 65:[37, 10] Operation: 30/3=10 Exploring Operation: 37-30=7, Resulting Numbers: [3, 7] Generated Node #0,3,3: 65:[3, 7] Operation: 37-30=7 Moving to Node #0,3,0 Current State: 65:[3, 67], Operations: ['45-42=3', '37+30=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,65 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[3, 7], Operations: ['45-42=3', '37-30=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[37, 10], Operations: ['45-42=3', '30/3=10'] Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,65 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[30, 34], Operations: ['45-42=3', '37-3=34'] Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[42, 45, 67], Operations: ['37+30=67'] Exploring Operation: 67-45=22, Resulting Numbers: [42, 22] Generated Node #0,0,0: 65:[42, 22] Operation: 67-45=22 Exploring Operation: 45-42=3, Resulting Numbers: [67, 3] Generated Node #0,0,1: 65:[67, 3] Operation: 45-42=3 Exploring Operation: 42+45=87, Resulting Numbers: [67, 87] Generated Node #0,0,2: 65:[67, 87] Operation: 42+45=87 Exploring Operation: 67-42=25, Resulting Numbers: [45, 25] Generated Node #0,0,3: 65:[45, 25] Operation: 67-42=25 Moving to Node #0,0,1 Current State: 65:[67, 3], Operations: ['37+30=67', '45-42=3'] Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,65 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[67, 87], Operations: ['37+30=67', '42+45=87'] Exploring Operation: 67+87=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 67*87=5829, Resulting Numbers: [5829] 5829,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[45, 25], Operations: ['37+30=67', '67-42=25'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[42, 22], Operations: ['37+30=67', '67-45=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,65 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,65 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
[ 91, 27, 4, 30 ]
22
[ "91+27=118", "118-30=88", "88/4=22" ]
Current State: 22:[91, 27, 4, 30], Operations: [] Exploring Operation: 91+27=118, Resulting Numbers: [4, 30, 118] Generated Node #2: [4, 30, 118] from Operation: 91+27=118 Current State: 22:[4, 30, 118], Operations: ['91+27=118'] Exploring Operation: 118-30=88, Resulting Numbers: [4, 88] Generated Node #3: [4, 88] from Operation: 118-30=88 Current State: 22:[4, 88], Operations: ['91+27=118', '118-30=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[91, 27, 4, 30], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [91, 4, 3] Generated Node #0,0: 22:[91, 4, 3] Operation: 30-27=3 Exploring Operation: 91-27=64, Resulting Numbers: [4, 30, 64] Generated Node #0,1: 22:[4, 30, 64] Operation: 91-27=64 Exploring Operation: 91-30=61, Resulting Numbers: [27, 4, 61] Generated Node #0,2: 22:[27, 4, 61] Operation: 91-30=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[27, 4, 61], Operations: ['91-30=61'] Exploring Operation: 61-27=34, Resulting Numbers: [4, 34] Generated Node #0,2,0: 22:[4, 34] Operation: 61-27=34 Exploring Operation: 27-4=23, Resulting Numbers: [61, 23] Generated Node #0,2,1: 22:[61, 23] Operation: 27-4=23 Exploring Operation: 61-4=57, Resulting Numbers: [27, 57] Generated Node #0,2,2: 22:[27, 57] Operation: 61-4=57 Moving to Node #0,2,0 Current State: 22:[4, 34], Operations: ['91-30=61', '61-27=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[61, 23], Operations: ['91-30=61', '27-4=23'] Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[27, 57], Operations: ['91-30=61', '61-4=57'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,22 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[4, 30, 64], Operations: ['91-27=64'] Exploring Operation: 64-30=34, Resulting Numbers: [4, 34] Generated Node #0,1,0: 22:[4, 34] Operation: 64-30=34 Exploring Operation: 64/4=16, Resulting Numbers: [30, 16] Generated Node #0,1,1: 22:[30, 16] Operation: 64/4=16 Exploring Operation: 30-4=26, Resulting Numbers: [64, 26] Generated Node #0,1,2: 22:[64, 26] Operation: 30-4=26 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[30, 16], Operations: ['91-27=64', '64/4=16'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,22 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[4, 34], Operations: ['91-27=64', '64-30=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,22 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 22:[64, 26], Operations: ['91-27=64', '30-4=26'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,22 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[91, 4, 3], Operations: ['30-27=3'] Exploring Operation: 91-4=87, Resulting Numbers: [3, 87] Generated Node #0,0,0: 22:[3, 87] Operation: 91-4=87 Exploring Operation: 91-3=88, Resulting Numbers: [4, 88] Generated Node #0,0,1: 22:[4, 88] Operation: 91-3=88 Exploring Operation: 4*3=12, Resulting Numbers: [91, 12] Generated Node #0,0,2: 22:[91, 12] Operation: 4*3=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[3, 87], Operations: ['30-27=3', '91-4=87'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,22 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[4, 88], Operations: ['30-27=3', '91-3=88'] Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[91, 27, 4, 30], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [91, 4, 3] Generated Node #0,0: 22:[91, 4, 3] Operation: 30-27=3 Moving to Node #0,0 Current State: 22:[91, 4, 3], Operations: ['30-27=3'] Exploring Operation: 91-3=88, Resulting Numbers: [4, 88] Generated Node #0,0,1: 22:[4, 88] Operation: 91-3=88 Moving to Node #0,0,1 Current State: 22:[4, 88], Operations: ['30-27=3', '91-3=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_3
mult_heuristic
[ 31, 95, 5, 96 ]
84
[ "96-31=65", "95/5=19", "65+19=84" ]
Current State: 84:[31, 95, 5, 96], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [95, 5, 65] Generated Node #2: [95, 5, 65] from Operation: 96-31=65 Current State: 84:[95, 5, 65], Operations: ['96-31=65'] Exploring Operation: 95/5=19, Resulting Numbers: [65, 19] Generated Node #3: [65, 19] from Operation: 95/5=19 Current State: 84:[65, 19], Operations: ['96-31=65', '95/5=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[31, 95, 5, 96], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [31, 96, 19] Generated Node #0,0: 84:[31, 96, 19] Operation: 95/5=19 Exploring Operation: 96-95=1, Resulting Numbers: [31, 5, 1] Generated Node #0,1: 84:[31, 5, 1] Operation: 96-95=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[31, 5, 1], Operations: ['96-95=1'] Exploring Operation: 31-1=30, Resulting Numbers: [5, 30] Generated Node #0,1,0: 84:[5, 30] Operation: 31-1=30 Exploring Operation: 31-5=26, Resulting Numbers: [1, 26] Generated Node #0,1,1: 84:[1, 26] Operation: 31-5=26 Moving to Node #0,1,0 Current State: 84:[5, 30], Operations: ['96-95=1', '31-1=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[1, 26], Operations: ['96-95=1', '31-5=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,84 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[31, 96, 19], Operations: ['95/5=19'] Exploring Operation: 31-19=12, Resulting Numbers: [96, 12] Generated Node #0,0,0: 84:[96, 12] Operation: 31-19=12 Exploring Operation: 96-19=77, Resulting Numbers: [31, 77] Generated Node #0,0,1: 84:[31, 77] Operation: 96-19=77 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[31, 77], Operations: ['95/5=19', '96-19=77'] Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,84 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,84 unequal: No Solution No 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: 84:[96, 12], Operations: ['95/5=19', '31-19=12'] Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[31, 95, 5, 96], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [31, 96, 19] Generated Node #0,0: 84:[31, 96, 19] Operation: 95/5=19 Moving to Node #0,0 Current State: 84:[31, 96, 19], Operations: ['95/5=19'] Exploring Operation: 31-19=12, Resulting Numbers: [96, 12] Generated Node #0,0,0: 84:[96, 12] Operation: 31-19=12 Moving to Node #0,0,0 Current State: 84:[96, 12], Operations: ['95/5=19', '31-19=12'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 10, 63, 68, 56 ]
65
[ "63-10=53", "68-56=12", "53+12=65" ]
Current State: 65:[10, 63, 68, 56], Operations: [] Exploring Operation: 63-10=53, Resulting Numbers: [68, 56, 53] Generated Node #2: [68, 56, 53] from Operation: 63-10=53 Current State: 65:[68, 56, 53], Operations: ['63-10=53'] Exploring Operation: 68-56=12, Resulting Numbers: [53, 12] Generated Node #3: [53, 12] from Operation: 68-56=12 Current State: 65:[53, 12], Operations: ['63-10=53', '68-56=12'] Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[10, 63, 68, 56], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [10, 68, 7] Generated Node #0,0: 65:[10, 68, 7] Operation: 63-56=7 Exploring Operation: 10+56=66, Resulting Numbers: [63, 68, 66] Generated Node #0,1: 65:[63, 68, 66] Operation: 10+56=66 Exploring Operation: 68-56=12, Resulting Numbers: [10, 63, 12] Generated Node #0,2: 65:[10, 63, 12] Operation: 68-56=12 Moving to Node #0,1 Current State: 65:[63, 68, 66], Operations: ['10+56=66'] Exploring Operation: 68-63=5, Resulting Numbers: [66, 5] Generated Node #0,1,0: 65:[66, 5] Operation: 68-63=5 Exploring Operation: 68-66=2, Resulting Numbers: [63, 2] Generated Node #0,1,1: 65:[63, 2] Operation: 68-66=2 Exploring Operation: 66-63=3, Resulting Numbers: [68, 3] Generated Node #0,1,2: 65:[68, 3] Operation: 66-63=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[66, 5], Operations: ['10+56=66', '68-63=5'] Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,65 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[63, 2], Operations: ['10+56=66', '68-66=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[10, 63, 68, 56], Operations: [] Exploring Operation: 10+56=66, Resulting Numbers: [63, 68, 66] Generated Node #0,1: 65:[63, 68, 66] Operation: 10+56=66 Moving to Node #0,1 Current State: 65:[63, 68, 66], Operations: ['10+56=66'] Exploring Operation: 68-66=2, Resulting Numbers: [63, 2] Generated Node #0,1,1: 65:[63, 2] Operation: 68-66=2 Moving to Node #0,1,1 Current State: 65:[63, 2], Operations: ['10+56=66', '68-66=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 45, 53, 11, 13 ]
32
[ "53-45=8", "11+13=24", "8+24=32" ]
Current State: 32:[45, 53, 11, 13], Operations: [] Exploring Operation: 53-45=8, Resulting Numbers: [11, 13, 8] Generated Node #2: [11, 13, 8] from Operation: 53-45=8 Current State: 32:[11, 13, 8], Operations: ['53-45=8'] Exploring Operation: 11+13=24, Resulting Numbers: [8, 24] Generated Node #3: [8, 24] from Operation: 11+13=24 Current State: 32:[8, 24], Operations: ['53-45=8', '11+13=24'] Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[45, 53, 11, 13], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [45, 11, 40] Generated Node #0,0: 32:[45, 11, 40] Operation: 53-13=40 Exploring Operation: 45-13=32, Resulting Numbers: [53, 11, 32] Generated Node #0,1: 32:[53, 11, 32] Operation: 45-13=32 Exploring Operation: 53-45=8, Resulting Numbers: [11, 13, 8] Generated Node #0,2: 32:[11, 13, 8] Operation: 53-45=8 Moving to Node #0,2 Current State: 32:[11, 13, 8], Operations: ['53-45=8'] Exploring Operation: 13-11=2, Resulting Numbers: [8, 2] Generated Node #0,2,0: 32:[8, 2] Operation: 13-11=2 Exploring Operation: 11-8=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 32:[13, 3] Operation: 11-8=3 Exploring Operation: 13-8=5, Resulting Numbers: [11, 5] Generated Node #0,2,2: 32:[11, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[8, 2], Operations: ['53-45=8', '13-11=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,32 unequal: No Solution No 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: 32:[13, 3], Operations: ['53-45=8', '11-8=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,32 unequal: No Solution No 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: 32:[11, 5], Operations: ['53-45=8', '13-8=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,32 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: 32:[45, 11, 40], Operations: ['53-13=40'] Exploring Operation: 45-11=34, Resulting Numbers: [40, 34] Generated Node #0,0,0: 32:[40, 34] Operation: 45-11=34 Exploring Operation: 40-11=29, Resulting Numbers: [45, 29] Generated Node #0,0,1: 32:[45, 29] Operation: 40-11=29 Exploring Operation: 45-40=5, Resulting Numbers: [11, 5] Generated Node #0,0,2: 32:[11, 5] Operation: 45-40=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[11, 5], Operations: ['53-13=40', '45-40=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,32 unequal: No Solution No 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: 32:[40, 34], Operations: ['53-13=40', '45-11=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,32 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,32 unequal: No Solution No 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: 32:[45, 29], Operations: ['53-13=40', '40-11=29'] Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,32 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,32 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: 32:[53, 11, 32], Operations: ['45-13=32'] Exploring Operation: 53-32=21, Resulting Numbers: [11, 21] Generated Node #0,1,0: 32:[11, 21] Operation: 53-32=21 Exploring Operation: 53-11=42, Resulting Numbers: [32, 42] Generated Node #0,1,1: 32:[32, 42] Operation: 53-11=42 Exploring Operation: 32-11=21, Resulting Numbers: [53, 21] Generated Node #0,1,2: 32:[53, 21] Operation: 32-11=21 Moving to Node #0,1,0 Current State: 32:[11, 21], Operations: ['45-13=32', '53-32=21'] Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,32 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[45, 53, 11, 13], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [53, 11, 32] Generated Node #0,1: 32:[53, 11, 32] Operation: 45-13=32 Moving to Node #0,1 Current State: 32:[53, 11, 32], Operations: ['45-13=32'] Exploring Operation: 53-32=21, Resulting Numbers: [11, 21] Generated Node #0,1,0: 32:[11, 21] Operation: 53-32=21 Moving to Node #0,1,0 Current State: 32:[11, 21], Operations: ['45-13=32', '53-32=21'] Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 15, 46, 3, 10 ]
38
[ "46-15=31", "10-3=7", "31+7=38" ]
Current State: 38:[15, 46, 3, 10], Operations: [] Exploring Operation: 46-15=31, Resulting Numbers: [3, 10, 31] Generated Node #2: [3, 10, 31] from Operation: 46-15=31 Current State: 38:[3, 10, 31], Operations: ['46-15=31'] Exploring Operation: 10-3=7, Resulting Numbers: [31, 7] Generated Node #3: [31, 7] from Operation: 10-3=7 Current State: 38:[31, 7], Operations: ['46-15=31', '10-3=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[15, 46, 3, 10], Operations: [] Exploring Operation: 46-10=36, Resulting Numbers: [15, 3, 36] Generated Node #0,0: 38:[15, 3, 36] Operation: 46-10=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[15, 3, 36], Operations: ['46-10=36'] Exploring Operation: 15+3=18, Resulting Numbers: [36, 18] Generated Node #0,0,0: 38:[36, 18] Operation: 15+3=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[36, 18], Operations: ['46-10=36', '15+3=18'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 54, 49, 56, 37 ]
61
[ "56-54=2", "49*2=98", "98-37=61" ]
Current State: 61:[54, 49, 56, 37], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [49, 37, 2] Generated Node #2: [49, 37, 2] from Operation: 56-54=2 Current State: 61:[49, 37, 2], Operations: ['56-54=2'] Exploring Operation: 49*2=98, Resulting Numbers: [37, 98] Generated Node #3: [37, 98] from Operation: 49*2=98 Current State: 61:[37, 98], Operations: ['56-54=2', '49*2=98'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[54, 49, 56, 37], Operations: [] Exploring Operation: 54+37=91, Resulting Numbers: [49, 56, 91] Generated Node #0,0: 61:[49, 56, 91] Operation: 54+37=91 Exploring Operation: 54-37=17, Resulting Numbers: [49, 56, 17] Generated Node #0,1: 61:[49, 56, 17] Operation: 54-37=17 Exploring Operation: 49+37=86, Resulting Numbers: [54, 56, 86] Generated Node #0,2: 61:[54, 56, 86] Operation: 49+37=86 Exploring Operation: 56+37=93, Resulting Numbers: [54, 49, 93] Generated Node #0,3: 61:[54, 49, 93] Operation: 56+37=93 Moving to Node #0,2 Current State: 61:[54, 56, 86], Operations: ['49+37=86'] Exploring Operation: 86-54=32, Resulting Numbers: [56, 32] Generated Node #0,2,0: 61:[56, 32] Operation: 86-54=32 Exploring Operation: 54+56=110, Resulting Numbers: [86, 110] Generated Node #0,2,1: 61:[86, 110] Operation: 54+56=110 Exploring Operation: 86-56=30, Resulting Numbers: [54, 30] Generated Node #0,2,2: 61:[54, 30] Operation: 86-56=30 Exploring Operation: 56-54=2, Resulting Numbers: [86, 2] Generated Node #0,2,3: 61:[86, 2] Operation: 56-54=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[56, 32], Operations: ['49+37=86', '86-54=32'] Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,61 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[54, 30], Operations: ['49+37=86', '86-56=30'] Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[86, 110], Operations: ['49+37=86', '54+56=110'] Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,61 unequal: No Solution Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[86, 2], Operations: ['49+37=86', '56-54=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,61 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[49, 56, 91], Operations: ['54+37=91'] Exploring Operation: 56-49=7, Resulting Numbers: [91, 7] Generated Node #0,0,0: 61:[91, 7] Operation: 56-49=7 Exploring Operation: 91-49=42, Resulting Numbers: [56, 42] Generated Node #0,0,1: 61:[56, 42] Operation: 91-49=42 Exploring Operation: 49+56=105, Resulting Numbers: [91, 105] Generated Node #0,0,2: 61:[91, 105] Operation: 49+56=105 Exploring Operation: 91-56=35, Resulting Numbers: [49, 35] Generated Node #0,0,3: 61:[49, 35] Operation: 91-56=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[56, 42], Operations: ['54+37=91', '91-49=42'] Exploring Operation: 56+42=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 56*42=2352, Resulting Numbers: [2352] 2352,61 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[49, 35], Operations: ['54+37=91', '91-56=35'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[91, 105], Operations: ['54+37=91', '49+56=105'] Exploring Operation: 91+105=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 91*105=9555, Resulting Numbers: [9555] 9555,61 unequal: No Solution Exploring Operation: 105-91=14, Resulting Numbers: [14] 14,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[91, 7], Operations: ['54+37=91', '56-49=7'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,61 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,61 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: 61:[54, 49, 93], Operations: ['56+37=93'] Exploring Operation: 93-49=44, Resulting Numbers: [54, 44] Generated Node #0,3,0: 61:[54, 44] Operation: 93-49=44 Exploring Operation: 93-54=39, Resulting Numbers: [49, 39] Generated Node #0,3,1: 61:[49, 39] Operation: 93-54=39 Exploring Operation: 54+49=103, Resulting Numbers: [93, 103] Generated Node #0,3,2: 61:[93, 103] Operation: 54+49=103 Exploring Operation: 54-49=5, Resulting Numbers: [93, 5] Generated Node #0,3,3: 61:[93, 5] Operation: 54-49=5 Moving to Node #0,1 Current State: 61:[49, 56, 17], Operations: ['54-37=17'] Exploring Operation: 56+17=73, Resulting Numbers: [49, 73] Generated Node #0,1,0: 61:[49, 73] Operation: 56+17=73 Exploring Operation: 49+17=66, Resulting Numbers: [56, 66] Generated Node #0,1,1: 61:[56, 66] Operation: 49+17=66 Exploring Operation: 49-17=32, Resulting Numbers: [56, 32] Generated Node #0,1,2: 61:[56, 32] Operation: 49-17=32 Exploring Operation: 56-17=39, Resulting Numbers: [49, 39] Generated Node #0,1,3: 61:[49, 39] Operation: 56-17=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[56, 66], Operations: ['54-37=17', '49+17=66'] Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,61 unequal: No Solution Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[49, 73], Operations: ['54-37=17', '56+17=73'] Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[56, 32], Operations: ['54-37=17', '49-17=32'] Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,61 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[49, 39], Operations: ['54-37=17', '56-17=39'] Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 61:[54, 44], Operations: ['56+37=93', '93-49=44'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 54*44=2376, Resulting Numbers: [2376] 2376,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[49, 39], Operations: ['56+37=93', '93-54=39'] Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,61 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[93, 103], Operations: ['56+37=93', '54+49=103'] Exploring Operation: 103-93=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 93+103=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 93*103=9579, Resulting Numbers: [9579] 9579,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[93, 5], Operations: ['56+37=93', '54-49=5'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 42, 97, 77, 55 ]
76
[ "97-42=55", "55/55=1", "77-1=76" ]
Current State: 76:[42, 97, 77, 55], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [77, 55, 55] Generated Node #2: [77, 55, 55] from Operation: 97-42=55 Current State: 76:[77, 55, 55], Operations: ['97-42=55'] Exploring Operation: 55/55=1, Resulting Numbers: [77, 1] Generated Node #3: [77, 1] from Operation: 55/55=1 Current State: 76:[77, 1], Operations: ['97-42=55', '55/55=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[42, 97, 77, 55], Operations: [] Exploring Operation: 77-55=22, Resulting Numbers: [42, 97, 22] Generated Node #0,0: 76:[42, 97, 22] Operation: 77-55=22 Exploring Operation: 97-77=20, Resulting Numbers: [42, 55, 20] Generated Node #0,1: 76:[42, 55, 20] Operation: 97-77=20 Exploring Operation: 97-55=42, Resulting Numbers: [42, 77, 42] Generated Node #0,2: 76:[42, 77, 42] Operation: 97-55=42 Exploring Operation: 55-42=13, Resulting Numbers: [97, 77, 13] Generated Node #0,3: 76:[97, 77, 13] Operation: 55-42=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[42, 77, 42], Operations: ['97-55=42'] Exploring Operation: 42/42=1, Resulting Numbers: [77, 1] Generated Node #0,2,0: 76:[77, 1] Operation: 42/42=1 Exploring Operation: 42-42=0, Resulting Numbers: [77, 0] Generated Node #0,2,1: 76:[77, 0] Operation: 42-42=0 Exploring Operation: 77-42=35, Resulting Numbers: [42, 35] Generated Node #0,2,2: 76:[42, 35] Operation: 77-42=35 Exploring Operation: 77-42=35, Resulting Numbers: [42, 35] Generated Node #0,2,3: 76:[42, 35] Operation: 77-42=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[77, 1], Operations: ['97-55=42', '42/42=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[42, 97, 77, 55], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [42, 77, 42] Generated Node #0,2: 76:[42, 77, 42] Operation: 97-55=42 Moving to Node #0,2 Current State: 76:[42, 77, 42], Operations: ['97-55=42'] Exploring Operation: 42/42=1, Resulting Numbers: [77, 1] Generated Node #0,2,0: 76:[77, 1] Operation: 42/42=1 Moving to Node #0,2,0 Current State: 76:[77, 1], Operations: ['97-55=42', '42/42=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 95, 11, 2, 19 ]
57
[ "95*11=1045", "1045/19=55", "2+55=57" ]
Current State: 57:[95, 11, 2, 19], Operations: [] Exploring Operation: 95*11=1045, Resulting Numbers: [2, 19, 1045] Generated Node #2: [2, 19, 1045] from Operation: 95*11=1045 Current State: 57:[2, 19, 1045], Operations: ['95*11=1045'] Exploring Operation: 1045/19=55, Resulting Numbers: [2, 55] Generated Node #3: [2, 55] from Operation: 1045/19=55 Current State: 57:[2, 55], Operations: ['95*11=1045', '1045/19=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[95, 11, 2, 19], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [95, 19, 22] Generated Node #0,0: 57:[95, 19, 22] Operation: 11*2=22 Exploring Operation: 95/19=5, Resulting Numbers: [11, 2, 5] Generated Node #0,1: 57:[11, 2, 5] Operation: 95/19=5 Exploring Operation: 95-19=76, Resulting Numbers: [11, 2, 76] Generated Node #0,2: 57:[11, 2, 76] Operation: 95-19=76 Exploring Operation: 95-11=84, Resulting Numbers: [2, 19, 84] Generated Node #0,3: 57:[2, 19, 84] Operation: 95-11=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[11, 2, 5], Operations: ['95/19=5'] Exploring Operation: 11*2=22, Resulting Numbers: [5, 22] Generated Node #0,1,0: 57:[5, 22] Operation: 11*2=22 Exploring Operation: 11-5=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 57:[2, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [2, 16] Generated Node #0,1,2: 57:[2, 16] Operation: 11+5=16 Exploring Operation: 11*5=55, Resulting Numbers: [2, 55] Generated Node #0,1,3: 57:[2, 55] Operation: 11*5=55 Moving to Node #0,1,3 Current State: 57:[2, 55], Operations: ['95/19=5', '11*5=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,57 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[95, 11, 2, 19], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [11, 2, 5] Generated Node #0,1: 57:[11, 2, 5] Operation: 95/19=5 Moving to Node #0,1 Current State: 57:[11, 2, 5], Operations: ['95/19=5'] Exploring Operation: 11*5=55, Resulting Numbers: [2, 55] Generated Node #0,1,3: 57:[2, 55] Operation: 11*5=55 Moving to Node #0,1,3 Current State: 57:[2, 55], Operations: ['95/19=5', '11*5=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 51, 7, 95, 28 ]
65
[ "51+7=58", "95+28=123", "123-58=65" ]
Current State: 65:[51, 7, 95, 28], Operations: [] Exploring Operation: 51+7=58, Resulting Numbers: [95, 28, 58] Generated Node #2: [95, 28, 58] from Operation: 51+7=58 Current State: 65:[95, 28, 58], Operations: ['51+7=58'] Exploring Operation: 95+28=123, Resulting Numbers: [58, 123] Generated Node #3: [58, 123] from Operation: 95+28=123 Current State: 65:[58, 123], Operations: ['51+7=58', '95+28=123'] Exploring Operation: 123-58=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[51, 7, 95, 28], Operations: [] Exploring Operation: 95-28=67, Resulting Numbers: [51, 7, 67] Generated Node #0,0: 65:[51, 7, 67] Operation: 95-28=67 Exploring Operation: 95-51=44, Resulting Numbers: [7, 28, 44] Generated Node #0,1: 65:[7, 28, 44] Operation: 95-51=44 Exploring Operation: 51+28=79, Resulting Numbers: [7, 95, 79] Generated Node #0,2: 65:[7, 95, 79] Operation: 51+28=79 Exploring Operation: 28/7=4, Resulting Numbers: [51, 95, 4] Generated Node #0,3: 65:[51, 95, 4] Operation: 28/7=4 Exploring Operation: 51-28=23, Resulting Numbers: [7, 95, 23] Generated Node #0,4: 65:[7, 95, 23] Operation: 51-28=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[51, 7, 67], Operations: ['95-28=67'] Exploring Operation: 51+7=58, Resulting Numbers: [67, 58] Generated Node #0,0,0: 65:[67, 58] Operation: 51+7=58 Exploring Operation: 67-7=60, Resulting Numbers: [51, 60] Generated Node #0,0,1: 65:[51, 60] Operation: 67-7=60 Exploring Operation: 51-7=44, Resulting Numbers: [67, 44] Generated Node #0,0,2: 65:[67, 44] Operation: 51-7=44 Exploring Operation: 7+67=74, Resulting Numbers: [51, 74] Generated Node #0,0,3: 65:[51, 74] Operation: 7+67=74 Exploring Operation: 67-51=16, Resulting Numbers: [7, 16] Generated Node #0,0,4: 65:[7, 16] Operation: 67-51=16 Moving to Node #0,0,4 Current State: 65:[7, 16], Operations: ['95-28=67', '67-51=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,65 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[67, 58], Operations: ['95-28=67', '51+7=58'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,65 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[51, 60], Operations: ['95-28=67', '67-7=60'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,65 unequal: No Solution Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[67, 44], Operations: ['95-28=67', '51-7=44'] Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 67*44=2948, Resulting Numbers: [2948] 2948,65 unequal: No Solution Exploring Operation: 67+44=111, Resulting Numbers: [111] 111,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[51, 74], Operations: ['95-28=67', '7+67=74'] Exploring Operation: 51+74=125, Resulting Numbers: [125] 125,65 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 51*74=3774, Resulting Numbers: [3774] 3774,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[7, 28, 44], Operations: ['95-51=44'] Exploring Operation: 7+44=51, Resulting Numbers: [28, 51] Generated Node #0,1,0: 65:[28, 51] Operation: 7+44=51 Exploring Operation: 44-28=16, Resulting Numbers: [7, 16] Generated Node #0,1,1: 65:[7, 16] Operation: 44-28=16 Exploring Operation: 28-7=21, Resulting Numbers: [44, 21] Generated Node #0,1,2: 65:[44, 21] Operation: 28-7=21 Exploring Operation: 28+44=72, Resulting Numbers: [7, 72] Generated Node #0,1,3: 65:[7, 72] Operation: 28+44=72 Exploring Operation: 28/7=4, Resulting Numbers: [44, 4] Generated Node #0,1,4: 65:[44, 4] Operation: 28/7=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[7, 16], Operations: ['95-51=44', '44-28=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,65 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[7, 72], Operations: ['95-51=44', '28+44=72'] Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[51, 7, 95, 28], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [7, 28, 44] Generated Node #0,1: 65:[7, 28, 44] Operation: 95-51=44 Moving to Node #0,1 Current State: 65:[7, 28, 44], Operations: ['95-51=44'] Exploring Operation: 28+44=72, Resulting Numbers: [7, 72] Generated Node #0,1,3: 65:[7, 72] Operation: 28+44=72 Moving to Node #0,1,3 Current State: 65:[7, 72], Operations: ['95-51=44', '28+44=72'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 74, 64, 82, 11 ]
67
[ "74+64=138", "82-11=71", "138-71=67" ]
Current State: 67:[74, 64, 82, 11], Operations: [] Exploring Operation: 74+64=138, Resulting Numbers: [82, 11, 138] Generated Node #2: [82, 11, 138] from Operation: 74+64=138 Current State: 67:[82, 11, 138], Operations: ['74+64=138'] Exploring Operation: 82-11=71, Resulting Numbers: [138, 71] Generated Node #3: [138, 71] from Operation: 82-11=71 Current State: 67:[138, 71], Operations: ['74+64=138', '82-11=71'] Exploring Operation: 138-71=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[74, 64, 82, 11], Operations: [] Exploring Operation: 82-11=71, Resulting Numbers: [74, 64, 71] Generated Node #0,0: 67:[74, 64, 71] Operation: 82-11=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[74, 64, 71], Operations: ['82-11=71'] Exploring Operation: 74-64=10, Resulting Numbers: [71, 10] Generated Node #0,0,0: 67:[71, 10] Operation: 74-64=10 Moving to Node #0,0,0 Current State: 67:[71, 10], Operations: ['82-11=71', '74-64=10'] Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,67 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
[ 71, 8, 98, 23 ]
12
[ "71-8=63", "98-23=75", "75-63=12" ]
Current State: 12:[71, 8, 98, 23], Operations: [] Exploring Operation: 71-8=63, Resulting Numbers: [98, 23, 63] Generated Node #2: [98, 23, 63] from Operation: 71-8=63 Current State: 12:[98, 23, 63], Operations: ['71-8=63'] Exploring Operation: 98-23=75, Resulting Numbers: [63, 75] Generated Node #3: [63, 75] from Operation: 98-23=75 Current State: 12:[63, 75], Operations: ['71-8=63', '98-23=75'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[71, 8, 98, 23], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [8, 23, 27] Generated Node #0,0: 12:[8, 23, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[8, 23, 27], Operations: ['98-71=27'] Exploring Operation: 27-23=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 12:[8, 4] Operation: 27-23=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[8, 4], Operations: ['98-71=27', '27-23=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[71, 8, 98, 23], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [8, 23, 27] Generated Node #0,0: 12:[8, 23, 27] Operation: 98-71=27 Moving to Node #0,0 Current State: 12:[8, 23, 27], Operations: ['98-71=27'] Exploring Operation: 27-23=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 12:[8, 4] Operation: 27-23=4 Moving to Node #0,0,0 Current State: 12:[8, 4], Operations: ['98-71=27', '27-23=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 90, 64, 25, 8 ]
59
[ "90-64=26", "25+8=33", "26+33=59" ]
Current State: 59:[90, 64, 25, 8], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [25, 8, 26] Generated Node #2: [25, 8, 26] from Operation: 90-64=26 Current State: 59:[25, 8, 26], Operations: ['90-64=26'] Exploring Operation: 25+8=33, Resulting Numbers: [26, 33] Generated Node #3: [26, 33] from Operation: 25+8=33 Current State: 59:[26, 33], Operations: ['90-64=26', '25+8=33'] Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[90, 64, 25, 8], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [64, 8, 65] Generated Node #0,0: 59:[64, 8, 65] Operation: 90-25=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[64, 8, 65], Operations: ['90-25=65'] Exploring Operation: 65-8=57, Resulting Numbers: [64, 57] Generated Node #0,0,0: 59:[64, 57] Operation: 65-8=57 Moving to Node #0,0,0 Current State: 59:[64, 57], Operations: ['90-25=65', '65-8=57'] Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,59 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
[ 87, 39, 6, 54 ]
78
[ "87+39=126", "54-6=48", "126-48=78" ]
Current State: 78:[87, 39, 6, 54], Operations: [] Exploring Operation: 87+39=126, Resulting Numbers: [6, 54, 126] Generated Node #2: [6, 54, 126] from Operation: 87+39=126 Current State: 78:[6, 54, 126], Operations: ['87+39=126'] Exploring Operation: 54-6=48, Resulting Numbers: [126, 48] Generated Node #3: [126, 48] from Operation: 54-6=48 Current State: 78:[126, 48], Operations: ['87+39=126', '54-6=48'] Exploring Operation: 126-48=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[87, 39, 6, 54], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [87, 6, 15] Generated Node #0,0: 78:[87, 6, 15] Operation: 54-39=15 Exploring Operation: 54/6=9, Resulting Numbers: [87, 39, 9] Generated Node #0,1: 78:[87, 39, 9] Operation: 54/6=9 Exploring Operation: 87-54=33, Resulting Numbers: [39, 6, 33] Generated Node #0,2: 78:[39, 6, 33] Operation: 87-54=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[39, 6, 33], Operations: ['87-54=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39, 39] Generated Node #0,2,0: 78:[39, 39] Operation: 6+33=39 Exploring Operation: 33-6=27, Resulting Numbers: [39, 27] Generated Node #0,2,1: 78:[39, 27] Operation: 33-6=27 Exploring Operation: 39-33=6, Resulting Numbers: [6, 6] Generated Node #0,2,2: 78:[6, 6] Operation: 39-33=6 Moving to Node #0,2,0 Current State: 78:[39, 39], Operations: ['87-54=33', '6+33=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[87, 39, 6, 54], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [39, 6, 33] Generated Node #0,2: 78:[39, 6, 33] Operation: 87-54=33 Moving to Node #0,2 Current State: 78:[39, 6, 33], Operations: ['87-54=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39, 39] Generated Node #0,2,0: 78:[39, 39] Operation: 6+33=39 Moving to Node #0,2,0 Current State: 78:[39, 39], Operations: ['87-54=33', '6+33=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 32, 70, 5, 93 ]
50
[ "70-32=38", "93-5=88", "88-38=50" ]
Current State: 50:[32, 70, 5, 93], Operations: [] Exploring Operation: 70-32=38, Resulting Numbers: [5, 93, 38] Generated Node #2: [5, 93, 38] from Operation: 70-32=38 Current State: 50:[5, 93, 38], Operations: ['70-32=38'] Exploring Operation: 93-5=88, Resulting Numbers: [38, 88] Generated Node #3: [38, 88] from Operation: 93-5=88 Current State: 50:[38, 88], Operations: ['70-32=38', '93-5=88'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[32, 70, 5, 93], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [32, 5, 23] Generated Node #0,0: 50:[32, 5, 23] Operation: 93-70=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[32, 5, 23], Operations: ['93-70=23'] Exploring Operation: 32-23=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 50:[5, 9] Operation: 32-23=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[5, 9], Operations: ['93-70=23', '32-23=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,50 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
[ 85, 52, 80, 93 ]
20
[ "85-52=33", "93-80=13", "33-13=20" ]
Current State: 20:[85, 52, 80, 93], Operations: [] Exploring Operation: 85-52=33, Resulting Numbers: [80, 93, 33] Generated Node #2: [80, 93, 33] from Operation: 85-52=33 Current State: 20:[80, 93, 33], Operations: ['85-52=33'] Exploring Operation: 93-80=13, Resulting Numbers: [33, 13] Generated Node #3: [33, 13] from Operation: 93-80=13 Current State: 20:[33, 13], Operations: ['85-52=33', '93-80=13'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[85, 52, 80, 93], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [85, 52, 13] Generated Node #0,0: 20:[85, 52, 13] Operation: 93-80=13 Exploring Operation: 93-85=8, Resulting Numbers: [52, 80, 8] Generated Node #0,1: 20:[52, 80, 8] Operation: 93-85=8 Moving to Node #0,1 Current State: 20:[52, 80, 8], Operations: ['93-85=8'] Exploring Operation: 80-52=28, Resulting Numbers: [8, 28] Generated Node #0,1,0: 20:[8, 28] Operation: 80-52=28 Exploring Operation: 80/8=10, Resulting Numbers: [52, 10] Generated Node #0,1,1: 20:[52, 10] Operation: 80/8=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[8, 28], Operations: ['93-85=8', '80-52=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[85, 52, 80, 93], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [52, 80, 8] Generated Node #0,1: 20:[52, 80, 8] Operation: 93-85=8 Moving to Node #0,1 Current State: 20:[52, 80, 8], Operations: ['93-85=8'] Exploring Operation: 80-52=28, Resulting Numbers: [8, 28] Generated Node #0,1,0: 20:[8, 28] Operation: 80-52=28 Moving to Node #0,1,0 Current State: 20:[8, 28], Operations: ['93-85=8', '80-52=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 4, 40, 20, 22 ]
22
[ "4+40=44", "22-20=2", "44/2=22" ]
Current State: 22:[4, 40, 20, 22], Operations: [] Exploring Operation: 4+40=44, Resulting Numbers: [20, 22, 44] Generated Node #2: [20, 22, 44] from Operation: 4+40=44 Current State: 22:[20, 22, 44], Operations: ['4+40=44'] Exploring Operation: 22-20=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 22-20=2 Current State: 22:[44, 2], Operations: ['4+40=44', '22-20=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[4, 40, 20, 22], Operations: [] Exploring Operation: 40-22=18, Resulting Numbers: [4, 20, 18] Generated Node #0,0: 22:[4, 20, 18] Operation: 40-22=18 Exploring Operation: 40-20=20, Resulting Numbers: [4, 22, 20] Generated Node #0,1: 22:[4, 22, 20] Operation: 40-20=20 Exploring Operation: 40/4=10, Resulting Numbers: [20, 22, 10] Generated Node #0,2: 22:[20, 22, 10] Operation: 40/4=10 Exploring Operation: 40/20=2, Resulting Numbers: [4, 22, 2] Generated Node #0,3: 22:[4, 22, 2] Operation: 40/20=2 Moving to Node #0,3 Current State: 22:[4, 22, 2], Operations: ['40/20=2'] Exploring Operation: 4/2=2, Resulting Numbers: [22, 2] Generated Node #0,3,0: 22:[22, 2] Operation: 4/2=2 Exploring Operation: 22/2=11, Resulting Numbers: [4, 11] Generated Node #0,3,1: 22:[4, 11] Operation: 22/2=11 Exploring Operation: 4*2=8, Resulting Numbers: [22, 8] Generated Node #0,3,2: 22:[22, 8] Operation: 4*2=8 Exploring Operation: 4-2=2, Resulting Numbers: [22, 2] Generated Node #0,3,3: 22:[22, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 22:[22, 2], Operations: ['40/20=2', '4/2=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[22, 2], Operations: ['40/20=2', '4-2=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[4, 11], Operations: ['40/20=2', '22/2=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[22, 8], Operations: ['40/20=2', '4*2=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,22 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: 22:[20, 22, 10], Operations: ['40/4=10'] Exploring Operation: 20/10=2, Resulting Numbers: [22, 2] Generated Node #0,2,0: 22:[22, 2] Operation: 20/10=2 Exploring Operation: 22-10=12, Resulting Numbers: [20, 12] Generated Node #0,2,1: 22:[20, 12] Operation: 22-10=12 Exploring Operation: 20-10=10, Resulting Numbers: [22, 10] Generated Node #0,2,2: 22:[22, 10] Operation: 20-10=10 Exploring Operation: 22-20=2, Resulting Numbers: [10, 2] Generated Node #0,2,3: 22:[10, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[22, 2], Operations: ['40/4=10', '20/10=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[22, 10], Operations: ['40/4=10', '20-10=10'] Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,22 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[10, 2], Operations: ['40/4=10', '22-20=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[20, 12], Operations: ['40/4=10', '22-10=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,22 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: 22:[4, 22, 20], Operations: ['40-20=20'] Exploring Operation: 4+20=24, Resulting Numbers: [22, 24] Generated Node #0,1,0: 22:[22, 24] Operation: 4+20=24 Exploring Operation: 20/4=5, Resulting Numbers: [22, 5] Generated Node #0,1,1: 22:[22, 5] Operation: 20/4=5 Exploring Operation: 22-20=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 22:[4, 2] Operation: 22-20=2 Exploring Operation: 20-4=16, Resulting Numbers: [22, 16] Generated Node #0,1,3: 22:[22, 16] Operation: 20-4=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[22, 24], Operations: ['40-20=20', '4+20=24'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,22 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[4, 2], Operations: ['40-20=20', '22-20=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[22, 5], Operations: ['40-20=20', '20/4=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[22, 16], Operations: ['40-20=20', '20-4=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,22 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 22:[4, 20, 18], Operations: ['40-22=18'] Exploring Operation: 4+18=22, Resulting Numbers: [20, 22] Generated Node #0,0,0: 22:[20, 22] Operation: 4+18=22 Exploring Operation: 4+20=24, Resulting Numbers: [18, 24] Generated Node #0,0,1: 22:[18, 24] Operation: 4+20=24 Exploring Operation: 18-4=14, Resulting Numbers: [20, 14] Generated Node #0,0,2: 22:[20, 14] Operation: 18-4=14 Exploring Operation: 20-18=2, Resulting Numbers: [4, 2] Generated Node #0,0,3: 22:[4, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[20, 22], Operations: ['40-22=18', '4+18=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 22:[4, 2], Operations: ['40-22=18', '20-18=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[20, 14], Operations: ['40-22=18', '18-4=14'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[18, 24], Operations: ['40-22=18', '4+20=24'] Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,22 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,22 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