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
[ 61, 27, 38, 84 ]
54
[ "38+84=122", "122/61=2", "27*2=54" ]
Current State: 54:[61, 27, 38, 84], Operations: [] Exploring Operation: 38+84=122, Resulting Numbers: [61, 27, 122] Generated Node #2: [61, 27, 122] from Operation: 38+84=122 Current State: 54:[61, 27, 122], Operations: ['38+84=122'] Exploring Operation: 122/61=2, Resulting Numbers: [27, 2] Generated Node #3: [27, 2] from Operation: 122/61=2 Current State: 54:[27, 2], Operations: ['38+84=122', '122/61=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[61, 27, 38, 84], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [27, 38, 23] Generated Node #0,0: 54:[27, 38, 23] Operation: 84-61=23 Exploring Operation: 84-38=46, Resulting Numbers: [61, 27, 46] Generated Node #0,1: 54:[61, 27, 46] Operation: 84-38=46 Exploring Operation: 84-27=57, Resulting Numbers: [61, 38, 57] Generated Node #0,2: 54:[61, 38, 57] Operation: 84-27=57 Exploring Operation: 38-27=11, Resulting Numbers: [61, 84, 11] Generated Node #0,3: 54:[61, 84, 11] Operation: 38-27=11 Exploring Operation: 61-38=23, Resulting Numbers: [27, 84, 23] Generated Node #0,4: 54:[27, 84, 23] Operation: 61-38=23 Moving to Node #0,0 Current State: 54:[27, 38, 23], Operations: ['84-61=23'] Exploring Operation: 27-23=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 54:[38, 4] Operation: 27-23=4 Exploring Operation: 38-27=11, Resulting Numbers: [23, 11] Generated Node #0,0,1: 54:[23, 11] Operation: 38-27=11 Exploring Operation: 38-23=15, Resulting Numbers: [27, 15] Generated Node #0,0,2: 54:[27, 15] Operation: 38-23=15 Exploring Operation: 38+23=61, Resulting Numbers: [27, 61] Generated Node #0,0,3: 54:[27, 61] Operation: 38+23=61 Exploring Operation: 27+38=65, Resulting Numbers: [23, 65] Generated Node #0,0,4: 54:[23, 65] Operation: 27+38=65 Moving to Node #0,1 Current State: 54:[61, 27, 46], Operations: ['84-38=46'] Exploring Operation: 61-46=15, Resulting Numbers: [27, 15] Generated Node #0,1,0: 54:[27, 15] Operation: 61-46=15 Exploring Operation: 61+27=88, Resulting Numbers: [46, 88] Generated Node #0,1,1: 54:[46, 88] Operation: 61+27=88 Exploring Operation: 27+46=73, Resulting Numbers: [61, 73] Generated Node #0,1,2: 54:[61, 73] Operation: 27+46=73 Exploring Operation: 46-27=19, Resulting Numbers: [61, 19] Generated Node #0,1,3: 54:[61, 19] Operation: 46-27=19 Exploring Operation: 61-27=34, Resulting Numbers: [46, 34] Generated Node #0,1,4: 54:[46, 34] Operation: 61-27=34 Moving to Node #0,2 Current State: 54:[61, 38, 57], Operations: ['84-27=57'] Exploring Operation: 57-38=19, Resulting Numbers: [61, 19] Generated Node #0,2,0: 54:[61, 19] Operation: 57-38=19 Exploring Operation: 38+57=95, Resulting Numbers: [61, 95] Generated Node #0,2,1: 54:[61, 95] Operation: 38+57=95 Exploring Operation: 61+38=99, Resulting Numbers: [57, 99] Generated Node #0,2,2: 54:[57, 99] Operation: 61+38=99 Exploring Operation: 61-38=23, Resulting Numbers: [57, 23] Generated Node #0,2,3: 54:[57, 23] Operation: 61-38=23 Exploring Operation: 61-57=4, Resulting Numbers: [38, 4] Generated Node #0,2,4: 54:[38, 4] Operation: 61-57=4 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[57, 23], Operations: ['84-27=57', '61-38=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,54 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,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,2,0 Current State: 54:[61, 19], Operations: ['84-27=57', '57-38=19'] Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,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,2,4 Current State: 54:[38, 4], Operations: ['84-27=57', '61-57=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,54 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,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,2,1 Current State: 54:[61, 95], Operations: ['84-27=57', '38+57=95'] Exploring Operation: 61*95=5795, Resulting Numbers: [5795] 5795,54 unequal: No Solution Exploring Operation: 61+95=156, Resulting Numbers: [156] 156,54 unequal: No Solution Exploring Operation: 95-61=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,2,2 Current State: 54:[57, 99], Operations: ['84-27=57', '61+38=99'] Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,54 unequal: No Solution Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,54 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,54 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: 54:[27, 84, 23], Operations: ['61-38=23'] Exploring Operation: 27+23=50, Resulting Numbers: [84, 50] Generated Node #0,4,0: 54:[84, 50] Operation: 27+23=50 Exploring Operation: 84-23=61, Resulting Numbers: [27, 61] Generated Node #0,4,1: 54:[27, 61] Operation: 84-23=61 Exploring Operation: 84-27=57, Resulting Numbers: [23, 57] Generated Node #0,4,2: 54:[23, 57] Operation: 84-27=57 Exploring Operation: 27-23=4, Resulting Numbers: [84, 4] Generated Node #0,4,3: 54:[84, 4] Operation: 27-23=4 Exploring Operation: 84+23=107, Resulting Numbers: [27, 107] Generated Node #0,4,4: 54:[27, 107] Operation: 84+23=107 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 54:[27, 61], Operations: ['61-38=23', '84-23=61'] Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,54 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,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:[23, 57], Operations: ['61-38=23', '84-27=57'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,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,3 Current State: 54:[84, 4], Operations: ['61-38=23', '27-23=4'] Exploring Operation: 84*4=336, Resulting Numbers: [336] 336,54 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 84+4=88, Resulting Numbers: [88] 88,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:[84, 50], Operations: ['61-38=23', '27+23=50'] Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,54 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,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:[27, 107], Operations: ['61-38=23', '84+23=107'] Exploring Operation: 107-27=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 27+107=134, Resulting Numbers: [134] 134,54 unequal: No Solution Exploring Operation: 27*107=2889, Resulting Numbers: [2889] 2889,54 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: 54:[61, 84, 11], Operations: ['38-27=11'] Exploring Operation: 61+11=72, Resulting Numbers: [84, 72] Generated Node #0,3,0: 54:[84, 72] Operation: 61+11=72 Exploring Operation: 84-61=23, Resulting Numbers: [11, 23] Generated Node #0,3,1: 54:[11, 23] Operation: 84-61=23 Exploring Operation: 84-11=73, Resulting Numbers: [61, 73] Generated Node #0,3,2: 54:[61, 73] Operation: 84-11=73 Exploring Operation: 61-11=50, Resulting Numbers: [84, 50] Generated Node #0,3,3: 54:[84, 50] Operation: 61-11=50 Exploring Operation: 84+11=95, Resulting Numbers: [61, 95] Generated Node #0,3,4: 54:[61, 95] Operation: 84+11=95 Moving to Node #0,0,2 Current State: 54:[27, 15], Operations: ['84-61=23', '38-23=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,54 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[27, 15], Operations: ['84-38=46', '61-46=15'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[23, 11], Operations: ['84-61=23', '38-27=11'] Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,54 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[11, 23], Operations: ['38-27=11', '84-61=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,54 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[27, 61], Operations: ['84-61=23', '38+23=61'] Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,54 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[61, 19], Operations: ['84-38=46', '46-27=19'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[38, 4], Operations: ['84-61=23', '27-23=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,54 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[23, 65], Operations: ['84-61=23', '27+38=65'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,54 unequal: No Solution Exploring Operation: 23*65=1495, Resulting Numbers: [1495] 1495,54 unequal: No Solution Moving to Node #0,1,4 Current State: 54:[46, 34], Operations: ['84-38=46', '61-27=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,54 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[61, 73], Operations: ['38-27=11', '84-11=73'] Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,54 unequal: No Solution Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[61, 73], Operations: ['84-38=46', '27+46=73'] Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,54 unequal: No Solution Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,54 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[84, 50], Operations: ['38-27=11', '61-11=50'] Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,54 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[46, 88], Operations: ['84-38=46', '61+27=88'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 46+88=134, Resulting Numbers: [134] 134,54 unequal: No Solution Exploring Operation: 46*88=4048, Resulting Numbers: [4048] 4048,54 unequal: No Solution Moving to Node #0,3,4 Current State: 54:[61, 95], Operations: ['38-27=11', '84+11=95'] Exploring Operation: 61*95=5795, Resulting Numbers: [5795] 5795,54 unequal: No Solution Exploring Operation: 61+95=156, Resulting Numbers: [156] 156,54 unequal: No Solution Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[84, 72], Operations: ['38-27=11', '61+11=72'] Exploring Operation: 84+72=156, Resulting Numbers: [156] 156,54 unequal: No Solution Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 84*72=6048, Resulting Numbers: [6048] 6048,54 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 44, 30, 95, 98 ]
46
[ "98-95=3", "30*3=90", "90-44=46" ]
Current State: 46:[44, 30, 95, 98], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [44, 30, 3] Generated Node #2: [44, 30, 3] from Operation: 98-95=3 Current State: 46:[44, 30, 3], Operations: ['98-95=3'] Exploring Operation: 30*3=90, Resulting Numbers: [44, 90] Generated Node #3: [44, 90] from Operation: 30*3=90 Current State: 46:[44, 90], Operations: ['98-95=3', '30*3=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[44, 30, 95, 98], Operations: [] Exploring Operation: 98-44=54, Resulting Numbers: [30, 95, 54] Generated Node #0,0: 46:[30, 95, 54] Operation: 98-44=54 Exploring Operation: 95-44=51, Resulting Numbers: [30, 98, 51] Generated Node #0,1: 46:[30, 98, 51] Operation: 95-44=51 Exploring Operation: 98-95=3, Resulting Numbers: [44, 30, 3] Generated Node #0,2: 46:[44, 30, 3] Operation: 98-95=3 Exploring Operation: 95-30=65, Resulting Numbers: [44, 98, 65] Generated Node #0,3: 46:[44, 98, 65] Operation: 95-30=65 Moving to Node #0,2 Current State: 46:[44, 30, 3], Operations: ['98-95=3'] Exploring Operation: 30/3=10, Resulting Numbers: [44, 10] Generated Node #0,2,0: 46:[44, 10] Operation: 30/3=10 Exploring Operation: 44+3=47, Resulting Numbers: [30, 47] Generated Node #0,2,1: 46:[30, 47] Operation: 44+3=47 Exploring Operation: 44-30=14, Resulting Numbers: [3, 14] Generated Node #0,2,2: 46:[3, 14] Operation: 44-30=14 Exploring Operation: 30-3=27, Resulting Numbers: [44, 27] Generated Node #0,2,3: 46:[44, 27] Operation: 30-3=27 Moving to Node #0,1 Current State: 46:[30, 98, 51], Operations: ['95-44=51'] Exploring Operation: 30+98=128, Resulting Numbers: [51, 128] Generated Node #0,1,0: 46:[51, 128] Operation: 30+98=128 Exploring Operation: 98-51=47, Resulting Numbers: [30, 47] Generated Node #0,1,1: 46:[30, 47] Operation: 98-51=47 Exploring Operation: 98-30=68, Resulting Numbers: [51, 68] Generated Node #0,1,2: 46:[51, 68] Operation: 98-30=68 Exploring Operation: 51-30=21, Resulting Numbers: [98, 21] Generated Node #0,1,3: 46:[98, 21] Operation: 51-30=21 Moving to Node #0,0 Current State: 46:[30, 95, 54], Operations: ['98-44=54'] Exploring Operation: 95-30=65, Resulting Numbers: [54, 65] Generated Node #0,0,0: 46:[54, 65] Operation: 95-30=65 Exploring Operation: 95-54=41, Resulting Numbers: [30, 41] Generated Node #0,0,1: 46:[30, 41] Operation: 95-54=41 Exploring Operation: 30+95=125, Resulting Numbers: [54, 125] Generated Node #0,0,2: 46:[54, 125] Operation: 30+95=125 Exploring Operation: 54-30=24, Resulting Numbers: [95, 24] Generated Node #0,0,3: 46:[95, 24] Operation: 54-30=24 Moving to Node #0,3 Current State: 46:[44, 98, 65], Operations: ['95-30=65'] Exploring Operation: 44+98=142, Resulting Numbers: [65, 142] Generated Node #0,3,0: 46:[65, 142] Operation: 44+98=142 Exploring Operation: 98-65=33, Resulting Numbers: [44, 33] Generated Node #0,3,1: 46:[44, 33] Operation: 98-65=33 Exploring Operation: 65-44=21, Resulting Numbers: [98, 21] Generated Node #0,3,2: 46:[98, 21] Operation: 65-44=21 Exploring Operation: 98-44=54, Resulting Numbers: [65, 54] Generated Node #0,3,3: 46:[65, 54] Operation: 98-44=54 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[44, 33], Operations: ['95-30=65', '98-65=33'] Exploring Operation: 44+33=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 44*33=1452, Resulting Numbers: [1452] 1452,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,3,3 Current State: 46:[65, 54], Operations: ['95-30=65', '98-44=54'] Exploring Operation: 65*54=3510, Resulting Numbers: [3510] 3510,46 unequal: No Solution Exploring Operation: 65+54=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,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,3,2 Current State: 46:[98, 21], Operations: ['95-30=65', '65-44=21'] Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,46 unequal: No Solution Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,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,3,0 Current State: 46:[65, 142], Operations: ['95-30=65', '44+98=142'] Exploring Operation: 65+142=207, Resulting Numbers: [207] 207,46 unequal: No Solution Exploring Operation: 65*142=9230, Resulting Numbers: [9230] 9230,46 unequal: No Solution Exploring Operation: 142-65=77, Resulting Numbers: [77] 77,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 46:[44, 27], Operations: ['98-95=3', '30-3=27'] Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,46 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[30, 47], Operations: ['98-95=3', '44+3=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,46 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[30, 47], Operations: ['95-44=51', '98-51=47'] Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,46 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[44, 10], Operations: ['98-95=3', '30/3=10'] Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[3, 14], Operations: ['98-95=3', '44-30=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[30, 41], Operations: ['98-44=54', '95-54=41'] Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[51, 68], Operations: ['95-44=51', '98-30=68'] Exploring Operation: 51+68=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 51*68=3468, Resulting Numbers: [3468] 3468,46 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[54, 65], Operations: ['98-44=54', '95-30=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,46 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[95, 24], Operations: ['98-44=54', '54-30=24'] Exploring Operation: 95+24=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 95*24=2280, Resulting Numbers: [2280] 2280,46 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[98, 21], Operations: ['95-44=51', '51-30=21'] Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[54, 125], Operations: ['98-44=54', '30+95=125'] Exploring Operation: 125-54=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 54+125=179, Resulting Numbers: [179] 179,46 unequal: No Solution Exploring Operation: 54*125=6750, Resulting Numbers: [6750] 6750,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[51, 128], Operations: ['95-44=51', '30+98=128'] Exploring Operation: 51+128=179, Resulting Numbers: [179] 179,46 unequal: No Solution Exploring Operation: 128-51=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 51*128=6528, Resulting Numbers: [6528] 6528,46 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 30, 34, 21, 72 ]
48
[ "30+21=51", "34*72=2448", "2448/51=48" ]
Current State: 48:[30, 34, 21, 72], Operations: [] Exploring Operation: 30+21=51, Resulting Numbers: [34, 72, 51] Generated Node #2: [34, 72, 51] from Operation: 30+21=51 Current State: 48:[34, 72, 51], Operations: ['30+21=51'] Exploring Operation: 34*72=2448, Resulting Numbers: [51, 2448] Generated Node #3: [51, 2448] from Operation: 34*72=2448 Current State: 48:[51, 2448], Operations: ['30+21=51', '34*72=2448'] Exploring Operation: 2448/51=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[30, 34, 21, 72], Operations: [] Exploring Operation: 72-30=42, Resulting Numbers: [34, 21, 42] Generated Node #0,0: 48:[34, 21, 42] Operation: 72-30=42 Exploring Operation: 72-21=51, Resulting Numbers: [30, 34, 51] Generated Node #0,1: 48:[30, 34, 51] Operation: 72-21=51 Exploring Operation: 72-34=38, Resulting Numbers: [30, 21, 38] Generated Node #0,2: 48:[30, 21, 38] Operation: 72-34=38 Exploring Operation: 34-30=4, Resulting Numbers: [21, 72, 4] Generated Node #0,3: 48:[21, 72, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[34, 21, 42], Operations: ['72-30=42'] Exploring Operation: 34+21=55, Resulting Numbers: [42, 55] Generated Node #0,0,0: 48:[42, 55] Operation: 34+21=55 Exploring Operation: 42/21=2, Resulting Numbers: [34, 2] Generated Node #0,0,1: 48:[34, 2] Operation: 42/21=2 Exploring Operation: 42-34=8, Resulting Numbers: [21, 8] Generated Node #0,0,2: 48:[21, 8] Operation: 42-34=8 Exploring Operation: 34-21=13, Resulting Numbers: [42, 13] Generated Node #0,0,3: 48:[42, 13] Operation: 34-21=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[21, 8], Operations: ['72-30=42', '42-34=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,48 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 48:[42, 13], Operations: ['72-30=42', '34-21=13'] Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,48 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[34, 2], Operations: ['72-30=42', '42/21=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,48 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[42, 55], Operations: ['72-30=42', '34+21=55'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 42*55=2310, Resulting Numbers: [2310] 2310,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[30, 34, 51], Operations: ['72-21=51'] Exploring Operation: 34-30=4, Resulting Numbers: [51, 4] Generated Node #0,1,0: 48:[51, 4] Operation: 34-30=4 Exploring Operation: 51-30=21, Resulting Numbers: [34, 21] Generated Node #0,1,1: 48:[34, 21] Operation: 51-30=21 Exploring Operation: 30+34=64, Resulting Numbers: [51, 64] Generated Node #0,1,2: 48:[51, 64] Operation: 30+34=64 Exploring Operation: 51-34=17, Resulting Numbers: [30, 17] Generated Node #0,1,3: 48:[30, 17] Operation: 51-34=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[51, 4], Operations: ['72-21=51', '34-30=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,48 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 48:[30, 17], Operations: ['72-21=51', '51-34=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,48 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[34, 21], Operations: ['72-21=51', '51-30=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[51, 64], Operations: ['72-21=51', '30+34=64'] Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,48 unequal: No Solution Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,48 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[30, 21, 38], Operations: ['72-34=38'] Exploring Operation: 30-21=9, Resulting Numbers: [38, 9] Generated Node #0,2,0: 48:[38, 9] Operation: 30-21=9 Exploring Operation: 38-30=8, Resulting Numbers: [21, 8] Generated Node #0,2,1: 48:[21, 8] Operation: 38-30=8 Exploring Operation: 38-21=17, Resulting Numbers: [30, 17] Generated Node #0,2,2: 48:[30, 17] Operation: 38-21=17 Exploring Operation: 30+21=51, Resulting Numbers: [38, 51] Generated Node #0,2,3: 48:[38, 51] Operation: 30+21=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[21, 8], Operations: ['72-34=38', '38-30=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[30, 17], Operations: ['72-34=38', '38-21=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,48 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[38, 9], Operations: ['72-34=38', '30-21=9'] Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,48 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[38, 51], Operations: ['72-34=38', '30+21=51'] Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,48 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[21, 72, 4], Operations: ['34-30=4'] Exploring Operation: 72-21=51, Resulting Numbers: [4, 51] Generated Node #0,3,0: 48:[4, 51] Operation: 72-21=51 Exploring Operation: 72-4=68, Resulting Numbers: [21, 68] Generated Node #0,3,1: 48:[21, 68] Operation: 72-4=68 Exploring Operation: 21+4=25, Resulting Numbers: [72, 25] Generated Node #0,3,2: 48:[72, 25] Operation: 21+4=25 Exploring Operation: 72/4=18, Resulting Numbers: [21, 18] Generated Node #0,3,3: 48:[21, 18] Operation: 72/4=18 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 48:[4, 51], Operations: ['34-30=4', '72-21=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 48:[21, 18], Operations: ['34-30=4', '72/4=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,48 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 48:[21, 68], Operations: ['34-30=4', '72-4=68'] Exploring Operation: 21*68=1428, Resulting Numbers: [1428] 1428,48 unequal: No Solution Exploring Operation: 21+68=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 48:[72, 25], Operations: ['34-30=4', '21+4=25'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,48 unequal: No Solution Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 97, 71, 56, 57 ]
93
[ "71-57=14", "56/14=4", "97-4=93" ]
Current State: 93:[97, 71, 56, 57], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [97, 56, 14] Generated Node #2: [97, 56, 14] from Operation: 71-57=14 Current State: 93:[97, 56, 14], Operations: ['71-57=14'] Exploring Operation: 56/14=4, Resulting Numbers: [97, 4] Generated Node #3: [97, 4] from Operation: 56/14=4 Current State: 93:[97, 4], Operations: ['71-57=14', '56/14=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[97, 71, 56, 57], Operations: [] Exploring Operation: 57-56=1, Resulting Numbers: [97, 71, 1] Generated Node #0,0: 93:[97, 71, 1] Operation: 57-56=1 Exploring Operation: 71-57=14, Resulting Numbers: [97, 56, 14] Generated Node #0,1: 93:[97, 56, 14] Operation: 71-57=14 Moving to Node #0,0 Current State: 93:[97, 71, 1], Operations: ['57-56=1'] Exploring Operation: 97-1=96, Resulting Numbers: [71, 96] Generated Node #0,0,0: 93:[71, 96] Operation: 97-1=96 Exploring Operation: 97-71=26, Resulting Numbers: [1, 26] Generated Node #0,0,1: 93:[1, 26] Operation: 97-71=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[1, 26], Operations: ['57-56=1', '97-71=26'] Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[71, 96], Operations: ['57-56=1', '97-1=96'] Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,93 unequal: No Solution Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,93 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: 93:[97, 56, 14], Operations: ['71-57=14'] Exploring Operation: 56-14=42, Resulting Numbers: [97, 42] Generated Node #0,1,0: 93:[97, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [97, 4] Generated Node #0,1,1: 93:[97, 4] Operation: 56/14=4 Moving to Node #0,1,1 Current State: 93:[97, 4], Operations: ['71-57=14', '56/14=4'] Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[97, 71, 56, 57], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [97, 56, 14] Generated Node #0,1: 93:[97, 56, 14] Operation: 71-57=14 Moving to Node #0,1 Current State: 93:[97, 56, 14], Operations: ['71-57=14'] Exploring Operation: 56/14=4, Resulting Numbers: [97, 4] Generated Node #0,1,1: 93:[97, 4] Operation: 56/14=4 Moving to Node #0,1,1 Current State: 93:[97, 4], Operations: ['71-57=14', '56/14=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 71, 64, 2, 90 ]
33
[ "71+90=161", "64*2=128", "161-128=33" ]
Current State: 33:[71, 64, 2, 90], Operations: [] Exploring Operation: 71+90=161, Resulting Numbers: [64, 2, 161] Generated Node #2: [64, 2, 161] from Operation: 71+90=161 Current State: 33:[64, 2, 161], Operations: ['71+90=161'] Exploring Operation: 64*2=128, Resulting Numbers: [161, 128] Generated Node #3: [161, 128] from Operation: 64*2=128 Current State: 33:[161, 128], Operations: ['71+90=161', '64*2=128'] Exploring Operation: 161-128=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[71, 64, 2, 90], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [71, 64, 45] Generated Node #0,0: 33:[71, 64, 45] Operation: 90/2=45 Exploring Operation: 90-71=19, Resulting Numbers: [64, 2, 19] Generated Node #0,1: 33:[64, 2, 19] Operation: 90-71=19 Exploring Operation: 71-64=7, Resulting Numbers: [2, 90, 7] Generated Node #0,2: 33:[2, 90, 7] Operation: 71-64=7 Exploring Operation: 90-64=26, Resulting Numbers: [71, 2, 26] Generated Node #0,3: 33:[71, 2, 26] Operation: 90-64=26 Moving to Node #0,1 Current State: 33:[64, 2, 19], Operations: ['90-71=19'] Exploring Operation: 2*19=38, Resulting Numbers: [64, 38] Generated Node #0,1,0: 33:[64, 38] Operation: 2*19=38 Exploring Operation: 64/2=32, Resulting Numbers: [19, 32] Generated Node #0,1,1: 33:[19, 32] Operation: 64/2=32 Exploring Operation: 64-2=62, Resulting Numbers: [19, 62] Generated Node #0,1,2: 33:[19, 62] Operation: 64-2=62 Exploring Operation: 64-19=45, Resulting Numbers: [2, 45] Generated Node #0,1,3: 33:[2, 45] Operation: 64-19=45 Moving to Node #0,3 Current State: 33:[71, 2, 26], Operations: ['90-64=26'] Exploring Operation: 26/2=13, Resulting Numbers: [71, 13] Generated Node #0,3,0: 33:[71, 13] Operation: 26/2=13 Exploring Operation: 71-2=69, Resulting Numbers: [26, 69] Generated Node #0,3,1: 33:[26, 69] Operation: 71-2=69 Exploring Operation: 71-26=45, Resulting Numbers: [2, 45] Generated Node #0,3,2: 33:[2, 45] Operation: 71-26=45 Exploring Operation: 2+26=28, Resulting Numbers: [71, 28] Generated Node #0,3,3: 33:[71, 28] Operation: 2+26=28 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 33:[2, 45], Operations: ['90-64=26', '71-26=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,33 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[71, 13], Operations: ['90-64=26', '26/2=13'] Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 71+13=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 71*13=923, Resulting Numbers: [923] 923,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[26, 69], Operations: ['90-64=26', '71-2=69'] Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[71, 28], Operations: ['90-64=26', '2+26=28'] Exploring Operation: 71+28=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 71*28=1988, Resulting Numbers: [1988] 1988,33 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: 33:[2, 90, 7], Operations: ['71-64=7'] Exploring Operation: 90-2=88, Resulting Numbers: [7, 88] Generated Node #0,2,0: 33:[7, 88] Operation: 90-2=88 Exploring Operation: 90-7=83, Resulting Numbers: [2, 83] Generated Node #0,2,1: 33:[2, 83] Operation: 90-7=83 Exploring Operation: 2+7=9, Resulting Numbers: [90, 9] Generated Node #0,2,2: 33:[90, 9] Operation: 2+7=9 Exploring Operation: 90/2=45, Resulting Numbers: [7, 45] Generated Node #0,2,3: 33:[7, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[7, 45], Operations: ['71-64=7', '90/2=45'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,33 unequal: No Solution Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[2, 83], Operations: ['71-64=7', '90-7=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[7, 88], Operations: ['71-64=7', '90-2=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 7*88=616, Resulting Numbers: [616] 616,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[90, 9], Operations: ['71-64=7', '2+7=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 90*9=810, Resulting Numbers: [810] 810,33 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: 33:[71, 64, 45], Operations: ['90/2=45'] Exploring Operation: 71+64=135, Resulting Numbers: [45, 135] Generated Node #0,0,0: 33:[45, 135] Operation: 71+64=135 Exploring Operation: 71-64=7, Resulting Numbers: [45, 7] Generated Node #0,0,1: 33:[45, 7] Operation: 71-64=7 Exploring Operation: 64-45=19, Resulting Numbers: [71, 19] Generated Node #0,0,2: 33:[71, 19] Operation: 64-45=19 Exploring Operation: 71-45=26, Resulting Numbers: [64, 26] Generated Node #0,0,3: 33:[64, 26] Operation: 71-45=26 Moving to Node #0,1,1 Current State: 33:[19, 32], Operations: ['90-71=19', '64/2=32'] Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[2, 45], Operations: ['90-71=19', '64-19=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[45, 7], Operations: ['90/2=45', '71-64=7'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,33 unequal: No Solution Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[64, 38], Operations: ['90-71=19', '2*19=38'] Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,33 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[19, 62], Operations: ['90-71=19', '64-2=62'] Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[64, 26], Operations: ['90/2=45', '71-45=26'] Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,33 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[71, 19], Operations: ['90/2=45', '64-45=19'] Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[45, 135], Operations: ['90/2=45', '71+64=135'] Exploring Operation: 45*135=6075, Resulting Numbers: [6075] 6075,33 unequal: No Solution Exploring Operation: 135-45=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 135/45=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 45+135=180, Resulting Numbers: [180] 180,33 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 75, 42, 73, 17 ]
27
[ "75+42=117", "73+17=90", "117-90=27" ]
Current State: 27:[75, 42, 73, 17], Operations: [] Exploring Operation: 75+42=117, Resulting Numbers: [73, 17, 117] Generated Node #2: [73, 17, 117] from Operation: 75+42=117 Current State: 27:[73, 17, 117], Operations: ['75+42=117'] Exploring Operation: 73+17=90, Resulting Numbers: [117, 90] Generated Node #3: [117, 90] from Operation: 73+17=90 Current State: 27:[117, 90], Operations: ['75+42=117', '73+17=90'] Exploring Operation: 117-90=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[75, 42, 73, 17], Operations: [] Exploring Operation: 75-17=58, Resulting Numbers: [42, 73, 58] Generated Node #0,0: 27:[42, 73, 58] Operation: 75-17=58 Exploring Operation: 75-73=2, Resulting Numbers: [42, 17, 2] Generated Node #0,1: 27:[42, 17, 2] Operation: 75-73=2 Exploring Operation: 75-42=33, Resulting Numbers: [73, 17, 33] Generated Node #0,2: 27:[73, 17, 33] Operation: 75-42=33 Exploring Operation: 73-42=31, Resulting Numbers: [75, 17, 31] Generated Node #0,3: 27:[75, 17, 31] Operation: 73-42=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[42, 17, 2], Operations: ['75-73=2'] Exploring Operation: 17-2=15, Resulting Numbers: [42, 15] Generated Node #0,1,0: 27:[42, 15] Operation: 17-2=15 Exploring Operation: 42/2=21, Resulting Numbers: [17, 21] Generated Node #0,1,1: 27:[17, 21] Operation: 42/2=21 Exploring Operation: 42-17=25, Resulting Numbers: [2, 25] Generated Node #0,1,2: 27:[2, 25] Operation: 42-17=25 Exploring Operation: 42-2=40, Resulting Numbers: [17, 40] Generated Node #0,1,3: 27:[17, 40] Operation: 42-2=40 Moving to Node #0,1,2 Current State: 27:[2, 25], Operations: ['75-73=2', '42-17=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[75, 42, 73, 17], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [42, 17, 2] Generated Node #0,1: 27:[42, 17, 2] Operation: 75-73=2 Moving to Node #0,1 Current State: 27:[42, 17, 2], Operations: ['75-73=2'] Exploring Operation: 42-17=25, Resulting Numbers: [2, 25] Generated Node #0,1,2: 27:[2, 25] Operation: 42-17=25 Moving to Node #0,1,2 Current State: 27:[2, 25], Operations: ['75-73=2', '42-17=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 75, 3, 46, 2 ]
64
[ "75+3=78", "78-46=32", "2*32=64" ]
Current State: 64:[75, 3, 46, 2], Operations: [] Exploring Operation: 75+3=78, Resulting Numbers: [46, 2, 78] Generated Node #2: [46, 2, 78] from Operation: 75+3=78 Current State: 64:[46, 2, 78], Operations: ['75+3=78'] Exploring Operation: 78-46=32, Resulting Numbers: [2, 32] Generated Node #3: [2, 32] from Operation: 78-46=32 Current State: 64:[2, 32], Operations: ['75+3=78', '78-46=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[75, 3, 46, 2], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [3, 2, 29] Generated Node #0,0: 64:[3, 2, 29] Operation: 75-46=29 Exploring Operation: 75-3=72, Resulting Numbers: [46, 2, 72] Generated Node #0,1: 64:[46, 2, 72] Operation: 75-3=72 Exploring Operation: 75/3=25, Resulting Numbers: [46, 2, 25] Generated Node #0,2: 64:[46, 2, 25] Operation: 75/3=25 Exploring Operation: 46/2=23, Resulting Numbers: [75, 3, 23] Generated Node #0,3: 64:[75, 3, 23] Operation: 46/2=23 Exploring Operation: 46-3=43, Resulting Numbers: [75, 2, 43] Generated Node #0,4: 64:[75, 2, 43] Operation: 46-3=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[3, 2, 29], Operations: ['75-46=29'] Exploring Operation: 3-2=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 64:[29, 1] Operation: 3-2=1 Exploring Operation: 3+2=5, Resulting Numbers: [29, 5] Generated Node #0,0,1: 64:[29, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [29, 6] Generated Node #0,0,2: 64:[29, 6] Operation: 3*2=6 Exploring Operation: 3+29=32, Resulting Numbers: [2, 32] Generated Node #0,0,3: 64:[2, 32] Operation: 3+29=32 Exploring Operation: 2+29=31, Resulting Numbers: [3, 31] Generated Node #0,0,4: 64:[3, 31] Operation: 2+29=31 Moving to Node #0,0,3 Current State: 64:[2, 32], Operations: ['75-46=29', '3+29=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[75, 3, 46, 2], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [3, 2, 29] Generated Node #0,0: 64:[3, 2, 29] Operation: 75-46=29 Moving to Node #0,0 Current State: 64:[3, 2, 29], Operations: ['75-46=29'] Exploring Operation: 3+29=32, Resulting Numbers: [2, 32] Generated Node #0,0,3: 64:[2, 32] Operation: 3+29=32 Moving to Node #0,0,3 Current State: 64:[2, 32], Operations: ['75-46=29', '3+29=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 28, 64, 14, 22 ]
84
[ "28+64=92", "22-14=8", "92-8=84" ]
Current State: 84:[28, 64, 14, 22], Operations: [] Exploring Operation: 28+64=92, Resulting Numbers: [14, 22, 92] Generated Node #2: [14, 22, 92] from Operation: 28+64=92 Current State: 84:[14, 22, 92], Operations: ['28+64=92'] Exploring Operation: 22-14=8, Resulting Numbers: [92, 8] Generated Node #3: [92, 8] from Operation: 22-14=8 Current State: 84:[92, 8], Operations: ['28+64=92', '22-14=8'] Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[28, 64, 14, 22], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [14, 22, 36] Generated Node #0,0: 84:[14, 22, 36] Operation: 64-28=36 Exploring Operation: 64+22=86, Resulting Numbers: [28, 14, 86] Generated Node #0,1: 84:[28, 14, 86] Operation: 64+22=86 Exploring Operation: 64-22=42, Resulting Numbers: [28, 14, 42] Generated Node #0,2: 84:[28, 14, 42] Operation: 64-22=42 Exploring Operation: 64+14=78, Resulting Numbers: [28, 22, 78] Generated Node #0,3: 84:[28, 22, 78] Operation: 64+14=78 Moving to Node #0,2 Current State: 84:[28, 14, 42], Operations: ['64-22=42'] Exploring Operation: 28+14=42, Resulting Numbers: [42, 42] Generated Node #0,2,0: 84:[42, 42] Operation: 28+14=42 Exploring Operation: 28-14=14, Resulting Numbers: [42, 14] Generated Node #0,2,1: 84:[42, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [42, 2] Generated Node #0,2,2: 84:[42, 2] Operation: 28/14=2 Exploring Operation: 42-28=14, Resulting Numbers: [14, 14] Generated Node #0,2,3: 84:[14, 14] Operation: 42-28=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[42, 42], Operations: ['64-22=42', '28+14=42'] Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,84 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[28, 64, 14, 22], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [28, 14, 42] Generated Node #0,2: 84:[28, 14, 42] Operation: 64-22=42 Moving to Node #0,2 Current State: 84:[28, 14, 42], Operations: ['64-22=42'] Exploring Operation: 28+14=42, Resulting Numbers: [42, 42] Generated Node #0,2,0: 84:[42, 42] Operation: 28+14=42 Moving to Node #0,2,0 Current State: 84:[42, 42], Operations: ['64-22=42', '28+14=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 23, 44, 12, 64 ]
25
[ "44-12=32", "64/32=2", "23+2=25" ]
Current State: 25:[23, 44, 12, 64], Operations: [] Exploring Operation: 44-12=32, Resulting Numbers: [23, 64, 32] Generated Node #2: [23, 64, 32] from Operation: 44-12=32 Current State: 25:[23, 64, 32], Operations: ['44-12=32'] Exploring Operation: 64/32=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 64/32=2 Current State: 25:[23, 2], Operations: ['44-12=32', '64/32=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[23, 44, 12, 64], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [23, 12, 20] Generated Node #0,0: 25:[23, 12, 20] Operation: 64-44=20 Exploring Operation: 64-23=41, Resulting Numbers: [44, 12, 41] Generated Node #0,1: 25:[44, 12, 41] Operation: 64-23=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[23, 12, 20], Operations: ['64-44=20'] Exploring Operation: 23-20=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 25:[12, 3] Operation: 23-20=3 Exploring Operation: 20-12=8, Resulting Numbers: [23, 8] Generated Node #0,0,1: 25:[23, 8] Operation: 20-12=8 Moving to Node #0,0,1 Current State: 25:[23, 8], Operations: ['64-44=20', '20-12=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[12, 3], Operations: ['64-44=20', '23-20=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[44, 12, 41], Operations: ['64-23=41'] Exploring Operation: 44-41=3, Resulting Numbers: [12, 3] Generated Node #0,1,0: 25:[12, 3] Operation: 44-41=3 Exploring Operation: 44-12=32, Resulting Numbers: [41, 32] Generated Node #0,1,1: 25:[41, 32] Operation: 44-12=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[12, 3], Operations: ['64-23=41', '44-41=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,25 unequal: No Solution No 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: 25:[41, 32], Operations: ['64-23=41', '44-12=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 17, 39, 27, 3 ]
31
[ "39-17=22", "27/3=9", "22+9=31" ]
Current State: 31:[17, 39, 27, 3], Operations: [] Exploring Operation: 39-17=22, Resulting Numbers: [27, 3, 22] Generated Node #2: [27, 3, 22] from Operation: 39-17=22 Current State: 31:[27, 3, 22], Operations: ['39-17=22'] Exploring Operation: 27/3=9, Resulting Numbers: [22, 9] Generated Node #3: [22, 9] from Operation: 27/3=9 Current State: 31:[22, 9], Operations: ['39-17=22', '27/3=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[17, 39, 27, 3], Operations: [] Exploring Operation: 17+3=20, Resulting Numbers: [39, 27, 20] Generated Node #0,0: 31:[39, 27, 20] Operation: 17+3=20 Moving to Node #0,0 Current State: 31:[39, 27, 20], Operations: ['17+3=20'] Exploring Operation: 39-20=19, Resulting Numbers: [27, 19] Generated Node #0,0,0: 31:[27, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[27, 19], Operations: ['17+3=20', '39-20=19'] Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 14, 93, 8 ]
86
[ "56/8=7", "93-14=79", "7+79=86" ]
Current State: 86:[56, 14, 93, 8], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [14, 93, 7] Generated Node #2: [14, 93, 7] from Operation: 56/8=7 Current State: 86:[14, 93, 7], Operations: ['56/8=7'] Exploring Operation: 93-14=79, Resulting Numbers: [7, 79] Generated Node #3: [7, 79] from Operation: 93-14=79 Current State: 86:[7, 79], Operations: ['56/8=7', '93-14=79'] Exploring Operation: 7+79=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[56, 14, 93, 8], Operations: [] Exploring Operation: 93-56=37, Resulting Numbers: [14, 8, 37] Generated Node #0,0: 86:[14, 8, 37] Operation: 93-56=37 Exploring Operation: 56-14=42, Resulting Numbers: [93, 8, 42] Generated Node #0,1: 86:[93, 8, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [93, 8, 4] Generated Node #0,2: 86:[93, 8, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[93, 8, 42], Operations: ['56-14=42'] Exploring Operation: 93-8=85, Resulting Numbers: [42, 85] Generated Node #0,1,0: 86:[42, 85] Operation: 93-8=85 Exploring Operation: 93-42=51, Resulting Numbers: [8, 51] Generated Node #0,1,1: 86:[8, 51] Operation: 93-42=51 Exploring Operation: 8+42=50, Resulting Numbers: [93, 50] Generated Node #0,1,2: 86:[93, 50] Operation: 8+42=50 Moving to Node #0,1,0 Current State: 86:[42, 85], Operations: ['56-14=42', '93-8=85'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,86 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[8, 51], Operations: ['56-14=42', '93-42=51'] Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,86 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[93, 50], Operations: ['56-14=42', '8+42=50'] Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 93+50=143, Resulting Numbers: [143] 143,86 unequal: No Solution Exploring Operation: 93*50=4650, Resulting Numbers: [4650] 4650,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[93, 8, 4], Operations: ['56/14=4'] Exploring Operation: 93-8=85, Resulting Numbers: [4, 85] Generated Node #0,2,0: 86:[4, 85] Operation: 93-8=85 Exploring Operation: 93-4=89, Resulting Numbers: [8, 89] Generated Node #0,2,1: 86:[8, 89] Operation: 93-4=89 Exploring Operation: 8/4=2, Resulting Numbers: [93, 2] Generated Node #0,2,2: 86:[93, 2] Operation: 8/4=2 Moving to Node #0,2,0 Current State: 86:[4, 85], Operations: ['56/14=4', '93-8=85'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,86 unequal: No Solution Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[93, 2], Operations: ['56/14=4', '8/4=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,86 unequal: No Solution Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,86 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[8, 89], Operations: ['56/14=4', '93-4=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 8*89=712, Resulting Numbers: [712] 712,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[14, 8, 37], Operations: ['93-56=37'] Exploring Operation: 8+37=45, Resulting Numbers: [14, 45] Generated Node #0,0,0: 86:[14, 45] Operation: 8+37=45 Exploring Operation: 14+37=51, Resulting Numbers: [8, 51] Generated Node #0,0,1: 86:[8, 51] Operation: 14+37=51 Exploring Operation: 14-8=6, Resulting Numbers: [37, 6] Generated Node #0,0,2: 86:[37, 6] Operation: 14-8=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[37, 6], Operations: ['93-56=37', '14-8=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,86 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[14, 45], Operations: ['93-56=37', '8+37=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,86 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[8, 51], Operations: ['93-56=37', '14+37=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,86 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 36, 33, 56, 51 ]
74
[ "36+33=69", "56-51=5", "69+5=74" ]
Current State: 74:[36, 33, 56, 51], Operations: [] Exploring Operation: 36+33=69, Resulting Numbers: [56, 51, 69] Generated Node #2: [56, 51, 69] from Operation: 36+33=69 Current State: 74:[56, 51, 69], Operations: ['36+33=69'] Exploring Operation: 56-51=5, Resulting Numbers: [69, 5] Generated Node #3: [69, 5] from Operation: 56-51=5 Current State: 74:[69, 5], Operations: ['36+33=69', '56-51=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[36, 33, 56, 51], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [36, 33, 5] Generated Node #0,0: 74:[36, 33, 5] Operation: 56-51=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[36, 33, 5], Operations: ['56-51=5'] Exploring Operation: 33+5=38, Resulting Numbers: [36, 38] Generated Node #0,0,0: 74:[36, 38] Operation: 33+5=38 Moving to Node #0,0,0 Current State: 74:[36, 38], Operations: ['56-51=5', '33+5=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[36, 33, 56, 51], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [36, 33, 5] Generated Node #0,0: 74:[36, 33, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 74:[36, 33, 5], Operations: ['56-51=5'] Exploring Operation: 33+5=38, Resulting Numbers: [36, 38] Generated Node #0,0,0: 74:[36, 38] Operation: 33+5=38 Moving to Node #0,0,0 Current State: 74:[36, 38], Operations: ['56-51=5', '33+5=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 71, 84, 29, 9 ]
51
[ "84-71=13", "29+9=38", "13+38=51" ]
Current State: 51:[71, 84, 29, 9], Operations: [] Exploring Operation: 84-71=13, Resulting Numbers: [29, 9, 13] Generated Node #2: [29, 9, 13] from Operation: 84-71=13 Current State: 51:[29, 9, 13], Operations: ['84-71=13'] Exploring Operation: 29+9=38, Resulting Numbers: [13, 38] Generated Node #3: [13, 38] from Operation: 29+9=38 Current State: 51:[13, 38], Operations: ['84-71=13', '29+9=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[71, 84, 29, 9], Operations: [] Exploring Operation: 84-29=55, Resulting Numbers: [71, 9, 55] Generated Node #0,0: 51:[71, 9, 55] Operation: 84-29=55 Exploring Operation: 84-71=13, Resulting Numbers: [29, 9, 13] Generated Node #0,1: 51:[29, 9, 13] Operation: 84-71=13 Exploring Operation: 71-29=42, Resulting Numbers: [84, 9, 42] Generated Node #0,2: 51:[84, 9, 42] Operation: 71-29=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[29, 9, 13], Operations: ['84-71=13'] Exploring Operation: 13-9=4, Resulting Numbers: [29, 4] Generated Node #0,1,0: 51:[29, 4] Operation: 13-9=4 Exploring Operation: 29-13=16, Resulting Numbers: [9, 16] Generated Node #0,1,1: 51:[9, 16] Operation: 29-13=16 Exploring Operation: 29-9=20, Resulting Numbers: [13, 20] Generated Node #0,1,2: 51:[13, 20] Operation: 29-9=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[9, 16], Operations: ['84-71=13', '29-13=16'] Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,51 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[13, 20], Operations: ['84-71=13', '29-9=20'] Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,51 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[29, 4], Operations: ['84-71=13', '13-9=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[71, 9, 55], Operations: ['84-29=55'] Exploring Operation: 71-55=16, Resulting Numbers: [9, 16] Generated Node #0,0,0: 51:[9, 16] Operation: 71-55=16 Exploring Operation: 55-9=46, Resulting Numbers: [71, 46] Generated Node #0,0,1: 51:[71, 46] Operation: 55-9=46 Exploring Operation: 71-9=62, Resulting Numbers: [55, 62] Generated Node #0,0,2: 51:[55, 62] Operation: 71-9=62 Moving to Node #0,0,0 Current State: 51:[9, 16], Operations: ['84-29=55', '71-55=16'] Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,51 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[55, 62], Operations: ['84-29=55', '71-9=62'] Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[71, 46], Operations: ['84-29=55', '55-9=46'] Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[84, 9, 42], Operations: ['71-29=42'] Exploring Operation: 84-9=75, Resulting Numbers: [42, 75] Generated Node #0,2,0: 51:[42, 75] Operation: 84-9=75 Exploring Operation: 84/42=2, Resulting Numbers: [9, 2] Generated Node #0,2,1: 51:[9, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [9, 42] Generated Node #0,2,2: 51:[9, 42] Operation: 84-42=42 Moving to Node #0,2,1 Current State: 51:[9, 2], Operations: ['71-29=42', '84/42=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[9, 42], Operations: ['71-29=42', '84-42=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,51 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[71, 84, 29, 9], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [84, 9, 42] Generated Node #0,2: 51:[84, 9, 42] Operation: 71-29=42 Moving to Node #0,2 Current State: 51:[84, 9, 42], Operations: ['71-29=42'] Exploring Operation: 84-42=42, Resulting Numbers: [9, 42] Generated Node #0,2,2: 51:[9, 42] Operation: 84-42=42 Moving to Node #0,2,2 Current State: 51:[9, 42], Operations: ['71-29=42', '84-42=42'] Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_3
sum_heuristic
[ 67, 60, 31, 55 ]
88
[ "60-55=5", "31*5=155", "155-67=88" ]
Current State: 88:[67, 60, 31, 55], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [67, 31, 5] Generated Node #2: [67, 31, 5] from Operation: 60-55=5 Current State: 88:[67, 31, 5], Operations: ['60-55=5'] Exploring Operation: 31*5=155, Resulting Numbers: [67, 155] Generated Node #3: [67, 155] from Operation: 31*5=155 Current State: 88:[67, 155], Operations: ['60-55=5', '31*5=155'] Exploring Operation: 155-67=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[67, 60, 31, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [60, 31, 12] Generated Node #0,0: 88:[60, 31, 12] Operation: 67-55=12 Exploring Operation: 60-55=5, Resulting Numbers: [67, 31, 5] Generated Node #0,1: 88:[67, 31, 5] Operation: 60-55=5 Exploring Operation: 67-31=36, Resulting Numbers: [60, 55, 36] Generated Node #0,2: 88:[60, 55, 36] Operation: 67-31=36 Exploring Operation: 67-60=7, Resulting Numbers: [31, 55, 7] Generated Node #0,3: 88:[31, 55, 7] Operation: 67-60=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[31, 55, 7], Operations: ['67-60=7'] Exploring Operation: 55-7=48, Resulting Numbers: [31, 48] Generated Node #0,3,0: 88:[31, 48] Operation: 55-7=48 Exploring Operation: 55-31=24, Resulting Numbers: [7, 24] Generated Node #0,3,1: 88:[7, 24] Operation: 55-31=24 Exploring Operation: 31-7=24, Resulting Numbers: [55, 24] Generated Node #0,3,2: 88:[55, 24] Operation: 31-7=24 Exploring Operation: 31+55=86, Resulting Numbers: [7, 86] Generated Node #0,3,3: 88:[7, 86] Operation: 31+55=86 Moving to Node #0,3,1 Current State: 88:[7, 24], Operations: ['67-60=7', '55-31=24'] Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,88 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[7, 86], Operations: ['67-60=7', '31+55=86'] Exploring Operation: 7*86=602, Resulting Numbers: [602] 602,88 unequal: No Solution Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,88 unequal: No Solution Exploring Operation: 7+86=93, Resulting Numbers: [93] 93,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[55, 24], Operations: ['67-60=7', '31-7=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,88 unequal: No Solution Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[31, 48], Operations: ['67-60=7', '55-7=48'] Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,88 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[60, 31, 12], Operations: ['67-55=12'] Exploring Operation: 60+31=91, Resulting Numbers: [12, 91] Generated Node #0,0,0: 88:[12, 91] Operation: 60+31=91 Exploring Operation: 60-12=48, Resulting Numbers: [31, 48] Generated Node #0,0,1: 88:[31, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [31, 5] Generated Node #0,0,2: 88:[31, 5] Operation: 60/12=5 Exploring Operation: 60-31=29, Resulting Numbers: [12, 29] Generated Node #0,0,3: 88:[12, 29] Operation: 60-31=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[12, 91], Operations: ['67-55=12', '60+31=91'] Exploring Operation: 12*91=1092, Resulting Numbers: [1092] 1092,88 unequal: No Solution Exploring Operation: 12+91=103, Resulting Numbers: [103] 103,88 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[12, 29], Operations: ['67-55=12', '60-31=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[31, 5], Operations: ['67-55=12', '60/12=5'] Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,88 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[31, 48], Operations: ['67-55=12', '60-12=48'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,88 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[67, 31, 5], Operations: ['60-55=5'] Exploring Operation: 31-5=26, Resulting Numbers: [67, 26] Generated Node #0,1,0: 88:[67, 26] Operation: 31-5=26 Exploring Operation: 67+31=98, Resulting Numbers: [5, 98] Generated Node #0,1,1: 88:[5, 98] Operation: 67+31=98 Exploring Operation: 67-31=36, Resulting Numbers: [5, 36] Generated Node #0,1,2: 88:[5, 36] Operation: 67-31=36 Exploring Operation: 67+5=72, Resulting Numbers: [31, 72] Generated Node #0,1,3: 88:[31, 72] Operation: 67+5=72 Moving to Node #0,1,2 Current State: 88:[5, 36], Operations: ['60-55=5', '67-31=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[5, 98], Operations: ['60-55=5', '67+31=98'] Exploring Operation: 5+98=103, Resulting Numbers: [103] 103,88 unequal: No Solution Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,88 unequal: No Solution Exploring Operation: 5*98=490, Resulting Numbers: [490] 490,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[31, 72], Operations: ['60-55=5', '67+5=72'] Exploring Operation: 31*72=2232, Resulting Numbers: [2232] 2232,88 unequal: No Solution Exploring Operation: 31+72=103, Resulting Numbers: [103] 103,88 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[67, 26], Operations: ['60-55=5', '31-5=26'] Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,88 unequal: No Solution Exploring Operation: 67*26=1742, Resulting Numbers: [1742] 1742,88 unequal: No Solution Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[60, 55, 36], Operations: ['67-31=36'] Exploring Operation: 60+36=96, Resulting Numbers: [55, 96] Generated Node #0,2,0: 88:[55, 96] Operation: 60+36=96 Exploring Operation: 60-36=24, Resulting Numbers: [55, 24] Generated Node #0,2,1: 88:[55, 24] Operation: 60-36=24 Exploring Operation: 55+36=91, Resulting Numbers: [60, 91] Generated Node #0,2,2: 88:[60, 91] Operation: 55+36=91 Exploring Operation: 60-55=5, Resulting Numbers: [36, 5] Generated Node #0,2,3: 88:[36, 5] Operation: 60-55=5 Moving to Node #0,2,3 Current State: 88:[36, 5], Operations: ['67-31=36', '60-55=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[55, 24], Operations: ['67-31=36', '60-36=24'] Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,88 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[60, 91], Operations: ['67-31=36', '55+36=91'] Exploring Operation: 60+91=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 60*91=5460, Resulting Numbers: [5460] 5460,88 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[55, 96], Operations: ['67-31=36', '60+36=96'] Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 55*96=5280, Resulting Numbers: [5280] 5280,88 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
[ 42, 76, 43, 42 ]
43
[ "42-42=0", "76*0=0", "43+0=43" ]
Current State: 43:[42, 76, 43, 42], Operations: [] Exploring Operation: 42-42=0, Resulting Numbers: [76, 43, 0] Generated Node #2: [76, 43, 0] from Operation: 42-42=0 Current State: 43:[76, 43, 0], Operations: ['42-42=0'] Exploring Operation: 76*0=0, Resulting Numbers: [43, 0] Generated Node #3: [43, 0] from Operation: 76*0=0 Current State: 43:[43, 0], Operations: ['42-42=0', '76*0=0'] Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[42, 76, 43, 42], Operations: [] Exploring Operation: 42+42=84, Resulting Numbers: [76, 43, 84] Generated Node #0,0: 43:[76, 43, 84] Operation: 42+42=84 Exploring Operation: 76-43=33, Resulting Numbers: [42, 42, 33] Generated Node #0,1: 43:[42, 42, 33] Operation: 76-43=33 Exploring Operation: 76-42=34, Resulting Numbers: [43, 42, 34] Generated Node #0,2: 43:[43, 42, 34] Operation: 76-42=34 Exploring Operation: 76-42=34, Resulting Numbers: [42, 43, 34] Generated Node #0,3: 43:[42, 43, 34] Operation: 76-42=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[43, 42, 34], Operations: ['76-42=34'] Exploring Operation: 42+34=76, Resulting Numbers: [43, 76] Generated Node #0,2,0: 43:[43, 76] Operation: 42+34=76 Exploring Operation: 42-34=8, Resulting Numbers: [43, 8] Generated Node #0,2,1: 43:[43, 8] Operation: 42-34=8 Exploring Operation: 43+34=77, Resulting Numbers: [42, 77] Generated Node #0,2,2: 43:[42, 77] Operation: 43+34=77 Exploring Operation: 43-34=9, Resulting Numbers: [42, 9] Generated Node #0,2,3: 43:[42, 9] Operation: 43-34=9 Moving to Node #0,2,0 Current State: 43:[43, 76], Operations: ['76-42=34', '42+34=76'] Exploring Operation: 43+76=119, Resulting Numbers: [119] 119,43 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 43*76=3268, Resulting Numbers: [3268] 3268,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[42, 77], Operations: ['76-42=34', '43+34=77'] Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,43 unequal: No Solution Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,43 unequal: No Solution Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[43, 8], Operations: ['76-42=34', '42-34=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,43 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[42, 9], Operations: ['76-42=34', '43-34=9'] Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,43 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,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,3 Current State: 43:[42, 43, 34], Operations: ['76-42=34'] Exploring Operation: 42-34=8, Resulting Numbers: [43, 8] Generated Node #0,3,0: 43:[43, 8] Operation: 42-34=8 Exploring Operation: 42+34=76, Resulting Numbers: [43, 76] Generated Node #0,3,1: 43:[43, 76] Operation: 42+34=76 Exploring Operation: 43+34=77, Resulting Numbers: [42, 77] Generated Node #0,3,2: 43:[42, 77] Operation: 43+34=77 Exploring Operation: 43-34=9, Resulting Numbers: [42, 9] Generated Node #0,3,3: 43:[42, 9] Operation: 43-34=9 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[43, 76], Operations: ['76-42=34', '42+34=76'] Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 43*76=3268, Resulting Numbers: [3268] 3268,43 unequal: No Solution Exploring Operation: 43+76=119, Resulting Numbers: [119] 119,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,3,0 Current State: 43:[43, 8], Operations: ['76-42=34', '42-34=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,43 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,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,3,2 Current State: 43:[42, 77], Operations: ['76-42=34', '43+34=77'] Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,43 unequal: No Solution Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,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,3,3 Current State: 43:[42, 9], Operations: ['76-42=34', '43-34=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,43 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,43 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: 43:[42, 42, 33], Operations: ['76-43=33'] Exploring Operation: 42-33=9, Resulting Numbers: [42, 9] Generated Node #0,1,0: 43:[42, 9] Operation: 42-33=9 Exploring Operation: 42-33=9, Resulting Numbers: [42, 9] Generated Node #0,1,1: 43:[42, 9] Operation: 42-33=9 Exploring Operation: 42+33=75, Resulting Numbers: [42, 75] Generated Node #0,1,2: 43:[42, 75] Operation: 42+33=75 Exploring Operation: 42+33=75, Resulting Numbers: [42, 75] Generated Node #0,1,3: 43:[42, 75] Operation: 42+33=75 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[42, 75], Operations: ['76-43=33', '42+33=75'] Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,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,1,3 Current State: 43:[42, 75], Operations: ['76-43=33', '42+33=75'] Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,43 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,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,1,0 Current State: 43:[42, 9], Operations: ['76-43=33', '42-33=9'] Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,43 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,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,1,1 Current State: 43:[42, 9], Operations: ['76-43=33', '42-33=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,43 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: 43:[76, 43, 84], Operations: ['42+42=84'] Exploring Operation: 76-43=33, Resulting Numbers: [84, 33] Generated Node #0,0,0: 43:[84, 33] Operation: 76-43=33 Exploring Operation: 84-43=41, Resulting Numbers: [76, 41] Generated Node #0,0,1: 43:[76, 41] Operation: 84-43=41 Exploring Operation: 76+43=119, Resulting Numbers: [84, 119] Generated Node #0,0,2: 43:[84, 119] Operation: 76+43=119 Exploring Operation: 84-76=8, Resulting Numbers: [43, 8] Generated Node #0,0,3: 43:[43, 8] Operation: 84-76=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[76, 41], Operations: ['42+42=84', '84-43=41'] Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,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, 8], Operations: ['42+42=84', '84-76=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,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,0 Current State: 43:[84, 33], Operations: ['42+42=84', '76-43=33'] Exploring Operation: 84+33=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 84*33=2772, Resulting Numbers: [2772] 2772,43 unequal: No Solution Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,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:[84, 119], Operations: ['42+42=84', '76+43=119'] Exploring Operation: 119-84=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 84*119=9996, Resulting Numbers: [9996] 9996,43 unequal: No Solution Exploring Operation: 84+119=203, Resulting Numbers: [203] 203,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 60, 69, 15, 27 ]
100
[ "60/15=4", "69+27=96", "4+96=100" ]
Current State: 100:[60, 69, 15, 27], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [69, 27, 4] Generated Node #2: [69, 27, 4] from Operation: 60/15=4 Current State: 100:[69, 27, 4], Operations: ['60/15=4'] Exploring Operation: 69+27=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 69+27=96 Current State: 100:[4, 96], Operations: ['60/15=4', '69+27=96'] Exploring Operation: 4+96=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[60, 69, 15, 27], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [15, 27, 9] Generated Node #0,0: 100:[15, 27, 9] Operation: 69-60=9 Exploring Operation: 69+27=96, Resulting Numbers: [60, 15, 96] Generated Node #0,1: 100:[60, 15, 96] Operation: 69+27=96 Exploring Operation: 60/15=4, Resulting Numbers: [69, 27, 4] Generated Node #0,2: 100:[69, 27, 4] Operation: 60/15=4 Exploring Operation: 69-15=54, Resulting Numbers: [60, 27, 54] Generated Node #0,3: 100:[60, 27, 54] Operation: 69-15=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[15, 27, 9], Operations: ['69-60=9'] Exploring Operation: 27/9=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 100:[15, 3] Operation: 27/9=3 Exploring Operation: 15-9=6, Resulting Numbers: [27, 6] Generated Node #0,0,1: 100:[27, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [27, 24] Generated Node #0,0,2: 100:[27, 24] Operation: 15+9=24 Exploring Operation: 27-15=12, Resulting Numbers: [9, 12] Generated Node #0,0,3: 100:[9, 12] Operation: 27-15=12 Moving to Node #0,0,1 Current State: 100:[27, 6], Operations: ['69-60=9', '15-9=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[9, 12], Operations: ['69-60=9', '27-15=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,100 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[27, 24], Operations: ['69-60=9', '15+9=24'] Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,100 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[15, 3], Operations: ['69-60=9', '27/9=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[60, 27, 54], Operations: ['69-15=54'] Exploring Operation: 60-27=33, Resulting Numbers: [54, 33] Generated Node #0,3,0: 100:[54, 33] Operation: 60-27=33 Exploring Operation: 54-27=27, Resulting Numbers: [60, 27] Generated Node #0,3,1: 100:[60, 27] Operation: 54-27=27 Exploring Operation: 60-54=6, Resulting Numbers: [27, 6] Generated Node #0,3,2: 100:[27, 6] Operation: 60-54=6 Exploring Operation: 54/27=2, Resulting Numbers: [60, 2] Generated Node #0,3,3: 100:[60, 2] Operation: 54/27=2 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[27, 6], Operations: ['69-15=54', '60-54=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[60, 2], Operations: ['69-15=54', '54/27=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,100 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[54, 33], Operations: ['69-15=54', '60-27=33'] Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,100 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[60, 27], Operations: ['69-15=54', '54-27=27'] Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,100 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[60, 15, 96], Operations: ['69+27=96'] Exploring Operation: 15+96=111, Resulting Numbers: [60, 111] Generated Node #0,1,0: 100:[60, 111] Operation: 15+96=111 Exploring Operation: 60/15=4, Resulting Numbers: [96, 4] Generated Node #0,1,1: 100:[96, 4] Operation: 60/15=4 Exploring Operation: 60-15=45, Resulting Numbers: [96, 45] Generated Node #0,1,2: 100:[96, 45] Operation: 60-15=45 Exploring Operation: 96-60=36, Resulting Numbers: [15, 36] Generated Node #0,1,3: 100:[15, 36] Operation: 96-60=36 Moving to Node #0,1,1 Current State: 100:[96, 4], Operations: ['69+27=96', '60/15=4'] Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,100 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[60, 69, 15, 27], Operations: [] Exploring Operation: 69+27=96, Resulting Numbers: [60, 15, 96] Generated Node #0,1: 100:[60, 15, 96] Operation: 69+27=96 Moving to Node #0,1 Current State: 100:[60, 15, 96], Operations: ['69+27=96'] Exploring Operation: 60/15=4, Resulting Numbers: [96, 4] Generated Node #0,1,1: 100:[96, 4] Operation: 60/15=4 Moving to Node #0,1,1 Current State: 100:[96, 4], Operations: ['69+27=96', '60/15=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 65, 53, 51, 36 ]
58
[ "65-36=29", "53-51=2", "29*2=58" ]
Current State: 58:[65, 53, 51, 36], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [53, 51, 29] Generated Node #2: [53, 51, 29] from Operation: 65-36=29 Current State: 58:[53, 51, 29], Operations: ['65-36=29'] Exploring Operation: 53-51=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 53-51=2 Current State: 58:[29, 2], Operations: ['65-36=29', '53-51=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[65, 53, 51, 36], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [65, 36, 2] Generated Node #0,0: 58:[65, 36, 2] Operation: 53-51=2 Exploring Operation: 65-36=29, Resulting Numbers: [53, 51, 29] Generated Node #0,1: 58:[53, 51, 29] Operation: 65-36=29 Moving to Node #0,1 Current State: 58:[53, 51, 29], Operations: ['65-36=29'] Exploring Operation: 53-51=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 58:[29, 2] Operation: 53-51=2 Exploring Operation: 53-29=24, Resulting Numbers: [51, 24] Generated Node #0,1,1: 58:[51, 24] Operation: 53-29=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[29, 2], Operations: ['65-36=29', '53-51=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[65, 53, 51, 36], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [53, 51, 29] Generated Node #0,1: 58:[53, 51, 29] Operation: 65-36=29 Moving to Node #0,1 Current State: 58:[53, 51, 29], Operations: ['65-36=29'] Exploring Operation: 53-51=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 58:[29, 2] Operation: 53-51=2 Moving to Node #0,1,0 Current State: 58:[29, 2], Operations: ['65-36=29', '53-51=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 11, 37, 39, 34 ]
12
[ "39-37=2", "11*2=22", "34-22=12" ]
Current State: 12:[11, 37, 39, 34], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [11, 34, 2] Generated Node #2: [11, 34, 2] from Operation: 39-37=2 Current State: 12:[11, 34, 2], Operations: ['39-37=2'] Exploring Operation: 11*2=22, Resulting Numbers: [34, 22] Generated Node #3: [34, 22] from Operation: 11*2=22 Current State: 12:[34, 22], Operations: ['39-37=2', '11*2=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[11, 37, 39, 34], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [11, 34, 2] Generated Node #0,0: 12:[11, 34, 2] Operation: 39-37=2 Exploring Operation: 39-34=5, Resulting Numbers: [11, 37, 5] Generated Node #0,1: 12:[11, 37, 5] Operation: 39-34=5 Exploring Operation: 37-11=26, Resulting Numbers: [39, 34, 26] Generated Node #0,2: 12:[39, 34, 26] Operation: 37-11=26 Exploring Operation: 39-11=28, Resulting Numbers: [37, 34, 28] Generated Node #0,3: 12:[37, 34, 28] Operation: 39-11=28 Exploring Operation: 37-34=3, Resulting Numbers: [11, 39, 3] Generated Node #0,4: 12:[11, 39, 3] Operation: 37-34=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[11, 34, 2], Operations: ['39-37=2'] Exploring Operation: 34-11=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 12:[2, 23] Operation: 34-11=23 Exploring Operation: 34-2=32, Resulting Numbers: [11, 32] Generated Node #0,0,1: 12:[11, 32] Operation: 34-2=32 Exploring Operation: 11-2=9, Resulting Numbers: [34, 9] Generated Node #0,0,2: 12:[34, 9] Operation: 11-2=9 Exploring Operation: 11+2=13, Resulting Numbers: [34, 13] Generated Node #0,0,3: 12:[34, 13] Operation: 11+2=13 Exploring Operation: 34/2=17, Resulting Numbers: [11, 17] Generated Node #0,0,4: 12:[11, 17] Operation: 34/2=17 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 12:[11, 17], Operations: ['39-37=2', '34/2=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,12 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[2, 23], Operations: ['39-37=2', '34-11=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[11, 32], Operations: ['39-37=2', '34-2=32'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 12:[34, 13], Operations: ['39-37=2', '11+2=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,12 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[34, 9], Operations: ['39-37=2', '11-2=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[11, 37, 5], Operations: ['39-34=5'] Exploring Operation: 37-11=26, Resulting Numbers: [5, 26] Generated Node #0,1,0: 12:[5, 26] Operation: 37-11=26 Exploring Operation: 11-5=6, Resulting Numbers: [37, 6] Generated Node #0,1,1: 12:[37, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [37, 16] Generated Node #0,1,2: 12:[37, 16] Operation: 11+5=16 Exploring Operation: 37+5=42, Resulting Numbers: [11, 42] Generated Node #0,1,3: 12:[11, 42] Operation: 37+5=42 Exploring Operation: 37-5=32, Resulting Numbers: [11, 32] Generated Node #0,1,4: 12:[11, 32] Operation: 37-5=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[5, 26], Operations: ['39-34=5', '37-11=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 12:[11, 32], Operations: ['39-34=5', '37-5=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,12 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[37, 6], Operations: ['39-34=5', '11-5=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,12 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[37, 16], Operations: ['39-34=5', '11+5=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[11, 42], Operations: ['39-34=5', '37+5=42'] Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,12 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[11, 39, 3], Operations: ['37-34=3'] Exploring Operation: 39/3=13, Resulting Numbers: [11, 13] Generated Node #0,4,0: 12:[11, 13] Operation: 39/3=13 Exploring Operation: 39-11=28, Resulting Numbers: [3, 28] Generated Node #0,4,1: 12:[3, 28] Operation: 39-11=28 Exploring Operation: 39-3=36, Resulting Numbers: [11, 36] Generated Node #0,4,2: 12:[11, 36] Operation: 39-3=36 Exploring Operation: 11+3=14, Resulting Numbers: [39, 14] Generated Node #0,4,3: 12:[39, 14] Operation: 11+3=14 Exploring Operation: 11-3=8, Resulting Numbers: [39, 8] Generated Node #0,4,4: 12:[39, 8] Operation: 11-3=8 Moving to Node #0,4,0 Current State: 12:[11, 13], Operations: ['37-34=3', '39/3=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,12 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[3, 28], Operations: ['37-34=3', '39-11=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,12 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[11, 36], Operations: ['37-34=3', '39-3=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,12 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[39, 14], Operations: ['37-34=3', '11+3=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,12 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[39, 8], Operations: ['37-34=3', '11-3=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,12 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[39, 34, 26], Operations: ['37-11=26'] Exploring Operation: 39+34=73, Resulting Numbers: [26, 73] Generated Node #0,2,0: 12:[26, 73] Operation: 39+34=73 Exploring Operation: 39+26=65, Resulting Numbers: [34, 65] Generated Node #0,2,1: 12:[34, 65] Operation: 39+26=65 Exploring Operation: 39-26=13, Resulting Numbers: [34, 13] Generated Node #0,2,2: 12:[34, 13] Operation: 39-26=13 Exploring Operation: 39-34=5, Resulting Numbers: [26, 5] Generated Node #0,2,3: 12:[26, 5] Operation: 39-34=5 Exploring Operation: 34-26=8, Resulting Numbers: [39, 8] Generated Node #0,2,4: 12:[39, 8] Operation: 34-26=8 Moving to Node #0,2,3 Current State: 12:[26, 5], Operations: ['37-11=26', '39-34=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[34, 13], Operations: ['37-11=26', '39-26=13'] Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,12 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,2,4 Current State: 12:[39, 8], Operations: ['37-11=26', '34-26=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,12 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[26, 73], Operations: ['37-11=26', '39+34=73'] Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,12 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[34, 65], Operations: ['37-11=26', '39+26=65'] Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,12 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 34*65=2210, Resulting Numbers: [2210] 2210,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[37, 34, 28], Operations: ['39-11=28'] Exploring Operation: 37-34=3, Resulting Numbers: [28, 3] Generated Node #0,3,0: 12:[28, 3] Operation: 37-34=3 Exploring Operation: 37+34=71, Resulting Numbers: [28, 71] Generated Node #0,3,1: 12:[28, 71] Operation: 37+34=71 Exploring Operation: 37+28=65, Resulting Numbers: [34, 65] Generated Node #0,3,2: 12:[34, 65] Operation: 37+28=65 Exploring Operation: 37-28=9, Resulting Numbers: [34, 9] Generated Node #0,3,3: 12:[34, 9] Operation: 37-28=9 Exploring Operation: 34-28=6, Resulting Numbers: [37, 6] Generated Node #0,3,4: 12:[37, 6] Operation: 34-28=6 Moving to Node #0,3,0 Current State: 12:[28, 3], Operations: ['39-11=28', '37-34=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,12 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[37, 6], Operations: ['39-11=28', '34-28=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,12 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[34, 9], Operations: ['39-11=28', '37-28=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,12 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[28, 71], Operations: ['39-11=28', '37+34=71'] Exploring Operation: 28+71=99, Resulting Numbers: [99] 99,12 unequal: No Solution Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 28*71=1988, Resulting Numbers: [1988] 1988,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[34, 65], Operations: ['39-11=28', '37+28=65'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 34*65=2210, Resulting Numbers: [2210] 2210,12 unequal: No Solution Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,12 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
[ 98, 93, 15, 27 ]
37
[ "98-93=5", "15+27=42", "42-5=37" ]
Current State: 37:[98, 93, 15, 27], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [15, 27, 5] Generated Node #2: [15, 27, 5] from Operation: 98-93=5 Current State: 37:[15, 27, 5], Operations: ['98-93=5'] Exploring Operation: 15+27=42, Resulting Numbers: [5, 42] Generated Node #3: [5, 42] from Operation: 15+27=42 Current State: 37:[5, 42], Operations: ['98-93=5', '15+27=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[98, 93, 15, 27], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [15, 27, 5] Generated Node #0,0: 37:[15, 27, 5] Operation: 98-93=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[15, 27, 5], Operations: ['98-93=5'] Exploring Operation: 15+5=20, Resulting Numbers: [27, 20] Generated Node #0,0,0: 37:[27, 20] Operation: 15+5=20 Moving to Node #0,0,0 Current State: 37:[27, 20], Operations: ['98-93=5', '15+5=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 74, 72, 83, 3 ]
75
[ "83-74=9", "9/3=3", "72+3=75" ]
Current State: 75:[74, 72, 83, 3], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [72, 3, 9] Generated Node #2: [72, 3, 9] from Operation: 83-74=9 Current State: 75:[72, 3, 9], Operations: ['83-74=9'] Exploring Operation: 9/3=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 9/3=3 Current State: 75:[72, 3], Operations: ['83-74=9', '9/3=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[74, 72, 83, 3], Operations: [] Exploring Operation: 72+3=75, Resulting Numbers: [74, 83, 75] Generated Node #0,0: 75:[74, 83, 75] Operation: 72+3=75 Exploring Operation: 83-74=9, Resulting Numbers: [72, 3, 9] Generated Node #0,1: 75:[72, 3, 9] Operation: 83-74=9 Exploring Operation: 83-72=11, Resulting Numbers: [74, 3, 11] Generated Node #0,2: 75:[74, 3, 11] Operation: 83-72=11 Exploring Operation: 74-72=2, Resulting Numbers: [83, 3, 2] Generated Node #0,3: 75:[83, 3, 2] Operation: 74-72=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[74, 3, 11], Operations: ['83-72=11'] Exploring Operation: 74+3=77, Resulting Numbers: [11, 77] Generated Node #0,2,0: 75:[11, 77] Operation: 74+3=77 Exploring Operation: 3+11=14, Resulting Numbers: [74, 14] Generated Node #0,2,1: 75:[74, 14] Operation: 3+11=14 Exploring Operation: 11-3=8, Resulting Numbers: [74, 8] Generated Node #0,2,2: 75:[74, 8] Operation: 11-3=8 Exploring Operation: 74-3=71, Resulting Numbers: [11, 71] Generated Node #0,2,3: 75:[11, 71] Operation: 74-3=71 Moving to Node #0,2,1 Current State: 75:[74, 14], Operations: ['83-72=11', '3+11=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,75 unequal: No Solution Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,75 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[74, 8], Operations: ['83-72=11', '11-3=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,75 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[11, 77], Operations: ['83-72=11', '74+3=77'] Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,75 unequal: No Solution Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,75 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[11, 71], Operations: ['83-72=11', '74-3=71'] Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,75 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[72, 3, 9], Operations: ['83-74=9'] Exploring Operation: 72/9=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 75:[3, 8] Operation: 72/9=8 Exploring Operation: 72+3=75, Resulting Numbers: [9, 75] Generated Node #0,1,1: 75:[9, 75] Operation: 72+3=75 Exploring Operation: 9-3=6, Resulting Numbers: [72, 6] Generated Node #0,1,2: 75:[72, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [72, 3] Generated Node #0,1,3: 75:[72, 3] Operation: 9/3=3 Moving to Node #0,1,0 Current State: 75:[3, 8], Operations: ['83-74=9', '72/9=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[72, 3], Operations: ['83-74=9', '9/3=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[74, 72, 83, 3], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [72, 3, 9] Generated Node #0,1: 75:[72, 3, 9] Operation: 83-74=9 Moving to Node #0,1 Current State: 75:[72, 3, 9], Operations: ['83-74=9'] Exploring Operation: 9/3=3, Resulting Numbers: [72, 3] Generated Node #0,1,3: 75:[72, 3] Operation: 9/3=3 Moving to Node #0,1,3 Current State: 75:[72, 3], Operations: ['83-74=9', '9/3=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 40, 70, 20, 41 ]
49
[ "40+70=110", "20+41=61", "110-61=49" ]
Current State: 49:[40, 70, 20, 41], Operations: [] Exploring Operation: 40+70=110, Resulting Numbers: [20, 41, 110] Generated Node #2: [20, 41, 110] from Operation: 40+70=110 Current State: 49:[20, 41, 110], Operations: ['40+70=110'] Exploring Operation: 20+41=61, Resulting Numbers: [110, 61] Generated Node #3: [110, 61] from Operation: 20+41=61 Current State: 49:[110, 61], Operations: ['40+70=110', '20+41=61'] Exploring Operation: 110-61=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[40, 70, 20, 41], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [40, 41, 50] Generated Node #0,0: 49:[40, 41, 50] Operation: 70-20=50 Exploring Operation: 70-40=30, Resulting Numbers: [20, 41, 30] Generated Node #0,1: 49:[20, 41, 30] Operation: 70-40=30 Exploring Operation: 40/20=2, Resulting Numbers: [70, 41, 2] Generated Node #0,2: 49:[70, 41, 2] Operation: 40/20=2 Exploring Operation: 40+20=60, Resulting Numbers: [70, 41, 60] Generated Node #0,3: 49:[70, 41, 60] Operation: 40+20=60 Moving to Node #0,0 Current State: 49:[40, 41, 50], Operations: ['70-20=50'] Exploring Operation: 50-41=9, Resulting Numbers: [40, 9] Generated Node #0,0,0: 49:[40, 9] Operation: 50-41=9 Exploring Operation: 40+41=81, Resulting Numbers: [50, 81] Generated Node #0,0,1: 49:[50, 81] Operation: 40+41=81 Exploring Operation: 41-40=1, Resulting Numbers: [50, 1] Generated Node #0,0,2: 49:[50, 1] Operation: 41-40=1 Exploring Operation: 50-40=10, Resulting Numbers: [41, 10] Generated Node #0,0,3: 49:[41, 10] Operation: 50-40=10 Moving to Node #0,2 Current State: 49:[70, 41, 2], Operations: ['40/20=2'] Exploring Operation: 70/2=35, Resulting Numbers: [41, 35] Generated Node #0,2,0: 49:[41, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [41, 68] Generated Node #0,2,1: 49:[41, 68] Operation: 70-2=68 Exploring Operation: 41+2=43, Resulting Numbers: [70, 43] Generated Node #0,2,2: 49:[70, 43] Operation: 41+2=43 Exploring Operation: 70-41=29, Resulting Numbers: [2, 29] Generated Node #0,2,3: 49:[2, 29] Operation: 70-41=29 Moving to Node #0,3 Current State: 49:[70, 41, 60], Operations: ['40+20=60'] Exploring Operation: 60-41=19, Resulting Numbers: [70, 19] Generated Node #0,3,0: 49:[70, 19] Operation: 60-41=19 Exploring Operation: 70-60=10, Resulting Numbers: [41, 10] Generated Node #0,3,1: 49:[41, 10] Operation: 70-60=10 Exploring Operation: 70-41=29, Resulting Numbers: [60, 29] Generated Node #0,3,2: 49:[60, 29] Operation: 70-41=29 Exploring Operation: 70+41=111, Resulting Numbers: [60, 111] Generated Node #0,3,3: 49:[60, 111] Operation: 70+41=111 Moving to Node #0,1 Current State: 49:[20, 41, 30], Operations: ['70-40=30'] Exploring Operation: 30-20=10, Resulting Numbers: [41, 10] Generated Node #0,1,0: 49:[41, 10] Operation: 30-20=10 Exploring Operation: 20+41=61, Resulting Numbers: [30, 61] Generated Node #0,1,1: 49:[30, 61] Operation: 20+41=61 Exploring Operation: 20+30=50, Resulting Numbers: [41, 50] Generated Node #0,1,2: 49:[41, 50] Operation: 20+30=50 Exploring Operation: 41-30=11, Resulting Numbers: [20, 11] Generated Node #0,1,3: 49:[20, 11] Operation: 41-30=11 Moving to Node #0,0,2 Current State: 49:[50, 1], Operations: ['70-20=50', '41-40=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[40, 70, 20, 41], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [40, 41, 50] Generated Node #0,0: 49:[40, 41, 50] Operation: 70-20=50 Moving to Node #0,0 Current State: 49:[40, 41, 50], Operations: ['70-20=50'] Exploring Operation: 41-40=1, Resulting Numbers: [50, 1] Generated Node #0,0,2: 49:[50, 1] Operation: 41-40=1 Moving to Node #0,0,2 Current State: 49:[50, 1], Operations: ['70-20=50', '41-40=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.977431
hs_4
sum_heuristic
[ 98, 88, 54, 77 ]
58
[ "98*88=8624", "8624/77=112", "112-54=58" ]
Current State: 58:[98, 88, 54, 77], Operations: [] Exploring Operation: 98*88=8624, Resulting Numbers: [54, 77, 8624] Generated Node #2: [54, 77, 8624] from Operation: 98*88=8624 Current State: 58:[54, 77, 8624], Operations: ['98*88=8624'] Exploring Operation: 8624/77=112, Resulting Numbers: [54, 112] Generated Node #3: [54, 112] from Operation: 8624/77=112 Current State: 58:[54, 112], Operations: ['98*88=8624', '8624/77=112'] Exploring Operation: 112-54=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[98, 88, 54, 77], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [54, 77, 10] Generated Node #0,0: 58:[54, 77, 10] Operation: 98-88=10 Exploring Operation: 98-77=21, Resulting Numbers: [88, 54, 21] Generated Node #0,1: 58:[88, 54, 21] Operation: 98-77=21 Exploring Operation: 88-77=11, Resulting Numbers: [98, 54, 11] Generated Node #0,2: 58:[98, 54, 11] Operation: 88-77=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[54, 77, 10], Operations: ['98-88=10'] Exploring Operation: 77-10=67, Resulting Numbers: [54, 67] Generated Node #0,0,0: 58:[54, 67] Operation: 77-10=67 Exploring Operation: 54+10=64, Resulting Numbers: [77, 64] Generated Node #0,0,1: 58:[77, 64] Operation: 54+10=64 Exploring Operation: 77-54=23, Resulting Numbers: [10, 23] Generated Node #0,0,2: 58:[10, 23] Operation: 77-54=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[54, 67], Operations: ['98-88=10', '77-10=67'] Exploring Operation: 54+67=121, Resulting Numbers: [121] 121,58 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 54*67=3618, Resulting Numbers: [3618] 3618,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[10, 23], Operations: ['98-88=10', '77-54=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[77, 64], Operations: ['98-88=10', '54+10=64'] Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,58 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,58 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: 58:[88, 54, 21], Operations: ['98-77=21'] Exploring Operation: 88-54=34, Resulting Numbers: [21, 34] Generated Node #0,1,0: 58:[21, 34] Operation: 88-54=34 Exploring Operation: 54-21=33, Resulting Numbers: [88, 33] Generated Node #0,1,1: 58:[88, 33] Operation: 54-21=33 Exploring Operation: 88-21=67, Resulting Numbers: [54, 67] Generated Node #0,1,2: 58:[54, 67] Operation: 88-21=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[21, 34], Operations: ['98-77=21', '88-54=34'] Exploring Operation: 21*34=714, Resulting Numbers: [714] 714,58 unequal: No Solution Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 58:[54, 67], Operations: ['98-77=21', '88-21=67'] Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 54*67=3618, Resulting Numbers: [3618] 3618,58 unequal: No Solution Exploring Operation: 54+67=121, Resulting Numbers: [121] 121,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[88, 33], Operations: ['98-77=21', '54-21=33'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,58 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,58 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: 58:[98, 54, 11], Operations: ['88-77=11'] Exploring Operation: 54+11=65, Resulting Numbers: [98, 65] Generated Node #0,2,0: 58:[98, 65] Operation: 54+11=65 Exploring Operation: 98-54=44, Resulting Numbers: [11, 44] Generated Node #0,2,1: 58:[11, 44] Operation: 98-54=44 Exploring Operation: 98-11=87, Resulting Numbers: [54, 87] Generated Node #0,2,2: 58:[54, 87] Operation: 98-11=87 Moving to Node #0,2,1 Current State: 58:[11, 44], Operations: ['88-77=11', '98-54=44'] Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[54, 87], Operations: ['88-77=11', '98-11=87'] Exploring Operation: 54+87=141, Resulting Numbers: [141] 141,58 unequal: No Solution Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 54*87=4698, Resulting Numbers: [4698] 4698,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[98, 65], Operations: ['88-77=11', '54+11=65'] Exploring Operation: 98*65=6370, Resulting Numbers: [6370] 6370,58 unequal: No Solution Exploring Operation: 98+65=163, Resulting Numbers: [163] 163,58 unequal: No Solution Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 26, 25, 48, 14 ]
29
[ "26-14=12", "48/12=4", "25+4=29" ]
Current State: 29:[26, 25, 48, 14], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [25, 48, 12] Generated Node #2: [25, 48, 12] from Operation: 26-14=12 Current State: 29:[25, 48, 12], Operations: ['26-14=12'] Exploring Operation: 48/12=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 48/12=4 Current State: 29:[25, 4], Operations: ['26-14=12', '48/12=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[26, 25, 48, 14], Operations: [] Exploring Operation: 48-14=34, Resulting Numbers: [26, 25, 34] Generated Node #0,0: 29:[26, 25, 34] Operation: 48-14=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[26, 25, 34], Operations: ['48-14=34'] Exploring Operation: 34-25=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 29:[26, 9] Operation: 34-25=9 Moving to Node #0,0,0 Current State: 29:[26, 9], Operations: ['48-14=34', '34-25=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 23, 77, 94, 47 ]
27
[ "77-23=54", "94/47=2", "54/2=27" ]
Current State: 27:[23, 77, 94, 47], Operations: [] Exploring Operation: 77-23=54, Resulting Numbers: [94, 47, 54] Generated Node #2: [94, 47, 54] from Operation: 77-23=54 Current State: 27:[94, 47, 54], Operations: ['77-23=54'] Exploring Operation: 94/47=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 94/47=2 Current State: 27:[54, 2], Operations: ['77-23=54', '94/47=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[23, 77, 94, 47], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [23, 47, 17] Generated Node #0,0: 27:[23, 47, 17] Operation: 94-77=17 Exploring Operation: 94-47=47, Resulting Numbers: [23, 77, 47] Generated Node #0,1: 27:[23, 77, 47] Operation: 94-47=47 Exploring Operation: 77-47=30, Resulting Numbers: [23, 94, 30] Generated Node #0,2: 27:[23, 94, 30] Operation: 77-47=30 Exploring Operation: 94/47=2, Resulting Numbers: [23, 77, 2] Generated Node #0,3: 27:[23, 77, 2] Operation: 94/47=2 Exploring Operation: 77-23=54, Resulting Numbers: [94, 47, 54] Generated Node #0,4: 27:[94, 47, 54] Operation: 77-23=54 Moving to Node #0,0 Current State: 27:[23, 47, 17], Operations: ['94-77=17'] Exploring Operation: 23-17=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 27:[47, 6] Operation: 23-17=6 Exploring Operation: 23+17=40, Resulting Numbers: [47, 40] Generated Node #0,0,1: 27:[47, 40] Operation: 23+17=40 Exploring Operation: 47+17=64, Resulting Numbers: [23, 64] Generated Node #0,0,2: 27:[23, 64] Operation: 47+17=64 Exploring Operation: 47-17=30, Resulting Numbers: [23, 30] Generated Node #0,0,3: 27:[23, 30] Operation: 47-17=30 Exploring Operation: 47-23=24, Resulting Numbers: [17, 24] Generated Node #0,0,4: 27:[17, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[23, 30], Operations: ['94-77=17', '47-17=30'] Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,27 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 27:[17, 24], Operations: ['94-77=17', '47-23=24'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,27 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[47, 6], Operations: ['94-77=17', '23-17=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,27 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[47, 40], Operations: ['94-77=17', '23+17=40'] Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,27 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[23, 64], Operations: ['94-77=17', '47+17=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,27 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,27 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,27 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: 27:[23, 77, 2], Operations: ['94/47=2'] Exploring Operation: 77-23=54, Resulting Numbers: [2, 54] Generated Node #0,3,0: 27:[2, 54] Operation: 77-23=54 Exploring Operation: 77-2=75, Resulting Numbers: [23, 75] Generated Node #0,3,1: 27:[23, 75] Operation: 77-2=75 Exploring Operation: 77+2=79, Resulting Numbers: [23, 79] Generated Node #0,3,2: 27:[23, 79] Operation: 77+2=79 Exploring Operation: 23+2=25, Resulting Numbers: [77, 25] Generated Node #0,3,3: 27:[77, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [77, 21] Generated Node #0,3,4: 27:[77, 21] Operation: 23-2=21 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[2, 54], Operations: ['94/47=2', '77-23=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[23, 77, 94, 47], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [23, 77, 2] Generated Node #0,3: 27:[23, 77, 2] Operation: 94/47=2 Moving to Node #0,3 Current State: 27:[23, 77, 2], Operations: ['94/47=2'] Exploring Operation: 77-23=54, Resulting Numbers: [2, 54] Generated Node #0,3,0: 27:[2, 54] Operation: 77-23=54 Moving to Node #0,3,0 Current State: 27:[2, 54], Operations: ['94/47=2', '77-23=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 69, 2, 76, 33 ]
95
[ "69*2=138", "76-33=43", "138-43=95" ]
Current State: 95:[69, 2, 76, 33], Operations: [] Exploring Operation: 69*2=138, Resulting Numbers: [76, 33, 138] Generated Node #2: [76, 33, 138] from Operation: 69*2=138 Current State: 95:[76, 33, 138], Operations: ['69*2=138'] Exploring Operation: 76-33=43, Resulting Numbers: [138, 43] Generated Node #3: [138, 43] from Operation: 76-33=43 Current State: 95:[138, 43], Operations: ['69*2=138', '76-33=43'] Exploring Operation: 138-43=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[69, 2, 76, 33], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [2, 33, 7] Generated Node #0,0: 95:[2, 33, 7] Operation: 76-69=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[2, 33, 7], Operations: ['76-69=7'] Exploring Operation: 33-7=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 95:[2, 26] Operation: 33-7=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[2, 26], Operations: ['76-69=7', '33-7=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,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 No solution found.
0
hs_1
sum_heuristic
[ 22, 28, 32, 21 ]
30
[ "32-21=11", "22/11=2", "28+2=30" ]
Current State: 30:[22, 28, 32, 21], Operations: [] Exploring Operation: 32-21=11, Resulting Numbers: [22, 28, 11] Generated Node #2: [22, 28, 11] from Operation: 32-21=11 Current State: 30:[22, 28, 11], Operations: ['32-21=11'] Exploring Operation: 22/11=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 22/11=2 Current State: 30:[28, 2], Operations: ['32-21=11', '22/11=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[22, 28, 32, 21], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [28, 32, 1] Generated Node #0,0: 30:[28, 32, 1] Operation: 22-21=1 Exploring Operation: 28-22=6, Resulting Numbers: [32, 21, 6] Generated Node #0,1: 30:[32, 21, 6] Operation: 28-22=6 Exploring Operation: 32-22=10, Resulting Numbers: [28, 21, 10] Generated Node #0,2: 30:[28, 21, 10] Operation: 32-22=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[28, 32, 1], Operations: ['22-21=1'] Exploring Operation: 32-28=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 30:[1, 4] Operation: 32-28=4 Exploring Operation: 32-1=31, Resulting Numbers: [28, 31] Generated Node #0,0,1: 30:[28, 31] Operation: 32-1=31 Exploring Operation: 28+1=29, Resulting Numbers: [32, 29] Generated Node #0,0,2: 30:[32, 29] Operation: 28+1=29 Moving to Node #0,0,0 Current State: 30:[1, 4], Operations: ['22-21=1', '32-28=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[28, 31], Operations: ['22-21=1', '32-1=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,30 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[32, 29], Operations: ['22-21=1', '28+1=29'] Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,30 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[32, 21, 6], Operations: ['28-22=6'] Exploring Operation: 32-21=11, Resulting Numbers: [6, 11] Generated Node #0,1,0: 30:[6, 11] Operation: 32-21=11 Exploring Operation: 21-6=15, Resulting Numbers: [32, 15] Generated Node #0,1,1: 30:[32, 15] Operation: 21-6=15 Exploring Operation: 21+6=27, Resulting Numbers: [32, 27] Generated Node #0,1,2: 30:[32, 27] Operation: 21+6=27 Moving to Node #0,1,0 Current State: 30:[6, 11], Operations: ['28-22=6', '32-21=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[32, 15], Operations: ['28-22=6', '21-6=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[32, 27], Operations: ['28-22=6', '21+6=27'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,30 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[28, 21, 10], Operations: ['32-22=10'] Exploring Operation: 28-21=7, Resulting Numbers: [10, 7] Generated Node #0,2,0: 30:[10, 7] Operation: 28-21=7 Exploring Operation: 21-10=11, Resulting Numbers: [28, 11] Generated Node #0,2,1: 30:[28, 11] Operation: 21-10=11 Exploring Operation: 21+10=31, Resulting Numbers: [28, 31] Generated Node #0,2,2: 30:[28, 31] Operation: 21+10=31 Moving to Node #0,2,0 Current State: 30:[10, 7], Operations: ['32-22=10', '28-21=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[28, 11], Operations: ['32-22=10', '21-10=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,30 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[28, 31], Operations: ['32-22=10', '21+10=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,30 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,30 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
[ 9, 90, 62, 45 ]
98
[ "90-9=81", "62-45=17", "81+17=98" ]
Current State: 98:[9, 90, 62, 45], Operations: [] Exploring Operation: 90-9=81, Resulting Numbers: [62, 45, 81] Generated Node #2: [62, 45, 81] from Operation: 90-9=81 Current State: 98:[62, 45, 81], Operations: ['90-9=81'] Exploring Operation: 62-45=17, Resulting Numbers: [81, 17] Generated Node #3: [81, 17] from Operation: 62-45=17 Current State: 98:[81, 17], Operations: ['90-9=81', '62-45=17'] Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[9, 90, 62, 45], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [9, 90, 17] Generated Node #0,0: 98:[9, 90, 17] Operation: 62-45=17 Moving to Node #0,0 Current State: 98:[9, 90, 17], Operations: ['62-45=17'] Exploring Operation: 9+90=99, Resulting Numbers: [17, 99] Generated Node #0,0,0: 98:[17, 99] Operation: 9+90=99 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[17, 99], Operations: ['62-45=17', '9+90=99'] Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 37, 35, 1, 12 ]
13
[ "37-35=2", "12-1=11", "2+11=13" ]
Current State: 13:[37, 35, 1, 12], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [1, 12, 2] Generated Node #2: [1, 12, 2] from Operation: 37-35=2 Current State: 13:[1, 12, 2], Operations: ['37-35=2'] Exploring Operation: 12-1=11, Resulting Numbers: [2, 11] Generated Node #3: [2, 11] from Operation: 12-1=11 Current State: 13:[2, 11], Operations: ['37-35=2', '12-1=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[37, 35, 1, 12], Operations: [] Exploring Operation: 35-12=23, Resulting Numbers: [37, 1, 23] Generated Node #0,0: 13:[37, 1, 23] Operation: 35-12=23 Exploring Operation: 37-1=36, Resulting Numbers: [35, 12, 36] Generated Node #0,1: 13:[35, 12, 36] Operation: 37-1=36 Exploring Operation: 37-12=25, Resulting Numbers: [35, 1, 25] Generated Node #0,2: 13:[35, 1, 25] Operation: 37-12=25 Exploring Operation: 35-1=34, Resulting Numbers: [37, 12, 34] Generated Node #0,3: 13:[37, 12, 34] Operation: 35-1=34 Exploring Operation: 37-35=2, Resulting Numbers: [1, 12, 2] Generated Node #0,4: 13:[1, 12, 2] Operation: 37-35=2 Moving to Node #0,4 Current State: 13:[1, 12, 2], Operations: ['37-35=2'] Exploring Operation: 12/1=12, Resulting Numbers: [2, 12] Generated Node #0,4,0: 13:[2, 12] Operation: 12/1=12 Exploring Operation: 1*12=12, Resulting Numbers: [2, 12] Generated Node #0,4,1: 13:[2, 12] Operation: 1*12=12 Exploring Operation: 1*2=2, Resulting Numbers: [12, 2] Generated Node #0,4,2: 13:[12, 2] Operation: 1*2=2 Exploring Operation: 1+2=3, Resulting Numbers: [12, 3] Generated Node #0,4,3: 13:[12, 3] Operation: 1+2=3 Exploring Operation: 1+12=13, Resulting Numbers: [2, 13] Generated Node #0,4,4: 13:[2, 13] Operation: 1+12=13 Moving to Node #0,1 Current State: 13:[35, 12, 36], Operations: ['37-1=36'] Exploring Operation: 35-12=23, Resulting Numbers: [36, 23] Generated Node #0,1,0: 13:[36, 23] Operation: 35-12=23 Exploring Operation: 36-35=1, Resulting Numbers: [12, 1] Generated Node #0,1,1: 13:[12, 1] Operation: 36-35=1 Exploring Operation: 36/12=3, Resulting Numbers: [35, 3] Generated Node #0,1,2: 13:[35, 3] Operation: 36/12=3 Exploring Operation: 36-12=24, Resulting Numbers: [35, 24] Generated Node #0,1,3: 13:[35, 24] Operation: 36-12=24 Exploring Operation: 35+12=47, Resulting Numbers: [36, 47] Generated Node #0,1,4: 13:[36, 47] Operation: 35+12=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[12, 1], Operations: ['37-1=36', '36-35=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[37, 35, 1, 12], Operations: [] Exploring Operation: 37-1=36, Resulting Numbers: [35, 12, 36] Generated Node #0,1: 13:[35, 12, 36] Operation: 37-1=36 Moving to Node #0,1 Current State: 13:[35, 12, 36], Operations: ['37-1=36'] Exploring Operation: 36-35=1, Resulting Numbers: [12, 1] Generated Node #0,1,1: 13:[12, 1] Operation: 36-35=1 Moving to Node #0,1,1 Current State: 13:[12, 1], Operations: ['37-1=36', '36-35=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 85, 16, 38, 2 ]
82
[ "85+16=101", "38/2=19", "101-19=82" ]
Current State: 82:[85, 16, 38, 2], Operations: [] Exploring Operation: 85+16=101, Resulting Numbers: [38, 2, 101] Generated Node #2: [38, 2, 101] from Operation: 85+16=101 Current State: 82:[38, 2, 101], Operations: ['85+16=101'] Exploring Operation: 38/2=19, Resulting Numbers: [101, 19] Generated Node #3: [101, 19] from Operation: 38/2=19 Current State: 82:[101, 19], Operations: ['85+16=101', '38/2=19'] Exploring Operation: 101-19=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[85, 16, 38, 2], Operations: [] Exploring Operation: 85-2=83, Resulting Numbers: [16, 38, 83] Generated Node #0,0: 82:[16, 38, 83] Operation: 85-2=83 Exploring Operation: 16*2=32, Resulting Numbers: [85, 38, 32] Generated Node #0,1: 82:[85, 38, 32] Operation: 16*2=32 Exploring Operation: 85-16=69, Resulting Numbers: [38, 2, 69] Generated Node #0,2: 82:[38, 2, 69] Operation: 85-16=69 Exploring Operation: 16/2=8, Resulting Numbers: [85, 38, 8] Generated Node #0,3: 82:[85, 38, 8] Operation: 16/2=8 Exploring Operation: 16+38=54, Resulting Numbers: [85, 2, 54] Generated Node #0,4: 82:[85, 2, 54] Operation: 16+38=54 Moving to Node #0,3 Current State: 82:[85, 38, 8], Operations: ['16/2=8'] Exploring Operation: 85-8=77, Resulting Numbers: [38, 77] Generated Node #0,3,0: 82:[38, 77] Operation: 85-8=77 Exploring Operation: 85-38=47, Resulting Numbers: [8, 47] Generated Node #0,3,1: 82:[8, 47] Operation: 85-38=47 Exploring Operation: 38+8=46, Resulting Numbers: [85, 46] Generated Node #0,3,2: 82:[85, 46] Operation: 38+8=46 Exploring Operation: 38-8=30, Resulting Numbers: [85, 30] Generated Node #0,3,3: 82:[85, 30] Operation: 38-8=30 Exploring Operation: 85+8=93, Resulting Numbers: [38, 93] Generated Node #0,3,4: 82:[38, 93] Operation: 85+8=93 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[38, 77], Operations: ['16/2=8', '85-8=77'] Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,82 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[85, 46], Operations: ['16/2=8', '38+8=46'] Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,82 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[8, 47], Operations: ['16/2=8', '85-38=47'] Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[85, 30], Operations: ['16/2=8', '38-8=30'] Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[38, 93], Operations: ['16/2=8', '85+8=93'] Exploring Operation: 38*93=3534, Resulting Numbers: [3534] 3534,82 unequal: No Solution Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 38+93=131, Resulting Numbers: [131] 131,82 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: 82:[85, 38, 32], Operations: ['16*2=32'] Exploring Operation: 85+32=117, Resulting Numbers: [38, 117] Generated Node #0,1,0: 82:[38, 117] Operation: 85+32=117 Exploring Operation: 85-38=47, Resulting Numbers: [32, 47] Generated Node #0,1,1: 82:[32, 47] Operation: 85-38=47 Exploring Operation: 38+32=70, Resulting Numbers: [85, 70] Generated Node #0,1,2: 82:[85, 70] Operation: 38+32=70 Exploring Operation: 85-32=53, Resulting Numbers: [38, 53] Generated Node #0,1,3: 82:[38, 53] Operation: 85-32=53 Exploring Operation: 38-32=6, Resulting Numbers: [85, 6] Generated Node #0,1,4: 82:[85, 6] Operation: 38-32=6 Moving to Node #0,2 Current State: 82:[38, 2, 69], Operations: ['85-16=69'] Exploring Operation: 69-2=67, Resulting Numbers: [38, 67] Generated Node #0,2,0: 82:[38, 67] Operation: 69-2=67 Exploring Operation: 38+2=40, Resulting Numbers: [69, 40] Generated Node #0,2,1: 82:[69, 40] Operation: 38+2=40 Exploring Operation: 2+69=71, Resulting Numbers: [38, 71] Generated Node #0,2,2: 82:[38, 71] Operation: 2+69=71 Exploring Operation: 69-38=31, Resulting Numbers: [2, 31] Generated Node #0,2,3: 82:[2, 31] Operation: 69-38=31 Exploring Operation: 38-2=36, Resulting Numbers: [69, 36] Generated Node #0,2,4: 82:[69, 36] Operation: 38-2=36 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[2, 31], Operations: ['85-16=69', '69-38=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[69, 40], Operations: ['85-16=69', '38+2=40'] Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,82 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,82 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[38, 71], Operations: ['85-16=69', '2+69=71'] Exploring Operation: 38+71=109, Resulting Numbers: [109] 109,82 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 38*71=2698, Resulting Numbers: [2698] 2698,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[38, 67], Operations: ['85-16=69', '69-2=67'] Exploring Operation: 38*67=2546, Resulting Numbers: [2546] 2546,82 unequal: No Solution Exploring Operation: 38+67=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[69, 36], Operations: ['85-16=69', '38-2=36'] Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,82 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: 82:[85, 2, 54], Operations: ['16+38=54'] Exploring Operation: 54-2=52, Resulting Numbers: [85, 52] Generated Node #0,4,0: 82:[85, 52] Operation: 54-2=52 Exploring Operation: 85+2=87, Resulting Numbers: [54, 87] Generated Node #0,4,1: 82:[54, 87] Operation: 85+2=87 Exploring Operation: 85-54=31, Resulting Numbers: [2, 31] Generated Node #0,4,2: 82:[2, 31] Operation: 85-54=31 Exploring Operation: 85-2=83, Resulting Numbers: [54, 83] Generated Node #0,4,3: 82:[54, 83] Operation: 85-2=83 Exploring Operation: 54/2=27, Resulting Numbers: [85, 27] Generated Node #0,4,4: 82:[85, 27] Operation: 54/2=27 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[2, 31], Operations: ['16+38=54', '85-54=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[85, 52], Operations: ['16+38=54', '54-2=52'] Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,82 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[54, 83], Operations: ['16+38=54', '85-2=83'] Exploring Operation: 54+83=137, Resulting Numbers: [137] 137,82 unequal: No Solution Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 54*83=4482, Resulting Numbers: [4482] 4482,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[85, 27], Operations: ['16+38=54', '54/2=27'] Exploring Operation: 85*27=2295, Resulting Numbers: [2295] 2295,82 unequal: No Solution Exploring Operation: 85+27=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[54, 87], Operations: ['16+38=54', '85+2=87'] Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 54*87=4698, Resulting Numbers: [4698] 4698,82 unequal: No Solution Exploring Operation: 54+87=141, Resulting Numbers: [141] 141,82 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: 82:[16, 38, 83], Operations: ['85-2=83'] Exploring Operation: 16+38=54, Resulting Numbers: [83, 54] Generated Node #0,0,0: 82:[83, 54] Operation: 16+38=54 Exploring Operation: 83-16=67, Resulting Numbers: [38, 67] Generated Node #0,0,1: 82:[38, 67] Operation: 83-16=67 Exploring Operation: 38-16=22, Resulting Numbers: [83, 22] Generated Node #0,0,2: 82:[83, 22] Operation: 38-16=22 Exploring Operation: 16+83=99, Resulting Numbers: [38, 99] Generated Node #0,0,3: 82:[38, 99] Operation: 16+83=99 Exploring Operation: 83-38=45, Resulting Numbers: [16, 45] Generated Node #0,0,4: 82:[16, 45] Operation: 83-38=45 Moving to Node #0,1,4 Current State: 82:[85, 6], Operations: ['16*2=32', '38-32=6'] Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,82 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,82 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[83, 54], Operations: ['85-2=83', '16+38=54'] Exploring Operation: 83+54=137, Resulting Numbers: [137] 137,82 unequal: No Solution Exploring Operation: 83*54=4482, Resulting Numbers: [4482] 4482,82 unequal: No Solution Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[85, 70], Operations: ['16*2=32', '38+32=70'] Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,82 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,82 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[32, 47], Operations: ['16*2=32', '85-38=47'] Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,82 unequal: No Solution Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,82 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[38, 53], Operations: ['16*2=32', '85-32=53'] Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,82 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[38, 67], Operations: ['85-2=83', '83-16=67'] Exploring Operation: 38+67=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 38*67=2546, Resulting Numbers: [2546] 2546,82 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[16, 45], Operations: ['85-2=83', '83-38=45'] Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,82 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[83, 22], Operations: ['85-2=83', '38-16=22'] Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,82 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[38, 99], Operations: ['85-2=83', '16+83=99'] Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 38*99=3762, Resulting Numbers: [3762] 3762,82 unequal: No Solution Exploring Operation: 38+99=137, Resulting Numbers: [137] 137,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[38, 117], Operations: ['16*2=32', '85+32=117'] Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,82 unequal: No Solution Exploring Operation: 38+117=155, Resulting Numbers: [155] 155,82 unequal: No Solution Exploring Operation: 38*117=4446, Resulting Numbers: [4446] 4446,82 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 59, 90, 5, 65 ]
29
[ "90-59=31", "65-5=60", "60-31=29" ]
Current State: 29:[59, 90, 5, 65], Operations: [] Exploring Operation: 90-59=31, Resulting Numbers: [5, 65, 31] Generated Node #2: [5, 65, 31] from Operation: 90-59=31 Current State: 29:[5, 65, 31], Operations: ['90-59=31'] Exploring Operation: 65-5=60, Resulting Numbers: [31, 60] Generated Node #3: [31, 60] from Operation: 65-5=60 Current State: 29:[31, 60], Operations: ['90-59=31', '65-5=60'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[59, 90, 5, 65], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [59, 65, 18] Generated Node #0,0: 29:[59, 65, 18] Operation: 90/5=18 Exploring Operation: 90-65=25, Resulting Numbers: [59, 5, 25] Generated Node #0,1: 29:[59, 5, 25] Operation: 90-65=25 Exploring Operation: 90-59=31, Resulting Numbers: [5, 65, 31] Generated Node #0,2: 29:[5, 65, 31] Operation: 90-59=31 Moving to Node #0,1 Current State: 29:[59, 5, 25], Operations: ['90-65=25'] Exploring Operation: 5+25=30, Resulting Numbers: [59, 30] Generated Node #0,1,0: 29:[59, 30] Operation: 5+25=30 Exploring Operation: 59-5=54, Resulting Numbers: [25, 54] Generated Node #0,1,1: 29:[25, 54] Operation: 59-5=54 Exploring Operation: 59-25=34, Resulting Numbers: [5, 34] Generated Node #0,1,2: 29:[5, 34] Operation: 59-25=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[25, 54], Operations: ['90-65=25', '59-5=54'] Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,29 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[59, 90, 5, 65], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [59, 5, 25] Generated Node #0,1: 29:[59, 5, 25] Operation: 90-65=25 Moving to Node #0,1 Current State: 29:[59, 5, 25], Operations: ['90-65=25'] Exploring Operation: 59-5=54, Resulting Numbers: [25, 54] Generated Node #0,1,1: 29:[25, 54] Operation: 59-5=54 Moving to Node #0,1,1 Current State: 29:[25, 54], Operations: ['90-65=25', '59-5=54'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 59, 67, 58, 92 ]
24
[ "59+67=126", "58+92=150", "150-126=24" ]
Current State: 24:[59, 67, 58, 92], Operations: [] Exploring Operation: 59+67=126, Resulting Numbers: [58, 92, 126] Generated Node #2: [58, 92, 126] from Operation: 59+67=126 Current State: 24:[58, 92, 126], Operations: ['59+67=126'] Exploring Operation: 58+92=150, Resulting Numbers: [126, 150] Generated Node #3: [126, 150] from Operation: 58+92=150 Current State: 24:[126, 150], Operations: ['59+67=126', '58+92=150'] Exploring Operation: 150-126=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[59, 67, 58, 92], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [59, 58, 25] Generated Node #0,0: 24:[59, 58, 25] Operation: 92-67=25 Moving to Node #0,0 Current State: 24:[59, 58, 25], Operations: ['92-67=25'] Exploring Operation: 59-58=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 24:[25, 1] Operation: 59-58=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[25, 1], Operations: ['92-67=25', '59-58=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[59, 67, 58, 92], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [59, 58, 25] Generated Node #0,0: 24:[59, 58, 25] Operation: 92-67=25 Moving to Node #0,0 Current State: 24:[59, 58, 25], Operations: ['92-67=25'] Exploring Operation: 59-58=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 24:[25, 1] Operation: 59-58=1 Moving to Node #0,0,0 Current State: 24:[25, 1], Operations: ['92-67=25', '59-58=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 20, 40, 74, 16 ]
78
[ "40-20=20", "74-16=58", "20+58=78" ]
Current State: 78:[20, 40, 74, 16], Operations: [] Exploring Operation: 40-20=20, Resulting Numbers: [74, 16, 20] Generated Node #2: [74, 16, 20] from Operation: 40-20=20 Current State: 78:[74, 16, 20], Operations: ['40-20=20'] Exploring Operation: 74-16=58, Resulting Numbers: [20, 58] Generated Node #3: [20, 58] from Operation: 74-16=58 Current State: 78:[20, 58], Operations: ['40-20=20', '74-16=58'] Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[20, 40, 74, 16], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [74, 16, 2] Generated Node #0,0: 78:[74, 16, 2] Operation: 40/20=2 Exploring Operation: 20-16=4, Resulting Numbers: [40, 74, 4] Generated Node #0,1: 78:[40, 74, 4] Operation: 20-16=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[40, 74, 4], Operations: ['20-16=4'] Exploring Operation: 74-40=34, Resulting Numbers: [4, 34] Generated Node #0,1,0: 78:[4, 34] Operation: 74-40=34 Exploring Operation: 74+4=78, Resulting Numbers: [40, 78] Generated Node #0,1,1: 78:[40, 78] Operation: 74+4=78 Moving to Node #0,1,1 Current State: 78:[40, 78], Operations: ['20-16=4', '74+4=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,78 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[4, 34], Operations: ['20-16=4', '74-40=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[74, 16, 2], Operations: ['40/20=2'] Exploring Operation: 74+2=76, Resulting Numbers: [16, 76] Generated Node #0,0,0: 78:[16, 76] Operation: 74+2=76 Exploring Operation: 74/2=37, Resulting Numbers: [16, 37] Generated Node #0,0,1: 78:[16, 37] Operation: 74/2=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[16, 76], Operations: ['40/20=2', '74+2=76'] Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 16+76=92, Resulting Numbers: [92] 92,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,0,1 Current State: 78:[16, 37], Operations: ['40/20=2', '74/2=37'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 34, 97, 10, 95 ]
46
[ "34+97=131", "95-10=85", "131-85=46" ]
Current State: 46:[34, 97, 10, 95], Operations: [] Exploring Operation: 34+97=131, Resulting Numbers: [10, 95, 131] Generated Node #2: [10, 95, 131] from Operation: 34+97=131 Current State: 46:[10, 95, 131], Operations: ['34+97=131'] Exploring Operation: 95-10=85, Resulting Numbers: [131, 85] Generated Node #3: [131, 85] from Operation: 95-10=85 Current State: 46:[131, 85], Operations: ['34+97=131', '95-10=85'] Exploring Operation: 131-85=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[34, 97, 10, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [34, 10, 2] Generated Node #0,0: 46:[34, 10, 2] Operation: 97-95=2 Exploring Operation: 97-34=63, Resulting Numbers: [10, 95, 63] Generated Node #0,1: 46:[10, 95, 63] Operation: 97-34=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[34, 10, 2], Operations: ['97-95=2'] Exploring Operation: 34-10=24, Resulting Numbers: [2, 24] Generated Node #0,0,0: 46:[2, 24] Operation: 34-10=24 Exploring Operation: 34+10=44, Resulting Numbers: [2, 44] Generated Node #0,0,1: 46:[2, 44] Operation: 34+10=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[2, 24], Operations: ['97-95=2', '34-10=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[2, 44], Operations: ['97-95=2', '34+10=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[34, 97, 10, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [34, 10, 2] Generated Node #0,0: 46:[34, 10, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 46:[34, 10, 2], Operations: ['97-95=2'] Exploring Operation: 34+10=44, Resulting Numbers: [2, 44] Generated Node #0,0,1: 46:[2, 44] Operation: 34+10=44 Moving to Node #0,0,1 Current State: 46:[2, 44], Operations: ['97-95=2', '34+10=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.989583
hs_2
mult_heuristic
[ 3, 81, 34, 21 ]
82
[ "81/3=27", "34+21=55", "27+55=82" ]
Current State: 82:[3, 81, 34, 21], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [34, 21, 27] Generated Node #2: [34, 21, 27] from Operation: 81/3=27 Current State: 82:[34, 21, 27], Operations: ['81/3=27'] Exploring Operation: 34+21=55, Resulting Numbers: [27, 55] Generated Node #3: [27, 55] from Operation: 34+21=55 Current State: 82:[27, 55], Operations: ['81/3=27', '34+21=55'] Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[3, 81, 34, 21], Operations: [] Exploring Operation: 21-3=18, Resulting Numbers: [81, 34, 18] Generated Node #0,0: 82:[81, 34, 18] Operation: 21-3=18 Exploring Operation: 34+21=55, Resulting Numbers: [3, 81, 55] Generated Node #0,1: 82:[3, 81, 55] Operation: 34+21=55 Exploring Operation: 34-21=13, Resulting Numbers: [3, 81, 13] Generated Node #0,2: 82:[3, 81, 13] Operation: 34-21=13 Exploring Operation: 21/3=7, Resulting Numbers: [81, 34, 7] Generated Node #0,3: 82:[81, 34, 7] Operation: 21/3=7 Exploring Operation: 3+34=37, Resulting Numbers: [81, 21, 37] Generated Node #0,4: 82:[81, 21, 37] Operation: 3+34=37 Moving to Node #0,2 Current State: 82:[3, 81, 13], Operations: ['34-21=13'] Exploring Operation: 13-3=10, Resulting Numbers: [81, 10] Generated Node #0,2,0: 82:[81, 10] Operation: 13-3=10 Exploring Operation: 3*13=39, Resulting Numbers: [81, 39] Generated Node #0,2,1: 82:[81, 39] Operation: 3*13=39 Exploring Operation: 81-3=78, Resulting Numbers: [13, 78] Generated Node #0,2,2: 82:[13, 78] Operation: 81-3=78 Exploring Operation: 3+81=84, Resulting Numbers: [13, 84] Generated Node #0,2,3: 82:[13, 84] Operation: 3+81=84 Exploring Operation: 81+13=94, Resulting Numbers: [3, 94] Generated Node #0,2,4: 82:[3, 94] Operation: 81+13=94 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[81, 39], Operations: ['34-21=13', '3*13=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,82 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,82 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[81, 10], Operations: ['34-21=13', '13-3=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,82 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[13, 84], Operations: ['34-21=13', '3+81=84'] Exploring Operation: 13*84=1092, Resulting Numbers: [1092] 1092,82 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[3, 94], Operations: ['34-21=13', '81+13=94'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 3*94=282, Resulting Numbers: [282] 282,82 unequal: No Solution Exploring Operation: 3+94=97, Resulting Numbers: [97] 97,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[13, 78], Operations: ['34-21=13', '81-3=78'] Exploring Operation: 13+78=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 13*78=1014, Resulting Numbers: [1014] 1014,82 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,82 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: 82:[81, 34, 7], Operations: ['21/3=7'] Exploring Operation: 34+7=41, Resulting Numbers: [81, 41] Generated Node #0,3,0: 82:[81, 41] Operation: 34+7=41 Exploring Operation: 81-7=74, Resulting Numbers: [34, 74] Generated Node #0,3,1: 82:[34, 74] Operation: 81-7=74 Exploring Operation: 34-7=27, Resulting Numbers: [81, 27] Generated Node #0,3,2: 82:[81, 27] Operation: 34-7=27 Exploring Operation: 81+7=88, Resulting Numbers: [34, 88] Generated Node #0,3,3: 82:[34, 88] Operation: 81+7=88 Exploring Operation: 81-34=47, Resulting Numbers: [7, 47] Generated Node #0,3,4: 82:[7, 47] Operation: 81-34=47 Moving to Node #0,1 Current State: 82:[3, 81, 55], Operations: ['34+21=55'] Exploring Operation: 3+55=58, Resulting Numbers: [81, 58] Generated Node #0,1,0: 82:[81, 58] Operation: 3+55=58 Exploring Operation: 81-3=78, Resulting Numbers: [55, 78] Generated Node #0,1,1: 82:[55, 78] Operation: 81-3=78 Exploring Operation: 3+81=84, Resulting Numbers: [55, 84] Generated Node #0,1,2: 82:[55, 84] Operation: 3+81=84 Exploring Operation: 81-55=26, Resulting Numbers: [3, 26] Generated Node #0,1,3: 82:[3, 26] Operation: 81-55=26 Exploring Operation: 55-3=52, Resulting Numbers: [81, 52] Generated Node #0,1,4: 82:[81, 52] Operation: 55-3=52 Moving to Node #0,0 Current State: 82:[81, 34, 18], Operations: ['21-3=18'] Exploring Operation: 81-18=63, Resulting Numbers: [34, 63] Generated Node #0,0,0: 82:[34, 63] Operation: 81-18=63 Exploring Operation: 34+18=52, Resulting Numbers: [81, 52] Generated Node #0,0,1: 82:[81, 52] Operation: 34+18=52 Exploring Operation: 81-34=47, Resulting Numbers: [18, 47] Generated Node #0,0,2: 82:[18, 47] Operation: 81-34=47 Exploring Operation: 81+18=99, Resulting Numbers: [34, 99] Generated Node #0,0,3: 82:[34, 99] Operation: 81+18=99 Exploring Operation: 34-18=16, Resulting Numbers: [81, 16] Generated Node #0,0,4: 82:[81, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[81, 52], Operations: ['21-3=18', '34+18=52'] Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 82:[81, 16], Operations: ['21-3=18', '34-18=16'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,82 unequal: No Solution Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[18, 47], Operations: ['21-3=18', '81-34=47'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,82 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[34, 99], Operations: ['21-3=18', '81+18=99'] Exploring Operation: 34*99=3366, Resulting Numbers: [3366] 3366,82 unequal: No Solution Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 34+99=133, Resulting Numbers: [133] 133,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[34, 63], Operations: ['21-3=18', '81-18=63'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 34*63=2142, Resulting Numbers: [2142] 2142,82 unequal: No Solution Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,82 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: 82:[81, 21, 37], Operations: ['3+34=37'] Exploring Operation: 37-21=16, Resulting Numbers: [81, 16] Generated Node #0,4,0: 82:[81, 16] Operation: 37-21=16 Exploring Operation: 81+21=102, Resulting Numbers: [37, 102] Generated Node #0,4,1: 82:[37, 102] Operation: 81+21=102 Exploring Operation: 81-37=44, Resulting Numbers: [21, 44] Generated Node #0,4,2: 82:[21, 44] Operation: 81-37=44 Exploring Operation: 21+37=58, Resulting Numbers: [81, 58] Generated Node #0,4,3: 82:[81, 58] Operation: 21+37=58 Exploring Operation: 81-21=60, Resulting Numbers: [37, 60] Generated Node #0,4,4: 82:[37, 60] Operation: 81-21=60 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[81, 16], Operations: ['3+34=37', '37-21=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,82 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,82 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[81, 58], Operations: ['3+34=37', '21+37=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,82 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[21, 44], Operations: ['3+34=37', '81-37=44'] Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[37, 60], Operations: ['3+34=37', '81-21=60'] Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,82 unequal: No Solution Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[37, 102], Operations: ['3+34=37', '81+21=102'] Exploring Operation: 37*102=3774, Resulting Numbers: [3774] 3774,82 unequal: No Solution Exploring Operation: 37+102=139, Resulting Numbers: [139] 139,82 unequal: No Solution Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,82 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: 82:[81, 41], Operations: ['21/3=7', '34+7=41'] Exploring Operation: 81+41=122, Resulting Numbers: [122] 122,82 unequal: No Solution Exploring Operation: 81-41=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 81*41=3321, Resulting Numbers: [3321] 3321,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[7, 47], Operations: ['21/3=7', '81-34=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[81, 52], Operations: ['34+21=55', '55-3=52'] Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,82 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[34, 88], Operations: ['21/3=7', '81+7=88'] Exploring Operation: 34*88=2992, Resulting Numbers: [2992] 2992,82 unequal: No Solution Exploring Operation: 34+88=122, Resulting Numbers: [122] 122,82 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[81, 27], Operations: ['21/3=7', '34-7=27'] Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,82 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[34, 74], Operations: ['21/3=7', '81-7=74'] Exploring Operation: 34*74=2516, Resulting Numbers: [2516] 2516,82 unequal: No Solution Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 34+74=108, Resulting Numbers: [108] 108,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[55, 84], Operations: ['34+21=55', '3+81=84'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 55*84=4620, Resulting Numbers: [4620] 4620,82 unequal: No Solution Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[3, 26], Operations: ['34+21=55', '81-55=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[81, 58], Operations: ['34+21=55', '3+55=58'] Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,82 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[55, 78], Operations: ['34+21=55', '81-3=78'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,82 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,82 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 41, 8, 10, 12 ]
17
[ "10-8=2", "12*2=24", "41-24=17" ]
Current State: 17:[41, 8, 10, 12], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [41, 12, 2] Generated Node #2: [41, 12, 2] from Operation: 10-8=2 Current State: 17:[41, 12, 2], Operations: ['10-8=2'] Exploring Operation: 12*2=24, Resulting Numbers: [41, 24] Generated Node #3: [41, 24] from Operation: 12*2=24 Current State: 17:[41, 24], Operations: ['10-8=2', '12*2=24'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[41, 8, 10, 12], Operations: [] Exploring Operation: 41-12=29, Resulting Numbers: [8, 10, 29] Generated Node #0,0: 17:[8, 10, 29] Operation: 41-12=29 Exploring Operation: 8+10=18, Resulting Numbers: [41, 12, 18] Generated Node #0,1: 17:[41, 12, 18] Operation: 8+10=18 Exploring Operation: 41-8=33, Resulting Numbers: [10, 12, 33] Generated Node #0,2: 17:[10, 12, 33] Operation: 41-8=33 Exploring Operation: 8+12=20, Resulting Numbers: [41, 10, 20] Generated Node #0,3: 17:[41, 10, 20] Operation: 8+12=20 Exploring Operation: 41-10=31, Resulting Numbers: [8, 12, 31] Generated Node #0,4: 17:[8, 12, 31] Operation: 41-10=31 Moving to Node #0,0 Current State: 17:[8, 10, 29], Operations: ['41-12=29'] Exploring Operation: 29-8=21, Resulting Numbers: [10, 21] Generated Node #0,0,0: 17:[10, 21] Operation: 29-8=21 Exploring Operation: 29-10=19, Resulting Numbers: [8, 19] Generated Node #0,0,1: 17:[8, 19] Operation: 29-10=19 Exploring Operation: 8+29=37, Resulting Numbers: [10, 37] Generated Node #0,0,2: 17:[10, 37] Operation: 8+29=37 Exploring Operation: 10-8=2, Resulting Numbers: [29, 2] Generated Node #0,0,3: 17:[29, 2] Operation: 10-8=2 Exploring Operation: 8+10=18, Resulting Numbers: [29, 18] Generated Node #0,0,4: 17:[29, 18] Operation: 8+10=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[10, 21], Operations: ['41-12=29', '29-8=21'] Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,17 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[8, 19], Operations: ['41-12=29', '29-10=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[29, 18], Operations: ['41-12=29', '8+10=18'] Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,17 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[10, 37], Operations: ['41-12=29', '8+29=37'] Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,17 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[29, 2], Operations: ['41-12=29', '10-8=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,17 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: 17:[8, 12, 31], Operations: ['41-10=31'] Exploring Operation: 8+31=39, Resulting Numbers: [12, 39] Generated Node #0,4,0: 17:[12, 39] Operation: 8+31=39 Exploring Operation: 8+12=20, Resulting Numbers: [31, 20] Generated Node #0,4,1: 17:[31, 20] Operation: 8+12=20 Exploring Operation: 12-8=4, Resulting Numbers: [31, 4] Generated Node #0,4,2: 17:[31, 4] Operation: 12-8=4 Exploring Operation: 31-12=19, Resulting Numbers: [8, 19] Generated Node #0,4,3: 17:[8, 19] Operation: 31-12=19 Exploring Operation: 31-8=23, Resulting Numbers: [12, 23] Generated Node #0,4,4: 17:[12, 23] Operation: 31-8=23 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 17:[8, 19], Operations: ['41-10=31', '31-12=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,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,4,4 Current State: 17:[12, 23], Operations: ['41-10=31', '31-8=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,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,4,1 Current State: 17:[31, 20], Operations: ['41-10=31', '8+12=20'] Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,17 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,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,4,0 Current State: 17:[12, 39], Operations: ['41-10=31', '8+31=39'] Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,17 unequal: No Solution Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,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,4,2 Current State: 17:[31, 4], Operations: ['41-10=31', '12-8=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,17 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,17 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: 17:[10, 12, 33], Operations: ['41-8=33'] Exploring Operation: 33-10=23, Resulting Numbers: [12, 23] Generated Node #0,2,0: 17:[12, 23] Operation: 33-10=23 Exploring Operation: 10+12=22, Resulting Numbers: [33, 22] Generated Node #0,2,1: 17:[33, 22] Operation: 10+12=22 Exploring Operation: 12-10=2, Resulting Numbers: [33, 2] Generated Node #0,2,2: 17:[33, 2] Operation: 12-10=2 Exploring Operation: 33-12=21, Resulting Numbers: [10, 21] Generated Node #0,2,3: 17:[10, 21] Operation: 33-12=21 Exploring Operation: 10+33=43, Resulting Numbers: [12, 43] Generated Node #0,2,4: 17:[12, 43] Operation: 10+33=43 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[12, 23], Operations: ['41-8=33', '33-10=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,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,2,3 Current State: 17:[10, 21], Operations: ['41-8=33', '33-12=21'] Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,17 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,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,2,1 Current State: 17:[33, 22], Operations: ['41-8=33', '10+12=22'] Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,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,2,2 Current State: 17:[33, 2], Operations: ['41-8=33', '12-10=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,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,2,4 Current State: 17:[12, 43], Operations: ['41-8=33', '10+33=43'] Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,17 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,17 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: 17:[41, 12, 18], Operations: ['8+10=18'] Exploring Operation: 41+12=53, Resulting Numbers: [18, 53] Generated Node #0,1,0: 17:[18, 53] Operation: 41+12=53 Exploring Operation: 41-18=23, Resulting Numbers: [12, 23] Generated Node #0,1,1: 17:[12, 23] Operation: 41-18=23 Exploring Operation: 41-12=29, Resulting Numbers: [18, 29] Generated Node #0,1,2: 17:[18, 29] Operation: 41-12=29 Exploring Operation: 18-12=6, Resulting Numbers: [41, 6] Generated Node #0,1,3: 17:[41, 6] Operation: 18-12=6 Exploring Operation: 12+18=30, Resulting Numbers: [41, 30] Generated Node #0,1,4: 17:[41, 30] Operation: 12+18=30 Moving to Node #0,3 Current State: 17:[41, 10, 20], Operations: ['8+12=20'] Exploring Operation: 41+10=51, Resulting Numbers: [20, 51] Generated Node #0,3,0: 17:[20, 51] Operation: 41+10=51 Exploring Operation: 20-10=10, Resulting Numbers: [41, 10] Generated Node #0,3,1: 17:[41, 10] Operation: 20-10=10 Exploring Operation: 10+20=30, Resulting Numbers: [41, 30] Generated Node #0,3,2: 17:[41, 30] Operation: 10+20=30 Exploring Operation: 41-10=31, Resulting Numbers: [20, 31] Generated Node #0,3,3: 17:[20, 31] Operation: 41-10=31 Exploring Operation: 41-20=21, Resulting Numbers: [10, 21] Generated Node #0,3,4: 17:[10, 21] Operation: 41-20=21 Moving to Node #0,1,1 Current State: 17:[12, 23], Operations: ['8+10=18', '41-18=23'] Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,17 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[10, 21], Operations: ['8+12=20', '41-20=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,17 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[18, 29], Operations: ['8+10=18', '41-12=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[20, 31], Operations: ['8+12=20', '41-10=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[41, 10], Operations: ['8+12=20', '20-10=10'] Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,17 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[41, 6], Operations: ['8+10=18', '18-12=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,17 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[20, 51], Operations: ['8+12=20', '41+10=51'] Exploring Operation: 20*51=1020, Resulting Numbers: [1020] 1020,17 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[41, 30], Operations: ['8+12=20', '10+20=30'] Exploring Operation: 41*30=1230, Resulting Numbers: [1230] 1230,17 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 41+30=71, Resulting Numbers: [71] 71,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[41, 30], Operations: ['8+10=18', '12+18=30'] Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 41*30=1230, Resulting Numbers: [1230] 1230,17 unequal: No Solution Exploring Operation: 41+30=71, Resulting Numbers: [71] 71,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[18, 53], Operations: ['8+10=18', '41+12=53'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,17 unequal: No Solution Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,17 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 62, 23, 36, 15 ]
31
[ "36-23=13", "15-13=2", "62/2=31" ]
Current State: 31:[62, 23, 36, 15], Operations: [] Exploring Operation: 36-23=13, Resulting Numbers: [62, 15, 13] Generated Node #2: [62, 15, 13] from Operation: 36-23=13 Current State: 31:[62, 15, 13], Operations: ['36-23=13'] Exploring Operation: 15-13=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 15-13=2 Current State: 31:[62, 2], Operations: ['36-23=13', '15-13=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[62, 23, 36, 15], Operations: [] Exploring Operation: 62-36=26, Resulting Numbers: [23, 15, 26] Generated Node #0,0: 31:[23, 15, 26] Operation: 62-36=26 Exploring Operation: 36-15=21, Resulting Numbers: [62, 23, 21] Generated Node #0,1: 31:[62, 23, 21] Operation: 36-15=21 Exploring Operation: 62-23=39, Resulting Numbers: [36, 15, 39] Generated Node #0,2: 31:[36, 15, 39] Operation: 62-23=39 Exploring Operation: 23+15=38, Resulting Numbers: [62, 36, 38] Generated Node #0,3: 31:[62, 36, 38] Operation: 23+15=38 Exploring Operation: 62-15=47, Resulting Numbers: [23, 36, 47] Generated Node #0,4: 31:[23, 36, 47] Operation: 62-15=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[23, 15, 26], Operations: ['62-36=26'] Exploring Operation: 23+15=38, Resulting Numbers: [26, 38] Generated Node #0,0,0: 31:[26, 38] Operation: 23+15=38 Exploring Operation: 15+26=41, Resulting Numbers: [23, 41] Generated Node #0,0,1: 31:[23, 41] Operation: 15+26=41 Exploring Operation: 23+26=49, Resulting Numbers: [15, 49] Generated Node #0,0,2: 31:[15, 49] Operation: 23+26=49 Exploring Operation: 23-15=8, Resulting Numbers: [26, 8] Generated Node #0,0,3: 31:[26, 8] Operation: 23-15=8 Exploring Operation: 26-15=11, Resulting Numbers: [23, 11] Generated Node #0,0,4: 31:[23, 11] Operation: 26-15=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[26, 38], Operations: ['62-36=26', '23+15=38'] Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,31 unequal: No Solution Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,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,0,1 Current State: 31:[23, 41], Operations: ['62-36=26', '15+26=41'] Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,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,0,3 Current State: 31:[26, 8], Operations: ['62-36=26', '23-15=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,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,0,4 Current State: 31:[23, 11], Operations: ['62-36=26', '26-15=11'] Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,31 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,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,0,2 Current State: 31:[15, 49], Operations: ['62-36=26', '23+26=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,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:[36, 15, 39], Operations: ['62-23=39'] Exploring Operation: 36+15=51, Resulting Numbers: [39, 51] Generated Node #0,2,0: 31:[39, 51] Operation: 36+15=51 Exploring Operation: 36-15=21, Resulting Numbers: [39, 21] Generated Node #0,2,1: 31:[39, 21] Operation: 36-15=21 Exploring Operation: 39-15=24, Resulting Numbers: [36, 24] Generated Node #0,2,2: 31:[36, 24] Operation: 39-15=24 Exploring Operation: 39-36=3, Resulting Numbers: [15, 3] Generated Node #0,2,3: 31:[15, 3] Operation: 39-36=3 Exploring Operation: 15+39=54, Resulting Numbers: [36, 54] Generated Node #0,2,4: 31:[36, 54] Operation: 15+39=54 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[36, 24], Operations: ['62-23=39', '39-15=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,31 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,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:[39, 21], Operations: ['62-23=39', '36-15=21'] Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,31 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,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,0 Current State: 31:[39, 51], Operations: ['62-23=39', '36+15=51'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,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,4 Current State: 31:[36, 54], Operations: ['62-23=39', '15+39=54'] Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 36*54=1944, Resulting Numbers: [1944] 1944,31 unequal: No Solution Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,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,3 Current State: 31:[15, 3], Operations: ['62-23=39', '39-36=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,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,4 Current State: 31:[23, 36, 47], Operations: ['62-15=47'] Exploring Operation: 47-23=24, Resulting Numbers: [36, 24] Generated Node #0,4,0: 31:[36, 24] Operation: 47-23=24 Exploring Operation: 47-36=11, Resulting Numbers: [23, 11] Generated Node #0,4,1: 31:[23, 11] Operation: 47-36=11 Exploring Operation: 23+47=70, Resulting Numbers: [36, 70] Generated Node #0,4,2: 31:[36, 70] Operation: 23+47=70 Exploring Operation: 23+36=59, Resulting Numbers: [47, 59] Generated Node #0,4,3: 31:[47, 59] Operation: 23+36=59 Exploring Operation: 36-23=13, Resulting Numbers: [47, 13] Generated Node #0,4,4: 31:[47, 13] Operation: 36-23=13 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[36, 24], Operations: ['62-15=47', '47-23=24'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,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,4,1 Current State: 31:[23, 11], Operations: ['62-15=47', '47-36=11'] Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,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,4,4 Current State: 31:[47, 13], Operations: ['62-15=47', '36-23=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,31 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,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,4,2 Current State: 31:[36, 70], Operations: ['62-15=47', '23+47=70'] Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,31 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,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,4,3 Current State: 31:[47, 59], Operations: ['62-15=47', '23+36=59'] Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,31 unequal: No Solution Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,31 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,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,3 Current State: 31:[62, 36, 38], Operations: ['23+15=38'] Exploring Operation: 62+38=100, Resulting Numbers: [36, 100] Generated Node #0,3,0: 31:[36, 100] Operation: 62+38=100 Exploring Operation: 62+36=98, Resulting Numbers: [38, 98] Generated Node #0,3,1: 31:[38, 98] Operation: 62+36=98 Exploring Operation: 62-36=26, Resulting Numbers: [38, 26] Generated Node #0,3,2: 31:[38, 26] Operation: 62-36=26 Exploring Operation: 38-36=2, Resulting Numbers: [62, 2] Generated Node #0,3,3: 31:[62, 2] Operation: 38-36=2 Exploring Operation: 62-38=24, Resulting Numbers: [36, 24] Generated Node #0,3,4: 31:[36, 24] Operation: 62-38=24 Moving to Node #0,3,2 Current State: 31:[38, 26], Operations: ['23+15=38', '62-36=26'] Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[36, 24], Operations: ['23+15=38', '62-38=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[62, 2], Operations: ['23+15=38', '38-36=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,31 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[62, 23, 36, 15], Operations: [] Exploring Operation: 23+15=38, Resulting Numbers: [62, 36, 38] Generated Node #0,3: 31:[62, 36, 38] Operation: 23+15=38 Moving to Node #0,3 Current State: 31:[62, 36, 38], Operations: ['23+15=38'] Exploring Operation: 38-36=2, Resulting Numbers: [62, 2] Generated Node #0,3,3: 31:[62, 2] Operation: 38-36=2 Moving to Node #0,3,3 Current State: 31:[62, 2], Operations: ['23+15=38', '38-36=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.926215
hs_5
mult_heuristic
[ 4, 83, 13, 68 ]
87
[ "4+13=17", "68/17=4", "83+4=87" ]
Current State: 87:[4, 83, 13, 68], Operations: [] Exploring Operation: 4+13=17, Resulting Numbers: [83, 68, 17] Generated Node #2: [83, 68, 17] from Operation: 4+13=17 Current State: 87:[83, 68, 17], Operations: ['4+13=17'] Exploring Operation: 68/17=4, Resulting Numbers: [83, 4] Generated Node #3: [83, 4] from Operation: 68/17=4 Current State: 87:[83, 4], Operations: ['4+13=17', '68/17=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[4, 83, 13, 68], Operations: [] Exploring Operation: 13-4=9, Resulting Numbers: [83, 68, 9] Generated Node #0,0: 87:[83, 68, 9] Operation: 13-4=9 Exploring Operation: 83-68=15, Resulting Numbers: [4, 13, 15] Generated Node #0,1: 87:[4, 13, 15] Operation: 83-68=15 Exploring Operation: 68/4=17, Resulting Numbers: [83, 13, 17] Generated Node #0,2: 87:[83, 13, 17] Operation: 68/4=17 Exploring Operation: 4+83=87, Resulting Numbers: [13, 68, 87] Generated Node #0,3: 87:[13, 68, 87] Operation: 4+83=87 Exploring Operation: 13+68=81, Resulting Numbers: [4, 83, 81] Generated Node #0,4: 87:[4, 83, 81] Operation: 13+68=81 Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[4, 83, 81], Operations: ['13+68=81'] Exploring Operation: 83-81=2, Resulting Numbers: [4, 2] Generated Node #0,4,0: 87:[4, 2] Operation: 83-81=2 Exploring Operation: 4+81=85, Resulting Numbers: [83, 85] Generated Node #0,4,1: 87:[83, 85] Operation: 4+81=85 Exploring Operation: 83-4=79, Resulting Numbers: [81, 79] Generated Node #0,4,2: 87:[81, 79] Operation: 83-4=79 Exploring Operation: 81-4=77, Resulting Numbers: [83, 77] Generated Node #0,4,3: 87:[83, 77] Operation: 81-4=77 Exploring Operation: 4+83=87, Resulting Numbers: [81, 87] Generated Node #0,4,4: 87:[81, 87] Operation: 4+83=87 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 87:[4, 2], Operations: ['13+68=81', '83-81=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,87 unequal: No Solution No 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: 87:[83, 85], Operations: ['13+68=81', '4+81=85'] Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,87 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 83*85=7055, Resulting Numbers: [7055] 7055,87 unequal: No Solution No 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: 87:[81, 87], Operations: ['13+68=81', '4+83=87'] Exploring Operation: 87-81=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 81+87=168, Resulting Numbers: [168] 168,87 unequal: No Solution Exploring Operation: 81*87=7047, Resulting Numbers: [7047] 7047,87 unequal: No Solution No 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: 87:[81, 79], Operations: ['13+68=81', '83-4=79'] Exploring Operation: 81+79=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 81*79=6399, Resulting Numbers: [6399] 6399,87 unequal: No Solution No 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: 87:[83, 77], Operations: ['13+68=81', '81-4=77'] Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 83*77=6391, Resulting Numbers: [6391] 6391,87 unequal: No Solution Exploring Operation: 83+77=160, Resulting Numbers: [160] 160,87 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: 87:[4, 13, 15], Operations: ['83-68=15'] Exploring Operation: 15-4=11, Resulting Numbers: [13, 11] Generated Node #0,1,0: 87:[13, 11] Operation: 15-4=11 Exploring Operation: 4+15=19, Resulting Numbers: [13, 19] Generated Node #0,1,1: 87:[13, 19] Operation: 4+15=19 Exploring Operation: 13+15=28, Resulting Numbers: [4, 28] Generated Node #0,1,2: 87:[4, 28] Operation: 13+15=28 Exploring Operation: 13-4=9, Resulting Numbers: [15, 9] Generated Node #0,1,3: 87:[15, 9] Operation: 13-4=9 Exploring Operation: 15-13=2, Resulting Numbers: [4, 2] Generated Node #0,1,4: 87:[4, 2] Operation: 15-13=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[4, 28], Operations: ['83-68=15', '13+15=28'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,87 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,87 unequal: No Solution No 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: 87:[4, 2], Operations: ['83-68=15', '15-13=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,87 unequal: No Solution No 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: 87:[13, 11], Operations: ['83-68=15', '15-4=11'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,87 unequal: No Solution No 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: 87:[15, 9], Operations: ['83-68=15', '13-4=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,87 unequal: No Solution No 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: 87:[13, 19], Operations: ['83-68=15', '4+15=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,87 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,87 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: 87:[83, 13, 17], Operations: ['68/4=17'] Exploring Operation: 13+17=30, Resulting Numbers: [83, 30] Generated Node #0,2,0: 87:[83, 30] Operation: 13+17=30 Exploring Operation: 83+13=96, Resulting Numbers: [17, 96] Generated Node #0,2,1: 87:[17, 96] Operation: 83+13=96 Exploring Operation: 17-13=4, Resulting Numbers: [83, 4] Generated Node #0,2,2: 87:[83, 4] Operation: 17-13=4 Exploring Operation: 83-13=70, Resulting Numbers: [17, 70] Generated Node #0,2,3: 87:[17, 70] Operation: 83-13=70 Exploring Operation: 83+17=100, Resulting Numbers: [13, 100] Generated Node #0,2,4: 87:[13, 100] Operation: 83+17=100 Moving to Node #0,2,0 Current State: 87:[83, 30], Operations: ['68/4=17', '13+17=30'] Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,87 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[83, 4], Operations: ['68/4=17', '17-13=4'] Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,87 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[4, 83, 13, 68], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [83, 13, 17] Generated Node #0,2: 87:[83, 13, 17] Operation: 68/4=17 Moving to Node #0,2 Current State: 87:[83, 13, 17], Operations: ['68/4=17'] Exploring Operation: 17-13=4, Resulting Numbers: [83, 4] Generated Node #0,2,2: 87:[83, 4] Operation: 17-13=4 Moving to Node #0,2,2 Current State: 87:[83, 4], Operations: ['68/4=17', '17-13=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
mult_heuristic
[ 81, 25, 17, 18 ]
36
[ "25-17=8", "81*8=648", "648/18=36" ]
Current State: 36:[81, 25, 17, 18], Operations: [] Exploring Operation: 25-17=8, Resulting Numbers: [81, 18, 8] Generated Node #2: [81, 18, 8] from Operation: 25-17=8 Current State: 36:[81, 18, 8], Operations: ['25-17=8'] Exploring Operation: 81*8=648, Resulting Numbers: [18, 648] Generated Node #3: [18, 648] from Operation: 81*8=648 Current State: 36:[18, 648], Operations: ['25-17=8', '81*8=648'] Exploring Operation: 648/18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[81, 25, 17, 18], Operations: [] Exploring Operation: 81-18=63, Resulting Numbers: [25, 17, 63] Generated Node #0,0: 36:[25, 17, 63] Operation: 81-18=63 Exploring Operation: 25-17=8, Resulting Numbers: [81, 18, 8] Generated Node #0,1: 36:[81, 18, 8] Operation: 25-17=8 Exploring Operation: 25-18=7, Resulting Numbers: [81, 17, 7] Generated Node #0,2: 36:[81, 17, 7] Operation: 25-18=7 Exploring Operation: 81-17=64, Resulting Numbers: [25, 18, 64] Generated Node #0,3: 36:[25, 18, 64] Operation: 81-17=64 Exploring Operation: 81-25=56, Resulting Numbers: [17, 18, 56] Generated Node #0,4: 36:[17, 18, 56] Operation: 81-25=56 Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[17, 18, 56], Operations: ['81-25=56'] Exploring Operation: 56-18=38, Resulting Numbers: [17, 38] Generated Node #0,4,0: 36:[17, 38] Operation: 56-18=38 Exploring Operation: 17+56=73, Resulting Numbers: [18, 73] Generated Node #0,4,1: 36:[18, 73] Operation: 17+56=73 Exploring Operation: 56-17=39, Resulting Numbers: [18, 39] Generated Node #0,4,2: 36:[18, 39] Operation: 56-17=39 Exploring Operation: 17+18=35, Resulting Numbers: [56, 35] Generated Node #0,4,3: 36:[56, 35] Operation: 17+18=35 Exploring Operation: 18-17=1, Resulting Numbers: [56, 1] Generated Node #0,4,4: 36:[56, 1] Operation: 18-17=1 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 36:[17, 38], Operations: ['81-25=56', '56-18=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,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,4,2 Current State: 36:[18, 39], Operations: ['81-25=56', '56-17=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,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,4,3 Current State: 36:[56, 35], Operations: ['81-25=56', '17+18=35'] Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,36 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,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,4,4 Current State: 36:[56, 1], Operations: ['81-25=56', '18-17=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,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,4,1 Current State: 36:[18, 73], Operations: ['81-25=56', '17+56=73'] Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,36 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,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:[25, 17, 63], Operations: ['81-18=63'] Exploring Operation: 25-17=8, Resulting Numbers: [63, 8] Generated Node #0,0,0: 36:[63, 8] Operation: 25-17=8 Exploring Operation: 63-25=38, Resulting Numbers: [17, 38] Generated Node #0,0,1: 36:[17, 38] Operation: 63-25=38 Exploring Operation: 63-17=46, Resulting Numbers: [25, 46] Generated Node #0,0,2: 36:[25, 46] Operation: 63-17=46 Exploring Operation: 25+17=42, Resulting Numbers: [63, 42] Generated Node #0,0,3: 36:[63, 42] Operation: 25+17=42 Exploring Operation: 17+63=80, Resulting Numbers: [25, 80] Generated Node #0,0,4: 36:[25, 80] Operation: 17+63=80 Moving to Node #0,0,1 Current State: 36:[17, 38], Operations: ['81-18=63', '63-25=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,36 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[25, 46], Operations: ['81-18=63', '63-17=46'] Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,36 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[63, 8], Operations: ['81-18=63', '25-17=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[63, 42], Operations: ['81-18=63', '25+17=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,36 unequal: No Solution Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[25, 80], Operations: ['81-18=63', '17+63=80'] Exploring Operation: 25*80=2000, Resulting Numbers: [2000] 2000,36 unequal: No Solution Exploring Operation: 25+80=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,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,3 Current State: 36:[25, 18, 64], Operations: ['81-17=64'] Exploring Operation: 25-18=7, Resulting Numbers: [64, 7] Generated Node #0,3,0: 36:[64, 7] Operation: 25-18=7 Exploring Operation: 64-18=46, Resulting Numbers: [25, 46] Generated Node #0,3,1: 36:[25, 46] Operation: 64-18=46 Exploring Operation: 25+18=43, Resulting Numbers: [64, 43] Generated Node #0,3,2: 36:[64, 43] Operation: 25+18=43 Exploring Operation: 64-25=39, Resulting Numbers: [18, 39] Generated Node #0,3,3: 36:[18, 39] Operation: 64-25=39 Exploring Operation: 25+64=89, Resulting Numbers: [18, 89] Generated Node #0,3,4: 36:[18, 89] Operation: 25+64=89 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 36:[18, 39], Operations: ['81-17=64', '64-25=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,36 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,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,3,1 Current State: 36:[25, 46], Operations: ['81-17=64', '64-18=46'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,36 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,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,3,0 Current State: 36:[64, 7], Operations: ['81-17=64', '25-18=7'] Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,36 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,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,3,2 Current State: 36:[64, 43], Operations: ['81-17=64', '25+18=43'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,36 unequal: No Solution Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,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,3,4 Current State: 36:[18, 89], Operations: ['81-17=64', '25+64=89'] Exploring Operation: 18+89=107, Resulting Numbers: [107] 107,36 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 18*89=1602, Resulting Numbers: [1602] 1602,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,1 Current State: 36:[81, 18, 8], Operations: ['25-17=8'] Exploring Operation: 18+8=26, Resulting Numbers: [81, 26] Generated Node #0,1,0: 36:[81, 26] Operation: 18+8=26 Exploring Operation: 81-18=63, Resulting Numbers: [8, 63] Generated Node #0,1,1: 36:[8, 63] Operation: 81-18=63 Exploring Operation: 18-8=10, Resulting Numbers: [81, 10] Generated Node #0,1,2: 36:[81, 10] Operation: 18-8=10 Exploring Operation: 81+8=89, Resulting Numbers: [18, 89] Generated Node #0,1,3: 36:[18, 89] Operation: 81+8=89 Exploring Operation: 81-8=73, Resulting Numbers: [18, 73] Generated Node #0,1,4: 36:[18, 73] Operation: 81-8=73 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[8, 63], Operations: ['25-17=8', '81-18=63'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,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,1,4 Current State: 36:[18, 73], Operations: ['25-17=8', '81-8=73'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,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,1,2 Current State: 36:[81, 10], Operations: ['25-17=8', '18-8=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,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,1,0 Current State: 36:[81, 26], Operations: ['25-17=8', '18+8=26'] Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,36 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,36 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,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,1,3 Current State: 36:[18, 89], Operations: ['25-17=8', '81+8=89'] Exploring Operation: 18+89=107, Resulting Numbers: [107] 107,36 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 18*89=1602, Resulting Numbers: [1602] 1602,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,2 Current State: 36:[81, 17, 7], Operations: ['25-18=7'] Exploring Operation: 81+7=88, Resulting Numbers: [17, 88] Generated Node #0,2,0: 36:[17, 88] Operation: 81+7=88 Exploring Operation: 81-7=74, Resulting Numbers: [17, 74] Generated Node #0,2,1: 36:[17, 74] Operation: 81-7=74 Exploring Operation: 17-7=10, Resulting Numbers: [81, 10] Generated Node #0,2,2: 36:[81, 10] Operation: 17-7=10 Exploring Operation: 81-17=64, Resulting Numbers: [7, 64] Generated Node #0,2,3: 36:[7, 64] Operation: 81-17=64 Exploring Operation: 17+7=24, Resulting Numbers: [81, 24] Generated Node #0,2,4: 36:[81, 24] Operation: 17+7=24 Moving to Node #0,2,3 Current State: 36:[7, 64], Operations: ['25-18=7', '81-17=64'] Exploring Operation: 7*64=448, Resulting Numbers: [448] 448,36 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[17, 74], Operations: ['25-18=7', '81-7=74'] Exploring Operation: 17*74=1258, Resulting Numbers: [1258] 1258,36 unequal: No Solution Exploring Operation: 17+74=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[81, 10], Operations: ['25-18=7', '17-7=10'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[81, 24], Operations: ['25-18=7', '17+7=24'] Exploring Operation: 81*24=1944, Resulting Numbers: [1944] 1944,36 unequal: No Solution Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 81+24=105, Resulting Numbers: [105] 105,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[17, 88], Operations: ['25-18=7', '81+7=88'] Exploring Operation: 17*88=1496, Resulting Numbers: [1496] 1496,36 unequal: No Solution Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 17+88=105, Resulting Numbers: [105] 105,36 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
[ 2, 5, 41, 75 ]
58
[ "2+41=43", "75/5=15", "43+15=58" ]
Current State: 58:[2, 5, 41, 75], Operations: [] Exploring Operation: 2+41=43, Resulting Numbers: [5, 75, 43] Generated Node #2: [5, 75, 43] from Operation: 2+41=43 Current State: 58:[5, 75, 43], Operations: ['2+41=43'] Exploring Operation: 75/5=15, Resulting Numbers: [43, 15] Generated Node #3: [43, 15] from Operation: 75/5=15 Current State: 58:[43, 15], Operations: ['2+41=43', '75/5=15'] Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[2, 5, 41, 75], Operations: [] Exploring Operation: 41-5=36, Resulting Numbers: [2, 75, 36] Generated Node #0,0: 58:[2, 75, 36] Operation: 41-5=36 Exploring Operation: 75-41=34, Resulting Numbers: [2, 5, 34] Generated Node #0,1: 58:[2, 5, 34] Operation: 75-41=34 Moving to Node #0,1 Current State: 58:[2, 5, 34], Operations: ['75-41=34'] Exploring Operation: 34-5=29, Resulting Numbers: [2, 29] Generated Node #0,1,0: 58:[2, 29] Operation: 34-5=29 Exploring Operation: 5-2=3, Resulting Numbers: [34, 3] Generated Node #0,1,1: 58:[34, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[2, 29], Operations: ['75-41=34', '34-5=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[2, 5, 41, 75], Operations: [] Exploring Operation: 75-41=34, Resulting Numbers: [2, 5, 34] Generated Node #0,1: 58:[2, 5, 34] Operation: 75-41=34 Moving to Node #0,1 Current State: 58:[2, 5, 34], Operations: ['75-41=34'] Exploring Operation: 34-5=29, Resulting Numbers: [2, 29] Generated Node #0,1,0: 58:[2, 29] Operation: 34-5=29 Moving to Node #0,1,0 Current State: 58:[2, 29], Operations: ['75-41=34', '34-5=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 60, 30, 4, 92 ]
67
[ "60+30=90", "92/4=23", "90-23=67" ]
Current State: 67:[60, 30, 4, 92], Operations: [] Exploring Operation: 60+30=90, Resulting Numbers: [4, 92, 90] Generated Node #2: [4, 92, 90] from Operation: 60+30=90 Current State: 67:[4, 92, 90], Operations: ['60+30=90'] Exploring Operation: 92/4=23, Resulting Numbers: [90, 23] Generated Node #3: [90, 23] from Operation: 92/4=23 Current State: 67:[90, 23], Operations: ['60+30=90', '92/4=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[60, 30, 4, 92], Operations: [] Exploring Operation: 60-4=56, Resulting Numbers: [30, 92, 56] Generated Node #0,0: 67:[30, 92, 56] Operation: 60-4=56 Exploring Operation: 30+4=34, Resulting Numbers: [60, 92, 34] Generated Node #0,1: 67:[60, 92, 34] Operation: 30+4=34 Exploring Operation: 92-4=88, Resulting Numbers: [60, 30, 88] Generated Node #0,2: 67:[60, 30, 88] Operation: 92-4=88 Exploring Operation: 60+4=64, Resulting Numbers: [30, 92, 64] Generated Node #0,3: 67:[30, 92, 64] Operation: 60+4=64 Moving to Node #0,1 Current State: 67:[60, 92, 34], Operations: ['30+4=34'] Exploring Operation: 92-34=58, Resulting Numbers: [60, 58] Generated Node #0,1,0: 67:[60, 58] Operation: 92-34=58 Exploring Operation: 60+34=94, Resulting Numbers: [92, 94] Generated Node #0,1,1: 67:[92, 94] Operation: 60+34=94 Exploring Operation: 92+34=126, Resulting Numbers: [60, 126] Generated Node #0,1,2: 67:[60, 126] Operation: 92+34=126 Exploring Operation: 60-34=26, Resulting Numbers: [92, 26] Generated Node #0,1,3: 67:[92, 26] Operation: 60-34=26 Moving to Node #0,3 Current State: 67:[30, 92, 64], Operations: ['60+4=64'] Exploring Operation: 64-30=34, Resulting Numbers: [92, 34] Generated Node #0,3,0: 67:[92, 34] Operation: 64-30=34 Exploring Operation: 30+64=94, Resulting Numbers: [92, 94] Generated Node #0,3,1: 67:[92, 94] Operation: 30+64=94 Exploring Operation: 92-30=62, Resulting Numbers: [64, 62] Generated Node #0,3,2: 67:[64, 62] Operation: 92-30=62 Exploring Operation: 30+92=122, Resulting Numbers: [64, 122] Generated Node #0,3,3: 67:[64, 122] Operation: 30+92=122 Moving to Node #0,2 Current State: 67:[60, 30, 88], Operations: ['92-4=88'] Exploring Operation: 60-30=30, Resulting Numbers: [88, 30] Generated Node #0,2,0: 67:[88, 30] Operation: 60-30=30 Exploring Operation: 60+30=90, Resulting Numbers: [88, 90] Generated Node #0,2,1: 67:[88, 90] Operation: 60+30=90 Exploring Operation: 88-30=58, Resulting Numbers: [60, 58] Generated Node #0,2,2: 67:[60, 58] Operation: 88-30=58 Exploring Operation: 30+88=118, Resulting Numbers: [60, 118] Generated Node #0,2,3: 67:[60, 118] Operation: 30+88=118 Moving to Node #0,0 Current State: 67:[30, 92, 56], Operations: ['60-4=56'] Exploring Operation: 92-30=62, Resulting Numbers: [56, 62] Generated Node #0,0,0: 67:[56, 62] Operation: 92-30=62 Exploring Operation: 30+92=122, Resulting Numbers: [56, 122] Generated Node #0,0,1: 67:[56, 122] Operation: 30+92=122 Exploring Operation: 56-30=26, Resulting Numbers: [92, 26] Generated Node #0,0,2: 67:[92, 26] Operation: 56-30=26 Exploring Operation: 30+56=86, Resulting Numbers: [92, 86] Generated Node #0,0,3: 67:[92, 86] Operation: 30+56=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[56, 62], Operations: ['60-4=56', '92-30=62'] Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,67 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,67 unequal: No Solution No 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: 67:[92, 86], Operations: ['60-4=56', '30+56=86'] Exploring Operation: 92+86=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 92*86=7912, Resulting Numbers: [7912] 7912,67 unequal: No Solution Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,67 unequal: No Solution No 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: 67:[56, 122], Operations: ['60-4=56', '30+92=122'] Exploring Operation: 56+122=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 122-56=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 56*122=6832, Resulting Numbers: [6832] 6832,67 unequal: No Solution No 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: 67:[92, 26], Operations: ['60-4=56', '56-30=26'] Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,67 unequal: No Solution Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,67 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: 67:[64, 62], Operations: ['60+4=64', '92-30=62'] Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,67 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[60, 58], Operations: ['30+4=34', '92-34=58'] Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 60+58=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 60*58=3480, Resulting Numbers: [3480] 3480,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[60, 58], Operations: ['92-4=88', '88-30=58'] Exploring Operation: 60*58=3480, Resulting Numbers: [3480] 3480,67 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 60+58=118, Resulting Numbers: [118] 118,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[88, 90], Operations: ['92-4=88', '60+30=90'] Exploring Operation: 88+90=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 88*90=7920, Resulting Numbers: [7920] 7920,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[92, 94], Operations: ['60+4=64', '30+64=94'] Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,67 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,67 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[92, 94], Operations: ['30+4=34', '60+34=94'] Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,67 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[92, 34], Operations: ['60+4=64', '64-30=34'] Exploring Operation: 92+34=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 92*34=3128, Resulting Numbers: [3128] 3128,67 unequal: No Solution Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[60, 118], Operations: ['92-4=88', '30+88=118'] Exploring Operation: 60+118=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 118-60=58, Resulting Numbers: [58] 58,67 unequal: No Solution Exploring Operation: 60*118=7080, Resulting Numbers: [7080] 7080,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[88, 30], Operations: ['92-4=88', '60-30=30'] Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,67 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,67 unequal: No Solution Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[64, 122], Operations: ['60+4=64', '30+92=122'] Exploring Operation: 64+122=186, Resulting Numbers: [186] 186,67 unequal: No Solution Exploring Operation: 64*122=7808, Resulting Numbers: [7808] 7808,67 unequal: No Solution Exploring Operation: 122-64=58, Resulting Numbers: [58] 58,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[92, 26], Operations: ['30+4=34', '60-34=26'] Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[60, 126], Operations: ['30+4=34', '92+34=126'] Exploring Operation: 126-60=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 60+126=186, Resulting Numbers: [186] 186,67 unequal: No Solution Exploring Operation: 60*126=7560, Resulting Numbers: [7560] 7560,67 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 35, 89, 27, 4 ]
93
[ "35+89=124", "27+4=31", "124-31=93" ]
Current State: 93:[35, 89, 27, 4], Operations: [] Exploring Operation: 35+89=124, Resulting Numbers: [27, 4, 124] Generated Node #2: [27, 4, 124] from Operation: 35+89=124 Current State: 93:[27, 4, 124], Operations: ['35+89=124'] Exploring Operation: 27+4=31, Resulting Numbers: [124, 31] Generated Node #3: [124, 31] from Operation: 27+4=31 Current State: 93:[124, 31], Operations: ['35+89=124', '27+4=31'] Exploring Operation: 124-31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[35, 89, 27, 4], Operations: [] Exploring Operation: 89+4=93, Resulting Numbers: [35, 27, 93] Generated Node #0,0: 93:[35, 27, 93] Operation: 89+4=93 Exploring Operation: 27+4=31, Resulting Numbers: [35, 89, 31] Generated Node #0,1: 93:[35, 89, 31] Operation: 27+4=31 Exploring Operation: 35-4=31, Resulting Numbers: [89, 27, 31] Generated Node #0,2: 93:[89, 27, 31] Operation: 35-4=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[35, 27, 93], Operations: ['89+4=93'] Exploring Operation: 93-35=58, Resulting Numbers: [27, 58] Generated Node #0,0,0: 93:[27, 58] Operation: 93-35=58 Exploring Operation: 35-27=8, Resulting Numbers: [93, 8] Generated Node #0,0,1: 93:[93, 8] Operation: 35-27=8 Exploring Operation: 35+27=62, Resulting Numbers: [93, 62] Generated Node #0,0,2: 93:[93, 62] Operation: 35+27=62 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[93, 8], Operations: ['89+4=93', '35-27=8'] Exploring Operation: 93*8=744, Resulting Numbers: [744] 744,93 unequal: No Solution Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,93 unequal: No Solution No 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: 93:[27, 58], Operations: ['89+4=93', '93-35=58'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,93 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,93 unequal: No Solution No 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: 93:[93, 62], Operations: ['89+4=93', '35+27=62'] Exploring Operation: 93-62=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 93+62=155, Resulting Numbers: [155] 155,93 unequal: No Solution Exploring Operation: 93*62=5766, Resulting Numbers: [5766] 5766,93 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: 93:[35, 89, 31], Operations: ['27+4=31'] Exploring Operation: 35+89=124, Resulting Numbers: [31, 124] Generated Node #0,1,0: 93:[31, 124] Operation: 35+89=124 Exploring Operation: 89-35=54, Resulting Numbers: [31, 54] Generated Node #0,1,1: 93:[31, 54] Operation: 89-35=54 Exploring Operation: 35-31=4, Resulting Numbers: [89, 4] Generated Node #0,1,2: 93:[89, 4] Operation: 35-31=4 Moving to Node #0,1,2 Current State: 93:[89, 4], Operations: ['27+4=31', '35-31=4'] Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,93 unequal: No Solution Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[35, 89, 27, 4], Operations: [] Exploring Operation: 27+4=31, Resulting Numbers: [35, 89, 31] Generated Node #0,1: 93:[35, 89, 31] Operation: 27+4=31 Moving to Node #0,1 Current State: 93:[35, 89, 31], Operations: ['27+4=31'] Exploring Operation: 35-31=4, Resulting Numbers: [89, 4] Generated Node #0,1,2: 93:[89, 4] Operation: 35-31=4 Moving to Node #0,1,2 Current State: 93:[89, 4], Operations: ['27+4=31', '35-31=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 75, 51, 1, 82 ]
43
[ "75+51=126", "1+82=83", "126-83=43" ]
Current State: 43:[75, 51, 1, 82], Operations: [] Exploring Operation: 75+51=126, Resulting Numbers: [1, 82, 126] Generated Node #2: [1, 82, 126] from Operation: 75+51=126 Current State: 43:[1, 82, 126], Operations: ['75+51=126'] Exploring Operation: 1+82=83, Resulting Numbers: [126, 83] Generated Node #3: [126, 83] from Operation: 1+82=83 Current State: 43:[126, 83], Operations: ['75+51=126', '1+82=83'] Exploring Operation: 126-83=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[75, 51, 1, 82], Operations: [] Exploring Operation: 75-1=74, Resulting Numbers: [51, 82, 74] Generated Node #0,0: 43:[51, 82, 74] Operation: 75-1=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[51, 82, 74], Operations: ['75-1=74'] Exploring Operation: 82-51=31, Resulting Numbers: [74, 31] Generated Node #0,0,0: 43:[74, 31] Operation: 82-51=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[74, 31], Operations: ['75-1=74', '82-51=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[75, 51, 1, 82], Operations: [] Exploring Operation: 75-1=74, Resulting Numbers: [51, 82, 74] Generated Node #0,0: 43:[51, 82, 74] Operation: 75-1=74 Moving to Node #0,0 Current State: 43:[51, 82, 74], Operations: ['75-1=74'] Exploring Operation: 82-51=31, Resulting Numbers: [74, 31] Generated Node #0,0,0: 43:[74, 31] Operation: 82-51=31 Moving to Node #0,0,0 Current State: 43:[74, 31], Operations: ['75-1=74', '82-51=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 88, 44, 16, 86 ]
52
[ "88-86=2", "16/2=8", "44+8=52" ]
Current State: 52:[88, 44, 16, 86], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [44, 16, 2] Generated Node #2: [44, 16, 2] from Operation: 88-86=2 Current State: 52:[44, 16, 2], Operations: ['88-86=2'] Exploring Operation: 16/2=8, Resulting Numbers: [44, 8] Generated Node #3: [44, 8] from Operation: 16/2=8 Current State: 52:[44, 8], Operations: ['88-86=2', '16/2=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[88, 44, 16, 86], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [44, 16, 2] Generated Node #0,0: 52:[44, 16, 2] Operation: 88-86=2 Moving to Node #0,0 Current State: 52:[44, 16, 2], Operations: ['88-86=2'] Exploring Operation: 44-16=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 52:[2, 28] Operation: 44-16=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[2, 28], Operations: ['88-86=2', '44-16=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 91, 28, 23, 15 ]
16
[ "28-23=5", "15*5=75", "91-75=16" ]
Current State: 16:[91, 28, 23, 15], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [91, 15, 5] Generated Node #2: [91, 15, 5] from Operation: 28-23=5 Current State: 16:[91, 15, 5], Operations: ['28-23=5'] Exploring Operation: 15*5=75, Resulting Numbers: [91, 75] Generated Node #3: [91, 75] from Operation: 15*5=75 Current State: 16:[91, 75], Operations: ['28-23=5', '15*5=75'] Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[91, 28, 23, 15], Operations: [] Exploring Operation: 91-23=68, Resulting Numbers: [28, 15, 68] Generated Node #0,0: 16:[28, 15, 68] Operation: 91-23=68 Exploring Operation: 91-15=76, Resulting Numbers: [28, 23, 76] Generated Node #0,1: 16:[28, 23, 76] Operation: 91-15=76 Exploring Operation: 28-23=5, Resulting Numbers: [91, 15, 5] Generated Node #0,2: 16:[91, 15, 5] Operation: 28-23=5 Exploring Operation: 91-28=63, Resulting Numbers: [23, 15, 63] Generated Node #0,3: 16:[23, 15, 63] Operation: 91-28=63 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[23, 15, 63], Operations: ['91-28=63'] Exploring Operation: 63-23=40, Resulting Numbers: [15, 40] Generated Node #0,3,0: 16:[15, 40] Operation: 63-23=40 Exploring Operation: 63-15=48, Resulting Numbers: [23, 48] Generated Node #0,3,1: 16:[23, 48] Operation: 63-15=48 Exploring Operation: 23+15=38, Resulting Numbers: [63, 38] Generated Node #0,3,2: 16:[63, 38] Operation: 23+15=38 Exploring Operation: 23-15=8, Resulting Numbers: [63, 8] Generated Node #0,3,3: 16:[63, 8] Operation: 23-15=8 Moving to Node #0,3,0 Current State: 16:[15, 40], Operations: ['91-28=63', '63-23=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,16 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[23, 48], Operations: ['91-28=63', '63-15=48'] Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 23+48=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 23*48=1104, Resulting Numbers: [1104] 1104,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[63, 8], Operations: ['91-28=63', '23-15=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[63, 38], Operations: ['91-28=63', '23+15=38'] Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[28, 15, 68], Operations: ['91-23=68'] Exploring Operation: 28-15=13, Resulting Numbers: [68, 13] Generated Node #0,0,0: 16:[68, 13] Operation: 28-15=13 Exploring Operation: 68-28=40, Resulting Numbers: [15, 40] Generated Node #0,0,1: 16:[15, 40] Operation: 68-28=40 Exploring Operation: 68-15=53, Resulting Numbers: [28, 53] Generated Node #0,0,2: 16:[28, 53] Operation: 68-15=53 Exploring Operation: 28+15=43, Resulting Numbers: [68, 43] Generated Node #0,0,3: 16:[68, 43] Operation: 28+15=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[15, 40], Operations: ['91-23=68', '68-28=40'] Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,16 unequal: No Solution Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[28, 53], Operations: ['91-23=68', '68-15=53'] Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,16 unequal: No Solution Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[68, 13], Operations: ['91-23=68', '28-15=13'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,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,3 Current State: 16:[68, 43], Operations: ['91-23=68', '28+15=43'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 68*43=2924, Resulting Numbers: [2924] 2924,16 unequal: No Solution Exploring Operation: 68+43=111, Resulting Numbers: [111] 111,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,2 Current State: 16:[91, 15, 5], Operations: ['28-23=5'] Exploring Operation: 91-5=86, Resulting Numbers: [15, 86] Generated Node #0,2,0: 16:[15, 86] Operation: 91-5=86 Exploring Operation: 15-5=10, Resulting Numbers: [91, 10] Generated Node #0,2,1: 16:[91, 10] Operation: 15-5=10 Exploring Operation: 91-15=76, Resulting Numbers: [5, 76] Generated Node #0,2,2: 16:[5, 76] Operation: 91-15=76 Exploring Operation: 15/5=3, Resulting Numbers: [91, 3] Generated Node #0,2,3: 16:[91, 3] Operation: 15/5=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[5, 76], Operations: ['28-23=5', '91-15=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,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,2,0 Current State: 16:[15, 86], Operations: ['28-23=5', '91-5=86'] Exploring Operation: 15*86=1290, Resulting Numbers: [1290] 1290,16 unequal: No Solution Exploring Operation: 15+86=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,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,2,3 Current State: 16:[91, 3], Operations: ['28-23=5', '15/5=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,16 unequal: No Solution Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,16 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,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,2,1 Current State: 16:[91, 10], Operations: ['28-23=5', '15-5=10'] Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[28, 23, 76], Operations: ['91-15=76'] Exploring Operation: 76-28=48, Resulting Numbers: [23, 48] Generated Node #0,1,0: 16:[23, 48] Operation: 76-28=48 Exploring Operation: 76-23=53, Resulting Numbers: [28, 53] Generated Node #0,1,1: 16:[28, 53] Operation: 76-23=53 Exploring Operation: 28+23=51, Resulting Numbers: [76, 51] Generated Node #0,1,2: 16:[76, 51] Operation: 28+23=51 Exploring Operation: 28-23=5, Resulting Numbers: [76, 5] Generated Node #0,1,3: 16:[76, 5] Operation: 28-23=5 Moving to Node #0,1,0 Current State: 16:[23, 48], Operations: ['91-15=76', '76-28=48'] Exploring Operation: 23*48=1104, Resulting Numbers: [1104] 1104,16 unequal: No Solution Exploring Operation: 23+48=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[28, 53], Operations: ['91-15=76', '76-23=53'] Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,16 unequal: No Solution Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[76, 5], Operations: ['91-15=76', '28-23=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[76, 51], Operations: ['91-15=76', '28+23=51'] Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 76*51=3876, Resulting Numbers: [3876] 3876,16 unequal: No Solution Exploring Operation: 76+51=127, Resulting Numbers: [127] 127,16 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
[ 51, 30, 4, 49 ]
20
[ "51+49=100", "30*4=120", "120-100=20" ]
Current State: 20:[51, 30, 4, 49], Operations: [] Exploring Operation: 51+49=100, Resulting Numbers: [30, 4, 100] Generated Node #2: [30, 4, 100] from Operation: 51+49=100 Current State: 20:[30, 4, 100], Operations: ['51+49=100'] Exploring Operation: 30*4=120, Resulting Numbers: [100, 120] Generated Node #3: [100, 120] from Operation: 30*4=120 Current State: 20:[100, 120], Operations: ['51+49=100', '30*4=120'] Exploring Operation: 120-100=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[51, 30, 4, 49], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [30, 4, 2] Generated Node #0,0: 20:[30, 4, 2] Operation: 51-49=2 Moving to Node #0,0 Current State: 20:[30, 4, 2], Operations: ['51-49=2'] Exploring Operation: 30/2=15, Resulting Numbers: [4, 15] Generated Node #0,0,0: 20:[4, 15] Operation: 30/2=15 Moving to Node #0,0,0 Current State: 20:[4, 15], Operations: ['51-49=2', '30/2=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,20 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 6, 34, 66, 65 ]
42
[ "66/6=11", "65-34=31", "11+31=42" ]
Current State: 42:[6, 34, 66, 65], Operations: [] Exploring Operation: 66/6=11, Resulting Numbers: [34, 65, 11] Generated Node #2: [34, 65, 11] from Operation: 66/6=11 Current State: 42:[34, 65, 11], Operations: ['66/6=11'] Exploring Operation: 65-34=31, Resulting Numbers: [11, 31] Generated Node #3: [11, 31] from Operation: 65-34=31 Current State: 42:[11, 31], Operations: ['66/6=11', '65-34=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[6, 34, 66, 65], Operations: [] Exploring Operation: 66-34=32, Resulting Numbers: [6, 65, 32] Generated Node #0,0: 42:[6, 65, 32] Operation: 66-34=32 Exploring Operation: 66-65=1, Resulting Numbers: [6, 34, 1] Generated Node #0,1: 42:[6, 34, 1] Operation: 66-65=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[6, 34, 1], Operations: ['66-65=1'] Exploring Operation: 34+1=35, Resulting Numbers: [6, 35] Generated Node #0,1,0: 42:[6, 35] Operation: 34+1=35 Exploring Operation: 6+34=40, Resulting Numbers: [1, 40] Generated Node #0,1,1: 42:[1, 40] Operation: 6+34=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[1, 40], Operations: ['66-65=1', '6+34=40'] Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,42 unequal: No Solution No 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: 42:[6, 35], Operations: ['66-65=1', '34+1=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,42 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: 42:[6, 65, 32], Operations: ['66-34=32'] Exploring Operation: 65-32=33, Resulting Numbers: [6, 33] Generated Node #0,0,0: 42:[6, 33] Operation: 65-32=33 Exploring Operation: 65-6=59, Resulting Numbers: [32, 59] Generated Node #0,0,1: 42:[32, 59] Operation: 65-6=59 Moving to Node #0,0,0 Current State: 42:[6, 33], Operations: ['66-34=32', '65-32=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[32, 59], Operations: ['66-34=32', '65-6=59'] Exploring Operation: 32+59=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 63, 36, 65, 56 ]
10
[ "65-63=2", "56-36=20", "20/2=10" ]
Current State: 10:[63, 36, 65, 56], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [36, 56, 2] Generated Node #2: [36, 56, 2] from Operation: 65-63=2 Current State: 10:[36, 56, 2], Operations: ['65-63=2'] Exploring Operation: 56-36=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 56-36=20 Current State: 10:[2, 20], Operations: ['65-63=2', '56-36=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[63, 36, 65, 56], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [36, 56, 2] Generated Node #0,0: 10:[36, 56, 2] Operation: 65-63=2 Exploring Operation: 63-56=7, Resulting Numbers: [36, 65, 7] Generated Node #0,1: 10:[36, 65, 7] Operation: 63-56=7 Exploring Operation: 65-56=9, Resulting Numbers: [63, 36, 9] Generated Node #0,2: 10:[63, 36, 9] Operation: 65-56=9 Exploring Operation: 63-36=27, Resulting Numbers: [65, 56, 27] Generated Node #0,3: 10:[65, 56, 27] Operation: 63-36=27 Moving to Node #0,0 Current State: 10:[36, 56, 2], Operations: ['65-63=2'] Exploring Operation: 36/2=18, Resulting Numbers: [56, 18] Generated Node #0,0,0: 10:[56, 18] Operation: 36/2=18 Exploring Operation: 56-36=20, Resulting Numbers: [2, 20] Generated Node #0,0,1: 10:[2, 20] Operation: 56-36=20 Exploring Operation: 36-2=34, Resulting Numbers: [56, 34] Generated Node #0,0,2: 10:[56, 34] Operation: 36-2=34 Exploring Operation: 56/2=28, Resulting Numbers: [36, 28] Generated Node #0,0,3: 10:[36, 28] Operation: 56/2=28 Moving to Node #0,2 Current State: 10:[63, 36, 9], Operations: ['65-56=9'] Exploring Operation: 63/9=7, Resulting Numbers: [36, 7] Generated Node #0,2,0: 10:[36, 7] Operation: 63/9=7 Exploring Operation: 63-9=54, Resulting Numbers: [36, 54] Generated Node #0,2,1: 10:[36, 54] Operation: 63-9=54 Exploring Operation: 63-36=27, Resulting Numbers: [9, 27] Generated Node #0,2,2: 10:[9, 27] Operation: 63-36=27 Exploring Operation: 36/9=4, Resulting Numbers: [63, 4] Generated Node #0,2,3: 10:[63, 4] Operation: 36/9=4 Moving to Node #0,1 Current State: 10:[36, 65, 7], Operations: ['63-56=7'] Exploring Operation: 65-7=58, Resulting Numbers: [36, 58] Generated Node #0,1,0: 10:[36, 58] Operation: 65-7=58 Exploring Operation: 36+7=43, Resulting Numbers: [65, 43] Generated Node #0,1,1: 10:[65, 43] Operation: 36+7=43 Exploring Operation: 65-36=29, Resulting Numbers: [7, 29] Generated Node #0,1,2: 10:[7, 29] Operation: 65-36=29 Exploring Operation: 36-7=29, Resulting Numbers: [65, 29] Generated Node #0,1,3: 10:[65, 29] Operation: 36-7=29 Moving to Node #0,3 Current State: 10:[65, 56, 27], Operations: ['63-36=27'] Exploring Operation: 65+56=121, Resulting Numbers: [27, 121] Generated Node #0,3,0: 10:[27, 121] Operation: 65+56=121 Exploring Operation: 56-27=29, Resulting Numbers: [65, 29] Generated Node #0,3,1: 10:[65, 29] Operation: 56-27=29 Exploring Operation: 65-56=9, Resulting Numbers: [27, 9] Generated Node #0,3,2: 10:[27, 9] Operation: 65-56=9 Exploring Operation: 65-27=38, Resulting Numbers: [56, 38] Generated Node #0,3,3: 10:[56, 38] Operation: 65-27=38 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 10:[27, 9], Operations: ['63-36=27', '65-56=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,10 unequal: No Solution No 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: 10:[65, 29], Operations: ['63-36=27', '56-27=29'] Exploring Operation: 65*29=1885, Resulting Numbers: [1885] 1885,10 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 65+29=94, Resulting Numbers: [94] 94,10 unequal: No Solution No 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: 10:[56, 38], Operations: ['63-36=27', '65-27=38'] Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,10 unequal: No Solution Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,10 unequal: No Solution No 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: 10:[27, 121], Operations: ['63-36=27', '65+56=121'] Exploring Operation: 121-27=94, Resulting Numbers: [94] 94,10 unequal: No Solution Exploring Operation: 27*121=3267, Resulting Numbers: [3267] 3267,10 unequal: No Solution Exploring Operation: 27+121=148, Resulting Numbers: [148] 148,10 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: 10:[2, 20], Operations: ['65-63=2', '56-36=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[63, 36, 65, 56], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [36, 56, 2] Generated Node #0,0: 10:[36, 56, 2] Operation: 65-63=2 Moving to Node #0,0 Current State: 10:[36, 56, 2], Operations: ['65-63=2'] Exploring Operation: 56-36=20, Resulting Numbers: [2, 20] Generated Node #0,0,1: 10:[2, 20] Operation: 56-36=20 Moving to Node #0,0,1 Current State: 10:[2, 20], Operations: ['65-63=2', '56-36=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.96441
hs_4
mult_heuristic
[ 18, 58, 47, 16 ]
82
[ "18*47=846", "58*16=928", "928-846=82" ]
Current State: 82:[18, 58, 47, 16], Operations: [] Exploring Operation: 18*47=846, Resulting Numbers: [58, 16, 846] Generated Node #2: [58, 16, 846] from Operation: 18*47=846 Current State: 82:[58, 16, 846], Operations: ['18*47=846'] Exploring Operation: 58*16=928, Resulting Numbers: [846, 928] Generated Node #3: [846, 928] from Operation: 58*16=928 Current State: 82:[846, 928], Operations: ['18*47=846', '58*16=928'] Exploring Operation: 928-846=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[18, 58, 47, 16], Operations: [] Exploring Operation: 18+16=34, Resulting Numbers: [58, 47, 34] Generated Node #0,0: 82:[58, 47, 34] Operation: 18+16=34 Exploring Operation: 18+58=76, Resulting Numbers: [47, 16, 76] Generated Node #0,1: 82:[47, 16, 76] Operation: 18+58=76 Exploring Operation: 58-16=42, Resulting Numbers: [18, 47, 42] Generated Node #0,2: 82:[18, 47, 42] Operation: 58-16=42 Exploring Operation: 18-16=2, Resulting Numbers: [58, 47, 2] Generated Node #0,3: 82:[58, 47, 2] Operation: 18-16=2 Exploring Operation: 58-18=40, Resulting Numbers: [47, 16, 40] Generated Node #0,4: 82:[47, 16, 40] Operation: 58-18=40 Moving to Node #0,4 Current State: 82:[47, 16, 40], Operations: ['58-18=40'] Exploring Operation: 47-16=31, Resulting Numbers: [40, 31] Generated Node #0,4,0: 82:[40, 31] Operation: 47-16=31 Exploring Operation: 47+16=63, Resulting Numbers: [40, 63] Generated Node #0,4,1: 82:[40, 63] Operation: 47+16=63 Exploring Operation: 47+40=87, Resulting Numbers: [16, 87] Generated Node #0,4,2: 82:[16, 87] Operation: 47+40=87 Exploring Operation: 16+40=56, Resulting Numbers: [47, 56] Generated Node #0,4,3: 82:[47, 56] Operation: 16+40=56 Exploring Operation: 47-40=7, Resulting Numbers: [16, 7] Generated Node #0,4,4: 82:[16, 7] Operation: 47-40=7 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[40, 31], Operations: ['58-18=40', '47-16=31'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[16, 87], Operations: ['58-18=40', '47+40=87'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 16+87=103, Resulting Numbers: [103] 103,82 unequal: No Solution Exploring Operation: 16*87=1392, Resulting Numbers: [1392] 1392,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[16, 7], Operations: ['58-18=40', '47-40=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[40, 63], Operations: ['58-18=40', '47+16=63'] Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 40*63=2520, Resulting Numbers: [2520] 2520,82 unequal: No Solution Exploring Operation: 40+63=103, Resulting Numbers: [103] 103,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[47, 56], Operations: ['58-18=40', '16+40=56'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 47+56=103, Resulting Numbers: [103] 103,82 unequal: No Solution Exploring Operation: 47*56=2632, Resulting Numbers: [2632] 2632,82 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: 82:[58, 47, 2], Operations: ['18-16=2'] Exploring Operation: 58-2=56, Resulting Numbers: [47, 56] Generated Node #0,3,0: 82:[47, 56] Operation: 58-2=56 Exploring Operation: 58+47=105, Resulting Numbers: [2, 105] Generated Node #0,3,1: 82:[2, 105] Operation: 58+47=105 Exploring Operation: 58-47=11, Resulting Numbers: [2, 11] Generated Node #0,3,2: 82:[2, 11] Operation: 58-47=11 Exploring Operation: 47-2=45, Resulting Numbers: [58, 45] Generated Node #0,3,3: 82:[58, 45] Operation: 47-2=45 Exploring Operation: 58/2=29, Resulting Numbers: [47, 29] Generated Node #0,3,4: 82:[47, 29] Operation: 58/2=29 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[2, 11], Operations: ['18-16=2', '58-47=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[47, 29], Operations: ['18-16=2', '58/2=29'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[47, 56], Operations: ['18-16=2', '58-2=56'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 47+56=103, Resulting Numbers: [103] 103,82 unequal: No Solution Exploring Operation: 47*56=2632, Resulting Numbers: [2632] 2632,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[58, 45], Operations: ['18-16=2', '47-2=45'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,82 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[2, 105], Operations: ['18-16=2', '58+47=105'] Exploring Operation: 105-2=103, Resulting Numbers: [103] 103,82 unequal: No Solution Exploring Operation: 2*105=210, Resulting Numbers: [210] 210,82 unequal: No Solution Exploring Operation: 2+105=107, Resulting Numbers: [107] 107,82 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: 82:[18, 47, 42], Operations: ['58-16=42'] Exploring Operation: 47-42=5, Resulting Numbers: [18, 5] Generated Node #0,2,0: 82:[18, 5] Operation: 47-42=5 Exploring Operation: 18+47=65, Resulting Numbers: [42, 65] Generated Node #0,2,1: 82:[42, 65] Operation: 18+47=65 Exploring Operation: 47-18=29, Resulting Numbers: [42, 29] Generated Node #0,2,2: 82:[42, 29] Operation: 47-18=29 Exploring Operation: 47+42=89, Resulting Numbers: [18, 89] Generated Node #0,2,3: 82:[18, 89] Operation: 47+42=89 Exploring Operation: 42-18=24, Resulting Numbers: [47, 24] Generated Node #0,2,4: 82:[47, 24] Operation: 42-18=24 Moving to Node #0,1 Current State: 82:[47, 16, 76], Operations: ['18+58=76'] Exploring Operation: 76-16=60, Resulting Numbers: [47, 60] Generated Node #0,1,0: 82:[47, 60] Operation: 76-16=60 Exploring Operation: 16+76=92, Resulting Numbers: [47, 92] Generated Node #0,1,1: 82:[47, 92] Operation: 16+76=92 Exploring Operation: 76-47=29, Resulting Numbers: [16, 29] Generated Node #0,1,2: 82:[16, 29] Operation: 76-47=29 Exploring Operation: 47+16=63, Resulting Numbers: [76, 63] Generated Node #0,1,3: 82:[76, 63] Operation: 47+16=63 Exploring Operation: 47-16=31, Resulting Numbers: [76, 31] Generated Node #0,1,4: 82:[76, 31] Operation: 47-16=31 Moving to Node #0,0 Current State: 82:[58, 47, 34], Operations: ['18+16=34'] Exploring Operation: 47+34=81, Resulting Numbers: [58, 81] Generated Node #0,0,0: 82:[58, 81] Operation: 47+34=81 Exploring Operation: 58-47=11, Resulting Numbers: [34, 11] Generated Node #0,0,1: 82:[34, 11] Operation: 58-47=11 Exploring Operation: 47-34=13, Resulting Numbers: [58, 13] Generated Node #0,0,2: 82:[58, 13] Operation: 47-34=13 Exploring Operation: 58-34=24, Resulting Numbers: [47, 24] Generated Node #0,0,3: 82:[47, 24] Operation: 58-34=24 Exploring Operation: 58+34=92, Resulting Numbers: [47, 92] Generated Node #0,0,4: 82:[47, 92] Operation: 58+34=92 Moving to Node #0,2,2 Current State: 82:[42, 29], Operations: ['58-16=42', '47-18=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[47, 92], Operations: ['18+58=76', '16+76=92'] Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,82 unequal: No Solution Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[76, 31], Operations: ['18+58=76', '47-16=31'] Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,82 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[47, 92], Operations: ['18+16=34', '58+34=92'] Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,82 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[34, 11], Operations: ['18+16=34', '58-47=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[58, 81], Operations: ['18+16=34', '47+34=81'] Exploring Operation: 58*81=4698, Resulting Numbers: [4698] 4698,82 unequal: No Solution Exploring Operation: 58+81=139, Resulting Numbers: [139] 139,82 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[42, 65], Operations: ['58-16=42', '18+47=65'] Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,82 unequal: No Solution Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[18, 5], Operations: ['58-16=42', '47-42=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,82 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[47, 24], Operations: ['18+16=34', '58-34=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,82 unequal: No Solution Moving to Node #0,2,4 Current State: 82:[47, 24], Operations: ['58-16=42', '42-18=24'] Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,82 unequal: No Solution Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[18, 89], Operations: ['58-16=42', '47+42=89'] Exploring Operation: 18*89=1602, Resulting Numbers: [1602] 1602,82 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 18+89=107, Resulting Numbers: [107] 107,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[76, 63], Operations: ['18+58=76', '47+16=63'] Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,82 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,82 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[47, 60], Operations: ['18+58=76', '76-16=60'] Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[16, 29], Operations: ['18+58=76', '76-47=29'] Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[58, 13], Operations: ['18+16=34', '47-34=13'] Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,82 unequal: No Solution Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,82 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 88, 45, 79 ]
77
[ "88-45=43", "79-45=34", "43+34=77" ]
Current State: 77:[45, 88, 45, 79], Operations: [] Exploring Operation: 88-45=43, Resulting Numbers: [79, 43] Generated Node #2: [79, 43] from Operation: 88-45=43 Current State: 77:[79, 43], Operations: ['88-45=43'] Exploring Operation: 79-45=34, Resulting Numbers: [43, 34] Generated Node #3: [43, 34] from Operation: 79-45=34 Current State: 77:[43, 34], Operations: ['88-45=43', '79-45=34'] Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[45, 88, 45, 79], Operations: [] Exploring Operation: 45/45=1, Resulting Numbers: [88, 79, 1] Generated Node #0,0: 77:[88, 79, 1] Operation: 45/45=1 Exploring Operation: 88-45=43, Resulting Numbers: [45, 79, 43] Generated Node #0,1: 77:[45, 79, 43] Operation: 88-45=43 Exploring Operation: 45+45=90, Resulting Numbers: [88, 79, 90] Generated Node #0,2: 77:[88, 79, 90] Operation: 45+45=90 Exploring Operation: 45-45=0, Resulting Numbers: [88, 79, 0] Generated Node #0,3: 77:[88, 79, 0] Operation: 45-45=0 Exploring Operation: 79-45=34, Resulting Numbers: [88, 45, 34] Generated Node #0,4: 77:[88, 45, 34] Operation: 79-45=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[88, 79, 1], Operations: ['45/45=1'] Exploring Operation: 88/1=88, Resulting Numbers: [79, 88] Generated Node #0,0,0: 77:[79, 88] Operation: 88/1=88 Exploring Operation: 79-1=78, Resulting Numbers: [88, 78] Generated Node #0,0,1: 77:[88, 78] Operation: 79-1=78 Exploring Operation: 88-79=9, Resulting Numbers: [1, 9] Generated Node #0,0,2: 77:[1, 9] Operation: 88-79=9 Exploring Operation: 88-1=87, Resulting Numbers: [79, 87] Generated Node #0,0,3: 77:[79, 87] Operation: 88-1=87 Exploring Operation: 88*1=88, Resulting Numbers: [79, 88] Generated Node #0,0,4: 77:[79, 88] Operation: 88*1=88 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 77:[1, 9], Operations: ['45/45=1', '88-79=9'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[88, 78], Operations: ['45/45=1', '79-1=78'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,77 unequal: No Solution Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 77:[79, 87], Operations: ['45/45=1', '88-1=87'] Exploring Operation: 79*87=6873, Resulting Numbers: [6873] 6873,77 unequal: No Solution Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 79+87=166, Resulting Numbers: [166] 166,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[79, 88], Operations: ['45/45=1', '88/1=88'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,77 unequal: No Solution Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 77:[79, 88], Operations: ['45/45=1', '88*1=88'] Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,77 unequal: No Solution Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[88, 79, 0], Operations: ['45-45=0'] Exploring Operation: 79+0=79, Resulting Numbers: [88, 79] Generated Node #0,3,0: 77:[88, 79] Operation: 79+0=79 Exploring Operation: 88-79=9, Resulting Numbers: [0, 9] Generated Node #0,3,1: 77:[0, 9] Operation: 88-79=9 Exploring Operation: 88*0=0, Resulting Numbers: [79, 0] Generated Node #0,3,2: 77:[79, 0] Operation: 88*0=0 Exploring Operation: 88-0=88, Resulting Numbers: [79, 88] Generated Node #0,3,3: 77:[79, 88] Operation: 88-0=88 Exploring Operation: 88+0=88, Resulting Numbers: [79, 88] Generated Node #0,3,4: 77:[79, 88] Operation: 88+0=88 Moving to Node #0,3,1 Current State: 77:[0, 9], Operations: ['45-45=0', '88-79=9'] Exploring Operation: 0*9=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 0+9=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[79, 0], Operations: ['45-45=0', '88*0=0'] Exploring Operation: 79*0=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 79-0=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 79+0=79, Resulting Numbers: [79] 79,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[88, 79], Operations: ['45-45=0', '79+0=79'] Exploring Operation: 88+79=167, Resulting Numbers: [167] 167,77 unequal: No Solution Exploring Operation: 88*79=6952, Resulting Numbers: [6952] 6952,77 unequal: No Solution Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[79, 88], Operations: ['45-45=0', '88-0=88'] Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,77 unequal: No Solution Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[79, 88], Operations: ['45-45=0', '88+0=88'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,77 unequal: No Solution Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[88, 79, 90], Operations: ['45+45=90'] Exploring Operation: 88-79=9, Resulting Numbers: [90, 9] Generated Node #0,2,0: 77:[90, 9] Operation: 88-79=9 Exploring Operation: 90-79=11, Resulting Numbers: [88, 11] Generated Node #0,2,1: 77:[88, 11] Operation: 90-79=11 Exploring Operation: 88+79=167, Resulting Numbers: [90, 167] Generated Node #0,2,2: 77:[90, 167] Operation: 88+79=167 Exploring Operation: 88+90=178, Resulting Numbers: [79, 178] Generated Node #0,2,3: 77:[79, 178] Operation: 88+90=178 Exploring Operation: 90-88=2, Resulting Numbers: [79, 2] Generated Node #0,2,4: 77:[79, 2] Operation: 90-88=2 Moving to Node #0,2,4 Current State: 77:[79, 2], Operations: ['45+45=90', '90-88=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[45, 88, 45, 79], Operations: [] Exploring Operation: 45+45=90, Resulting Numbers: [88, 79, 90] Generated Node #0,2: 77:[88, 79, 90] Operation: 45+45=90 Moving to Node #0,2 Current State: 77:[88, 79, 90], Operations: ['45+45=90'] Exploring Operation: 90-88=2, Resulting Numbers: [79, 2] Generated Node #0,2,4: 77:[79, 2] Operation: 90-88=2 Moving to Node #0,2,4 Current State: 77:[79, 2], Operations: ['45+45=90', '90-88=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 2, 4, 28, 68 ]
36
[ "28-2=26", "4*26=104", "104-68=36" ]
Current State: 36:[2, 4, 28, 68], Operations: [] Exploring Operation: 28-2=26, Resulting Numbers: [4, 68, 26] Generated Node #2: [4, 68, 26] from Operation: 28-2=26 Current State: 36:[4, 68, 26], Operations: ['28-2=26'] Exploring Operation: 4*26=104, Resulting Numbers: [68, 104] Generated Node #3: [68, 104] from Operation: 4*26=104 Current State: 36:[68, 104], Operations: ['28-2=26', '4*26=104'] Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 4, 28, 68], Operations: [] Exploring Operation: 68-28=40, Resulting Numbers: [2, 4, 40] Generated Node #0,0: 36:[2, 4, 40] Operation: 68-28=40 Moving to Node #0,0 Current State: 36:[2, 4, 40], Operations: ['68-28=40'] Exploring Operation: 40-4=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 36:[2, 36] Operation: 40-4=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[2, 36], Operations: ['68-28=40', '40-4=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,36 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
[ 44, 90, 78, 21 ]
75
[ "44+21=65", "90*65=5850", "5850/78=75" ]
Current State: 75:[44, 90, 78, 21], Operations: [] Exploring Operation: 44+21=65, Resulting Numbers: [90, 78, 65] Generated Node #2: [90, 78, 65] from Operation: 44+21=65 Current State: 75:[90, 78, 65], Operations: ['44+21=65'] Exploring Operation: 90*65=5850, Resulting Numbers: [78, 5850] Generated Node #3: [78, 5850] from Operation: 90*65=5850 Current State: 75:[78, 5850], Operations: ['44+21=65', '90*65=5850'] Exploring Operation: 5850/78=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[44, 90, 78, 21], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [78, 21, 46] Generated Node #0,0: 75:[78, 21, 46] Operation: 90-44=46 Exploring Operation: 78-44=34, Resulting Numbers: [90, 21, 34] Generated Node #0,1: 75:[90, 21, 34] Operation: 78-44=34 Exploring Operation: 90-78=12, Resulting Numbers: [44, 21, 12] Generated Node #0,2: 75:[44, 21, 12] Operation: 90-78=12 Exploring Operation: 44-21=23, Resulting Numbers: [90, 78, 23] Generated Node #0,3: 75:[90, 78, 23] Operation: 44-21=23 Moving to Node #0,3 Current State: 75:[90, 78, 23], Operations: ['44-21=23'] Exploring Operation: 90-23=67, Resulting Numbers: [78, 67] Generated Node #0,3,0: 75:[78, 67] Operation: 90-23=67 Exploring Operation: 78-23=55, Resulting Numbers: [90, 55] Generated Node #0,3,1: 75:[90, 55] Operation: 78-23=55 Exploring Operation: 90-78=12, Resulting Numbers: [23, 12] Generated Node #0,3,2: 75:[23, 12] Operation: 90-78=12 Exploring Operation: 90+23=113, Resulting Numbers: [78, 113] Generated Node #0,3,3: 75:[78, 113] Operation: 90+23=113 Moving to Node #0,2 Current State: 75:[44, 21, 12], Operations: ['90-78=12'] Exploring Operation: 44+21=65, Resulting Numbers: [12, 65] Generated Node #0,2,0: 75:[12, 65] Operation: 44+21=65 Exploring Operation: 44-12=32, Resulting Numbers: [21, 32] Generated Node #0,2,1: 75:[21, 32] Operation: 44-12=32 Exploring Operation: 44+12=56, Resulting Numbers: [21, 56] Generated Node #0,2,2: 75:[21, 56] Operation: 44+12=56 Exploring Operation: 44-21=23, Resulting Numbers: [12, 23] Generated Node #0,2,3: 75:[12, 23] Operation: 44-21=23 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 75:[12, 23], Operations: ['90-78=12', '44-21=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,75 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[21, 32], Operations: ['90-78=12', '44-12=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[12, 65], Operations: ['90-78=12', '44+21=65'] Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[21, 56], Operations: ['90-78=12', '44+12=56'] Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 21*56=1176, Resulting Numbers: [1176] 1176,75 unequal: No Solution Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 75:[90, 21, 34], Operations: ['78-44=34'] Exploring Operation: 34-21=13, Resulting Numbers: [90, 13] Generated Node #0,1,0: 75:[90, 13] Operation: 34-21=13 Exploring Operation: 90-21=69, Resulting Numbers: [34, 69] Generated Node #0,1,1: 75:[34, 69] Operation: 90-21=69 Exploring Operation: 90-34=56, Resulting Numbers: [21, 56] Generated Node #0,1,2: 75:[21, 56] Operation: 90-34=56 Exploring Operation: 21+34=55, Resulting Numbers: [90, 55] Generated Node #0,1,3: 75:[90, 55] Operation: 21+34=55 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[34, 69], Operations: ['78-44=34', '90-21=69'] Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 34*69=2346, Resulting Numbers: [2346] 2346,75 unequal: No Solution Exploring Operation: 34+69=103, Resulting Numbers: [103] 103,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[90, 13], Operations: ['78-44=34', '34-21=13'] Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,75 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[21, 56], Operations: ['78-44=34', '90-34=56'] Exploring Operation: 21*56=1176, Resulting Numbers: [1176] 1176,75 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 75:[90, 55], Operations: ['78-44=34', '21+34=55'] Exploring Operation: 90*55=4950, Resulting Numbers: [4950] 4950,75 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 90+55=145, Resulting Numbers: [145] 145,75 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: 75:[78, 21, 46], Operations: ['90-44=46'] Exploring Operation: 78-21=57, Resulting Numbers: [46, 57] Generated Node #0,0,0: 75:[46, 57] Operation: 78-21=57 Exploring Operation: 46-21=25, Resulting Numbers: [78, 25] Generated Node #0,0,1: 75:[78, 25] Operation: 46-21=25 Exploring Operation: 21+46=67, Resulting Numbers: [78, 67] Generated Node #0,0,2: 75:[78, 67] Operation: 21+46=67 Exploring Operation: 78-46=32, Resulting Numbers: [21, 32] Generated Node #0,0,3: 75:[21, 32] Operation: 78-46=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[78, 25], Operations: ['90-44=46', '46-21=25'] Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 78*25=1950, Resulting Numbers: [1950] 1950,75 unequal: No Solution Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[78, 67], Operations: ['90-44=46', '21+46=67'] Exploring Operation: 78*67=5226, Resulting Numbers: [5226] 5226,75 unequal: No Solution Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 78+67=145, Resulting Numbers: [145] 145,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 75:[21, 32], Operations: ['90-44=46', '78-46=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,75 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[46, 57], Operations: ['90-44=46', '78-21=57'] Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,75 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,75 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: 75:[23, 12], Operations: ['44-21=23', '90-78=12'] Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,75 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[78, 67], Operations: ['44-21=23', '90-23=67'] Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 78*67=5226, Resulting Numbers: [5226] 5226,75 unequal: No Solution Exploring Operation: 78+67=145, Resulting Numbers: [145] 145,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[90, 55], Operations: ['44-21=23', '78-23=55'] Exploring Operation: 90+55=145, Resulting Numbers: [145] 145,75 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 90*55=4950, Resulting Numbers: [4950] 4950,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[78, 113], Operations: ['44-21=23', '90+23=113'] Exploring Operation: 78*113=8814, Resulting Numbers: [8814] 8814,75 unequal: No Solution Exploring Operation: 78+113=191, Resulting Numbers: [191] 191,75 unequal: No Solution Exploring Operation: 113-78=35, Resulting Numbers: [35] 35,75 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 93, 93, 25, 48 ]
25
[ "93-93=0", "48*0=0", "25+0=25" ]
Current State: 25:[93, 93, 25, 48], Operations: [] Exploring Operation: 93-93=0, Resulting Numbers: [25, 48, 0] Generated Node #2: [25, 48, 0] from Operation: 93-93=0 Current State: 25:[25, 48, 0], Operations: ['93-93=0'] Exploring Operation: 48*0=0, Resulting Numbers: [25, 0] Generated Node #3: [25, 0] from Operation: 48*0=0 Current State: 25:[25, 0], Operations: ['93-93=0', '48*0=0'] Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[93, 93, 25, 48], Operations: [] Exploring Operation: 93/93=1, Resulting Numbers: [25, 48, 1] Generated Node #0,0: 25:[25, 48, 1] Operation: 93/93=1 Exploring Operation: 93-48=45, Resulting Numbers: [93, 25, 45] Generated Node #0,1: 25:[93, 25, 45] Operation: 93-48=45 Exploring Operation: 93-93=0, Resulting Numbers: [25, 48, 0] Generated Node #0,2: 25:[25, 48, 0] Operation: 93-93=0 Exploring Operation: 93-48=45, Resulting Numbers: [93, 25, 45] Generated Node #0,3: 25:[93, 25, 45] Operation: 93-48=45 Moving to Node #0,0 Current State: 25:[25, 48, 1], Operations: ['93/93=1'] Exploring Operation: 25*1=25, Resulting Numbers: [48, 25] Generated Node #0,0,0: 25:[48, 25] Operation: 25*1=25 Exploring Operation: 25/1=25, Resulting Numbers: [48, 25] Generated Node #0,0,1: 25:[48, 25] Operation: 25/1=25 Exploring Operation: 48-1=47, Resulting Numbers: [25, 47] Generated Node #0,0,2: 25:[25, 47] Operation: 48-1=47 Exploring Operation: 48-25=23, Resulting Numbers: [1, 23] Generated Node #0,0,3: 25:[1, 23] Operation: 48-25=23 Moving to Node #0,2 Current State: 25:[25, 48, 0], Operations: ['93-93=0'] Exploring Operation: 48*0=0, Resulting Numbers: [25, 0] Generated Node #0,2,0: 25:[25, 0] Operation: 48*0=0 Exploring Operation: 48-25=23, Resulting Numbers: [0, 23] Generated Node #0,2,1: 25:[0, 23] Operation: 48-25=23 Exploring Operation: 25+0=25, Resulting Numbers: [48, 25] Generated Node #0,2,2: 25:[48, 25] Operation: 25+0=25 Exploring Operation: 25-0=25, Resulting Numbers: [48, 25] Generated Node #0,2,3: 25:[48, 25] Operation: 25-0=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[25, 0], Operations: ['93-93=0', '48*0=0'] Exploring Operation: 25*0=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[93, 93, 25, 48], Operations: [] Exploring Operation: 93-93=0, Resulting Numbers: [25, 48, 0] Generated Node #0,2: 25:[25, 48, 0] Operation: 93-93=0 Moving to Node #0,2 Current State: 25:[25, 48, 0], Operations: ['93-93=0'] Exploring Operation: 48*0=0, Resulting Numbers: [25, 0] Generated Node #0,2,0: 25:[25, 0] Operation: 48*0=0 Moving to Node #0,2,0 Current State: 25:[25, 0], Operations: ['93-93=0', '48*0=0'] Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 18, 16, 8, 71 ]
97
[ "18+16=34", "71-8=63", "34+63=97" ]
Current State: 97:[18, 16, 8, 71], Operations: [] Exploring Operation: 18+16=34, Resulting Numbers: [8, 71, 34] Generated Node #2: [8, 71, 34] from Operation: 18+16=34 Current State: 97:[8, 71, 34], Operations: ['18+16=34'] Exploring Operation: 71-8=63, Resulting Numbers: [34, 63] Generated Node #3: [34, 63] from Operation: 71-8=63 Current State: 97:[34, 63], Operations: ['18+16=34', '71-8=63'] Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[18, 16, 8, 71], Operations: [] Exploring Operation: 16*8=128, Resulting Numbers: [18, 71, 128] Generated Node #0,0: 97:[18, 71, 128] Operation: 16*8=128 Exploring Operation: 18*8=144, Resulting Numbers: [16, 71, 144] Generated Node #0,1: 97:[16, 71, 144] Operation: 18*8=144 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[18, 71, 128], Operations: ['16*8=128'] Exploring Operation: 18+71=89, Resulting Numbers: [128, 89] Generated Node #0,0,0: 97:[128, 89] Operation: 18+71=89 Exploring Operation: 128-18=110, Resulting Numbers: [71, 110] Generated Node #0,0,1: 97:[71, 110] Operation: 128-18=110 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[128, 89], Operations: ['16*8=128', '18+71=89'] Exploring Operation: 128-89=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 128+89=217, Resulting Numbers: [217] 217,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[71, 110], Operations: ['16*8=128', '128-18=110'] Exploring Operation: 71+110=181, Resulting Numbers: [181] 181,97 unequal: No Solution Exploring Operation: 110-71=39, Resulting Numbers: [39] 39,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[16, 71, 144], Operations: ['18*8=144'] Exploring Operation: 16+71=87, Resulting Numbers: [144, 87] Generated Node #0,1,0: 97:[144, 87] Operation: 16+71=87 Exploring Operation: 144-16=128, Resulting Numbers: [71, 128] Generated Node #0,1,1: 97:[71, 128] Operation: 144-16=128 Moving to Node #0,1,0 Current State: 97:[144, 87], Operations: ['18*8=144', '16+71=87'] Exploring Operation: 144+87=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 144-87=57, Resulting Numbers: [57] 57,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[71, 128], Operations: ['18*8=144', '144-16=128'] Exploring Operation: 128-71=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 71+128=199, Resulting Numbers: [199] 199,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 57, 30, 75, 92 ]
15
[ "57+30=87", "92-87=5", "75/5=15" ]
Current State: 15:[57, 30, 75, 92], Operations: [] Exploring Operation: 57+30=87, Resulting Numbers: [75, 92, 87] Generated Node #2: [75, 92, 87] from Operation: 57+30=87 Current State: 15:[75, 92, 87], Operations: ['57+30=87'] Exploring Operation: 92-87=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 92-87=5 Current State: 15:[75, 5], Operations: ['57+30=87', '92-87=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[57, 30, 75, 92], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [57, 30, 17] Generated Node #0,0: 15:[57, 30, 17] Operation: 92-75=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[57, 30, 17], Operations: ['92-75=17'] Exploring Operation: 57-30=27, Resulting Numbers: [17, 27] Generated Node #0,0,0: 15:[17, 27] Operation: 57-30=27 Moving to Node #0,0,0 Current State: 15:[17, 27], Operations: ['92-75=17', '57-30=27'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 43, 16, 18, 79 ]
38
[ "43+16=59", "18+79=97", "97-59=38" ]
Current State: 38:[43, 16, 18, 79], Operations: [] Exploring Operation: 43+16=59, Resulting Numbers: [18, 79, 59] Generated Node #2: [18, 79, 59] from Operation: 43+16=59 Current State: 38:[18, 79, 59], Operations: ['43+16=59'] Exploring Operation: 18+79=97, Resulting Numbers: [59, 97] Generated Node #3: [59, 97] from Operation: 18+79=97 Current State: 38:[59, 97], Operations: ['43+16=59', '18+79=97'] Exploring Operation: 97-59=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[43, 16, 18, 79], Operations: [] Exploring Operation: 79-43=36, Resulting Numbers: [16, 18, 36] Generated Node #0,0: 38:[16, 18, 36] Operation: 79-43=36 Exploring Operation: 79-16=63, Resulting Numbers: [43, 18, 63] Generated Node #0,1: 38:[43, 18, 63] Operation: 79-16=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[16, 18, 36], Operations: ['79-43=36'] Exploring Operation: 36-16=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 38:[18, 20] Operation: 36-16=20 Exploring Operation: 18-16=2, Resulting Numbers: [36, 2] Generated Node #0,0,1: 38:[36, 2] Operation: 18-16=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[18, 20], Operations: ['79-43=36', '36-16=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[43, 16, 18, 79], Operations: [] Exploring Operation: 79-43=36, Resulting Numbers: [16, 18, 36] Generated Node #0,0: 38:[16, 18, 36] Operation: 79-43=36 Moving to Node #0,0 Current State: 38:[16, 18, 36], Operations: ['79-43=36'] Exploring Operation: 36-16=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 38:[18, 20] Operation: 36-16=20 Moving to Node #0,0,0 Current State: 38:[18, 20], Operations: ['79-43=36', '36-16=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 35, 31, 26, 13 ]
97
[ "31*26=806", "806/13=62", "35+62=97" ]
Current State: 97:[35, 31, 26, 13], Operations: [] Exploring Operation: 31*26=806, Resulting Numbers: [35, 13, 806] Generated Node #2: [35, 13, 806] from Operation: 31*26=806 Current State: 97:[35, 13, 806], Operations: ['31*26=806'] Exploring Operation: 806/13=62, Resulting Numbers: [35, 62] Generated Node #3: [35, 62] from Operation: 806/13=62 Current State: 97:[35, 62], Operations: ['31*26=806', '806/13=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[35, 31, 26, 13], Operations: [] Exploring Operation: 31+26=57, Resulting Numbers: [35, 13, 57] Generated Node #0,0: 97:[35, 13, 57] Operation: 31+26=57 Exploring Operation: 35+26=61, Resulting Numbers: [31, 13, 61] Generated Node #0,1: 97:[31, 13, 61] Operation: 35+26=61 Exploring Operation: 35+13=48, Resulting Numbers: [31, 26, 48] Generated Node #0,2: 97:[31, 26, 48] Operation: 35+13=48 Exploring Operation: 31+13=44, Resulting Numbers: [35, 26, 44] Generated Node #0,3: 97:[35, 26, 44] Operation: 31+13=44 Exploring Operation: 35+31=66, Resulting Numbers: [26, 13, 66] Generated Node #0,4: 97:[26, 13, 66] Operation: 35+31=66 Moving to Node #0,0 Current State: 97:[35, 13, 57], Operations: ['31+26=57'] Exploring Operation: 35+57=92, Resulting Numbers: [13, 92] Generated Node #0,0,0: 97:[13, 92] Operation: 35+57=92 Exploring Operation: 57-13=44, Resulting Numbers: [35, 44] Generated Node #0,0,1: 97:[35, 44] Operation: 57-13=44 Exploring Operation: 35-13=22, Resulting Numbers: [57, 22] Generated Node #0,0,2: 97:[57, 22] Operation: 35-13=22 Exploring Operation: 35+13=48, Resulting Numbers: [57, 48] Generated Node #0,0,3: 97:[57, 48] Operation: 35+13=48 Exploring Operation: 13+57=70, Resulting Numbers: [35, 70] Generated Node #0,0,4: 97:[35, 70] Operation: 13+57=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[13, 92], Operations: ['31+26=57', '35+57=92'] Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 13*92=1196, Resulting Numbers: [1196] 1196,97 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[57, 48], Operations: ['31+26=57', '35+13=48'] Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,97 unequal: No Solution Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 97:[35, 70], Operations: ['31+26=57', '13+57=70'] Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 35+70=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 35*70=2450, Resulting Numbers: [2450] 2450,97 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[35, 44], Operations: ['31+26=57', '57-13=44'] Exploring Operation: 35*44=1540, Resulting Numbers: [1540] 1540,97 unequal: No Solution Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[57, 22], Operations: ['31+26=57', '35-13=22'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,97 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,97 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: 97:[31, 26, 48], Operations: ['35+13=48'] Exploring Operation: 31+26=57, Resulting Numbers: [48, 57] Generated Node #0,2,0: 97:[48, 57] Operation: 31+26=57 Exploring Operation: 48-26=22, Resulting Numbers: [31, 22] Generated Node #0,2,1: 97:[31, 22] Operation: 48-26=22 Exploring Operation: 31+48=79, Resulting Numbers: [26, 79] Generated Node #0,2,2: 97:[26, 79] Operation: 31+48=79 Exploring Operation: 31-26=5, Resulting Numbers: [48, 5] Generated Node #0,2,3: 97:[48, 5] Operation: 31-26=5 Exploring Operation: 26+48=74, Resulting Numbers: [31, 74] Generated Node #0,2,4: 97:[31, 74] Operation: 26+48=74 Moving to Node #0,4 Current State: 97:[26, 13, 66], Operations: ['35+31=66'] Exploring Operation: 26+13=39, Resulting Numbers: [66, 39] Generated Node #0,4,0: 97:[66, 39] Operation: 26+13=39 Exploring Operation: 66-13=53, Resulting Numbers: [26, 53] Generated Node #0,4,1: 97:[26, 53] Operation: 66-13=53 Exploring Operation: 26+66=92, Resulting Numbers: [13, 92] Generated Node #0,4,2: 97:[13, 92] Operation: 26+66=92 Exploring Operation: 13+66=79, Resulting Numbers: [26, 79] Generated Node #0,4,3: 97:[26, 79] Operation: 13+66=79 Exploring Operation: 26-13=13, Resulting Numbers: [66, 13] Generated Node #0,4,4: 97:[66, 13] Operation: 26-13=13 Moving to Node #0,1 Current State: 97:[31, 13, 61], Operations: ['35+26=61'] Exploring Operation: 31-13=18, Resulting Numbers: [61, 18] Generated Node #0,1,0: 97:[61, 18] Operation: 31-13=18 Exploring Operation: 13+61=74, Resulting Numbers: [31, 74] Generated Node #0,1,1: 97:[31, 74] Operation: 13+61=74 Exploring Operation: 31+61=92, Resulting Numbers: [13, 92] Generated Node #0,1,2: 97:[13, 92] Operation: 31+61=92 Exploring Operation: 31+13=44, Resulting Numbers: [61, 44] Generated Node #0,1,3: 97:[61, 44] Operation: 31+13=44 Exploring Operation: 61-13=48, Resulting Numbers: [31, 48] Generated Node #0,1,4: 97:[31, 48] Operation: 61-13=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[31, 74], Operations: ['35+26=61', '13+61=74'] Exploring Operation: 31+74=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 31*74=2294, Resulting Numbers: [2294] 2294,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[13, 92], Operations: ['35+26=61', '31+61=92'] Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 13*92=1196, Resulting Numbers: [1196] 1196,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[61, 44], Operations: ['35+26=61', '31+13=44'] Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,97 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[61, 18], Operations: ['35+26=61', '31-13=18'] Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,97 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 97:[31, 48], Operations: ['35+26=61', '61-13=48'] Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,97 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,97 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: 97:[35, 26, 44], Operations: ['31+13=44'] Exploring Operation: 35+44=79, Resulting Numbers: [26, 79] Generated Node #0,3,0: 97:[26, 79] Operation: 35+44=79 Exploring Operation: 26+44=70, Resulting Numbers: [35, 70] Generated Node #0,3,1: 97:[35, 70] Operation: 26+44=70 Exploring Operation: 35+26=61, Resulting Numbers: [44, 61] Generated Node #0,3,2: 97:[44, 61] Operation: 35+26=61 Exploring Operation: 35-26=9, Resulting Numbers: [44, 9] Generated Node #0,3,3: 97:[44, 9] Operation: 35-26=9 Exploring Operation: 44-26=18, Resulting Numbers: [35, 18] Generated Node #0,3,4: 97:[35, 18] Operation: 44-26=18 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[26, 79], Operations: ['31+13=44', '35+44=79'] Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,97 unequal: No Solution Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[35, 70], Operations: ['31+13=44', '26+44=70'] Exploring Operation: 35+70=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 35*70=2450, Resulting Numbers: [2450] 2450,97 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[44, 61], Operations: ['31+13=44', '35+26=61'] Exploring Operation: 44*61=2684, Resulting Numbers: [2684] 2684,97 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 44+61=105, Resulting Numbers: [105] 105,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[44, 9], Operations: ['31+13=44', '35-26=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,97 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 97:[35, 18], Operations: ['31+13=44', '44-26=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,97 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 97:[48, 57], Operations: ['35+13=48', '31+26=57'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,97 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[31, 74], Operations: ['35+13=48', '26+48=74'] Exploring Operation: 31+74=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 31*74=2294, Resulting Numbers: [2294] 2294,97 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[13, 92], Operations: ['35+31=66', '26+66=92'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 13*92=1196, Resulting Numbers: [1196] 1196,97 unequal: No Solution Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[66, 39], Operations: ['35+31=66', '26+13=39'] Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 66*39=2574, Resulting Numbers: [2574] 2574,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[26, 79], Operations: ['35+13=48', '31+48=79'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[26, 79], Operations: ['35+31=66', '13+66=79'] Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,97 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[26, 53], Operations: ['35+31=66', '66-13=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,97 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[66, 13], Operations: ['35+31=66', '26-13=13'] Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,97 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[48, 5], Operations: ['35+13=48', '31-26=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,97 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[31, 22], Operations: ['35+13=48', '48-26=22'] Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,97 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,97 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 8, 80, 7, 5 ]
37
[ "80-8=72", "7*5=35", "72-35=37" ]
Current State: 37:[8, 80, 7, 5], Operations: [] Exploring Operation: 80-8=72, Resulting Numbers: [7, 5, 72] Generated Node #2: [7, 5, 72] from Operation: 80-8=72 Current State: 37:[7, 5, 72], Operations: ['80-8=72'] Exploring Operation: 7*5=35, Resulting Numbers: [72, 35] Generated Node #3: [72, 35] from Operation: 7*5=35 Current State: 37:[72, 35], Operations: ['80-8=72', '7*5=35'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[8, 80, 7, 5], Operations: [] Exploring Operation: 8*5=40, Resulting Numbers: [80, 7, 40] Generated Node #0,0: 37:[80, 7, 40] Operation: 8*5=40 Exploring Operation: 7*5=35, Resulting Numbers: [8, 80, 35] Generated Node #0,1: 37:[8, 80, 35] Operation: 7*5=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[8, 80, 35], Operations: ['7*5=35'] Exploring Operation: 80/8=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 37:[35, 10] Operation: 80/8=10 Exploring Operation: 80-8=72, Resulting Numbers: [35, 72] Generated Node #0,1,1: 37:[35, 72] Operation: 80-8=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[35, 10], Operations: ['7*5=35', '80/8=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,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:[35, 72], Operations: ['7*5=35', '80-8=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[8, 80, 7, 5], Operations: [] Exploring Operation: 7*5=35, Resulting Numbers: [8, 80, 35] Generated Node #0,1: 37:[8, 80, 35] Operation: 7*5=35 Moving to Node #0,1 Current State: 37:[8, 80, 35], Operations: ['7*5=35'] Exploring Operation: 80-8=72, Resulting Numbers: [35, 72] Generated Node #0,1,1: 37:[35, 72] Operation: 80-8=72 Moving to Node #0,1,1 Current State: 37:[35, 72], Operations: ['7*5=35', '80-8=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 75, 65, 91, 5 ]
89
[ "75-65=10", "10/5=2", "91-2=89" ]
Current State: 89:[75, 65, 91, 5], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [91, 5, 10] Generated Node #2: [91, 5, 10] from Operation: 75-65=10 Current State: 89:[91, 5, 10], Operations: ['75-65=10'] Exploring Operation: 10/5=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 10/5=2 Current State: 89:[91, 2], Operations: ['75-65=10', '10/5=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[75, 65, 91, 5], Operations: [] Exploring Operation: 75+5=80, Resulting Numbers: [65, 91, 80] Generated Node #0,0: 89:[65, 91, 80] Operation: 75+5=80 Exploring Operation: 91-5=86, Resulting Numbers: [75, 65, 86] Generated Node #0,1: 89:[75, 65, 86] Operation: 91-5=86 Exploring Operation: 65+5=70, Resulting Numbers: [75, 91, 70] Generated Node #0,2: 89:[75, 91, 70] Operation: 65+5=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[65, 91, 80], Operations: ['75+5=80'] Exploring Operation: 91-65=26, Resulting Numbers: [80, 26] Generated Node #0,0,0: 89:[80, 26] Operation: 91-65=26 Exploring Operation: 65+80=145, Resulting Numbers: [91, 145] Generated Node #0,0,1: 89:[91, 145] Operation: 65+80=145 Exploring Operation: 65+91=156, Resulting Numbers: [80, 156] Generated Node #0,0,2: 89:[80, 156] Operation: 65+91=156 Moving to Node #0,0,1 Current State: 89:[91, 145], Operations: ['75+5=80', '65+80=145'] Exploring Operation: 91+145=236, Resulting Numbers: [236] 236,89 unequal: No Solution Exploring Operation: 91*145=13195, Resulting Numbers: [13195] 13195,89 unequal: No Solution Exploring Operation: 145-91=54, Resulting Numbers: [54] 54,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[80, 26], Operations: ['75+5=80', '91-65=26'] Exploring Operation: 80*26=2080, Resulting Numbers: [2080] 2080,89 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[80, 156], Operations: ['75+5=80', '65+91=156'] Exploring Operation: 80+156=236, Resulting Numbers: [236] 236,89 unequal: No Solution Exploring Operation: 80*156=12480, Resulting Numbers: [12480] 12480,89 unequal: No Solution Exploring Operation: 156-80=76, Resulting Numbers: [76] 76,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[75, 91, 70], Operations: ['65+5=70'] Exploring Operation: 75-70=5, Resulting Numbers: [91, 5] Generated Node #0,2,0: 89:[91, 5] Operation: 75-70=5 Exploring Operation: 75+70=145, Resulting Numbers: [91, 145] Generated Node #0,2,1: 89:[91, 145] Operation: 75+70=145 Exploring Operation: 91-70=21, Resulting Numbers: [75, 21] Generated Node #0,2,2: 89:[75, 21] Operation: 91-70=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[91, 145], Operations: ['65+5=70', '75+70=145'] Exploring Operation: 145-91=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 91+145=236, Resulting Numbers: [236] 236,89 unequal: No Solution Exploring Operation: 91*145=13195, Resulting Numbers: [13195] 13195,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[75, 21], Operations: ['65+5=70', '91-70=21'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 75*21=1575, Resulting Numbers: [1575] 1575,89 unequal: No Solution Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[91, 5], Operations: ['65+5=70', '75-70=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,89 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,89 unequal: No Solution Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[75, 65, 86], Operations: ['91-5=86'] Exploring Operation: 75+65=140, Resulting Numbers: [86, 140] Generated Node #0,1,0: 89:[86, 140] Operation: 75+65=140 Exploring Operation: 65+86=151, Resulting Numbers: [75, 151] Generated Node #0,1,1: 89:[75, 151] Operation: 65+86=151 Exploring Operation: 75-65=10, Resulting Numbers: [86, 10] Generated Node #0,1,2: 89:[86, 10] Operation: 75-65=10 Moving to Node #0,1,0 Current State: 89:[86, 140], Operations: ['91-5=86', '75+65=140'] Exploring Operation: 140-86=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 86+140=226, Resulting Numbers: [226] 226,89 unequal: No Solution Exploring Operation: 86*140=12040, Resulting Numbers: [12040] 12040,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[75, 151], Operations: ['91-5=86', '65+86=151'] Exploring Operation: 75+151=226, Resulting Numbers: [226] 226,89 unequal: No Solution Exploring Operation: 151-75=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 75*151=11325, Resulting Numbers: [11325] 11325,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[86, 10], Operations: ['91-5=86', '75-65=10'] Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,89 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 72, 78, 42, 75 ]
18
[ "78-75=3", "72/3=24", "42-24=18" ]
Current State: 18:[72, 78, 42, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [72, 42, 3] Generated Node #2: [72, 42, 3] from Operation: 78-75=3 Current State: 18:[72, 42, 3], Operations: ['78-75=3'] Exploring Operation: 72/3=24, Resulting Numbers: [42, 24] Generated Node #3: [42, 24] from Operation: 72/3=24 Current State: 18:[42, 24], Operations: ['78-75=3', '72/3=24'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[72, 78, 42, 75], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [72, 75, 36] Generated Node #0,0: 18:[72, 75, 36] Operation: 78-42=36 Exploring Operation: 78-75=3, Resulting Numbers: [72, 42, 3] Generated Node #0,1: 18:[72, 42, 3] Operation: 78-75=3 Exploring Operation: 72-42=30, Resulting Numbers: [78, 75, 30] Generated Node #0,2: 18:[78, 75, 30] Operation: 72-42=30 Exploring Operation: 75-72=3, Resulting Numbers: [78, 42, 3] Generated Node #0,3: 18:[78, 42, 3] Operation: 75-72=3 Exploring Operation: 78-72=6, Resulting Numbers: [42, 75, 6] Generated Node #0,4: 18:[42, 75, 6] Operation: 78-72=6 Moving to Node #0,1 Current State: 18:[72, 42, 3], Operations: ['78-75=3'] Exploring Operation: 42/3=14, Resulting Numbers: [72, 14] Generated Node #0,1,0: 18:[72, 14] Operation: 42/3=14 Exploring Operation: 72-42=30, Resulting Numbers: [3, 30] Generated Node #0,1,1: 18:[3, 30] Operation: 72-42=30 Exploring Operation: 72/3=24, Resulting Numbers: [42, 24] Generated Node #0,1,2: 18:[42, 24] Operation: 72/3=24 Exploring Operation: 42-3=39, Resulting Numbers: [72, 39] Generated Node #0,1,3: 18:[72, 39] Operation: 42-3=39 Exploring Operation: 72-3=69, Resulting Numbers: [42, 69] Generated Node #0,1,4: 18:[42, 69] Operation: 72-3=69 Moving to Node #0,4 Current State: 18:[42, 75, 6], Operations: ['78-72=6'] Exploring Operation: 75-42=33, Resulting Numbers: [6, 33] Generated Node #0,4,0: 18:[6, 33] Operation: 75-42=33 Exploring Operation: 42+6=48, Resulting Numbers: [75, 48] Generated Node #0,4,1: 18:[75, 48] Operation: 42+6=48 Exploring Operation: 75-6=69, Resulting Numbers: [42, 69] Generated Node #0,4,2: 18:[42, 69] Operation: 75-6=69 Exploring Operation: 42/6=7, Resulting Numbers: [75, 7] Generated Node #0,4,3: 18:[75, 7] Operation: 42/6=7 Exploring Operation: 42-6=36, Resulting Numbers: [75, 36] Generated Node #0,4,4: 18:[75, 36] Operation: 42-6=36 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[6, 33], Operations: ['78-72=6', '75-42=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,18 unequal: No Solution No 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: 18:[75, 7], Operations: ['78-72=6', '42/6=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,18 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,18 unequal: No Solution No 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: 18:[42, 69], Operations: ['78-72=6', '75-6=69'] Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,18 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,18 unequal: No Solution No 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: 18:[75, 36], Operations: ['78-72=6', '42-6=36'] Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,18 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,18 unequal: No Solution No 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: 18:[75, 48], Operations: ['78-72=6', '42+6=48'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,18 unequal: No Solution Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,18 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: 18:[78, 42, 3], Operations: ['75-72=3'] Exploring Operation: 42/3=14, Resulting Numbers: [78, 14] Generated Node #0,3,0: 18:[78, 14] Operation: 42/3=14 Exploring Operation: 78-3=75, Resulting Numbers: [42, 75] Generated Node #0,3,1: 18:[42, 75] Operation: 78-3=75 Exploring Operation: 42-3=39, Resulting Numbers: [78, 39] Generated Node #0,3,2: 18:[78, 39] Operation: 42-3=39 Exploring Operation: 78-42=36, Resulting Numbers: [3, 36] Generated Node #0,3,3: 18:[3, 36] Operation: 78-42=36 Exploring Operation: 78/3=26, Resulting Numbers: [42, 26] Generated Node #0,3,4: 18:[42, 26] Operation: 78/3=26 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[3, 36], Operations: ['75-72=3', '78-42=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,18 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,18 unequal: No Solution No 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: 18:[42, 26], Operations: ['75-72=3', '78/3=26'] Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 42*26=1092, Resulting Numbers: [1092] 1092,18 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,18 unequal: No Solution No 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: 18:[78, 14], Operations: ['75-72=3', '42/3=14'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,18 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,18 unequal: No Solution No 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: 18:[42, 75], Operations: ['75-72=3', '78-3=75'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,18 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,18 unequal: No Solution No 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: 18:[78, 39], Operations: ['75-72=3', '42-3=39'] Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,18 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,18 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: 18:[72, 75, 36], Operations: ['78-42=36'] Exploring Operation: 72/36=2, Resulting Numbers: [75, 2] Generated Node #0,0,0: 18:[75, 2] Operation: 72/36=2 Exploring Operation: 75-72=3, Resulting Numbers: [36, 3] Generated Node #0,0,1: 18:[36, 3] Operation: 75-72=3 Exploring Operation: 72-36=36, Resulting Numbers: [75, 36] Generated Node #0,0,2: 18:[75, 36] Operation: 72-36=36 Exploring Operation: 72+75=147, Resulting Numbers: [36, 147] Generated Node #0,0,3: 18:[36, 147] Operation: 72+75=147 Exploring Operation: 75-36=39, Resulting Numbers: [72, 39] Generated Node #0,0,4: 18:[72, 39] Operation: 75-36=39 Moving to Node #0,2 Current State: 18:[78, 75, 30], Operations: ['72-42=30'] Exploring Operation: 75-30=45, Resulting Numbers: [78, 45] Generated Node #0,2,0: 18:[78, 45] Operation: 75-30=45 Exploring Operation: 78+75=153, Resulting Numbers: [30, 153] Generated Node #0,2,1: 18:[30, 153] Operation: 78+75=153 Exploring Operation: 78-75=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 18:[30, 3] Operation: 78-75=3 Exploring Operation: 78+30=108, Resulting Numbers: [75, 108] Generated Node #0,2,3: 18:[75, 108] Operation: 78+30=108 Exploring Operation: 78-30=48, Resulting Numbers: [75, 48] Generated Node #0,2,4: 18:[75, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[30, 3], Operations: ['72-42=30', '78-75=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,18 unequal: No Solution No 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: 18:[78, 45], Operations: ['72-42=30', '75-30=45'] Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 78*45=3510, Resulting Numbers: [3510] 3510,18 unequal: No Solution Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,18 unequal: No Solution No 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: 18:[75, 48], Operations: ['72-42=30', '78-30=48'] Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,18 unequal: No Solution Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,18 unequal: No Solution No 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: 18:[30, 153], Operations: ['72-42=30', '78+75=153'] Exploring Operation: 153-30=123, Resulting Numbers: [123] 123,18 unequal: No Solution Exploring Operation: 30+153=183, Resulting Numbers: [183] 183,18 unequal: No Solution Exploring Operation: 30*153=4590, Resulting Numbers: [4590] 4590,18 unequal: No Solution No 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: 18:[75, 108], Operations: ['72-42=30', '78+30=108'] Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,18 unequal: No Solution Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,18 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: 18:[3, 30], Operations: ['78-75=3', '72-42=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[36, 3], Operations: ['78-42=36', '75-72=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,18 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[42, 24], Operations: ['78-75=3', '72/3=24'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[72, 78, 42, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [72, 42, 3] Generated Node #0,1: 18:[72, 42, 3] Operation: 78-75=3 Moving to Node #0,1 Current State: 18:[72, 42, 3], Operations: ['78-75=3'] Exploring Operation: 72/3=24, Resulting Numbers: [42, 24] Generated Node #0,1,2: 18:[42, 24] Operation: 72/3=24 Moving to Node #0,1,2 Current State: 18:[42, 24], Operations: ['78-75=3', '72/3=24'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.921007
hs_5
mult_heuristic
[ 28, 58, 94, 2 ]
74
[ "94-28=66", "2*66=132", "132-58=74" ]
Current State: 74:[28, 58, 94, 2], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [58, 2, 66] Generated Node #2: [58, 2, 66] from Operation: 94-28=66 Current State: 74:[58, 2, 66], Operations: ['94-28=66'] Exploring Operation: 2*66=132, Resulting Numbers: [58, 132] Generated Node #3: [58, 132] from Operation: 2*66=132 Current State: 74:[58, 132], Operations: ['94-28=66', '2*66=132'] Exploring Operation: 132-58=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[28, 58, 94, 2], Operations: [] Exploring Operation: 94-58=36, Resulting Numbers: [28, 2, 36] Generated Node #0,0: 74:[28, 2, 36] Operation: 94-58=36 Exploring Operation: 58-28=30, Resulting Numbers: [94, 2, 30] Generated Node #0,1: 74:[94, 2, 30] Operation: 58-28=30 Exploring Operation: 28+58=86, Resulting Numbers: [94, 2, 86] Generated Node #0,2: 74:[94, 2, 86] Operation: 28+58=86 Exploring Operation: 94-28=66, Resulting Numbers: [58, 2, 66] Generated Node #0,3: 74:[58, 2, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[28, 2, 36], Operations: ['94-58=36'] Exploring Operation: 2+36=38, Resulting Numbers: [28, 38] Generated Node #0,0,0: 74:[28, 38] Operation: 2+36=38 Exploring Operation: 36-28=8, Resulting Numbers: [2, 8] Generated Node #0,0,1: 74:[2, 8] Operation: 36-28=8 Exploring Operation: 28+2=30, Resulting Numbers: [36, 30] Generated Node #0,0,2: 74:[36, 30] Operation: 28+2=30 Exploring Operation: 28+36=64, Resulting Numbers: [2, 64] Generated Node #0,0,3: 74:[2, 64] Operation: 28+36=64 Moving to Node #0,0,1 Current State: 74:[2, 8], Operations: ['94-58=36', '36-28=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[36, 30], Operations: ['94-58=36', '28+2=30'] Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,74 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[2, 64], Operations: ['94-58=36', '28+36=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,74 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,74 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[28, 38], Operations: ['94-58=36', '2+36=38'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 28*38=1064, Resulting Numbers: [1064] 1064,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[58, 2, 66], Operations: ['94-28=66'] Exploring Operation: 58/2=29, Resulting Numbers: [66, 29] Generated Node #0,3,0: 74:[66, 29] Operation: 58/2=29 Exploring Operation: 66-58=8, Resulting Numbers: [2, 8] Generated Node #0,3,1: 74:[2, 8] Operation: 66-58=8 Exploring Operation: 66/2=33, Resulting Numbers: [58, 33] Generated Node #0,3,2: 74:[58, 33] Operation: 66/2=33 Exploring Operation: 58+2=60, Resulting Numbers: [66, 60] Generated Node #0,3,3: 74:[66, 60] Operation: 58+2=60 Moving to Node #0,3,1 Current State: 74:[2, 8], Operations: ['94-28=66', '66-58=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[66, 29], Operations: ['94-28=66', '58/2=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,74 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,74 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[58, 33], Operations: ['94-28=66', '66/2=33'] Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,74 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[66, 60], Operations: ['94-28=66', '58+2=60'] Exploring Operation: 66+60=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 66*60=3960, Resulting Numbers: [3960] 3960,74 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[94, 2, 30], Operations: ['58-28=30'] Exploring Operation: 94/2=47, Resulting Numbers: [30, 47] Generated Node #0,1,0: 74:[30, 47] Operation: 94/2=47 Exploring Operation: 94-30=64, Resulting Numbers: [2, 64] Generated Node #0,1,1: 74:[2, 64] Operation: 94-30=64 Exploring Operation: 94-2=92, Resulting Numbers: [30, 92] Generated Node #0,1,2: 74:[30, 92] Operation: 94-2=92 Exploring Operation: 2+30=32, Resulting Numbers: [94, 32] Generated Node #0,1,3: 74:[94, 32] Operation: 2+30=32 Moving to Node #0,1,1 Current State: 74:[2, 64], Operations: ['58-28=30', '94-30=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,74 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,74 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[30, 47], Operations: ['58-28=30', '94/2=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,74 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[94, 32], Operations: ['58-28=30', '2+30=32'] Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,74 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[30, 92], Operations: ['58-28=30', '94-2=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 30*92=2760, Resulting Numbers: [2760] 2760,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[94, 2, 86], Operations: ['28+58=86'] Exploring Operation: 86/2=43, Resulting Numbers: [94, 43] Generated Node #0,2,0: 74:[94, 43] Operation: 86/2=43 Exploring Operation: 94-2=92, Resulting Numbers: [86, 92] Generated Node #0,2,1: 74:[86, 92] Operation: 94-2=92 Exploring Operation: 94-86=8, Resulting Numbers: [2, 8] Generated Node #0,2,2: 74:[2, 8] Operation: 94-86=8 Exploring Operation: 94/2=47, Resulting Numbers: [86, 47] Generated Node #0,2,3: 74:[86, 47] Operation: 94/2=47 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[2, 8], Operations: ['28+58=86', '94-86=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 74:[86, 47], Operations: ['28+58=86', '94/2=47'] Exploring Operation: 86+47=133, Resulting Numbers: [133] 133,74 unequal: No Solution Exploring Operation: 86*47=4042, Resulting Numbers: [4042] 4042,74 unequal: No Solution Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[94, 43], Operations: ['28+58=86', '86/2=43'] Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,74 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[86, 92], Operations: ['28+58=86', '94-2=92'] Exploring Operation: 86*92=7912, Resulting Numbers: [7912] 7912,74 unequal: No Solution Exploring Operation: 86+92=178, Resulting Numbers: [178] 178,74 unequal: No Solution Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 28, 3, 9, 11 ]
50
[ "28-3=25", "11-9=2", "25*2=50" ]
Current State: 50:[28, 3, 9, 11], Operations: [] Exploring Operation: 28-3=25, Resulting Numbers: [9, 11, 25] Generated Node #2: [9, 11, 25] from Operation: 28-3=25 Current State: 50:[9, 11, 25], Operations: ['28-3=25'] Exploring Operation: 11-9=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 11-9=2 Current State: 50:[25, 2], Operations: ['28-3=25', '11-9=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[28, 3, 9, 11], Operations: [] Exploring Operation: 28-3=25, Resulting Numbers: [9, 11, 25] Generated Node #0,0: 50:[9, 11, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[9, 11, 25], Operations: ['28-3=25'] Exploring Operation: 11-9=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 50:[25, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[25, 2], Operations: ['28-3=25', '11-9=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[28, 3, 9, 11], Operations: [] Exploring Operation: 28-3=25, Resulting Numbers: [9, 11, 25] Generated Node #0,0: 50:[9, 11, 25] Operation: 28-3=25 Moving to Node #0,0 Current State: 50:[9, 11, 25], Operations: ['28-3=25'] Exploring Operation: 11-9=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 50:[25, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 50:[25, 2], Operations: ['28-3=25', '11-9=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 64, 76, 9, 78 ]
57
[ "76-64=12", "78-9=69", "69-12=57" ]
Current State: 57:[64, 76, 9, 78], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [9, 78, 12] Generated Node #2: [9, 78, 12] from Operation: 76-64=12 Current State: 57:[9, 78, 12], Operations: ['76-64=12'] Exploring Operation: 78-9=69, Resulting Numbers: [12, 69] Generated Node #3: [12, 69] from Operation: 78-9=69 Current State: 57:[12, 69], Operations: ['76-64=12', '78-9=69'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[64, 76, 9, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [64, 9, 2] Generated Node #0,0: 57:[64, 9, 2] Operation: 78-76=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[64, 9, 2], Operations: ['78-76=2'] Exploring Operation: 64-9=55, Resulting Numbers: [2, 55] Generated Node #0,0,0: 57:[2, 55] Operation: 64-9=55 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[2, 55], Operations: ['78-76=2', '64-9=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[64, 76, 9, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [64, 9, 2] Generated Node #0,0: 57:[64, 9, 2] Operation: 78-76=2 Moving to Node #0,0 Current State: 57:[64, 9, 2], Operations: ['78-76=2'] Exploring Operation: 64-9=55, Resulting Numbers: [2, 55] Generated Node #0,0,0: 57:[2, 55] Operation: 64-9=55 Moving to Node #0,0,0 Current State: 57:[2, 55], Operations: ['78-76=2', '64-9=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 45, 49, 81 ]
35
[ "45+49=94", "81+94=175", "175/5=35" ]
Current State: 35:[5, 45, 49, 81], Operations: [] Exploring Operation: 45+49=94, Resulting Numbers: [5, 81, 94] Generated Node #2: [5, 81, 94] from Operation: 45+49=94 Current State: 35:[5, 81, 94], Operations: ['45+49=94'] Exploring Operation: 81+94=175, Resulting Numbers: [5, 175] Generated Node #3: [5, 175] from Operation: 81+94=175 Current State: 35:[5, 175], Operations: ['45+49=94', '81+94=175'] Exploring Operation: 175/5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[5, 45, 49, 81], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [5, 49, 36] Generated Node #0,0: 35:[5, 49, 36] Operation: 81-45=36 Exploring Operation: 81-49=32, Resulting Numbers: [5, 45, 32] Generated Node #0,1: 35:[5, 45, 32] Operation: 81-49=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[5, 45, 32], Operations: ['81-49=32'] Exploring Operation: 45-32=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 35:[5, 13] Operation: 45-32=13 Exploring Operation: 45/5=9, Resulting Numbers: [32, 9] Generated Node #0,1,1: 35:[32, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[32, 9], Operations: ['81-49=32', '45/5=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[5, 13], Operations: ['81-49=32', '45-32=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,35 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: 35:[5, 49, 36], Operations: ['81-45=36'] Exploring Operation: 49-36=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 35:[5, 13] Operation: 49-36=13 Exploring Operation: 49-5=44, Resulting Numbers: [36, 44] Generated Node #0,0,1: 35:[36, 44] Operation: 49-5=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[5, 13], Operations: ['81-45=36', '49-36=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[36, 44], Operations: ['81-45=36', '49-5=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 4, 64, 18, 3 ]
89
[ "4+64=68", "18+3=21", "68+21=89" ]
Current State: 89:[4, 64, 18, 3], Operations: [] Exploring Operation: 4+64=68, Resulting Numbers: [18, 3, 68] Generated Node #2: [18, 3, 68] from Operation: 4+64=68 Current State: 89:[18, 3, 68], Operations: ['4+64=68'] Exploring Operation: 18+3=21, Resulting Numbers: [68, 21] Generated Node #3: [68, 21] from Operation: 18+3=21 Current State: 89:[68, 21], Operations: ['4+64=68', '18+3=21'] Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[4, 64, 18, 3], Operations: [] Exploring Operation: 4*3=12, Resulting Numbers: [64, 18, 12] Generated Node #0,0: 89:[64, 18, 12] Operation: 4*3=12 Exploring Operation: 4*18=72, Resulting Numbers: [64, 3, 72] Generated Node #0,1: 89:[64, 3, 72] Operation: 4*18=72 Exploring Operation: 18*3=54, Resulting Numbers: [4, 64, 54] Generated Node #0,2: 89:[4, 64, 54] Operation: 18*3=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[64, 3, 72], Operations: ['4*18=72'] Exploring Operation: 64-3=61, Resulting Numbers: [72, 61] Generated Node #0,1,0: 89:[72, 61] Operation: 64-3=61 Exploring Operation: 3+72=75, Resulting Numbers: [64, 75] Generated Node #0,1,1: 89:[64, 75] Operation: 3+72=75 Exploring Operation: 64+3=67, Resulting Numbers: [72, 67] Generated Node #0,1,2: 89:[72, 67] Operation: 64+3=67 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[64, 75], Operations: ['4*18=72', '3+72=75'] Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,89 unequal: No Solution Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[72, 67], Operations: ['4*18=72', '64+3=67'] Exploring Operation: 72*67=4824, Resulting Numbers: [4824] 4824,89 unequal: No Solution Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[72, 61], Operations: ['4*18=72', '64-3=61'] Exploring Operation: 72*61=4392, Resulting Numbers: [4392] 4392,89 unequal: No Solution Exploring Operation: 72+61=133, Resulting Numbers: [133] 133,89 unequal: No Solution Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[4, 64, 54], Operations: ['18*3=54'] Exploring Operation: 4+54=58, Resulting Numbers: [64, 58] Generated Node #0,2,0: 89:[64, 58] Operation: 4+54=58 Exploring Operation: 4+64=68, Resulting Numbers: [54, 68] Generated Node #0,2,1: 89:[54, 68] Operation: 4+64=68 Exploring Operation: 64-4=60, Resulting Numbers: [54, 60] Generated Node #0,2,2: 89:[54, 60] Operation: 64-4=60 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[64, 58], Operations: ['18*3=54', '4+54=58'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[54, 68], Operations: ['18*3=54', '4+64=68'] Exploring Operation: 54+68=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 54*68=3672, Resulting Numbers: [3672] 3672,89 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[54, 60], Operations: ['18*3=54', '64-4=60'] Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,89 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[64, 18, 12], Operations: ['4*3=12'] Exploring Operation: 18+12=30, Resulting Numbers: [64, 30] Generated Node #0,0,0: 89:[64, 30] Operation: 18+12=30 Exploring Operation: 64+12=76, Resulting Numbers: [18, 76] Generated Node #0,0,1: 89:[18, 76] Operation: 64+12=76 Exploring Operation: 64+18=82, Resulting Numbers: [12, 82] Generated Node #0,0,2: 89:[12, 82] Operation: 64+18=82 Moving to Node #0,0,0 Current State: 89:[64, 30], Operations: ['4*3=12', '18+12=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,89 unequal: No Solution Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[18, 76], Operations: ['4*3=12', '64+12=76'] Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,89 unequal: No Solution Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,89 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[12, 82], Operations: ['4*3=12', '64+18=82'] Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 12+82=94, Resulting Numbers: [94] 94,89 unequal: No Solution Exploring Operation: 12*82=984, Resulting Numbers: [984] 984,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 64, 80, 19, 27 ]
62
[ "80-64=16", "19+27=46", "16+46=62" ]
Current State: 62:[64, 80, 19, 27], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [19, 27, 16] Generated Node #2: [19, 27, 16] from Operation: 80-64=16 Current State: 62:[19, 27, 16], Operations: ['80-64=16'] Exploring Operation: 19+27=46, Resulting Numbers: [16, 46] Generated Node #3: [16, 46] from Operation: 19+27=46 Current State: 62:[16, 46], Operations: ['80-64=16', '19+27=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[64, 80, 19, 27], Operations: [] Exploring Operation: 80-19=61, Resulting Numbers: [64, 27, 61] Generated Node #0,0: 62:[64, 27, 61] Operation: 80-19=61 Exploring Operation: 80-27=53, Resulting Numbers: [64, 19, 53] Generated Node #0,1: 62:[64, 19, 53] Operation: 80-27=53 Exploring Operation: 27-19=8, Resulting Numbers: [64, 80, 8] Generated Node #0,2: 62:[64, 80, 8] Operation: 27-19=8 Exploring Operation: 80-64=16, Resulting Numbers: [19, 27, 16] Generated Node #0,3: 62:[19, 27, 16] Operation: 80-64=16 Moving to Node #0,0 Current State: 62:[64, 27, 61], Operations: ['80-19=61'] Exploring Operation: 64-61=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 62:[27, 3] Operation: 64-61=3 Exploring Operation: 27+61=88, Resulting Numbers: [64, 88] Generated Node #0,0,1: 62:[64, 88] Operation: 27+61=88 Exploring Operation: 61-27=34, Resulting Numbers: [64, 34] Generated Node #0,0,2: 62:[64, 34] Operation: 61-27=34 Exploring Operation: 64-27=37, Resulting Numbers: [61, 37] Generated Node #0,0,3: 62:[61, 37] Operation: 64-27=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[27, 3], Operations: ['80-19=61', '64-61=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,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,2 Current State: 62:[64, 34], Operations: ['80-19=61', '61-27=34'] Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,62 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,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,3 Current State: 62:[61, 37], Operations: ['80-19=61', '64-27=37'] Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,62 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,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,1 Current State: 62:[64, 88], Operations: ['80-19=61', '27+61=88'] Exploring Operation: 88-64=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 64+88=152, Resulting Numbers: [152] 152,62 unequal: No Solution Exploring Operation: 64*88=5632, Resulting Numbers: [5632] 5632,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 62:[64, 19, 53], Operations: ['80-27=53'] Exploring Operation: 19+53=72, Resulting Numbers: [64, 72] Generated Node #0,1,0: 62:[64, 72] Operation: 19+53=72 Exploring Operation: 64-19=45, Resulting Numbers: [53, 45] Generated Node #0,1,1: 62:[53, 45] Operation: 64-19=45 Exploring Operation: 53-19=34, Resulting Numbers: [64, 34] Generated Node #0,1,2: 62:[64, 34] Operation: 53-19=34 Exploring Operation: 64-53=11, Resulting Numbers: [19, 11] Generated Node #0,1,3: 62:[19, 11] Operation: 64-53=11 Moving to Node #0,2 Current State: 62:[64, 80, 8], Operations: ['27-19=8'] Exploring Operation: 80-8=72, Resulting Numbers: [64, 72] Generated Node #0,2,0: 62:[64, 72] Operation: 80-8=72 Exploring Operation: 80-64=16, Resulting Numbers: [8, 16] Generated Node #0,2,1: 62:[8, 16] Operation: 80-64=16 Exploring Operation: 64-8=56, Resulting Numbers: [80, 56] Generated Node #0,2,2: 62:[80, 56] Operation: 64-8=56 Exploring Operation: 80/8=10, Resulting Numbers: [64, 10] Generated Node #0,2,3: 62:[64, 10] Operation: 80/8=10 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[64, 10], Operations: ['27-19=8', '80/8=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,62 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,62 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[64, 72], Operations: ['27-19=8', '80-8=72'] Exploring Operation: 64*72=4608, Resulting Numbers: [4608] 4608,62 unequal: No Solution Exploring Operation: 64+72=136, Resulting Numbers: [136] 136,62 unequal: No Solution Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[8, 16], Operations: ['27-19=8', '80-64=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,62 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[80, 56], Operations: ['27-19=8', '64-8=56'] Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 80+56=136, Resulting Numbers: [136] 136,62 unequal: No Solution Exploring Operation: 80*56=4480, Resulting Numbers: [4480] 4480,62 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: 62:[19, 27, 16], Operations: ['80-64=16'] Exploring Operation: 27-19=8, Resulting Numbers: [16, 8] Generated Node #0,3,0: 62:[16, 8] Operation: 27-19=8 Exploring Operation: 19-16=3, Resulting Numbers: [27, 3] Generated Node #0,3,1: 62:[27, 3] Operation: 19-16=3 Exploring Operation: 27-16=11, Resulting Numbers: [19, 11] Generated Node #0,3,2: 62:[19, 11] Operation: 27-16=11 Exploring Operation: 19+16=35, Resulting Numbers: [27, 35] Generated Node #0,3,3: 62:[27, 35] Operation: 19+16=35 Moving to Node #0,1,2 Current State: 62:[64, 34], Operations: ['80-27=53', '53-19=34'] Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,62 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[27, 3], Operations: ['80-64=16', '19-16=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[27, 35], Operations: ['80-64=16', '19+16=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[64, 80, 19, 27], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [19, 27, 16] Generated Node #0,3: 62:[19, 27, 16] Operation: 80-64=16 Moving to Node #0,3 Current State: 62:[19, 27, 16], Operations: ['80-64=16'] Exploring Operation: 19+16=35, Resulting Numbers: [27, 35] Generated Node #0,3,3: 62:[27, 35] Operation: 19+16=35 Moving to Node #0,3,3 Current State: 62:[27, 35], Operations: ['80-64=16', '19+16=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.949653
hs_4
sum_heuristic
[ 13, 3, 1, 5 ]
57
[ "13+1=14", "5+14=19", "3*19=57" ]
Current State: 57:[13, 3, 1, 5], Operations: [] Exploring Operation: 13+1=14, Resulting Numbers: [3, 5, 14] Generated Node #2: [3, 5, 14] from Operation: 13+1=14 Current State: 57:[3, 5, 14], Operations: ['13+1=14'] Exploring Operation: 5+14=19, Resulting Numbers: [3, 19] Generated Node #3: [3, 19] from Operation: 5+14=19 Current State: 57:[3, 19], Operations: ['13+1=14', '5+14=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[13, 3, 1, 5], Operations: [] Exploring Operation: 13+1=14, Resulting Numbers: [3, 5, 14] Generated Node #0,0: 57:[3, 5, 14] Operation: 13+1=14 Exploring Operation: 13+5=18, Resulting Numbers: [3, 1, 18] Generated Node #0,1: 57:[3, 1, 18] Operation: 13+5=18 Exploring Operation: 13+3=16, Resulting Numbers: [1, 5, 16] Generated Node #0,2: 57:[1, 5, 16] Operation: 13+3=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[3, 1, 18], Operations: ['13+5=18'] Exploring Operation: 1+18=19, Resulting Numbers: [3, 19] Generated Node #0,1,0: 57:[3, 19] Operation: 1+18=19 Exploring Operation: 3/1=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 57:[18, 3] Operation: 3/1=3 Exploring Operation: 3*1=3, Resulting Numbers: [18, 3] Generated Node #0,1,2: 57:[18, 3] Operation: 3*1=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[3, 19], Operations: ['13+5=18', '1+18=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[13, 3, 1, 5], Operations: [] Exploring Operation: 13+5=18, Resulting Numbers: [3, 1, 18] Generated Node #0,1: 57:[3, 1, 18] Operation: 13+5=18 Moving to Node #0,1 Current State: 57:[3, 1, 18], Operations: ['13+5=18'] Exploring Operation: 1+18=19, Resulting Numbers: [3, 19] Generated Node #0,1,0: 57:[3, 19] Operation: 1+18=19 Moving to Node #0,1,0 Current State: 57:[3, 19], Operations: ['13+5=18', '1+18=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 5, 95, 91, 8 ]
10
[ "5*8=40", "95-91=4", "40/4=10" ]
Current State: 10:[5, 95, 91, 8], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [95, 91, 40] Generated Node #2: [95, 91, 40] from Operation: 5*8=40 Current State: 10:[95, 91, 40], Operations: ['5*8=40'] Exploring Operation: 95-91=4, Resulting Numbers: [40, 4] Generated Node #3: [40, 4] from Operation: 95-91=4 Current State: 10:[40, 4], Operations: ['5*8=40', '95-91=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[5, 95, 91, 8], Operations: [] Exploring Operation: 95-5=90, Resulting Numbers: [91, 8, 90] Generated Node #0,0: 10:[91, 8, 90] Operation: 95-5=90 Exploring Operation: 95/5=19, Resulting Numbers: [91, 8, 19] Generated Node #0,1: 10:[91, 8, 19] Operation: 95/5=19 Exploring Operation: 95-8=87, Resulting Numbers: [5, 91, 87] Generated Node #0,2: 10:[5, 91, 87] Operation: 95-8=87 Exploring Operation: 95-91=4, Resulting Numbers: [5, 8, 4] Generated Node #0,3: 10:[5, 8, 4] Operation: 95-91=4 Exploring Operation: 91-8=83, Resulting Numbers: [5, 95, 83] Generated Node #0,4: 10:[5, 95, 83] Operation: 91-8=83 Moving to Node #0,3 Current State: 10:[5, 8, 4], Operations: ['95-91=4'] Exploring Operation: 8-5=3, Resulting Numbers: [4, 3] Generated Node #0,3,0: 10:[4, 3] Operation: 8-5=3 Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,3,1: 10:[5, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,3,2: 10:[5, 4] Operation: 8-4=4 Exploring Operation: 5+4=9, Resulting Numbers: [8, 9] Generated Node #0,3,3: 10:[8, 9] Operation: 5+4=9 Exploring Operation: 8+4=12, Resulting Numbers: [5, 12] Generated Node #0,3,4: 10:[5, 12] Operation: 8+4=12 Moving to Node #0,1 Current State: 10:[91, 8, 19], Operations: ['95/5=19'] Exploring Operation: 91-19=72, Resulting Numbers: [8, 72] Generated Node #0,1,0: 10:[8, 72] Operation: 91-19=72 Exploring Operation: 91-8=83, Resulting Numbers: [19, 83] Generated Node #0,1,1: 10:[19, 83] Operation: 91-8=83 Exploring Operation: 19-8=11, Resulting Numbers: [91, 11] Generated Node #0,1,2: 10:[91, 11] Operation: 19-8=11 Exploring Operation: 8+19=27, Resulting Numbers: [91, 27] Generated Node #0,1,3: 10:[91, 27] Operation: 8+19=27 Exploring Operation: 91+8=99, Resulting Numbers: [19, 99] Generated Node #0,1,4: 10:[19, 99] Operation: 91+8=99 Moving to Node #0,2 Current State: 10:[5, 91, 87], Operations: ['95-8=87'] Exploring Operation: 87-5=82, Resulting Numbers: [91, 82] Generated Node #0,2,0: 10:[91, 82] Operation: 87-5=82 Exploring Operation: 5+91=96, Resulting Numbers: [87, 96] Generated Node #0,2,1: 10:[87, 96] Operation: 5+91=96 Exploring Operation: 91-5=86, Resulting Numbers: [87, 86] Generated Node #0,2,2: 10:[87, 86] Operation: 91-5=86 Exploring Operation: 5+87=92, Resulting Numbers: [91, 92] Generated Node #0,2,3: 10:[91, 92] Operation: 5+87=92 Exploring Operation: 91-87=4, Resulting Numbers: [5, 4] Generated Node #0,2,4: 10:[5, 4] Operation: 91-87=4 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[5, 4], Operations: ['95-8=87', '91-87=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,10 unequal: No Solution No 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: 10:[91, 82], Operations: ['95-8=87', '87-5=82'] Exploring Operation: 91*82=7462, Resulting Numbers: [7462] 7462,10 unequal: No Solution Exploring Operation: 91-82=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 91+82=173, Resulting Numbers: [173] 173,10 unequal: No Solution No 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: 10:[87, 86], Operations: ['95-8=87', '91-5=86'] Exploring Operation: 87*86=7482, Resulting Numbers: [7482] 7482,10 unequal: No Solution Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 87+86=173, Resulting Numbers: [173] 173,10 unequal: No Solution No 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: 10:[87, 96], Operations: ['95-8=87', '5+91=96'] Exploring Operation: 87+96=183, Resulting Numbers: [183] 183,10 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 87*96=8352, Resulting Numbers: [8352] 8352,10 unequal: No Solution No 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: 10:[91, 92], Operations: ['95-8=87', '5+87=92'] Exploring Operation: 92-91=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 91+92=183, Resulting Numbers: [183] 183,10 unequal: No Solution Exploring Operation: 91*92=8372, Resulting Numbers: [8372] 8372,10 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: 10:[5, 95, 83], Operations: ['91-8=83'] Exploring Operation: 5+95=100, Resulting Numbers: [83, 100] Generated Node #0,4,0: 10:[83, 100] Operation: 5+95=100 Exploring Operation: 95-83=12, Resulting Numbers: [5, 12] Generated Node #0,4,1: 10:[5, 12] Operation: 95-83=12 Exploring Operation: 83-5=78, Resulting Numbers: [95, 78] Generated Node #0,4,2: 10:[95, 78] Operation: 83-5=78 Exploring Operation: 95/5=19, Resulting Numbers: [83, 19] Generated Node #0,4,3: 10:[83, 19] Operation: 95/5=19 Exploring Operation: 95-5=90, Resulting Numbers: [83, 90] Generated Node #0,4,4: 10:[83, 90] Operation: 95-5=90 Moving to Node #0,0 Current State: 10:[91, 8, 90], Operations: ['95-5=90'] Exploring Operation: 91+8=99, Resulting Numbers: [90, 99] Generated Node #0,0,0: 10:[90, 99] Operation: 91+8=99 Exploring Operation: 91-90=1, Resulting Numbers: [8, 1] Generated Node #0,0,1: 10:[8, 1] Operation: 91-90=1 Exploring Operation: 90-8=82, Resulting Numbers: [91, 82] Generated Node #0,0,2: 10:[91, 82] Operation: 90-8=82 Exploring Operation: 91-8=83, Resulting Numbers: [90, 83] Generated Node #0,0,3: 10:[90, 83] Operation: 91-8=83 Exploring Operation: 8+90=98, Resulting Numbers: [91, 98] Generated Node #0,0,4: 10:[91, 98] Operation: 8+90=98 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[8, 1], Operations: ['95-5=90', '91-90=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,10 unequal: No Solution No 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: 10:[91, 82], Operations: ['95-5=90', '90-8=82'] Exploring Operation: 91+82=173, Resulting Numbers: [173] 173,10 unequal: No Solution Exploring Operation: 91*82=7462, Resulting Numbers: [7462] 7462,10 unequal: No Solution Exploring Operation: 91-82=9, Resulting Numbers: [9] 9,10 unequal: No Solution No 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: 10:[90, 83], Operations: ['95-5=90', '91-8=83'] Exploring Operation: 90-83=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 90+83=173, Resulting Numbers: [173] 173,10 unequal: No Solution Exploring Operation: 90*83=7470, Resulting Numbers: [7470] 7470,10 unequal: No Solution No 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: 10:[90, 99], Operations: ['95-5=90', '91+8=99'] Exploring Operation: 90*99=8910, Resulting Numbers: [8910] 8910,10 unequal: No Solution Exploring Operation: 99-90=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 90+99=189, Resulting Numbers: [189] 189,10 unequal: No Solution No 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: 10:[91, 98], Operations: ['95-5=90', '8+90=98'] Exploring Operation: 91*98=8918, Resulting Numbers: [8918] 8918,10 unequal: No Solution Exploring Operation: 98-91=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 91+98=189, Resulting Numbers: [189] 189,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 10:[5, 2], Operations: ['95-91=4', '8/4=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[5, 95, 91, 8], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [5, 8, 4] Generated Node #0,3: 10:[5, 8, 4] Operation: 95-91=4 Moving to Node #0,3 Current State: 10:[5, 8, 4], Operations: ['95-91=4'] Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,3,1: 10:[5, 2] Operation: 8/4=2 Moving to Node #0,3,1 Current State: 10:[5, 2], Operations: ['95-91=4', '8/4=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.942708
hs_5
sum_heuristic
[ 99, 31, 2, 16 ]
48
[ "99*16=1584", "31+2=33", "1584/33=48" ]
Current State: 48:[99, 31, 2, 16], Operations: [] Exploring Operation: 99*16=1584, Resulting Numbers: [31, 2, 1584] Generated Node #2: [31, 2, 1584] from Operation: 99*16=1584 Current State: 48:[31, 2, 1584], Operations: ['99*16=1584'] Exploring Operation: 31+2=33, Resulting Numbers: [1584, 33] Generated Node #3: [1584, 33] from Operation: 31+2=33 Current State: 48:[1584, 33], Operations: ['99*16=1584', '31+2=33'] Exploring Operation: 1584/33=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[99, 31, 2, 16], Operations: [] Exploring Operation: 99-31=68, Resulting Numbers: [2, 16, 68] Generated Node #0,0: 48:[2, 16, 68] Operation: 99-31=68 Moving to Node #0,0 Current State: 48:[2, 16, 68], Operations: ['99-31=68'] Exploring Operation: 68-16=52, Resulting Numbers: [2, 52] Generated Node #0,0,0: 48:[2, 52] Operation: 68-16=52 Moving to Node #0,0,0 Current State: 48:[2, 52], Operations: ['99-31=68', '68-16=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,48 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 3, 3, 84, 56 ]
75
[ "84-3=81", "81-56=25", "3*25=75" ]
Current State: 75:[3, 3, 84, 56], Operations: [] Exploring Operation: 84-3=81, Resulting Numbers: [56, 81] Generated Node #2: [56, 81] from Operation: 84-3=81 Current State: 75:[56, 81], Operations: ['84-3=81'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,75 equal: Goal Reached Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[3, 3, 84, 56], Operations: [] Exploring Operation: 84/3=28, Resulting Numbers: [3, 56, 28] Generated Node #0,0: 75:[3, 56, 28] Operation: 84/3=28 Exploring Operation: 84-56=28, Resulting Numbers: [3, 3, 28] Generated Node #0,1: 75:[3, 3, 28] Operation: 84-56=28 Moving to Node #0,1 Current State: 75:[3, 3, 28], Operations: ['84-56=28'] Exploring Operation: 28-3=25, Resulting Numbers: [3, 25] Generated Node #0,1,0: 75:[3, 25] Operation: 28-3=25 Exploring Operation: 28-3=25, Resulting Numbers: [3, 25] Generated Node #0,1,1: 75:[3, 25] Operation: 28-3=25 Moving to Node #0,0 Current State: 75:[3, 56, 28], Operations: ['84/3=28'] Exploring Operation: 56/28=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 75:[3, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [3, 28] Generated Node #0,0,1: 75:[3, 28] Operation: 56-28=28 Moving to Node #0,1,0 Current State: 75:[3, 25], Operations: ['84-56=28', '28-3=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[3, 3, 84, 56], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [3, 3, 28] Generated Node #0,1: 75:[3, 3, 28] Operation: 84-56=28 Moving to Node #0,1 Current State: 75:[3, 3, 28], Operations: ['84-56=28'] Exploring Operation: 28-3=25, Resulting Numbers: [3, 25] Generated Node #0,1,0: 75:[3, 25] Operation: 28-3=25 Moving to Node #0,1,0 Current State: 75:[3, 25], Operations: ['84-56=28', '28-3=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 4, 93, 28, 8 ]
31
[ "28-4=24", "93*8=744", "744/24=31" ]
Current State: 31:[4, 93, 28, 8], Operations: [] Exploring Operation: 28-4=24, Resulting Numbers: [93, 8, 24] Generated Node #2: [93, 8, 24] from Operation: 28-4=24 Current State: 31:[93, 8, 24], Operations: ['28-4=24'] Exploring Operation: 93*8=744, Resulting Numbers: [24, 744] Generated Node #3: [24, 744] from Operation: 93*8=744 Current State: 31:[24, 744], Operations: ['28-4=24', '93*8=744'] Exploring Operation: 744/24=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[4, 93, 28, 8], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [4, 28, 85] Generated Node #0,0: 31:[4, 28, 85] Operation: 93-8=85 Exploring Operation: 4*8=32, Resulting Numbers: [93, 28, 32] Generated Node #0,1: 31:[93, 28, 32] Operation: 4*8=32 Exploring Operation: 93-4=89, Resulting Numbers: [28, 8, 89] Generated Node #0,2: 31:[28, 8, 89] Operation: 93-4=89 Exploring Operation: 4+8=12, Resulting Numbers: [93, 28, 12] Generated Node #0,3: 31:[93, 28, 12] Operation: 4+8=12 Exploring Operation: 93-28=65, Resulting Numbers: [4, 8, 65] Generated Node #0,4: 31:[4, 8, 65] Operation: 93-28=65 Moving to Node #0,1 Current State: 31:[93, 28, 32], Operations: ['4*8=32'] Exploring Operation: 32-28=4, Resulting Numbers: [93, 4] Generated Node #0,1,0: 31:[93, 4] Operation: 32-28=4 Exploring Operation: 93-32=61, Resulting Numbers: [28, 61] Generated Node #0,1,1: 31:[28, 61] Operation: 93-32=61 Exploring Operation: 28+32=60, Resulting Numbers: [93, 60] Generated Node #0,1,2: 31:[93, 60] Operation: 28+32=60 Exploring Operation: 93-28=65, Resulting Numbers: [32, 65] Generated Node #0,1,3: 31:[32, 65] Operation: 93-28=65 Exploring Operation: 93+28=121, Resulting Numbers: [32, 121] Generated Node #0,1,4: 31:[32, 121] Operation: 93+28=121 Moving to Node #0,2 Current State: 31:[28, 8, 89], Operations: ['93-4=89'] Exploring Operation: 28+8=36, Resulting Numbers: [89, 36] Generated Node #0,2,0: 31:[89, 36] Operation: 28+8=36 Exploring Operation: 28-8=20, Resulting Numbers: [89, 20] Generated Node #0,2,1: 31:[89, 20] Operation: 28-8=20 Exploring Operation: 8+89=97, Resulting Numbers: [28, 97] Generated Node #0,2,2: 31:[28, 97] Operation: 8+89=97 Exploring Operation: 89-8=81, Resulting Numbers: [28, 81] Generated Node #0,2,3: 31:[28, 81] Operation: 89-8=81 Exploring Operation: 89-28=61, Resulting Numbers: [8, 61] Generated Node #0,2,4: 31:[8, 61] Operation: 89-28=61 Moving to Node #0,4 Current State: 31:[4, 8, 65], Operations: ['93-28=65'] Exploring Operation: 65-4=61, Resulting Numbers: [8, 61] Generated Node #0,4,0: 31:[8, 61] Operation: 65-4=61 Exploring Operation: 8-4=4, Resulting Numbers: [65, 4] Generated Node #0,4,1: 31:[65, 4] Operation: 8-4=4 Exploring Operation: 4+8=12, Resulting Numbers: [65, 12] Generated Node #0,4,2: 31:[65, 12] Operation: 4+8=12 Exploring Operation: 65-8=57, Resulting Numbers: [4, 57] Generated Node #0,4,3: 31:[4, 57] Operation: 65-8=57 Exploring Operation: 4*8=32, Resulting Numbers: [65, 32] Generated Node #0,4,4: 31:[65, 32] Operation: 4*8=32 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 31:[65, 32], Operations: ['93-28=65', '4*8=32'] Exploring Operation: 65*32=2080, Resulting Numbers: [2080] 2080,31 unequal: No Solution Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,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,0 Current State: 31:[8, 61], Operations: ['93-28=65', '65-4=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,31 unequal: No Solution Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,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:[65, 12], Operations: ['93-28=65', '4+8=12'] Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,31 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,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:[4, 57], Operations: ['93-28=65', '65-8=57'] Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,31 unequal: No Solution Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,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:[65, 4], Operations: ['93-28=65', '8-4=4'] Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 65*4=260, Resulting Numbers: [260] 260,31 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,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:[4, 28, 85], Operations: ['93-8=85'] Exploring Operation: 4+28=32, Resulting Numbers: [85, 32] Generated Node #0,0,0: 31:[85, 32] Operation: 4+28=32 Exploring Operation: 4+85=89, Resulting Numbers: [28, 89] Generated Node #0,0,1: 31:[28, 89] Operation: 4+85=89 Exploring Operation: 85-4=81, Resulting Numbers: [28, 81] Generated Node #0,0,2: 31:[28, 81] Operation: 85-4=81 Exploring Operation: 28-4=24, Resulting Numbers: [85, 24] Generated Node #0,0,3: 31:[85, 24] Operation: 28-4=24 Exploring Operation: 85-28=57, Resulting Numbers: [4, 57] Generated Node #0,0,4: 31:[4, 57] Operation: 85-28=57 Moving to Node #0,3 Current State: 31:[93, 28, 12], Operations: ['4+8=12'] Exploring Operation: 93+12=105, Resulting Numbers: [28, 105] Generated Node #0,3,0: 31:[28, 105] Operation: 93+12=105 Exploring Operation: 93-12=81, Resulting Numbers: [28, 81] Generated Node #0,3,1: 31:[28, 81] Operation: 93-12=81 Exploring Operation: 93-28=65, Resulting Numbers: [12, 65] Generated Node #0,3,2: 31:[12, 65] Operation: 93-28=65 Exploring Operation: 28+12=40, Resulting Numbers: [93, 40] Generated Node #0,3,3: 31:[93, 40] Operation: 28+12=40 Exploring Operation: 28-12=16, Resulting Numbers: [93, 16] Generated Node #0,3,4: 31:[93, 16] Operation: 28-12=16 Moving to Node #0,1,1 Current State: 31:[28, 61], Operations: ['4*8=32', '93-32=61'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[32, 65], Operations: ['4*8=32', '93-28=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[28, 81], Operations: ['93-4=89', '89-8=81'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,31 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,31 unequal: No Solution Moving to Node #0,2,4 Current State: 31:[8, 61], Operations: ['93-4=89', '89-28=61'] Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,31 unequal: No Solution Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[4, 57], Operations: ['93-8=85', '85-28=57'] Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,31 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[28, 81], Operations: ['93-8=85', '85-4=81'] Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,31 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[28, 81], Operations: ['4+8=12', '93-12=81'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,31 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[12, 65], Operations: ['4+8=12', '93-28=65'] Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,31 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[85, 32], Operations: ['93-8=85', '4+28=32'] Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,31 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[85, 24], Operations: ['93-8=85', '28-4=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[28, 89], Operations: ['93-8=85', '4+85=89'] Exploring Operation: 28*89=2492, Resulting Numbers: [2492] 2492,31 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 28+89=117, Resulting Numbers: [117] 117,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[89, 36], Operations: ['93-4=89', '28+8=36'] Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,31 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[28, 97], Operations: ['93-4=89', '8+89=97'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 28+97=125, Resulting Numbers: [125] 125,31 unequal: No Solution Exploring Operation: 28*97=2716, Resulting Numbers: [2716] 2716,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[89, 20], Operations: ['93-4=89', '28-8=20'] Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,31 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[93, 40], Operations: ['4+8=12', '28+12=40'] Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 93*40=3720, Resulting Numbers: [3720] 3720,31 unequal: No Solution Exploring Operation: 93+40=133, Resulting Numbers: [133] 133,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[93, 16], Operations: ['4+8=12', '28-12=16'] Exploring Operation: 93*16=1488, Resulting Numbers: [1488] 1488,31 unequal: No Solution Exploring Operation: 93+16=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 93-16=77, Resulting Numbers: [77] 77,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[28, 105], Operations: ['4+8=12', '93+12=105'] Exploring Operation: 105-28=77, Resulting Numbers: [77] 77,31 unequal: No Solution Exploring Operation: 28+105=133, Resulting Numbers: [133] 133,31 unequal: No Solution Exploring Operation: 28*105=2940, Resulting Numbers: [2940] 2940,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[93, 4], Operations: ['4*8=32', '32-28=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[32, 121], Operations: ['4*8=32', '93+28=121'] Exploring Operation: 32+121=153, Resulting Numbers: [153] 153,31 unequal: No Solution Exploring Operation: 32*121=3872, Resulting Numbers: [3872] 3872,31 unequal: No Solution Exploring Operation: 121-32=89, Resulting Numbers: [89] 89,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[93, 60], Operations: ['4*8=32', '28+32=60'] Exploring Operation: 93*60=5580, Resulting Numbers: [5580] 5580,31 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 93+60=153, Resulting Numbers: [153] 153,31 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 19, 16, 34, 30 ]
45
[ "34-30=4", "16*4=64", "64-19=45" ]
Current State: 45:[19, 16, 34, 30], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [19, 16, 4] Generated Node #2: [19, 16, 4] from Operation: 34-30=4 Current State: 45:[19, 16, 4], Operations: ['34-30=4'] Exploring Operation: 16*4=64, Resulting Numbers: [19, 64] Generated Node #3: [19, 64] from Operation: 16*4=64 Current State: 45:[19, 64], Operations: ['34-30=4', '16*4=64'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[19, 16, 34, 30], Operations: [] Exploring Operation: 30-19=11, Resulting Numbers: [16, 34, 11] Generated Node #0,0: 45:[16, 34, 11] Operation: 30-19=11 Exploring Operation: 34-30=4, Resulting Numbers: [19, 16, 4] Generated Node #0,1: 45:[19, 16, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[19, 16, 4], Operations: ['34-30=4'] Exploring Operation: 19-4=15, Resulting Numbers: [16, 15] Generated Node #0,1,0: 45:[16, 15] Operation: 19-4=15 Exploring Operation: 19-16=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 45:[4, 3] Operation: 19-16=3 Moving to Node #0,1,0 Current State: 45:[16, 15], Operations: ['34-30=4', '19-4=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[4, 3], Operations: ['34-30=4', '19-16=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[16, 34, 11], Operations: ['30-19=11'] Exploring Operation: 34+11=45, Resulting Numbers: [16, 45] Generated Node #0,0,0: 45:[16, 45] Operation: 34+11=45 Exploring Operation: 34-16=18, Resulting Numbers: [11, 18] Generated Node #0,0,1: 45:[11, 18] Operation: 34-16=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[16, 45], Operations: ['30-19=11', '34+11=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,45 unequal: No Solution No 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: 45:[11, 18], Operations: ['30-19=11', '34-16=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,45 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
[ 27, 55, 6, 51 ]
17
[ "55-27=28", "51-6=45", "45-28=17" ]
Current State: 17:[27, 55, 6, 51], Operations: [] Exploring Operation: 55-27=28, Resulting Numbers: [6, 51, 28] Generated Node #2: [6, 51, 28] from Operation: 55-27=28 Current State: 17:[6, 51, 28], Operations: ['55-27=28'] Exploring Operation: 51-6=45, Resulting Numbers: [28, 45] Generated Node #3: [28, 45] from Operation: 51-6=45 Current State: 17:[28, 45], Operations: ['55-27=28', '51-6=45'] Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[27, 55, 6, 51], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [27, 6, 4] Generated Node #0,0: 17:[27, 6, 4] Operation: 55-51=4 Exploring Operation: 55-27=28, Resulting Numbers: [6, 51, 28] Generated Node #0,1: 17:[6, 51, 28] Operation: 55-27=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[27, 6, 4], Operations: ['55-51=4'] Exploring Operation: 27-4=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 17:[6, 23] Operation: 27-4=23 Exploring Operation: 27-6=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 17:[4, 21] Operation: 27-6=21 Moving to Node #0,0,0 Current State: 17:[6, 23], Operations: ['55-51=4', '27-4=23'] Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[27, 55, 6, 51], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [27, 6, 4] Generated Node #0,0: 17:[27, 6, 4] Operation: 55-51=4 Moving to Node #0,0 Current State: 17:[27, 6, 4], Operations: ['55-51=4'] Exploring Operation: 27-4=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 17:[6, 23] Operation: 27-4=23 Moving to Node #0,0,0 Current State: 17:[6, 23], Operations: ['55-51=4', '27-4=23'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 46, 57, 24, 53 ]
40
[ "57-46=11", "53-24=29", "11+29=40" ]
Current State: 40:[46, 57, 24, 53], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [24, 53, 11] Generated Node #2: [24, 53, 11] from Operation: 57-46=11 Current State: 40:[24, 53, 11], Operations: ['57-46=11'] Exploring Operation: 53-24=29, Resulting Numbers: [11, 29] Generated Node #3: [11, 29] from Operation: 53-24=29 Current State: 40:[11, 29], Operations: ['57-46=11', '53-24=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[46, 57, 24, 53], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [24, 53, 11] Generated Node #0,0: 40:[24, 53, 11] Operation: 57-46=11 Exploring Operation: 57-24=33, Resulting Numbers: [46, 53, 33] Generated Node #0,1: 40:[46, 53, 33] Operation: 57-24=33 Exploring Operation: 57-53=4, Resulting Numbers: [46, 24, 4] Generated Node #0,2: 40:[46, 24, 4] Operation: 57-53=4 Exploring Operation: 53-46=7, Resulting Numbers: [57, 24, 7] Generated Node #0,3: 40:[57, 24, 7] Operation: 53-46=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[46, 24, 4], Operations: ['57-53=4'] Exploring Operation: 24-4=20, Resulting Numbers: [46, 20] Generated Node #0,2,0: 40:[46, 20] Operation: 24-4=20 Exploring Operation: 46-4=42, Resulting Numbers: [24, 42] Generated Node #0,2,1: 40:[24, 42] Operation: 46-4=42 Exploring Operation: 46-24=22, Resulting Numbers: [4, 22] Generated Node #0,2,2: 40:[4, 22] Operation: 46-24=22 Exploring Operation: 24/4=6, Resulting Numbers: [46, 6] Generated Node #0,2,3: 40:[46, 6] Operation: 24/4=6 Moving to Node #0,2,2 Current State: 40:[4, 22], Operations: ['57-53=4', '46-24=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[24, 42], Operations: ['57-53=4', '46-4=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,40 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[46, 20], Operations: ['57-53=4', '24-4=20'] Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,40 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[46, 6], Operations: ['57-53=4', '24/4=6'] Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,40 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,40 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[46, 57, 24, 53], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [46, 24, 4] Generated Node #0,2: 40:[46, 24, 4] Operation: 57-53=4 Moving to Node #0,2 Current State: 40:[46, 24, 4], Operations: ['57-53=4'] Exploring Operation: 24/4=6, Resulting Numbers: [46, 6] Generated Node #0,2,3: 40:[46, 6] Operation: 24/4=6 Moving to Node #0,2,3 Current State: 40:[46, 6], Operations: ['57-53=4', '24/4=6'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 52, 47, 50, 12 ]
88
[ "50-47=3", "12*3=36", "52+36=88" ]
Current State: 88:[52, 47, 50, 12], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [52, 12, 3] Generated Node #2: [52, 12, 3] from Operation: 50-47=3 Current State: 88:[52, 12, 3], Operations: ['50-47=3'] Exploring Operation: 12*3=36, Resulting Numbers: [52, 36] Generated Node #3: [52, 36] from Operation: 12*3=36 Current State: 88:[52, 36], Operations: ['50-47=3', '12*3=36'] Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[52, 47, 50, 12], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [47, 12, 2] Generated Node #0,0: 88:[47, 12, 2] Operation: 52-50=2 Moving to Node #0,0 Current State: 88:[47, 12, 2], Operations: ['52-50=2'] Exploring Operation: 47-2=45, Resulting Numbers: [12, 45] Generated Node #0,0,0: 88:[12, 45] Operation: 47-2=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[12, 45], Operations: ['52-50=2', '47-2=45'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,88 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
[ 91, 43, 2, 46 ]
50
[ "91-43=48", "2*48=96", "96-46=50" ]
Current State: 50:[91, 43, 2, 46], Operations: [] Exploring Operation: 91-43=48, Resulting Numbers: [2, 46, 48] Generated Node #2: [2, 46, 48] from Operation: 91-43=48 Current State: 50:[2, 46, 48], Operations: ['91-43=48'] Exploring Operation: 2*48=96, Resulting Numbers: [46, 96] Generated Node #3: [46, 96] from Operation: 2*48=96 Current State: 50:[46, 96], Operations: ['91-43=48', '2*48=96'] Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[91, 43, 2, 46], Operations: [] Exploring Operation: 91-46=45, Resulting Numbers: [43, 2, 45] Generated Node #0,0: 50:[43, 2, 45] Operation: 91-46=45 Exploring Operation: 46-43=3, Resulting Numbers: [91, 2, 3] Generated Node #0,1: 50:[91, 2, 3] Operation: 46-43=3 Exploring Operation: 91-2=89, Resulting Numbers: [43, 46, 89] Generated Node #0,2: 50:[43, 46, 89] Operation: 91-2=89 Exploring Operation: 91-43=48, Resulting Numbers: [2, 46, 48] Generated Node #0,3: 50:[2, 46, 48] Operation: 91-43=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[2, 46, 48], Operations: ['91-43=48'] Exploring Operation: 2+48=50, Resulting Numbers: [46, 50] Generated Node #0,3,0: 50:[46, 50] Operation: 2+48=50 Exploring Operation: 48-46=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 50:[2, 2] Operation: 48-46=2 Exploring Operation: 46/2=23, Resulting Numbers: [48, 23] Generated Node #0,3,2: 50:[48, 23] Operation: 46/2=23 Exploring Operation: 2+46=48, Resulting Numbers: [48, 48] Generated Node #0,3,3: 50:[48, 48] Operation: 2+46=48 Moving to Node #0,3,1 Current State: 50:[2, 2], Operations: ['91-43=48', '48-46=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[48, 23], Operations: ['91-43=48', '46/2=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,50 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[46, 50], Operations: ['91-43=48', '2+48=50'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 46+50=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 46*50=2300, Resulting Numbers: [2300] 2300,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[48, 48], Operations: ['91-43=48', '2+46=48'] Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[43, 2, 45], Operations: ['91-46=45'] Exploring Operation: 43-2=41, Resulting Numbers: [45, 41] Generated Node #0,0,0: 50:[45, 41] Operation: 43-2=41 Exploring Operation: 2+45=47, Resulting Numbers: [43, 47] Generated Node #0,0,1: 50:[43, 47] Operation: 2+45=47 Exploring Operation: 45-43=2, Resulting Numbers: [2, 2] Generated Node #0,0,2: 50:[2, 2] Operation: 45-43=2 Exploring Operation: 43+2=45, Resulting Numbers: [45, 45] Generated Node #0,0,3: 50:[45, 45] Operation: 43+2=45 Moving to Node #0,0,2 Current State: 50:[2, 2], Operations: ['91-46=45', '45-43=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[45, 45], Operations: ['91-46=45', '43+2=45'] Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,50 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,50 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[43, 47], Operations: ['91-46=45', '2+45=47'] Exploring Operation: 43*47=2021, Resulting Numbers: [2021] 2021,50 unequal: No Solution Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,50 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[45, 41], Operations: ['91-46=45', '43-2=41'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[91, 2, 3], Operations: ['46-43=3'] Exploring Operation: 2+3=5, Resulting Numbers: [91, 5] Generated Node #0,1,0: 50:[91, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [91, 6] Generated Node #0,1,1: 50:[91, 6] Operation: 2*3=6 Exploring Operation: 91-2=89, Resulting Numbers: [3, 89] Generated Node #0,1,2: 50:[3, 89] Operation: 91-2=89 Exploring Operation: 91-3=88, Resulting Numbers: [2, 88] Generated Node #0,1,3: 50:[2, 88] Operation: 91-3=88 Moving to Node #0,1,3 Current State: 50:[2, 88], Operations: ['46-43=3', '91-3=88'] Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,50 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,50 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[3, 89], Operations: ['46-43=3', '91-2=89'] Exploring Operation: 3*89=267, Resulting Numbers: [267] 267,50 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 3+89=92, Resulting Numbers: [92] 92,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[91, 5], Operations: ['46-43=3', '2+3=5'] Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,50 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[91, 6], Operations: ['46-43=3', '2*3=6'] Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,50 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,50 unequal: No Solution Exploring Operation: 91*6=546, Resulting Numbers: [546] 546,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[43, 46, 89], Operations: ['91-2=89'] Exploring Operation: 43+46=89, Resulting Numbers: [89, 89] Generated Node #0,2,0: 50:[89, 89] Operation: 43+46=89 Exploring Operation: 89-46=43, Resulting Numbers: [43, 43] Generated Node #0,2,1: 50:[43, 43] Operation: 89-46=43 Exploring Operation: 89-43=46, Resulting Numbers: [46, 46] Generated Node #0,2,2: 50:[46, 46] Operation: 89-43=46 Exploring Operation: 46-43=3, Resulting Numbers: [89, 3] Generated Node #0,2,3: 50:[89, 3] Operation: 46-43=3 Moving to Node #0,2,2 Current State: 50:[46, 46], Operations: ['91-2=89', '89-43=46'] Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 46*46=2116, Resulting Numbers: [2116] 2116,50 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[43, 43], Operations: ['91-2=89', '89-46=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 43*43=1849, Resulting Numbers: [1849] 1849,50 unequal: No Solution Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[89, 3], Operations: ['91-2=89', '46-43=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[89, 89], Operations: ['91-2=89', '43+46=89'] Exploring Operation: 89+89=178, Resulting Numbers: [178] 178,50 unequal: No Solution Exploring Operation: 89/89=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 89*89=7921, Resulting Numbers: [7921] 7921,50 unequal: No Solution Exploring Operation: 89-89=0, Resulting Numbers: [0] 0,50 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
[ 88, 51, 13, 53 ]
29
[ "88-51=37", "13+53=66", "66-37=29" ]
Current State: 29:[88, 51, 13, 53], Operations: [] Exploring Operation: 88-51=37, Resulting Numbers: [13, 53, 37] Generated Node #2: [13, 53, 37] from Operation: 88-51=37 Current State: 29:[13, 53, 37], Operations: ['88-51=37'] Exploring Operation: 13+53=66, Resulting Numbers: [37, 66] Generated Node #3: [37, 66] from Operation: 13+53=66 Current State: 29:[37, 66], Operations: ['88-51=37', '13+53=66'] Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[88, 51, 13, 53], Operations: [] Exploring Operation: 51-13=38, Resulting Numbers: [88, 53, 38] Generated Node #0,0: 29:[88, 53, 38] Operation: 51-13=38 Exploring Operation: 88-51=37, Resulting Numbers: [13, 53, 37] Generated Node #0,1: 29:[13, 53, 37] Operation: 88-51=37 Exploring Operation: 88-53=35, Resulting Numbers: [51, 13, 35] Generated Node #0,2: 29:[51, 13, 35] Operation: 88-53=35 Exploring Operation: 88-13=75, Resulting Numbers: [51, 53, 75] Generated Node #0,3: 29:[51, 53, 75] Operation: 88-13=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[51, 13, 35], Operations: ['88-53=35'] Exploring Operation: 35-13=22, Resulting Numbers: [51, 22] Generated Node #0,2,0: 29:[51, 22] Operation: 35-13=22 Exploring Operation: 51-35=16, Resulting Numbers: [13, 16] Generated Node #0,2,1: 29:[13, 16] Operation: 51-35=16 Exploring Operation: 51-13=38, Resulting Numbers: [35, 38] Generated Node #0,2,2: 29:[35, 38] Operation: 51-13=38 Exploring Operation: 51+13=64, Resulting Numbers: [35, 64] Generated Node #0,2,3: 29:[35, 64] Operation: 51+13=64 Moving to Node #0,2,2 Current State: 29:[35, 38], Operations: ['88-53=35', '51-13=38'] Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,29 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[13, 16], Operations: ['88-53=35', '51-35=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[88, 51, 13, 53], Operations: [] Exploring Operation: 88-53=35, Resulting Numbers: [51, 13, 35] Generated Node #0,2: 29:[51, 13, 35] Operation: 88-53=35 Moving to Node #0,2 Current State: 29:[51, 13, 35], Operations: ['88-53=35'] Exploring Operation: 51-35=16, Resulting Numbers: [13, 16] Generated Node #0,2,1: 29:[13, 16] Operation: 51-35=16 Moving to Node #0,2,1 Current State: 29:[13, 16], Operations: ['88-53=35', '51-35=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 16, 94, 78, 63 ]
39
[ "63-16=47", "94/47=2", "78/2=39" ]
Current State: 39:[16, 94, 78, 63], Operations: [] Exploring Operation: 63-16=47, Resulting Numbers: [94, 78, 47] Generated Node #2: [94, 78, 47] from Operation: 63-16=47 Current State: 39:[94, 78, 47], Operations: ['63-16=47'] Exploring Operation: 94/47=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 94/47=2 Current State: 39:[78, 2], Operations: ['63-16=47', '94/47=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[16, 94, 78, 63], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [16, 63, 16] Generated Node #0,0: 39:[16, 63, 16] Operation: 94-78=16 Moving to Node #0,0 Current State: 39:[16, 63, 16], Operations: ['94-78=16'] Exploring Operation: 63-16=47, Resulting Numbers: [16, 47] Generated Node #0,0,0: 39:[16, 47] Operation: 63-16=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[16, 47], Operations: ['94-78=16', '63-16=47'] Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,39 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
[ 26, 63, 15, 78 ]
68
[ "26*15=390", "390/78=5", "63+5=68" ]
Current State: 68:[26, 63, 15, 78], Operations: [] Exploring Operation: 26*15=390, Resulting Numbers: [63, 78, 390] Generated Node #2: [63, 78, 390] from Operation: 26*15=390 Current State: 68:[63, 78, 390], Operations: ['26*15=390'] Exploring Operation: 390/78=5, Resulting Numbers: [63, 5] Generated Node #3: [63, 5] from Operation: 390/78=5 Current State: 68:[63, 5], Operations: ['26*15=390', '390/78=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[26, 63, 15, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [63, 15, 3] Generated Node #0,0: 68:[63, 15, 3] Operation: 78/26=3 Exploring Operation: 78-63=15, Resulting Numbers: [26, 15, 15] Generated Node #0,1: 68:[26, 15, 15] Operation: 78-63=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[63, 15, 3], Operations: ['78/26=3'] Exploring Operation: 63+3=66, Resulting Numbers: [15, 66] Generated Node #0,0,0: 68:[15, 66] Operation: 63+3=66 Exploring Operation: 63/3=21, Resulting Numbers: [15, 21] Generated Node #0,0,1: 68:[15, 21] Operation: 63/3=21 Moving to Node #0,0,0 Current State: 68:[15, 66], Operations: ['78/26=3', '63+3=66'] Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[15, 21], Operations: ['78/26=3', '63/3=21'] Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,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 Current State: 68:[26, 15, 15], Operations: ['78-63=15'] Exploring Operation: 26-15=11, Resulting Numbers: [15, 11] Generated Node #0,1,0: 68:[15, 11] Operation: 26-15=11 Exploring Operation: 26-15=11, Resulting Numbers: [15, 11] Generated Node #0,1,1: 68:[15, 11] Operation: 26-15=11 Moving to Node #0,1,0 Current State: 68:[15, 11], Operations: ['78-63=15', '26-15=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[15, 11], Operations: ['78-63=15', '26-15=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,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
[ 96, 5, 83, 32 ]
91
[ "96/32=3", "5+83=88", "3+88=91" ]
Current State: 91:[96, 5, 83, 32], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [5, 83, 3] Generated Node #2: [5, 83, 3] from Operation: 96/32=3 Current State: 91:[5, 83, 3], Operations: ['96/32=3'] Exploring Operation: 5+83=88, Resulting Numbers: [3, 88] Generated Node #3: [3, 88] from Operation: 5+83=88 Current State: 91:[3, 88], Operations: ['96/32=3', '5+83=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[96, 5, 83, 32], Operations: [] Exploring Operation: 96-83=13, Resulting Numbers: [5, 32, 13] Generated Node #0,0: 91:[5, 32, 13] Operation: 96-83=13 Exploring Operation: 96/32=3, Resulting Numbers: [5, 83, 3] Generated Node #0,1: 91:[5, 83, 3] Operation: 96/32=3 Exploring Operation: 32-5=27, Resulting Numbers: [96, 83, 27] Generated Node #0,2: 91:[96, 83, 27] Operation: 32-5=27 Exploring Operation: 96-5=91, Resulting Numbers: [83, 32, 91] Generated Node #0,3: 91:[83, 32, 91] Operation: 96-5=91 Exploring Operation: 5+83=88, Resulting Numbers: [96, 32, 88] Generated Node #0,4: 91:[96, 32, 88] Operation: 5+83=88 Moving to Node #0,1 Current State: 91:[5, 83, 3], Operations: ['96/32=3'] Exploring Operation: 83+3=86, Resulting Numbers: [5, 86] Generated Node #0,1,0: 91:[5, 86] Operation: 83+3=86 Exploring Operation: 5*3=15, Resulting Numbers: [83, 15] Generated Node #0,1,1: 91:[83, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [83, 8] Generated Node #0,1,2: 91:[83, 8] Operation: 5+3=8 Exploring Operation: 5-3=2, Resulting Numbers: [83, 2] Generated Node #0,1,3: 91:[83, 2] Operation: 5-3=2 Exploring Operation: 5+83=88, Resulting Numbers: [3, 88] Generated Node #0,1,4: 91:[3, 88] Operation: 5+83=88 Moving to Node #0,0 Current State: 91:[5, 32, 13], Operations: ['96-83=13'] Exploring Operation: 13-5=8, Resulting Numbers: [32, 8] Generated Node #0,0,0: 91:[32, 8] Operation: 13-5=8 Exploring Operation: 5+13=18, Resulting Numbers: [32, 18] Generated Node #0,0,1: 91:[32, 18] Operation: 5+13=18 Exploring Operation: 32-5=27, Resulting Numbers: [13, 27] Generated Node #0,0,2: 91:[13, 27] Operation: 32-5=27 Exploring Operation: 32-13=19, Resulting Numbers: [5, 19] Generated Node #0,0,3: 91:[5, 19] Operation: 32-13=19 Exploring Operation: 5+32=37, Resulting Numbers: [13, 37] Generated Node #0,0,4: 91:[13, 37] Operation: 5+32=37 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[5, 19], Operations: ['96-83=13', '32-13=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[13, 27], Operations: ['96-83=13', '32-5=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,91 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[32, 8], Operations: ['96-83=13', '13-5=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,91 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[32, 18], Operations: ['96-83=13', '5+13=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[13, 37], Operations: ['96-83=13', '5+32=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,91 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: 91:[96, 83, 27], Operations: ['32-5=27'] Exploring Operation: 96+27=123, Resulting Numbers: [83, 123] Generated Node #0,2,0: 91:[83, 123] Operation: 96+27=123 Exploring Operation: 83-27=56, Resulting Numbers: [96, 56] Generated Node #0,2,1: 91:[96, 56] Operation: 83-27=56 Exploring Operation: 96-27=69, Resulting Numbers: [83, 69] Generated Node #0,2,2: 91:[83, 69] Operation: 96-27=69 Exploring Operation: 96-83=13, Resulting Numbers: [27, 13] Generated Node #0,2,3: 91:[27, 13] Operation: 96-83=13 Exploring Operation: 83+27=110, Resulting Numbers: [96, 110] Generated Node #0,2,4: 91:[96, 110] Operation: 83+27=110 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[27, 13], Operations: ['32-5=27', '96-83=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,91 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 91:[96, 110], Operations: ['32-5=27', '83+27=110'] Exploring Operation: 96*110=10560, Resulting Numbers: [10560] 10560,91 unequal: No Solution Exploring Operation: 110-96=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 96+110=206, Resulting Numbers: [206] 206,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[83, 69], Operations: ['32-5=27', '96-27=69'] Exploring Operation: 83-69=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 83*69=5727, Resulting Numbers: [5727] 5727,91 unequal: No Solution Exploring Operation: 83+69=152, Resulting Numbers: [152] 152,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[83, 123], Operations: ['32-5=27', '96+27=123'] Exploring Operation: 123-83=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 83*123=10209, Resulting Numbers: [10209] 10209,91 unequal: No Solution Exploring Operation: 83+123=206, Resulting Numbers: [206] 206,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[96, 56], Operations: ['32-5=27', '83-27=56'] Exploring Operation: 96+56=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 96*56=5376, Resulting Numbers: [5376] 5376,91 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: 91:[83, 32, 91], Operations: ['96-5=91'] Exploring Operation: 91-32=59, Resulting Numbers: [83, 59] Generated Node #0,3,0: 91:[83, 59] Operation: 91-32=59 Exploring Operation: 83-32=51, Resulting Numbers: [91, 51] Generated Node #0,3,1: 91:[91, 51] Operation: 83-32=51 Exploring Operation: 91-83=8, Resulting Numbers: [32, 8] Generated Node #0,3,2: 91:[32, 8] Operation: 91-83=8 Exploring Operation: 32+91=123, Resulting Numbers: [83, 123] Generated Node #0,3,3: 91:[83, 123] Operation: 32+91=123 Exploring Operation: 83+32=115, Resulting Numbers: [91, 115] Generated Node #0,3,4: 91:[91, 115] Operation: 83+32=115 Moving to Node #0,4 Current State: 91:[96, 32, 88], Operations: ['5+83=88'] Exploring Operation: 32+88=120, Resulting Numbers: [96, 120] Generated Node #0,4,0: 91:[96, 120] Operation: 32+88=120 Exploring Operation: 96+32=128, Resulting Numbers: [88, 128] Generated Node #0,4,1: 91:[88, 128] Operation: 96+32=128 Exploring Operation: 96/32=3, Resulting Numbers: [88, 3] Generated Node #0,4,2: 91:[88, 3] Operation: 96/32=3 Exploring Operation: 96-32=64, Resulting Numbers: [88, 64] Generated Node #0,4,3: 91:[88, 64] Operation: 96-32=64 Exploring Operation: 96-88=8, Resulting Numbers: [32, 8] Generated Node #0,4,4: 91:[32, 8] Operation: 96-88=8 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 91:[88, 3], Operations: ['5+83=88', '96/32=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,91 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[96, 5, 83, 32], Operations: [] Exploring Operation: 5+83=88, Resulting Numbers: [96, 32, 88] Generated Node #0,4: 91:[96, 32, 88] Operation: 5+83=88 Moving to Node #0,4 Current State: 91:[96, 32, 88], Operations: ['5+83=88'] Exploring Operation: 96/32=3, Resulting Numbers: [88, 3] Generated Node #0,4,2: 91:[88, 3] Operation: 96/32=3 Moving to Node #0,4,2 Current State: 91:[88, 3], Operations: ['5+83=88', '96/32=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 29, 31, 75, 1 ]
25
[ "31-29=2", "1+2=3", "75/3=25" ]
Current State: 25:[29, 31, 75, 1], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [75, 1, 2] Generated Node #2: [75, 1, 2] from Operation: 31-29=2 Current State: 25:[75, 1, 2], Operations: ['31-29=2'] Exploring Operation: 1+2=3, Resulting Numbers: [75, 3] Generated Node #3: [75, 3] from Operation: 1+2=3 Current State: 25:[75, 3], Operations: ['31-29=2', '1+2=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[29, 31, 75, 1], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [29, 1, 44] Generated Node #0,0: 25:[29, 1, 44] Operation: 75-31=44 Moving to Node #0,0 Current State: 25:[29, 1, 44], Operations: ['75-31=44'] Exploring Operation: 44-29=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 25:[1, 15] Operation: 44-29=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[1, 15], Operations: ['75-31=44', '44-29=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,25 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
[ 34, 36, 24, 64 ]
42
[ "36-34=2", "64-24=40", "2+40=42" ]
Current State: 42:[34, 36, 24, 64], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [24, 64, 2] Generated Node #2: [24, 64, 2] from Operation: 36-34=2 Current State: 42:[24, 64, 2], Operations: ['36-34=2'] Exploring Operation: 64-24=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 64-24=40 Current State: 42:[2, 40], Operations: ['36-34=2', '64-24=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[34, 36, 24, 64], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [24, 64, 2] Generated Node #0,0: 42:[24, 64, 2] Operation: 36-34=2 Exploring Operation: 64-34=30, Resulting Numbers: [36, 24, 30] Generated Node #0,1: 42:[36, 24, 30] Operation: 64-34=30 Exploring Operation: 64-24=40, Resulting Numbers: [34, 36, 40] Generated Node #0,2: 42:[34, 36, 40] Operation: 64-24=40 Exploring Operation: 64-36=28, Resulting Numbers: [34, 24, 28] Generated Node #0,3: 42:[34, 24, 28] Operation: 64-36=28 Exploring Operation: 34-24=10, Resulting Numbers: [36, 64, 10] Generated Node #0,4: 42:[36, 64, 10] Operation: 34-24=10 Moving to Node #0,2 Current State: 42:[34, 36, 40], Operations: ['64-24=40'] Exploring Operation: 36-34=2, Resulting Numbers: [40, 2] Generated Node #0,2,0: 42:[40, 2] Operation: 36-34=2 Exploring Operation: 40-36=4, Resulting Numbers: [34, 4] Generated Node #0,2,1: 42:[34, 4] Operation: 40-36=4 Exploring Operation: 34+36=70, Resulting Numbers: [40, 70] Generated Node #0,2,2: 42:[40, 70] Operation: 34+36=70 Exploring Operation: 40-34=6, Resulting Numbers: [36, 6] Generated Node #0,2,3: 42:[36, 6] Operation: 40-34=6 Exploring Operation: 34+40=74, Resulting Numbers: [36, 74] Generated Node #0,2,4: 42:[36, 74] Operation: 34+40=74 Moving to Node #0,3 Current State: 42:[34, 24, 28], Operations: ['64-36=28'] Exploring Operation: 28-24=4, Resulting Numbers: [34, 4] Generated Node #0,3,0: 42:[34, 4] Operation: 28-24=4 Exploring Operation: 24+28=52, Resulting Numbers: [34, 52] Generated Node #0,3,1: 42:[34, 52] Operation: 24+28=52 Exploring Operation: 34+24=58, Resulting Numbers: [28, 58] Generated Node #0,3,2: 42:[28, 58] Operation: 34+24=58 Exploring Operation: 34-28=6, Resulting Numbers: [24, 6] Generated Node #0,3,3: 42:[24, 6] Operation: 34-28=6 Exploring Operation: 34-24=10, Resulting Numbers: [28, 10] Generated Node #0,3,4: 42:[28, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[24, 6], Operations: ['64-36=28', '34-28=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[34, 4], Operations: ['64-36=28', '28-24=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,42 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 42:[28, 10], Operations: ['64-36=28', '34-24=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[34, 52], Operations: ['64-36=28', '24+28=52'] Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,42 unequal: No Solution Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[28, 58], Operations: ['64-36=28', '34+24=58'] Exploring Operation: 28*58=1624, Resulting Numbers: [1624] 1624,42 unequal: No Solution Exploring Operation: 28+58=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 42:[36, 24, 30], Operations: ['64-34=30'] Exploring Operation: 36+24=60, Resulting Numbers: [30, 60] Generated Node #0,1,0: 42:[30, 60] Operation: 36+24=60 Exploring Operation: 24+30=54, Resulting Numbers: [36, 54] Generated Node #0,1,1: 42:[36, 54] Operation: 24+30=54 Exploring Operation: 36-30=6, Resulting Numbers: [24, 6] Generated Node #0,1,2: 42:[24, 6] Operation: 36-30=6 Exploring Operation: 30-24=6, Resulting Numbers: [36, 6] Generated Node #0,1,3: 42:[36, 6] Operation: 30-24=6 Exploring Operation: 36-24=12, Resulting Numbers: [30, 12] Generated Node #0,1,4: 42:[30, 12] Operation: 36-24=12 Moving to Node #0,0 Current State: 42:[24, 64, 2], Operations: ['36-34=2'] Exploring Operation: 64-24=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 42:[2, 40] Operation: 64-24=40 Exploring Operation: 24-2=22, Resulting Numbers: [64, 22] Generated Node #0,0,1: 42:[64, 22] Operation: 24-2=22 Exploring Operation: 64/2=32, Resulting Numbers: [24, 32] Generated Node #0,0,2: 42:[24, 32] Operation: 64/2=32 Exploring Operation: 24/2=12, Resulting Numbers: [64, 12] Generated Node #0,0,3: 42:[64, 12] Operation: 24/2=12 Exploring Operation: 64-2=62, Resulting Numbers: [24, 62] Generated Node #0,0,4: 42:[24, 62] Operation: 64-2=62 Moving to Node #0,4 Current State: 42:[36, 64, 10], Operations: ['34-24=10'] Exploring Operation: 36-10=26, Resulting Numbers: [64, 26] Generated Node #0,4,0: 42:[64, 26] Operation: 36-10=26 Exploring Operation: 36+10=46, Resulting Numbers: [64, 46] Generated Node #0,4,1: 42:[64, 46] Operation: 36+10=46 Exploring Operation: 64+10=74, Resulting Numbers: [36, 74] Generated Node #0,4,2: 42:[36, 74] Operation: 64+10=74 Exploring Operation: 64-36=28, Resulting Numbers: [10, 28] Generated Node #0,4,3: 42:[10, 28] Operation: 64-36=28 Exploring Operation: 64-10=54, Resulting Numbers: [36, 54] Generated Node #0,4,4: 42:[36, 54] Operation: 64-10=54 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 42:[10, 28], Operations: ['34-24=10', '64-36=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 42:[36, 54], Operations: ['34-24=10', '64-10=54'] Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 36*54=1944, Resulting Numbers: [1944] 1944,42 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 42:[64, 46], Operations: ['34-24=10', '36+10=46'] Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,42 unequal: No Solution Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,42 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 42:[64, 26], Operations: ['34-24=10', '36-10=26'] Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,42 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 42:[36, 74], Operations: ['34-24=10', '64+10=74'] Exploring Operation: 36+74=110, Resulting Numbers: [110] 110,42 unequal: No Solution Exploring Operation: 36*74=2664, Resulting Numbers: [2664] 2664,42 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 42:[40, 2], Operations: ['64-24=40', '36-34=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[34, 36, 24, 64], Operations: [] Exploring Operation: 64-24=40, Resulting Numbers: [34, 36, 40] Generated Node #0,2: 42:[34, 36, 40] Operation: 64-24=40 Moving to Node #0,2 Current State: 42:[34, 36, 40], Operations: ['64-24=40'] Exploring Operation: 36-34=2, Resulting Numbers: [40, 2] Generated Node #0,2,0: 42:[40, 2] Operation: 36-34=2 Moving to Node #0,2,0 Current State: 42:[40, 2], Operations: ['64-24=40', '36-34=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 9, 54, 77, 41 ]
55
[ "9+54=63", "77+41=118", "118-63=55" ]
Current State: 55:[9, 54, 77, 41], Operations: [] Exploring Operation: 9+54=63, Resulting Numbers: [77, 41, 63] Generated Node #2: [77, 41, 63] from Operation: 9+54=63 Current State: 55:[77, 41, 63], Operations: ['9+54=63'] Exploring Operation: 77+41=118, Resulting Numbers: [63, 118] Generated Node #3: [63, 118] from Operation: 77+41=118 Current State: 55:[63, 118], Operations: ['9+54=63', '77+41=118'] Exploring Operation: 118-63=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[9, 54, 77, 41], Operations: [] Exploring Operation: 9+41=50, Resulting Numbers: [54, 77, 50] Generated Node #0,0: 55:[54, 77, 50] Operation: 9+41=50 Exploring Operation: 54-41=13, Resulting Numbers: [9, 77, 13] Generated Node #0,1: 55:[9, 77, 13] Operation: 54-41=13 Exploring Operation: 77-9=68, Resulting Numbers: [54, 41, 68] Generated Node #0,2: 55:[54, 41, 68] Operation: 77-9=68 Exploring Operation: 77-41=36, Resulting Numbers: [9, 54, 36] Generated Node #0,3: 55:[9, 54, 36] Operation: 77-41=36 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[9, 54, 36], Operations: ['77-41=36'] Exploring Operation: 54-36=18, Resulting Numbers: [9, 18] Generated Node #0,3,0: 55:[9, 18] Operation: 54-36=18 Exploring Operation: 36-9=27, Resulting Numbers: [54, 27] Generated Node #0,3,1: 55:[54, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [54, 4] Generated Node #0,3,2: 55:[54, 4] Operation: 36/9=4 Exploring Operation: 9+36=45, Resulting Numbers: [54, 45] Generated Node #0,3,3: 55:[54, 45] Operation: 9+36=45 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[54, 4], Operations: ['77-41=36', '36/9=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[9, 18], Operations: ['77-41=36', '54-36=18'] Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,55 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[54, 45], Operations: ['77-41=36', '9+36=45'] Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,55 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 55:[54, 27], Operations: ['77-41=36', '36-9=27'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 54*27=1458, Resulting Numbers: [1458] 1458,55 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: 55:[9, 77, 13], Operations: ['54-41=13'] Exploring Operation: 13-9=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 55:[77, 4] Operation: 13-9=4 Exploring Operation: 9+77=86, Resulting Numbers: [13, 86] Generated Node #0,1,1: 55:[13, 86] Operation: 9+77=86 Exploring Operation: 77-9=68, Resulting Numbers: [13, 68] Generated Node #0,1,2: 55:[13, 68] Operation: 77-9=68 Exploring Operation: 77-13=64, Resulting Numbers: [9, 64] Generated Node #0,1,3: 55:[9, 64] Operation: 77-13=64 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[9, 64], Operations: ['54-41=13', '77-13=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[9, 54, 77, 41], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [9, 77, 13] Generated Node #0,1: 55:[9, 77, 13] Operation: 54-41=13 Moving to Node #0,1 Current State: 55:[9, 77, 13], Operations: ['54-41=13'] Exploring Operation: 77-13=64, Resulting Numbers: [9, 64] Generated Node #0,1,3: 55:[9, 64] Operation: 77-13=64 Moving to Node #0,1,3 Current State: 55:[9, 64], Operations: ['54-41=13', '77-13=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 3, 97, 28, 51 ]
86
[ "51/3=17", "97-28=69", "17+69=86" ]
Current State: 86:[3, 97, 28, 51], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [97, 28, 17] Generated Node #2: [97, 28, 17] from Operation: 51/3=17 Current State: 86:[97, 28, 17], Operations: ['51/3=17'] Exploring Operation: 97-28=69, Resulting Numbers: [17, 69] Generated Node #3: [17, 69] from Operation: 97-28=69 Current State: 86:[17, 69], Operations: ['51/3=17', '97-28=69'] Exploring Operation: 17+69=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[3, 97, 28, 51], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [3, 28, 46] Generated Node #0,0: 86:[3, 28, 46] Operation: 97-51=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[3, 28, 46], Operations: ['97-51=46'] Exploring Operation: 3*28=84, Resulting Numbers: [46, 84] Generated Node #0,0,0: 86:[46, 84] Operation: 3*28=84 Moving to Node #0,0,0 Current State: 86:[46, 84], Operations: ['97-51=46', '3*28=84'] Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,86 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
[ 42, 29, 54, 88 ]
71
[ "42+29=71", "54+88=142", "142-71=71" ]
Current State: 71:[42, 29, 54, 88], Operations: [] Exploring Operation: 42+29=71, Resulting Numbers: [54, 88, 71] Generated Node #2: [54, 88, 71] from Operation: 42+29=71 Current State: 71:[54, 88, 71], Operations: ['42+29=71'] Exploring Operation: 54+88=142, Resulting Numbers: [71, 142] Generated Node #3: [71, 142] from Operation: 54+88=142 Current State: 71:[71, 142], Operations: ['42+29=71', '54+88=142'] Exploring Operation: 142-71=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[42, 29, 54, 88], Operations: [] Exploring Operation: 42+29=71, Resulting Numbers: [54, 88, 71] Generated Node #0,0: 71:[54, 88, 71] Operation: 42+29=71 Exploring Operation: 29+54=83, Resulting Numbers: [42, 88, 83] Generated Node #0,1: 71:[42, 88, 83] Operation: 29+54=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[54, 88, 71], Operations: ['42+29=71'] Exploring Operation: 88-54=34, Resulting Numbers: [71, 34] Generated Node #0,0,0: 71:[71, 34] Operation: 88-54=34 Exploring Operation: 54+88=142, Resulting Numbers: [71, 142] Generated Node #0,0,1: 71:[71, 142] Operation: 54+88=142 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[71, 34], Operations: ['42+29=71', '88-54=34'] Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[71, 142], Operations: ['42+29=71', '54+88=142'] Exploring Operation: 142-71=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[42, 29, 54, 88], Operations: [] Exploring Operation: 42+29=71, Resulting Numbers: [54, 88, 71] Generated Node #0,0: 71:[54, 88, 71] Operation: 42+29=71 Moving to Node #0,0 Current State: 71:[54, 88, 71], Operations: ['42+29=71'] Exploring Operation: 54+88=142, Resulting Numbers: [71, 142] Generated Node #0,0,1: 71:[71, 142] Operation: 54+88=142 Moving to Node #0,0,1 Current State: 71:[71, 142], Operations: ['42+29=71', '54+88=142'] Exploring Operation: 142-71=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 99, 3, 5, 3 ]
88
[ "99-3=96", "5+3=8", "96-8=88" ]
Current State: 88:[99, 3, 5, 3], Operations: [] Exploring Operation: 99-3=96, Resulting Numbers: [5, 96] Generated Node #2: [5, 96] from Operation: 99-3=96 Current State: 88:[5, 96], Operations: ['99-3=96'] Exploring Operation: 5+3=8, Resulting Numbers: [96, 8] Generated Node #3: [96, 8] from Operation: 5+3=8 Current State: 88:[96, 8], Operations: ['99-3=96', '5+3=8'] Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[99, 3, 5, 3], Operations: [] Exploring Operation: 99-5=94, Resulting Numbers: [3, 3, 94] Generated Node #0,0: 88:[3, 3, 94] Operation: 99-5=94 Exploring Operation: 99-3=96, Resulting Numbers: [5, 3, 96] Generated Node #0,1: 88:[5, 3, 96] Operation: 99-3=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[3, 3, 94], Operations: ['99-5=94'] Exploring Operation: 94-3=91, Resulting Numbers: [3, 91] Generated Node #0,0,0: 88:[3, 91] Operation: 94-3=91 Exploring Operation: 94-3=91, Resulting Numbers: [3, 91] Generated Node #0,0,1: 88:[3, 91] Operation: 94-3=91 Moving to Node #0,0,0 Current State: 88:[3, 91], Operations: ['99-5=94', '94-3=91'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[99, 3, 5, 3], Operations: [] Exploring Operation: 99-5=94, Resulting Numbers: [3, 3, 94] Generated Node #0,0: 88:[3, 3, 94] Operation: 99-5=94 Moving to Node #0,0 Current State: 88:[3, 3, 94], Operations: ['99-5=94'] Exploring Operation: 94-3=91, Resulting Numbers: [3, 91] Generated Node #0,0,0: 88:[3, 91] Operation: 94-3=91 Moving to Node #0,0,0 Current State: 88:[3, 91], Operations: ['99-5=94', '94-3=91'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 93, 95, 38, 99 ]
51
[ "93+95=188", "38+99=137", "188-137=51" ]
Current State: 51:[93, 95, 38, 99], Operations: [] Exploring Operation: 93+95=188, Resulting Numbers: [38, 99, 188] Generated Node #2: [38, 99, 188] from Operation: 93+95=188 Current State: 51:[38, 99, 188], Operations: ['93+95=188'] Exploring Operation: 38+99=137, Resulting Numbers: [188, 137] Generated Node #3: [188, 137] from Operation: 38+99=137 Current State: 51:[188, 137], Operations: ['93+95=188', '38+99=137'] Exploring Operation: 188-137=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[93, 95, 38, 99], Operations: [] Exploring Operation: 99-93=6, Resulting Numbers: [95, 38, 6] Generated Node #0,0: 51:[95, 38, 6] Operation: 99-93=6 Exploring Operation: 95-93=2, Resulting Numbers: [38, 99, 2] Generated Node #0,1: 51:[38, 99, 2] Operation: 95-93=2 Exploring Operation: 93-38=55, Resulting Numbers: [95, 99, 55] Generated Node #0,2: 51:[95, 99, 55] Operation: 93-38=55 Exploring Operation: 99-95=4, Resulting Numbers: [93, 38, 4] Generated Node #0,3: 51:[93, 38, 4] Operation: 99-95=4 Exploring Operation: 95-38=57, Resulting Numbers: [93, 99, 57] Generated Node #0,4: 51:[93, 99, 57] Operation: 95-38=57 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[93, 38, 4], Operations: ['99-95=4'] Exploring Operation: 38-4=34, Resulting Numbers: [93, 34] Generated Node #0,3,0: 51:[93, 34] Operation: 38-4=34 Exploring Operation: 38+4=42, Resulting Numbers: [93, 42] Generated Node #0,3,1: 51:[93, 42] Operation: 38+4=42 Exploring Operation: 93-4=89, Resulting Numbers: [38, 89] Generated Node #0,3,2: 51:[38, 89] Operation: 93-4=89 Exploring Operation: 93+4=97, Resulting Numbers: [38, 97] Generated Node #0,3,3: 51:[38, 97] Operation: 93+4=97 Exploring Operation: 93-38=55, Resulting Numbers: [4, 55] Generated Node #0,3,4: 51:[4, 55] Operation: 93-38=55 Moving to Node #0,3,4 Current State: 51:[4, 55], Operations: ['99-95=4', '93-38=55'] Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[93, 95, 38, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [93, 38, 4] Generated Node #0,3: 51:[93, 38, 4] Operation: 99-95=4 Moving to Node #0,3 Current State: 51:[93, 38, 4], Operations: ['99-95=4'] Exploring Operation: 93-38=55, Resulting Numbers: [4, 55] Generated Node #0,3,4: 51:[4, 55] Operation: 93-38=55 Moving to Node #0,3,4 Current State: 51:[4, 55], Operations: ['99-95=4', '93-38=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 14, 41, 67, 3 ]
37
[ "41-14=27", "67-3=64", "64-27=37" ]
Current State: 37:[14, 41, 67, 3], Operations: [] Exploring Operation: 41-14=27, Resulting Numbers: [67, 3, 27] Generated Node #2: [67, 3, 27] from Operation: 41-14=27 Current State: 37:[67, 3, 27], Operations: ['41-14=27'] Exploring Operation: 67-3=64, Resulting Numbers: [27, 64] Generated Node #3: [27, 64] from Operation: 67-3=64 Current State: 37:[27, 64], Operations: ['41-14=27', '67-3=64'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[14, 41, 67, 3], Operations: [] Exploring Operation: 14+3=17, Resulting Numbers: [41, 67, 17] Generated Node #0,0: 37:[41, 67, 17] Operation: 14+3=17 Exploring Operation: 14*3=42, Resulting Numbers: [41, 67, 42] Generated Node #0,1: 37:[41, 67, 42] Operation: 14*3=42 Exploring Operation: 41-3=38, Resulting Numbers: [14, 67, 38] Generated Node #0,2: 37:[14, 67, 38] Operation: 41-3=38 Exploring Operation: 67-14=53, Resulting Numbers: [41, 3, 53] Generated Node #0,3: 37:[41, 3, 53] Operation: 67-14=53 Moving to Node #0,1 Current State: 37:[41, 67, 42], Operations: ['14*3=42'] Exploring Operation: 67-42=25, Resulting Numbers: [41, 25] Generated Node #0,1,0: 37:[41, 25] Operation: 67-42=25 Exploring Operation: 41+67=108, Resulting Numbers: [42, 108] Generated Node #0,1,1: 37:[42, 108] Operation: 41+67=108 Exploring Operation: 67-41=26, Resulting Numbers: [42, 26] Generated Node #0,1,2: 37:[42, 26] Operation: 67-41=26 Exploring Operation: 42-41=1, Resulting Numbers: [67, 1] Generated Node #0,1,3: 37:[67, 1] Operation: 42-41=1 Moving to Node #0,2 Current State: 37:[14, 67, 38], Operations: ['41-3=38'] Exploring Operation: 38-14=24, Resulting Numbers: [67, 24] Generated Node #0,2,0: 37:[67, 24] Operation: 38-14=24 Exploring Operation: 14+67=81, Resulting Numbers: [38, 81] Generated Node #0,2,1: 37:[38, 81] Operation: 14+67=81 Exploring Operation: 67-14=53, Resulting Numbers: [38, 53] Generated Node #0,2,2: 37:[38, 53] Operation: 67-14=53 Exploring Operation: 67-38=29, Resulting Numbers: [14, 29] Generated Node #0,2,3: 37:[14, 29] Operation: 67-38=29 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[38, 53], Operations: ['41-3=38', '67-14=53'] Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,37 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,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,2,3 Current State: 37:[14, 29], Operations: ['41-3=38', '67-38=29'] Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,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,2,0 Current State: 37:[67, 24], Operations: ['41-3=38', '38-14=24'] Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,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,2,1 Current State: 37:[38, 81], Operations: ['41-3=38', '14+67=81'] Exploring Operation: 38*81=3078, Resulting Numbers: [3078] 3078,37 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 38+81=119, Resulting Numbers: [119] 119,37 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: 37:[41, 67, 17], Operations: ['14+3=17'] Exploring Operation: 67-41=26, Resulting Numbers: [17, 26] Generated Node #0,0,0: 37:[17, 26] Operation: 67-41=26 Exploring Operation: 41+17=58, Resulting Numbers: [67, 58] Generated Node #0,0,1: 37:[67, 58] Operation: 41+17=58 Exploring Operation: 67-17=50, Resulting Numbers: [41, 50] Generated Node #0,0,2: 37:[41, 50] Operation: 67-17=50 Exploring Operation: 41-17=24, Resulting Numbers: [67, 24] Generated Node #0,0,3: 37:[67, 24] Operation: 41-17=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[41, 50], Operations: ['14+3=17', '67-17=50'] Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 41*50=2050, Resulting Numbers: [2050] 2050,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[17, 26], Operations: ['14+3=17', '67-41=26'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[67, 24], Operations: ['14+3=17', '41-17=24'] Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,37 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[67, 58], Operations: ['14+3=17', '41+17=58'] Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,37 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,37 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: 37:[41, 3, 53], Operations: ['67-14=53'] Exploring Operation: 41-3=38, Resulting Numbers: [53, 38] Generated Node #0,3,0: 37:[53, 38] Operation: 41-3=38 Exploring Operation: 41+3=44, Resulting Numbers: [53, 44] Generated Node #0,3,1: 37:[53, 44] Operation: 41+3=44 Exploring Operation: 53-3=50, Resulting Numbers: [41, 50] Generated Node #0,3,2: 37:[41, 50] Operation: 53-3=50 Exploring Operation: 3+53=56, Resulting Numbers: [41, 56] Generated Node #0,3,3: 37:[41, 56] Operation: 3+53=56 Moving to Node #0,1,0 Current State: 37:[41, 25], Operations: ['14*3=42', '67-42=25'] Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[42, 26], Operations: ['14*3=42', '67-41=26'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 42*26=1092, Resulting Numbers: [1092] 1092,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[41, 50], Operations: ['67-14=53', '53-3=50'] Exploring Operation: 41*50=2050, Resulting Numbers: [2050] 2050,37 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[53, 38], Operations: ['67-14=53', '41-3=38'] Exploring Operation: 53*38=2014, Resulting Numbers: [2014] 2014,37 unequal: No Solution Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[53, 44], Operations: ['67-14=53', '41+3=44'] Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 53+44=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 53*44=2332, Resulting Numbers: [2332] 2332,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[41, 56], Operations: ['67-14=53', '3+53=56'] Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,37 unequal: No Solution Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[67, 1], Operations: ['14*3=42', '42-41=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[42, 108], Operations: ['14*3=42', '41+67=108'] Exploring Operation: 42*108=4536, Resulting Numbers: [4536] 4536,37 unequal: No Solution Exploring Operation: 42+108=150, Resulting Numbers: [150] 150,37 unequal: No Solution Exploring Operation: 108-42=66, Resulting Numbers: [66] 66,37 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 61, 91, 37, 15 ]
52
[ "91-61=30", "37-15=22", "30+22=52" ]
Current State: 52:[61, 91, 37, 15], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [37, 15, 30] Generated Node #2: [37, 15, 30] from Operation: 91-61=30 Current State: 52:[37, 15, 30], Operations: ['91-61=30'] Exploring Operation: 37-15=22, Resulting Numbers: [30, 22] Generated Node #3: [30, 22] from Operation: 37-15=22 Current State: 52:[30, 22], Operations: ['91-61=30', '37-15=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[61, 91, 37, 15], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [61, 37, 76] Generated Node #0,0: 52:[61, 37, 76] Operation: 91-15=76 Exploring Operation: 91-37=54, Resulting Numbers: [61, 15, 54] Generated Node #0,1: 52:[61, 15, 54] Operation: 91-37=54 Exploring Operation: 91-61=30, Resulting Numbers: [37, 15, 30] Generated Node #0,2: 52:[37, 15, 30] Operation: 91-61=30 Exploring Operation: 61-37=24, Resulting Numbers: [91, 15, 24] Generated Node #0,3: 52:[91, 15, 24] Operation: 61-37=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[61, 15, 54], Operations: ['91-37=54'] Exploring Operation: 61-54=7, Resulting Numbers: [15, 7] Generated Node #0,1,0: 52:[15, 7] Operation: 61-54=7 Exploring Operation: 61+15=76, Resulting Numbers: [54, 76] Generated Node #0,1,1: 52:[54, 76] Operation: 61+15=76 Exploring Operation: 54-15=39, Resulting Numbers: [61, 39] Generated Node #0,1,2: 52:[61, 39] Operation: 54-15=39 Exploring Operation: 61-15=46, Resulting Numbers: [54, 46] Generated Node #0,1,3: 52:[54, 46] Operation: 61-15=46 Moving to Node #0,1,0 Current State: 52:[15, 7], Operations: ['91-37=54', '61-54=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[54, 46], Operations: ['91-37=54', '61-15=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,52 unequal: No Solution Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,52 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[61, 39], Operations: ['91-37=54', '54-15=39'] Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,52 unequal: No Solution Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[54, 76], Operations: ['91-37=54', '61+15=76'] Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,52 unequal: No Solution Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,52 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[37, 15, 30], Operations: ['91-61=30'] Exploring Operation: 37-30=7, Resulting Numbers: [15, 7] Generated Node #0,2,0: 52:[15, 7] Operation: 37-30=7 Exploring Operation: 37+15=52, Resulting Numbers: [30, 52] Generated Node #0,2,1: 52:[30, 52] Operation: 37+15=52 Exploring Operation: 37-15=22, Resulting Numbers: [30, 22] Generated Node #0,2,2: 52:[30, 22] Operation: 37-15=22 Exploring Operation: 30/15=2, Resulting Numbers: [37, 2] Generated Node #0,2,3: 52:[37, 2] Operation: 30/15=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[30, 52], Operations: ['91-61=30', '37+15=52'] Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,52 unequal: No Solution Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,52 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[15, 7], Operations: ['91-61=30', '37-30=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[30, 22], Operations: ['91-61=30', '37-15=22'] Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,52 unequal: No Solution Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[61, 91, 37, 15], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [37, 15, 30] Generated Node #0,2: 52:[37, 15, 30] Operation: 91-61=30 Moving to Node #0,2 Current State: 52:[37, 15, 30], Operations: ['91-61=30'] Exploring Operation: 37-15=22, Resulting Numbers: [30, 22] Generated Node #0,2,2: 52:[30, 22] Operation: 37-15=22 Moving to Node #0,2,2 Current State: 52:[30, 22], Operations: ['91-61=30', '37-15=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 81, 53, 51, 69 ]
93
[ "53-51=2", "81*2=162", "162-69=93" ]
Current State: 93:[81, 53, 51, 69], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [81, 69, 2] Generated Node #2: [81, 69, 2] from Operation: 53-51=2 Current State: 93:[81, 69, 2], Operations: ['53-51=2'] Exploring Operation: 81*2=162, Resulting Numbers: [69, 162] Generated Node #3: [69, 162] from Operation: 81*2=162 Current State: 93:[69, 162], Operations: ['53-51=2', '81*2=162'] Exploring Operation: 162-69=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[81, 53, 51, 69], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [81, 51, 16] Generated Node #0,0: 93:[81, 51, 16] Operation: 69-53=16 Exploring Operation: 53-51=2, Resulting Numbers: [81, 69, 2] Generated Node #0,1: 93:[81, 69, 2] Operation: 53-51=2 Moving to Node #0,1 Current State: 93:[81, 69, 2], Operations: ['53-51=2'] Exploring Operation: 81+2=83, Resulting Numbers: [69, 83] Generated Node #0,1,0: 93:[69, 83] Operation: 81+2=83 Exploring Operation: 81-69=12, Resulting Numbers: [2, 12] Generated Node #0,1,1: 93:[2, 12] Operation: 81-69=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[2, 12], Operations: ['53-51=2', '81-69=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[69, 83], Operations: ['53-51=2', '81+2=83'] Exploring Operation: 83-69=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 69+83=152, Resulting Numbers: [152] 152,93 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: 93:[81, 51, 16], Operations: ['69-53=16'] Exploring Operation: 81-51=30, Resulting Numbers: [16, 30] Generated Node #0,0,0: 93:[16, 30] Operation: 81-51=30 Exploring Operation: 51-16=35, Resulting Numbers: [81, 35] Generated Node #0,0,1: 93:[81, 35] Operation: 51-16=35 Moving to Node #0,0,0 Current State: 93:[16, 30], Operations: ['69-53=16', '81-51=30'] Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,93 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[81, 35], Operations: ['69-53=16', '51-16=35'] Exploring Operation: 81+35=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 77, 56, 44, 68 ]
63
[ "77*68=5236", "5236/44=119", "119-56=63" ]
Current State: 63:[77, 56, 44, 68], Operations: [] Exploring Operation: 77*68=5236, Resulting Numbers: [56, 44, 5236] Generated Node #2: [56, 44, 5236] from Operation: 77*68=5236 Current State: 63:[56, 44, 5236], Operations: ['77*68=5236'] Exploring Operation: 5236/44=119, Resulting Numbers: [56, 119] Generated Node #3: [56, 119] from Operation: 5236/44=119 Current State: 63:[56, 119], Operations: ['77*68=5236', '5236/44=119'] Exploring Operation: 119-56=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[77, 56, 44, 68], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [44, 68, 21] Generated Node #0,0: 63:[44, 68, 21] Operation: 77-56=21 Exploring Operation: 56-44=12, Resulting Numbers: [77, 68, 12] Generated Node #0,1: 63:[77, 68, 12] Operation: 56-44=12 Moving to Node #0,1 Current State: 63:[77, 68, 12], Operations: ['56-44=12'] Exploring Operation: 77-12=65, Resulting Numbers: [68, 65] Generated Node #0,1,0: 63:[68, 65] Operation: 77-12=65 Exploring Operation: 77-68=9, Resulting Numbers: [12, 9] Generated Node #0,1,1: 63:[12, 9] Operation: 77-68=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[12, 9], Operations: ['56-44=12', '77-68=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,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:[68, 65], Operations: ['56-44=12', '77-12=65'] Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,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:[44, 68, 21], Operations: ['77-56=21'] Exploring Operation: 44+21=65, Resulting Numbers: [68, 65] Generated Node #0,0,0: 63:[68, 65] Operation: 44+21=65 Exploring Operation: 68-44=24, Resulting Numbers: [21, 24] Generated Node #0,0,1: 63:[21, 24] Operation: 68-44=24 Moving to Node #0,0,1 Current State: 63:[21, 24], Operations: ['77-56=21', '68-44=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[68, 65], Operations: ['77-56=21', '44+21=65'] Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,63 unequal: No Solution Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 77, 69, 46 ]
77
[ "69-22=47", "47-46=1", "77*1=77" ]
Current State: 77:[22, 77, 69, 46], Operations: [] Exploring Operation: 69-22=47, Resulting Numbers: [77, 46, 47] Generated Node #2: [77, 46, 47] from Operation: 69-22=47 Current State: 77:[77, 46, 47], Operations: ['69-22=47'] Exploring Operation: 47-46=1, Resulting Numbers: [77, 1] Generated Node #3: [77, 1] from Operation: 47-46=1 Current State: 77:[77, 1], Operations: ['69-22=47', '47-46=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[22, 77, 69, 46], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [22, 77, 23] Generated Node #0,0: 77:[22, 77, 23] Operation: 69-46=23 Exploring Operation: 22+46=68, Resulting Numbers: [77, 69, 68] Generated Node #0,1: 77:[77, 69, 68] Operation: 22+46=68 Exploring Operation: 46-22=24, Resulting Numbers: [77, 69, 24] Generated Node #0,2: 77:[77, 69, 24] Operation: 46-22=24 Exploring Operation: 77-46=31, Resulting Numbers: [22, 69, 31] Generated Node #0,3: 77:[22, 69, 31] Operation: 77-46=31 Moving to Node #0,1 Current State: 77:[77, 69, 68], Operations: ['22+46=68'] Exploring Operation: 77-68=9, Resulting Numbers: [69, 9] Generated Node #0,1,0: 77:[69, 9] Operation: 77-68=9 Exploring Operation: 77-69=8, Resulting Numbers: [68, 8] Generated Node #0,1,1: 77:[68, 8] Operation: 77-69=8 Exploring Operation: 69+68=137, Resulting Numbers: [77, 137] Generated Node #0,1,2: 77:[77, 137] Operation: 69+68=137 Exploring Operation: 69-68=1, Resulting Numbers: [77, 1] Generated Node #0,1,3: 77:[77, 1] Operation: 69-68=1 Moving to Node #0,2 Current State: 77:[77, 69, 24], Operations: ['46-22=24'] Exploring Operation: 77-24=53, Resulting Numbers: [69, 53] Generated Node #0,2,0: 77:[69, 53] Operation: 77-24=53 Exploring Operation: 69+24=93, Resulting Numbers: [77, 93] Generated Node #0,2,1: 77:[77, 93] Operation: 69+24=93 Exploring Operation: 77+24=101, Resulting Numbers: [69, 101] Generated Node #0,2,2: 77:[69, 101] Operation: 77+24=101 Exploring Operation: 77-69=8, Resulting Numbers: [24, 8] Generated Node #0,2,3: 77:[24, 8] Operation: 77-69=8 Moving to Node #0,0 Current State: 77:[22, 77, 23], Operations: ['69-46=23'] Exploring Operation: 22+23=45, Resulting Numbers: [77, 45] Generated Node #0,0,0: 77:[77, 45] Operation: 22+23=45 Exploring Operation: 23-22=1, Resulting Numbers: [77, 1] Generated Node #0,0,1: 77:[77, 1] Operation: 23-22=1 Exploring Operation: 22+77=99, Resulting Numbers: [23, 99] Generated Node #0,0,2: 77:[23, 99] Operation: 22+77=99 Exploring Operation: 77-22=55, Resulting Numbers: [23, 55] Generated Node #0,0,3: 77:[23, 55] Operation: 77-22=55 Moving to Node #0,3 Current State: 77:[22, 69, 31], Operations: ['77-46=31'] Exploring Operation: 22+69=91, Resulting Numbers: [31, 91] Generated Node #0,3,0: 77:[31, 91] Operation: 22+69=91 Exploring Operation: 69+31=100, Resulting Numbers: [22, 100] Generated Node #0,3,1: 77:[22, 100] Operation: 69+31=100 Exploring Operation: 31-22=9, Resulting Numbers: [69, 9] Generated Node #0,3,2: 77:[69, 9] Operation: 31-22=9 Exploring Operation: 22+31=53, Resulting Numbers: [69, 53] Generated Node #0,3,3: 77:[69, 53] Operation: 22+31=53 Moving to Node #0,1,3 Current State: 77:[77, 1], Operations: ['22+46=68', '69-68=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[22, 77, 69, 46], Operations: [] Exploring Operation: 22+46=68, Resulting Numbers: [77, 69, 68] Generated Node #0,1: 77:[77, 69, 68] Operation: 22+46=68 Moving to Node #0,1 Current State: 77:[77, 69, 68], Operations: ['22+46=68'] Exploring Operation: 69-68=1, Resulting Numbers: [77, 1] Generated Node #0,1,3: 77:[77, 1] Operation: 69-68=1 Moving to Node #0,1,3 Current State: 77:[77, 1], Operations: ['22+46=68', '69-68=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.978299
hs_4
mult_heuristic
[ 26, 41, 27, 86 ]
45
[ "27-26=1", "86-41=45", "1*45=45" ]
Current State: 45:[26, 41, 27, 86], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [41, 86, 1] Generated Node #2: [41, 86, 1] from Operation: 27-26=1 Current State: 45:[41, 86, 1], Operations: ['27-26=1'] Exploring Operation: 86-41=45, Resulting Numbers: [1, 45] Generated Node #3: [1, 45] from Operation: 86-41=45 Current State: 45:[1, 45], Operations: ['27-26=1', '86-41=45'] Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[26, 41, 27, 86], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [26, 27, 45] Generated Node #0,0: 45:[26, 27, 45] Operation: 86-41=45 Moving to Node #0,0 Current State: 45:[26, 27, 45], Operations: ['86-41=45'] Exploring Operation: 27-26=1, Resulting Numbers: [45, 1] Generated Node #0,0,0: 45:[45, 1] Operation: 27-26=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[45, 1], Operations: ['86-41=45', '27-26=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[26, 41, 27, 86], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [26, 27, 45] Generated Node #0,0: 45:[26, 27, 45] Operation: 86-41=45 Moving to Node #0,0 Current State: 45:[26, 27, 45], Operations: ['86-41=45'] Exploring Operation: 27-26=1, Resulting Numbers: [45, 1] Generated Node #0,0,0: 45:[45, 1] Operation: 27-26=1 Moving to Node #0,0,0 Current State: 45:[45, 1], Operations: ['86-41=45', '27-26=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 15, 10, 75, 52 ]
49
[ "15+10=25", "75/25=3", "52-3=49" ]
Current State: 49:[15, 10, 75, 52], Operations: [] Exploring Operation: 15+10=25, Resulting Numbers: [75, 52, 25] Generated Node #2: [75, 52, 25] from Operation: 15+10=25 Current State: 49:[75, 52, 25], Operations: ['15+10=25'] Exploring Operation: 75/25=3, Resulting Numbers: [52, 3] Generated Node #3: [52, 3] from Operation: 75/25=3 Current State: 49:[52, 3], Operations: ['15+10=25', '75/25=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[15, 10, 75, 52], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [75, 52, 5] Generated Node #0,0: 49:[75, 52, 5] Operation: 15-10=5 Exploring Operation: 75-52=23, Resulting Numbers: [15, 10, 23] Generated Node #0,1: 49:[15, 10, 23] Operation: 75-52=23 Exploring Operation: 75-10=65, Resulting Numbers: [15, 52, 65] Generated Node #0,2: 49:[15, 52, 65] Operation: 75-10=65 Exploring Operation: 75-15=60, Resulting Numbers: [10, 52, 60] Generated Node #0,3: 49:[10, 52, 60] Operation: 75-15=60 Exploring Operation: 75/15=5, Resulting Numbers: [10, 52, 5] Generated Node #0,4: 49:[10, 52, 5] Operation: 75/15=5 Moving to Node #0,4 Current State: 49:[10, 52, 5], Operations: ['75/15=5'] Exploring Operation: 52-5=47, Resulting Numbers: [10, 47] Generated Node #0,4,0: 49:[10, 47] Operation: 52-5=47 Exploring Operation: 10*5=50, Resulting Numbers: [52, 50] Generated Node #0,4,1: 49:[52, 50] Operation: 10*5=50 Exploring Operation: 10-5=5, Resulting Numbers: [52, 5] Generated Node #0,4,2: 49:[52, 5] Operation: 10-5=5 Exploring Operation: 10/5=2, Resulting Numbers: [52, 2] Generated Node #0,4,3: 49:[52, 2] Operation: 10/5=2 Exploring Operation: 52-10=42, Resulting Numbers: [5, 42] Generated Node #0,4,4: 49:[5, 42] Operation: 52-10=42 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 49:[52, 50], Operations: ['75/15=5', '10*5=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 49:[10, 47], Operations: ['75/15=5', '52-5=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 49:[52, 5], Operations: ['75/15=5', '10-5=5'] Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,49 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 49:[52, 2], Operations: ['75/15=5', '10/5=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,49 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 49:[5, 42], Operations: ['75/15=5', '52-10=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,49 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: 49:[10, 52, 60], Operations: ['75-15=60'] Exploring Operation: 60-52=8, Resulting Numbers: [10, 8] Generated Node #0,3,0: 49:[10, 8] Operation: 60-52=8 Exploring Operation: 10+52=62, Resulting Numbers: [60, 62] Generated Node #0,3,1: 49:[60, 62] Operation: 10+52=62 Exploring Operation: 60/10=6, Resulting Numbers: [52, 6] Generated Node #0,3,2: 49:[52, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [52, 50] Generated Node #0,3,3: 49:[52, 50] Operation: 60-10=50 Exploring Operation: 52-10=42, Resulting Numbers: [60, 42] Generated Node #0,3,4: 49:[60, 42] Operation: 52-10=42 Moving to Node #0,1 Current State: 49:[15, 10, 23], Operations: ['75-52=23'] Exploring Operation: 15-10=5, Resulting Numbers: [23, 5] Generated Node #0,1,0: 49:[23, 5] Operation: 15-10=5 Exploring Operation: 10+23=33, Resulting Numbers: [15, 33] Generated Node #0,1,1: 49:[15, 33] Operation: 10+23=33 Exploring Operation: 23-10=13, Resulting Numbers: [15, 13] Generated Node #0,1,2: 49:[15, 13] Operation: 23-10=13 Exploring Operation: 23-15=8, Resulting Numbers: [10, 8] Generated Node #0,1,3: 49:[10, 8] Operation: 23-15=8 Exploring Operation: 15+23=38, Resulting Numbers: [10, 38] Generated Node #0,1,4: 49:[10, 38] Operation: 15+23=38 Moving to Node #0,2 Current State: 49:[15, 52, 65], Operations: ['75-10=65'] Exploring Operation: 65-52=13, Resulting Numbers: [15, 13] Generated Node #0,2,0: 49:[15, 13] Operation: 65-52=13 Exploring Operation: 65-15=50, Resulting Numbers: [52, 50] Generated Node #0,2,1: 49:[52, 50] Operation: 65-15=50 Exploring Operation: 15+65=80, Resulting Numbers: [52, 80] Generated Node #0,2,2: 49:[52, 80] Operation: 15+65=80 Exploring Operation: 52-15=37, Resulting Numbers: [65, 37] Generated Node #0,2,3: 49:[65, 37] Operation: 52-15=37 Exploring Operation: 15+52=67, Resulting Numbers: [65, 67] Generated Node #0,2,4: 49:[65, 67] Operation: 15+52=67 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[52, 50], Operations: ['75-10=65', '65-15=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,49 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[15, 13], Operations: ['75-10=65', '65-52=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,49 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[65, 37], Operations: ['75-10=65', '52-15=37'] Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[52, 80], Operations: ['75-10=65', '15+65=80'] Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 49:[65, 67], Operations: ['75-10=65', '15+52=67'] Exploring Operation: 65*67=4355, Resulting Numbers: [4355] 4355,49 unequal: No Solution Exploring Operation: 65+67=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 49:[75, 52, 5], Operations: ['15-10=5'] Exploring Operation: 75-5=70, Resulting Numbers: [52, 70] Generated Node #0,0,0: 49:[52, 70] Operation: 75-5=70 Exploring Operation: 52-5=47, Resulting Numbers: [75, 47] Generated Node #0,0,1: 49:[75, 47] Operation: 52-5=47 Exploring Operation: 75-52=23, Resulting Numbers: [5, 23] Generated Node #0,0,2: 49:[5, 23] Operation: 75-52=23 Exploring Operation: 75+5=80, Resulting Numbers: [52, 80] Generated Node #0,0,3: 49:[52, 80] Operation: 75+5=80 Exploring Operation: 75/5=15, Resulting Numbers: [52, 15] Generated Node #0,0,4: 49:[52, 15] Operation: 75/5=15 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 49:[52, 15], Operations: ['15-10=5', '75/5=15'] Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,49 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[5, 23], Operations: ['15-10=5', '75-52=23'] Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[52, 70], Operations: ['15-10=5', '75-5=70'] Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,49 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[75, 47], Operations: ['15-10=5', '52-5=47'] Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 49:[52, 80], Operations: ['15-10=5', '75+5=80'] Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,49 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,49 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: 49:[10, 8], Operations: ['75-15=60', '60-52=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,49 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[52, 50], Operations: ['75-15=60', '60-10=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[10, 8], Operations: ['75-52=23', '23-15=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,49 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[52, 6], Operations: ['75-15=60', '60/10=6'] Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,49 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[15, 13], Operations: ['75-52=23', '23-10=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,49 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[10, 38], Operations: ['75-52=23', '15+23=38'] Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,49 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[23, 5], Operations: ['75-52=23', '15-10=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,49 unequal: No Solution Moving to Node #0,3,4 Current State: 49:[60, 42], Operations: ['75-15=60', '52-10=42'] Exploring Operation: 60+42=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 60*42=2520, Resulting Numbers: [2520] 2520,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[15, 33], Operations: ['75-52=23', '10+23=33'] Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,49 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[60, 62], Operations: ['75-15=60', '10+52=62'] Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,49 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,49 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 17, 94, 62, 98 ]
49
[ "17+94=111", "62+98=160", "160-111=49" ]
Current State: 49:[17, 94, 62, 98], Operations: [] Exploring Operation: 17+94=111, Resulting Numbers: [62, 98, 111] Generated Node #2: [62, 98, 111] from Operation: 17+94=111 Current State: 49:[62, 98, 111], Operations: ['17+94=111'] Exploring Operation: 62+98=160, Resulting Numbers: [111, 160] Generated Node #3: [111, 160] from Operation: 62+98=160 Current State: 49:[111, 160], Operations: ['17+94=111', '62+98=160'] Exploring Operation: 160-111=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[17, 94, 62, 98], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [17, 62, 4] Generated Node #0,0: 49:[17, 62, 4] Operation: 98-94=4 Exploring Operation: 94-62=32, Resulting Numbers: [17, 98, 32] Generated Node #0,1: 49:[17, 98, 32] Operation: 94-62=32 Exploring Operation: 98-62=36, Resulting Numbers: [17, 94, 36] Generated Node #0,2: 49:[17, 94, 36] Operation: 98-62=36 Moving to Node #0,0 Current State: 49:[17, 62, 4], Operations: ['98-94=4'] Exploring Operation: 62-4=58, Resulting Numbers: [17, 58] Generated Node #0,0,0: 49:[17, 58] Operation: 62-4=58 Exploring Operation: 62-17=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 49:[4, 45] Operation: 62-17=45 Exploring Operation: 17-4=13, Resulting Numbers: [62, 13] Generated Node #0,0,2: 49:[62, 13] Operation: 17-4=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[4, 45], Operations: ['98-94=4', '62-17=45'] Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,49 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[17, 94, 62, 98], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [17, 62, 4] Generated Node #0,0: 49:[17, 62, 4] Operation: 98-94=4 Moving to Node #0,0 Current State: 49:[17, 62, 4], Operations: ['98-94=4'] Exploring Operation: 62-17=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 49:[4, 45] Operation: 62-17=45 Moving to Node #0,0,1 Current State: 49:[4, 45], Operations: ['98-94=4', '62-17=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 81, 60, 36, 39 ]
70
[ "81-39=42", "60*42=2520", "2520/36=70" ]
Current State: 70:[81, 60, 36, 39], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [60, 36, 42] Generated Node #2: [60, 36, 42] from Operation: 81-39=42 Current State: 70:[60, 36, 42], Operations: ['81-39=42'] Exploring Operation: 60*42=2520, Resulting Numbers: [36, 2520] Generated Node #3: [36, 2520] from Operation: 60*42=2520 Current State: 70:[36, 2520], Operations: ['81-39=42', '60*42=2520'] Exploring Operation: 2520/36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[81, 60, 36, 39], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [60, 36, 42] Generated Node #0,0: 70:[60, 36, 42] Operation: 81-39=42 Exploring Operation: 81-60=21, Resulting Numbers: [36, 39, 21] Generated Node #0,1: 70:[36, 39, 21] Operation: 81-60=21 Moving to Node #0,1 Current State: 70:[36, 39, 21], Operations: ['81-60=21'] Exploring Operation: 39-21=18, Resulting Numbers: [36, 18] Generated Node #0,1,0: 70:[36, 18] Operation: 39-21=18 Exploring Operation: 36-21=15, Resulting Numbers: [39, 15] Generated Node #0,1,1: 70:[39, 15] Operation: 36-21=15 Moving to Node #0,0 Current State: 70:[60, 36, 42], Operations: ['81-39=42'] Exploring Operation: 42-36=6, Resulting Numbers: [60, 6] Generated Node #0,0,0: 70:[60, 6] Operation: 42-36=6 Exploring Operation: 60-42=18, Resulting Numbers: [36, 18] Generated Node #0,0,1: 70:[36, 18] Operation: 60-42=18 Moving to Node #0,1,0 Current State: 70:[36, 18], Operations: ['81-60=21', '39-21=18'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[36, 18], Operations: ['81-39=42', '60-42=18'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[39, 15], Operations: ['81-60=21', '36-21=15'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[60, 6], Operations: ['81-39=42', '42-36=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,70 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 18, 96, 35, 2 ]
70
[ "18/2=9", "96-35=61", "9+61=70" ]
Current State: 70:[18, 96, 35, 2], Operations: [] Exploring Operation: 18/2=9, Resulting Numbers: [96, 35, 9] Generated Node #2: [96, 35, 9] from Operation: 18/2=9 Current State: 70:[96, 35, 9], Operations: ['18/2=9'] Exploring Operation: 96-35=61, Resulting Numbers: [9, 61] Generated Node #3: [9, 61] from Operation: 96-35=61 Current State: 70:[9, 61], Operations: ['18/2=9', '96-35=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[18, 96, 35, 2], Operations: [] Exploring Operation: 96-18=78, Resulting Numbers: [35, 2, 78] Generated Node #0,0: 70:[35, 2, 78] Operation: 96-18=78 Exploring Operation: 96/2=48, Resulting Numbers: [18, 35, 48] Generated Node #0,1: 70:[18, 35, 48] Operation: 96/2=48 Exploring Operation: 18*2=36, Resulting Numbers: [96, 35, 36] Generated Node #0,2: 70:[96, 35, 36] Operation: 18*2=36 Exploring Operation: 18/2=9, Resulting Numbers: [96, 35, 9] Generated Node #0,3: 70:[96, 35, 9] Operation: 18/2=9 Exploring Operation: 96-35=61, Resulting Numbers: [18, 2, 61] Generated Node #0,4: 70:[18, 2, 61] Operation: 96-35=61 Moving to Node #0,0 Current State: 70:[35, 2, 78], Operations: ['96-18=78'] Exploring Operation: 78-35=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 70:[2, 43] Operation: 78-35=43 Exploring Operation: 78-2=76, Resulting Numbers: [35, 76] Generated Node #0,0,1: 70:[35, 76] Operation: 78-2=76 Exploring Operation: 35+2=37, Resulting Numbers: [78, 37] Generated Node #0,0,2: 70:[78, 37] Operation: 35+2=37 Exploring Operation: 35*2=70, Resulting Numbers: [78, 70] Generated Node #0,0,3: 70:[78, 70] Operation: 35*2=70 Exploring Operation: 78/2=39, Resulting Numbers: [35, 39] Generated Node #0,0,4: 70:[35, 39] Operation: 78/2=39 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 70:[35, 39], Operations: ['96-18=78', '78/2=39'] Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,70 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[35, 76], Operations: ['96-18=78', '78-2=76'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,70 unequal: No Solution Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[2, 43], Operations: ['96-18=78', '78-35=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,70 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[78, 70], Operations: ['96-18=78', '35*2=70'] Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 78+70=148, Resulting Numbers: [148] 148,70 unequal: No Solution Exploring Operation: 78*70=5460, Resulting Numbers: [5460] 5460,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[78, 37], Operations: ['96-18=78', '35+2=37'] Exploring Operation: 78*37=2886, Resulting Numbers: [2886] 2886,70 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,70 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: 70:[18, 2, 61], Operations: ['96-35=61'] Exploring Operation: 18*2=36, Resulting Numbers: [61, 36] Generated Node #0,4,0: 70:[61, 36] Operation: 18*2=36 Exploring Operation: 18/2=9, Resulting Numbers: [61, 9] Generated Node #0,4,1: 70:[61, 9] Operation: 18/2=9 Exploring Operation: 18-2=16, Resulting Numbers: [61, 16] Generated Node #0,4,2: 70:[61, 16] Operation: 18-2=16 Exploring Operation: 18+61=79, Resulting Numbers: [2, 79] Generated Node #0,4,3: 70:[2, 79] Operation: 18+61=79 Exploring Operation: 61-18=43, Resulting Numbers: [2, 43] Generated Node #0,4,4: 70:[2, 43] Operation: 61-18=43 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 70:[2, 43], Operations: ['96-35=61', '61-18=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,70 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 70:[2, 79], Operations: ['96-35=61', '18+61=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,70 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,70 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 70:[61, 36], Operations: ['96-35=61', '18*2=36'] Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,70 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 70:[61, 9], Operations: ['96-35=61', '18/2=9'] Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,70 unequal: No Solution Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[18, 96, 35, 2], Operations: [] Exploring Operation: 96-35=61, Resulting Numbers: [18, 2, 61] Generated Node #0,4: 70:[18, 2, 61] Operation: 96-35=61 Moving to Node #0,4 Current State: 70:[18, 2, 61], Operations: ['96-35=61'] Exploring Operation: 18/2=9, Resulting Numbers: [61, 9] Generated Node #0,4,1: 70:[61, 9] Operation: 18/2=9 Moving to Node #0,4,1 Current State: 70:[61, 9], Operations: ['96-35=61', '18/2=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
sum_heuristic
[ 84, 5, 33, 87 ]
55
[ "87-84=3", "5*33=165", "165/3=55" ]
Current State: 55:[84, 5, 33, 87], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [5, 33, 3] Generated Node #2: [5, 33, 3] from Operation: 87-84=3 Current State: 55:[5, 33, 3], Operations: ['87-84=3'] Exploring Operation: 5*33=165, Resulting Numbers: [3, 165] Generated Node #3: [3, 165] from Operation: 5*33=165 Current State: 55:[3, 165], Operations: ['87-84=3', '5*33=165'] Exploring Operation: 165/3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[84, 5, 33, 87], Operations: [] Exploring Operation: 84-33=51, Resulting Numbers: [5, 87, 51] Generated Node #0,0: 55:[5, 87, 51] Operation: 84-33=51 Exploring Operation: 84-5=79, Resulting Numbers: [33, 87, 79] Generated Node #0,1: 55:[33, 87, 79] Operation: 84-5=79 Exploring Operation: 87-84=3, Resulting Numbers: [5, 33, 3] Generated Node #0,2: 55:[5, 33, 3] Operation: 87-84=3 Exploring Operation: 87-33=54, Resulting Numbers: [84, 5, 54] Generated Node #0,3: 55:[84, 5, 54] Operation: 87-33=54 Moving to Node #0,2 Current State: 55:[5, 33, 3], Operations: ['87-84=3'] Exploring Operation: 33-5=28, Resulting Numbers: [3, 28] Generated Node #0,2,0: 55:[3, 28] Operation: 33-5=28 Exploring Operation: 5+33=38, Resulting Numbers: [3, 38] Generated Node #0,2,1: 55:[3, 38] Operation: 5+33=38 Exploring Operation: 33+3=36, Resulting Numbers: [5, 36] Generated Node #0,2,2: 55:[5, 36] Operation: 33+3=36 Exploring Operation: 33/3=11, Resulting Numbers: [5, 11] Generated Node #0,2,3: 55:[5, 11] Operation: 33/3=11 Moving to Node #0,3 Current State: 55:[84, 5, 54], Operations: ['87-33=54'] Exploring Operation: 84-5=79, Resulting Numbers: [54, 79] Generated Node #0,3,0: 55:[54, 79] Operation: 84-5=79 Exploring Operation: 84+5=89, Resulting Numbers: [54, 89] Generated Node #0,3,1: 55:[54, 89] Operation: 84+5=89 Exploring Operation: 84-54=30, Resulting Numbers: [5, 30] Generated Node #0,3,2: 55:[5, 30] Operation: 84-54=30 Exploring Operation: 5+54=59, Resulting Numbers: [84, 59] Generated Node #0,3,3: 55:[84, 59] Operation: 5+54=59 Moving to Node #0,0 Current State: 55:[5, 87, 51], Operations: ['84-33=51'] Exploring Operation: 87-51=36, Resulting Numbers: [5, 36] Generated Node #0,0,0: 55:[5, 36] Operation: 87-51=36 Exploring Operation: 87-5=82, Resulting Numbers: [51, 82] Generated Node #0,0,1: 55:[51, 82] Operation: 87-5=82 Exploring Operation: 5+51=56, Resulting Numbers: [87, 56] Generated Node #0,0,2: 55:[87, 56] Operation: 5+51=56 Exploring Operation: 5+87=92, Resulting Numbers: [51, 92] Generated Node #0,0,3: 55:[51, 92] Operation: 5+87=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[5, 36], Operations: ['84-33=51', '87-51=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,55 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[51, 82], Operations: ['84-33=51', '87-5=82'] Exploring Operation: 51+82=133, Resulting Numbers: [133] 133,55 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 51*82=4182, Resulting Numbers: [4182] 4182,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[87, 56], Operations: ['84-33=51', '5+51=56'] Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,55 unequal: No Solution Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,55 unequal: No Solution Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[51, 92], Operations: ['84-33=51', '5+87=92'] Exploring Operation: 51*92=4692, Resulting Numbers: [4692] 4692,55 unequal: No Solution Exploring Operation: 51+92=143, Resulting Numbers: [143] 143,55 unequal: No Solution Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,55 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: 55:[33, 87, 79], Operations: ['84-5=79'] Exploring Operation: 87-33=54, Resulting Numbers: [79, 54] Generated Node #0,1,0: 55:[79, 54] Operation: 87-33=54 Exploring Operation: 87-79=8, Resulting Numbers: [33, 8] Generated Node #0,1,1: 55:[33, 8] Operation: 87-79=8 Exploring Operation: 33+87=120, Resulting Numbers: [79, 120] Generated Node #0,1,2: 55:[79, 120] Operation: 33+87=120 Exploring Operation: 79-33=46, Resulting Numbers: [87, 46] Generated Node #0,1,3: 55:[87, 46] Operation: 79-33=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[79, 54], Operations: ['84-5=79', '87-33=54'] Exploring Operation: 79+54=133, Resulting Numbers: [133] 133,55 unequal: No Solution Exploring Operation: 79*54=4266, Resulting Numbers: [4266] 4266,55 unequal: No Solution Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[33, 8], Operations: ['84-5=79', '87-79=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[87, 46], Operations: ['84-5=79', '79-33=46'] Exploring Operation: 87+46=133, Resulting Numbers: [133] 133,55 unequal: No Solution Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 87*46=4002, Resulting Numbers: [4002] 4002,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[79, 120], Operations: ['84-5=79', '33+87=120'] Exploring Operation: 79+120=199, Resulting Numbers: [199] 199,55 unequal: No Solution Exploring Operation: 79*120=9480, Resulting Numbers: [9480] 9480,55 unequal: No Solution Exploring Operation: 120-79=41, Resulting Numbers: [41] 41,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 55:[5, 11], Operations: ['87-84=3', '33/3=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[84, 5, 33, 87], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [5, 33, 3] Generated Node #0,2: 55:[5, 33, 3] Operation: 87-84=3 Moving to Node #0,2 Current State: 55:[5, 33, 3], Operations: ['87-84=3'] Exploring Operation: 33/3=11, Resulting Numbers: [5, 11] Generated Node #0,2,3: 55:[5, 11] Operation: 33/3=11 Moving to Node #0,2,3 Current State: 55:[5, 11], Operations: ['87-84=3', '33/3=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 44, 22, 44, 64 ]
87
[ "44/44=1", "22+64=86", "1+86=87" ]
Current State: 87:[44, 22, 44, 64], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [22, 64, 1] Generated Node #2: [22, 64, 1] from Operation: 44/44=1 Current State: 87:[22, 64, 1], Operations: ['44/44=1'] Exploring Operation: 22+64=86, Resulting Numbers: [1, 86] Generated Node #3: [1, 86] from Operation: 22+64=86 Current State: 87:[1, 86], Operations: ['44/44=1', '22+64=86'] Exploring Operation: 1+86=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[44, 22, 44, 64], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [44, 22, 20] Generated Node #0,0: 87:[44, 22, 20] Operation: 64-44=20 Exploring Operation: 22+64=86, Resulting Numbers: [44, 44, 86] Generated Node #0,1: 87:[44, 44, 86] Operation: 22+64=86 Exploring Operation: 44+44=88, Resulting Numbers: [22, 64, 88] Generated Node #0,2: 87:[22, 64, 88] Operation: 44+44=88 Exploring Operation: 64-44=20, Resulting Numbers: [22, 44, 20] Generated Node #0,3: 87:[22, 44, 20] Operation: 64-44=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[44, 22, 20], Operations: ['64-44=20'] Exploring Operation: 44-22=22, Resulting Numbers: [20, 22] Generated Node #0,0,0: 87:[20, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 87:[20, 2] Operation: 44/22=2 Exploring Operation: 22-20=2, Resulting Numbers: [44, 2] Generated Node #0,0,2: 87:[44, 2] Operation: 22-20=2 Exploring Operation: 44-20=24, Resulting Numbers: [22, 24] Generated Node #0,0,3: 87:[22, 24] Operation: 44-20=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[20, 2], Operations: ['64-44=20', '44/22=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,87 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,87 unequal: No Solution No 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: 87:[22, 24], Operations: ['64-44=20', '44-20=24'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,87 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,87 unequal: No Solution No 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: 87:[20, 22], Operations: ['64-44=20', '44-22=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,87 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,87 unequal: No Solution No 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: 87:[44, 2], Operations: ['64-44=20', '22-20=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,87 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: 87:[44, 44, 86], Operations: ['22+64=86'] Exploring Operation: 86-44=42, Resulting Numbers: [44, 42] Generated Node #0,1,0: 87:[44, 42] Operation: 86-44=42 Exploring Operation: 44/44=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 87:[86, 1] Operation: 44/44=1 Exploring Operation: 44+44=88, Resulting Numbers: [86, 88] Generated Node #0,1,2: 87:[86, 88] Operation: 44+44=88 Exploring Operation: 44-44=0, Resulting Numbers: [86, 0] Generated Node #0,1,3: 87:[86, 0] Operation: 44-44=0 Moving to Node #0,1,2 Current State: 87:[86, 88], Operations: ['22+64=86', '44+44=88'] Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,87 unequal: No Solution Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[86, 1], Operations: ['22+64=86', '44/44=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[44, 22, 44, 64], Operations: [] Exploring Operation: 22+64=86, Resulting Numbers: [44, 44, 86] Generated Node #0,1: 87:[44, 44, 86] Operation: 22+64=86 Moving to Node #0,1 Current State: 87:[44, 44, 86], Operations: ['22+64=86'] Exploring Operation: 44/44=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 87:[86, 1] Operation: 44/44=1 Moving to Node #0,1,1 Current State: 87:[86, 1], Operations: ['22+64=86', '44/44=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 30, 60, 78, 85 ]
14
[ "60/30=2", "85-78=7", "2*7=14" ]
Current State: 14:[30, 60, 78, 85], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [78, 85, 2] Generated Node #2: [78, 85, 2] from Operation: 60/30=2 Current State: 14:[78, 85, 2], Operations: ['60/30=2'] Exploring Operation: 85-78=7, Resulting Numbers: [2, 7] Generated Node #3: [2, 7] from Operation: 85-78=7 Current State: 14:[2, 7], Operations: ['60/30=2', '85-78=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[30, 60, 78, 85], Operations: [] Exploring Operation: 78-60=18, Resulting Numbers: [30, 85, 18] Generated Node #0,0: 14:[30, 85, 18] Operation: 78-60=18 Exploring Operation: 85-60=25, Resulting Numbers: [30, 78, 25] Generated Node #0,1: 14:[30, 78, 25] Operation: 85-60=25 Exploring Operation: 85-78=7, Resulting Numbers: [30, 60, 7] Generated Node #0,2: 14:[30, 60, 7] Operation: 85-78=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[30, 60, 7], Operations: ['85-78=7'] Exploring Operation: 30-7=23, Resulting Numbers: [60, 23] Generated Node #0,2,0: 14:[60, 23] Operation: 30-7=23 Exploring Operation: 60-30=30, Resulting Numbers: [7, 30] Generated Node #0,2,1: 14:[7, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 14:[7, 2] Operation: 60/30=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[7, 2], Operations: ['85-78=7', '60/30=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[30, 60, 78, 85], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [30, 60, 7] Generated Node #0,2: 14:[30, 60, 7] Operation: 85-78=7 Moving to Node #0,2 Current State: 14:[30, 60, 7], Operations: ['85-78=7'] Exploring Operation: 60/30=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 14:[7, 2] Operation: 60/30=2 Moving to Node #0,2,2 Current State: 14:[7, 2], Operations: ['85-78=7', '60/30=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 63, 74, 69, 34 ]
92
[ "74-63=11", "69+34=103", "103-11=92" ]
Current State: 92:[63, 74, 69, 34], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [69, 34, 11] Generated Node #2: [69, 34, 11] from Operation: 74-63=11 Current State: 92:[69, 34, 11], Operations: ['74-63=11'] Exploring Operation: 69+34=103, Resulting Numbers: [11, 103] Generated Node #3: [11, 103] from Operation: 69+34=103 Current State: 92:[11, 103], Operations: ['74-63=11', '69+34=103'] Exploring Operation: 103-11=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[63, 74, 69, 34], Operations: [] Exploring Operation: 74-69=5, Resulting Numbers: [63, 34, 5] Generated Node #0,0: 92:[63, 34, 5] Operation: 74-69=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[63, 34, 5], Operations: ['74-69=5'] Exploring Operation: 63+34=97, Resulting Numbers: [5, 97] Generated Node #0,0,0: 92:[5, 97] Operation: 63+34=97 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[5, 97], Operations: ['74-69=5', '63+34=97'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[63, 74, 69, 34], Operations: [] Exploring Operation: 74-69=5, Resulting Numbers: [63, 34, 5] Generated Node #0,0: 92:[63, 34, 5] Operation: 74-69=5 Moving to Node #0,0 Current State: 92:[63, 34, 5], Operations: ['74-69=5'] Exploring Operation: 63+34=97, Resulting Numbers: [5, 97] Generated Node #0,0,0: 92:[5, 97] Operation: 63+34=97 Moving to Node #0,0,0 Current State: 92:[5, 97], Operations: ['74-69=5', '63+34=97'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic