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
[ 24, 75, 78, 38 ]
45
[ "24*75=1800", "78-38=40", "1800/40=45" ]
Current State: 45:[24, 75, 78, 38], Operations: [] Exploring Operation: 24*75=1800, Resulting Numbers: [78, 38, 1800] Generated Node #2: [78, 38, 1800] from Operation: 24*75=1800 Current State: 45:[78, 38, 1800], Operations: ['24*75=1800'] Exploring Operation: 78-38=40, Resulting Numbers: [1800, 40] Generated Node #3: [1800, 40] from Operation: 78-38=40 Current State: 45:[1800, 40], Operations: ['24*75=1800', '78-38=40'] Exploring Operation: 1800/40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[24, 75, 78, 38], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [75, 38, 54] Generated Node #0,0: 45:[75, 38, 54] Operation: 78-24=54 Exploring Operation: 78-38=40, Resulting Numbers: [24, 75, 40] Generated Node #0,1: 45:[24, 75, 40] Operation: 78-38=40 Exploring Operation: 75-24=51, Resulting Numbers: [78, 38, 51] Generated Node #0,2: 45:[78, 38, 51] Operation: 75-24=51 Exploring Operation: 78-75=3, Resulting Numbers: [24, 38, 3] Generated Node #0,3: 45:[24, 38, 3] Operation: 78-75=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[24, 38, 3], Operations: ['78-75=3'] Exploring Operation: 24/3=8, Resulting Numbers: [38, 8] Generated Node #0,3,0: 45:[38, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [38, 21] Generated Node #0,3,1: 45:[38, 21] Operation: 24-3=21 Exploring Operation: 38-24=14, Resulting Numbers: [3, 14] Generated Node #0,3,2: 45:[3, 14] Operation: 38-24=14 Exploring Operation: 38+3=41, Resulting Numbers: [24, 41] Generated Node #0,3,3: 45:[24, 41] Operation: 38+3=41 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 45:[3, 14], Operations: ['78-75=3', '38-24=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,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,3,0 Current State: 45:[38, 8], Operations: ['78-75=3', '24/3=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,45 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,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,3,1 Current State: 45:[38, 21], Operations: ['78-75=3', '24-3=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,45 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,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,3,3 Current State: 45:[24, 41], Operations: ['78-75=3', '38+3=41'] Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[24, 75, 40], Operations: ['78-38=40'] Exploring Operation: 40-24=16, Resulting Numbers: [75, 16] Generated Node #0,1,0: 45:[75, 16] Operation: 40-24=16 Exploring Operation: 24+40=64, Resulting Numbers: [75, 64] Generated Node #0,1,1: 45:[75, 64] Operation: 24+40=64 Exploring Operation: 75-40=35, Resulting Numbers: [24, 35] Generated Node #0,1,2: 45:[24, 35] Operation: 75-40=35 Exploring Operation: 75-24=51, Resulting Numbers: [40, 51] Generated Node #0,1,3: 45:[40, 51] Operation: 75-24=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 45:[40, 51], Operations: ['78-38=40', '75-24=51'] Exploring Operation: 40*51=2040, Resulting Numbers: [2040] 2040,45 unequal: No Solution Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,45 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,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,1,2 Current State: 45:[24, 35], Operations: ['78-38=40', '75-40=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,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,1,0 Current State: 45:[75, 16], Operations: ['78-38=40', '40-24=16'] Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,45 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,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,1,1 Current State: 45:[75, 64], Operations: ['78-38=40', '24+40=64'] Exploring Operation: 75+64=139, Resulting Numbers: [139] 139,45 unequal: No Solution Exploring Operation: 75*64=4800, Resulting Numbers: [4800] 4800,45 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[75, 38, 54], Operations: ['78-24=54'] Exploring Operation: 75-38=37, Resulting Numbers: [54, 37] Generated Node #0,0,0: 45:[54, 37] Operation: 75-38=37 Exploring Operation: 54-38=16, Resulting Numbers: [75, 16] Generated Node #0,0,1: 45:[75, 16] Operation: 54-38=16 Exploring Operation: 75+38=113, Resulting Numbers: [54, 113] Generated Node #0,0,2: 45:[54, 113] Operation: 75+38=113 Exploring Operation: 75-54=21, Resulting Numbers: [38, 21] Generated Node #0,0,3: 45:[38, 21] Operation: 75-54=21 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[38, 21], Operations: ['78-24=54', '75-54=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,45 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,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,0 Current State: 45:[54, 37], Operations: ['78-24=54', '75-38=37'] Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,45 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,45 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,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:[75, 16], Operations: ['78-24=54', '54-38=16'] Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,45 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,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,2 Current State: 45:[54, 113], Operations: ['78-24=54', '75+38=113'] Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 54*113=6102, Resulting Numbers: [6102] 6102,45 unequal: No Solution Exploring Operation: 54+113=167, Resulting Numbers: [167] 167,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[78, 38, 51], Operations: ['75-24=51'] Exploring Operation: 78-38=40, Resulting Numbers: [51, 40] Generated Node #0,2,0: 45:[51, 40] Operation: 78-38=40 Exploring Operation: 78+38=116, Resulting Numbers: [51, 116] Generated Node #0,2,1: 45:[51, 116] Operation: 78+38=116 Exploring Operation: 78-51=27, Resulting Numbers: [38, 27] Generated Node #0,2,2: 45:[38, 27] Operation: 78-51=27 Exploring Operation: 51-38=13, Resulting Numbers: [78, 13] Generated Node #0,2,3: 45:[78, 13] Operation: 51-38=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[51, 40], Operations: ['75-24=51', '78-38=40'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,45 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,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,2,2 Current State: 45:[38, 27], Operations: ['75-24=51', '78-51=27'] Exploring Operation: 38+27=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 38*27=1026, Resulting Numbers: [1026] 1026,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,2,3 Current State: 45:[78, 13], Operations: ['75-24=51', '51-38=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 78*13=1014, Resulting Numbers: [1014] 1014,45 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,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,2,1 Current State: 45:[51, 116], Operations: ['75-24=51', '78+38=116'] Exploring Operation: 51*116=5916, Resulting Numbers: [5916] 5916,45 unequal: No Solution Exploring Operation: 116-51=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 51+116=167, Resulting Numbers: [167] 167,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_4
sum_heuristic
[ 65, 1, 49, 98 ]
65
[ "98/49=2", "2-1=1", "65*1=65" ]
Current State: 65:[65, 1, 49, 98], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [65, 1, 2] Generated Node #2: [65, 1, 2] from Operation: 98/49=2 Current State: 65:[65, 1, 2], Operations: ['98/49=2'] Exploring Operation: 2-1=1, Resulting Numbers: [65, 1] Generated Node #3: [65, 1] from Operation: 2-1=1 Current State: 65:[65, 1], Operations: ['98/49=2', '2-1=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[65, 1, 49, 98], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [65, 1, 2] Generated Node #0,0: 65:[65, 1, 2] Operation: 98/49=2 Moving to Node #0,0 Current State: 65:[65, 1, 2], Operations: ['98/49=2'] Exploring Operation: 1+2=3, Resulting Numbers: [65, 3] Generated Node #0,0,0: 65:[65, 3] Operation: 1+2=3 Moving to Node #0,0,0 Current State: 65:[65, 3], Operations: ['98/49=2', '1+2=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,65 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 15, 51, 8, 4 ]
62
[ "15+51=66", "8-4=4", "66-4=62" ]
Current State: 62:[15, 51, 8, 4], Operations: [] Exploring Operation: 15+51=66, Resulting Numbers: [8, 4, 66] Generated Node #2: [8, 4, 66] from Operation: 15+51=66 Current State: 62:[8, 4, 66], Operations: ['15+51=66'] Exploring Operation: 8-4=4, Resulting Numbers: [66, 4] Generated Node #3: [66, 4] from Operation: 8-4=4 Current State: 62:[66, 4], Operations: ['15+51=66', '8-4=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[15, 51, 8, 4], Operations: [] Exploring Operation: 51-15=36, Resulting Numbers: [8, 4, 36] Generated Node #0,0: 62:[8, 4, 36] Operation: 51-15=36 Exploring Operation: 15-8=7, Resulting Numbers: [51, 4, 7] Generated Node #0,1: 62:[51, 4, 7] Operation: 15-8=7 Exploring Operation: 51+8=59, Resulting Numbers: [15, 4, 59] Generated Node #0,2: 62:[15, 4, 59] Operation: 51+8=59 Exploring Operation: 15*4=60, Resulting Numbers: [51, 8, 60] Generated Node #0,3: 62:[51, 8, 60] Operation: 15*4=60 Exploring Operation: 15+51=66, Resulting Numbers: [8, 4, 66] Generated Node #0,4: 62:[8, 4, 66] Operation: 15+51=66 Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[8, 4, 66], Operations: ['15+51=66'] Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #0,4,0: 62:[66, 2] Operation: 8/4=2 Exploring Operation: 66-8=58, Resulting Numbers: [4, 58] Generated Node #0,4,1: 62:[4, 58] Operation: 66-8=58 Exploring Operation: 8*4=32, Resulting Numbers: [66, 32] Generated Node #0,4,2: 62:[66, 32] Operation: 8*4=32 Exploring Operation: 8-4=4, Resulting Numbers: [66, 4] Generated Node #0,4,3: 62:[66, 4] Operation: 8-4=4 Exploring Operation: 66-4=62, Resulting Numbers: [8, 62] Generated Node #0,4,4: 62:[8, 62] Operation: 66-4=62 Moving to Node #0,4,0 Current State: 62:[66, 2], Operations: ['15+51=66', '8/4=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,62 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,62 unequal: No Solution Moving to Node #0,4,2 Current State: 62:[66, 32], Operations: ['15+51=66', '8*4=32'] Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,62 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,62 unequal: No Solution Moving to Node #0,4,1 Current State: 62:[4, 58], Operations: ['15+51=66', '66-8=58'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[15, 51, 8, 4], Operations: [] Exploring Operation: 15+51=66, Resulting Numbers: [8, 4, 66] Generated Node #0,4: 62:[8, 4, 66] Operation: 15+51=66 Moving to Node #0,4 Current State: 62:[8, 4, 66], Operations: ['15+51=66'] Exploring Operation: 66-8=58, Resulting Numbers: [4, 58] Generated Node #0,4,1: 62:[4, 58] Operation: 66-8=58 Moving to Node #0,4,1 Current State: 62:[4, 58], Operations: ['15+51=66', '66-8=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 29, 18, 99, 16 ]
59
[ "99*16=1584", "1584/18=88", "88-29=59" ]
Current State: 59:[29, 18, 99, 16], Operations: [] Exploring Operation: 99*16=1584, Resulting Numbers: [29, 18, 1584] Generated Node #2: [29, 18, 1584] from Operation: 99*16=1584 Current State: 59:[29, 18, 1584], Operations: ['99*16=1584'] Exploring Operation: 1584/18=88, Resulting Numbers: [29, 88] Generated Node #3: [29, 88] from Operation: 1584/18=88 Current State: 59:[29, 88], Operations: ['99*16=1584', '1584/18=88'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[29, 18, 99, 16], Operations: [] Exploring Operation: 29+18=47, Resulting Numbers: [99, 16, 47] Generated Node #0,0: 59:[99, 16, 47] Operation: 29+18=47 Exploring Operation: 99-29=70, Resulting Numbers: [18, 16, 70] Generated Node #0,1: 59:[18, 16, 70] Operation: 99-29=70 Exploring Operation: 18+16=34, Resulting Numbers: [29, 99, 34] Generated Node #0,2: 59:[29, 99, 34] Operation: 18+16=34 Exploring Operation: 29+16=45, Resulting Numbers: [18, 99, 45] Generated Node #0,3: 59:[18, 99, 45] Operation: 29+16=45 Exploring Operation: 99-18=81, Resulting Numbers: [29, 16, 81] Generated Node #0,4: 59:[29, 16, 81] Operation: 99-18=81 Moving to Node #0,0 Current State: 59:[99, 16, 47], Operations: ['29+18=47'] Exploring Operation: 99-47=52, Resulting Numbers: [16, 52] Generated Node #0,0,0: 59:[16, 52] Operation: 99-47=52 Exploring Operation: 47-16=31, Resulting Numbers: [99, 31] Generated Node #0,0,1: 59:[99, 31] Operation: 47-16=31 Exploring Operation: 16+47=63, Resulting Numbers: [99, 63] Generated Node #0,0,2: 59:[99, 63] Operation: 16+47=63 Exploring Operation: 99+16=115, Resulting Numbers: [47, 115] Generated Node #0,0,3: 59:[47, 115] Operation: 99+16=115 Exploring Operation: 99-16=83, Resulting Numbers: [47, 83] Generated Node #0,0,4: 59:[47, 83] Operation: 99-16=83 Moving to Node #0,2 Current State: 59:[29, 99, 34], Operations: ['18+16=34'] Exploring Operation: 99-29=70, Resulting Numbers: [34, 70] Generated Node #0,2,0: 59:[34, 70] Operation: 99-29=70 Exploring Operation: 99-34=65, Resulting Numbers: [29, 65] Generated Node #0,2,1: 59:[29, 65] Operation: 99-34=65 Exploring Operation: 29+34=63, Resulting Numbers: [99, 63] Generated Node #0,2,2: 59:[99, 63] Operation: 29+34=63 Exploring Operation: 29+99=128, Resulting Numbers: [34, 128] Generated Node #0,2,3: 59:[34, 128] Operation: 29+99=128 Exploring Operation: 34-29=5, Resulting Numbers: [99, 5] Generated Node #0,2,4: 59:[99, 5] Operation: 34-29=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[34, 70], Operations: ['18+16=34', '99-29=70'] Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[29, 65], Operations: ['18+16=34', '99-34=65'] Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[99, 63], Operations: ['18+16=34', '29+34=63'] Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 99*63=6237, Resulting Numbers: [6237] 6237,59 unequal: No Solution Exploring Operation: 99+63=162, Resulting Numbers: [162] 162,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[34, 128], Operations: ['18+16=34', '29+99=128'] Exploring Operation: 34*128=4352, Resulting Numbers: [4352] 4352,59 unequal: No Solution Exploring Operation: 128-34=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 34+128=162, Resulting Numbers: [162] 162,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 59:[99, 5], Operations: ['18+16=34', '34-29=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,59 unequal: No Solution Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,59 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: 59:[29, 16, 81], Operations: ['99-18=81'] Exploring Operation: 81-16=65, Resulting Numbers: [29, 65] Generated Node #0,4,0: 59:[29, 65] Operation: 81-16=65 Exploring Operation: 29+16=45, Resulting Numbers: [81, 45] Generated Node #0,4,1: 59:[81, 45] Operation: 29+16=45 Exploring Operation: 81-29=52, Resulting Numbers: [16, 52] Generated Node #0,4,2: 59:[16, 52] Operation: 81-29=52 Exploring Operation: 16+81=97, Resulting Numbers: [29, 97] Generated Node #0,4,3: 59:[29, 97] Operation: 16+81=97 Exploring Operation: 29-16=13, Resulting Numbers: [81, 13] Generated Node #0,4,4: 59:[81, 13] Operation: 29-16=13 Moving to Node #0,1 Current State: 59:[18, 16, 70], Operations: ['99-29=70'] Exploring Operation: 70-16=54, Resulting Numbers: [18, 54] Generated Node #0,1,0: 59:[18, 54] Operation: 70-16=54 Exploring Operation: 18+16=34, Resulting Numbers: [70, 34] Generated Node #0,1,1: 59:[70, 34] Operation: 18+16=34 Exploring Operation: 18-16=2, Resulting Numbers: [70, 2] Generated Node #0,1,2: 59:[70, 2] Operation: 18-16=2 Exploring Operation: 70-18=52, Resulting Numbers: [16, 52] Generated Node #0,1,3: 59:[16, 52] Operation: 70-18=52 Exploring Operation: 16+70=86, Resulting Numbers: [18, 86] Generated Node #0,1,4: 59:[18, 86] Operation: 16+70=86 Moving to Node #0,3 Current State: 59:[18, 99, 45], Operations: ['29+16=45'] Exploring Operation: 99-18=81, Resulting Numbers: [45, 81] Generated Node #0,3,0: 59:[45, 81] Operation: 99-18=81 Exploring Operation: 99-45=54, Resulting Numbers: [18, 54] Generated Node #0,3,1: 59:[18, 54] Operation: 99-45=54 Exploring Operation: 18+99=117, Resulting Numbers: [45, 117] Generated Node #0,3,2: 59:[45, 117] Operation: 18+99=117 Exploring Operation: 18+45=63, Resulting Numbers: [99, 63] Generated Node #0,3,3: 59:[99, 63] Operation: 18+45=63 Exploring Operation: 45-18=27, Resulting Numbers: [99, 27] Generated Node #0,3,4: 59:[99, 27] Operation: 45-18=27 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[45, 81], Operations: ['29+16=45', '99-18=81'] Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[99, 63], Operations: ['29+16=45', '18+45=63'] Exploring Operation: 99*63=6237, Resulting Numbers: [6237] 6237,59 unequal: No Solution Exploring Operation: 99+63=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[18, 54], Operations: ['29+16=45', '99-45=54'] Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,59 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[45, 117], Operations: ['29+16=45', '18+99=117'] Exploring Operation: 45*117=5265, Resulting Numbers: [5265] 5265,59 unequal: No Solution Exploring Operation: 117-45=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 45+117=162, Resulting Numbers: [162] 162,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 59:[99, 27], Operations: ['29+16=45', '45-18=27'] Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,59 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 59:[47, 83], Operations: ['29+18=47', '99-16=83'] Exploring Operation: 47*83=3901, Resulting Numbers: [3901] 3901,59 unequal: No Solution Exploring Operation: 83-47=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 47+83=130, Resulting Numbers: [130] 130,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[29, 65], Operations: ['99-18=81', '81-16=65'] Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,59 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[81, 45], Operations: ['99-18=81', '29+16=45'] Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,59 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[70, 34], Operations: ['99-29=70', '18+16=34'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,59 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[99, 63], Operations: ['29+18=47', '16+47=63'] Exploring Operation: 99+63=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 99*63=6237, Resulting Numbers: [6237] 6237,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[18, 54], Operations: ['99-29=70', '70-16=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[16, 52], Operations: ['99-29=70', '70-18=52'] Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,59 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[16, 52], Operations: ['99-18=81', '81-29=52'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[16, 52], Operations: ['29+18=47', '99-47=52'] Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,59 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[70, 2], Operations: ['99-29=70', '18-16=2'] Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[18, 86], Operations: ['99-29=70', '16+70=86'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 18*86=1548, Resulting Numbers: [1548] 1548,59 unequal: No Solution Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[81, 13], Operations: ['99-18=81', '29-16=13'] Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 81*13=1053, Resulting Numbers: [1053] 1053,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[29, 97], Operations: ['99-18=81', '16+81=97'] Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 29*97=2813, Resulting Numbers: [2813] 2813,59 unequal: No Solution Exploring Operation: 29+97=126, Resulting Numbers: [126] 126,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[47, 115], Operations: ['29+18=47', '99+16=115'] Exploring Operation: 115-47=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 47*115=5405, Resulting Numbers: [5405] 5405,59 unequal: No Solution Exploring Operation: 47+115=162, Resulting Numbers: [162] 162,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[99, 31], Operations: ['29+18=47', '47-16=31'] Exploring Operation: 99*31=3069, Resulting Numbers: [3069] 3069,59 unequal: No Solution Exploring Operation: 99+31=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 91, 20, 44, 87 ]
39
[ "91-87=4", "20/4=5", "44-5=39" ]
Current State: 39:[91, 20, 44, 87], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [20, 44, 4] Generated Node #2: [20, 44, 4] from Operation: 91-87=4 Current State: 39:[20, 44, 4], Operations: ['91-87=4'] Exploring Operation: 20/4=5, Resulting Numbers: [44, 5] Generated Node #3: [44, 5] from Operation: 20/4=5 Current State: 39:[44, 5], Operations: ['91-87=4', '20/4=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[91, 20, 44, 87], Operations: [] Exploring Operation: 91-44=47, Resulting Numbers: [20, 87, 47] Generated Node #0,0: 39:[20, 87, 47] Operation: 91-44=47 Exploring Operation: 87-44=43, Resulting Numbers: [91, 20, 43] Generated Node #0,1: 39:[91, 20, 43] Operation: 87-44=43 Exploring Operation: 91-87=4, Resulting Numbers: [20, 44, 4] Generated Node #0,2: 39:[20, 44, 4] Operation: 91-87=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[20, 44, 4], Operations: ['91-87=4'] Exploring Operation: 20/4=5, Resulting Numbers: [44, 5] Generated Node #0,2,0: 39:[44, 5] Operation: 20/4=5 Exploring Operation: 44-4=40, Resulting Numbers: [20, 40] Generated Node #0,2,1: 39:[20, 40] Operation: 44-4=40 Exploring Operation: 20-4=16, Resulting Numbers: [44, 16] Generated Node #0,2,2: 39:[44, 16] Operation: 20-4=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[44, 5], Operations: ['91-87=4', '20/4=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[91, 20, 44, 87], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [20, 44, 4] Generated Node #0,2: 39:[20, 44, 4] Operation: 91-87=4 Moving to Node #0,2 Current State: 39:[20, 44, 4], Operations: ['91-87=4'] Exploring Operation: 20/4=5, Resulting Numbers: [44, 5] Generated Node #0,2,0: 39:[44, 5] Operation: 20/4=5 Moving to Node #0,2,0 Current State: 39:[44, 5], Operations: ['91-87=4', '20/4=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 54, 73, 72, 10 ]
65
[ "54+73=127", "72-10=62", "127-62=65" ]
Current State: 65:[54, 73, 72, 10], Operations: [] Exploring Operation: 54+73=127, Resulting Numbers: [72, 10, 127] Generated Node #2: [72, 10, 127] from Operation: 54+73=127 Current State: 65:[72, 10, 127], Operations: ['54+73=127'] Exploring Operation: 72-10=62, Resulting Numbers: [127, 62] Generated Node #3: [127, 62] from Operation: 72-10=62 Current State: 65:[127, 62], Operations: ['54+73=127', '72-10=62'] Exploring Operation: 127-62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[54, 73, 72, 10], Operations: [] Exploring Operation: 54+10=64, Resulting Numbers: [73, 72, 64] Generated Node #0,0: 65:[73, 72, 64] Operation: 54+10=64 Exploring Operation: 72-54=18, Resulting Numbers: [73, 10, 18] Generated Node #0,1: 65:[73, 10, 18] Operation: 72-54=18 Exploring Operation: 73-54=19, Resulting Numbers: [72, 10, 19] Generated Node #0,2: 65:[72, 10, 19] Operation: 73-54=19 Moving to Node #0,0 Current State: 65:[73, 72, 64], Operations: ['54+10=64'] Exploring Operation: 72-64=8, Resulting Numbers: [73, 8] Generated Node #0,0,0: 65:[73, 8] Operation: 72-64=8 Exploring Operation: 73-72=1, Resulting Numbers: [64, 1] Generated Node #0,0,1: 65:[64, 1] Operation: 73-72=1 Exploring Operation: 73-64=9, Resulting Numbers: [72, 9] Generated Node #0,0,2: 65:[72, 9] Operation: 73-64=9 Moving to Node #0,1 Current State: 65:[73, 10, 18], Operations: ['72-54=18'] Exploring Operation: 18-10=8, Resulting Numbers: [73, 8] Generated Node #0,1,0: 65:[73, 8] Operation: 18-10=8 Exploring Operation: 73-10=63, Resulting Numbers: [18, 63] Generated Node #0,1,1: 65:[18, 63] Operation: 73-10=63 Exploring Operation: 73-18=55, Resulting Numbers: [10, 55] Generated Node #0,1,2: 65:[10, 55] Operation: 73-18=55 Moving to Node #0,2 Current State: 65:[72, 10, 19], Operations: ['73-54=19'] Exploring Operation: 72-19=53, Resulting Numbers: [10, 53] Generated Node #0,2,0: 65:[10, 53] Operation: 72-19=53 Exploring Operation: 19-10=9, Resulting Numbers: [72, 9] Generated Node #0,2,1: 65:[72, 9] Operation: 19-10=9 Exploring Operation: 72-10=62, Resulting Numbers: [19, 62] Generated Node #0,2,2: 65:[19, 62] Operation: 72-10=62 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[19, 62], Operations: ['73-54=19', '72-10=62'] Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,65 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[72, 9], Operations: ['73-54=19', '19-10=9'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[10, 53], Operations: ['73-54=19', '72-19=53'] Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,65 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,65 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: 65:[64, 1], Operations: ['54+10=64', '73-72=1'] Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[54, 73, 72, 10], Operations: [] Exploring Operation: 54+10=64, Resulting Numbers: [73, 72, 64] Generated Node #0,0: 65:[73, 72, 64] Operation: 54+10=64 Moving to Node #0,0 Current State: 65:[73, 72, 64], Operations: ['54+10=64'] Exploring Operation: 73-72=1, Resulting Numbers: [64, 1] Generated Node #0,0,1: 65:[64, 1] Operation: 73-72=1 Moving to Node #0,0,1 Current State: 65:[64, 1], Operations: ['54+10=64', '73-72=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 15, 77, 62, 11 ]
43
[ "15*77=1155", "1155/11=105", "105-62=43" ]
Current State: 43:[15, 77, 62, 11], Operations: [] Exploring Operation: 15*77=1155, Resulting Numbers: [62, 11, 1155] Generated Node #2: [62, 11, 1155] from Operation: 15*77=1155 Current State: 43:[62, 11, 1155], Operations: ['15*77=1155'] Exploring Operation: 1155/11=105, Resulting Numbers: [62, 105] Generated Node #3: [62, 105] from Operation: 1155/11=105 Current State: 43:[62, 105], Operations: ['15*77=1155', '1155/11=105'] Exploring Operation: 105-62=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[15, 77, 62, 11], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [15, 62, 66] Generated Node #0,0: 43:[15, 62, 66] Operation: 77-11=66 Exploring Operation: 77-15=62, Resulting Numbers: [62, 11, 62] Generated Node #0,1: 43:[62, 11, 62] Operation: 77-15=62 Exploring Operation: 15+11=26, Resulting Numbers: [77, 62, 26] Generated Node #0,2: 43:[77, 62, 26] Operation: 15+11=26 Exploring Operation: 62-15=47, Resulting Numbers: [77, 11, 47] Generated Node #0,3: 43:[77, 11, 47] Operation: 62-15=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[15, 62, 66], Operations: ['77-11=66'] Exploring Operation: 15+66=81, Resulting Numbers: [62, 81] Generated Node #0,0,0: 43:[62, 81] Operation: 15+66=81 Exploring Operation: 66-15=51, Resulting Numbers: [62, 51] Generated Node #0,0,1: 43:[62, 51] Operation: 66-15=51 Exploring Operation: 15+62=77, Resulting Numbers: [66, 77] Generated Node #0,0,2: 43:[66, 77] Operation: 15+62=77 Exploring Operation: 62-15=47, Resulting Numbers: [66, 47] Generated Node #0,0,3: 43:[66, 47] Operation: 62-15=47 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[62, 51], Operations: ['77-11=66', '66-15=51'] Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,43 unequal: No Solution Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,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:[66, 47], Operations: ['77-11=66', '62-15=47'] Exploring Operation: 66*47=3102, Resulting Numbers: [3102] 3102,43 unequal: No Solution Exploring Operation: 66+47=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,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:[62, 81], Operations: ['77-11=66', '15+66=81'] Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 62*81=5022, Resulting Numbers: [5022] 5022,43 unequal: No Solution Exploring Operation: 62+81=143, Resulting Numbers: [143] 143,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:[66, 77], Operations: ['77-11=66', '15+62=77'] Exploring Operation: 66*77=5082, Resulting Numbers: [5082] 5082,43 unequal: No Solution Exploring Operation: 77-66=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 66+77=143, Resulting Numbers: [143] 143,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:[62, 11, 62], Operations: ['77-15=62'] Exploring Operation: 62-11=51, Resulting Numbers: [62, 51] Generated Node #0,1,0: 43:[62, 51] Operation: 62-11=51 Exploring Operation: 62+11=73, Resulting Numbers: [62, 73] Generated Node #0,1,1: 43:[62, 73] Operation: 62+11=73 Exploring Operation: 62-11=51, Resulting Numbers: [62, 51] Generated Node #0,1,2: 43:[62, 51] Operation: 62-11=51 Exploring Operation: 11+62=73, Resulting Numbers: [62, 73] Generated Node #0,1,3: 43:[62, 73] Operation: 11+62=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[62, 51], Operations: ['77-15=62', '62-11=51'] Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,43 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[62, 51], Operations: ['77-15=62', '62-11=51'] Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,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:[62, 73], Operations: ['77-15=62', '62+11=73'] Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 62*73=4526, Resulting Numbers: [4526] 4526,43 unequal: No Solution Exploring Operation: 62+73=135, Resulting Numbers: [135] 135,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:[62, 73], Operations: ['77-15=62', '11+62=73'] Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 62*73=4526, Resulting Numbers: [4526] 4526,43 unequal: No Solution Exploring Operation: 62+73=135, Resulting Numbers: [135] 135,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,2 Current State: 43:[77, 62, 26], Operations: ['15+11=26'] Exploring Operation: 77+26=103, Resulting Numbers: [62, 103] Generated Node #0,2,0: 43:[62, 103] Operation: 77+26=103 Exploring Operation: 77-26=51, Resulting Numbers: [62, 51] Generated Node #0,2,1: 43:[62, 51] Operation: 77-26=51 Exploring Operation: 62-26=36, Resulting Numbers: [77, 36] Generated Node #0,2,2: 43:[77, 36] Operation: 62-26=36 Exploring Operation: 77-62=15, Resulting Numbers: [26, 15] Generated Node #0,2,3: 43:[26, 15] Operation: 77-62=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[62, 51], Operations: ['15+11=26', '77-26=51'] Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,43 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,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,2,2 Current State: 43:[77, 36], Operations: ['15+11=26', '62-26=36'] Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,43 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,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,2,3 Current State: 43:[26, 15], Operations: ['15+11=26', '77-62=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,43 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,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,2,0 Current State: 43:[62, 103], Operations: ['15+11=26', '77+26=103'] Exploring Operation: 103-62=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 62+103=165, Resulting Numbers: [165] 165,43 unequal: No Solution Exploring Operation: 62*103=6386, Resulting Numbers: [6386] 6386,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,3 Current State: 43:[77, 11, 47], Operations: ['62-15=47'] Exploring Operation: 47-11=36, Resulting Numbers: [77, 36] Generated Node #0,3,0: 43:[77, 36] Operation: 47-11=36 Exploring Operation: 77-11=66, Resulting Numbers: [47, 66] Generated Node #0,3,1: 43:[47, 66] Operation: 77-11=66 Exploring Operation: 77-47=30, Resulting Numbers: [11, 30] Generated Node #0,3,2: 43:[11, 30] Operation: 77-47=30 Exploring Operation: 77/11=7, Resulting Numbers: [47, 7] Generated Node #0,3,3: 43:[47, 7] Operation: 77/11=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[47, 66], Operations: ['62-15=47', '77-11=66'] Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,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:[47, 7], Operations: ['62-15=47', '77/11=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,43 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,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:[77, 36], Operations: ['62-15=47', '47-11=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,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:[11, 30], Operations: ['62-15=47', '77-47=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,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
[ 91, 13, 10, 16 ]
33
[ "91/13=7", "10+16=26", "7+26=33" ]
Current State: 33:[91, 13, 10, 16], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [10, 16, 7] Generated Node #2: [10, 16, 7] from Operation: 91/13=7 Current State: 33:[10, 16, 7], Operations: ['91/13=7'] Exploring Operation: 10+16=26, Resulting Numbers: [7, 26] Generated Node #3: [7, 26] from Operation: 10+16=26 Current State: 33:[7, 26], Operations: ['91/13=7', '10+16=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[91, 13, 10, 16], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [10, 16, 7] Generated Node #0,0: 33:[10, 16, 7] Operation: 91/13=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[10, 16, 7], Operations: ['91/13=7'] Exploring Operation: 16-7=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 33:[10, 9] Operation: 16-7=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[10, 9], Operations: ['91/13=7', '16-7=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 80, 86, 50, 47 ]
42
[ "80*50=4000", "86*47=4042", "4042-4000=42" ]
Current State: 42:[80, 86, 50, 47], Operations: [] Exploring Operation: 80*50=4000, Resulting Numbers: [86, 47, 4000] Generated Node #2: [86, 47, 4000] from Operation: 80*50=4000 Current State: 42:[86, 47, 4000], Operations: ['80*50=4000'] Exploring Operation: 86*47=4042, Resulting Numbers: [4000, 4042] Generated Node #3: [4000, 4042] from Operation: 86*47=4042 Current State: 42:[4000, 4042], Operations: ['80*50=4000', '86*47=4042'] Exploring Operation: 4042-4000=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[80, 86, 50, 47], Operations: [] Exploring Operation: 86-80=6, Resulting Numbers: [50, 47, 6] Generated Node #0,0: 42:[50, 47, 6] Operation: 86-80=6 Exploring Operation: 86-50=36, Resulting Numbers: [80, 47, 36] Generated Node #0,1: 42:[80, 47, 36] Operation: 86-50=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[50, 47, 6], Operations: ['86-80=6'] Exploring Operation: 50-6=44, Resulting Numbers: [47, 44] Generated Node #0,0,0: 42:[47, 44] Operation: 50-6=44 Exploring Operation: 50-47=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 42:[6, 3] Operation: 50-47=3 Moving to Node #0,0,1 Current State: 42:[6, 3], Operations: ['86-80=6', '50-47=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[47, 44], Operations: ['86-80=6', '50-6=44'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[80, 47, 36], Operations: ['86-50=36'] Exploring Operation: 80-36=44, Resulting Numbers: [47, 44] Generated Node #0,1,0: 42:[47, 44] Operation: 80-36=44 Exploring Operation: 80-47=33, Resulting Numbers: [36, 33] Generated Node #0,1,1: 42:[36, 33] Operation: 80-47=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[47, 44], Operations: ['86-50=36', '80-36=44'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,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,1 Current State: 42:[36, 33], Operations: ['86-50=36', '80-47=33'] Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,42 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,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 No solution found.
0
hs_2
mult_heuristic
[ 77, 15, 35, 50 ]
63
[ "77-50=27", "35*27=945", "945/15=63" ]
Current State: 63:[77, 15, 35, 50], Operations: [] Exploring Operation: 77-50=27, Resulting Numbers: [15, 35, 27] Generated Node #2: [15, 35, 27] from Operation: 77-50=27 Current State: 63:[15, 35, 27], Operations: ['77-50=27'] Exploring Operation: 35*27=945, Resulting Numbers: [15, 945] Generated Node #3: [15, 945] from Operation: 35*27=945 Current State: 63:[15, 945], Operations: ['77-50=27', '35*27=945'] Exploring Operation: 945/15=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[77, 15, 35, 50], Operations: [] Exploring Operation: 77-50=27, Resulting Numbers: [15, 35, 27] Generated Node #0,0: 63:[15, 35, 27] Operation: 77-50=27 Exploring Operation: 77-15=62, Resulting Numbers: [35, 50, 62] Generated Node #0,1: 63:[35, 50, 62] Operation: 77-15=62 Exploring Operation: 50-35=15, Resulting Numbers: [77, 15, 15] Generated Node #0,2: 63:[77, 15, 15] Operation: 50-35=15 Exploring Operation: 15+50=65, Resulting Numbers: [77, 35, 65] Generated Node #0,3: 63:[77, 35, 65] Operation: 15+50=65 Exploring Operation: 35-15=20, Resulting Numbers: [77, 50, 20] Generated Node #0,4: 63:[77, 50, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[15, 35, 27], Operations: ['77-50=27'] Exploring Operation: 35-15=20, Resulting Numbers: [27, 20] Generated Node #0,0,0: 63:[27, 20] Operation: 35-15=20 Exploring Operation: 35-27=8, Resulting Numbers: [15, 8] Generated Node #0,0,1: 63:[15, 8] Operation: 35-27=8 Exploring Operation: 35+27=62, Resulting Numbers: [15, 62] Generated Node #0,0,2: 63:[15, 62] Operation: 35+27=62 Exploring Operation: 15+35=50, Resulting Numbers: [27, 50] Generated Node #0,0,3: 63:[27, 50] Operation: 15+35=50 Exploring Operation: 27-15=12, Resulting Numbers: [35, 12] Generated Node #0,0,4: 63:[35, 12] Operation: 27-15=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[27, 20], Operations: ['77-50=27', '35-15=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[15, 8], Operations: ['77-50=27', '35-27=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,63 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[15, 62], Operations: ['77-50=27', '35+27=62'] Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,63 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 63:[35, 12], Operations: ['77-50=27', '27-15=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,63 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 63:[27, 50], Operations: ['77-50=27', '15+35=50'] Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[77, 15, 15], Operations: ['50-35=15'] Exploring Operation: 15/15=1, Resulting Numbers: [77, 1] Generated Node #0,2,0: 63:[77, 1] Operation: 15/15=1 Exploring Operation: 15-15=0, Resulting Numbers: [77, 0] Generated Node #0,2,1: 63:[77, 0] Operation: 15-15=0 Exploring Operation: 77-15=62, Resulting Numbers: [15, 62] Generated Node #0,2,2: 63:[15, 62] Operation: 77-15=62 Exploring Operation: 77-15=62, Resulting Numbers: [15, 62] Generated Node #0,2,3: 63:[15, 62] Operation: 77-15=62 Exploring Operation: 15+15=30, Resulting Numbers: [77, 30] Generated Node #0,2,4: 63:[77, 30] Operation: 15+15=30 Moving to Node #0,2,2 Current State: 63:[15, 62], Operations: ['50-35=15', '77-15=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[15, 62], Operations: ['50-35=15', '77-15=62'] Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,63 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[77, 1], Operations: ['50-35=15', '15/15=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[77, 0], Operations: ['50-35=15', '15-15=0'] Exploring Operation: 77*0=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[77, 30], Operations: ['50-35=15', '15+15=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[35, 50, 62], Operations: ['77-15=62'] Exploring Operation: 62-50=12, Resulting Numbers: [35, 12] Generated Node #0,1,0: 63:[35, 12] Operation: 62-50=12 Exploring Operation: 62-35=27, Resulting Numbers: [50, 27] Generated Node #0,1,1: 63:[50, 27] Operation: 62-35=27 Exploring Operation: 50-35=15, Resulting Numbers: [62, 15] Generated Node #0,1,2: 63:[62, 15] Operation: 50-35=15 Exploring Operation: 35+50=85, Resulting Numbers: [62, 85] Generated Node #0,1,3: 63:[62, 85] Operation: 35+50=85 Exploring Operation: 35+62=97, Resulting Numbers: [50, 97] Generated Node #0,1,4: 63:[50, 97] Operation: 35+62=97 Moving to Node #0,1,2 Current State: 63:[62, 15], Operations: ['77-15=62', '50-35=15'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[35, 12], Operations: ['77-15=62', '62-50=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,63 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[50, 27], Operations: ['77-15=62', '62-35=27'] Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 50*27=1350, Resulting Numbers: [1350] 1350,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[62, 85], Operations: ['77-15=62', '35+50=85'] Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,63 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[50, 97], Operations: ['77-15=62', '35+62=97'] Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,63 unequal: No Solution Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,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,4 Current State: 63:[77, 50, 20], Operations: ['35-15=20'] Exploring Operation: 77-50=27, Resulting Numbers: [20, 27] Generated Node #0,4,0: 63:[20, 27] Operation: 77-50=27 Exploring Operation: 50+20=70, Resulting Numbers: [77, 70] Generated Node #0,4,1: 63:[77, 70] Operation: 50+20=70 Exploring Operation: 50-20=30, Resulting Numbers: [77, 30] Generated Node #0,4,2: 63:[77, 30] Operation: 50-20=30 Exploring Operation: 77+20=97, Resulting Numbers: [50, 97] Generated Node #0,4,3: 63:[50, 97] Operation: 77+20=97 Exploring Operation: 77-20=57, Resulting Numbers: [50, 57] Generated Node #0,4,4: 63:[50, 57] Operation: 77-20=57 Moving to Node #0,4,0 Current State: 63:[20, 27], Operations: ['35-15=20', '77-50=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,63 unequal: No Solution Moving to Node #0,4,4 Current State: 63:[50, 57], Operations: ['35-15=20', '77-20=57'] Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,63 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,63 unequal: No Solution Moving to Node #0,4,1 Current State: 63:[77, 70], Operations: ['35-15=20', '50+20=70'] Exploring Operation: 77*70=5390, Resulting Numbers: [5390] 5390,63 unequal: No Solution Exploring Operation: 77-70=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 77+70=147, Resulting Numbers: [147] 147,63 unequal: No Solution Moving to Node #0,4,2 Current State: 63:[77, 30], Operations: ['35-15=20', '50-20=30'] Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,63 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,63 unequal: No Solution Moving to Node #0,4,3 Current State: 63:[50, 97], Operations: ['35-15=20', '77+20=97'] Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,63 unequal: No Solution Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[77, 35, 65], Operations: ['15+50=65'] Exploring Operation: 77-35=42, Resulting Numbers: [65, 42] Generated Node #0,3,0: 63:[65, 42] Operation: 77-35=42 Exploring Operation: 35+65=100, Resulting Numbers: [77, 100] Generated Node #0,3,1: 63:[77, 100] Operation: 35+65=100 Exploring Operation: 77-65=12, Resulting Numbers: [35, 12] Generated Node #0,3,2: 63:[35, 12] Operation: 77-65=12 Exploring Operation: 65-35=30, Resulting Numbers: [77, 30] Generated Node #0,3,3: 63:[77, 30] Operation: 65-35=30 Exploring Operation: 77+35=112, Resulting Numbers: [65, 112] Generated Node #0,3,4: 63:[65, 112] Operation: 77+35=112 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 63:[35, 12], Operations: ['15+50=65', '77-65=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,63 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 63:[65, 42], Operations: ['15+50=65', '77-35=42'] Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,63 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 63:[77, 30], Operations: ['15+50=65', '65-35=30'] Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,63 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 63:[77, 100], Operations: ['15+50=65', '35+65=100'] Exploring Operation: 77*100=7700, Resulting Numbers: [7700] 7700,63 unequal: No Solution Exploring Operation: 77+100=177, Resulting Numbers: [177] 177,63 unequal: No Solution Exploring Operation: 100-77=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 63:[65, 112], Operations: ['15+50=65', '77+35=112'] Exploring Operation: 65+112=177, Resulting Numbers: [177] 177,63 unequal: No Solution Exploring Operation: 112-65=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 65*112=7280, Resulting Numbers: [7280] 7280,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 51, 4, 13, 34 ]
55
[ "51-34=17", "4*17=68", "68-13=55" ]
Current State: 55:[51, 4, 13, 34], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [4, 13, 17] Generated Node #2: [4, 13, 17] from Operation: 51-34=17 Current State: 55:[4, 13, 17], Operations: ['51-34=17'] Exploring Operation: 4*17=68, Resulting Numbers: [13, 68] Generated Node #3: [13, 68] from Operation: 4*17=68 Current State: 55:[13, 68], Operations: ['51-34=17', '4*17=68'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[51, 4, 13, 34], Operations: [] Exploring Operation: 51+4=55, Resulting Numbers: [13, 34, 55] Generated Node #0,0: 55:[13, 34, 55] Operation: 51+4=55 Exploring Operation: 13+34=47, Resulting Numbers: [51, 4, 47] Generated Node #0,1: 55:[51, 4, 47] Operation: 13+34=47 Exploring Operation: 51-34=17, Resulting Numbers: [4, 13, 17] Generated Node #0,2: 55:[4, 13, 17] Operation: 51-34=17 Exploring Operation: 34-13=21, Resulting Numbers: [51, 4, 21] Generated Node #0,3: 55:[51, 4, 21] Operation: 34-13=21 Moving to Node #0,2 Current State: 55:[4, 13, 17], Operations: ['51-34=17'] Exploring Operation: 4*13=52, Resulting Numbers: [17, 52] Generated Node #0,2,0: 55:[17, 52] Operation: 4*13=52 Exploring Operation: 13-4=9, Resulting Numbers: [17, 9] Generated Node #0,2,1: 55:[17, 9] Operation: 13-4=9 Exploring Operation: 17-4=13, Resulting Numbers: [13, 13] Generated Node #0,2,2: 55:[13, 13] Operation: 17-4=13 Exploring Operation: 17-13=4, Resulting Numbers: [4, 4] Generated Node #0,2,3: 55:[4, 4] Operation: 17-13=4 Moving to Node #0,1 Current State: 55:[51, 4, 47], Operations: ['13+34=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51, 51] Generated Node #0,1,0: 55:[51, 51] Operation: 4+47=51 Exploring Operation: 51+4=55, Resulting Numbers: [47, 55] Generated Node #0,1,1: 55:[47, 55] Operation: 51+4=55 Exploring Operation: 51-4=47, Resulting Numbers: [47, 47] Generated Node #0,1,2: 55:[47, 47] Operation: 51-4=47 Exploring Operation: 51-47=4, Resulting Numbers: [4, 4] Generated Node #0,1,3: 55:[4, 4] Operation: 51-47=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[4, 4], Operations: ['13+34=47', '51-47=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,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,0 Current State: 55:[51, 51], Operations: ['13+34=47', '4+47=51'] Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 51*51=2601, Resulting Numbers: [2601] 2601,55 unequal: No Solution Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,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:[47, 55], Operations: ['13+34=47', '51+4=55'] Exploring Operation: 47*55=2585, Resulting Numbers: [2585] 2585,55 unequal: No Solution Exploring Operation: 47+55=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[47, 47], Operations: ['13+34=47', '51-4=47'] Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,55 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,55 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: 55:[51, 4, 21], Operations: ['34-13=21'] Exploring Operation: 51+21=72, Resulting Numbers: [4, 72] Generated Node #0,3,0: 55:[4, 72] Operation: 51+21=72 Exploring Operation: 21-4=17, Resulting Numbers: [51, 17] Generated Node #0,3,1: 55:[51, 17] Operation: 21-4=17 Exploring Operation: 51-4=47, Resulting Numbers: [21, 47] Generated Node #0,3,2: 55:[21, 47] Operation: 51-4=47 Exploring Operation: 51+4=55, Resulting Numbers: [21, 55] Generated Node #0,3,3: 55:[21, 55] Operation: 51+4=55 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[51, 17], Operations: ['34-13=21', '21-4=17'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,55 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,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,3,3 Current State: 55:[21, 55], Operations: ['34-13=21', '51+4=55'] Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,55 unequal: No Solution Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,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,3,0 Current State: 55:[4, 72], Operations: ['34-13=21', '51+21=72'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 4*72=288, Resulting Numbers: [288] 288,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,3,2 Current State: 55:[21, 47], Operations: ['34-13=21', '51-4=47'] Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,55 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,55 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: 55:[13, 34, 55], Operations: ['51+4=55'] Exploring Operation: 34-13=21, Resulting Numbers: [55, 21] Generated Node #0,0,0: 55:[55, 21] Operation: 34-13=21 Exploring Operation: 13+55=68, Resulting Numbers: [34, 68] Generated Node #0,0,1: 55:[34, 68] Operation: 13+55=68 Exploring Operation: 55-34=21, Resulting Numbers: [13, 21] Generated Node #0,0,2: 55:[13, 21] Operation: 55-34=21 Exploring Operation: 13+34=47, Resulting Numbers: [55, 47] Generated Node #0,0,3: 55:[55, 47] Operation: 13+34=47 Moving to Node #0,2,3 Current State: 55:[4, 4], Operations: ['51-34=17', '17-13=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[13, 13], Operations: ['51-34=17', '17-4=13'] Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,55 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[17, 9], Operations: ['51-34=17', '13-4=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[55, 47], Operations: ['51+4=55', '13+34=47'] Exploring Operation: 55*47=2585, Resulting Numbers: [2585] 2585,55 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[17, 52], Operations: ['51-34=17', '4*13=52'] Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[55, 21], Operations: ['51+4=55', '34-13=21'] Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,55 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[13, 21], Operations: ['51+4=55', '55-34=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[34, 68], Operations: ['51+4=55', '13+55=68'] Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 34*68=2312, Resulting Numbers: [2312] 2312,55 unequal: No Solution Exploring Operation: 34+68=102, Resulting Numbers: [102] 102,55 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 11, 71, 20, 70 ]
73
[ "71-11=60", "60/20=3", "70+3=73" ]
Current State: 73:[11, 71, 20, 70], Operations: [] Exploring Operation: 71-11=60, Resulting Numbers: [20, 70, 60] Generated Node #2: [20, 70, 60] from Operation: 71-11=60 Current State: 73:[20, 70, 60], Operations: ['71-11=60'] Exploring Operation: 60/20=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 60/20=3 Current State: 73:[70, 3], Operations: ['71-11=60', '60/20=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[11, 71, 20, 70], Operations: [] Exploring Operation: 11+20=31, Resulting Numbers: [71, 70, 31] Generated Node #0,0: 73:[71, 70, 31] Operation: 11+20=31 Exploring Operation: 11+70=81, Resulting Numbers: [71, 20, 81] Generated Node #0,1: 73:[71, 20, 81] Operation: 11+70=81 Exploring Operation: 11+71=82, Resulting Numbers: [20, 70, 82] Generated Node #0,2: 73:[20, 70, 82] Operation: 11+71=82 Moving to Node #0,0 Current State: 73:[71, 70, 31], Operations: ['11+20=31'] Exploring Operation: 70+31=101, Resulting Numbers: [71, 101] Generated Node #0,0,0: 73:[71, 101] Operation: 70+31=101 Exploring Operation: 71-31=40, Resulting Numbers: [70, 40] Generated Node #0,0,1: 73:[70, 40] Operation: 71-31=40 Exploring Operation: 71+31=102, Resulting Numbers: [70, 102] Generated Node #0,0,2: 73:[70, 102] Operation: 71+31=102 Moving to Node #0,1 Current State: 73:[71, 20, 81], Operations: ['11+70=81'] Exploring Operation: 71+20=91, Resulting Numbers: [81, 91] Generated Node #0,1,0: 73:[81, 91] Operation: 71+20=91 Exploring Operation: 81-20=61, Resulting Numbers: [71, 61] Generated Node #0,1,1: 73:[71, 61] Operation: 81-20=61 Exploring Operation: 71-20=51, Resulting Numbers: [81, 51] Generated Node #0,1,2: 73:[81, 51] Operation: 71-20=51 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[71, 61], Operations: ['11+70=81', '81-20=61'] Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 71+61=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 71*61=4331, Resulting Numbers: [4331] 4331,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[81, 91], Operations: ['11+70=81', '71+20=91'] Exploring Operation: 81+91=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 81*91=7371, Resulting Numbers: [7371] 7371,73 unequal: No Solution Exploring Operation: 91-81=10, Resulting Numbers: [10] 10,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[81, 51], Operations: ['11+70=81', '71-20=51'] Exploring Operation: 81+51=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 81*51=4131, Resulting Numbers: [4131] 4131,73 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: 73:[20, 70, 82], Operations: ['11+71=82'] Exploring Operation: 82-20=62, Resulting Numbers: [70, 62] Generated Node #0,2,0: 73:[70, 62] Operation: 82-20=62 Exploring Operation: 20+70=90, Resulting Numbers: [82, 90] Generated Node #0,2,1: 73:[82, 90] Operation: 20+70=90 Exploring Operation: 70-20=50, Resulting Numbers: [82, 50] Generated Node #0,2,2: 73:[82, 50] Operation: 70-20=50 Moving to Node #0,2,0 Current State: 73:[70, 62], Operations: ['11+71=82', '82-20=62'] Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,73 unequal: No Solution Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[82, 90], Operations: ['11+71=82', '20+70=90'] Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,73 unequal: No Solution Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[71, 101], Operations: ['11+20=31', '70+31=101'] Exploring Operation: 101-71=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 71*101=7171, Resulting Numbers: [7171] 7171,73 unequal: No Solution Exploring Operation: 71+101=172, Resulting Numbers: [172] 172,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[82, 50], Operations: ['11+71=82', '70-20=50'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,73 unequal: No Solution Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[70, 102], Operations: ['11+20=31', '71+31=102'] Exploring Operation: 70*102=7140, Resulting Numbers: [7140] 7140,73 unequal: No Solution Exploring Operation: 102-70=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 70+102=172, Resulting Numbers: [172] 172,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[70, 40], Operations: ['11+20=31', '71-31=40'] Exploring Operation: 70*40=2800, Resulting Numbers: [2800] 2800,73 unequal: No Solution Exploring Operation: 70+40=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,73 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 40, 78, 51, 9 ]
21
[ "51-40=11", "9*11=99", "99-78=21" ]
Current State: 21:[40, 78, 51, 9], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [78, 9, 11] Generated Node #2: [78, 9, 11] from Operation: 51-40=11 Current State: 21:[78, 9, 11], Operations: ['51-40=11'] Exploring Operation: 9*11=99, Resulting Numbers: [78, 99] Generated Node #3: [78, 99] from Operation: 9*11=99 Current State: 21:[78, 99], Operations: ['51-40=11', '9*11=99'] Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[40, 78, 51, 9], Operations: [] Exploring Operation: 78-51=27, Resulting Numbers: [40, 9, 27] Generated Node #0,0: 21:[40, 9, 27] Operation: 78-51=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[40, 9, 27], Operations: ['78-51=27'] Exploring Operation: 40-27=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 21:[9, 13] Operation: 40-27=13 Moving to Node #0,0,0 Current State: 21:[9, 13], Operations: ['78-51=27', '40-27=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,21 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
[ 37, 10, 55, 23 ]
85
[ "37-23=14", "10*14=140", "140-55=85" ]
Current State: 85:[37, 10, 55, 23], Operations: [] Exploring Operation: 37-23=14, Resulting Numbers: [10, 55, 14] Generated Node #2: [10, 55, 14] from Operation: 37-23=14 Current State: 85:[10, 55, 14], Operations: ['37-23=14'] Exploring Operation: 10*14=140, Resulting Numbers: [55, 140] Generated Node #3: [55, 140] from Operation: 10*14=140 Current State: 85:[55, 140], Operations: ['37-23=14', '10*14=140'] Exploring Operation: 140-55=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[37, 10, 55, 23], Operations: [] Exploring Operation: 37+55=92, Resulting Numbers: [10, 23, 92] Generated Node #0,0: 85:[10, 23, 92] Operation: 37+55=92 Exploring Operation: 55-37=18, Resulting Numbers: [10, 23, 18] Generated Node #0,1: 85:[10, 23, 18] Operation: 55-37=18 Moving to Node #0,1 Current State: 85:[10, 23, 18], Operations: ['55-37=18'] Exploring Operation: 23-18=5, Resulting Numbers: [10, 5] Generated Node #0,1,0: 85:[10, 5] Operation: 23-18=5 Exploring Operation: 23-10=13, Resulting Numbers: [18, 13] Generated Node #0,1,1: 85:[18, 13] Operation: 23-10=13 Moving to Node #0,0 Current State: 85:[10, 23, 92], Operations: ['37+55=92'] Exploring Operation: 92-10=82, Resulting Numbers: [23, 82] Generated Node #0,0,0: 85:[23, 82] Operation: 92-10=82 Exploring Operation: 92/23=4, Resulting Numbers: [10, 4] Generated Node #0,0,1: 85:[10, 4] Operation: 92/23=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[10, 4], Operations: ['37+55=92', '92/23=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[23, 82], Operations: ['37+55=92', '92-10=82'] Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,85 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 85:[10, 5], Operations: ['55-37=18', '23-18=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[18, 13], Operations: ['55-37=18', '23-10=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,85 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 5, 43, 74, 70 ]
52
[ "5+43=48", "74-70=4", "48+4=52" ]
Current State: 52:[5, 43, 74, 70], Operations: [] Exploring Operation: 5+43=48, Resulting Numbers: [74, 70, 48] Generated Node #2: [74, 70, 48] from Operation: 5+43=48 Current State: 52:[74, 70, 48], Operations: ['5+43=48'] Exploring Operation: 74-70=4, Resulting Numbers: [48, 4] Generated Node #3: [48, 4] from Operation: 74-70=4 Current State: 52:[48, 4], Operations: ['5+43=48', '74-70=4'] Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[5, 43, 74, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [5, 43, 4] Generated Node #0,0: 52:[5, 43, 4] Operation: 74-70=4 Moving to Node #0,0 Current State: 52:[5, 43, 4], Operations: ['74-70=4'] Exploring Operation: 5+43=48, Resulting Numbers: [4, 48] Generated Node #0,0,0: 52:[4, 48] Operation: 5+43=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 48], Operations: ['74-70=4', '5+43=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[5, 43, 74, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [5, 43, 4] Generated Node #0,0: 52:[5, 43, 4] Operation: 74-70=4 Moving to Node #0,0 Current State: 52:[5, 43, 4], Operations: ['74-70=4'] Exploring Operation: 5+43=48, Resulting Numbers: [4, 48] Generated Node #0,0,0: 52:[4, 48] Operation: 5+43=48 Moving to Node #0,0,0 Current State: 52:[4, 48], Operations: ['74-70=4', '5+43=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 91, 53, 37, 64 ]
95
[ "53-37=16", "64/16=4", "91+4=95" ]
Current State: 95:[91, 53, 37, 64], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [91, 64, 16] Generated Node #2: [91, 64, 16] from Operation: 53-37=16 Current State: 95:[91, 64, 16], Operations: ['53-37=16'] Exploring Operation: 64/16=4, Resulting Numbers: [91, 4] Generated Node #3: [91, 4] from Operation: 64/16=4 Current State: 95:[91, 4], Operations: ['53-37=16', '64/16=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[91, 53, 37, 64], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [91, 37, 11] Generated Node #0,0: 95:[91, 37, 11] Operation: 64-53=11 Exploring Operation: 53+37=90, Resulting Numbers: [91, 64, 90] Generated Node #0,1: 95:[91, 64, 90] Operation: 53+37=90 Exploring Operation: 37+64=101, Resulting Numbers: [91, 53, 101] Generated Node #0,2: 95:[91, 53, 101] Operation: 37+64=101 Exploring Operation: 53-37=16, Resulting Numbers: [91, 64, 16] Generated Node #0,3: 95:[91, 64, 16] Operation: 53-37=16 Exploring Operation: 53+64=117, Resulting Numbers: [91, 37, 117] Generated Node #0,4: 95:[91, 37, 117] Operation: 53+64=117 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[91, 37, 11], Operations: ['64-53=11'] Exploring Operation: 91-11=80, Resulting Numbers: [37, 80] Generated Node #0,0,0: 95:[37, 80] Operation: 91-11=80 Exploring Operation: 37-11=26, Resulting Numbers: [91, 26] Generated Node #0,0,1: 95:[91, 26] Operation: 37-11=26 Exploring Operation: 37+11=48, Resulting Numbers: [91, 48] Generated Node #0,0,2: 95:[91, 48] Operation: 37+11=48 Exploring Operation: 91+11=102, Resulting Numbers: [37, 102] Generated Node #0,0,3: 95:[37, 102] Operation: 91+11=102 Exploring Operation: 91+37=128, Resulting Numbers: [11, 128] Generated Node #0,0,4: 95:[11, 128] Operation: 91+37=128 Moving to Node #0,0,1 Current State: 95:[91, 26], Operations: ['64-53=11', '37-11=26'] Exploring Operation: 91*26=2366, Resulting Numbers: [2366] 2366,95 unequal: No Solution Exploring Operation: 91+26=117, Resulting Numbers: [117] 117,95 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[37, 102], Operations: ['64-53=11', '91+11=102'] Exploring Operation: 37+102=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 37*102=3774, Resulting Numbers: [3774] 3774,95 unequal: No Solution Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[37, 80], Operations: ['64-53=11', '91-11=80'] Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,95 unequal: No Solution Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,95 unequal: No Solution Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[91, 48], Operations: ['64-53=11', '37+11=48'] Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,95 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[11, 128], Operations: ['64-53=11', '91+37=128'] Exploring Operation: 11*128=1408, Resulting Numbers: [1408] 1408,95 unequal: No Solution Exploring Operation: 128-11=117, Resulting Numbers: [117] 117,95 unequal: No Solution Exploring Operation: 11+128=139, Resulting Numbers: [139] 139,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[91, 64, 16], Operations: ['53-37=16'] Exploring Operation: 91-64=27, Resulting Numbers: [16, 27] Generated Node #0,3,0: 95:[16, 27] Operation: 91-64=27 Exploring Operation: 64+16=80, Resulting Numbers: [91, 80] Generated Node #0,3,1: 95:[91, 80] Operation: 64+16=80 Exploring Operation: 64-16=48, Resulting Numbers: [91, 48] Generated Node #0,3,2: 95:[91, 48] Operation: 64-16=48 Exploring Operation: 91+16=107, Resulting Numbers: [64, 107] Generated Node #0,3,3: 95:[64, 107] Operation: 91+16=107 Exploring Operation: 64/16=4, Resulting Numbers: [91, 4] Generated Node #0,3,4: 95:[91, 4] Operation: 64/16=4 Moving to Node #0,3,4 Current State: 95:[91, 4], Operations: ['53-37=16', '64/16=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[91, 53, 37, 64], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [91, 64, 16] Generated Node #0,3: 95:[91, 64, 16] Operation: 53-37=16 Moving to Node #0,3 Current State: 95:[91, 64, 16], Operations: ['53-37=16'] Exploring Operation: 64/16=4, Resulting Numbers: [91, 4] Generated Node #0,3,4: 95:[91, 4] Operation: 64/16=4 Moving to Node #0,3,4 Current State: 95:[91, 4], Operations: ['53-37=16', '64/16=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 33, 31, 14, 60 ]
18
[ "33+31=64", "60-14=46", "64-46=18" ]
Current State: 18:[33, 31, 14, 60], Operations: [] Exploring Operation: 33+31=64, Resulting Numbers: [14, 60, 64] Generated Node #2: [14, 60, 64] from Operation: 33+31=64 Current State: 18:[14, 60, 64], Operations: ['33+31=64'] Exploring Operation: 60-14=46, Resulting Numbers: [64, 46] Generated Node #3: [64, 46] from Operation: 60-14=46 Current State: 18:[64, 46], Operations: ['33+31=64', '60-14=46'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[33, 31, 14, 60], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [33, 14, 29] Generated Node #0,0: 18:[33, 14, 29] Operation: 60-31=29 Exploring Operation: 60-33=27, Resulting Numbers: [31, 14, 27] Generated Node #0,1: 18:[31, 14, 27] Operation: 60-33=27 Exploring Operation: 60-14=46, Resulting Numbers: [33, 31, 46] Generated Node #0,2: 18:[33, 31, 46] Operation: 60-14=46 Exploring Operation: 33-31=2, Resulting Numbers: [14, 60, 2] Generated Node #0,3: 18:[14, 60, 2] Operation: 33-31=2 Exploring Operation: 33-14=19, Resulting Numbers: [31, 60, 19] Generated Node #0,4: 18:[31, 60, 19] Operation: 33-14=19 Moving to Node #0,1 Current State: 18:[31, 14, 27], Operations: ['60-33=27'] Exploring Operation: 31-14=17, Resulting Numbers: [27, 17] Generated Node #0,1,0: 18:[27, 17] Operation: 31-14=17 Exploring Operation: 14+27=41, Resulting Numbers: [31, 41] Generated Node #0,1,1: 18:[31, 41] Operation: 14+27=41 Exploring Operation: 31-27=4, Resulting Numbers: [14, 4] Generated Node #0,1,2: 18:[14, 4] Operation: 31-27=4 Exploring Operation: 27-14=13, Resulting Numbers: [31, 13] Generated Node #0,1,3: 18:[31, 13] Operation: 27-14=13 Exploring Operation: 31+14=45, Resulting Numbers: [27, 45] Generated Node #0,1,4: 18:[27, 45] Operation: 31+14=45 Moving to Node #0,0 Current State: 18:[33, 14, 29], Operations: ['60-31=29'] Exploring Operation: 33+14=47, Resulting Numbers: [29, 47] Generated Node #0,0,0: 18:[29, 47] Operation: 33+14=47 Exploring Operation: 29-14=15, Resulting Numbers: [33, 15] Generated Node #0,0,1: 18:[33, 15] Operation: 29-14=15 Exploring Operation: 14+29=43, Resulting Numbers: [33, 43] Generated Node #0,0,2: 18:[33, 43] Operation: 14+29=43 Exploring Operation: 33-29=4, Resulting Numbers: [14, 4] Generated Node #0,0,3: 18:[14, 4] Operation: 33-29=4 Exploring Operation: 33-14=19, Resulting Numbers: [29, 19] Generated Node #0,0,4: 18:[29, 19] Operation: 33-14=19 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[14, 4], Operations: ['60-31=29', '33-29=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[33, 31, 14, 60], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [33, 14, 29] Generated Node #0,0: 18:[33, 14, 29] Operation: 60-31=29 Moving to Node #0,0 Current State: 18:[33, 14, 29], Operations: ['60-31=29'] Exploring Operation: 33-29=4, Resulting Numbers: [14, 4] Generated Node #0,0,3: 18:[14, 4] Operation: 33-29=4 Moving to Node #0,0,3 Current State: 18:[14, 4], Operations: ['60-31=29', '33-29=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 73, 93, 49, 12 ]
57
[ "93-73=20", "49-12=37", "20+37=57" ]
Current State: 57:[73, 93, 49, 12], Operations: [] Exploring Operation: 93-73=20, Resulting Numbers: [49, 12, 20] Generated Node #2: [49, 12, 20] from Operation: 93-73=20 Current State: 57:[49, 12, 20], Operations: ['93-73=20'] Exploring Operation: 49-12=37, Resulting Numbers: [20, 37] Generated Node #3: [20, 37] from Operation: 49-12=37 Current State: 57:[20, 37], Operations: ['93-73=20', '49-12=37'] Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[73, 93, 49, 12], Operations: [] Exploring Operation: 73-49=24, Resulting Numbers: [93, 12, 24] Generated Node #0,0: 57:[93, 12, 24] Operation: 73-49=24 Exploring Operation: 73-12=61, Resulting Numbers: [93, 49, 61] Generated Node #0,1: 57:[93, 49, 61] Operation: 73-12=61 Exploring Operation: 93-49=44, Resulting Numbers: [73, 12, 44] Generated Node #0,2: 57:[73, 12, 44] Operation: 93-49=44 Exploring Operation: 93-73=20, Resulting Numbers: [49, 12, 20] Generated Node #0,3: 57:[49, 12, 20] Operation: 93-73=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[49, 12, 20], Operations: ['93-73=20'] Exploring Operation: 49+12=61, Resulting Numbers: [20, 61] Generated Node #0,3,0: 57:[20, 61] Operation: 49+12=61 Exploring Operation: 49-20=29, Resulting Numbers: [12, 29] Generated Node #0,3,1: 57:[12, 29] Operation: 49-20=29 Exploring Operation: 49-12=37, Resulting Numbers: [20, 37] Generated Node #0,3,2: 57:[20, 37] Operation: 49-12=37 Exploring Operation: 20-12=8, Resulting Numbers: [49, 8] Generated Node #0,3,3: 57:[49, 8] Operation: 20-12=8 Moving to Node #0,3,0 Current State: 57:[20, 61], Operations: ['93-73=20', '49+12=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,57 unequal: No Solution Moving to Node #0,3,3 Current State: 57:[49, 8], Operations: ['93-73=20', '20-12=8'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[73, 93, 49, 12], Operations: [] Exploring Operation: 93-73=20, Resulting Numbers: [49, 12, 20] Generated Node #0,3: 57:[49, 12, 20] Operation: 93-73=20 Moving to Node #0,3 Current State: 57:[49, 12, 20], Operations: ['93-73=20'] Exploring Operation: 20-12=8, Resulting Numbers: [49, 8] Generated Node #0,3,3: 57:[49, 8] Operation: 20-12=8 Moving to Node #0,3,3 Current State: 57:[49, 8], Operations: ['93-73=20', '20-12=8'] Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 23, 43, 6, 39 ]
46
[ "43-6=37", "39-37=2", "23*2=46" ]
Current State: 46:[23, 43, 6, 39], Operations: [] Exploring Operation: 43-6=37, Resulting Numbers: [23, 39, 37] Generated Node #2: [23, 39, 37] from Operation: 43-6=37 Current State: 46:[23, 39, 37], Operations: ['43-6=37'] Exploring Operation: 39-37=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 39-37=2 Current State: 46:[23, 2], Operations: ['43-6=37', '39-37=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[23, 43, 6, 39], Operations: [] Exploring Operation: 43-39=4, Resulting Numbers: [23, 6, 4] Generated Node #0,0: 46:[23, 6, 4] Operation: 43-39=4 Exploring Operation: 43-23=20, Resulting Numbers: [6, 39, 20] Generated Node #0,1: 46:[6, 39, 20] Operation: 43-23=20 Exploring Operation: 43+6=49, Resulting Numbers: [23, 39, 49] Generated Node #0,2: 46:[23, 39, 49] Operation: 43+6=49 Exploring Operation: 39-6=33, Resulting Numbers: [23, 43, 33] Generated Node #0,3: 46:[23, 43, 33] Operation: 39-6=33 Exploring Operation: 6+39=45, Resulting Numbers: [23, 43, 45] Generated Node #0,4: 46:[23, 43, 45] Operation: 6+39=45 Moving to Node #0,4 Current State: 46:[23, 43, 45], Operations: ['6+39=45'] Exploring Operation: 45-43=2, Resulting Numbers: [23, 2] Generated Node #0,4,0: 46:[23, 2] Operation: 45-43=2 Exploring Operation: 23+45=68, Resulting Numbers: [43, 68] Generated Node #0,4,1: 46:[43, 68] Operation: 23+45=68 Exploring Operation: 45-23=22, Resulting Numbers: [43, 22] Generated Node #0,4,2: 46:[43, 22] Operation: 45-23=22 Exploring Operation: 23+43=66, Resulting Numbers: [45, 66] Generated Node #0,4,3: 46:[45, 66] Operation: 23+43=66 Exploring Operation: 43-23=20, Resulting Numbers: [45, 20] Generated Node #0,4,4: 46:[45, 20] Operation: 43-23=20 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[23, 2], Operations: ['6+39=45', '45-43=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[23, 43, 6, 39], Operations: [] Exploring Operation: 6+39=45, Resulting Numbers: [23, 43, 45] Generated Node #0,4: 46:[23, 43, 45] Operation: 6+39=45 Moving to Node #0,4 Current State: 46:[23, 43, 45], Operations: ['6+39=45'] Exploring Operation: 45-43=2, Resulting Numbers: [23, 2] Generated Node #0,4,0: 46:[23, 2] Operation: 45-43=2 Moving to Node #0,4,0 Current State: 46:[23, 2], Operations: ['6+39=45', '45-43=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 79, 67, 86, 72 ]
74
[ "79*72=5688", "67*86=5762", "5762-5688=74" ]
Current State: 74:[79, 67, 86, 72], Operations: [] Exploring Operation: 79*72=5688, Resulting Numbers: [67, 86, 5688] Generated Node #2: [67, 86, 5688] from Operation: 79*72=5688 Current State: 74:[67, 86, 5688], Operations: ['79*72=5688'] Exploring Operation: 67*86=5762, Resulting Numbers: [5688, 5762] Generated Node #3: [5688, 5762] from Operation: 67*86=5762 Current State: 74:[5688, 5762], Operations: ['79*72=5688', '67*86=5762'] Exploring Operation: 5762-5688=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[79, 67, 86, 72], Operations: [] Exploring Operation: 79-72=7, Resulting Numbers: [67, 86, 7] Generated Node #0,0: 74:[67, 86, 7] Operation: 79-72=7 Exploring Operation: 79-67=12, Resulting Numbers: [86, 72, 12] Generated Node #0,1: 74:[86, 72, 12] Operation: 79-67=12 Exploring Operation: 86-79=7, Resulting Numbers: [67, 72, 7] Generated Node #0,2: 74:[67, 72, 7] Operation: 86-79=7 Exploring Operation: 72-67=5, Resulting Numbers: [79, 86, 5] Generated Node #0,3: 74:[79, 86, 5] Operation: 72-67=5 Exploring Operation: 86-67=19, Resulting Numbers: [79, 72, 19] Generated Node #0,4: 74:[79, 72, 19] Operation: 86-67=19 Moving to Node #0,2 Current State: 74:[67, 72, 7], Operations: ['86-79=7'] Exploring Operation: 67-7=60, Resulting Numbers: [72, 60] Generated Node #0,2,0: 74:[72, 60] Operation: 67-7=60 Exploring Operation: 72-67=5, Resulting Numbers: [7, 5] Generated Node #0,2,1: 74:[7, 5] Operation: 72-67=5 Exploring Operation: 72+7=79, Resulting Numbers: [67, 79] Generated Node #0,2,2: 74:[67, 79] Operation: 72+7=79 Exploring Operation: 72-7=65, Resulting Numbers: [67, 65] Generated Node #0,2,3: 74:[67, 65] Operation: 72-7=65 Exploring Operation: 67+7=74, Resulting Numbers: [72, 74] Generated Node #0,2,4: 74:[72, 74] Operation: 67+7=74 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 74:[72, 74], Operations: ['86-79=7', '67+7=74'] Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 72*74=5328, Resulting Numbers: [5328] 5328,74 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,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,1 Current State: 74:[7, 5], Operations: ['86-79=7', '72-67=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[67, 79], Operations: ['86-79=7', '72+7=79'] Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 67+79=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 67*79=5293, Resulting Numbers: [5293] 5293,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[72, 60], Operations: ['86-79=7', '67-7=60'] Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 72+60=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 72*60=4320, Resulting Numbers: [4320] 4320,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[67, 65], Operations: ['86-79=7', '72-7=65'] Exploring Operation: 67*65=4355, Resulting Numbers: [4355] 4355,74 unequal: No Solution Exploring Operation: 67+65=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 74:[79, 86, 5], Operations: ['72-67=5'] Exploring Operation: 79-5=74, Resulting Numbers: [86, 74] Generated Node #0,3,0: 74:[86, 74] Operation: 79-5=74 Exploring Operation: 86-5=81, Resulting Numbers: [79, 81] Generated Node #0,3,1: 74:[79, 81] Operation: 86-5=81 Exploring Operation: 79+5=84, Resulting Numbers: [86, 84] Generated Node #0,3,2: 74:[86, 84] Operation: 79+5=84 Exploring Operation: 86+5=91, Resulting Numbers: [79, 91] Generated Node #0,3,3: 74:[79, 91] Operation: 86+5=91 Exploring Operation: 86-79=7, Resulting Numbers: [5, 7] Generated Node #0,3,4: 74:[5, 7] Operation: 86-79=7 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 74:[5, 7], Operations: ['72-67=5', '86-79=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,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,0 Current State: 74:[86, 74], Operations: ['72-67=5', '79-5=74'] Exploring Operation: 86*74=6364, Resulting Numbers: [6364] 6364,74 unequal: No Solution Exploring Operation: 86+74=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,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,1 Current State: 74:[79, 81], Operations: ['72-67=5', '86-5=81'] Exploring Operation: 79*81=6399, Resulting Numbers: [6399] 6399,74 unequal: No Solution Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 79+81=160, Resulting Numbers: [160] 160,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,2 Current State: 74:[86, 84], Operations: ['72-67=5', '79+5=84'] Exploring Operation: 86-84=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 86+84=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 86*84=7224, Resulting Numbers: [7224] 7224,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,3 Current State: 74:[79, 91], Operations: ['72-67=5', '86+5=91'] Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 79*91=7189, Resulting Numbers: [7189] 7189,74 unequal: No Solution Exploring Operation: 79+91=170, Resulting Numbers: [170] 170,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[67, 86, 7], Operations: ['79-72=7'] Exploring Operation: 86-7=79, Resulting Numbers: [67, 79] Generated Node #0,0,0: 74:[67, 79] Operation: 86-7=79 Exploring Operation: 86+7=93, Resulting Numbers: [67, 93] Generated Node #0,0,1: 74:[67, 93] Operation: 86+7=93 Exploring Operation: 86-67=19, Resulting Numbers: [7, 19] Generated Node #0,0,2: 74:[7, 19] Operation: 86-67=19 Exploring Operation: 67-7=60, Resulting Numbers: [86, 60] Generated Node #0,0,3: 74:[86, 60] Operation: 67-7=60 Exploring Operation: 67+7=74, Resulting Numbers: [86, 74] Generated Node #0,0,4: 74:[86, 74] Operation: 67+7=74 Moving to Node #0,1 Current State: 74:[86, 72, 12], Operations: ['79-67=12'] Exploring Operation: 86-72=14, Resulting Numbers: [12, 14] Generated Node #0,1,0: 74:[12, 14] Operation: 86-72=14 Exploring Operation: 72+12=84, Resulting Numbers: [86, 84] Generated Node #0,1,1: 74:[86, 84] Operation: 72+12=84 Exploring Operation: 86+12=98, Resulting Numbers: [72, 98] Generated Node #0,1,2: 74:[72, 98] Operation: 86+12=98 Exploring Operation: 72/12=6, Resulting Numbers: [86, 6] Generated Node #0,1,3: 74:[86, 6] Operation: 72/12=6 Exploring Operation: 86-12=74, Resulting Numbers: [72, 74] Generated Node #0,1,4: 74:[72, 74] Operation: 86-12=74 Moving to Node #0,4 Current State: 74:[79, 72, 19], Operations: ['86-67=19'] Exploring Operation: 72-19=53, Resulting Numbers: [79, 53] Generated Node #0,4,0: 74:[79, 53] Operation: 72-19=53 Exploring Operation: 79-72=7, Resulting Numbers: [19, 7] Generated Node #0,4,1: 74:[19, 7] Operation: 79-72=7 Exploring Operation: 79-19=60, Resulting Numbers: [72, 60] Generated Node #0,4,2: 74:[72, 60] Operation: 79-19=60 Exploring Operation: 72+19=91, Resulting Numbers: [79, 91] Generated Node #0,4,3: 74:[79, 91] Operation: 72+19=91 Exploring Operation: 79+19=98, Resulting Numbers: [72, 98] Generated Node #0,4,4: 74:[72, 98] Operation: 79+19=98 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 74:[72, 60], Operations: ['86-67=19', '79-19=60'] Exploring Operation: 72+60=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 72*60=4320, Resulting Numbers: [4320] 4320,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,4,0 Current State: 74:[79, 53], Operations: ['86-67=19', '72-19=53'] Exploring Operation: 79*53=4187, Resulting Numbers: [4187] 4187,74 unequal: No Solution Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 79+53=132, Resulting Numbers: [132] 132,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,4,1 Current State: 74:[19, 7], Operations: ['86-67=19', '79-72=7'] Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,74 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,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,4,3 Current State: 74:[79, 91], Operations: ['86-67=19', '72+19=91'] Exploring Operation: 79+91=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 79*91=7189, Resulting Numbers: [7189] 7189,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,4,4 Current State: 74:[72, 98], Operations: ['86-67=19', '79+19=98'] Exploring Operation: 72*98=7056, Resulting Numbers: [7056] 7056,74 unequal: No Solution Exploring Operation: 72+98=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 74:[72, 74], Operations: ['79-67=12', '86-12=74'] Exploring Operation: 72*74=5328, Resulting Numbers: [5328] 5328,74 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[67, 79], Operations: ['79-72=7', '86-7=79'] Exploring Operation: 67+79=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 67*79=5293, Resulting Numbers: [5293] 5293,74 unequal: No Solution Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[86, 74], Operations: ['79-72=7', '67+7=74'] Exploring Operation: 86*74=6364, Resulting Numbers: [6364] 6364,74 unequal: No Solution Exploring Operation: 86+74=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[86, 6], Operations: ['79-67=12', '72/12=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,74 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,74 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[7, 19], Operations: ['79-72=7', '86-67=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,74 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[12, 14], Operations: ['79-67=12', '86-72=14'] Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,74 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[86, 84], Operations: ['79-67=12', '72+12=84'] Exploring Operation: 86+84=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 86-84=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 86*84=7224, Resulting Numbers: [7224] 7224,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[67, 93], Operations: ['79-72=7', '86+7=93'] Exploring Operation: 67+93=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 67*93=6231, Resulting Numbers: [6231] 6231,74 unequal: No Solution Exploring Operation: 93-67=26, Resulting Numbers: [26] 26,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[72, 98], Operations: ['79-67=12', '86+12=98'] Exploring Operation: 72+98=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 72*98=7056, Resulting Numbers: [7056] 7056,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[86, 60], Operations: ['79-72=7', '67-7=60'] Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,74 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,74 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 22, 9, 44, 50 ]
25
[ "22+9=31", "50-44=6", "31-6=25" ]
Current State: 25:[22, 9, 44, 50], Operations: [] Exploring Operation: 22+9=31, Resulting Numbers: [44, 50, 31] Generated Node #2: [44, 50, 31] from Operation: 22+9=31 Current State: 25:[44, 50, 31], Operations: ['22+9=31'] Exploring Operation: 50-44=6, Resulting Numbers: [31, 6] Generated Node #3: [31, 6] from Operation: 50-44=6 Current State: 25:[31, 6], Operations: ['22+9=31', '50-44=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[22, 9, 44, 50], Operations: [] Exploring Operation: 50-44=6, Resulting Numbers: [22, 9, 6] Generated Node #0,0: 25:[22, 9, 6] Operation: 50-44=6 Exploring Operation: 50-22=28, Resulting Numbers: [9, 44, 28] Generated Node #0,1: 25:[9, 44, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[22, 9, 6], Operations: ['50-44=6'] Exploring Operation: 9-6=3, Resulting Numbers: [22, 3] Generated Node #0,0,0: 25:[22, 3] Operation: 9-6=3 Exploring Operation: 22+9=31, Resulting Numbers: [6, 31] Generated Node #0,0,1: 25:[6, 31] Operation: 22+9=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[22, 3], Operations: ['50-44=6', '9-6=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[22, 9, 44, 50], Operations: [] Exploring Operation: 50-44=6, Resulting Numbers: [22, 9, 6] Generated Node #0,0: 25:[22, 9, 6] Operation: 50-44=6 Moving to Node #0,0 Current State: 25:[22, 9, 6], Operations: ['50-44=6'] Exploring Operation: 9-6=3, Resulting Numbers: [22, 3] Generated Node #0,0,0: 25:[22, 3] Operation: 9-6=3 Moving to Node #0,0,0 Current State: 25:[22, 3], Operations: ['50-44=6', '9-6=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 73, 71, 56, 76 ]
66
[ "73-71=2", "56+76=132", "132/2=66" ]
Current State: 66:[73, 71, 56, 76], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [56, 76, 2] Generated Node #2: [56, 76, 2] from Operation: 73-71=2 Current State: 66:[56, 76, 2], Operations: ['73-71=2'] Exploring Operation: 56+76=132, Resulting Numbers: [2, 132] Generated Node #3: [2, 132] from Operation: 56+76=132 Current State: 66:[2, 132], Operations: ['73-71=2', '56+76=132'] Exploring Operation: 132/2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[73, 71, 56, 76], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [73, 56, 5] Generated Node #0,0: 66:[73, 56, 5] Operation: 76-71=5 Exploring Operation: 76-73=3, Resulting Numbers: [71, 56, 3] Generated Node #0,1: 66:[71, 56, 3] Operation: 76-73=3 Exploring Operation: 76-56=20, Resulting Numbers: [73, 71, 20] Generated Node #0,2: 66:[73, 71, 20] Operation: 76-56=20 Exploring Operation: 73-71=2, Resulting Numbers: [56, 76, 2] Generated Node #0,3: 66:[56, 76, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[73, 71, 20], Operations: ['76-56=20'] Exploring Operation: 73+20=93, Resulting Numbers: [71, 93] Generated Node #0,2,0: 66:[71, 93] Operation: 73+20=93 Exploring Operation: 73-20=53, Resulting Numbers: [71, 53] Generated Node #0,2,1: 66:[71, 53] Operation: 73-20=53 Exploring Operation: 71-20=51, Resulting Numbers: [73, 51] Generated Node #0,2,2: 66:[73, 51] Operation: 71-20=51 Exploring Operation: 73-71=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 66:[20, 2] Operation: 73-71=2 Moving to Node #0,2,3 Current State: 66:[20, 2], Operations: ['76-56=20', '73-71=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[71, 53], Operations: ['76-56=20', '73-20=53'] Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 71+53=124, Resulting Numbers: [124] 124,66 unequal: No Solution Exploring Operation: 71*53=3763, Resulting Numbers: [3763] 3763,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[73, 51], Operations: ['76-56=20', '71-20=51'] Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,66 unequal: No Solution Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[71, 93], Operations: ['76-56=20', '73+20=93'] Exploring Operation: 71*93=6603, Resulting Numbers: [6603] 6603,66 unequal: No Solution Exploring Operation: 71+93=164, Resulting Numbers: [164] 164,66 unequal: No Solution Exploring Operation: 93-71=22, Resulting Numbers: [22] 22,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[71, 56, 3], Operations: ['76-73=3'] Exploring Operation: 71+3=74, Resulting Numbers: [56, 74] Generated Node #0,1,0: 66:[56, 74] Operation: 71+3=74 Exploring Operation: 56+3=59, Resulting Numbers: [71, 59] Generated Node #0,1,1: 66:[71, 59] Operation: 56+3=59 Exploring Operation: 71-56=15, Resulting Numbers: [3, 15] Generated Node #0,1,2: 66:[3, 15] Operation: 71-56=15 Exploring Operation: 71-3=68, Resulting Numbers: [56, 68] Generated Node #0,1,3: 66:[56, 68] Operation: 71-3=68 Moving to Node #0,1,2 Current State: 66:[3, 15], Operations: ['76-73=3', '71-56=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[56, 68], Operations: ['76-73=3', '71-3=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,66 unequal: No Solution Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[71, 59], Operations: ['76-73=3', '56+3=59'] Exploring Operation: 71*59=4189, Resulting Numbers: [4189] 4189,66 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 71+59=130, Resulting Numbers: [130] 130,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[56, 74], Operations: ['76-73=3', '71+3=74'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,66 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[73, 56, 5], Operations: ['76-71=5'] Exploring Operation: 73-56=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 66:[5, 17] Operation: 73-56=17 Exploring Operation: 56+5=61, Resulting Numbers: [73, 61] Generated Node #0,0,1: 66:[73, 61] Operation: 56+5=61 Exploring Operation: 73+5=78, Resulting Numbers: [56, 78] Generated Node #0,0,2: 66:[56, 78] Operation: 73+5=78 Exploring Operation: 73-5=68, Resulting Numbers: [56, 68] Generated Node #0,0,3: 66:[56, 68] Operation: 73-5=68 Moving to Node #0,0,0 Current State: 66:[5, 17], Operations: ['76-71=5', '73-56=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,66 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[56, 68], Operations: ['76-71=5', '73-5=68'] Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,66 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[73, 61], Operations: ['76-71=5', '56+5=61'] Exploring Operation: 73+61=134, Resulting Numbers: [134] 134,66 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 73*61=4453, Resulting Numbers: [4453] 4453,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[56, 78], Operations: ['76-71=5', '73+5=78'] Exploring Operation: 56+78=134, Resulting Numbers: [134] 134,66 unequal: No Solution Exploring Operation: 56*78=4368, Resulting Numbers: [4368] 4368,66 unequal: No Solution Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[56, 76, 2], Operations: ['73-71=2'] Exploring Operation: 56/2=28, Resulting Numbers: [76, 28] Generated Node #0,3,0: 66:[76, 28] Operation: 56/2=28 Exploring Operation: 76-56=20, Resulting Numbers: [2, 20] Generated Node #0,3,1: 66:[2, 20] Operation: 76-56=20 Exploring Operation: 76/2=38, Resulting Numbers: [56, 38] Generated Node #0,3,2: 66:[56, 38] Operation: 76/2=38 Exploring Operation: 56+2=58, Resulting Numbers: [76, 58] Generated Node #0,3,3: 66:[76, 58] Operation: 56+2=58 Moving to Node #0,3,1 Current State: 66:[2, 20], Operations: ['73-71=2', '76-56=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[56, 38], Operations: ['73-71=2', '76/2=38'] Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,66 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[76, 28], Operations: ['73-71=2', '56/2=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,66 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[76, 58], Operations: ['73-71=2', '56+2=58'] Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 76*58=4408, Resulting Numbers: [4408] 4408,66 unequal: No Solution Exploring Operation: 76+58=134, Resulting Numbers: [134] 134,66 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
[ 44, 97, 71, 59 ]
41
[ "97-44=53", "71-59=12", "53-12=41" ]
Current State: 41:[44, 97, 71, 59], Operations: [] Exploring Operation: 97-44=53, Resulting Numbers: [71, 59, 53] Generated Node #2: [71, 59, 53] from Operation: 97-44=53 Current State: 41:[71, 59, 53], Operations: ['97-44=53'] Exploring Operation: 71-59=12, Resulting Numbers: [53, 12] Generated Node #3: [53, 12] from Operation: 71-59=12 Current State: 41:[53, 12], Operations: ['97-44=53', '71-59=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[44, 97, 71, 59], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [44, 59, 26] Generated Node #0,0: 41:[44, 59, 26] Operation: 97-71=26 Exploring Operation: 97-44=53, Resulting Numbers: [71, 59, 53] Generated Node #0,1: 41:[71, 59, 53] Operation: 97-44=53 Exploring Operation: 71-44=27, Resulting Numbers: [97, 59, 27] Generated Node #0,2: 41:[97, 59, 27] Operation: 71-44=27 Exploring Operation: 97-59=38, Resulting Numbers: [44, 71, 38] Generated Node #0,3: 41:[44, 71, 38] Operation: 97-59=38 Moving to Node #0,0 Current State: 41:[44, 59, 26], Operations: ['97-71=26'] Exploring Operation: 59-44=15, Resulting Numbers: [26, 15] Generated Node #0,0,0: 41:[26, 15] Operation: 59-44=15 Exploring Operation: 44-26=18, Resulting Numbers: [59, 18] Generated Node #0,0,1: 41:[59, 18] Operation: 44-26=18 Exploring Operation: 59-26=33, Resulting Numbers: [44, 33] Generated Node #0,0,2: 41:[44, 33] Operation: 59-26=33 Exploring Operation: 44+26=70, Resulting Numbers: [59, 70] Generated Node #0,0,3: 41:[59, 70] Operation: 44+26=70 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[44, 33], Operations: ['97-71=26', '59-26=33'] Exploring Operation: 44+33=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 44*33=1452, Resulting Numbers: [1452] 1452,41 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[26, 15], Operations: ['97-71=26', '59-44=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[44, 97, 71, 59], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [44, 59, 26] Generated Node #0,0: 41:[44, 59, 26] Operation: 97-71=26 Moving to Node #0,0 Current State: 41:[44, 59, 26], Operations: ['97-71=26'] Exploring Operation: 59-44=15, Resulting Numbers: [26, 15] Generated Node #0,0,0: 41:[26, 15] Operation: 59-44=15 Moving to Node #0,0,0 Current State: 41:[26, 15], Operations: ['97-71=26', '59-44=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 90, 25, 99, 89 ]
36
[ "99-89=10", "90*10=900", "900/25=36" ]
Current State: 36:[90, 25, 99, 89], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [90, 25, 10] Generated Node #2: [90, 25, 10] from Operation: 99-89=10 Current State: 36:[90, 25, 10], Operations: ['99-89=10'] Exploring Operation: 90*10=900, Resulting Numbers: [25, 900] Generated Node #3: [25, 900] from Operation: 90*10=900 Current State: 36:[25, 900], Operations: ['99-89=10', '90*10=900'] Exploring Operation: 900/25=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[90, 25, 99, 89], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [25, 89, 9] Generated Node #0,0: 36:[25, 89, 9] Operation: 99-90=9 Exploring Operation: 90-89=1, Resulting Numbers: [25, 99, 1] Generated Node #0,1: 36:[25, 99, 1] Operation: 90-89=1 Exploring Operation: 99-89=10, Resulting Numbers: [90, 25, 10] Generated Node #0,2: 36:[90, 25, 10] Operation: 99-89=10 Exploring Operation: 90-25=65, Resulting Numbers: [99, 89, 65] Generated Node #0,3: 36:[99, 89, 65] Operation: 90-25=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[25, 89, 9], Operations: ['99-90=9'] Exploring Operation: 89-9=80, Resulting Numbers: [25, 80] Generated Node #0,0,0: 36:[25, 80] Operation: 89-9=80 Exploring Operation: 25-9=16, Resulting Numbers: [89, 16] Generated Node #0,0,1: 36:[89, 16] Operation: 25-9=16 Exploring Operation: 89-25=64, Resulting Numbers: [9, 64] Generated Node #0,0,2: 36:[9, 64] Operation: 89-25=64 Exploring Operation: 25+9=34, Resulting Numbers: [89, 34] Generated Node #0,0,3: 36:[89, 34] Operation: 25+9=34 Moving to Node #0,0,2 Current State: 36:[9, 64], Operations: ['99-90=9', '89-25=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[25, 80], Operations: ['99-90=9', '89-9=80'] 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 Exploring Operation: 25*80=2000, Resulting Numbers: [2000] 2000,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[89, 34], Operations: ['99-90=9', '25+9=34'] Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 89+34=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 89*34=3026, Resulting Numbers: [3026] 3026,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[89, 16], Operations: ['99-90=9', '25-9=16'] Exploring Operation: 89+16=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 89*16=1424, Resulting Numbers: [1424] 1424,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,2 Current State: 36:[90, 25, 10], Operations: ['99-89=10'] Exploring Operation: 25+10=35, Resulting Numbers: [90, 35] Generated Node #0,2,0: 36:[90, 35] Operation: 25+10=35 Exploring Operation: 90-25=65, Resulting Numbers: [10, 65] Generated Node #0,2,1: 36:[10, 65] Operation: 90-25=65 Exploring Operation: 90-10=80, Resulting Numbers: [25, 80] Generated Node #0,2,2: 36:[25, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [25, 9] Generated Node #0,2,3: 36:[25, 9] Operation: 90/10=9 Moving to Node #0,2,3 Current State: 36:[25, 9], Operations: ['99-89=10', '90/10=9'] Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,36 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[10, 65], Operations: ['99-89=10', '90-25=65'] Exploring Operation: 10*65=650, Resulting Numbers: [650] 650,36 unequal: No Solution Exploring Operation: 10+65=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[25, 80], Operations: ['99-89=10', '90-10=80'] 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 Exploring Operation: 25*80=2000, Resulting Numbers: [2000] 2000,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[90, 35], Operations: ['99-89=10', '25+10=35'] Exploring Operation: 90*35=3150, Resulting Numbers: [3150] 3150,36 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 90+35=125, Resulting Numbers: [125] 125,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[25, 99, 1], Operations: ['90-89=1'] Exploring Operation: 99-1=98, Resulting Numbers: [25, 98] Generated Node #0,1,0: 36:[25, 98] Operation: 99-1=98 Exploring Operation: 25*1=25, Resulting Numbers: [99, 25] Generated Node #0,1,1: 36:[99, 25] Operation: 25*1=25 Exploring Operation: 99-25=74, Resulting Numbers: [1, 74] Generated Node #0,1,2: 36:[1, 74] Operation: 99-25=74 Exploring Operation: 25-1=24, Resulting Numbers: [99, 24] Generated Node #0,1,3: 36:[99, 24] Operation: 25-1=24 Moving to Node #0,1,2 Current State: 36:[1, 74], Operations: ['90-89=1', '99-25=74'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[99, 24], Operations: ['90-89=1', '25-1=24'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[25, 98], Operations: ['90-89=1', '99-1=98'] Exploring Operation: 25+98=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 25*98=2450, Resulting Numbers: [2450] 2450,36 unequal: No Solution Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[99, 25], Operations: ['90-89=1', '25*1=25'] Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,36 unequal: No Solution Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,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:[99, 89, 65], Operations: ['90-25=65'] Exploring Operation: 99-65=34, Resulting Numbers: [89, 34] Generated Node #0,3,0: 36:[89, 34] Operation: 99-65=34 Exploring Operation: 99+89=188, Resulting Numbers: [65, 188] Generated Node #0,3,1: 36:[65, 188] Operation: 99+89=188 Exploring Operation: 99-89=10, Resulting Numbers: [65, 10] Generated Node #0,3,2: 36:[65, 10] Operation: 99-89=10 Exploring Operation: 89-65=24, Resulting Numbers: [99, 24] Generated Node #0,3,3: 36:[99, 24] Operation: 89-65=24 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 36:[65, 10], Operations: ['90-25=65', '99-89=10'] Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,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:[89, 34], Operations: ['90-25=65', '99-65=34'] Exploring Operation: 89*34=3026, Resulting Numbers: [3026] 3026,36 unequal: No Solution Exploring Operation: 89+34=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 89-34=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,3,3 Current State: 36:[99, 24], Operations: ['90-25=65', '89-65=24'] Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,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:[65, 188], Operations: ['90-25=65', '99+89=188'] Exploring Operation: 65+188=253, Resulting Numbers: [253] 253,36 unequal: No Solution Exploring Operation: 188-65=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 65*188=12220, Resulting Numbers: [12220] 12220,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 No solution found.
0
hs_4
mult_heuristic
[ 93, 4, 43, 43 ]
28
[ "93-43=50", "50-43=7", "4*7=28" ]
Current State: 28:[93, 4, 43, 43], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [4, 50] Generated Node #2: [4, 50] from Operation: 93-43=50 Current State: 28:[4, 50], Operations: ['93-43=50'] Exploring Operation: 50-43=7, Resulting Numbers: [4, 7] Generated Node #3: [4, 7] from Operation: 50-43=7 Current State: 28:[4, 7], Operations: ['93-43=50', '50-43=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[93, 4, 43, 43], Operations: [] Exploring Operation: 93-4=89, Resulting Numbers: [43, 43, 89] Generated Node #0,0: 28:[43, 43, 89] Operation: 93-4=89 Exploring Operation: 43/43=1, Resulting Numbers: [93, 4, 1] Generated Node #0,1: 28:[93, 4, 1] Operation: 43/43=1 Exploring Operation: 93-43=50, Resulting Numbers: [4, 43, 50] Generated Node #0,2: 28:[4, 43, 50] Operation: 93-43=50 Exploring Operation: 93-43=50, Resulting Numbers: [4, 43, 50] Generated Node #0,3: 28:[4, 43, 50] Operation: 93-43=50 Exploring Operation: 43-43=0, Resulting Numbers: [93, 4, 0] Generated Node #0,4: 28:[93, 4, 0] Operation: 43-43=0 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[4, 43, 50], Operations: ['93-43=50'] Exploring Operation: 4+50=54, Resulting Numbers: [43, 54] Generated Node #0,2,0: 28:[43, 54] Operation: 4+50=54 Exploring Operation: 50-4=46, Resulting Numbers: [43, 46] Generated Node #0,2,1: 28:[43, 46] Operation: 50-4=46 Exploring Operation: 43-4=39, Resulting Numbers: [50, 39] Generated Node #0,2,2: 28:[50, 39] Operation: 43-4=39 Exploring Operation: 4+43=47, Resulting Numbers: [50, 47] Generated Node #0,2,3: 28:[50, 47] Operation: 4+43=47 Exploring Operation: 50-43=7, Resulting Numbers: [4, 7] Generated Node #0,2,4: 28:[4, 7] Operation: 50-43=7 Moving to Node #0,2,4 Current State: 28:[4, 7], Operations: ['93-43=50', '50-43=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[93, 4, 43, 43], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [4, 43, 50] Generated Node #0,2: 28:[4, 43, 50] Operation: 93-43=50 Moving to Node #0,2 Current State: 28:[4, 43, 50], Operations: ['93-43=50'] Exploring Operation: 50-43=7, Resulting Numbers: [4, 7] Generated Node #0,2,4: 28:[4, 7] Operation: 50-43=7 Moving to Node #0,2,4 Current State: 28:[4, 7], Operations: ['93-43=50', '50-43=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 88, 44, 50, 92 ]
86
[ "88-44=44", "92-50=42", "44+42=86" ]
Current State: 86:[88, 44, 50, 92], Operations: [] Exploring Operation: 88-44=44, Resulting Numbers: [50, 92, 44] Generated Node #2: [50, 92, 44] from Operation: 88-44=44 Current State: 86:[50, 92, 44], Operations: ['88-44=44'] Exploring Operation: 92-50=42, Resulting Numbers: [44, 42] Generated Node #3: [44, 42] from Operation: 92-50=42 Current State: 86:[44, 42], Operations: ['88-44=44', '92-50=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[88, 44, 50, 92], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [44, 92, 38] Generated Node #0,0: 86:[44, 92, 38] Operation: 88-50=38 Exploring Operation: 92-88=4, Resulting Numbers: [44, 50, 4] Generated Node #0,1: 86:[44, 50, 4] Operation: 92-88=4 Exploring Operation: 92-50=42, Resulting Numbers: [88, 44, 42] Generated Node #0,2: 86:[88, 44, 42] Operation: 92-50=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[88, 44, 42], Operations: ['92-50=42'] Exploring Operation: 44+42=86, Resulting Numbers: [88, 86] Generated Node #0,2,0: 86:[88, 86] Operation: 44+42=86 Exploring Operation: 88/44=2, Resulting Numbers: [42, 2] Generated Node #0,2,1: 86:[42, 2] Operation: 88/44=2 Exploring Operation: 88-44=44, Resulting Numbers: [42, 44] Generated Node #0,2,2: 86:[42, 44] Operation: 88-44=44 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[42, 2], Operations: ['92-50=42', '88/44=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,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,2,0 Current State: 86:[88, 86], Operations: ['92-50=42', '44+42=86'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 88+86=174, Resulting Numbers: [174] 174,86 unequal: No Solution Exploring Operation: 88*86=7568, Resulting Numbers: [7568] 7568,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,2,2 Current State: 86:[42, 44], Operations: ['92-50=42', '88-44=44'] Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,86 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[88, 44, 50, 92], Operations: [] Exploring Operation: 92-50=42, Resulting Numbers: [88, 44, 42] Generated Node #0,2: 86:[88, 44, 42] Operation: 92-50=42 Moving to Node #0,2 Current State: 86:[88, 44, 42], Operations: ['92-50=42'] Exploring Operation: 88-44=44, Resulting Numbers: [42, 44] Generated Node #0,2,2: 86:[42, 44] Operation: 88-44=44 Moving to Node #0,2,2 Current State: 86:[42, 44], Operations: ['92-50=42', '88-44=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 86, 69, 8, 48 ]
99
[ "86+69=155", "8+48=56", "155-56=99" ]
Current State: 99:[86, 69, 8, 48], Operations: [] Exploring Operation: 86+69=155, Resulting Numbers: [8, 48, 155] Generated Node #2: [8, 48, 155] from Operation: 86+69=155 Current State: 99:[8, 48, 155], Operations: ['86+69=155'] Exploring Operation: 8+48=56, Resulting Numbers: [155, 56] Generated Node #3: [155, 56] from Operation: 8+48=56 Current State: 99:[155, 56], Operations: ['86+69=155', '8+48=56'] Exploring Operation: 155-56=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[86, 69, 8, 48], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [86, 8, 21] Generated Node #0,0: 99:[86, 8, 21] Operation: 69-48=21 Exploring Operation: 86-69=17, Resulting Numbers: [8, 48, 17] Generated Node #0,1: 99:[8, 48, 17] Operation: 86-69=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[8, 48, 17], Operations: ['86-69=17'] Exploring Operation: 48-17=31, Resulting Numbers: [8, 31] Generated Node #0,1,0: 99:[8, 31] Operation: 48-17=31 Exploring Operation: 48/8=6, Resulting Numbers: [17, 6] Generated Node #0,1,1: 99:[17, 6] Operation: 48/8=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[8, 31], Operations: ['86-69=17', '48-17=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,99 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,99 unequal: No Solution No 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: 99:[17, 6], Operations: ['86-69=17', '48/8=6'] Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,99 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: 99:[86, 8, 21], Operations: ['69-48=21'] Exploring Operation: 86+21=107, Resulting Numbers: [8, 107] Generated Node #0,0,0: 99:[8, 107] Operation: 86+21=107 Exploring Operation: 86+8=94, Resulting Numbers: [21, 94] Generated Node #0,0,1: 99:[21, 94] Operation: 86+8=94 Moving to Node #0,0,0 Current State: 99:[8, 107], Operations: ['69-48=21', '86+21=107'] Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[86, 69, 8, 48], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [86, 8, 21] Generated Node #0,0: 99:[86, 8, 21] Operation: 69-48=21 Moving to Node #0,0 Current State: 99:[86, 8, 21], Operations: ['69-48=21'] Exploring Operation: 86+21=107, Resulting Numbers: [8, 107] Generated Node #0,0,0: 99:[8, 107] Operation: 86+21=107 Moving to Node #0,0,0 Current State: 99:[8, 107], Operations: ['69-48=21', '86+21=107'] Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 35, 7, 65, 91 ]
54
[ "35-7=28", "91-65=26", "28+26=54" ]
Current State: 54:[35, 7, 65, 91], Operations: [] Exploring Operation: 35-7=28, Resulting Numbers: [65, 91, 28] Generated Node #2: [65, 91, 28] from Operation: 35-7=28 Current State: 54:[65, 91, 28], Operations: ['35-7=28'] Exploring Operation: 91-65=26, Resulting Numbers: [28, 26] Generated Node #3: [28, 26] from Operation: 91-65=26 Current State: 54:[28, 26], Operations: ['35-7=28', '91-65=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[35, 7, 65, 91], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [35, 7, 26] Generated Node #0,0: 54:[35, 7, 26] Operation: 91-65=26 Exploring Operation: 91-35=56, Resulting Numbers: [7, 65, 56] Generated Node #0,1: 54:[7, 65, 56] Operation: 91-35=56 Moving to Node #0,0 Current State: 54:[35, 7, 26], Operations: ['91-65=26'] Exploring Operation: 35-7=28, Resulting Numbers: [26, 28] Generated Node #0,0,0: 54:[26, 28] Operation: 35-7=28 Exploring Operation: 35-26=9, Resulting Numbers: [7, 9] Generated Node #0,0,1: 54:[7, 9] Operation: 35-26=9 Moving to Node #0,1 Current State: 54:[7, 65, 56], Operations: ['91-35=56'] Exploring Operation: 65-7=58, Resulting Numbers: [56, 58] Generated Node #0,1,0: 54:[56, 58] Operation: 65-7=58 Exploring Operation: 65-56=9, Resulting Numbers: [7, 9] Generated Node #0,1,1: 54:[7, 9] Operation: 65-56=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[7, 9], Operations: ['91-35=56', '65-56=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[56, 58], Operations: ['91-35=56', '65-7=58'] Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,54 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: 54:[7, 9], Operations: ['91-65=26', '35-26=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[26, 28], Operations: ['91-65=26', '35-7=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[35, 7, 65, 91], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [35, 7, 26] Generated Node #0,0: 54:[35, 7, 26] Operation: 91-65=26 Moving to Node #0,0 Current State: 54:[35, 7, 26], Operations: ['91-65=26'] Exploring Operation: 35-7=28, Resulting Numbers: [26, 28] Generated Node #0,0,0: 54:[26, 28] Operation: 35-7=28 Moving to Node #0,0,0 Current State: 54:[26, 28], Operations: ['91-65=26', '35-7=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 58, 54, 28, 6 ]
38
[ "58-54=4", "28+6=34", "4+34=38" ]
Current State: 38:[58, 54, 28, 6], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [28, 6, 4] Generated Node #2: [28, 6, 4] from Operation: 58-54=4 Current State: 38:[28, 6, 4], Operations: ['58-54=4'] Exploring Operation: 28+6=34, Resulting Numbers: [4, 34] Generated Node #3: [4, 34] from Operation: 28+6=34 Current State: 38:[4, 34], Operations: ['58-54=4', '28+6=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[58, 54, 28, 6], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [28, 6, 4] Generated Node #0,0: 38:[28, 6, 4] Operation: 58-54=4 Exploring Operation: 58-28=30, Resulting Numbers: [54, 6, 30] Generated Node #0,1: 38:[54, 6, 30] Operation: 58-28=30 Exploring Operation: 54/6=9, Resulting Numbers: [58, 28, 9] Generated Node #0,2: 38:[58, 28, 9] Operation: 54/6=9 Exploring Operation: 54-28=26, Resulting Numbers: [58, 6, 26] Generated Node #0,3: 38:[58, 6, 26] Operation: 54-28=26 Moving to Node #0,0 Current State: 38:[28, 6, 4], Operations: ['58-54=4'] Exploring Operation: 28-6=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 38:[4, 22] Operation: 28-6=22 Exploring Operation: 28/4=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 38:[6, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [6, 24] Generated Node #0,0,2: 38:[6, 24] Operation: 28-4=24 Exploring Operation: 28+6=34, Resulting Numbers: [4, 34] Generated Node #0,0,3: 38:[4, 34] Operation: 28+6=34 Moving to Node #0,1 Current State: 38:[54, 6, 30], Operations: ['58-28=30'] Exploring Operation: 54-30=24, Resulting Numbers: [6, 24] Generated Node #0,1,0: 38:[6, 24] Operation: 54-30=24 Exploring Operation: 54-6=48, Resulting Numbers: [30, 48] Generated Node #0,1,1: 38:[30, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [30, 9] Generated Node #0,1,2: 38:[30, 9] Operation: 54/6=9 Exploring Operation: 6+30=36, Resulting Numbers: [54, 36] Generated Node #0,1,3: 38:[54, 36] Operation: 6+30=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[6, 24], Operations: ['58-28=30', '54-30=24'] Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,38 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[30, 9], Operations: ['58-28=30', '54/6=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[30, 48], Operations: ['58-28=30', '54-6=48'] Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,38 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[54, 36], Operations: ['58-28=30', '6+30=36'] Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,38 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: 38:[58, 6, 26], Operations: ['54-28=26'] Exploring Operation: 6+26=32, Resulting Numbers: [58, 32] Generated Node #0,3,0: 38:[58, 32] Operation: 6+26=32 Exploring Operation: 26-6=20, Resulting Numbers: [58, 20] Generated Node #0,3,1: 38:[58, 20] Operation: 26-6=20 Exploring Operation: 58-6=52, Resulting Numbers: [26, 52] Generated Node #0,3,2: 38:[26, 52] Operation: 58-6=52 Exploring Operation: 58-26=32, Resulting Numbers: [6, 32] Generated Node #0,3,3: 38:[6, 32] Operation: 58-26=32 Moving to Node #0,2 Current State: 38:[58, 28, 9], Operations: ['54/6=9'] Exploring Operation: 28+9=37, Resulting Numbers: [58, 37] Generated Node #0,2,0: 38:[58, 37] Operation: 28+9=37 Exploring Operation: 58-28=30, Resulting Numbers: [9, 30] Generated Node #0,2,1: 38:[9, 30] Operation: 58-28=30 Exploring Operation: 58-9=49, Resulting Numbers: [28, 49] Generated Node #0,2,2: 38:[28, 49] Operation: 58-9=49 Exploring Operation: 28-9=19, Resulting Numbers: [58, 19] Generated Node #0,2,3: 38:[58, 19] Operation: 28-9=19 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[9, 30], Operations: ['54/6=9', '58-28=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[28, 49], Operations: ['54/6=9', '58-9=49'] Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,38 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[58, 19], Operations: ['54/6=9', '28-9=19'] Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,38 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[58, 37], Operations: ['54/6=9', '28+9=37'] Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,38 unequal: No Solution Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 38:[4, 22], Operations: ['58-54=4', '28-6=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[4, 34], Operations: ['58-54=4', '28+6=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,38 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[58, 54, 28, 6], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [28, 6, 4] Generated Node #0,0: 38:[28, 6, 4] Operation: 58-54=4 Moving to Node #0,0 Current State: 38:[28, 6, 4], Operations: ['58-54=4'] Exploring Operation: 28+6=34, Resulting Numbers: [4, 34] Generated Node #0,0,3: 38:[4, 34] Operation: 28+6=34 Moving to Node #0,0,3 Current State: 38:[4, 34], Operations: ['58-54=4', '28+6=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.952257
hs_4
mult_heuristic
[ 10, 13, 27, 62 ]
38
[ "13-10=3", "62-27=35", "3+35=38" ]
Current State: 38:[10, 13, 27, 62], Operations: [] Exploring Operation: 13-10=3, Resulting Numbers: [27, 62, 3] Generated Node #2: [27, 62, 3] from Operation: 13-10=3 Current State: 38:[27, 62, 3], Operations: ['13-10=3'] Exploring Operation: 62-27=35, Resulting Numbers: [3, 35] Generated Node #3: [3, 35] from Operation: 62-27=35 Current State: 38:[3, 35], Operations: ['13-10=3', '62-27=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[10, 13, 27, 62], Operations: [] Exploring Operation: 62-10=52, Resulting Numbers: [13, 27, 52] Generated Node #0,0: 38:[13, 27, 52] Operation: 62-10=52 Exploring Operation: 62-13=49, Resulting Numbers: [10, 27, 49] Generated Node #0,1: 38:[10, 27, 49] Operation: 62-13=49 Exploring Operation: 62-27=35, Resulting Numbers: [10, 13, 35] Generated Node #0,2: 38:[10, 13, 35] Operation: 62-27=35 Exploring Operation: 10+27=37, Resulting Numbers: [13, 62, 37] Generated Node #0,3: 38:[13, 62, 37] Operation: 10+27=37 Moving to Node #0,2 Current State: 38:[10, 13, 35], Operations: ['62-27=35'] Exploring Operation: 35-13=22, Resulting Numbers: [10, 22] Generated Node #0,2,0: 38:[10, 22] Operation: 35-13=22 Exploring Operation: 35-10=25, Resulting Numbers: [13, 25] Generated Node #0,2,1: 38:[13, 25] Operation: 35-10=25 Exploring Operation: 10+13=23, Resulting Numbers: [35, 23] Generated Node #0,2,2: 38:[35, 23] Operation: 10+13=23 Exploring Operation: 13-10=3, Resulting Numbers: [35, 3] Generated Node #0,2,3: 38:[35, 3] Operation: 13-10=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[35, 3], Operations: ['62-27=35', '13-10=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[10, 13, 27, 62], Operations: [] Exploring Operation: 62-27=35, Resulting Numbers: [10, 13, 35] Generated Node #0,2: 38:[10, 13, 35] Operation: 62-27=35 Moving to Node #0,2 Current State: 38:[10, 13, 35], Operations: ['62-27=35'] Exploring Operation: 13-10=3, Resulting Numbers: [35, 3] Generated Node #0,2,3: 38:[35, 3] Operation: 13-10=3 Moving to Node #0,2,3 Current State: 38:[35, 3], Operations: ['62-27=35', '13-10=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 10, 15, 69, 65 ]
56
[ "15-10=5", "65/5=13", "69-13=56" ]
Current State: 56:[10, 15, 69, 65], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [69, 65, 5] Generated Node #2: [69, 65, 5] from Operation: 15-10=5 Current State: 56:[69, 65, 5], Operations: ['15-10=5'] Exploring Operation: 65/5=13, Resulting Numbers: [69, 13] Generated Node #3: [69, 13] from Operation: 65/5=13 Current State: 56:[69, 13], Operations: ['15-10=5', '65/5=13'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[10, 15, 69, 65], Operations: [] Exploring Operation: 69-15=54, Resulting Numbers: [10, 65, 54] Generated Node #0,0: 56:[10, 65, 54] Operation: 69-15=54 Exploring Operation: 65-10=55, Resulting Numbers: [15, 69, 55] Generated Node #0,1: 56:[15, 69, 55] Operation: 65-10=55 Exploring Operation: 69-65=4, Resulting Numbers: [10, 15, 4] Generated Node #0,2: 56:[10, 15, 4] Operation: 69-65=4 Exploring Operation: 69-10=59, Resulting Numbers: [15, 65, 59] Generated Node #0,3: 56:[15, 65, 59] Operation: 69-10=59 Exploring Operation: 65-15=50, Resulting Numbers: [10, 69, 50] Generated Node #0,4: 56:[10, 69, 50] Operation: 65-15=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[10, 15, 4], Operations: ['69-65=4'] Exploring Operation: 10+4=14, Resulting Numbers: [15, 14] Generated Node #0,2,0: 56:[15, 14] Operation: 10+4=14 Exploring Operation: 15-4=11, Resulting Numbers: [10, 11] Generated Node #0,2,1: 56:[10, 11] Operation: 15-4=11 Exploring Operation: 10-4=6, Resulting Numbers: [15, 6] Generated Node #0,2,2: 56:[15, 6] Operation: 10-4=6 Exploring Operation: 10+15=25, Resulting Numbers: [4, 25] Generated Node #0,2,3: 56:[4, 25] Operation: 10+15=25 Exploring Operation: 15-10=5, Resulting Numbers: [4, 5] Generated Node #0,2,4: 56:[4, 5] Operation: 15-10=5 Moving to Node #0,2,0 Current State: 56:[15, 14], Operations: ['69-65=4', '10+4=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[4, 5], Operations: ['69-65=4', '15-10=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[15, 6], Operations: ['69-65=4', '10-4=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[4, 25], Operations: ['69-65=4', '10+15=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[10, 11], Operations: ['69-65=4', '15-4=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[10, 65, 54], Operations: ['69-15=54'] Exploring Operation: 10+54=64, Resulting Numbers: [65, 64] Generated Node #0,0,0: 56:[65, 64] Operation: 10+54=64 Exploring Operation: 54-10=44, Resulting Numbers: [65, 44] Generated Node #0,0,1: 56:[65, 44] Operation: 54-10=44 Exploring Operation: 65-54=11, Resulting Numbers: [10, 11] Generated Node #0,0,2: 56:[10, 11] Operation: 65-54=11 Exploring Operation: 65-10=55, Resulting Numbers: [54, 55] Generated Node #0,0,3: 56:[54, 55] Operation: 65-10=55 Exploring Operation: 10+65=75, Resulting Numbers: [54, 75] Generated Node #0,0,4: 56:[54, 75] Operation: 10+65=75 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[54, 55], Operations: ['69-15=54', '65-10=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[10, 11], Operations: ['69-15=54', '65-54=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[65, 64], Operations: ['69-15=54', '10+54=64'] Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,56 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,56 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[65, 44], Operations: ['69-15=54', '54-10=44'] Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 65+44=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 65*44=2860, Resulting Numbers: [2860] 2860,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 56:[54, 75], Operations: ['69-15=54', '10+65=75'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,56 unequal: No Solution Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[15, 65, 59], Operations: ['69-10=59'] Exploring Operation: 59-15=44, Resulting Numbers: [65, 44] Generated Node #0,3,0: 56:[65, 44] Operation: 59-15=44 Exploring Operation: 15+65=80, Resulting Numbers: [59, 80] Generated Node #0,3,1: 56:[59, 80] Operation: 15+65=80 Exploring Operation: 15+59=74, Resulting Numbers: [65, 74] Generated Node #0,3,2: 56:[65, 74] Operation: 15+59=74 Exploring Operation: 65-15=50, Resulting Numbers: [59, 50] Generated Node #0,3,3: 56:[59, 50] Operation: 65-15=50 Exploring Operation: 65-59=6, Resulting Numbers: [15, 6] Generated Node #0,3,4: 56:[15, 6] Operation: 65-59=6 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 56:[15, 6], Operations: ['69-10=59', '65-59=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[59, 50], Operations: ['69-10=59', '65-15=50'] Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[65, 44], Operations: ['69-10=59', '59-15=44'] Exploring Operation: 65*44=2860, Resulting Numbers: [2860] 2860,56 unequal: No Solution Exploring Operation: 65+44=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[59, 80], Operations: ['69-10=59', '15+65=80'] Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 59+80=139, Resulting Numbers: [139] 139,56 unequal: No Solution Exploring Operation: 59*80=4720, Resulting Numbers: [4720] 4720,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[65, 74], Operations: ['69-10=59', '15+59=74'] Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 65+74=139, Resulting Numbers: [139] 139,56 unequal: No Solution Exploring Operation: 65*74=4810, Resulting Numbers: [4810] 4810,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[15, 69, 55], Operations: ['65-10=55'] Exploring Operation: 69-15=54, Resulting Numbers: [55, 54] Generated Node #0,1,0: 56:[55, 54] Operation: 69-15=54 Exploring Operation: 15+55=70, Resulting Numbers: [69, 70] Generated Node #0,1,1: 56:[69, 70] Operation: 15+55=70 Exploring Operation: 69-55=14, Resulting Numbers: [15, 14] Generated Node #0,1,2: 56:[15, 14] Operation: 69-55=14 Exploring Operation: 15+69=84, Resulting Numbers: [55, 84] Generated Node #0,1,3: 56:[55, 84] Operation: 15+69=84 Exploring Operation: 55-15=40, Resulting Numbers: [69, 40] Generated Node #0,1,4: 56:[69, 40] Operation: 55-15=40 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[15, 14], Operations: ['65-10=55', '69-55=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,56 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[55, 54], Operations: ['65-10=55', '69-15=54'] Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 55*54=2970, Resulting Numbers: [2970] 2970,56 unequal: No Solution Exploring Operation: 55+54=109, Resulting Numbers: [109] 109,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 56:[69, 40], Operations: ['65-10=55', '55-15=40'] Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,56 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[69, 70], Operations: ['65-10=55', '15+55=70'] Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 69*70=4830, Resulting Numbers: [4830] 4830,56 unequal: No Solution Exploring Operation: 69+70=139, Resulting Numbers: [139] 139,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[55, 84], Operations: ['65-10=55', '15+69=84'] Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,56 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 55*84=4620, Resulting Numbers: [4620] 4620,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[10, 69, 50], Operations: ['65-15=50'] Exploring Operation: 69-10=59, Resulting Numbers: [50, 59] Generated Node #0,4,0: 56:[50, 59] Operation: 69-10=59 Exploring Operation: 69-50=19, Resulting Numbers: [10, 19] Generated Node #0,4,1: 56:[10, 19] Operation: 69-50=19 Exploring Operation: 50-10=40, Resulting Numbers: [69, 40] Generated Node #0,4,2: 56:[69, 40] Operation: 50-10=40 Exploring Operation: 10+50=60, Resulting Numbers: [69, 60] Generated Node #0,4,3: 56:[69, 60] Operation: 10+50=60 Exploring Operation: 50/10=5, Resulting Numbers: [69, 5] Generated Node #0,4,4: 56:[69, 5] Operation: 50/10=5 Moving to Node #0,4,1 Current State: 56:[10, 19], Operations: ['65-15=50', '69-50=19'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,56 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,56 unequal: No Solution Moving to Node #0,4,0 Current State: 56:[50, 59], Operations: ['65-15=50', '69-10=59'] Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,56 unequal: No Solution Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[69, 5], Operations: ['65-15=50', '50/10=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,56 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[69, 60], Operations: ['65-15=50', '10+50=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,56 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[69, 40], Operations: ['65-15=50', '50-10=40'] Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,56 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,56 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
[ 12, 73, 55, 68 ]
48
[ "73-12=61", "68-55=13", "61-13=48" ]
Current State: 48:[12, 73, 55, 68], Operations: [] Exploring Operation: 73-12=61, Resulting Numbers: [55, 68, 61] Generated Node #2: [55, 68, 61] from Operation: 73-12=61 Current State: 48:[55, 68, 61], Operations: ['73-12=61'] Exploring Operation: 68-55=13, Resulting Numbers: [61, 13] Generated Node #3: [61, 13] from Operation: 68-55=13 Current State: 48:[61, 13], Operations: ['73-12=61', '68-55=13'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[12, 73, 55, 68], Operations: [] Exploring Operation: 73-12=61, Resulting Numbers: [55, 68, 61] Generated Node #0,0: 48:[55, 68, 61] Operation: 73-12=61 Exploring Operation: 68-55=13, Resulting Numbers: [12, 73, 13] Generated Node #0,1: 48:[12, 73, 13] Operation: 68-55=13 Exploring Operation: 73-55=18, Resulting Numbers: [12, 68, 18] Generated Node #0,2: 48:[12, 68, 18] Operation: 73-55=18 Exploring Operation: 73-68=5, Resulting Numbers: [12, 55, 5] Generated Node #0,3: 48:[12, 55, 5] Operation: 73-68=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[12, 55, 5], Operations: ['73-68=5'] Exploring Operation: 55-5=50, Resulting Numbers: [12, 50] Generated Node #0,3,0: 48:[12, 50] Operation: 55-5=50 Exploring Operation: 12+5=17, Resulting Numbers: [55, 17] Generated Node #0,3,1: 48:[55, 17] Operation: 12+5=17 Exploring Operation: 55/5=11, Resulting Numbers: [12, 11] Generated Node #0,3,2: 48:[12, 11] Operation: 55/5=11 Exploring Operation: 55-12=43, Resulting Numbers: [5, 43] Generated Node #0,3,3: 48:[5, 43] Operation: 55-12=43 Moving to Node #0,3,2 Current State: 48:[12, 11], Operations: ['73-68=5', '55/5=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,48 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[12, 50], Operations: ['73-68=5', '55-5=50'] Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,48 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[5, 43], Operations: ['73-68=5', '55-12=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[12, 73, 55, 68], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [12, 55, 5] Generated Node #0,3: 48:[12, 55, 5] Operation: 73-68=5 Moving to Node #0,3 Current State: 48:[12, 55, 5], Operations: ['73-68=5'] Exploring Operation: 55-12=43, Resulting Numbers: [5, 43] Generated Node #0,3,3: 48:[5, 43] Operation: 55-12=43 Moving to Node #0,3,3 Current State: 48:[5, 43], Operations: ['73-68=5', '55-12=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 81, 32, 55, 86 ]
43
[ "86-81=5", "55/5=11", "32+11=43" ]
Current State: 43:[81, 32, 55, 86], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [32, 55, 5] Generated Node #2: [32, 55, 5] from Operation: 86-81=5 Current State: 43:[32, 55, 5], Operations: ['86-81=5'] Exploring Operation: 55/5=11, Resulting Numbers: [32, 11] Generated Node #3: [32, 11] from Operation: 55/5=11 Current State: 43:[32, 11], Operations: ['86-81=5', '55/5=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[81, 32, 55, 86], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [55, 86, 49] Generated Node #0,0: 43:[55, 86, 49] Operation: 81-32=49 Moving to Node #0,0 Current State: 43:[55, 86, 49], Operations: ['81-32=49'] Exploring Operation: 86-55=31, Resulting Numbers: [49, 31] Generated Node #0,0,0: 43:[49, 31] Operation: 86-55=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[49, 31], Operations: ['81-32=49', '86-55=31'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,43 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
[ 92, 97, 6, 2 ]
75
[ "92-6=86", "2*86=172", "172-97=75" ]
Current State: 75:[92, 97, 6, 2], Operations: [] Exploring Operation: 92-6=86, Resulting Numbers: [97, 2, 86] Generated Node #2: [97, 2, 86] from Operation: 92-6=86 Current State: 75:[97, 2, 86], Operations: ['92-6=86'] Exploring Operation: 2*86=172, Resulting Numbers: [97, 172] Generated Node #3: [97, 172] from Operation: 2*86=172 Current State: 75:[97, 172], Operations: ['92-6=86', '2*86=172'] Exploring Operation: 172-97=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[92, 97, 6, 2], Operations: [] Exploring Operation: 92-2=90, Resulting Numbers: [97, 6, 90] Generated Node #0,0: 75:[97, 6, 90] Operation: 92-2=90 Exploring Operation: 97-92=5, Resulting Numbers: [6, 2, 5] Generated Node #0,1: 75:[6, 2, 5] Operation: 97-92=5 Exploring Operation: 97-6=91, Resulting Numbers: [92, 2, 91] Generated Node #0,2: 75:[92, 2, 91] Operation: 97-6=91 Exploring Operation: 92-6=86, Resulting Numbers: [97, 2, 86] Generated Node #0,3: 75:[97, 2, 86] Operation: 92-6=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[6, 2, 5], Operations: ['97-92=5'] Exploring Operation: 5-2=3, Resulting Numbers: [6, 3] Generated Node #0,1,0: 75:[6, 3] Operation: 5-2=3 Exploring Operation: 6+2=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 75:[5, 8] Operation: 6+2=8 Exploring Operation: 6-2=4, Resulting Numbers: [5, 4] Generated Node #0,1,2: 75:[5, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [5, 3] Generated Node #0,1,3: 75:[5, 3] Operation: 6/2=3 Moving to Node #0,1,3 Current State: 75:[5, 3], Operations: ['97-92=5', '6/2=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[5, 4], Operations: ['97-92=5', '6-2=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[6, 3], Operations: ['97-92=5', '5-2=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[5, 8], Operations: ['97-92=5', '6+2=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[92, 2, 91], Operations: ['97-6=91'] Exploring Operation: 91-2=89, Resulting Numbers: [92, 89] Generated Node #0,2,0: 75:[92, 89] Operation: 91-2=89 Exploring Operation: 92-2=90, Resulting Numbers: [91, 90] Generated Node #0,2,1: 75:[91, 90] Operation: 92-2=90 Exploring Operation: 92+2=94, Resulting Numbers: [91, 94] Generated Node #0,2,2: 75:[91, 94] Operation: 92+2=94 Exploring Operation: 92-91=1, Resulting Numbers: [2, 1] Generated Node #0,2,3: 75:[2, 1] Operation: 92-91=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[2, 1], Operations: ['97-6=91', '92-91=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[92, 89], Operations: ['97-6=91', '91-2=89'] Exploring Operation: 92+89=181, Resulting Numbers: [181] 181,75 unequal: No Solution Exploring Operation: 92*89=8188, Resulting Numbers: [8188] 8188,75 unequal: No Solution Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[91, 90], Operations: ['97-6=91', '92-2=90'] Exploring Operation: 91*90=8190, Resulting Numbers: [8190] 8190,75 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 91+90=181, Resulting Numbers: [181] 181,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[91, 94], Operations: ['97-6=91', '92+2=94'] Exploring Operation: 91*94=8554, Resulting Numbers: [8554] 8554,75 unequal: No Solution Exploring Operation: 94-91=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 91+94=185, Resulting Numbers: [185] 185,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[97, 2, 86], Operations: ['92-6=86'] Exploring Operation: 97+2=99, Resulting Numbers: [86, 99] Generated Node #0,3,0: 75:[86, 99] Operation: 97+2=99 Exploring Operation: 86-2=84, Resulting Numbers: [97, 84] Generated Node #0,3,1: 75:[97, 84] Operation: 86-2=84 Exploring Operation: 97-2=95, Resulting Numbers: [86, 95] Generated Node #0,3,2: 75:[86, 95] Operation: 97-2=95 Exploring Operation: 97-86=11, Resulting Numbers: [2, 11] Generated Node #0,3,3: 75:[2, 11] Operation: 97-86=11 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[2, 11], Operations: ['92-6=86', '97-86=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[97, 84], Operations: ['92-6=86', '86-2=84'] Exploring Operation: 97+84=181, Resulting Numbers: [181] 181,75 unequal: No Solution Exploring Operation: 97*84=8148, Resulting Numbers: [8148] 8148,75 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 75:[86, 95], Operations: ['92-6=86', '97-2=95'] Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,75 unequal: No Solution Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 75:[86, 99], Operations: ['92-6=86', '97+2=99'] Exploring Operation: 99-86=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 86+99=185, Resulting Numbers: [185] 185,75 unequal: No Solution Exploring Operation: 86*99=8514, Resulting Numbers: [8514] 8514,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[97, 6, 90], Operations: ['92-2=90'] Exploring Operation: 97-90=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 75:[6, 7] Operation: 97-90=7 Exploring Operation: 97-6=91, Resulting Numbers: [90, 91] Generated Node #0,0,1: 75:[90, 91] Operation: 97-6=91 Exploring Operation: 90/6=15, Resulting Numbers: [97, 15] Generated Node #0,0,2: 75:[97, 15] Operation: 90/6=15 Exploring Operation: 90-6=84, Resulting Numbers: [97, 84] Generated Node #0,0,3: 75:[97, 84] Operation: 90-6=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[6, 7], Operations: ['92-2=90', '97-90=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[97, 15], Operations: ['92-2=90', '90/6=15'] Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 97+15=112, Resulting Numbers: [112] 112,75 unequal: No Solution Exploring Operation: 97*15=1455, Resulting Numbers: [1455] 1455,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[90, 91], Operations: ['92-2=90', '97-6=91'] Exploring Operation: 90+91=181, Resulting Numbers: [181] 181,75 unequal: No Solution Exploring Operation: 90*91=8190, Resulting Numbers: [8190] 8190,75 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[97, 84], Operations: ['92-2=90', '90-6=84'] Exploring Operation: 97+84=181, Resulting Numbers: [181] 181,75 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 97*84=8148, Resulting Numbers: [8148] 8148,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 93, 9, 30, 6 ]
73
[ "30*6=180", "180/9=20", "93-20=73" ]
Current State: 73:[93, 9, 30, 6], Operations: [] Exploring Operation: 30*6=180, Resulting Numbers: [93, 9, 180] Generated Node #2: [93, 9, 180] from Operation: 30*6=180 Current State: 73:[93, 9, 180], Operations: ['30*6=180'] Exploring Operation: 180/9=20, Resulting Numbers: [93, 20] Generated Node #3: [93, 20] from Operation: 180/9=20 Current State: 73:[93, 20], Operations: ['30*6=180', '180/9=20'] Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[93, 9, 30, 6], Operations: [] Exploring Operation: 93-6=87, Resulting Numbers: [9, 30, 87] Generated Node #0,0: 73:[9, 30, 87] Operation: 93-6=87 Exploring Operation: 9*6=54, Resulting Numbers: [93, 30, 54] Generated Node #0,1: 73:[93, 30, 54] Operation: 9*6=54 Exploring Operation: 93-9=84, Resulting Numbers: [30, 6, 84] Generated Node #0,2: 73:[30, 6, 84] Operation: 93-9=84 Moving to Node #0,1 Current State: 73:[93, 30, 54], Operations: ['9*6=54'] Exploring Operation: 30+54=84, Resulting Numbers: [93, 84] Generated Node #0,1,0: 73:[93, 84] Operation: 30+54=84 Exploring Operation: 93-30=63, Resulting Numbers: [54, 63] Generated Node #0,1,1: 73:[54, 63] Operation: 93-30=63 Exploring Operation: 93+30=123, Resulting Numbers: [54, 123] Generated Node #0,1,2: 73:[54, 123] Operation: 93+30=123 Moving to Node #0,0 Current State: 73:[9, 30, 87], Operations: ['93-6=87'] Exploring Operation: 87-9=78, Resulting Numbers: [30, 78] Generated Node #0,0,0: 73:[30, 78] Operation: 87-9=78 Exploring Operation: 9+30=39, Resulting Numbers: [87, 39] Generated Node #0,0,1: 73:[87, 39] Operation: 9+30=39 Exploring Operation: 30-9=21, Resulting Numbers: [87, 21] Generated Node #0,0,2: 73:[87, 21] Operation: 30-9=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[30, 78], Operations: ['93-6=87', '87-9=78'] Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,73 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[87, 39], Operations: ['93-6=87', '9+30=39'] Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,73 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 87*39=3393, Resulting Numbers: [3393] 3393,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[87, 21], Operations: ['93-6=87', '30-9=21'] Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,73 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,73 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,73 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: 73:[30, 6, 84], Operations: ['93-9=84'] Exploring Operation: 30+6=36, Resulting Numbers: [84, 36] Generated Node #0,2,0: 73:[84, 36] Operation: 30+6=36 Exploring Operation: 84-6=78, Resulting Numbers: [30, 78] Generated Node #0,2,1: 73:[30, 78] Operation: 84-6=78 Exploring Operation: 30-6=24, Resulting Numbers: [84, 24] Generated Node #0,2,2: 73:[84, 24] Operation: 30-6=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[84, 36], Operations: ['93-9=84', '30+6=36'] Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,73 unequal: No Solution Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,73 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[30, 78], Operations: ['93-9=84', '84-6=78'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,73 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[84, 24], Operations: ['93-9=84', '30-6=24'] Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,73 unequal: No Solution Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,73 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: 73:[54, 63], Operations: ['9*6=54', '93-30=63'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[93, 84], Operations: ['9*6=54', '30+54=84'] Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 93*84=7812, Resulting Numbers: [7812] 7812,73 unequal: No Solution Exploring Operation: 93+84=177, Resulting Numbers: [177] 177,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[54, 123], Operations: ['9*6=54', '93+30=123'] Exploring Operation: 54*123=6642, Resulting Numbers: [6642] 6642,73 unequal: No Solution Exploring Operation: 123-54=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 54+123=177, Resulting Numbers: [177] 177,73 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 37, 59, 53, 4 ]
27
[ "59-37=22", "53-4=49", "49-22=27" ]
Current State: 27:[37, 59, 53, 4], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [53, 4, 22] Generated Node #2: [53, 4, 22] from Operation: 59-37=22 Current State: 27:[53, 4, 22], Operations: ['59-37=22'] Exploring Operation: 53-4=49, Resulting Numbers: [22, 49] Generated Node #3: [22, 49] from Operation: 53-4=49 Current State: 27:[22, 49], Operations: ['59-37=22', '53-4=49'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[37, 59, 53, 4], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [37, 4, 6] Generated Node #0,0: 27:[37, 4, 6] Operation: 59-53=6 Exploring Operation: 59-37=22, Resulting Numbers: [53, 4, 22] Generated Node #0,1: 27:[53, 4, 22] Operation: 59-37=22 Moving to Node #0,0 Current State: 27:[37, 4, 6], Operations: ['59-53=6'] Exploring Operation: 37-6=31, Resulting Numbers: [4, 31] Generated Node #0,0,0: 27:[4, 31] Operation: 37-6=31 Exploring Operation: 37-4=33, Resulting Numbers: [6, 33] Generated Node #0,0,1: 27:[6, 33] Operation: 37-4=33 Moving to Node #0,1 Current State: 27:[53, 4, 22], Operations: ['59-37=22'] Exploring Operation: 53-4=49, Resulting Numbers: [22, 49] Generated Node #0,1,0: 27:[22, 49] Operation: 53-4=49 Exploring Operation: 53-22=31, Resulting Numbers: [4, 31] Generated Node #0,1,1: 27:[4, 31] Operation: 53-22=31 Moving to Node #0,0,0 Current State: 27:[4, 31], Operations: ['59-53=6', '37-6=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[37, 59, 53, 4], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [37, 4, 6] Generated Node #0,0: 27:[37, 4, 6] Operation: 59-53=6 Moving to Node #0,0 Current State: 27:[37, 4, 6], Operations: ['59-53=6'] Exploring Operation: 37-6=31, Resulting Numbers: [4, 31] Generated Node #0,0,0: 27:[4, 31] Operation: 37-6=31 Moving to Node #0,0,0 Current State: 27:[4, 31], Operations: ['59-53=6', '37-6=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 72, 40, 74, 20 ]
70
[ "72*40=2880", "2880/20=144", "144-74=70" ]
Current State: 70:[72, 40, 74, 20], Operations: [] Exploring Operation: 72*40=2880, Resulting Numbers: [74, 20, 2880] Generated Node #2: [74, 20, 2880] from Operation: 72*40=2880 Current State: 70:[74, 20, 2880], Operations: ['72*40=2880'] Exploring Operation: 2880/20=144, Resulting Numbers: [74, 144] Generated Node #3: [74, 144] from Operation: 2880/20=144 Current State: 70:[74, 144], Operations: ['72*40=2880', '2880/20=144'] Exploring Operation: 144-74=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[72, 40, 74, 20], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [72, 74, 2] Generated Node #0,0: 70:[72, 74, 2] Operation: 40/20=2 Exploring Operation: 74-40=34, Resulting Numbers: [72, 20, 34] Generated Node #0,1: 70:[72, 20, 34] Operation: 74-40=34 Moving to Node #0,0 Current State: 70:[72, 74, 2], Operations: ['40/20=2'] Exploring Operation: 72-2=70, Resulting Numbers: [74, 70] Generated Node #0,0,0: 70:[74, 70] Operation: 72-2=70 Exploring Operation: 74-72=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 70:[2, 2] Operation: 74-72=2 Moving to Node #0,1 Current State: 70:[72, 20, 34], Operations: ['74-40=34'] Exploring Operation: 34-20=14, Resulting Numbers: [72, 14] Generated Node #0,1,0: 70:[72, 14] Operation: 34-20=14 Exploring Operation: 72-34=38, Resulting Numbers: [20, 38] Generated Node #0,1,1: 70:[20, 38] Operation: 72-34=38 Moving to Node #0,0,1 Current State: 70:[2, 2], Operations: ['40/20=2', '74-72=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[72, 14], Operations: ['74-40=34', '34-20=14'] Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,70 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[74, 70], Operations: ['40/20=2', '72-2=70'] Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[20, 38], Operations: ['74-40=34', '72-34=38'] Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,70 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,70 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 53, 64, 22 ]
58
[ "46+64=110", "110/22=5", "53+5=58" ]
Current State: 58:[46, 53, 64, 22], Operations: [] Exploring Operation: 46+64=110, Resulting Numbers: [53, 22, 110] Generated Node #2: [53, 22, 110] from Operation: 46+64=110 Current State: 58:[53, 22, 110], Operations: ['46+64=110'] Exploring Operation: 110/22=5, Resulting Numbers: [53, 5] Generated Node #3: [53, 5] from Operation: 110/22=5 Current State: 58:[53, 5], Operations: ['46+64=110', '110/22=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[46, 53, 64, 22], Operations: [] Exploring Operation: 46+22=68, Resulting Numbers: [53, 64, 68] Generated Node #0,0: 58:[53, 64, 68] Operation: 46+22=68 Exploring Operation: 64-46=18, Resulting Numbers: [53, 22, 18] Generated Node #0,1: 58:[53, 22, 18] Operation: 64-46=18 Exploring Operation: 53-22=31, Resulting Numbers: [46, 64, 31] Generated Node #0,2: 58:[46, 64, 31] Operation: 53-22=31 Exploring Operation: 53-46=7, Resulting Numbers: [64, 22, 7] Generated Node #0,3: 58:[64, 22, 7] Operation: 53-46=7 Exploring Operation: 46-22=24, Resulting Numbers: [53, 64, 24] Generated Node #0,4: 58:[53, 64, 24] Operation: 46-22=24 Moving to Node #0,4 Current State: 58:[53, 64, 24], Operations: ['46-22=24'] Exploring Operation: 53+24=77, Resulting Numbers: [64, 77] Generated Node #0,4,0: 58:[64, 77] Operation: 53+24=77 Exploring Operation: 53-24=29, Resulting Numbers: [64, 29] Generated Node #0,4,1: 58:[64, 29] Operation: 53-24=29 Exploring Operation: 64-24=40, Resulting Numbers: [53, 40] Generated Node #0,4,2: 58:[53, 40] Operation: 64-24=40 Exploring Operation: 64-53=11, Resulting Numbers: [24, 11] Generated Node #0,4,3: 58:[24, 11] Operation: 64-53=11 Exploring Operation: 64+24=88, Resulting Numbers: [53, 88] Generated Node #0,4,4: 58:[53, 88] Operation: 64+24=88 Moving to Node #0,3 Current State: 58:[64, 22, 7], Operations: ['53-46=7'] Exploring Operation: 64-22=42, Resulting Numbers: [7, 42] Generated Node #0,3,0: 58:[7, 42] Operation: 64-22=42 Exploring Operation: 64+7=71, Resulting Numbers: [22, 71] Generated Node #0,3,1: 58:[22, 71] Operation: 64+7=71 Exploring Operation: 22-7=15, Resulting Numbers: [64, 15] Generated Node #0,3,2: 58:[64, 15] Operation: 22-7=15 Exploring Operation: 64-7=57, Resulting Numbers: [22, 57] Generated Node #0,3,3: 58:[22, 57] Operation: 64-7=57 Exploring Operation: 22+7=29, Resulting Numbers: [64, 29] Generated Node #0,3,4: 58:[64, 29] Operation: 22+7=29 Moving to Node #0,2 Current State: 58:[46, 64, 31], Operations: ['53-22=31'] Exploring Operation: 64+31=95, Resulting Numbers: [46, 95] Generated Node #0,2,0: 58:[46, 95] Operation: 64+31=95 Exploring Operation: 46-31=15, Resulting Numbers: [64, 15] Generated Node #0,2,1: 58:[64, 15] Operation: 46-31=15 Exploring Operation: 46+31=77, Resulting Numbers: [64, 77] Generated Node #0,2,2: 58:[64, 77] Operation: 46+31=77 Exploring Operation: 64-31=33, Resulting Numbers: [46, 33] Generated Node #0,2,3: 58:[46, 33] Operation: 64-31=33 Exploring Operation: 64-46=18, Resulting Numbers: [31, 18] Generated Node #0,2,4: 58:[31, 18] Operation: 64-46=18 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 58:[31, 18], Operations: ['53-22=31', '64-46=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,58 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[46, 33], Operations: ['53-22=31', '64-31=33'] Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,58 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[64, 15], Operations: ['53-22=31', '46-31=15'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,58 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[64, 77], Operations: ['53-22=31', '46+31=77'] Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,58 unequal: No Solution Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,58 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[46, 95], Operations: ['53-22=31', '64+31=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,58 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 58:[53, 64, 68], Operations: ['46+22=68'] Exploring Operation: 68-64=4, Resulting Numbers: [53, 4] Generated Node #0,0,0: 58:[53, 4] Operation: 68-64=4 Exploring Operation: 53+68=121, Resulting Numbers: [64, 121] Generated Node #0,0,1: 58:[64, 121] Operation: 53+68=121 Exploring Operation: 68-53=15, Resulting Numbers: [64, 15] Generated Node #0,0,2: 58:[64, 15] Operation: 68-53=15 Exploring Operation: 64-53=11, Resulting Numbers: [68, 11] Generated Node #0,0,3: 58:[68, 11] Operation: 64-53=11 Exploring Operation: 53+64=117, Resulting Numbers: [68, 117] Generated Node #0,0,4: 58:[68, 117] Operation: 53+64=117 Moving to Node #0,1 Current State: 58:[53, 22, 18], Operations: ['64-46=18'] Exploring Operation: 22-18=4, Resulting Numbers: [53, 4] Generated Node #0,1,0: 58:[53, 4] Operation: 22-18=4 Exploring Operation: 22+18=40, Resulting Numbers: [53, 40] Generated Node #0,1,1: 58:[53, 40] Operation: 22+18=40 Exploring Operation: 53-22=31, Resulting Numbers: [18, 31] Generated Node #0,1,2: 58:[18, 31] Operation: 53-22=31 Exploring Operation: 53+18=71, Resulting Numbers: [22, 71] Generated Node #0,1,3: 58:[22, 71] Operation: 53+18=71 Exploring Operation: 53-18=35, Resulting Numbers: [22, 35] Generated Node #0,1,4: 58:[22, 35] Operation: 53-18=35 Moving to Node #0,4,1 Current State: 58:[64, 29], Operations: ['46-22=24', '53-24=29'] Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,58 unequal: No Solution Moving to Node #0,3,4 Current State: 58:[64, 29], Operations: ['53-46=7', '22+7=29'] Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[53, 4], Operations: ['46+22=68', '68-64=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,58 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[53, 4], Operations: ['64-46=18', '22-18=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,58 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[22, 57], Operations: ['53-46=7', '64-7=57'] Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,58 unequal: No Solution Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,58 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[22, 35], Operations: ['64-46=18', '53-18=35'] Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,58 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[18, 31], Operations: ['64-46=18', '53-22=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,58 unequal: No Solution Moving to Node #0,4,3 Current State: 58:[24, 11], Operations: ['46-22=24', '64-53=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,58 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,58 unequal: No Solution Moving to Node #0,4,2 Current State: 58:[53, 40], Operations: ['46-22=24', '64-24=40'] Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,58 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[53, 40], Operations: ['64-46=18', '22+18=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,58 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[7, 42], Operations: ['53-46=7', '64-22=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 7*42=294, Resulting Numbers: [294] 294,58 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[68, 11], Operations: ['46+22=68', '64-53=11'] Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,58 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[64, 15], Operations: ['46+22=68', '68-53=15'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,58 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[64, 15], Operations: ['53-46=7', '22-7=15'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,58 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[22, 71], Operations: ['64-46=18', '53+18=71'] Exploring Operation: 22*71=1562, Resulting Numbers: [1562] 1562,58 unequal: No Solution Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 22+71=93, Resulting Numbers: [93] 93,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[22, 71], Operations: ['53-46=7', '64+7=71'] Exploring Operation: 22*71=1562, Resulting Numbers: [1562] 1562,58 unequal: No Solution Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 22+71=93, Resulting Numbers: [93] 93,58 unequal: No Solution Moving to Node #0,4,0 Current State: 58:[64, 77], Operations: ['46-22=24', '53+24=77'] Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,58 unequal: No Solution Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,58 unequal: No Solution Moving to Node #0,4,4 Current State: 58:[53, 88], Operations: ['46-22=24', '64+24=88'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 53*88=4664, Resulting Numbers: [4664] 4664,58 unequal: No Solution Exploring Operation: 53+88=141, Resulting Numbers: [141] 141,58 unequal: No Solution Moving to Node #0,0,4 Current State: 58:[68, 117], Operations: ['46+22=68', '53+64=117'] Exploring Operation: 68+117=185, Resulting Numbers: [185] 185,58 unequal: No Solution Exploring Operation: 117-68=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 68*117=7956, Resulting Numbers: [7956] 7956,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[64, 121], Operations: ['46+22=68', '53+68=121'] Exploring Operation: 121-64=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 64+121=185, Resulting Numbers: [185] 185,58 unequal: No Solution Exploring Operation: 64*121=7744, Resulting Numbers: [7744] 7744,58 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 35, 40, 4, 53 ]
53
[ "40-35=5", "5-4=1", "53*1=53" ]
Current State: 53:[35, 40, 4, 53], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [4, 53, 5] Generated Node #2: [4, 53, 5] from Operation: 40-35=5 Current State: 53:[4, 53, 5], Operations: ['40-35=5'] Exploring Operation: 5-4=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 5-4=1 Current State: 53:[53, 1], Operations: ['40-35=5', '5-4=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[35, 40, 4, 53], Operations: [] Exploring Operation: 35-4=31, Resulting Numbers: [40, 53, 31] Generated Node #0,0: 53:[40, 53, 31] Operation: 35-4=31 Exploring Operation: 35+4=39, Resulting Numbers: [40, 53, 39] Generated Node #0,1: 53:[40, 53, 39] Operation: 35+4=39 Exploring Operation: 40+4=44, Resulting Numbers: [35, 53, 44] Generated Node #0,2: 53:[35, 53, 44] Operation: 40+4=44 Moving to Node #0,1 Current State: 53:[40, 53, 39], Operations: ['35+4=39'] Exploring Operation: 40-39=1, Resulting Numbers: [53, 1] Generated Node #0,1,0: 53:[53, 1] Operation: 40-39=1 Exploring Operation: 53+39=92, Resulting Numbers: [40, 92] Generated Node #0,1,1: 53:[40, 92] Operation: 53+39=92 Exploring Operation: 40+39=79, Resulting Numbers: [53, 79] Generated Node #0,1,2: 53:[53, 79] Operation: 40+39=79 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[53, 79], Operations: ['35+4=39', '40+39=79'] Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 53+79=132, Resulting Numbers: [132] 132,53 unequal: No Solution Exploring Operation: 53*79=4187, Resulting Numbers: [4187] 4187,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[53, 1], Operations: ['35+4=39', '40-39=1'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[35, 40, 4, 53], Operations: [] Exploring Operation: 35+4=39, Resulting Numbers: [40, 53, 39] Generated Node #0,1: 53:[40, 53, 39] Operation: 35+4=39 Moving to Node #0,1 Current State: 53:[40, 53, 39], Operations: ['35+4=39'] Exploring Operation: 40-39=1, Resulting Numbers: [53, 1] Generated Node #0,1,0: 53:[53, 1] Operation: 40-39=1 Moving to Node #0,1,0 Current State: 53:[53, 1], Operations: ['35+4=39', '40-39=1'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 70, 7, 52, 95 ]
11
[ "70-52=18", "95-18=77", "77/7=11" ]
Current State: 11:[70, 7, 52, 95], Operations: [] Exploring Operation: 70-52=18, Resulting Numbers: [7, 95, 18] Generated Node #2: [7, 95, 18] from Operation: 70-52=18 Current State: 11:[7, 95, 18], Operations: ['70-52=18'] Exploring Operation: 95-18=77, Resulting Numbers: [7, 77] Generated Node #3: [7, 77] from Operation: 95-18=77 Current State: 11:[7, 77], Operations: ['70-52=18', '95-18=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[70, 7, 52, 95], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [7, 52, 25] Generated Node #0,0: 11:[7, 52, 25] Operation: 95-70=25 Exploring Operation: 70-52=18, Resulting Numbers: [7, 95, 18] Generated Node #0,1: 11:[7, 95, 18] Operation: 70-52=18 Exploring Operation: 70/7=10, Resulting Numbers: [52, 95, 10] Generated Node #0,2: 11:[52, 95, 10] Operation: 70/7=10 Exploring Operation: 95-52=43, Resulting Numbers: [70, 7, 43] Generated Node #0,3: 11:[70, 7, 43] Operation: 95-52=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[7, 52, 25], Operations: ['95-70=25'] Exploring Operation: 52-25=27, Resulting Numbers: [7, 27] Generated Node #0,0,0: 11:[7, 27] Operation: 52-25=27 Exploring Operation: 25-7=18, Resulting Numbers: [52, 18] Generated Node #0,0,1: 11:[52, 18] Operation: 25-7=18 Exploring Operation: 7+52=59, Resulting Numbers: [25, 59] Generated Node #0,0,2: 11:[25, 59] Operation: 7+52=59 Exploring Operation: 52-7=45, Resulting Numbers: [25, 45] Generated Node #0,0,3: 11:[25, 45] Operation: 52-7=45 Moving to Node #0,0,0 Current State: 11:[7, 27], Operations: ['95-70=25', '52-25=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,11 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[25, 45], Operations: ['95-70=25', '52-7=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,11 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[52, 18], Operations: ['95-70=25', '25-7=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,11 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[25, 59], Operations: ['95-70=25', '7+52=59'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 25*59=1475, Resulting Numbers: [1475] 1475,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[7, 95, 18], Operations: ['70-52=18'] Exploring Operation: 95-7=88, Resulting Numbers: [18, 88] Generated Node #0,1,0: 11:[18, 88] Operation: 95-7=88 Exploring Operation: 95-18=77, Resulting Numbers: [7, 77] Generated Node #0,1,1: 11:[7, 77] Operation: 95-18=77 Exploring Operation: 18-7=11, Resulting Numbers: [95, 11] Generated Node #0,1,2: 11:[95, 11] Operation: 18-7=11 Exploring Operation: 7+95=102, Resulting Numbers: [18, 102] Generated Node #0,1,3: 11:[18, 102] Operation: 7+95=102 Moving to Node #0,1,1 Current State: 11:[7, 77], Operations: ['70-52=18', '95-18=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 7*77=539, Resulting Numbers: [539] 539,11 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[70, 7, 52, 95], Operations: [] Exploring Operation: 70-52=18, Resulting Numbers: [7, 95, 18] Generated Node #0,1: 11:[7, 95, 18] Operation: 70-52=18 Moving to Node #0,1 Current State: 11:[7, 95, 18], Operations: ['70-52=18'] Exploring Operation: 95-18=77, Resulting Numbers: [7, 77] Generated Node #0,1,1: 11:[7, 77] Operation: 95-18=77 Moving to Node #0,1,1 Current State: 11:[7, 77], Operations: ['70-52=18', '95-18=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 66, 28, 32, 89 ]
92
[ "89-66=23", "32-28=4", "23*4=92" ]
Current State: 92:[66, 28, 32, 89], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [28, 32, 23] Generated Node #2: [28, 32, 23] from Operation: 89-66=23 Current State: 92:[28, 32, 23], Operations: ['89-66=23'] Exploring Operation: 32-28=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 32-28=4 Current State: 92:[23, 4], Operations: ['89-66=23', '32-28=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[66, 28, 32, 89], Operations: [] Exploring Operation: 66+32=98, Resulting Numbers: [28, 89, 98] Generated Node #0,0: 92:[28, 89, 98] Operation: 66+32=98 Exploring Operation: 89-66=23, Resulting Numbers: [28, 32, 23] Generated Node #0,1: 92:[28, 32, 23] Operation: 89-66=23 Exploring Operation: 66-32=34, Resulting Numbers: [28, 89, 34] Generated Node #0,2: 92:[28, 89, 34] Operation: 66-32=34 Exploring Operation: 66+28=94, Resulting Numbers: [32, 89, 94] Generated Node #0,3: 92:[32, 89, 94] Operation: 66+28=94 Moving to Node #0,0 Current State: 92:[28, 89, 98], Operations: ['66+32=98'] Exploring Operation: 98-89=9, Resulting Numbers: [28, 9] Generated Node #0,0,0: 92:[28, 9] Operation: 98-89=9 Exploring Operation: 28+89=117, Resulting Numbers: [98, 117] Generated Node #0,0,1: 92:[98, 117] Operation: 28+89=117 Exploring Operation: 89-28=61, Resulting Numbers: [98, 61] Generated Node #0,0,2: 92:[98, 61] Operation: 89-28=61 Exploring Operation: 98-28=70, Resulting Numbers: [89, 70] Generated Node #0,0,3: 92:[89, 70] Operation: 98-28=70 Moving to Node #0,3 Current State: 92:[32, 89, 94], Operations: ['66+28=94'] Exploring Operation: 32+89=121, Resulting Numbers: [94, 121] Generated Node #0,3,0: 92:[94, 121] Operation: 32+89=121 Exploring Operation: 94-32=62, Resulting Numbers: [89, 62] Generated Node #0,3,1: 92:[89, 62] Operation: 94-32=62 Exploring Operation: 94-89=5, Resulting Numbers: [32, 5] Generated Node #0,3,2: 92:[32, 5] Operation: 94-89=5 Exploring Operation: 89-32=57, Resulting Numbers: [94, 57] Generated Node #0,3,3: 92:[94, 57] Operation: 89-32=57 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 92:[32, 5], Operations: ['66+28=94', '94-89=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,92 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 92:[94, 57], Operations: ['66+28=94', '89-32=57'] Exploring Operation: 94+57=151, Resulting Numbers: [151] 151,92 unequal: No Solution Exploring Operation: 94*57=5358, Resulting Numbers: [5358] 5358,92 unequal: No Solution Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[89, 62], Operations: ['66+28=94', '94-32=62'] Exploring Operation: 89+62=151, Resulting Numbers: [151] 151,92 unequal: No Solution Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 89*62=5518, Resulting Numbers: [5518] 5518,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[94, 121], Operations: ['66+28=94', '32+89=121'] Exploring Operation: 94*121=11374, Resulting Numbers: [11374] 11374,92 unequal: No Solution Exploring Operation: 121-94=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 94+121=215, Resulting Numbers: [215] 215,92 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: 92:[28, 32, 23], Operations: ['89-66=23'] Exploring Operation: 32-28=4, Resulting Numbers: [23, 4] Generated Node #0,1,0: 92:[23, 4] Operation: 32-28=4 Exploring Operation: 32-23=9, Resulting Numbers: [28, 9] Generated Node #0,1,1: 92:[28, 9] Operation: 32-23=9 Exploring Operation: 28-23=5, Resulting Numbers: [32, 5] Generated Node #0,1,2: 92:[32, 5] Operation: 28-23=5 Exploring Operation: 28+32=60, Resulting Numbers: [23, 60] Generated Node #0,1,3: 92:[23, 60] Operation: 28+32=60 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[23, 4], Operations: ['89-66=23', '32-28=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[66, 28, 32, 89], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [28, 32, 23] Generated Node #0,1: 92:[28, 32, 23] Operation: 89-66=23 Moving to Node #0,1 Current State: 92:[28, 32, 23], Operations: ['89-66=23'] Exploring Operation: 32-28=4, Resulting Numbers: [23, 4] Generated Node #0,1,0: 92:[23, 4] Operation: 32-28=4 Moving to Node #0,1,0 Current State: 92:[23, 4], Operations: ['89-66=23', '32-28=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 20, 17, 29, 95 ]
22
[ "20-17=3", "95-29=66", "66/3=22" ]
Current State: 22:[20, 17, 29, 95], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [29, 95, 3] Generated Node #2: [29, 95, 3] from Operation: 20-17=3 Current State: 22:[29, 95, 3], Operations: ['20-17=3'] Exploring Operation: 95-29=66, Resulting Numbers: [3, 66] Generated Node #3: [3, 66] from Operation: 95-29=66 Current State: 22:[3, 66], Operations: ['20-17=3', '95-29=66'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[20, 17, 29, 95], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [20, 17, 66] Generated Node #0,0: 22:[20, 17, 66] Operation: 95-29=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[20, 17, 66], Operations: ['95-29=66'] Exploring Operation: 66-20=46, Resulting Numbers: [17, 46] Generated Node #0,0,0: 22:[17, 46] Operation: 66-20=46 Moving to Node #0,0,0 Current State: 22:[17, 46], Operations: ['95-29=66', '66-20=46'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,22 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
[ 1, 16, 25, 24 ]
33
[ "1*16=16", "25+24=49", "49-16=33" ]
Current State: 33:[1, 16, 25, 24], Operations: [] Exploring Operation: 1*16=16, Resulting Numbers: [25, 24, 16] Generated Node #2: [25, 24, 16] from Operation: 1*16=16 Current State: 33:[25, 24, 16], Operations: ['1*16=16'] Exploring Operation: 25+24=49, Resulting Numbers: [16, 49] Generated Node #3: [16, 49] from Operation: 25+24=49 Current State: 33:[16, 49], Operations: ['1*16=16', '25+24=49'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[1, 16, 25, 24], Operations: [] Exploring Operation: 16+24=40, Resulting Numbers: [1, 25, 40] Generated Node #0,0: 33:[1, 25, 40] Operation: 16+24=40 Exploring Operation: 25-24=1, Resulting Numbers: [1, 16, 1] Generated Node #0,1: 33:[1, 16, 1] Operation: 25-24=1 Exploring Operation: 24-16=8, Resulting Numbers: [1, 25, 8] Generated Node #0,2: 33:[1, 25, 8] Operation: 24-16=8 Exploring Operation: 25-16=9, Resulting Numbers: [1, 24, 9] Generated Node #0,3: 33:[1, 24, 9] Operation: 25-16=9 Exploring Operation: 16+25=41, Resulting Numbers: [1, 24, 41] Generated Node #0,4: 33:[1, 24, 41] Operation: 16+25=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[1, 16, 1], Operations: ['25-24=1'] Exploring Operation: 16/1=16, Resulting Numbers: [1, 16] Generated Node #0,1,0: 33:[1, 16] Operation: 16/1=16 Exploring Operation: 1*16=16, Resulting Numbers: [1, 16] Generated Node #0,1,1: 33:[1, 16] Operation: 1*16=16 Exploring Operation: 16-1=15, Resulting Numbers: [1, 15] Generated Node #0,1,2: 33:[1, 15] Operation: 16-1=15 Exploring Operation: 16-1=15, Resulting Numbers: [1, 15] Generated Node #0,1,3: 33:[1, 15] Operation: 16-1=15 Exploring Operation: 1+1=2, Resulting Numbers: [16, 2] Generated Node #0,1,4: 33:[16, 2] Operation: 1+1=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[1, 15], Operations: ['25-24=1', '16-1=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[1, 15], Operations: ['25-24=1', '16-1=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 33:[16, 2], Operations: ['25-24=1', '1+1=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[1, 16], Operations: ['25-24=1', '16/1=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[1, 16], Operations: ['25-24=1', '1*16=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[1, 25, 8], Operations: ['24-16=8'] Exploring Operation: 25+8=33, Resulting Numbers: [1, 33] Generated Node #0,2,0: 33:[1, 33] Operation: 25+8=33 Exploring Operation: 25-8=17, Resulting Numbers: [1, 17] Generated Node #0,2,1: 33:[1, 17] Operation: 25-8=17 Exploring Operation: 1+8=9, Resulting Numbers: [25, 9] Generated Node #0,2,2: 33:[25, 9] Operation: 1+8=9 Exploring Operation: 1+25=26, Resulting Numbers: [8, 26] Generated Node #0,2,3: 33:[8, 26] Operation: 1+25=26 Exploring Operation: 1*25=25, Resulting Numbers: [8, 25] Generated Node #0,2,4: 33:[8, 25] Operation: 1*25=25 Moving to Node #0,2,0 Current State: 33:[1, 33], Operations: ['24-16=8', '25+8=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[1, 16, 25, 24], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [1, 25, 8] Generated Node #0,2: 33:[1, 25, 8] Operation: 24-16=8 Moving to Node #0,2 Current State: 33:[1, 25, 8], Operations: ['24-16=8'] Exploring Operation: 25+8=33, Resulting Numbers: [1, 33] Generated Node #0,2,0: 33:[1, 33] Operation: 25+8=33 Moving to Node #0,2,0 Current State: 33:[1, 33], Operations: ['24-16=8', '25+8=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 56, 55, 42, 32 ]
75
[ "56-55=1", "42+32=74", "1+74=75" ]
Current State: 75:[56, 55, 42, 32], Operations: [] Exploring Operation: 56-55=1, Resulting Numbers: [42, 32, 1] Generated Node #2: [42, 32, 1] from Operation: 56-55=1 Current State: 75:[42, 32, 1], Operations: ['56-55=1'] Exploring Operation: 42+32=74, Resulting Numbers: [1, 74] Generated Node #3: [1, 74] from Operation: 42+32=74 Current State: 75:[1, 74], Operations: ['56-55=1', '42+32=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[56, 55, 42, 32], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [55, 42, 24] Generated Node #0,0: 75:[55, 42, 24] Operation: 56-32=24 Exploring Operation: 56-55=1, Resulting Numbers: [42, 32, 1] Generated Node #0,1: 75:[42, 32, 1] Operation: 56-55=1 Exploring Operation: 55-42=13, Resulting Numbers: [56, 32, 13] Generated Node #0,2: 75:[56, 32, 13] Operation: 55-42=13 Exploring Operation: 56-42=14, Resulting Numbers: [55, 32, 14] Generated Node #0,3: 75:[55, 32, 14] Operation: 56-42=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[42, 32, 1], Operations: ['56-55=1'] Exploring Operation: 32-1=31, Resulting Numbers: [42, 31] Generated Node #0,1,0: 75:[42, 31] Operation: 32-1=31 Exploring Operation: 42-32=10, Resulting Numbers: [1, 10] Generated Node #0,1,1: 75:[1, 10] Operation: 42-32=10 Exploring Operation: 42-1=41, Resulting Numbers: [32, 41] Generated Node #0,1,2: 75:[32, 41] Operation: 42-1=41 Exploring Operation: 42+32=74, Resulting Numbers: [1, 74] Generated Node #0,1,3: 75:[1, 74] Operation: 42+32=74 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[1, 74], Operations: ['56-55=1', '42+32=74'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[56, 55, 42, 32], Operations: [] Exploring Operation: 56-55=1, Resulting Numbers: [42, 32, 1] Generated Node #0,1: 75:[42, 32, 1] Operation: 56-55=1 Moving to Node #0,1 Current State: 75:[42, 32, 1], Operations: ['56-55=1'] Exploring Operation: 42+32=74, Resulting Numbers: [1, 74] Generated Node #0,1,3: 75:[1, 74] Operation: 42+32=74 Moving to Node #0,1,3 Current State: 75:[1, 74], Operations: ['56-55=1', '42+32=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 60, 82, 47, 72 ]
97
[ "82-60=22", "47+72=119", "119-22=97" ]
Current State: 97:[60, 82, 47, 72], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [47, 72, 22] Generated Node #2: [47, 72, 22] from Operation: 82-60=22 Current State: 97:[47, 72, 22], Operations: ['82-60=22'] Exploring Operation: 47+72=119, Resulting Numbers: [22, 119] Generated Node #3: [22, 119] from Operation: 47+72=119 Current State: 97:[22, 119], Operations: ['82-60=22', '47+72=119'] Exploring Operation: 119-22=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[60, 82, 47, 72], Operations: [] Exploring Operation: 60+47=107, Resulting Numbers: [82, 72, 107] Generated Node #0,0: 97:[82, 72, 107] Operation: 60+47=107 Exploring Operation: 47+72=119, Resulting Numbers: [60, 82, 119] Generated Node #0,1: 97:[60, 82, 119] Operation: 47+72=119 Exploring Operation: 82+47=129, Resulting Numbers: [60, 72, 129] Generated Node #0,2: 97:[60, 72, 129] Operation: 82+47=129 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[82, 72, 107], Operations: ['60+47=107'] Exploring Operation: 107-72=35, Resulting Numbers: [82, 35] Generated Node #0,0,0: 97:[82, 35] Operation: 107-72=35 Exploring Operation: 82-72=10, Resulting Numbers: [107, 10] Generated Node #0,0,1: 97:[107, 10] Operation: 82-72=10 Exploring Operation: 82+72=154, Resulting Numbers: [107, 154] Generated Node #0,0,2: 97:[107, 154] Operation: 82+72=154 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[107, 154], Operations: ['60+47=107', '82+72=154'] Exploring Operation: 107+154=261, Resulting Numbers: [261] 261,97 unequal: No Solution Exploring Operation: 107*154=16478, Resulting Numbers: [16478] 16478,97 unequal: No Solution Exploring Operation: 154-107=47, Resulting Numbers: [47] 47,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,0 Current State: 97:[82, 35], Operations: ['60+47=107', '107-72=35'] Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,97 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,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:[107, 10], Operations: ['60+47=107', '82-72=10'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[60, 82, 47, 72], Operations: [] Exploring Operation: 60+47=107, Resulting Numbers: [82, 72, 107] Generated Node #0,0: 97:[82, 72, 107] Operation: 60+47=107 Moving to Node #0,0 Current State: 97:[82, 72, 107], Operations: ['60+47=107'] Exploring Operation: 82-72=10, Resulting Numbers: [107, 10] Generated Node #0,0,1: 97:[107, 10] Operation: 82-72=10 Moving to Node #0,0,1 Current State: 97:[107, 10], Operations: ['60+47=107', '82-72=10'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 76, 21, 14, 25 ]
20
[ "25-21=4", "14*4=56", "76-56=20" ]
Current State: 20:[76, 21, 14, 25], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [76, 14, 4] Generated Node #2: [76, 14, 4] from Operation: 25-21=4 Current State: 20:[76, 14, 4], Operations: ['25-21=4'] Exploring Operation: 14*4=56, Resulting Numbers: [76, 56] Generated Node #3: [76, 56] from Operation: 14*4=56 Current State: 20:[76, 56], Operations: ['25-21=4', '14*4=56'] Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[76, 21, 14, 25], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [76, 21, 11] Generated Node #0,0: 20:[76, 21, 11] Operation: 25-14=11 Exploring Operation: 25-21=4, Resulting Numbers: [76, 14, 4] Generated Node #0,1: 20:[76, 14, 4] Operation: 25-21=4 Exploring Operation: 76-14=62, Resulting Numbers: [21, 25, 62] Generated Node #0,2: 20:[21, 25, 62] Operation: 76-14=62 Exploring Operation: 76-25=51, Resulting Numbers: [21, 14, 51] Generated Node #0,3: 20:[21, 14, 51] Operation: 76-25=51 Exploring Operation: 76-21=55, Resulting Numbers: [14, 25, 55] Generated Node #0,4: 20:[14, 25, 55] Operation: 76-21=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[21, 14, 51], Operations: ['76-25=51'] Exploring Operation: 51-21=30, Resulting Numbers: [14, 30] Generated Node #0,3,0: 20:[14, 30] Operation: 51-21=30 Exploring Operation: 14+51=65, Resulting Numbers: [21, 65] Generated Node #0,3,1: 20:[21, 65] Operation: 14+51=65 Exploring Operation: 21+14=35, Resulting Numbers: [51, 35] Generated Node #0,3,2: 20:[51, 35] Operation: 21+14=35 Exploring Operation: 21-14=7, Resulting Numbers: [51, 7] Generated Node #0,3,3: 20:[51, 7] Operation: 21-14=7 Exploring Operation: 51-14=37, Resulting Numbers: [21, 37] Generated Node #0,3,4: 20:[21, 37] Operation: 51-14=37 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[14, 30], Operations: ['76-25=51', '51-21=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,20 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 20:[21, 37], Operations: ['76-25=51', '51-14=37'] Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[51, 7], Operations: ['76-25=51', '21-14=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[21, 65], Operations: ['76-25=51', '14+51=65'] Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 21+65=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 21*65=1365, Resulting Numbers: [1365] 1365,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[51, 35], Operations: ['76-25=51', '21+14=35'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,20 unequal: No Solution Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[14, 25, 55], Operations: ['76-21=55'] Exploring Operation: 55-25=30, Resulting Numbers: [14, 30] Generated Node #0,4,0: 20:[14, 30] Operation: 55-25=30 Exploring Operation: 14+25=39, Resulting Numbers: [55, 39] Generated Node #0,4,1: 20:[55, 39] Operation: 14+25=39 Exploring Operation: 25-14=11, Resulting Numbers: [55, 11] Generated Node #0,4,2: 20:[55, 11] Operation: 25-14=11 Exploring Operation: 55-14=41, Resulting Numbers: [25, 41] Generated Node #0,4,3: 20:[25, 41] Operation: 55-14=41 Exploring Operation: 14+55=69, Resulting Numbers: [25, 69] Generated Node #0,4,4: 20:[25, 69] Operation: 14+55=69 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[14, 30], Operations: ['76-21=55', '55-25=30'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,20 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 20:[25, 41], Operations: ['76-21=55', '55-14=41'] Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,20 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 20:[55, 11], Operations: ['76-21=55', '25-14=11'] Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,20 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 20:[55, 39], Operations: ['76-21=55', '14+25=39'] Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,20 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 20:[25, 69], Operations: ['76-21=55', '14+55=69'] Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,20 unequal: No Solution Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,20 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[21, 25, 62], Operations: ['76-14=62'] Exploring Operation: 25-21=4, Resulting Numbers: [62, 4] Generated Node #0,2,0: 20:[62, 4] Operation: 25-21=4 Exploring Operation: 62-21=41, Resulting Numbers: [25, 41] Generated Node #0,2,1: 20:[25, 41] Operation: 62-21=41 Exploring Operation: 62-25=37, Resulting Numbers: [21, 37] Generated Node #0,2,2: 20:[21, 37] Operation: 62-25=37 Exploring Operation: 21+62=83, Resulting Numbers: [25, 83] Generated Node #0,2,3: 20:[25, 83] Operation: 21+62=83 Exploring Operation: 21+25=46, Resulting Numbers: [62, 46] Generated Node #0,2,4: 20:[62, 46] Operation: 21+25=46 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[21, 37], Operations: ['76-14=62', '62-25=37'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,20 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[25, 41], Operations: ['76-14=62', '62-21=41'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,20 unequal: No Solution Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[62, 4], Operations: ['76-14=62', '25-21=4'] Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,20 unequal: No Solution Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 20:[25, 83], Operations: ['76-14=62', '21+62=83'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,20 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 20:[62, 46], Operations: ['76-14=62', '21+25=46'] Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[76, 21, 11], Operations: ['25-14=11'] Exploring Operation: 21-11=10, Resulting Numbers: [76, 10] Generated Node #0,0,0: 20:[76, 10] Operation: 21-11=10 Exploring Operation: 76-21=55, Resulting Numbers: [11, 55] Generated Node #0,0,1: 20:[11, 55] Operation: 76-21=55 Exploring Operation: 76+11=87, Resulting Numbers: [21, 87] Generated Node #0,0,2: 20:[21, 87] Operation: 76+11=87 Exploring Operation: 21+11=32, Resulting Numbers: [76, 32] Generated Node #0,0,3: 20:[76, 32] Operation: 21+11=32 Exploring Operation: 76-11=65, Resulting Numbers: [21, 65] Generated Node #0,0,4: 20:[21, 65] Operation: 76-11=65 Moving to Node #0,0,1 Current State: 20:[11, 55], Operations: ['25-14=11', '76-21=55'] Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,20 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[21, 65], Operations: ['25-14=11', '76-11=65'] Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 21+65=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 21*65=1365, Resulting Numbers: [1365] 1365,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[76, 10], Operations: ['25-14=11', '21-11=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,20 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[21, 87], Operations: ['25-14=11', '76+11=87'] Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 21*87=1827, Resulting Numbers: [1827] 1827,20 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[76, 32], Operations: ['25-14=11', '21+11=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[76, 14, 4], Operations: ['25-21=4'] Exploring Operation: 76-4=72, Resulting Numbers: [14, 72] Generated Node #0,1,0: 20:[14, 72] Operation: 76-4=72 Exploring Operation: 76-14=62, Resulting Numbers: [4, 62] Generated Node #0,1,1: 20:[4, 62] Operation: 76-14=62 Exploring Operation: 76/4=19, Resulting Numbers: [14, 19] Generated Node #0,1,2: 20:[14, 19] Operation: 76/4=19 Exploring Operation: 14+4=18, Resulting Numbers: [76, 18] Generated Node #0,1,3: 20:[76, 18] Operation: 14+4=18 Exploring Operation: 14-4=10, Resulting Numbers: [76, 10] Generated Node #0,1,4: 20:[76, 10] Operation: 14-4=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[14, 19], Operations: ['25-21=4', '76/4=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[4, 62], Operations: ['25-21=4', '76-14=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[14, 72], Operations: ['25-21=4', '76-4=72'] Exploring Operation: 14+72=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 14*72=1008, Resulting Numbers: [1008] 1008,20 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 20:[76, 10], Operations: ['25-21=4', '14-4=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 20:[76, 18], Operations: ['25-21=4', '14+4=18'] Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,20 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,20 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 76, 86, 6, 74 ]
47
[ "76+86=162", "162/6=27", "74-27=47" ]
Current State: 47:[76, 86, 6, 74], Operations: [] Exploring Operation: 76+86=162, Resulting Numbers: [6, 74, 162] Generated Node #2: [6, 74, 162] from Operation: 76+86=162 Current State: 47:[6, 74, 162], Operations: ['76+86=162'] Exploring Operation: 162/6=27, Resulting Numbers: [74, 27] Generated Node #3: [74, 27] from Operation: 162/6=27 Current State: 47:[74, 27], Operations: ['76+86=162', '162/6=27'] Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[76, 86, 6, 74], Operations: [] Exploring Operation: 74-6=68, Resulting Numbers: [76, 86, 68] Generated Node #0,0: 47:[76, 86, 68] Operation: 74-6=68 Exploring Operation: 76+6=82, Resulting Numbers: [86, 74, 82] Generated Node #0,1: 47:[86, 74, 82] Operation: 76+6=82 Exploring Operation: 86-6=80, Resulting Numbers: [76, 74, 80] Generated Node #0,2: 47:[76, 74, 80] Operation: 86-6=80 Exploring Operation: 76-6=70, Resulting Numbers: [86, 74, 70] Generated Node #0,3: 47:[86, 74, 70] Operation: 76-6=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[76, 86, 68], Operations: ['74-6=68'] Exploring Operation: 86-68=18, Resulting Numbers: [76, 18] Generated Node #0,0,0: 47:[76, 18] Operation: 86-68=18 Exploring Operation: 86-76=10, Resulting Numbers: [68, 10] Generated Node #0,0,1: 47:[68, 10] Operation: 86-76=10 Exploring Operation: 76-68=8, Resulting Numbers: [86, 8] Generated Node #0,0,2: 47:[86, 8] Operation: 76-68=8 Exploring Operation: 76+86=162, Resulting Numbers: [68, 162] Generated Node #0,0,3: 47:[68, 162] Operation: 76+86=162 Moving to Node #0,0,0 Current State: 47:[76, 18], Operations: ['74-6=68', '86-68=18'] Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,47 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[68, 10], Operations: ['74-6=68', '86-76=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,47 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[86, 8], Operations: ['74-6=68', '76-68=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,47 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[68, 162], Operations: ['74-6=68', '76+86=162'] Exploring Operation: 68+162=230, Resulting Numbers: [230] 230,47 unequal: No Solution Exploring Operation: 162-68=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 68*162=11016, Resulting Numbers: [11016] 11016,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[76, 74, 80], Operations: ['86-6=80'] Exploring Operation: 76+74=150, Resulting Numbers: [80, 150] Generated Node #0,2,0: 47:[80, 150] Operation: 76+74=150 Exploring Operation: 80-76=4, Resulting Numbers: [74, 4] Generated Node #0,2,1: 47:[74, 4] Operation: 80-76=4 Exploring Operation: 80-74=6, Resulting Numbers: [76, 6] Generated Node #0,2,2: 47:[76, 6] Operation: 80-74=6 Exploring Operation: 76-74=2, Resulting Numbers: [80, 2] Generated Node #0,2,3: 47:[80, 2] Operation: 76-74=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[74, 4], Operations: ['86-6=80', '80-76=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[76, 6], Operations: ['86-6=80', '80-74=6'] Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,47 unequal: No Solution Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[80, 2], Operations: ['86-6=80', '76-74=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,47 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[80, 150], Operations: ['86-6=80', '76+74=150'] Exploring Operation: 150-80=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 80+150=230, Resulting Numbers: [230] 230,47 unequal: No Solution Exploring Operation: 80*150=12000, Resulting Numbers: [12000] 12000,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[86, 74, 70], Operations: ['76-6=70'] Exploring Operation: 86-70=16, Resulting Numbers: [74, 16] Generated Node #0,3,0: 47:[74, 16] Operation: 86-70=16 Exploring Operation: 86-74=12, Resulting Numbers: [70, 12] Generated Node #0,3,1: 47:[70, 12] Operation: 86-74=12 Exploring Operation: 86+74=160, Resulting Numbers: [70, 160] Generated Node #0,3,2: 47:[70, 160] Operation: 86+74=160 Exploring Operation: 74-70=4, Resulting Numbers: [86, 4] Generated Node #0,3,3: 47:[86, 4] Operation: 74-70=4 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[74, 16], Operations: ['76-6=70', '86-70=16'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,47 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[70, 12], Operations: ['76-6=70', '86-74=12'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,47 unequal: No Solution Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,47 unequal: No Solution Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[86, 4], Operations: ['76-6=70', '74-70=4'] Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,47 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[70, 160], Operations: ['76-6=70', '86+74=160'] Exploring Operation: 160-70=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 70*160=11200, Resulting Numbers: [11200] 11200,47 unequal: No Solution Exploring Operation: 70+160=230, Resulting Numbers: [230] 230,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[86, 74, 82], Operations: ['76+6=82'] Exploring Operation: 86-74=12, Resulting Numbers: [82, 12] Generated Node #0,1,0: 47:[82, 12] Operation: 86-74=12 Exploring Operation: 86+74=160, Resulting Numbers: [82, 160] Generated Node #0,1,1: 47:[82, 160] Operation: 86+74=160 Exploring Operation: 82-74=8, Resulting Numbers: [86, 8] Generated Node #0,1,2: 47:[86, 8] Operation: 82-74=8 Exploring Operation: 86-82=4, Resulting Numbers: [74, 4] Generated Node #0,1,3: 47:[74, 4] Operation: 86-82=4 Moving to Node #0,1,0 Current State: 47:[82, 12], Operations: ['76+6=82', '86-74=12'] Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 82*12=984, Resulting Numbers: [984] 984,47 unequal: No Solution Exploring Operation: 82+12=94, Resulting Numbers: [94] 94,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[74, 4], Operations: ['76+6=82', '86-82=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,47 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[86, 8], Operations: ['76+6=82', '82-74=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,47 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[82, 160], Operations: ['76+6=82', '86+74=160'] Exploring Operation: 82*160=13120, Resulting Numbers: [13120] 13120,47 unequal: No Solution Exploring Operation: 160-82=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 82+160=242, Resulting Numbers: [242] 242,47 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
[ 28, 4, 86, 93 ]
67
[ "28*4=112", "86+93=179", "179-112=67" ]
Current State: 67:[28, 4, 86, 93], Operations: [] Exploring Operation: 28*4=112, Resulting Numbers: [86, 93, 112] Generated Node #2: [86, 93, 112] from Operation: 28*4=112 Current State: 67:[86, 93, 112], Operations: ['28*4=112'] Exploring Operation: 86+93=179, Resulting Numbers: [112, 179] Generated Node #3: [112, 179] from Operation: 86+93=179 Current State: 67:[112, 179], Operations: ['28*4=112', '86+93=179'] Exploring Operation: 179-112=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[28, 4, 86, 93], Operations: [] Exploring Operation: 86-4=82, Resulting Numbers: [28, 93, 82] Generated Node #0,0: 67:[28, 93, 82] Operation: 86-4=82 Exploring Operation: 93-4=89, Resulting Numbers: [28, 86, 89] Generated Node #0,1: 67:[28, 86, 89] Operation: 93-4=89 Exploring Operation: 28+4=32, Resulting Numbers: [86, 93, 32] Generated Node #0,2: 67:[86, 93, 32] Operation: 28+4=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[28, 93, 82], Operations: ['86-4=82'] Exploring Operation: 82-28=54, Resulting Numbers: [93, 54] Generated Node #0,0,0: 67:[93, 54] Operation: 82-28=54 Exploring Operation: 93-28=65, Resulting Numbers: [82, 65] Generated Node #0,0,1: 67:[82, 65] Operation: 93-28=65 Exploring Operation: 28+93=121, Resulting Numbers: [82, 121] Generated Node #0,0,2: 67:[82, 121] Operation: 28+93=121 Moving to Node #0,0,1 Current State: 67:[82, 65], Operations: ['86-4=82', '93-28=65'] Exploring Operation: 82*65=5330, Resulting Numbers: [5330] 5330,67 unequal: No Solution Exploring Operation: 82-65=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 82+65=147, Resulting Numbers: [147] 147,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[93, 54], Operations: ['86-4=82', '82-28=54'] Exploring Operation: 93+54=147, Resulting Numbers: [147] 147,67 unequal: No Solution Exploring Operation: 93*54=5022, Resulting Numbers: [5022] 5022,67 unequal: No Solution Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[82, 121], Operations: ['86-4=82', '28+93=121'] Exploring Operation: 82+121=203, Resulting Numbers: [203] 203,67 unequal: No Solution Exploring Operation: 82*121=9922, Resulting Numbers: [9922] 9922,67 unequal: No Solution Exploring Operation: 121-82=39, Resulting Numbers: [39] 39,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,1 Current State: 67:[28, 86, 89], Operations: ['93-4=89'] Exploring Operation: 28+86=114, Resulting Numbers: [89, 114] Generated Node #0,1,0: 67:[89, 114] Operation: 28+86=114 Exploring Operation: 89-28=61, Resulting Numbers: [86, 61] Generated Node #0,1,1: 67:[86, 61] Operation: 89-28=61 Exploring Operation: 86-28=58, Resulting Numbers: [89, 58] Generated Node #0,1,2: 67:[89, 58] Operation: 86-28=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[86, 61], Operations: ['93-4=89', '89-28=61'] Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,67 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 86*61=5246, Resulting Numbers: [5246] 5246,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[89, 58], Operations: ['93-4=89', '86-28=58'] Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,67 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 89*58=5162, Resulting Numbers: [5162] 5162,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[89, 114], Operations: ['93-4=89', '28+86=114'] Exploring Operation: 89*114=10146, Resulting Numbers: [10146] 10146,67 unequal: No Solution Exploring Operation: 89+114=203, Resulting Numbers: [203] 203,67 unequal: No Solution Exploring Operation: 114-89=25, Resulting Numbers: [25] 25,67 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: 67:[86, 93, 32], Operations: ['28+4=32'] Exploring Operation: 86-32=54, Resulting Numbers: [93, 54] Generated Node #0,2,0: 67:[93, 54] Operation: 86-32=54 Exploring Operation: 93-32=61, Resulting Numbers: [86, 61] Generated Node #0,2,1: 67:[86, 61] Operation: 93-32=61 Exploring Operation: 86+32=118, Resulting Numbers: [93, 118] Generated Node #0,2,2: 67:[93, 118] Operation: 86+32=118 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[86, 61], Operations: ['28+4=32', '93-32=61'] Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,67 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 86*61=5246, Resulting Numbers: [5246] 5246,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[93, 54], Operations: ['28+4=32', '86-32=54'] Exploring Operation: 93*54=5022, Resulting Numbers: [5022] 5022,67 unequal: No Solution Exploring Operation: 93+54=147, Resulting Numbers: [147] 147,67 unequal: No Solution Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[93, 118], Operations: ['28+4=32', '86+32=118'] Exploring Operation: 118-93=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 93*118=10974, Resulting Numbers: [10974] 10974,67 unequal: No Solution Exploring Operation: 93+118=211, Resulting Numbers: [211] 211,67 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
[ 87, 52, 85, 83 ]
70
[ "87-52=35", "85-83=2", "35*2=70" ]
Current State: 70:[87, 52, 85, 83], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [85, 83, 35] Generated Node #2: [85, 83, 35] from Operation: 87-52=35 Current State: 70:[85, 83, 35], Operations: ['87-52=35'] Exploring Operation: 85-83=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 85-83=2 Current State: 70:[35, 2], Operations: ['87-52=35', '85-83=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[87, 52, 85, 83], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [85, 83, 35] Generated Node #0,0: 70:[85, 83, 35] Operation: 87-52=35 Exploring Operation: 85-52=33, Resulting Numbers: [87, 83, 33] Generated Node #0,1: 70:[87, 83, 33] Operation: 85-52=33 Exploring Operation: 87-83=4, Resulting Numbers: [52, 85, 4] Generated Node #0,2: 70:[52, 85, 4] Operation: 87-83=4 Exploring Operation: 87-85=2, Resulting Numbers: [52, 83, 2] Generated Node #0,3: 70:[52, 83, 2] Operation: 87-85=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[85, 83, 35], Operations: ['87-52=35'] Exploring Operation: 83-35=48, Resulting Numbers: [85, 48] Generated Node #0,0,0: 70:[85, 48] Operation: 83-35=48 Exploring Operation: 85+35=120, Resulting Numbers: [83, 120] Generated Node #0,0,1: 70:[83, 120] Operation: 85+35=120 Exploring Operation: 85-83=2, Resulting Numbers: [35, 2] Generated Node #0,0,2: 70:[35, 2] Operation: 85-83=2 Exploring Operation: 85-35=50, Resulting Numbers: [83, 50] Generated Node #0,0,3: 70:[83, 50] Operation: 85-35=50 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[35, 2], Operations: ['87-52=35', '85-83=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[87, 52, 85, 83], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [85, 83, 35] Generated Node #0,0: 70:[85, 83, 35] Operation: 87-52=35 Moving to Node #0,0 Current State: 70:[85, 83, 35], Operations: ['87-52=35'] Exploring Operation: 85-83=2, Resulting Numbers: [35, 2] Generated Node #0,0,2: 70:[35, 2] Operation: 85-83=2 Moving to Node #0,0,2 Current State: 70:[35, 2], Operations: ['87-52=35', '85-83=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 57, 48, 24, 61 ]
28
[ "57-48=9", "61-24=37", "37-9=28" ]
Current State: 28:[57, 48, 24, 61], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [24, 61, 9] Generated Node #2: [24, 61, 9] from Operation: 57-48=9 Current State: 28:[24, 61, 9], Operations: ['57-48=9'] Exploring Operation: 61-24=37, Resulting Numbers: [9, 37] Generated Node #3: [9, 37] from Operation: 61-24=37 Current State: 28:[9, 37], Operations: ['57-48=9', '61-24=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[57, 48, 24, 61], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [48, 24, 4] Generated Node #0,0: 28:[48, 24, 4] Operation: 61-57=4 Exploring Operation: 57-48=9, Resulting Numbers: [24, 61, 9] Generated Node #0,1: 28:[24, 61, 9] Operation: 57-48=9 Exploring Operation: 61-48=13, Resulting Numbers: [57, 24, 13] Generated Node #0,2: 28:[57, 24, 13] Operation: 61-48=13 Moving to Node #0,0 Current State: 28:[48, 24, 4], Operations: ['61-57=4'] Exploring Operation: 48/4=12, Resulting Numbers: [24, 12] Generated Node #0,0,0: 28:[24, 12] Operation: 48/4=12 Exploring Operation: 48-24=24, Resulting Numbers: [4, 24] Generated Node #0,0,1: 28:[4, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [4, 2] Generated Node #0,0,2: 28:[4, 2] Operation: 48/24=2 Moving to Node #0,2 Current State: 28:[57, 24, 13], Operations: ['61-48=13'] Exploring Operation: 57-24=33, Resulting Numbers: [13, 33] Generated Node #0,2,0: 28:[13, 33] Operation: 57-24=33 Exploring Operation: 24-13=11, Resulting Numbers: [57, 11] Generated Node #0,2,1: 28:[57, 11] Operation: 24-13=11 Exploring Operation: 57-13=44, Resulting Numbers: [24, 44] Generated Node #0,2,2: 28:[24, 44] Operation: 57-13=44 Moving to Node #0,1 Current State: 28:[24, 61, 9], Operations: ['57-48=9'] Exploring Operation: 24-9=15, Resulting Numbers: [61, 15] Generated Node #0,1,0: 28:[61, 15] Operation: 24-9=15 Exploring Operation: 61-24=37, Resulting Numbers: [9, 37] Generated Node #0,1,1: 28:[9, 37] Operation: 61-24=37 Exploring Operation: 61-9=52, Resulting Numbers: [24, 52] Generated Node #0,1,2: 28:[24, 52] Operation: 61-9=52 Moving to Node #0,0,2 Current State: 28:[4, 2], Operations: ['61-57=4', '48/24=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[4, 24], Operations: ['61-57=4', '48-24=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[57, 48, 24, 61], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [48, 24, 4] Generated Node #0,0: 28:[48, 24, 4] Operation: 61-57=4 Moving to Node #0,0 Current State: 28:[48, 24, 4], Operations: ['61-57=4'] Exploring Operation: 48-24=24, Resulting Numbers: [4, 24] Generated Node #0,0,1: 28:[4, 24] Operation: 48-24=24 Moving to Node #0,0,1 Current State: 28:[4, 24], Operations: ['61-57=4', '48-24=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.982639
hs_3
sum_heuristic
[ 14, 17, 67, 40 ]
76
[ "14+17=31", "67+40=107", "107-31=76" ]
Current State: 76:[14, 17, 67, 40], Operations: [] Exploring Operation: 14+17=31, Resulting Numbers: [67, 40, 31] Generated Node #2: [67, 40, 31] from Operation: 14+17=31 Current State: 76:[67, 40, 31], Operations: ['14+17=31'] Exploring Operation: 67+40=107, Resulting Numbers: [31, 107] Generated Node #3: [31, 107] from Operation: 67+40=107 Current State: 76:[31, 107], Operations: ['14+17=31', '67+40=107'] Exploring Operation: 107-31=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[14, 17, 67, 40], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [67, 40, 3] Generated Node #0,0: 76:[67, 40, 3] Operation: 17-14=3 Exploring Operation: 67-40=27, Resulting Numbers: [14, 17, 27] Generated Node #0,1: 76:[14, 17, 27] Operation: 67-40=27 Exploring Operation: 17+67=84, Resulting Numbers: [14, 40, 84] Generated Node #0,2: 76:[14, 40, 84] Operation: 17+67=84 Exploring Operation: 14+67=81, Resulting Numbers: [17, 40, 81] Generated Node #0,3: 76:[17, 40, 81] Operation: 14+67=81 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[17, 40, 81], Operations: ['14+67=81'] Exploring Operation: 81-17=64, Resulting Numbers: [40, 64] Generated Node #0,3,0: 76:[40, 64] Operation: 81-17=64 Exploring Operation: 81-40=41, Resulting Numbers: [17, 41] Generated Node #0,3,1: 76:[17, 41] Operation: 81-40=41 Exploring Operation: 17+40=57, Resulting Numbers: [81, 57] Generated Node #0,3,2: 76:[81, 57] Operation: 17+40=57 Exploring Operation: 40-17=23, Resulting Numbers: [81, 23] Generated Node #0,3,3: 76:[81, 23] Operation: 40-17=23 Moving to Node #0,3,1 Current State: 76:[17, 41], Operations: ['14+67=81', '81-40=41'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[81, 23], Operations: ['14+67=81', '40-17=23'] Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,76 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[40, 64], Operations: ['14+67=81', '81-17=64'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 40*64=2560, Resulting Numbers: [2560] 2560,76 unequal: No Solution Exploring Operation: 40+64=104, Resulting Numbers: [104] 104,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[81, 57], Operations: ['14+67=81', '17+40=57'] Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 81*57=4617, Resulting Numbers: [4617] 4617,76 unequal: No Solution Exploring Operation: 81+57=138, Resulting Numbers: [138] 138,76 unequal: No Solution No 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: 76:[67, 40, 3], Operations: ['17-14=3'] Exploring Operation: 67-40=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 76:[3, 27] Operation: 67-40=27 Exploring Operation: 67+3=70, Resulting Numbers: [40, 70] Generated Node #0,0,1: 76:[40, 70] Operation: 67+3=70 Exploring Operation: 40-3=37, Resulting Numbers: [67, 37] Generated Node #0,0,2: 76:[67, 37] Operation: 40-3=37 Exploring Operation: 67-3=64, Resulting Numbers: [40, 64] Generated Node #0,0,3: 76:[40, 64] Operation: 67-3=64 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[40, 70], Operations: ['17-14=3', '67+3=70'] Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,76 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[3, 27], Operations: ['17-14=3', '67-40=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[67, 37], Operations: ['17-14=3', '40-3=37'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,76 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 76:[40, 64], Operations: ['17-14=3', '67-3=64'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 40*64=2560, Resulting Numbers: [2560] 2560,76 unequal: No Solution Exploring Operation: 40+64=104, Resulting Numbers: [104] 104,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[14, 17, 27], Operations: ['67-40=27'] Exploring Operation: 17+27=44, Resulting Numbers: [14, 44] Generated Node #0,1,0: 76:[14, 44] Operation: 17+27=44 Exploring Operation: 14+27=41, Resulting Numbers: [17, 41] Generated Node #0,1,1: 76:[17, 41] Operation: 14+27=41 Exploring Operation: 27-14=13, Resulting Numbers: [17, 13] Generated Node #0,1,2: 76:[17, 13] Operation: 27-14=13 Exploring Operation: 17-14=3, Resulting Numbers: [27, 3] Generated Node #0,1,3: 76:[27, 3] Operation: 17-14=3 Moving to Node #0,1,1 Current State: 76:[17, 41], Operations: ['67-40=27', '14+27=41'] Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,76 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[17, 13], Operations: ['67-40=27', '27-14=13'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[27, 3], Operations: ['67-40=27', '17-14=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[14, 44], Operations: ['67-40=27', '17+27=44'] Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,76 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[14, 40, 84], Operations: ['17+67=84'] Exploring Operation: 40-14=26, Resulting Numbers: [84, 26] Generated Node #0,2,0: 76:[84, 26] Operation: 40-14=26 Exploring Operation: 84-14=70, Resulting Numbers: [40, 70] Generated Node #0,2,1: 76:[40, 70] Operation: 84-14=70 Exploring Operation: 84/14=6, Resulting Numbers: [40, 6] Generated Node #0,2,2: 76:[40, 6] Operation: 84/14=6 Exploring Operation: 84-40=44, Resulting Numbers: [14, 44] Generated Node #0,2,3: 76:[14, 44] Operation: 84-40=44 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[40, 6], Operations: ['17+67=84', '84/14=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,76 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[40, 70], Operations: ['17+67=84', '84-14=70'] Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,76 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[14, 44], Operations: ['17+67=84', '84-40=44'] Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,76 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[84, 26], Operations: ['17+67=84', '40-14=26'] Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,76 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 49, 7, 79, 4 ]
51
[ "49/7=7", "4*7=28", "79-28=51" ]
Current State: 51:[49, 7, 79, 4], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [79, 4, 7] Generated Node #2: [79, 4, 7] from Operation: 49/7=7 Current State: 51:[79, 4, 7], Operations: ['49/7=7'] Exploring Operation: 4*7=28, Resulting Numbers: [79, 28] Generated Node #3: [79, 28] from Operation: 4*7=28 Current State: 51:[79, 28], Operations: ['49/7=7', '4*7=28'] Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[49, 7, 79, 4], Operations: [] Exploring Operation: 79-7=72, Resulting Numbers: [49, 4, 72] Generated Node #0,0: 51:[49, 4, 72] Operation: 79-7=72 Exploring Operation: 79-49=30, Resulting Numbers: [7, 4, 30] Generated Node #0,1: 51:[7, 4, 30] Operation: 79-49=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[7, 4, 30], Operations: ['79-49=30'] Exploring Operation: 7-4=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 51:[30, 3] Operation: 7-4=3 Exploring Operation: 30-7=23, Resulting Numbers: [4, 23] Generated Node #0,1,1: 51:[4, 23] Operation: 30-7=23 Moving to Node #0,1,1 Current State: 51:[4, 23], Operations: ['79-49=30', '30-7=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[30, 3], Operations: ['79-49=30', '7-4=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,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,0 Current State: 51:[49, 4, 72], Operations: ['79-7=72'] Exploring Operation: 72-49=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 51:[4, 23] Operation: 72-49=23 Exploring Operation: 72/4=18, Resulting Numbers: [49, 18] Generated Node #0,0,1: 51:[49, 18] Operation: 72/4=18 Moving to Node #0,0,1 Current State: 51:[49, 18], Operations: ['79-7=72', '72/4=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[4, 23], Operations: ['79-7=72', '72-49=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,51 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
[ 45, 24, 97, 24 ]
52
[ "45+24=69", "97+24=121", "121-69=52" ]
Current State: 52:[45, 24, 97, 24], Operations: [] Exploring Operation: 45+24=69, Resulting Numbers: [97, 69] Generated Node #2: [97, 69] from Operation: 45+24=69 Current State: 52:[97, 69], Operations: ['45+24=69'] Exploring Operation: 97+24=121, Resulting Numbers: [69, 121] Generated Node #3: [69, 121] from Operation: 97+24=121 Current State: 52:[69, 121], Operations: ['45+24=69', '97+24=121'] Exploring Operation: 121-69=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[45, 24, 97, 24], Operations: [] Exploring Operation: 97-24=73, Resulting Numbers: [45, 24, 73] Generated Node #0,0: 52:[45, 24, 73] Operation: 97-24=73 Exploring Operation: 97-24=73, Resulting Numbers: [45, 24, 73] Generated Node #0,1: 52:[45, 24, 73] Operation: 97-24=73 Exploring Operation: 97-45=52, Resulting Numbers: [24, 24, 52] Generated Node #0,2: 52:[24, 24, 52] Operation: 97-45=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[24, 24, 52], Operations: ['97-45=52'] Exploring Operation: 24+24=48, Resulting Numbers: [52, 48] Generated Node #0,2,0: 52:[52, 48] Operation: 24+24=48 Exploring Operation: 24-24=0, Resulting Numbers: [52, 0] Generated Node #0,2,1: 52:[52, 0] Operation: 24-24=0 Exploring Operation: 24/24=1, Resulting Numbers: [52, 1] Generated Node #0,2,2: 52:[52, 1] Operation: 24/24=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[52, 1], Operations: ['97-45=52', '24/24=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[45, 24, 97, 24], Operations: [] Exploring Operation: 97-45=52, Resulting Numbers: [24, 24, 52] Generated Node #0,2: 52:[24, 24, 52] Operation: 97-45=52 Moving to Node #0,2 Current State: 52:[24, 24, 52], Operations: ['97-45=52'] Exploring Operation: 24/24=1, Resulting Numbers: [52, 1] Generated Node #0,2,2: 52:[52, 1] Operation: 24/24=1 Moving to Node #0,2,2 Current State: 52:[52, 1], Operations: ['97-45=52', '24/24=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 29, 56, 58, 12 ]
70
[ "58/29=2", "56+12=68", "2+68=70" ]
Current State: 70:[29, 56, 58, 12], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [56, 12, 2] Generated Node #2: [56, 12, 2] from Operation: 58/29=2 Current State: 70:[56, 12, 2], Operations: ['58/29=2'] Exploring Operation: 56+12=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 56+12=68 Current State: 70:[2, 68], Operations: ['58/29=2', '56+12=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[29, 56, 58, 12], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [56, 12, 2] Generated Node #0,0: 70:[56, 12, 2] Operation: 58/29=2 Exploring Operation: 58-56=2, Resulting Numbers: [29, 12, 2] Generated Node #0,1: 70:[29, 12, 2] Operation: 58-56=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[29, 12, 2], Operations: ['58-56=2'] Exploring Operation: 29+12=41, Resulting Numbers: [2, 41] Generated Node #0,1,0: 70:[2, 41] Operation: 29+12=41 Exploring Operation: 29-12=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 70:[2, 17] Operation: 29-12=17 Moving to Node #0,1,1 Current State: 70:[2, 17], Operations: ['58-56=2', '29-12=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[2, 41], Operations: ['58-56=2', '29+12=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[56, 12, 2], Operations: ['58/29=2'] Exploring Operation: 56-12=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 70:[2, 44] Operation: 56-12=44 Exploring Operation: 56+12=68, Resulting Numbers: [2, 68] Generated Node #0,0,1: 70:[2, 68] Operation: 56+12=68 Moving to Node #0,0,1 Current State: 70:[2, 68], Operations: ['58/29=2', '56+12=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[29, 56, 58, 12], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [56, 12, 2] Generated Node #0,0: 70:[56, 12, 2] Operation: 58/29=2 Moving to Node #0,0 Current State: 70:[56, 12, 2], Operations: ['58/29=2'] Exploring Operation: 56+12=68, Resulting Numbers: [2, 68] Generated Node #0,0,1: 70:[2, 68] Operation: 56+12=68 Moving to Node #0,0,1 Current State: 70:[2, 68], Operations: ['58/29=2', '56+12=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 87, 13, 31, 29 ]
98
[ "87+13=100", "31-29=2", "100-2=98" ]
Current State: 98:[87, 13, 31, 29], Operations: [] Exploring Operation: 87+13=100, Resulting Numbers: [31, 29, 100] Generated Node #2: [31, 29, 100] from Operation: 87+13=100 Current State: 98:[31, 29, 100], Operations: ['87+13=100'] Exploring Operation: 31-29=2, Resulting Numbers: [100, 2] Generated Node #3: [100, 2] from Operation: 31-29=2 Current State: 98:[100, 2], Operations: ['87+13=100', '31-29=2'] Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[87, 13, 31, 29], Operations: [] Exploring Operation: 87-31=56, Resulting Numbers: [13, 29, 56] Generated Node #0,0: 98:[13, 29, 56] Operation: 87-31=56 Exploring Operation: 87/29=3, Resulting Numbers: [13, 31, 3] Generated Node #0,1: 98:[13, 31, 3] Operation: 87/29=3 Exploring Operation: 31-29=2, Resulting Numbers: [87, 13, 2] Generated Node #0,2: 98:[87, 13, 2] Operation: 31-29=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[87, 13, 2], Operations: ['31-29=2'] Exploring Operation: 13+2=15, Resulting Numbers: [87, 15] Generated Node #0,2,0: 98:[87, 15] Operation: 13+2=15 Exploring Operation: 87+2=89, Resulting Numbers: [13, 89] Generated Node #0,2,1: 98:[13, 89] Operation: 87+2=89 Exploring Operation: 87+13=100, Resulting Numbers: [2, 100] Generated Node #0,2,2: 98:[2, 100] Operation: 87+13=100 Moving to Node #0,2,2 Current State: 98:[2, 100], Operations: ['31-29=2', '87+13=100'] Exploring Operation: 100/2=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 2+100=102, Resulting Numbers: [102] 102,98 unequal: No Solution Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[87, 13, 31, 29], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [87, 13, 2] Generated Node #0,2: 98:[87, 13, 2] Operation: 31-29=2 Moving to Node #0,2 Current State: 98:[87, 13, 2], Operations: ['31-29=2'] Exploring Operation: 87+13=100, Resulting Numbers: [2, 100] Generated Node #0,2,2: 98:[2, 100] Operation: 87+13=100 Moving to Node #0,2,2 Current State: 98:[2, 100], Operations: ['31-29=2', '87+13=100'] Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 12, 79, 76, 11 ]
99
[ "79-12=67", "76-67=9", "11*9=99" ]
Current State: 99:[12, 79, 76, 11], Operations: [] Exploring Operation: 79-12=67, Resulting Numbers: [76, 11, 67] Generated Node #2: [76, 11, 67] from Operation: 79-12=67 Current State: 99:[76, 11, 67], Operations: ['79-12=67'] Exploring Operation: 76-67=9, Resulting Numbers: [11, 9] Generated Node #3: [11, 9] from Operation: 76-67=9 Current State: 99:[11, 9], Operations: ['79-12=67', '76-67=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[12, 79, 76, 11], Operations: [] Exploring Operation: 12+76=88, Resulting Numbers: [79, 11, 88] Generated Node #0,0: 99:[79, 11, 88] Operation: 12+76=88 Exploring Operation: 79+11=90, Resulting Numbers: [12, 76, 90] Generated Node #0,1: 99:[12, 76, 90] Operation: 79+11=90 Exploring Operation: 12+79=91, Resulting Numbers: [76, 11, 91] Generated Node #0,2: 99:[76, 11, 91] Operation: 12+79=91 Exploring Operation: 79-76=3, Resulting Numbers: [12, 11, 3] Generated Node #0,3: 99:[12, 11, 3] Operation: 79-76=3 Exploring Operation: 76+11=87, Resulting Numbers: [12, 79, 87] Generated Node #0,4: 99:[12, 79, 87] Operation: 76+11=87 Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[12, 11, 3], Operations: ['79-76=3'] Exploring Operation: 12-3=9, Resulting Numbers: [11, 9] Generated Node #0,3,0: 99:[11, 9] Operation: 12-3=9 Exploring Operation: 11-3=8, Resulting Numbers: [12, 8] Generated Node #0,3,1: 99:[12, 8] Operation: 11-3=8 Exploring Operation: 12-11=1, Resulting Numbers: [3, 1] Generated Node #0,3,2: 99:[3, 1] Operation: 12-11=1 Exploring Operation: 11*3=33, Resulting Numbers: [12, 33] Generated Node #0,3,3: 99:[12, 33] Operation: 11*3=33 Exploring Operation: 12/3=4, Resulting Numbers: [11, 4] Generated Node #0,3,4: 99:[11, 4] Operation: 12/3=4 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[11, 9], Operations: ['79-76=3', '12-3=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[12, 79, 76, 11], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [12, 11, 3] Generated Node #0,3: 99:[12, 11, 3] Operation: 79-76=3 Moving to Node #0,3 Current State: 99:[12, 11, 3], Operations: ['79-76=3'] Exploring Operation: 12-3=9, Resulting Numbers: [11, 9] Generated Node #0,3,0: 99:[11, 9] Operation: 12-3=9 Moving to Node #0,3,0 Current State: 99:[11, 9], Operations: ['79-76=3', '12-3=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 52, 84, 59, 99 ]
36
[ "52*99=5148", "84+59=143", "5148/143=36" ]
Current State: 36:[52, 84, 59, 99], Operations: [] Exploring Operation: 52*99=5148, Resulting Numbers: [84, 59, 5148] Generated Node #2: [84, 59, 5148] from Operation: 52*99=5148 Current State: 36:[84, 59, 5148], Operations: ['52*99=5148'] Exploring Operation: 84+59=143, Resulting Numbers: [5148, 143] Generated Node #3: [5148, 143] from Operation: 84+59=143 Current State: 36:[5148, 143], Operations: ['52*99=5148', '84+59=143'] Exploring Operation: 5148/143=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[52, 84, 59, 99], Operations: [] Exploring Operation: 84-52=32, Resulting Numbers: [59, 99, 32] Generated Node #0,0: 36:[59, 99, 32] Operation: 84-52=32 Exploring Operation: 99-84=15, Resulting Numbers: [52, 59, 15] Generated Node #0,1: 36:[52, 59, 15] Operation: 99-84=15 Exploring Operation: 99-52=47, Resulting Numbers: [84, 59, 47] Generated Node #0,2: 36:[84, 59, 47] Operation: 99-52=47 Exploring Operation: 99-59=40, Resulting Numbers: [52, 84, 40] Generated Node #0,3: 36:[52, 84, 40] Operation: 99-59=40 Exploring Operation: 84-59=25, Resulting Numbers: [52, 99, 25] Generated Node #0,4: 36:[52, 99, 25] Operation: 84-59=25 Moving to Node #0,1 Current State: 36:[52, 59, 15], Operations: ['99-84=15'] Exploring Operation: 59-15=44, Resulting Numbers: [52, 44] Generated Node #0,1,0: 36:[52, 44] Operation: 59-15=44 Exploring Operation: 52+15=67, Resulting Numbers: [59, 67] Generated Node #0,1,1: 36:[59, 67] Operation: 52+15=67 Exploring Operation: 59+15=74, Resulting Numbers: [52, 74] Generated Node #0,1,2: 36:[52, 74] Operation: 59+15=74 Exploring Operation: 52-15=37, Resulting Numbers: [59, 37] Generated Node #0,1,3: 36:[59, 37] Operation: 52-15=37 Exploring Operation: 59-52=7, Resulting Numbers: [15, 7] Generated Node #0,1,4: 36:[15, 7] Operation: 59-52=7 Moving to Node #0,3 Current State: 36:[52, 84, 40], Operations: ['99-59=40'] Exploring Operation: 84-52=32, Resulting Numbers: [40, 32] Generated Node #0,3,0: 36:[40, 32] Operation: 84-52=32 Exploring Operation: 52+84=136, Resulting Numbers: [40, 136] Generated Node #0,3,1: 36:[40, 136] Operation: 52+84=136 Exploring Operation: 52-40=12, Resulting Numbers: [84, 12] Generated Node #0,3,2: 36:[84, 12] Operation: 52-40=12 Exploring Operation: 52+40=92, Resulting Numbers: [84, 92] Generated Node #0,3,3: 36:[84, 92] Operation: 52+40=92 Exploring Operation: 84-40=44, Resulting Numbers: [52, 44] Generated Node #0,3,4: 36:[52, 44] Operation: 84-40=44 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[40, 32], Operations: ['99-59=40', '84-52=32'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,36 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,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,4 Current State: 36:[52, 44], Operations: ['99-59=40', '84-40=44'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,36 unequal: No Solution Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,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,2 Current State: 36:[84, 12], Operations: ['99-59=40', '52-40=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,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,1 Current State: 36:[40, 136], Operations: ['99-59=40', '52+84=136'] Exploring Operation: 136-40=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 40*136=5440, Resulting Numbers: [5440] 5440,36 unequal: No Solution Exploring Operation: 40+136=176, Resulting Numbers: [176] 176,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,3 Current State: 36:[84, 92], Operations: ['99-59=40', '52+40=92'] Exploring Operation: 84+92=176, Resulting Numbers: [176] 176,36 unequal: No Solution Exploring Operation: 84*92=7728, Resulting Numbers: [7728] 7728,36 unequal: No Solution Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,36 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: 36:[84, 59, 47], Operations: ['99-52=47'] Exploring Operation: 84-59=25, Resulting Numbers: [47, 25] Generated Node #0,2,0: 36:[47, 25] Operation: 84-59=25 Exploring Operation: 84-47=37, Resulting Numbers: [59, 37] Generated Node #0,2,1: 36:[59, 37] Operation: 84-47=37 Exploring Operation: 84+59=143, Resulting Numbers: [47, 143] Generated Node #0,2,2: 36:[47, 143] Operation: 84+59=143 Exploring Operation: 59-47=12, Resulting Numbers: [84, 12] Generated Node #0,2,3: 36:[84, 12] Operation: 59-47=12 Exploring Operation: 84+47=131, Resulting Numbers: [59, 131] Generated Node #0,2,4: 36:[59, 131] Operation: 84+47=131 Moving to Node #0,4 Current State: 36:[52, 99, 25], Operations: ['84-59=25'] Exploring Operation: 99-52=47, Resulting Numbers: [25, 47] Generated Node #0,4,0: 36:[25, 47] Operation: 99-52=47 Exploring Operation: 52-25=27, Resulting Numbers: [99, 27] Generated Node #0,4,1: 36:[99, 27] Operation: 52-25=27 Exploring Operation: 99+25=124, Resulting Numbers: [52, 124] Generated Node #0,4,2: 36:[52, 124] Operation: 99+25=124 Exploring Operation: 52+25=77, Resulting Numbers: [99, 77] Generated Node #0,4,3: 36:[99, 77] Operation: 52+25=77 Exploring Operation: 99-25=74, Resulting Numbers: [52, 74] Generated Node #0,4,4: 36:[52, 74] Operation: 99-25=74 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 36:[25, 47], Operations: ['84-59=25', '99-52=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,36 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,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,4,4 Current State: 36:[52, 74], Operations: ['84-59=25', '99-25=74'] Exploring Operation: 52+74=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 52*74=3848, Resulting Numbers: [3848] 3848,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,4,1 Current State: 36:[99, 27], Operations: ['84-59=25', '52-25=27'] Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,36 unequal: No Solution Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,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,4,2 Current State: 36:[52, 124], Operations: ['84-59=25', '99+25=124'] Exploring Operation: 52+124=176, Resulting Numbers: [176] 176,36 unequal: No Solution Exploring Operation: 124-52=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 52*124=6448, Resulting Numbers: [6448] 6448,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,4,3 Current State: 36:[99, 77], Operations: ['84-59=25', '52+25=77'] Exploring Operation: 99+77=176, Resulting Numbers: [176] 176,36 unequal: No Solution Exploring Operation: 99-77=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 99*77=7623, Resulting Numbers: [7623] 7623,36 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: 36:[59, 99, 32], Operations: ['84-52=32'] Exploring Operation: 99+32=131, Resulting Numbers: [59, 131] Generated Node #0,0,0: 36:[59, 131] Operation: 99+32=131 Exploring Operation: 59+32=91, Resulting Numbers: [99, 91] Generated Node #0,0,1: 36:[99, 91] Operation: 59+32=91 Exploring Operation: 99-32=67, Resulting Numbers: [59, 67] Generated Node #0,0,2: 36:[59, 67] Operation: 99-32=67 Exploring Operation: 59-32=27, Resulting Numbers: [99, 27] Generated Node #0,0,3: 36:[99, 27] Operation: 59-32=27 Exploring Operation: 99-59=40, Resulting Numbers: [32, 40] Generated Node #0,0,4: 36:[32, 40] Operation: 99-59=40 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 36:[32, 40], Operations: ['84-52=32', '99-59=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,36 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,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,0,2 Current State: 36:[59, 67], Operations: ['84-52=32', '99-32=67'] Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 59+67=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 59*67=3953, Resulting Numbers: [3953] 3953,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,0,3 Current State: 36:[99, 27], Operations: ['84-52=32', '59-32=27'] Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,36 unequal: No Solution Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,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,0,0 Current State: 36:[59, 131], Operations: ['84-52=32', '99+32=131'] Exploring Operation: 59*131=7729, Resulting Numbers: [7729] 7729,36 unequal: No Solution Exploring Operation: 131-59=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 59+131=190, Resulting Numbers: [190] 190,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,0,1 Current State: 36:[99, 91], Operations: ['84-52=32', '59+32=91'] Exploring Operation: 99*91=9009, Resulting Numbers: [9009] 9009,36 unequal: No Solution Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 99+91=190, Resulting Numbers: [190] 190,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 36:[15, 7], Operations: ['99-84=15', '59-52=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[47, 25], Operations: ['99-52=47', '84-59=25'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,36 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[59, 37], Operations: ['99-52=47', '84-47=37'] Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,36 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[59, 37], Operations: ['99-84=15', '52-15=37'] Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[52, 44], Operations: ['99-84=15', '59-15=44'] Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,36 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[84, 12], Operations: ['99-52=47', '59-47=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[59, 67], Operations: ['99-84=15', '52+15=67'] Exploring Operation: 59+67=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 59*67=3953, Resulting Numbers: [3953] 3953,36 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[52, 74], Operations: ['99-84=15', '59+15=74'] Exploring Operation: 52+74=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 52*74=3848, Resulting Numbers: [3848] 3848,36 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[59, 131], Operations: ['99-52=47', '84+47=131'] Exploring Operation: 131-59=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 59*131=7729, Resulting Numbers: [7729] 7729,36 unequal: No Solution Exploring Operation: 59+131=190, Resulting Numbers: [190] 190,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[47, 143], Operations: ['99-52=47', '84+59=143'] Exploring Operation: 47*143=6721, Resulting Numbers: [6721] 6721,36 unequal: No Solution Exploring Operation: 143-47=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 47+143=190, Resulting Numbers: [190] 190,36 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 37, 8, 36, 20 ]
28
[ "37-36=1", "8+20=28", "1*28=28" ]
Current State: 28:[37, 8, 36, 20], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [8, 20, 1] Generated Node #2: [8, 20, 1] from Operation: 37-36=1 Current State: 28:[8, 20, 1], Operations: ['37-36=1'] Exploring Operation: 8+20=28, Resulting Numbers: [1, 28] Generated Node #3: [1, 28] from Operation: 8+20=28 Current State: 28:[1, 28], Operations: ['37-36=1', '8+20=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[37, 8, 36, 20], Operations: [] Exploring Operation: 36-8=28, Resulting Numbers: [37, 20, 28] Generated Node #0,0: 28:[37, 20, 28] Operation: 36-8=28 Exploring Operation: 37-20=17, Resulting Numbers: [8, 36, 17] Generated Node #0,1: 28:[8, 36, 17] Operation: 37-20=17 Exploring Operation: 37-8=29, Resulting Numbers: [36, 20, 29] Generated Node #0,2: 28:[36, 20, 29] Operation: 37-8=29 Exploring Operation: 37-36=1, Resulting Numbers: [8, 20, 1] Generated Node #0,3: 28:[8, 20, 1] Operation: 37-36=1 Exploring Operation: 36-20=16, Resulting Numbers: [37, 8, 16] Generated Node #0,4: 28:[37, 8, 16] Operation: 36-20=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[8, 20, 1], Operations: ['37-36=1'] Exploring Operation: 8-1=7, Resulting Numbers: [20, 7] Generated Node #0,3,0: 28:[20, 7] Operation: 8-1=7 Exploring Operation: 8*1=8, Resulting Numbers: [20, 8] Generated Node #0,3,1: 28:[20, 8] Operation: 8*1=8 Exploring Operation: 20-1=19, Resulting Numbers: [8, 19] Generated Node #0,3,2: 28:[8, 19] Operation: 20-1=19 Exploring Operation: 20-8=12, Resulting Numbers: [1, 12] Generated Node #0,3,3: 28:[1, 12] Operation: 20-8=12 Exploring Operation: 8+20=28, Resulting Numbers: [1, 28] Generated Node #0,3,4: 28:[1, 28] Operation: 8+20=28 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 28:[1, 28], Operations: ['37-36=1', '8+20=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[37, 8, 36, 20], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [8, 20, 1] Generated Node #0,3: 28:[8, 20, 1] Operation: 37-36=1 Moving to Node #0,3 Current State: 28:[8, 20, 1], Operations: ['37-36=1'] Exploring Operation: 8+20=28, Resulting Numbers: [1, 28] Generated Node #0,3,4: 28:[1, 28] Operation: 8+20=28 Moving to Node #0,3,4 Current State: 28:[1, 28], Operations: ['37-36=1', '8+20=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 8, 20, 18, 26 ]
22
[ "20-18=2", "8/2=4", "26-4=22" ]
Current State: 22:[8, 20, 18, 26], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [8, 26, 2] Generated Node #2: [8, 26, 2] from Operation: 20-18=2 Current State: 22:[8, 26, 2], Operations: ['20-18=2'] Exploring Operation: 8/2=4, Resulting Numbers: [26, 4] Generated Node #3: [26, 4] from Operation: 8/2=4 Current State: 22:[26, 4], Operations: ['20-18=2', '8/2=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 20, 18, 26], Operations: [] Exploring Operation: 20-8=12, Resulting Numbers: [18, 26, 12] Generated Node #0,0: 22:[18, 26, 12] Operation: 20-8=12 Exploring Operation: 26-18=8, Resulting Numbers: [8, 20, 8] Generated Node #0,1: 22:[8, 20, 8] Operation: 26-18=8 Exploring Operation: 8+18=26, Resulting Numbers: [20, 26, 26] Generated Node #0,2: 22:[20, 26, 26] Operation: 8+18=26 Exploring Operation: 20-18=2, Resulting Numbers: [8, 26, 2] Generated Node #0,3: 22:[8, 26, 2] Operation: 20-18=2 Exploring Operation: 18-8=10, Resulting Numbers: [20, 26, 10] Generated Node #0,4: 22:[20, 26, 10] Operation: 18-8=10 Moving to Node #0,3 Current State: 22:[8, 26, 2], Operations: ['20-18=2'] Exploring Operation: 8/2=4, Resulting Numbers: [26, 4] Generated Node #0,3,0: 22:[26, 4] Operation: 8/2=4 Exploring Operation: 26-8=18, Resulting Numbers: [2, 18] Generated Node #0,3,1: 22:[2, 18] Operation: 26-8=18 Exploring Operation: 8+2=10, Resulting Numbers: [26, 10] Generated Node #0,3,2: 22:[26, 10] Operation: 8+2=10 Exploring Operation: 26/2=13, Resulting Numbers: [8, 13] Generated Node #0,3,3: 22:[8, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [8, 24] Generated Node #0,3,4: 22:[8, 24] Operation: 26-2=24 Moving to Node #0,4 Current State: 22:[20, 26, 10], Operations: ['18-8=10'] Exploring Operation: 20-10=10, Resulting Numbers: [26, 10] Generated Node #0,4,0: 22:[26, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [26, 2] Generated Node #0,4,1: 22:[26, 2] Operation: 20/10=2 Exploring Operation: 20+10=30, Resulting Numbers: [26, 30] Generated Node #0,4,2: 22:[26, 30] Operation: 20+10=30 Exploring Operation: 26-10=16, Resulting Numbers: [20, 16] Generated Node #0,4,3: 22:[20, 16] Operation: 26-10=16 Exploring Operation: 26-20=6, Resulting Numbers: [10, 6] Generated Node #0,4,4: 22:[10, 6] Operation: 26-20=6 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[26, 2], Operations: ['18-8=10', '20/10=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 22:[26, 10], Operations: ['18-8=10', '20-10=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[10, 6], Operations: ['18-8=10', '26-20=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,22 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 22:[20, 16], Operations: ['18-8=10', '26-10=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 22:[26, 30], Operations: ['18-8=10', '20+10=30'] Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,22 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 22:[8, 20, 8], Operations: ['26-18=8'] Exploring Operation: 20-8=12, Resulting Numbers: [8, 12] Generated Node #0,1,0: 22:[8, 12] Operation: 20-8=12 Exploring Operation: 20-8=12, Resulting Numbers: [8, 12] Generated Node #0,1,1: 22:[8, 12] Operation: 20-8=12 Exploring Operation: 8/8=1, Resulting Numbers: [20, 1] Generated Node #0,1,2: 22:[20, 1] Operation: 8/8=1 Exploring Operation: 8-8=0, Resulting Numbers: [20, 0] Generated Node #0,1,3: 22:[20, 0] Operation: 8-8=0 Exploring Operation: 8+8=16, Resulting Numbers: [20, 16] Generated Node #0,1,4: 22:[20, 16] Operation: 8+8=16 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[20, 1], Operations: ['26-18=8', '8/8=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[8, 12], Operations: ['26-18=8', '20-8=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[8, 12], Operations: ['26-18=8', '20-8=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[20, 0], Operations: ['26-18=8', '8-8=0'] Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 22:[20, 16], Operations: ['26-18=8', '8+8=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 22:[18, 26, 12], Operations: ['20-8=12'] Exploring Operation: 18-12=6, Resulting Numbers: [26, 6] Generated Node #0,0,0: 22:[26, 6] Operation: 18-12=6 Exploring Operation: 18+12=30, Resulting Numbers: [26, 30] Generated Node #0,0,1: 22:[26, 30] Operation: 18+12=30 Exploring Operation: 26+12=38, Resulting Numbers: [18, 38] Generated Node #0,0,2: 22:[18, 38] Operation: 26+12=38 Exploring Operation: 26-12=14, Resulting Numbers: [18, 14] Generated Node #0,0,3: 22:[18, 14] Operation: 26-12=14 Exploring Operation: 26-18=8, Resulting Numbers: [12, 8] Generated Node #0,0,4: 22:[12, 8] Operation: 26-18=8 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 22:[12, 8], Operations: ['20-8=12', '26-18=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 22:[18, 14], Operations: ['20-8=12', '26-12=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,22 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[26, 6], Operations: ['20-8=12', '18-12=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[26, 30], Operations: ['20-8=12', '18+12=30'] Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,22 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[18, 38], Operations: ['20-8=12', '26+12=38'] Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,22 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 22:[20, 26, 26], Operations: ['8+18=26'] Exploring Operation: 26/26=1, Resulting Numbers: [20, 1] Generated Node #0,2,0: 22:[20, 1] Operation: 26/26=1 Exploring Operation: 26-20=6, Resulting Numbers: [26, 6] Generated Node #0,2,1: 22:[26, 6] Operation: 26-20=6 Exploring Operation: 20+26=46, Resulting Numbers: [26, 46] Generated Node #0,2,2: 22:[26, 46] Operation: 20+26=46 Exploring Operation: 26-26=0, Resulting Numbers: [20, 0] Generated Node #0,2,3: 22:[20, 0] Operation: 26-26=0 Exploring Operation: 26-20=6, Resulting Numbers: [26, 6] Generated Node #0,2,4: 22:[26, 6] Operation: 26-20=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[20, 1], Operations: ['8+18=26', '26/26=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[20, 0], Operations: ['8+18=26', '26-26=0'] Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[26, 6], Operations: ['8+18=26', '26-20=6'] Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,22 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[26, 6], Operations: ['8+18=26', '26-20=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,22 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[26, 46], Operations: ['8+18=26', '20+26=46'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,22 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: 22:[2, 18], Operations: ['20-18=2', '26-8=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[8, 13], Operations: ['20-18=2', '26/2=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[26, 10], Operations: ['20-18=2', '8+2=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[8, 24], Operations: ['20-18=2', '26-2=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,22 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[26, 4], Operations: ['20-18=2', '8/2=4'] Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[8, 20, 18, 26], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [8, 26, 2] Generated Node #0,3: 22:[8, 26, 2] Operation: 20-18=2 Moving to Node #0,3 Current State: 22:[8, 26, 2], Operations: ['20-18=2'] Exploring Operation: 8/2=4, Resulting Numbers: [26, 4] Generated Node #0,3,0: 22:[26, 4] Operation: 8/2=4 Moving to Node #0,3,0 Current State: 22:[26, 4], Operations: ['20-18=2', '8/2=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.901042
hs_5
mult_heuristic
[ 24, 60, 78, 10 ]
60
[ "24+60=84", "84-78=6", "10*6=60" ]
Current State: 60:[24, 60, 78, 10], Operations: [] Exploring Operation: 24+60=84, Resulting Numbers: [78, 10, 84] Generated Node #2: [78, 10, 84] from Operation: 24+60=84 Current State: 60:[78, 10, 84], Operations: ['24+60=84'] Exploring Operation: 84-78=6, Resulting Numbers: [10, 6] Generated Node #3: [10, 6] from Operation: 84-78=6 Current State: 60:[10, 6], Operations: ['24+60=84', '84-78=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[24, 60, 78, 10], Operations: [] Exploring Operation: 78-10=68, Resulting Numbers: [24, 60, 68] Generated Node #0,0: 60:[24, 60, 68] Operation: 78-10=68 Exploring Operation: 78-24=54, Resulting Numbers: [60, 10, 54] Generated Node #0,1: 60:[60, 10, 54] Operation: 78-24=54 Exploring Operation: 24-10=14, Resulting Numbers: [60, 78, 14] Generated Node #0,2: 60:[60, 78, 14] Operation: 24-10=14 Exploring Operation: 78-60=18, Resulting Numbers: [24, 10, 18] Generated Node #0,3: 60:[24, 10, 18] Operation: 78-60=18 Exploring Operation: 24+10=34, Resulting Numbers: [60, 78, 34] Generated Node #0,4: 60:[60, 78, 34] Operation: 24+10=34 Moving to Node #0,1 Current State: 60:[60, 10, 54], Operations: ['78-24=54'] Exploring Operation: 60+10=70, Resulting Numbers: [54, 70] Generated Node #0,1,0: 60:[54, 70] Operation: 60+10=70 Exploring Operation: 60/10=6, Resulting Numbers: [54, 6] Generated Node #0,1,1: 60:[54, 6] Operation: 60/10=6 Exploring Operation: 54-10=44, Resulting Numbers: [60, 44] Generated Node #0,1,2: 60:[60, 44] Operation: 54-10=44 Exploring Operation: 60-54=6, Resulting Numbers: [10, 6] Generated Node #0,1,3: 60:[10, 6] Operation: 60-54=6 Exploring Operation: 10+54=64, Resulting Numbers: [60, 64] Generated Node #0,1,4: 60:[60, 64] Operation: 10+54=64 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[10, 6], Operations: ['78-24=54', '60-54=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[24, 60, 78, 10], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [60, 10, 54] Generated Node #0,1: 60:[60, 10, 54] Operation: 78-24=54 Moving to Node #0,1 Current State: 60:[60, 10, 54], Operations: ['78-24=54'] Exploring Operation: 60-54=6, Resulting Numbers: [10, 6] Generated Node #0,1,3: 60:[10, 6] Operation: 60-54=6 Moving to Node #0,1,3 Current State: 60:[10, 6], Operations: ['78-24=54', '60-54=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 2, 84, 36, 50 ]
35
[ "84+36=120", "120-50=70", "70/2=35" ]
Current State: 35:[2, 84, 36, 50], Operations: [] Exploring Operation: 84+36=120, Resulting Numbers: [2, 50, 120] Generated Node #2: [2, 50, 120] from Operation: 84+36=120 Current State: 35:[2, 50, 120], Operations: ['84+36=120'] Exploring Operation: 120-50=70, Resulting Numbers: [2, 70] Generated Node #3: [2, 70] from Operation: 120-50=70 Current State: 35:[2, 70], Operations: ['84+36=120', '120-50=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[2, 84, 36, 50], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [2, 36, 34] Generated Node #0,0: 35:[2, 36, 34] Operation: 84-50=34 Moving to Node #0,0 Current State: 35:[2, 36, 34], Operations: ['84-50=34'] Exploring Operation: 36-2=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 35:[34, 34] Operation: 36-2=34 Moving to Node #0,0,0 Current State: 35:[34, 34], Operations: ['84-50=34', '36-2=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,35 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 16, 94, 2, 1 ]
56
[ "16+94=110", "110/2=55", "1+55=56" ]
Current State: 56:[16, 94, 2, 1], Operations: [] Exploring Operation: 16+94=110, Resulting Numbers: [2, 1, 110] Generated Node #2: [2, 1, 110] from Operation: 16+94=110 Current State: 56:[2, 1, 110], Operations: ['16+94=110'] Exploring Operation: 110/2=55, Resulting Numbers: [1, 55] Generated Node #3: [1, 55] from Operation: 110/2=55 Current State: 56:[1, 55], Operations: ['16+94=110', '110/2=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[16, 94, 2, 1], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [16, 1, 47] Generated Node #0,0: 56:[16, 1, 47] Operation: 94/2=47 Moving to Node #0,0 Current State: 56:[16, 1, 47], Operations: ['94/2=47'] Exploring Operation: 47-16=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 56:[1, 31] Operation: 47-16=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[1, 31], Operations: ['94/2=47', '47-16=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 41, 83, 9, 52 ]
85
[ "83-41=42", "52-9=43", "42+43=85" ]
Current State: 85:[41, 83, 9, 52], Operations: [] Exploring Operation: 83-41=42, Resulting Numbers: [9, 52, 42] Generated Node #2: [9, 52, 42] from Operation: 83-41=42 Current State: 85:[9, 52, 42], Operations: ['83-41=42'] Exploring Operation: 52-9=43, Resulting Numbers: [42, 43] Generated Node #3: [42, 43] from Operation: 52-9=43 Current State: 85:[42, 43], Operations: ['83-41=42', '52-9=43'] Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[41, 83, 9, 52], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [83, 9, 11] Generated Node #0,0: 85:[83, 9, 11] Operation: 52-41=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[83, 9, 11], Operations: ['52-41=11'] Exploring Operation: 9+11=20, Resulting Numbers: [83, 20] Generated Node #0,0,0: 85:[83, 20] Operation: 9+11=20 Moving to Node #0,0,0 Current State: 85:[83, 20], Operations: ['52-41=11', '9+11=20'] Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,85 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
[ 28, 71, 41, 14 ]
28
[ "71-28=43", "43-41=2", "14*2=28" ]
Current State: 28:[28, 71, 41, 14], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [41, 14, 43] Generated Node #2: [41, 14, 43] from Operation: 71-28=43 Current State: 28:[41, 14, 43], Operations: ['71-28=43'] Exploring Operation: 43-41=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 43-41=2 Current State: 28:[14, 2], Operations: ['71-28=43', '43-41=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[28, 71, 41, 14], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [41, 14, 43] Generated Node #0,0: 28:[41, 14, 43] Operation: 71-28=43 Exploring Operation: 71-41=30, Resulting Numbers: [28, 14, 30] Generated Node #0,1: 28:[28, 14, 30] Operation: 71-41=30 Moving to Node #0,1 Current State: 28:[28, 14, 30], Operations: ['71-41=30'] Exploring Operation: 28-14=14, Resulting Numbers: [30, 14] Generated Node #0,1,0: 28:[30, 14] Operation: 28-14=14 Exploring Operation: 30-28=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 28:[14, 2] Operation: 30-28=2 Moving to Node #0,0 Current State: 28:[41, 14, 43], Operations: ['71-28=43'] Exploring Operation: 43-41=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 43-41=2 Exploring Operation: 43-14=29, Resulting Numbers: [41, 29] Generated Node #0,0,1: 28:[41, 29] Operation: 43-14=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['71-28=43', '43-41=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[28, 71, 41, 14], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [41, 14, 43] Generated Node #0,0: 28:[41, 14, 43] Operation: 71-28=43 Moving to Node #0,0 Current State: 28:[41, 14, 43], Operations: ['71-28=43'] Exploring Operation: 43-41=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 43-41=2 Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['71-28=43', '43-41=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 24, 28, 68, 18 ]
89
[ "28*18=504", "504/24=21", "68+21=89" ]
Current State: 89:[24, 28, 68, 18], Operations: [] Exploring Operation: 28*18=504, Resulting Numbers: [24, 68, 504] Generated Node #2: [24, 68, 504] from Operation: 28*18=504 Current State: 89:[24, 68, 504], Operations: ['28*18=504'] Exploring Operation: 504/24=21, Resulting Numbers: [68, 21] Generated Node #3: [68, 21] from Operation: 504/24=21 Current State: 89:[68, 21], Operations: ['28*18=504', '504/24=21'] Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[24, 28, 68, 18], Operations: [] Exploring Operation: 24+18=42, Resulting Numbers: [28, 68, 42] Generated Node #0,0: 89:[28, 68, 42] Operation: 24+18=42 Exploring Operation: 24+28=52, Resulting Numbers: [68, 18, 52] Generated Node #0,1: 89:[68, 18, 52] Operation: 24+28=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[28, 68, 42], Operations: ['24+18=42'] Exploring Operation: 28+42=70, Resulting Numbers: [68, 70] Generated Node #0,0,0: 89:[68, 70] Operation: 28+42=70 Exploring Operation: 28+68=96, Resulting Numbers: [42, 96] Generated Node #0,0,1: 89:[42, 96] Operation: 28+68=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[68, 70], Operations: ['24+18=42', '28+42=70'] Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,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,0,1 Current State: 89:[42, 96], Operations: ['24+18=42', '28+68=96'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 42+96=138, Resulting Numbers: [138] 138,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:[68, 18, 52], Operations: ['24+28=52'] Exploring Operation: 18+52=70, Resulting Numbers: [68, 70] Generated Node #0,1,0: 89:[68, 70] Operation: 18+52=70 Exploring Operation: 68+18=86, Resulting Numbers: [52, 86] Generated Node #0,1,1: 89:[52, 86] Operation: 68+18=86 Moving to Node #0,1,0 Current State: 89:[68, 70], Operations: ['24+28=52', '18+52=70'] Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[52, 86], Operations: ['24+28=52', '68+18=86'] Exploring Operation: 52+86=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,89 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
[ 2, 23, 63, 8 ]
11
[ "2+23=25", "63+25=88", "88/8=11" ]
Current State: 11:[2, 23, 63, 8], Operations: [] Exploring Operation: 2+23=25, Resulting Numbers: [63, 8, 25] Generated Node #2: [63, 8, 25] from Operation: 2+23=25 Current State: 11:[63, 8, 25], Operations: ['2+23=25'] Exploring Operation: 63+25=88, Resulting Numbers: [8, 88] Generated Node #3: [8, 88] from Operation: 63+25=88 Current State: 11:[8, 88], Operations: ['2+23=25', '63+25=88'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[2, 23, 63, 8], Operations: [] Exploring Operation: 63-23=40, Resulting Numbers: [2, 8, 40] Generated Node #0,0: 11:[2, 8, 40] Operation: 63-23=40 Exploring Operation: 23-2=21, Resulting Numbers: [63, 8, 21] Generated Node #0,1: 11:[63, 8, 21] Operation: 23-2=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[2, 8, 40], Operations: ['63-23=40'] Exploring Operation: 40/8=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 11:[2, 5] Operation: 40/8=5 Exploring Operation: 40/2=20, Resulting Numbers: [8, 20] Generated Node #0,0,1: 11:[8, 20] Operation: 40/2=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[8, 20], Operations: ['63-23=40', '40/2=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,11 unequal: No Solution No 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: 11:[2, 5], Operations: ['63-23=40', '40/8=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,11 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: 11:[63, 8, 21], Operations: ['23-2=21'] Exploring Operation: 63/21=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 11:[8, 3] Operation: 63/21=3 Exploring Operation: 63-21=42, Resulting Numbers: [8, 42] Generated Node #0,1,1: 11:[8, 42] Operation: 63-21=42 Moving to Node #0,1,0 Current State: 11:[8, 3], Operations: ['23-2=21', '63/21=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[2, 23, 63, 8], Operations: [] Exploring Operation: 23-2=21, Resulting Numbers: [63, 8, 21] Generated Node #0,1: 11:[63, 8, 21] Operation: 23-2=21 Moving to Node #0,1 Current State: 11:[63, 8, 21], Operations: ['23-2=21'] Exploring Operation: 63/21=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 11:[8, 3] Operation: 63/21=3 Moving to Node #0,1,0 Current State: 11:[8, 3], Operations: ['23-2=21', '63/21=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 28, 37, 51, 45 ]
43
[ "51-37=14", "28/14=2", "45-2=43" ]
Current State: 43:[28, 37, 51, 45], Operations: [] Exploring Operation: 51-37=14, Resulting Numbers: [28, 45, 14] Generated Node #2: [28, 45, 14] from Operation: 51-37=14 Current State: 43:[28, 45, 14], Operations: ['51-37=14'] Exploring Operation: 28/14=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 28/14=2 Current State: 43:[45, 2], Operations: ['51-37=14', '28/14=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[28, 37, 51, 45], Operations: [] Exploring Operation: 51-28=23, Resulting Numbers: [37, 45, 23] Generated Node #0,0: 43:[37, 45, 23] Operation: 51-28=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[37, 45, 23], Operations: ['51-28=23'] Exploring Operation: 37+23=60, Resulting Numbers: [45, 60] Generated Node #0,0,0: 43:[45, 60] Operation: 37+23=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[45, 60], Operations: ['51-28=23', '37+23=60'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,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_1
sum_heuristic
[ 9, 63, 11, 47 ]
31
[ "11-9=2", "47*2=94", "94-63=31" ]
Current State: 31:[9, 63, 11, 47], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [63, 47, 2] Generated Node #2: [63, 47, 2] from Operation: 11-9=2 Current State: 31:[63, 47, 2], Operations: ['11-9=2'] Exploring Operation: 47*2=94, Resulting Numbers: [63, 94] Generated Node #3: [63, 94] from Operation: 47*2=94 Current State: 31:[63, 94], Operations: ['11-9=2', '47*2=94'] Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[9, 63, 11, 47], Operations: [] Exploring Operation: 63-11=52, Resulting Numbers: [9, 47, 52] Generated Node #0,0: 31:[9, 47, 52] Operation: 63-11=52 Exploring Operation: 63-47=16, Resulting Numbers: [9, 11, 16] Generated Node #0,1: 31:[9, 11, 16] Operation: 63-47=16 Exploring Operation: 63-9=54, Resulting Numbers: [11, 47, 54] Generated Node #0,2: 31:[11, 47, 54] Operation: 63-9=54 Exploring Operation: 9+11=20, Resulting Numbers: [63, 47, 20] Generated Node #0,3: 31:[63, 47, 20] Operation: 9+11=20 Exploring Operation: 47-9=38, Resulting Numbers: [63, 11, 38] Generated Node #0,4: 31:[63, 11, 38] Operation: 47-9=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[9, 11, 16], Operations: ['63-47=16'] Exploring Operation: 9+16=25, Resulting Numbers: [11, 25] Generated Node #0,1,0: 31:[11, 25] Operation: 9+16=25 Exploring Operation: 16-9=7, Resulting Numbers: [11, 7] Generated Node #0,1,1: 31:[11, 7] Operation: 16-9=7 Exploring Operation: 9+11=20, Resulting Numbers: [16, 20] Generated Node #0,1,2: 31:[16, 20] Operation: 9+11=20 Exploring Operation: 11-9=2, Resulting Numbers: [16, 2] Generated Node #0,1,3: 31:[16, 2] Operation: 11-9=2 Exploring Operation: 11+16=27, Resulting Numbers: [9, 27] Generated Node #0,1,4: 31:[9, 27] Operation: 11+16=27 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[11, 25], Operations: ['63-47=16', '9+16=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,31 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[16, 20], Operations: ['63-47=16', '9+11=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 31:[9, 27], Operations: ['63-47=16', '11+16=27'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[11, 7], Operations: ['63-47=16', '16-9=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,31 unequal: No Solution Exploring Operation: 11+7=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,1,3 Current State: 31:[16, 2], Operations: ['63-47=16', '11-9=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,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,0 Current State: 31:[9, 47, 52], Operations: ['63-11=52'] Exploring Operation: 47-9=38, Resulting Numbers: [52, 38] Generated Node #0,0,0: 31:[52, 38] Operation: 47-9=38 Exploring Operation: 52-9=43, Resulting Numbers: [47, 43] Generated Node #0,0,1: 31:[47, 43] Operation: 52-9=43 Exploring Operation: 9+52=61, Resulting Numbers: [47, 61] Generated Node #0,0,2: 31:[47, 61] Operation: 9+52=61 Exploring Operation: 9+47=56, Resulting Numbers: [52, 56] Generated Node #0,0,3: 31:[52, 56] Operation: 9+47=56 Exploring Operation: 52-47=5, Resulting Numbers: [9, 5] Generated Node #0,0,4: 31:[9, 5] Operation: 52-47=5 Moving to Node #0,0,0 Current State: 31:[52, 38], Operations: ['63-11=52', '47-9=38'] Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,31 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[47, 43], Operations: ['63-11=52', '52-9=43'] Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[47, 61], Operations: ['63-11=52', '9+52=61'] Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,31 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[52, 56], Operations: ['63-11=52', '9+47=56'] Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,31 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,31 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[9, 5], Operations: ['63-11=52', '52-47=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[11, 47, 54], Operations: ['63-9=54'] Exploring Operation: 54-11=43, Resulting Numbers: [47, 43] Generated Node #0,2,0: 31:[47, 43] Operation: 54-11=43 Exploring Operation: 11+47=58, Resulting Numbers: [54, 58] Generated Node #0,2,1: 31:[54, 58] Operation: 11+47=58 Exploring Operation: 47-11=36, Resulting Numbers: [54, 36] Generated Node #0,2,2: 31:[54, 36] Operation: 47-11=36 Exploring Operation: 54-47=7, Resulting Numbers: [11, 7] Generated Node #0,2,3: 31:[11, 7] Operation: 54-47=7 Exploring Operation: 11+54=65, Resulting Numbers: [47, 65] Generated Node #0,2,4: 31:[47, 65] Operation: 11+54=65 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[47, 43], Operations: ['63-9=54', '54-11=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,31 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 47+43=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,2 Current State: 31:[54, 36], Operations: ['63-9=54', '47-11=36'] Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,31 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 54+36=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:[11, 7], Operations: ['63-9=54', '54-47=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,31 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,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:[54, 58], Operations: ['63-9=54', '11+47=58'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,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:[47, 65], Operations: ['63-9=54', '11+54=65'] Exploring Operation: 47+65=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 47*65=3055, Resulting Numbers: [3055] 3055,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:[63, 47, 20], Operations: ['9+11=20'] Exploring Operation: 63+20=83, Resulting Numbers: [47, 83] Generated Node #0,3,0: 31:[47, 83] Operation: 63+20=83 Exploring Operation: 63-20=43, Resulting Numbers: [47, 43] Generated Node #0,3,1: 31:[47, 43] Operation: 63-20=43 Exploring Operation: 63-47=16, Resulting Numbers: [20, 16] Generated Node #0,3,2: 31:[20, 16] Operation: 63-47=16 Exploring Operation: 47+20=67, Resulting Numbers: [63, 67] Generated Node #0,3,3: 31:[63, 67] Operation: 47+20=67 Exploring Operation: 47-20=27, Resulting Numbers: [63, 27] Generated Node #0,3,4: 31:[63, 27] Operation: 47-20=27 Moving to Node #0,3,2 Current State: 31:[20, 16], Operations: ['9+11=20', '63-47=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[47, 43], Operations: ['9+11=20', '63-20=43'] Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,31 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[63, 27], Operations: ['9+11=20', '47-20=27'] Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,31 unequal: No Solution Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[47, 83], Operations: ['9+11=20', '63+20=83'] Exploring Operation: 83-47=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 47*83=3901, Resulting Numbers: [3901] 3901,31 unequal: No Solution Exploring Operation: 47+83=130, Resulting Numbers: [130] 130,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[63, 67], Operations: ['9+11=20', '47+20=67'] Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,31 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,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 Current State: 31:[63, 11, 38], Operations: ['47-9=38'] Exploring Operation: 38-11=27, Resulting Numbers: [63, 27] Generated Node #0,4,0: 31:[63, 27] Operation: 38-11=27 Exploring Operation: 11+38=49, Resulting Numbers: [63, 49] Generated Node #0,4,1: 31:[63, 49] Operation: 11+38=49 Exploring Operation: 63-11=52, Resulting Numbers: [38, 52] Generated Node #0,4,2: 31:[38, 52] Operation: 63-11=52 Exploring Operation: 63-38=25, Resulting Numbers: [11, 25] Generated Node #0,4,3: 31:[11, 25] Operation: 63-38=25 Exploring Operation: 63+11=74, Resulting Numbers: [38, 74] Generated Node #0,4,4: 31:[38, 74] Operation: 63+11=74 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[11, 25], Operations: ['47-9=38', '63-38=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,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:[38, 52], Operations: ['47-9=38', '63-11=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,31 unequal: No Solution Exploring Operation: 38+52=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,4,0 Current State: 31:[63, 27], Operations: ['47-9=38', '38-11=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,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:[63, 49], Operations: ['47-9=38', '11+38=49'] Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,31 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,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:[38, 74], Operations: ['47-9=38', '63+11=74'] Exploring Operation: 38*74=2812, Resulting Numbers: [2812] 2812,31 unequal: No Solution Exploring Operation: 38+74=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 72, 63, 87, 50 ]
69
[ "63+87=150", "150/50=3", "72-3=69" ]
Current State: 69:[72, 63, 87, 50], Operations: [] Exploring Operation: 63+87=150, Resulting Numbers: [72, 50, 150] Generated Node #2: [72, 50, 150] from Operation: 63+87=150 Current State: 69:[72, 50, 150], Operations: ['63+87=150'] Exploring Operation: 150/50=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 150/50=3 Current State: 69:[72, 3], Operations: ['63+87=150', '150/50=3'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[72, 63, 87, 50], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [72, 50, 24] Generated Node #0,0: 69:[72, 50, 24] Operation: 87-63=24 Moving to Node #0,0 Current State: 69:[72, 50, 24], Operations: ['87-63=24'] Exploring Operation: 72-50=22, Resulting Numbers: [24, 22] Generated Node #0,0,0: 69:[24, 22] Operation: 72-50=22 Moving to Node #0,0,0 Current State: 69:[24, 22], Operations: ['87-63=24', '72-50=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 38, 19, 80, 36 ]
25
[ "38-19=19", "80-36=44", "44-19=25" ]
Current State: 25:[38, 19, 80, 36], Operations: [] Exploring Operation: 38-19=19, Resulting Numbers: [80, 36, 19] Generated Node #2: [80, 36, 19] from Operation: 38-19=19 Current State: 25:[80, 36, 19], Operations: ['38-19=19'] Exploring Operation: 80-36=44, Resulting Numbers: [19, 44] Generated Node #3: [19, 44] from Operation: 80-36=44 Current State: 25:[19, 44], Operations: ['38-19=19', '80-36=44'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[38, 19, 80, 36], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [19, 36, 42] Generated Node #0,0: 25:[19, 36, 42] Operation: 80-38=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[19, 36, 42], Operations: ['80-38=42'] Exploring Operation: 42-36=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 25:[19, 6] Operation: 42-36=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[19, 6], Operations: ['80-38=42', '42-36=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[38, 19, 80, 36], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [19, 36, 42] Generated Node #0,0: 25:[19, 36, 42] Operation: 80-38=42 Moving to Node #0,0 Current State: 25:[19, 36, 42], Operations: ['80-38=42'] Exploring Operation: 42-36=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 25:[19, 6] Operation: 42-36=6 Moving to Node #0,0,0 Current State: 25:[19, 6], Operations: ['80-38=42', '42-36=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 8, 2, 95, 22 ]
65
[ "22-2=20", "8*20=160", "160-95=65" ]
Current State: 65:[8, 2, 95, 22], Operations: [] Exploring Operation: 22-2=20, Resulting Numbers: [8, 95, 20] Generated Node #2: [8, 95, 20] from Operation: 22-2=20 Current State: 65:[8, 95, 20], Operations: ['22-2=20'] Exploring Operation: 8*20=160, Resulting Numbers: [95, 160] Generated Node #3: [95, 160] from Operation: 8*20=160 Current State: 65:[95, 160], Operations: ['22-2=20', '8*20=160'] Exploring Operation: 160-95=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[8, 2, 95, 22], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [8, 2, 73] Generated Node #0,0: 65:[8, 2, 73] Operation: 95-22=73 Exploring Operation: 95-8=87, Resulting Numbers: [2, 22, 87] Generated Node #0,1: 65:[2, 22, 87] Operation: 95-8=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[8, 2, 73], Operations: ['95-22=73'] Exploring Operation: 73-8=65, Resulting Numbers: [2, 65] Generated Node #0,0,0: 65:[2, 65] Operation: 73-8=65 Exploring Operation: 8-2=6, Resulting Numbers: [73, 6] Generated Node #0,0,1: 65:[73, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[2, 65], Operations: ['95-22=73', '73-8=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[73, 6], Operations: ['95-22=73', '8-2=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[2, 22, 87], Operations: ['95-8=87'] Exploring Operation: 87-22=65, Resulting Numbers: [2, 65] Generated Node #0,1,0: 65:[2, 65] Operation: 87-22=65 Exploring Operation: 22/2=11, Resulting Numbers: [87, 11] Generated Node #0,1,1: 65:[87, 11] Operation: 22/2=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[2, 65], Operations: ['95-8=87', '87-22=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[87, 11], Operations: ['95-8=87', '22/2=11'] Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 89, 96, 65, 49 ]
45
[ "89-65=24", "96/24=4", "49-4=45" ]
Current State: 45:[89, 96, 65, 49], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [96, 49, 24] Generated Node #2: [96, 49, 24] from Operation: 89-65=24 Current State: 45:[96, 49, 24], Operations: ['89-65=24'] Exploring Operation: 96/24=4, Resulting Numbers: [49, 4] Generated Node #3: [49, 4] from Operation: 96/24=4 Current State: 45:[49, 4], Operations: ['89-65=24', '96/24=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[89, 96, 65, 49], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [89, 49, 31] Generated Node #0,0: 45:[89, 49, 31] Operation: 96-65=31 Exploring Operation: 96-89=7, Resulting Numbers: [65, 49, 7] Generated Node #0,1: 45:[65, 49, 7] Operation: 96-89=7 Moving to Node #0,1 Current State: 45:[65, 49, 7], Operations: ['96-89=7'] Exploring Operation: 65-49=16, Resulting Numbers: [7, 16] Generated Node #0,1,0: 45:[7, 16] Operation: 65-49=16 Exploring Operation: 65-7=58, Resulting Numbers: [49, 58] Generated Node #0,1,1: 45:[49, 58] Operation: 65-7=58 Moving to Node #0,0 Current State: 45:[89, 49, 31], Operations: ['96-65=31'] Exploring Operation: 89-49=40, Resulting Numbers: [31, 40] Generated Node #0,0,0: 45:[31, 40] Operation: 89-49=40 Exploring Operation: 89-31=58, Resulting Numbers: [49, 58] Generated Node #0,0,1: 45:[49, 58] Operation: 89-31=58 Moving to Node #0,1,0 Current State: 45:[7, 16], Operations: ['96-89=7', '65-49=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[49, 58], Operations: ['96-65=31', '89-31=58'] Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,45 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[49, 58], Operations: ['96-89=7', '65-7=58'] Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[31, 40], Operations: ['96-65=31', '89-49=40'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,45 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 41, 89, 40, 11 ]
77
[ "89-41=48", "40-11=29", "48+29=77" ]
Current State: 77:[41, 89, 40, 11], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [40, 11, 48] Generated Node #2: [40, 11, 48] from Operation: 89-41=48 Current State: 77:[40, 11, 48], Operations: ['89-41=48'] Exploring Operation: 40-11=29, Resulting Numbers: [48, 29] Generated Node #3: [48, 29] from Operation: 40-11=29 Current State: 77:[48, 29], Operations: ['89-41=48', '40-11=29'] Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[41, 89, 40, 11], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [40, 11, 48] Generated Node #0,0: 77:[40, 11, 48] Operation: 89-41=48 Exploring Operation: 89-40=49, Resulting Numbers: [41, 11, 49] Generated Node #0,1: 77:[41, 11, 49] Operation: 89-40=49 Exploring Operation: 41-40=1, Resulting Numbers: [89, 11, 1] Generated Node #0,2: 77:[89, 11, 1] Operation: 41-40=1 Exploring Operation: 41+40=81, Resulting Numbers: [89, 11, 81] Generated Node #0,3: 77:[89, 11, 81] Operation: 41+40=81 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[89, 11, 81], Operations: ['41+40=81'] Exploring Operation: 89+11=100, Resulting Numbers: [81, 100] Generated Node #0,3,0: 77:[81, 100] Operation: 89+11=100 Exploring Operation: 89-11=78, Resulting Numbers: [81, 78] Generated Node #0,3,1: 77:[81, 78] Operation: 89-11=78 Exploring Operation: 89-81=8, Resulting Numbers: [11, 8] Generated Node #0,3,2: 77:[11, 8] Operation: 89-81=8 Exploring Operation: 81-11=70, Resulting Numbers: [89, 70] Generated Node #0,3,3: 77:[89, 70] Operation: 81-11=70 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 77:[11, 8], Operations: ['41+40=81', '89-81=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,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,3,1 Current State: 77:[81, 78], Operations: ['41+40=81', '89-11=78'] Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 81*78=6318, Resulting Numbers: [6318] 6318,77 unequal: No Solution Exploring Operation: 81+78=159, Resulting Numbers: [159] 159,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,3,3 Current State: 77:[89, 70], Operations: ['41+40=81', '81-11=70'] Exploring Operation: 89+70=159, Resulting Numbers: [159] 159,77 unequal: No Solution Exploring Operation: 89-70=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 89*70=6230, Resulting Numbers: [6230] 6230,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,3,0 Current State: 77:[81, 100], Operations: ['41+40=81', '89+11=100'] Exploring Operation: 81+100=181, Resulting Numbers: [181] 181,77 unequal: No Solution Exploring Operation: 100-81=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 81*100=8100, Resulting Numbers: [8100] 8100,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,2 Current State: 77:[89, 11, 1], Operations: ['41-40=1'] Exploring Operation: 89-11=78, Resulting Numbers: [1, 78] Generated Node #0,2,0: 77:[1, 78] Operation: 89-11=78 Exploring Operation: 89/1=89, Resulting Numbers: [11, 89] Generated Node #0,2,1: 77:[11, 89] Operation: 89/1=89 Exploring Operation: 89-1=88, Resulting Numbers: [11, 88] Generated Node #0,2,2: 77:[11, 88] Operation: 89-1=88 Exploring Operation: 89*1=89, Resulting Numbers: [11, 89] Generated Node #0,2,3: 77:[11, 89] Operation: 89*1=89 Moving to Node #0,2,0 Current State: 77:[1, 78], Operations: ['41-40=1', '89-11=78'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[41, 89, 40, 11], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [89, 11, 1] Generated Node #0,2: 77:[89, 11, 1] Operation: 41-40=1 Moving to Node #0,2 Current State: 77:[89, 11, 1], Operations: ['41-40=1'] Exploring Operation: 89-11=78, Resulting Numbers: [1, 78] Generated Node #0,2,0: 77:[1, 78] Operation: 89-11=78 Moving to Node #0,2,0 Current State: 77:[1, 78], Operations: ['41-40=1', '89-11=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 15, 32, 5, 94 ]
10
[ "15+32=47", "5*94=470", "470/47=10" ]
Current State: 10:[15, 32, 5, 94], Operations: [] Exploring Operation: 15+32=47, Resulting Numbers: [5, 94, 47] Generated Node #2: [5, 94, 47] from Operation: 15+32=47 Current State: 10:[5, 94, 47], Operations: ['15+32=47'] Exploring Operation: 5*94=470, Resulting Numbers: [47, 470] Generated Node #3: [47, 470] from Operation: 5*94=470 Current State: 10:[47, 470], Operations: ['15+32=47', '5*94=470'] Exploring Operation: 470/47=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 32, 5, 94], Operations: [] Exploring Operation: 94-32=62, Resulting Numbers: [15, 5, 62] Generated Node #0,0: 10:[15, 5, 62] Operation: 94-32=62 Moving to Node #0,0 Current State: 10:[15, 5, 62], Operations: ['94-32=62'] Exploring Operation: 62-15=47, Resulting Numbers: [5, 47] Generated Node #0,0,0: 10:[5, 47] Operation: 62-15=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[5, 47], Operations: ['94-32=62', '62-15=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 56, 18, 20 ]
16
[ "56-42=14", "20-18=2", "14+2=16" ]
Current State: 16:[42, 56, 18, 20], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [18, 20, 14] Generated Node #2: [18, 20, 14] from Operation: 56-42=14 Current State: 16:[18, 20, 14], Operations: ['56-42=14'] Exploring Operation: 20-18=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 20-18=2 Current State: 16:[14, 2], Operations: ['56-42=14', '20-18=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[42, 56, 18, 20], Operations: [] Exploring Operation: 56-20=36, Resulting Numbers: [42, 18, 36] Generated Node #0,0: 16:[42, 18, 36] Operation: 56-20=36 Exploring Operation: 56-42=14, Resulting Numbers: [18, 20, 14] Generated Node #0,1: 16:[18, 20, 14] Operation: 56-42=14 Exploring Operation: 42-18=24, Resulting Numbers: [56, 20, 24] Generated Node #0,2: 16:[56, 20, 24] Operation: 42-18=24 Exploring Operation: 42-20=22, Resulting Numbers: [56, 18, 22] Generated Node #0,3: 16:[56, 18, 22] Operation: 42-20=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[18, 20, 14], Operations: ['56-42=14'] Exploring Operation: 20-14=6, Resulting Numbers: [18, 6] Generated Node #0,1,0: 16:[18, 6] Operation: 20-14=6 Exploring Operation: 18+14=32, Resulting Numbers: [20, 32] Generated Node #0,1,1: 16:[20, 32] Operation: 18+14=32 Exploring Operation: 18-14=4, Resulting Numbers: [20, 4] Generated Node #0,1,2: 16:[20, 4] Operation: 18-14=4 Exploring Operation: 20-18=2, Resulting Numbers: [14, 2] Generated Node #0,1,3: 16:[14, 2] Operation: 20-18=2 Moving to Node #0,1,3 Current State: 16:[14, 2], Operations: ['56-42=14', '20-18=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[42, 56, 18, 20], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [18, 20, 14] Generated Node #0,1: 16:[18, 20, 14] Operation: 56-42=14 Moving to Node #0,1 Current State: 16:[18, 20, 14], Operations: ['56-42=14'] Exploring Operation: 20-18=2, Resulting Numbers: [14, 2] Generated Node #0,1,3: 16:[14, 2] Operation: 20-18=2 Moving to Node #0,1,3 Current State: 16:[14, 2], Operations: ['56-42=14', '20-18=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 92, 28, 53, 73 ]
100
[ "92+28=120", "73-53=20", "120-20=100" ]
Current State: 100:[92, 28, 53, 73], Operations: [] Exploring Operation: 92+28=120, Resulting Numbers: [53, 73, 120] Generated Node #2: [53, 73, 120] from Operation: 92+28=120 Current State: 100:[53, 73, 120], Operations: ['92+28=120'] Exploring Operation: 73-53=20, Resulting Numbers: [120, 20] Generated Node #3: [120, 20] from Operation: 73-53=20 Current State: 100:[120, 20], Operations: ['92+28=120', '73-53=20'] Exploring Operation: 120-20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[92, 28, 53, 73], Operations: [] Exploring Operation: 73-28=45, Resulting Numbers: [92, 53, 45] Generated Node #0,0: 100:[92, 53, 45] Operation: 73-28=45 Exploring Operation: 92-73=19, Resulting Numbers: [28, 53, 19] Generated Node #0,1: 100:[28, 53, 19] Operation: 92-73=19 Exploring Operation: 28+73=101, Resulting Numbers: [92, 53, 101] Generated Node #0,2: 100:[92, 53, 101] Operation: 28+73=101 Exploring Operation: 73-53=20, Resulting Numbers: [92, 28, 20] Generated Node #0,3: 100:[92, 28, 20] Operation: 73-53=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[28, 53, 19], Operations: ['92-73=19'] Exploring Operation: 53-19=34, Resulting Numbers: [28, 34] Generated Node #0,1,0: 100:[28, 34] Operation: 53-19=34 Exploring Operation: 28+19=47, Resulting Numbers: [53, 47] Generated Node #0,1,1: 100:[53, 47] Operation: 28+19=47 Exploring Operation: 28-19=9, Resulting Numbers: [53, 9] Generated Node #0,1,2: 100:[53, 9] Operation: 28-19=9 Exploring Operation: 53-28=25, Resulting Numbers: [19, 25] Generated Node #0,1,3: 100:[19, 25] Operation: 53-28=25 Moving to Node #0,1,3 Current State: 100:[19, 25], Operations: ['92-73=19', '53-28=25'] Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,100 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[53, 9], Operations: ['92-73=19', '28-19=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,100 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[53, 47], Operations: ['92-73=19', '28+19=47'] Exploring Operation: 53*47=2491, Resulting Numbers: [2491] 2491,100 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[92, 28, 53, 73], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [28, 53, 19] Generated Node #0,1: 100:[28, 53, 19] Operation: 92-73=19 Moving to Node #0,1 Current State: 100:[28, 53, 19], Operations: ['92-73=19'] Exploring Operation: 28+19=47, Resulting Numbers: [53, 47] Generated Node #0,1,1: 100:[53, 47] Operation: 28+19=47 Moving to Node #0,1,1 Current State: 100:[53, 47], Operations: ['92-73=19', '28+19=47'] Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 16, 2, 63, 55 ]
75
[ "63+55=118", "118/2=59", "16+59=75" ]
Current State: 75:[16, 2, 63, 55], Operations: [] Exploring Operation: 63+55=118, Resulting Numbers: [16, 2, 118] Generated Node #2: [16, 2, 118] from Operation: 63+55=118 Current State: 75:[16, 2, 118], Operations: ['63+55=118'] Exploring Operation: 118/2=59, Resulting Numbers: [16, 59] Generated Node #3: [16, 59] from Operation: 118/2=59 Current State: 75:[16, 59], Operations: ['63+55=118', '118/2=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[16, 2, 63, 55], Operations: [] Exploring Operation: 16+63=79, Resulting Numbers: [2, 55, 79] Generated Node #0,0: 75:[2, 55, 79] Operation: 16+63=79 Exploring Operation: 16+55=71, Resulting Numbers: [2, 63, 71] Generated Node #0,1: 75:[2, 63, 71] Operation: 16+55=71 Exploring Operation: 63-55=8, Resulting Numbers: [16, 2, 8] Generated Node #0,2: 75:[16, 2, 8] Operation: 63-55=8 Exploring Operation: 55-16=39, Resulting Numbers: [2, 63, 39] Generated Node #0,3: 75:[2, 63, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[16, 2, 8], Operations: ['63-55=8'] Exploring Operation: 16+8=24, Resulting Numbers: [2, 24] Generated Node #0,2,0: 75:[2, 24] Operation: 16+8=24 Exploring Operation: 8-2=6, Resulting Numbers: [16, 6] Generated Node #0,2,1: 75:[16, 6] Operation: 8-2=6 Exploring Operation: 16/8=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 75:[2, 2] Operation: 16/8=2 Exploring Operation: 2*8=16, Resulting Numbers: [16, 16] Generated Node #0,2,3: 75:[16, 16] Operation: 2*8=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[2, 24], Operations: ['63-55=8', '16+8=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[16, 6], Operations: ['63-55=8', '8-2=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[2, 2], Operations: ['63-55=8', '16/8=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[16, 16], Operations: ['63-55=8', '2*8=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[2, 63, 71], Operations: ['16+55=71'] Exploring Operation: 2+63=65, Resulting Numbers: [71, 65] Generated Node #0,1,0: 75:[71, 65] Operation: 2+63=65 Exploring Operation: 63-2=61, Resulting Numbers: [71, 61] Generated Node #0,1,1: 75:[71, 61] Operation: 63-2=61 Exploring Operation: 71-63=8, Resulting Numbers: [2, 8] Generated Node #0,1,2: 75:[2, 8] Operation: 71-63=8 Exploring Operation: 2+71=73, Resulting Numbers: [63, 73] Generated Node #0,1,3: 75:[63, 73] Operation: 2+71=73 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[2, 8], Operations: ['16+55=71', '71-63=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[71, 65], Operations: ['16+55=71', '2+63=65'] Exploring Operation: 71+65=136, Resulting Numbers: [136] 136,75 unequal: No Solution Exploring Operation: 71*65=4615, Resulting Numbers: [4615] 4615,75 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[63, 73], Operations: ['16+55=71', '2+71=73'] Exploring Operation: 63+73=136, Resulting Numbers: [136] 136,75 unequal: No Solution Exploring Operation: 73-63=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 63*73=4599, Resulting Numbers: [4599] 4599,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[71, 61], Operations: ['16+55=71', '63-2=61'] Exploring Operation: 71+61=132, Resulting Numbers: [132] 132,75 unequal: No Solution Exploring Operation: 71*61=4331, Resulting Numbers: [4331] 4331,75 unequal: No Solution Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[2, 55, 79], Operations: ['16+63=79'] Exploring Operation: 2+55=57, Resulting Numbers: [79, 57] Generated Node #0,0,0: 75:[79, 57] Operation: 2+55=57 Exploring Operation: 79-2=77, Resulting Numbers: [55, 77] Generated Node #0,0,1: 75:[55, 77] Operation: 79-2=77 Exploring Operation: 55-2=53, Resulting Numbers: [79, 53] Generated Node #0,0,2: 75:[79, 53] Operation: 55-2=53 Exploring Operation: 79-55=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 75:[2, 24] Operation: 79-55=24 Moving to Node #0,0,3 Current State: 75:[2, 24], Operations: ['16+63=79', '79-55=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[55, 77], Operations: ['16+63=79', '79-2=77'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,75 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[79, 57], Operations: ['16+63=79', '2+55=57'] Exploring Operation: 79*57=4503, Resulting Numbers: [4503] 4503,75 unequal: No Solution Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[79, 53], Operations: ['16+63=79', '55-2=53'] Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 79+53=132, Resulting Numbers: [132] 132,75 unequal: No Solution Exploring Operation: 79*53=4187, Resulting Numbers: [4187] 4187,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[2, 63, 39], Operations: ['55-16=39'] Exploring Operation: 2+63=65, Resulting Numbers: [39, 65] Generated Node #0,3,0: 75:[39, 65] Operation: 2+63=65 Exploring Operation: 39-2=37, Resulting Numbers: [63, 37] Generated Node #0,3,1: 75:[63, 37] Operation: 39-2=37 Exploring Operation: 2*39=78, Resulting Numbers: [63, 78] Generated Node #0,3,2: 75:[63, 78] Operation: 2*39=78 Exploring Operation: 63-39=24, Resulting Numbers: [2, 24] Generated Node #0,3,3: 75:[2, 24] Operation: 63-39=24 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[2, 24], Operations: ['55-16=39', '63-39=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 75:[63, 78], Operations: ['55-16=39', '2*39=78'] Exploring Operation: 63*78=4914, Resulting Numbers: [4914] 4914,75 unequal: No Solution Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 63+78=141, Resulting Numbers: [141] 141,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 75:[39, 65], Operations: ['55-16=39', '2+63=65'] Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,75 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[63, 37], Operations: ['55-16=39', '39-2=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 5, 85, 26, 35 ]
15
[ "5*85=425", "425-35=390", "390/26=15" ]
Current State: 15:[5, 85, 26, 35], Operations: [] Exploring Operation: 5*85=425, Resulting Numbers: [26, 35, 425] Generated Node #2: [26, 35, 425] from Operation: 5*85=425 Current State: 15:[26, 35, 425], Operations: ['5*85=425'] Exploring Operation: 425-35=390, Resulting Numbers: [26, 390] Generated Node #3: [26, 390] from Operation: 425-35=390 Current State: 15:[26, 390], Operations: ['5*85=425', '425-35=390'] Exploring Operation: 390/26=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[5, 85, 26, 35], Operations: [] Exploring Operation: 85-35=50, Resulting Numbers: [5, 26, 50] Generated Node #0,0: 15:[5, 26, 50] Operation: 85-35=50 Exploring Operation: 35-26=9, Resulting Numbers: [5, 85, 9] Generated Node #0,1: 15:[5, 85, 9] Operation: 35-26=9 Exploring Operation: 35/5=7, Resulting Numbers: [85, 26, 7] Generated Node #0,2: 15:[85, 26, 7] Operation: 35/5=7 Exploring Operation: 85-26=59, Resulting Numbers: [5, 35, 59] Generated Node #0,3: 15:[5, 35, 59] Operation: 85-26=59 Exploring Operation: 85/5=17, Resulting Numbers: [26, 35, 17] Generated Node #0,4: 15:[26, 35, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[26, 35, 17], Operations: ['85/5=17'] Exploring Operation: 35-17=18, Resulting Numbers: [26, 18] Generated Node #0,4,0: 15:[26, 18] Operation: 35-17=18 Exploring Operation: 26-17=9, Resulting Numbers: [35, 9] Generated Node #0,4,1: 15:[35, 9] Operation: 26-17=9 Exploring Operation: 26+17=43, Resulting Numbers: [35, 43] Generated Node #0,4,2: 15:[35, 43] Operation: 26+17=43 Exploring Operation: 35-26=9, Resulting Numbers: [17, 9] Generated Node #0,4,3: 15:[17, 9] Operation: 35-26=9 Exploring Operation: 26+35=61, Resulting Numbers: [17, 61] Generated Node #0,4,4: 15:[17, 61] Operation: 26+35=61 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 15:[17, 9], Operations: ['85/5=17', '35-26=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,15 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 15:[26, 18], Operations: ['85/5=17', '35-17=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,15 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 15:[35, 9], Operations: ['85/5=17', '26-17=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 15:[35, 43], Operations: ['85/5=17', '26+17=43'] Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,15 unequal: No Solution Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 15:[17, 61], Operations: ['85/5=17', '26+35=61'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,15 unequal: No Solution Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[5, 26, 50], Operations: ['85-35=50'] Exploring Operation: 50-26=24, Resulting Numbers: [5, 24] Generated Node #0,0,0: 15:[5, 24] Operation: 50-26=24 Exploring Operation: 50/5=10, Resulting Numbers: [26, 10] Generated Node #0,0,1: 15:[26, 10] Operation: 50/5=10 Exploring Operation: 50-5=45, Resulting Numbers: [26, 45] Generated Node #0,0,2: 15:[26, 45] Operation: 50-5=45 Exploring Operation: 26-5=21, Resulting Numbers: [50, 21] Generated Node #0,0,3: 15:[50, 21] Operation: 26-5=21 Exploring Operation: 5+26=31, Resulting Numbers: [50, 31] Generated Node #0,0,4: 15:[50, 31] Operation: 5+26=31 Moving to Node #0,0,0 Current State: 15:[5, 24], Operations: ['85-35=50', '50-26=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,15 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[26, 10], Operations: ['85-35=50', '50/5=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[26, 45], Operations: ['85-35=50', '50-5=45'] Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,15 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[50, 21], Operations: ['85-35=50', '26-5=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[50, 31], Operations: ['85-35=50', '5+26=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[5, 35, 59], Operations: ['85-26=59'] Exploring Operation: 35-5=30, Resulting Numbers: [59, 30] Generated Node #0,3,0: 15:[59, 30] Operation: 35-5=30 Exploring Operation: 59-5=54, Resulting Numbers: [35, 54] Generated Node #0,3,1: 15:[35, 54] Operation: 59-5=54 Exploring Operation: 5+35=40, Resulting Numbers: [59, 40] Generated Node #0,3,2: 15:[59, 40] Operation: 5+35=40 Exploring Operation: 59-35=24, Resulting Numbers: [5, 24] Generated Node #0,3,3: 15:[5, 24] Operation: 59-35=24 Exploring Operation: 35/5=7, Resulting Numbers: [59, 7] Generated Node #0,3,4: 15:[59, 7] Operation: 35/5=7 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 15:[5, 24], Operations: ['85-26=59', '59-35=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 15:[59, 7], Operations: ['85-26=59', '35/5=7'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[59, 30], Operations: ['85-26=59', '35-5=30'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,15 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 15:[35, 54], Operations: ['85-26=59', '59-5=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[59, 40], Operations: ['85-26=59', '5+35=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,15 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,15 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[5, 85, 9], Operations: ['35-26=9'] Exploring Operation: 85-9=76, Resulting Numbers: [5, 76] Generated Node #0,1,0: 15:[5, 76] Operation: 85-9=76 Exploring Operation: 85/5=17, Resulting Numbers: [9, 17] Generated Node #0,1,1: 15:[9, 17] Operation: 85/5=17 Exploring Operation: 85-5=80, Resulting Numbers: [9, 80] Generated Node #0,1,2: 15:[9, 80] Operation: 85-5=80 Exploring Operation: 9-5=4, Resulting Numbers: [85, 4] Generated Node #0,1,3: 15:[85, 4] Operation: 9-5=4 Exploring Operation: 5+9=14, Resulting Numbers: [85, 14] Generated Node #0,1,4: 15:[85, 14] Operation: 5+9=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[9, 17], Operations: ['35-26=9', '85/5=17'] Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,15 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[5, 76], Operations: ['35-26=9', '85-9=76'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,15 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[9, 80], Operations: ['35-26=9', '85-5=80'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[85, 4], Operations: ['35-26=9', '9-5=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,15 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 15:[85, 14], Operations: ['35-26=9', '5+9=14'] Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,15 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[85, 26, 7], Operations: ['35/5=7'] Exploring Operation: 85-7=78, Resulting Numbers: [26, 78] Generated Node #0,2,0: 15:[26, 78] Operation: 85-7=78 Exploring Operation: 85+7=92, Resulting Numbers: [26, 92] Generated Node #0,2,1: 15:[26, 92] Operation: 85+7=92 Exploring Operation: 85-26=59, Resulting Numbers: [7, 59] Generated Node #0,2,2: 15:[7, 59] Operation: 85-26=59 Exploring Operation: 26-7=19, Resulting Numbers: [85, 19] Generated Node #0,2,3: 15:[85, 19] Operation: 26-7=19 Exploring Operation: 26+7=33, Resulting Numbers: [85, 33] Generated Node #0,2,4: 15:[85, 33] Operation: 26+7=33 Moving to Node #0,2,2 Current State: 15:[7, 59], Operations: ['35/5=7', '85-26=59'] Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 7*59=413, Resulting Numbers: [413] 413,15 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[85, 19], Operations: ['35/5=7', '26-7=19'] Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,15 unequal: No Solution Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[26, 78], Operations: ['35/5=7', '85-7=78'] Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 26+78=104, Resulting Numbers: [104] 104,15 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 26*78=2028, Resulting Numbers: [2028] 2028,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[26, 92], Operations: ['35/5=7', '85+7=92'] Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 26*92=2392, Resulting Numbers: [2392] 2392,15 unequal: No Solution Exploring Operation: 26+92=118, Resulting Numbers: [118] 118,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[85, 33], Operations: ['35/5=7', '26+7=33'] Exploring Operation: 85-33=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 85+33=118, Resulting Numbers: [118] 118,15 unequal: No Solution Exploring Operation: 85*33=2805, Resulting Numbers: [2805] 2805,15 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
[ 32, 83, 13, 68 ]
60
[ "32+83=115", "68-13=55", "115-55=60" ]
Current State: 60:[32, 83, 13, 68], Operations: [] Exploring Operation: 32+83=115, Resulting Numbers: [13, 68, 115] Generated Node #2: [13, 68, 115] from Operation: 32+83=115 Current State: 60:[13, 68, 115], Operations: ['32+83=115'] Exploring Operation: 68-13=55, Resulting Numbers: [115, 55] Generated Node #3: [115, 55] from Operation: 68-13=55 Current State: 60:[115, 55], Operations: ['32+83=115', '68-13=55'] Exploring Operation: 115-55=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[32, 83, 13, 68], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [32, 13, 15] Generated Node #0,0: 60:[32, 13, 15] Operation: 83-68=15 Exploring Operation: 68-32=36, Resulting Numbers: [83, 13, 36] Generated Node #0,1: 60:[83, 13, 36] Operation: 68-32=36 Exploring Operation: 83-13=70, Resulting Numbers: [32, 68, 70] Generated Node #0,2: 60:[32, 68, 70] Operation: 83-13=70 Exploring Operation: 83-32=51, Resulting Numbers: [13, 68, 51] Generated Node #0,3: 60:[13, 68, 51] Operation: 83-32=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[32, 13, 15], Operations: ['83-68=15'] Exploring Operation: 15-13=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 60:[32, 2] Operation: 15-13=2 Exploring Operation: 32-15=17, Resulting Numbers: [13, 17] Generated Node #0,0,1: 60:[13, 17] Operation: 32-15=17 Exploring Operation: 32-13=19, Resulting Numbers: [15, 19] Generated Node #0,0,2: 60:[15, 19] Operation: 32-13=19 Exploring Operation: 13+15=28, Resulting Numbers: [32, 28] Generated Node #0,0,3: 60:[32, 28] Operation: 13+15=28 Moving to Node #0,0,2 Current State: 60:[15, 19], Operations: ['83-68=15', '32-13=19'] Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,60 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[32, 2], Operations: ['83-68=15', '15-13=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[13, 17], Operations: ['83-68=15', '32-15=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[32, 28], Operations: ['83-68=15', '13+15=28'] Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[32, 83, 13, 68], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [32, 13, 15] Generated Node #0,0: 60:[32, 13, 15] Operation: 83-68=15 Moving to Node #0,0 Current State: 60:[32, 13, 15], Operations: ['83-68=15'] Exploring Operation: 13+15=28, Resulting Numbers: [32, 28] Generated Node #0,0,3: 60:[32, 28] Operation: 13+15=28 Moving to Node #0,0,3 Current State: 60:[32, 28], Operations: ['83-68=15', '13+15=28'] Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 89, 82, 66, 67 ]
79
[ "89-67=22", "66/22=3", "82-3=79" ]
Current State: 79:[89, 82, 66, 67], Operations: [] Exploring Operation: 89-67=22, Resulting Numbers: [82, 66, 22] Generated Node #2: [82, 66, 22] from Operation: 89-67=22 Current State: 79:[82, 66, 22], Operations: ['89-67=22'] Exploring Operation: 66/22=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 66/22=3 Current State: 79:[82, 3], Operations: ['89-67=22', '66/22=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[89, 82, 66, 67], Operations: [] Exploring Operation: 89-67=22, Resulting Numbers: [82, 66, 22] Generated Node #0,0: 79:[82, 66, 22] Operation: 89-67=22 Exploring Operation: 82-66=16, Resulting Numbers: [89, 67, 16] Generated Node #0,1: 79:[89, 67, 16] Operation: 82-66=16 Exploring Operation: 66+67=133, Resulting Numbers: [89, 82, 133] Generated Node #0,2: 79:[89, 82, 133] Operation: 66+67=133 Exploring Operation: 89-66=23, Resulting Numbers: [82, 67, 23] Generated Node #0,3: 79:[82, 67, 23] Operation: 89-66=23 Moving to Node #0,2 Current State: 79:[89, 82, 133], Operations: ['66+67=133'] Exploring Operation: 133-89=44, Resulting Numbers: [82, 44] Generated Node #0,2,0: 79:[82, 44] Operation: 133-89=44 Exploring Operation: 89-82=7, Resulting Numbers: [133, 7] Generated Node #0,2,1: 79:[133, 7] Operation: 89-82=7 Exploring Operation: 133-82=51, Resulting Numbers: [89, 51] Generated Node #0,2,2: 79:[89, 51] Operation: 133-82=51 Exploring Operation: 89+82=171, Resulting Numbers: [133, 171] Generated Node #0,2,3: 79:[133, 171] Operation: 89+82=171 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[82, 44], Operations: ['66+67=133', '133-89=44'] Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 82*44=3608, Resulting Numbers: [3608] 3608,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[89, 51], Operations: ['66+67=133', '133-82=51'] Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,79 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[133, 7], Operations: ['66+67=133', '89-82=7'] Exploring Operation: 133*7=931, Resulting Numbers: [931] 931,79 unequal: No Solution Exploring Operation: 133/7=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 133-7=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 133+7=140, Resulting Numbers: [140] 140,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[133, 171], Operations: ['66+67=133', '89+82=171'] Exploring Operation: 133*171=22743, Resulting Numbers: [22743] 22743,79 unequal: No Solution Exploring Operation: 133+171=304, Resulting Numbers: [304] 304,79 unequal: No Solution Exploring Operation: 171-133=38, Resulting Numbers: [38] 38,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 79:[82, 67, 23], Operations: ['89-66=23'] Exploring Operation: 82-23=59, Resulting Numbers: [67, 59] Generated Node #0,3,0: 79:[67, 59] Operation: 82-23=59 Exploring Operation: 82+23=105, Resulting Numbers: [67, 105] Generated Node #0,3,1: 79:[67, 105] Operation: 82+23=105 Exploring Operation: 67-23=44, Resulting Numbers: [82, 44] Generated Node #0,3,2: 79:[82, 44] Operation: 67-23=44 Exploring Operation: 67+23=90, Resulting Numbers: [82, 90] Generated Node #0,3,3: 79:[82, 90] Operation: 67+23=90 Moving to Node #0,0 Current State: 79:[82, 66, 22], Operations: ['89-67=22'] Exploring Operation: 66+22=88, Resulting Numbers: [82, 88] Generated Node #0,0,0: 79:[82, 88] Operation: 66+22=88 Exploring Operation: 82+22=104, Resulting Numbers: [66, 104] Generated Node #0,0,1: 79:[66, 104] Operation: 82+22=104 Exploring Operation: 82-22=60, Resulting Numbers: [66, 60] Generated Node #0,0,2: 79:[66, 60] Operation: 82-22=60 Exploring Operation: 66-22=44, Resulting Numbers: [82, 44] Generated Node #0,0,3: 79:[82, 44] Operation: 66-22=44 Moving to Node #0,1 Current State: 79:[89, 67, 16], Operations: ['82-66=16'] Exploring Operation: 89-16=73, Resulting Numbers: [67, 73] Generated Node #0,1,0: 79:[67, 73] Operation: 89-16=73 Exploring Operation: 89+16=105, Resulting Numbers: [67, 105] Generated Node #0,1,1: 79:[67, 105] Operation: 89+16=105 Exploring Operation: 67-16=51, Resulting Numbers: [89, 51] Generated Node #0,1,2: 79:[89, 51] Operation: 67-16=51 Exploring Operation: 67+16=83, Resulting Numbers: [89, 83] Generated Node #0,1,3: 79:[89, 83] Operation: 67+16=83 Moving to Node #0,0,0 Current State: 79:[82, 88], Operations: ['89-67=22', '66+22=88'] Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,79 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[82, 90], Operations: ['89-66=23', '67+23=90'] Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,79 unequal: No Solution Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,79 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[89, 83], Operations: ['82-66=16', '67+16=83'] Exploring Operation: 89+83=172, Resulting Numbers: [172] 172,79 unequal: No Solution Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 89*83=7387, Resulting Numbers: [7387] 7387,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[67, 73], Operations: ['82-66=16', '89-16=73'] Exploring Operation: 67+73=140, Resulting Numbers: [140] 140,79 unequal: No Solution Exploring Operation: 67*73=4891, Resulting Numbers: [4891] 4891,79 unequal: No Solution Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[66, 60], Operations: ['89-67=22', '82-22=60'] Exploring Operation: 66+60=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 66*60=3960, Resulting Numbers: [3960] 3960,79 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[67, 59], Operations: ['89-66=23', '82-23=59'] Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,79 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[66, 104], Operations: ['89-67=22', '82+22=104'] Exploring Operation: 66+104=170, Resulting Numbers: [170] 170,79 unequal: No Solution Exploring Operation: 104-66=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 66*104=6864, Resulting Numbers: [6864] 6864,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[67, 105], Operations: ['89-66=23', '82+23=105'] Exploring Operation: 67*105=7035, Resulting Numbers: [7035] 7035,79 unequal: No Solution Exploring Operation: 67+105=172, Resulting Numbers: [172] 172,79 unequal: No Solution Exploring Operation: 105-67=38, Resulting Numbers: [38] 38,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[89, 51], Operations: ['82-66=16', '67-16=51'] Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,79 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[82, 44], Operations: ['89-67=22', '66-22=44'] Exploring Operation: 82*44=3608, Resulting Numbers: [3608] 3608,79 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[67, 105], Operations: ['82-66=16', '89+16=105'] Exploring Operation: 67+105=172, Resulting Numbers: [172] 172,79 unequal: No Solution Exploring Operation: 105-67=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 67*105=7035, Resulting Numbers: [7035] 7035,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[82, 44], Operations: ['89-66=23', '67-23=44'] Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 82*44=3608, Resulting Numbers: [3608] 3608,79 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,79 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 83, 3, 37, 39 ]
95
[ "83-39=44", "3*44=132", "132-37=95" ]
Current State: 95:[83, 3, 37, 39], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [3, 37, 44] Generated Node #2: [3, 37, 44] from Operation: 83-39=44 Current State: 95:[3, 37, 44], Operations: ['83-39=44'] Exploring Operation: 3*44=132, Resulting Numbers: [37, 132] Generated Node #3: [37, 132] from Operation: 3*44=132 Current State: 95:[37, 132], Operations: ['83-39=44', '3*44=132'] Exploring Operation: 132-37=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[83, 3, 37, 39], Operations: [] Exploring Operation: 37+39=76, Resulting Numbers: [83, 3, 76] Generated Node #0,0: 95:[83, 3, 76] Operation: 37+39=76 Exploring Operation: 39-37=2, Resulting Numbers: [83, 3, 2] Generated Node #0,1: 95:[83, 3, 2] Operation: 39-37=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[83, 3, 2], Operations: ['39-37=2'] Exploring Operation: 83+2=85, Resulting Numbers: [3, 85] Generated Node #0,1,0: 95:[3, 85] Operation: 83+2=85 Exploring Operation: 83+3=86, Resulting Numbers: [2, 86] Generated Node #0,1,1: 95:[2, 86] Operation: 83+3=86 Moving to Node #0,1,0 Current State: 95:[3, 85], Operations: ['39-37=2', '83+2=85'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[2, 86], Operations: ['39-37=2', '83+3=86'] Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[83, 3, 76], Operations: ['37+39=76'] Exploring Operation: 83+3=86, Resulting Numbers: [76, 86] Generated Node #0,0,0: 95:[76, 86] Operation: 83+3=86 Exploring Operation: 83-76=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 95:[3, 7] Operation: 83-76=7 Moving to Node #0,0,1 Current State: 95:[3, 7], Operations: ['37+39=76', '83-76=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[76, 86], Operations: ['37+39=76', '83+3=86'] Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 76+86=162, Resulting Numbers: [162] 162,95 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, 74, 67, 3 ]
59
[ "74-63=11", "67+3=70", "70-11=59" ]
Current State: 59:[63, 74, 67, 3], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [67, 3, 11] Generated Node #2: [67, 3, 11] from Operation: 74-63=11 Current State: 59:[67, 3, 11], Operations: ['74-63=11'] Exploring Operation: 67+3=70, Resulting Numbers: [11, 70] Generated Node #3: [11, 70] from Operation: 67+3=70 Current State: 59:[11, 70], Operations: ['74-63=11', '67+3=70'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[63, 74, 67, 3], Operations: [] Exploring Operation: 63-3=60, Resulting Numbers: [74, 67, 60] Generated Node #0,0: 59:[74, 67, 60] Operation: 63-3=60 Exploring Operation: 74-3=71, Resulting Numbers: [63, 67, 71] Generated Node #0,1: 59:[63, 67, 71] Operation: 74-3=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[74, 67, 60], Operations: ['63-3=60'] Exploring Operation: 74-60=14, Resulting Numbers: [67, 14] Generated Node #0,0,0: 59:[67, 14] Operation: 74-60=14 Exploring Operation: 74-67=7, Resulting Numbers: [60, 7] Generated Node #0,0,1: 59:[60, 7] Operation: 74-67=7 Moving to Node #0,0,0 Current State: 59:[67, 14], Operations: ['63-3=60', '74-60=14'] Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[60, 7], Operations: ['63-3=60', '74-67=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[63, 67, 71], Operations: ['74-3=71'] Exploring Operation: 71-67=4, Resulting Numbers: [63, 4] Generated Node #0,1,0: 59:[63, 4] Operation: 71-67=4 Exploring Operation: 71-63=8, Resulting Numbers: [67, 8] Generated Node #0,1,1: 59:[67, 8] Operation: 71-63=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[63, 4], Operations: ['74-3=71', '71-67=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[63, 74, 67, 3], Operations: [] Exploring Operation: 74-3=71, Resulting Numbers: [63, 67, 71] Generated Node #0,1: 59:[63, 67, 71] Operation: 74-3=71 Moving to Node #0,1 Current State: 59:[63, 67, 71], Operations: ['74-3=71'] Exploring Operation: 71-67=4, Resulting Numbers: [63, 4] Generated Node #0,1,0: 59:[63, 4] Operation: 71-67=4 Moving to Node #0,1,0 Current State: 59:[63, 4], Operations: ['74-3=71', '71-67=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 91, 88, 80, 93 ]
55
[ "91-80=11", "93-88=5", "11*5=55" ]
Current State: 55:[91, 88, 80, 93], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [88, 93, 11] Generated Node #2: [88, 93, 11] from Operation: 91-80=11 Current State: 55:[88, 93, 11], Operations: ['91-80=11'] Exploring Operation: 93-88=5, Resulting Numbers: [11, 5] Generated Node #3: [11, 5] from Operation: 93-88=5 Current State: 55:[11, 5], Operations: ['91-80=11', '93-88=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[91, 88, 80, 93], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [88, 80, 2] Generated Node #0,0: 55:[88, 80, 2] Operation: 93-91=2 Exploring Operation: 93-88=5, Resulting Numbers: [91, 80, 5] Generated Node #0,1: 55:[91, 80, 5] Operation: 93-88=5 Moving to Node #0,0 Current State: 55:[88, 80, 2], Operations: ['93-91=2'] Exploring Operation: 88/2=44, Resulting Numbers: [80, 44] Generated Node #0,0,0: 55:[80, 44] Operation: 88/2=44 Exploring Operation: 88-80=8, Resulting Numbers: [2, 8] Generated Node #0,0,1: 55:[2, 8] Operation: 88-80=8 Moving to Node #0,1 Current State: 55:[91, 80, 5], Operations: ['93-88=5'] Exploring Operation: 80/5=16, Resulting Numbers: [91, 16] Generated Node #0,1,0: 55:[91, 16] Operation: 80/5=16 Exploring Operation: 91-80=11, Resulting Numbers: [5, 11] Generated Node #0,1,1: 55:[5, 11] Operation: 91-80=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[5, 11], Operations: ['93-88=5', '91-80=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:[91, 88, 80, 93], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [91, 80, 5] Generated Node #0,1: 55:[91, 80, 5] Operation: 93-88=5 Moving to Node #0,1 Current State: 55:[91, 80, 5], Operations: ['93-88=5'] Exploring Operation: 91-80=11, Resulting Numbers: [5, 11] Generated Node #0,1,1: 55:[5, 11] Operation: 91-80=11 Moving to Node #0,1,1 Current State: 55:[5, 11], Operations: ['93-88=5', '91-80=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 86, 30, 17, 23 ]
27
[ "86-17=69", "69/23=3", "30-3=27" ]
Current State: 27:[86, 30, 17, 23], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [30, 23, 69] Generated Node #2: [30, 23, 69] from Operation: 86-17=69 Current State: 27:[30, 23, 69], Operations: ['86-17=69'] Exploring Operation: 69/23=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 69/23=3 Current State: 27:[30, 3], Operations: ['86-17=69', '69/23=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[86, 30, 17, 23], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [17, 23, 56] Generated Node #0,0: 27:[17, 23, 56] Operation: 86-30=56 Exploring Operation: 86-17=69, Resulting Numbers: [30, 23, 69] Generated Node #0,1: 27:[30, 23, 69] Operation: 86-17=69 Exploring Operation: 86-23=63, Resulting Numbers: [30, 17, 63] Generated Node #0,2: 27:[30, 17, 63] Operation: 86-23=63 Moving to Node #0,0 Current State: 27:[17, 23, 56], Operations: ['86-30=56'] Exploring Operation: 56-17=39, Resulting Numbers: [23, 39] Generated Node #0,0,0: 27:[23, 39] Operation: 56-17=39 Exploring Operation: 56-23=33, Resulting Numbers: [17, 33] Generated Node #0,0,1: 27:[17, 33] Operation: 56-23=33 Exploring Operation: 23-17=6, Resulting Numbers: [56, 6] Generated Node #0,0,2: 27:[56, 6] Operation: 23-17=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[17, 33], Operations: ['86-30=56', '56-23=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,27 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,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:[23, 39], Operations: ['86-30=56', '56-17=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,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:[56, 6], Operations: ['86-30=56', '23-17=6'] Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,27 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,27 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: 27:[30, 17, 63], Operations: ['86-23=63'] Exploring Operation: 63-30=33, Resulting Numbers: [17, 33] Generated Node #0,2,0: 27:[17, 33] Operation: 63-30=33 Exploring Operation: 30-17=13, Resulting Numbers: [63, 13] Generated Node #0,2,1: 27:[63, 13] Operation: 30-17=13 Exploring Operation: 63-17=46, Resulting Numbers: [30, 46] Generated Node #0,2,2: 27:[30, 46] Operation: 63-17=46 Moving to Node #0,1 Current State: 27:[30, 23, 69], Operations: ['86-17=69'] Exploring Operation: 69/23=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 27:[30, 3] Operation: 69/23=3 Exploring Operation: 69-23=46, Resulting Numbers: [30, 46] Generated Node #0,1,1: 27:[30, 46] Operation: 69-23=46 Exploring Operation: 69-30=39, Resulting Numbers: [23, 39] Generated Node #0,1,2: 27:[23, 39] Operation: 69-30=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[30, 3], Operations: ['86-17=69', '69/23=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[86, 30, 17, 23], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [30, 23, 69] Generated Node #0,1: 27:[30, 23, 69] Operation: 86-17=69 Moving to Node #0,1 Current State: 27:[30, 23, 69], Operations: ['86-17=69'] Exploring Operation: 69/23=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 27:[30, 3] Operation: 69/23=3 Moving to Node #0,1,0 Current State: 27:[30, 3], Operations: ['86-17=69', '69/23=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 85, 70, 99, 92 ]
97
[ "99-85=14", "70/14=5", "92+5=97" ]
Current State: 97:[85, 70, 99, 92], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [70, 92, 14] Generated Node #2: [70, 92, 14] from Operation: 99-85=14 Current State: 97:[70, 92, 14], Operations: ['99-85=14'] Exploring Operation: 70/14=5, Resulting Numbers: [92, 5] Generated Node #3: [92, 5] from Operation: 70/14=5 Current State: 97:[92, 5], Operations: ['99-85=14', '70/14=5'] Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[85, 70, 99, 92], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [85, 92, 29] Generated Node #0,0: 97:[85, 92, 29] Operation: 99-70=29 Exploring Operation: 85-70=15, Resulting Numbers: [99, 92, 15] Generated Node #0,1: 97:[99, 92, 15] Operation: 85-70=15 Exploring Operation: 85+70=155, Resulting Numbers: [99, 92, 155] Generated Node #0,2: 97:[99, 92, 155] Operation: 85+70=155 Exploring Operation: 70+92=162, Resulting Numbers: [85, 99, 162] Generated Node #0,3: 97:[85, 99, 162] Operation: 70+92=162 Moving to Node #0,2 Current State: 97:[99, 92, 155], Operations: ['85+70=155'] Exploring Operation: 155-92=63, Resulting Numbers: [99, 63] Generated Node #0,2,0: 97:[99, 63] Operation: 155-92=63 Exploring Operation: 99+92=191, Resulting Numbers: [155, 191] Generated Node #0,2,1: 97:[155, 191] Operation: 99+92=191 Exploring Operation: 99-92=7, Resulting Numbers: [155, 7] Generated Node #0,2,2: 97:[155, 7] Operation: 99-92=7 Exploring Operation: 155-99=56, Resulting Numbers: [92, 56] Generated Node #0,2,3: 97:[92, 56] Operation: 155-99=56 Moving to Node #0,3 Current State: 97:[85, 99, 162], Operations: ['70+92=162'] Exploring Operation: 99-85=14, Resulting Numbers: [162, 14] Generated Node #0,3,0: 97:[162, 14] Operation: 99-85=14 Exploring Operation: 85+99=184, Resulting Numbers: [162, 184] Generated Node #0,3,1: 97:[162, 184] Operation: 85+99=184 Exploring Operation: 162-99=63, Resulting Numbers: [85, 63] Generated Node #0,3,2: 97:[85, 63] Operation: 162-99=63 Exploring Operation: 162-85=77, Resulting Numbers: [99, 77] Generated Node #0,3,3: 97:[99, 77] Operation: 162-85=77 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[99, 77], Operations: ['70+92=162', '162-85=77'] Exploring Operation: 99-77=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 99+77=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 99*77=7623, Resulting Numbers: [7623] 7623,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:[85, 63], Operations: ['70+92=162', '162-99=63'] Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,97 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,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,0 Current State: 97:[162, 14], Operations: ['70+92=162', '99-85=14'] Exploring Operation: 162+14=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 162-14=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 162*14=2268, Resulting Numbers: [2268] 2268,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:[162, 184], Operations: ['70+92=162', '85+99=184'] Exploring Operation: 184-162=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 162+184=346, Resulting Numbers: [346] 346,97 unequal: No Solution Exploring Operation: 162*184=29808, Resulting Numbers: [29808] 29808,97 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: 97:[85, 92, 29], Operations: ['99-70=29'] Exploring Operation: 85+29=114, Resulting Numbers: [92, 114] Generated Node #0,0,0: 97:[92, 114] Operation: 85+29=114 Exploring Operation: 92+29=121, Resulting Numbers: [85, 121] Generated Node #0,0,1: 97:[85, 121] Operation: 92+29=121 Exploring Operation: 85-29=56, Resulting Numbers: [92, 56] Generated Node #0,0,2: 97:[92, 56] Operation: 85-29=56 Exploring Operation: 92-29=63, Resulting Numbers: [85, 63] Generated Node #0,0,3: 97:[85, 63] Operation: 92-29=63 Moving to Node #0,1 Current State: 97:[99, 92, 15], Operations: ['85-70=15'] Exploring Operation: 99+15=114, Resulting Numbers: [92, 114] Generated Node #0,1,0: 97:[92, 114] Operation: 99+15=114 Exploring Operation: 99-15=84, Resulting Numbers: [92, 84] Generated Node #0,1,1: 97:[92, 84] Operation: 99-15=84 Exploring Operation: 92-15=77, Resulting Numbers: [99, 77] Generated Node #0,1,2: 97:[99, 77] Operation: 92-15=77 Exploring Operation: 92+15=107, Resulting Numbers: [99, 107] Generated Node #0,1,3: 97:[99, 107] Operation: 92+15=107 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[99, 107], Operations: ['85-70=15', '92+15=107'] Exploring Operation: 99+107=206, Resulting Numbers: [206] 206,97 unequal: No Solution Exploring Operation: 99*107=10593, Resulting Numbers: [10593] 10593,97 unequal: No Solution Exploring Operation: 107-99=8, Resulting Numbers: [8] 8,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,1 Current State: 97:[92, 84], Operations: ['85-70=15', '99-15=84'] Exploring Operation: 92*84=7728, Resulting Numbers: [7728] 7728,97 unequal: No Solution Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 92+84=176, Resulting Numbers: [176] 176,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:[92, 114], Operations: ['85-70=15', '99+15=114'] Exploring Operation: 92*114=10488, Resulting Numbers: [10488] 10488,97 unequal: No Solution Exploring Operation: 114-92=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 92+114=206, Resulting Numbers: [206] 206,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:[99, 77], Operations: ['85-70=15', '92-15=77'] Exploring Operation: 99-77=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 99+77=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 99*77=7623, Resulting Numbers: [7623] 7623,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 97:[92, 114], Operations: ['99-70=29', '85+29=114'] Exploring Operation: 92+114=206, Resulting Numbers: [206] 206,97 unequal: No Solution Exploring Operation: 92*114=10488, Resulting Numbers: [10488] 10488,97 unequal: No Solution Exploring Operation: 114-92=22, Resulting Numbers: [22] 22,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[85, 121], Operations: ['99-70=29', '92+29=121'] Exploring Operation: 121-85=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 85*121=10285, Resulting Numbers: [10285] 10285,97 unequal: No Solution Exploring Operation: 85+121=206, Resulting Numbers: [206] 206,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[99, 63], Operations: ['85+70=155', '155-92=63'] Exploring Operation: 99*63=6237, Resulting Numbers: [6237] 6237,97 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 99+63=162, Resulting Numbers: [162] 162,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[92, 56], Operations: ['99-70=29', '85-29=56'] Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 92*56=5152, Resulting Numbers: [5152] 5152,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[92, 56], Operations: ['85+70=155', '155-99=56'] Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 92*56=5152, Resulting Numbers: [5152] 5152,97 unequal: No Solution Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[85, 63], Operations: ['99-70=29', '92-29=63'] Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[155, 7], Operations: ['85+70=155', '99-92=7'] Exploring Operation: 155+7=162, Resulting Numbers: [162] 162,97 unequal: No Solution Exploring Operation: 155*7=1085, Resulting Numbers: [1085] 1085,97 unequal: No Solution Exploring Operation: 155-7=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[155, 191], Operations: ['85+70=155', '99+92=191'] Exploring Operation: 191-155=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 155*191=29605, Resulting Numbers: [29605] 29605,97 unequal: No Solution Exploring Operation: 155+191=346, Resulting Numbers: [346] 346,97 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 95, 45, 80, 38 ]
62
[ "45*38=1710", "1710/95=18", "80-18=62" ]
Current State: 62:[95, 45, 80, 38], Operations: [] Exploring Operation: 45*38=1710, Resulting Numbers: [95, 80, 1710] Generated Node #2: [95, 80, 1710] from Operation: 45*38=1710 Current State: 62:[95, 80, 1710], Operations: ['45*38=1710'] Exploring Operation: 1710/95=18, Resulting Numbers: [80, 18] Generated Node #3: [80, 18] from Operation: 1710/95=18 Current State: 62:[80, 18], Operations: ['45*38=1710', '1710/95=18'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[95, 45, 80, 38], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [45, 38, 15] Generated Node #0,0: 62:[45, 38, 15] Operation: 95-80=15 Exploring Operation: 95-38=57, Resulting Numbers: [45, 80, 57] Generated Node #0,1: 62:[45, 80, 57] Operation: 95-38=57 Exploring Operation: 95-45=50, Resulting Numbers: [80, 38, 50] Generated Node #0,2: 62:[80, 38, 50] Operation: 95-45=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[45, 38, 15], Operations: ['95-80=15'] Exploring Operation: 45-15=30, Resulting Numbers: [38, 30] Generated Node #0,0,0: 62:[38, 30] Operation: 45-15=30 Exploring Operation: 45/15=3, Resulting Numbers: [38, 3] Generated Node #0,0,1: 62:[38, 3] Operation: 45/15=3 Exploring Operation: 45+15=60, Resulting Numbers: [38, 60] Generated Node #0,0,2: 62:[38, 60] Operation: 45+15=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[38, 30], Operations: ['95-80=15', '45-15=30'] Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,62 unequal: No Solution Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[38, 3], Operations: ['95-80=15', '45/15=3'] Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,62 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[38, 60], Operations: ['95-80=15', '45+15=60'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 38*60=2280, Resulting Numbers: [2280] 2280,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[45, 80, 57], Operations: ['95-38=57'] Exploring Operation: 80-45=35, Resulting Numbers: [57, 35] Generated Node #0,1,0: 62:[57, 35] Operation: 80-45=35 Exploring Operation: 57-45=12, Resulting Numbers: [80, 12] Generated Node #0,1,1: 62:[80, 12] Operation: 57-45=12 Exploring Operation: 80-57=23, Resulting Numbers: [45, 23] Generated Node #0,1,2: 62:[45, 23] Operation: 80-57=23 Moving to Node #0,1,0 Current State: 62:[57, 35], Operations: ['95-38=57', '80-45=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[45, 23], Operations: ['95-38=57', '80-57=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,62 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[80, 12], Operations: ['95-38=57', '57-45=12'] Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,62 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,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 Current State: 62:[80, 38, 50], Operations: ['95-45=50'] Exploring Operation: 80-38=42, Resulting Numbers: [50, 42] Generated Node #0,2,0: 62:[50, 42] Operation: 80-38=42 Exploring Operation: 50-38=12, Resulting Numbers: [80, 12] Generated Node #0,2,1: 62:[80, 12] Operation: 50-38=12 Exploring Operation: 80-50=30, Resulting Numbers: [38, 30] Generated Node #0,2,2: 62:[38, 30] Operation: 80-50=30 Moving to Node #0,2,2 Current State: 62:[38, 30], Operations: ['95-45=50', '80-50=30'] Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,62 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[50, 42], Operations: ['95-45=50', '80-38=42'] Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[80, 12], Operations: ['95-45=50', '50-38=12'] Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,62 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 14, 39, 39, 67 ]
54
[ "67-14=53", "39/39=1", "53+1=54" ]
Current State: 54:[14, 39, 39, 67], Operations: [] Exploring Operation: 67-14=53, Resulting Numbers: [39, 39, 53] Generated Node #2: [39, 39, 53] from Operation: 67-14=53 Current State: 54:[39, 39, 53], Operations: ['67-14=53'] Exploring Operation: 39/39=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 39/39=1 Current State: 54:[53, 1], Operations: ['67-14=53', '39/39=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[14, 39, 39, 67], Operations: [] Exploring Operation: 67-14=53, Resulting Numbers: [39, 39, 53] Generated Node #0,0: 54:[39, 39, 53] Operation: 67-14=53 Exploring Operation: 39/39=1, Resulting Numbers: [14, 67, 1] Generated Node #0,1: 54:[14, 67, 1] Operation: 39/39=1 Exploring Operation: 39-39=0, Resulting Numbers: [14, 67, 0] Generated Node #0,2: 54:[14, 67, 0] Operation: 39-39=0 Exploring Operation: 67-39=28, Resulting Numbers: [14, 39, 28] Generated Node #0,3: 54:[14, 39, 28] Operation: 67-39=28 Exploring Operation: 67-39=28, Resulting Numbers: [14, 39, 28] Generated Node #0,4: 54:[14, 39, 28] Operation: 67-39=28 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[14, 39, 28], Operations: ['67-39=28'] Exploring Operation: 28/14=2, Resulting Numbers: [39, 2] Generated Node #0,3,0: 54:[39, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [39, 14] Generated Node #0,3,1: 54:[39, 14] Operation: 28-14=14 Exploring Operation: 39-28=11, Resulting Numbers: [14, 11] Generated Node #0,3,2: 54:[14, 11] Operation: 39-28=11 Exploring Operation: 39-14=25, Resulting Numbers: [28, 25] Generated Node #0,3,3: 54:[28, 25] Operation: 39-14=25 Exploring Operation: 14+39=53, Resulting Numbers: [28, 53] Generated Node #0,3,4: 54:[28, 53] Operation: 14+39=53 Moving to Node #0,3,4 Current State: 54:[28, 53], Operations: ['67-39=28', '14+39=53'] Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,54 unequal: No Solution Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,54 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[28, 25], Operations: ['67-39=28', '39-14=25'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[14, 11], Operations: ['67-39=28', '39-28=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,54 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[39, 2], Operations: ['67-39=28', '28/14=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,54 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,54 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[39, 14], Operations: ['67-39=28', '28-14=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,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 Current State: 54:[14, 39, 28], Operations: ['67-39=28'] Exploring Operation: 28/14=2, Resulting Numbers: [39, 2] Generated Node #0,4,0: 54:[39, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [39, 14] Generated Node #0,4,1: 54:[39, 14] Operation: 28-14=14 Exploring Operation: 14+39=53, Resulting Numbers: [28, 53] Generated Node #0,4,2: 54:[28, 53] Operation: 14+39=53 Exploring Operation: 39-14=25, Resulting Numbers: [28, 25] Generated Node #0,4,3: 54:[28, 25] Operation: 39-14=25 Exploring Operation: 39-28=11, Resulting Numbers: [14, 11] Generated Node #0,4,4: 54:[14, 11] Operation: 39-28=11 Moving to Node #0,4,2 Current State: 54:[28, 53], Operations: ['67-39=28', '14+39=53'] Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,54 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[28, 25], Operations: ['67-39=28', '39-14=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,54 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,4,4 Current State: 54:[14, 11], Operations: ['67-39=28', '39-28=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,54 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,4,0 Current State: 54:[39, 2], Operations: ['67-39=28', '28/14=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,54 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,54 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,54 unequal: No Solution Moving to Node #0,4,1 Current State: 54:[39, 14], Operations: ['67-39=28', '28-14=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[14, 67, 1], Operations: ['39/39=1'] Exploring Operation: 67-14=53, Resulting Numbers: [1, 53] Generated Node #0,1,0: 54:[1, 53] Operation: 67-14=53 Exploring Operation: 14*1=14, Resulting Numbers: [67, 14] Generated Node #0,1,1: 54:[67, 14] Operation: 14*1=14 Exploring Operation: 67-1=66, Resulting Numbers: [14, 66] Generated Node #0,1,2: 54:[14, 66] Operation: 67-1=66 Exploring Operation: 14-1=13, Resulting Numbers: [67, 13] Generated Node #0,1,3: 54:[67, 13] Operation: 14-1=13 Exploring Operation: 14+1=15, Resulting Numbers: [67, 15] Generated Node #0,1,4: 54:[67, 15] Operation: 14+1=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[1, 53], Operations: ['39/39=1', '67-14=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[14, 39, 39, 67], Operations: [] Exploring Operation: 39/39=1, Resulting Numbers: [14, 67, 1] Generated Node #0,1: 54:[14, 67, 1] Operation: 39/39=1 Moving to Node #0,1 Current State: 54:[14, 67, 1], Operations: ['39/39=1'] Exploring Operation: 67-14=53, Resulting Numbers: [1, 53] Generated Node #0,1,0: 54:[1, 53] Operation: 67-14=53 Moving to Node #0,1,0 Current State: 54:[1, 53], Operations: ['39/39=1', '67-14=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 72, 59, 61, 65 ]
49
[ "65-59=6", "72/6=12", "61-12=49" ]
Current State: 49:[72, 59, 61, 65], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [72, 61, 6] Generated Node #2: [72, 61, 6] from Operation: 65-59=6 Current State: 49:[72, 61, 6], Operations: ['65-59=6'] Exploring Operation: 72/6=12, Resulting Numbers: [61, 12] Generated Node #3: [61, 12] from Operation: 72/6=12 Current State: 49:[61, 12], Operations: ['65-59=6', '72/6=12'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[72, 59, 61, 65], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [59, 61, 7] Generated Node #0,0: 49:[59, 61, 7] Operation: 72-65=7 Moving to Node #0,0 Current State: 49:[59, 61, 7], Operations: ['72-65=7'] Exploring Operation: 61-59=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 49:[7, 2] Operation: 61-59=2 Moving to Node #0,0,0 Current State: 49:[7, 2], Operations: ['72-65=7', '61-59=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 6, 79, 63 ]
76
[ "11*6=66", "79+63=142", "142-66=76" ]
Current State: 76:[11, 6, 79, 63], Operations: [] Exploring Operation: 11*6=66, Resulting Numbers: [79, 63, 66] Generated Node #2: [79, 63, 66] from Operation: 11*6=66 Current State: 76:[79, 63, 66], Operations: ['11*6=66'] Exploring Operation: 79+63=142, Resulting Numbers: [66, 142] Generated Node #3: [66, 142] from Operation: 79+63=142 Current State: 76:[66, 142], Operations: ['11*6=66', '79+63=142'] Exploring Operation: 142-66=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[11, 6, 79, 63], Operations: [] Exploring Operation: 11-6=5, Resulting Numbers: [79, 63, 5] Generated Node #0,0: 76:[79, 63, 5] Operation: 11-6=5 Exploring Operation: 79-63=16, Resulting Numbers: [11, 6, 16] Generated Node #0,1: 76:[11, 6, 16] Operation: 79-63=16 Exploring Operation: 11+63=74, Resulting Numbers: [6, 79, 74] Generated Node #0,2: 76:[6, 79, 74] Operation: 11+63=74 Moving to Node #0,2 Current State: 76:[6, 79, 74], Operations: ['11+63=74'] Exploring Operation: 79-74=5, Resulting Numbers: [6, 5] Generated Node #0,2,0: 76:[6, 5] Operation: 79-74=5 Exploring Operation: 79-6=73, Resulting Numbers: [74, 73] Generated Node #0,2,1: 76:[74, 73] Operation: 79-6=73 Exploring Operation: 6+74=80, Resulting Numbers: [79, 80] Generated Node #0,2,2: 76:[79, 80] Operation: 6+74=80 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[6, 5], Operations: ['11+63=74', '79-74=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,76 unequal: No Solution No 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: 76:[74, 73], Operations: ['11+63=74', '79-6=73'] Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,76 unequal: No Solution Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,76 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,76 unequal: No Solution No 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: 76:[79, 80], Operations: ['11+63=74', '6+74=80'] Exploring Operation: 79+80=159, Resulting Numbers: [159] 159,76 unequal: No Solution Exploring Operation: 79*80=6320, Resulting Numbers: [6320] 6320,76 unequal: No Solution Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,76 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: 76:[11, 6, 16], Operations: ['79-63=16'] Exploring Operation: 11-6=5, Resulting Numbers: [16, 5] Generated Node #0,1,0: 76:[16, 5] Operation: 11-6=5 Exploring Operation: 11+6=17, Resulting Numbers: [16, 17] Generated Node #0,1,1: 76:[16, 17] Operation: 11+6=17 Exploring Operation: 16-11=5, Resulting Numbers: [6, 5] Generated Node #0,1,2: 76:[6, 5] Operation: 16-11=5 Moving to Node #0,0 Current State: 76:[79, 63, 5], Operations: ['11-6=5'] Exploring Operation: 79-63=16, Resulting Numbers: [5, 16] Generated Node #0,0,0: 76:[5, 16] Operation: 79-63=16 Exploring Operation: 63+5=68, Resulting Numbers: [79, 68] Generated Node #0,0,1: 76:[79, 68] Operation: 63+5=68 Exploring Operation: 79-5=74, Resulting Numbers: [63, 74] Generated Node #0,0,2: 76:[63, 74] Operation: 79-5=74 Moving to Node #0,1,2 Current State: 76:[6, 5], Operations: ['79-63=16', '16-11=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[16, 5], Operations: ['79-63=16', '11-6=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[5, 16], Operations: ['11-6=5', '79-63=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[16, 17], Operations: ['79-63=16', '11+6=17'] Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[79, 68], Operations: ['11-6=5', '63+5=68'] Exploring Operation: 79+68=147, Resulting Numbers: [147] 147,76 unequal: No Solution Exploring Operation: 79*68=5372, Resulting Numbers: [5372] 5372,76 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[63, 74], Operations: ['11-6=5', '79-5=74'] Exploring Operation: 63*74=4662, Resulting Numbers: [4662] 4662,76 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,76 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 99, 6, 61 ]
50
[ "6+99=105", "61-6=55", "105-55=50" ]
Current State: 50:[6, 99, 6, 61], Operations: [] Exploring Operation: 6+99=105, Resulting Numbers: [61, 105] Generated Node #2: [61, 105] from Operation: 6+99=105 Current State: 50:[61, 105], Operations: ['6+99=105'] Exploring Operation: 61-6=55, Resulting Numbers: [105, 55] Generated Node #3: [105, 55] from Operation: 61-6=55 Current State: 50:[105, 55], Operations: ['6+99=105', '61-6=55'] Exploring Operation: 105-55=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[6, 99, 6, 61], Operations: [] Exploring Operation: 99-6=93, Resulting Numbers: [6, 61, 93] Generated Node #0,0: 50:[6, 61, 93] Operation: 99-6=93 Exploring Operation: 99-61=38, Resulting Numbers: [6, 6, 38] Generated Node #0,1: 50:[6, 6, 38] Operation: 99-61=38 Moving to Node #0,1 Current State: 50:[6, 6, 38], Operations: ['99-61=38'] Exploring Operation: 6+38=44, Resulting Numbers: [6, 44] Generated Node #0,1,0: 50:[6, 44] Operation: 6+38=44 Exploring Operation: 6+38=44, Resulting Numbers: [6, 44] Generated Node #0,1,1: 50:[6, 44] Operation: 6+38=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[6, 44], Operations: ['99-61=38', '6+38=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[6, 99, 6, 61], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [6, 6, 38] Generated Node #0,1: 50:[6, 6, 38] Operation: 99-61=38 Moving to Node #0,1 Current State: 50:[6, 6, 38], Operations: ['99-61=38'] Exploring Operation: 6+38=44, Resulting Numbers: [6, 44] Generated Node #0,1,0: 50:[6, 44] Operation: 6+38=44 Moving to Node #0,1,0 Current State: 50:[6, 44], Operations: ['99-61=38', '6+38=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 85, 95, 67, 40 ]
71
[ "95-85=10", "40/10=4", "67+4=71" ]
Current State: 71:[85, 95, 67, 40], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [67, 40, 10] Generated Node #2: [67, 40, 10] from Operation: 95-85=10 Current State: 71:[67, 40, 10], Operations: ['95-85=10'] Exploring Operation: 40/10=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 40/10=4 Current State: 71:[67, 4], Operations: ['95-85=10', '40/10=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[85, 95, 67, 40], Operations: [] Exploring Operation: 95-40=55, Resulting Numbers: [85, 67, 55] Generated Node #0,0: 71:[85, 67, 55] Operation: 95-40=55 Moving to Node #0,0 Current State: 71:[85, 67, 55], Operations: ['95-40=55'] Exploring Operation: 85-55=30, Resulting Numbers: [67, 30] Generated Node #0,0,0: 71:[67, 30] Operation: 85-55=30 Moving to Node #0,0,0 Current State: 71:[67, 30], Operations: ['95-40=55', '85-55=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 70, 74, 37, 59 ]
92
[ "74-70=4", "37+59=96", "96-4=92" ]
Current State: 92:[70, 74, 37, 59], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [37, 59, 4] Generated Node #2: [37, 59, 4] from Operation: 74-70=4 Current State: 92:[37, 59, 4], Operations: ['74-70=4'] Exploring Operation: 37+59=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 37+59=96 Current State: 92:[4, 96], Operations: ['74-70=4', '37+59=96'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[70, 74, 37, 59], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [37, 59, 4] Generated Node #0,0: 92:[37, 59, 4] Operation: 74-70=4 Moving to Node #0,0 Current State: 92:[37, 59, 4], Operations: ['74-70=4'] Exploring Operation: 59-37=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 92:[4, 22] Operation: 59-37=22 Moving to Node #0,0,0 Current State: 92:[4, 22], Operations: ['74-70=4', '59-37=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,92 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 24, 26, 23, 12 ]
75
[ "24*26=624", "624/12=52", "23+52=75" ]
Current State: 75:[24, 26, 23, 12], Operations: [] Exploring Operation: 24*26=624, Resulting Numbers: [23, 12, 624] Generated Node #2: [23, 12, 624] from Operation: 24*26=624 Current State: 75:[23, 12, 624], Operations: ['24*26=624'] Exploring Operation: 624/12=52, Resulting Numbers: [23, 52] Generated Node #3: [23, 52] from Operation: 624/12=52 Current State: 75:[23, 52], Operations: ['24*26=624', '624/12=52'] Exploring Operation: 23+52=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[24, 26, 23, 12], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [26, 23, 2] Generated Node #0,0: 75:[26, 23, 2] Operation: 24/12=2 Exploring Operation: 26-23=3, Resulting Numbers: [24, 12, 3] Generated Node #0,1: 75:[24, 12, 3] Operation: 26-23=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[26, 23, 2], Operations: ['24/12=2'] Exploring Operation: 23+2=25, Resulting Numbers: [26, 25] Generated Node #0,0,0: 75:[26, 25] Operation: 23+2=25 Exploring Operation: 26-23=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 75:[2, 3] Operation: 26-23=3 Moving to Node #0,0,0 Current State: 75:[26, 25], Operations: ['24/12=2', '23+2=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[2, 3], Operations: ['24/12=2', '26-23=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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:[24, 12, 3], Operations: ['26-23=3'] Exploring Operation: 12+3=15, Resulting Numbers: [24, 15] Generated Node #0,1,0: 75:[24, 15] Operation: 12+3=15 Exploring Operation: 24/12=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 75:[3, 2] Operation: 24/12=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[24, 15], Operations: ['26-23=3', '12+3=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[3, 2], Operations: ['26-23=3', '24/12=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 20, 9, 40, 59 ]
31
[ "40+59=99", "99/9=11", "20+11=31" ]
Current State: 31:[20, 9, 40, 59], Operations: [] Exploring Operation: 40+59=99, Resulting Numbers: [20, 9, 99] Generated Node #2: [20, 9, 99] from Operation: 40+59=99 Current State: 31:[20, 9, 99], Operations: ['40+59=99'] Exploring Operation: 99/9=11, Resulting Numbers: [20, 11] Generated Node #3: [20, 11] from Operation: 99/9=11 Current State: 31:[20, 11], Operations: ['40+59=99', '99/9=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[20, 9, 40, 59], Operations: [] Exploring Operation: 20+9=29, Resulting Numbers: [40, 59, 29] Generated Node #0,0: 31:[40, 59, 29] Operation: 20+9=29 Exploring Operation: 59-20=39, Resulting Numbers: [9, 40, 39] Generated Node #0,1: 31:[9, 40, 39] Operation: 59-20=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[40, 59, 29], Operations: ['20+9=29'] Exploring Operation: 59-40=19, Resulting Numbers: [29, 19] Generated Node #0,0,0: 31:[29, 19] Operation: 59-40=19 Exploring Operation: 59-29=30, Resulting Numbers: [40, 30] Generated Node #0,0,1: 31:[40, 30] Operation: 59-29=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[40, 30], Operations: ['20+9=29', '59-29=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,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,0 Current State: 31:[29, 19], Operations: ['20+9=29', '59-40=19'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,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,1 Current State: 31:[9, 40, 39], Operations: ['59-20=39'] Exploring Operation: 39-9=30, Resulting Numbers: [40, 30] Generated Node #0,1,0: 31:[40, 30] Operation: 39-9=30 Exploring Operation: 40-9=31, Resulting Numbers: [39, 31] Generated Node #0,1,1: 31:[39, 31] Operation: 40-9=31 Moving to Node #0,1,1 Current State: 31:[39, 31], Operations: ['59-20=39', '40-9=31'] Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[40, 30], Operations: ['59-20=39', '39-9=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,31 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
[ 58, 35, 34, 15 ]
72
[ "58-35=23", "34+15=49", "23+49=72" ]
Current State: 72:[58, 35, 34, 15], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [34, 15, 23] Generated Node #2: [34, 15, 23] from Operation: 58-35=23 Current State: 72:[34, 15, 23], Operations: ['58-35=23'] Exploring Operation: 34+15=49, Resulting Numbers: [23, 49] Generated Node #3: [23, 49] from Operation: 34+15=49 Current State: 72:[23, 49], Operations: ['58-35=23', '34+15=49'] Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[58, 35, 34, 15], Operations: [] Exploring Operation: 58-34=24, Resulting Numbers: [35, 15, 24] Generated Node #0,0: 72:[35, 15, 24] Operation: 58-34=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[35, 15, 24], Operations: ['58-34=24'] Exploring Operation: 24-15=9, Resulting Numbers: [35, 9] Generated Node #0,0,0: 72:[35, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[35, 9], Operations: ['58-34=24', '24-15=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 13, 83, 26, 7 ]
78
[ "26/13=2", "83-7=76", "2+76=78" ]
Current State: 78:[13, 83, 26, 7], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [83, 7, 2] Generated Node #2: [83, 7, 2] from Operation: 26/13=2 Current State: 78:[83, 7, 2], Operations: ['26/13=2'] Exploring Operation: 83-7=76, Resulting Numbers: [2, 76] Generated Node #3: [2, 76] from Operation: 83-7=76 Current State: 78:[2, 76], Operations: ['26/13=2', '83-7=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[13, 83, 26, 7], Operations: [] Exploring Operation: 83-7=76, Resulting Numbers: [13, 26, 76] Generated Node #0,0: 78:[13, 26, 76] Operation: 83-7=76 Exploring Operation: 13-7=6, Resulting Numbers: [83, 26, 6] Generated Node #0,1: 78:[83, 26, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[13, 26, 76], Operations: ['83-7=76'] Exploring Operation: 13+26=39, Resulting Numbers: [76, 39] Generated Node #0,0,0: 78:[76, 39] Operation: 13+26=39 Exploring Operation: 26-13=13, Resulting Numbers: [76, 13] Generated Node #0,0,1: 78:[76, 13] Operation: 26-13=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[76, 39], Operations: ['83-7=76', '13+26=39'] Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,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:[76, 13], Operations: ['83-7=76', '26-13=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[83, 26, 6], Operations: ['13-7=6'] Exploring Operation: 83-6=77, Resulting Numbers: [26, 77] Generated Node #0,1,0: 78:[26, 77] Operation: 83-6=77 Exploring Operation: 83+6=89, Resulting Numbers: [26, 89] Generated Node #0,1,1: 78:[26, 89] Operation: 83+6=89 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[26, 77], Operations: ['13-7=6', '83-6=77'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 26+77=103, Resulting Numbers: [103] 103,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[26, 89], Operations: ['13-7=6', '83+6=89'] Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,78 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,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
[ 66, 38, 31, 38 ]
21
[ "66-38=28", "38-31=7", "28-7=21" ]
Current State: 21:[66, 38, 31, 38], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [31, 28] Generated Node #2: [31, 28] from Operation: 66-38=28 Current State: 21:[31, 28], Operations: ['66-38=28'] Exploring Operation: 38-31=7, Resulting Numbers: [28, 7] Generated Node #3: [28, 7] from Operation: 38-31=7 Current State: 21:[28, 7], Operations: ['66-38=28', '38-31=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[66, 38, 31, 38], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [38, 31, 28] Generated Node #0,0: 21:[38, 31, 28] Operation: 66-38=28 Exploring Operation: 66-38=28, Resulting Numbers: [31, 38, 28] Generated Node #0,1: 21:[31, 38, 28] Operation: 66-38=28 Moving to Node #0,0 Current State: 21:[38, 31, 28], Operations: ['66-38=28'] Exploring Operation: 38-31=7, Resulting Numbers: [28, 7] Generated Node #0,0,0: 21:[28, 7] Operation: 38-31=7 Exploring Operation: 38-28=10, Resulting Numbers: [31, 10] Generated Node #0,0,1: 21:[31, 10] Operation: 38-28=10 Moving to Node #0,1 Current State: 21:[31, 38, 28], Operations: ['66-38=28'] Exploring Operation: 38-28=10, Resulting Numbers: [31, 10] Generated Node #0,1,0: 21:[31, 10] Operation: 38-28=10 Exploring Operation: 38-31=7, Resulting Numbers: [28, 7] Generated Node #0,1,1: 21:[28, 7] Operation: 38-31=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[28, 7], Operations: ['66-38=28', '38-31=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[66, 38, 31, 38], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [31, 38, 28] Generated Node #0,1: 21:[31, 38, 28] Operation: 66-38=28 Moving to Node #0,1 Current State: 21:[31, 38, 28], Operations: ['66-38=28'] Exploring Operation: 38-31=7, Resulting Numbers: [28, 7] Generated Node #0,1,1: 21:[28, 7] Operation: 38-31=7 Moving to Node #0,1,1 Current State: 21:[28, 7], Operations: ['66-38=28', '38-31=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 85, 87, 4, 44 ]
84
[ "87-85=2", "44*2=88", "88-4=84" ]
Current State: 84:[85, 87, 4, 44], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [4, 44, 2] Generated Node #2: [4, 44, 2] from Operation: 87-85=2 Current State: 84:[4, 44, 2], Operations: ['87-85=2'] Exploring Operation: 44*2=88, Resulting Numbers: [4, 88] Generated Node #3: [4, 88] from Operation: 44*2=88 Current State: 84:[4, 88], Operations: ['87-85=2', '44*2=88'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[85, 87, 4, 44], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [85, 4, 43] Generated Node #0,0: 84:[85, 4, 43] Operation: 87-44=43 Exploring Operation: 85-44=41, Resulting Numbers: [87, 4, 41] Generated Node #0,1: 84:[87, 4, 41] Operation: 85-44=41 Exploring Operation: 87-85=2, Resulting Numbers: [4, 44, 2] Generated Node #0,2: 84:[4, 44, 2] Operation: 87-85=2 Moving to Node #0,0 Current State: 84:[85, 4, 43], Operations: ['87-44=43'] Exploring Operation: 85-4=81, Resulting Numbers: [43, 81] Generated Node #0,0,0: 84:[43, 81] Operation: 85-4=81 Exploring Operation: 85-43=42, Resulting Numbers: [4, 42] Generated Node #0,0,1: 84:[4, 42] Operation: 85-43=42 Exploring Operation: 43-4=39, Resulting Numbers: [85, 39] Generated Node #0,0,2: 84:[85, 39] Operation: 43-4=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[4, 42], Operations: ['87-44=43', '85-43=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[43, 81], Operations: ['87-44=43', '85-4=81'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,84 unequal: No Solution Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[85, 39], Operations: ['87-44=43', '43-4=39'] Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,84 unequal: No Solution Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,84 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,84 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: 84:[4, 44, 2], Operations: ['87-85=2'] Exploring Operation: 44-2=42, Resulting Numbers: [4, 42] Generated Node #0,2,0: 84:[4, 42] Operation: 44-2=42 Exploring Operation: 44/4=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 84:[2, 11] Operation: 44/4=11 Exploring Operation: 44/2=22, Resulting Numbers: [4, 22] Generated Node #0,2,2: 84:[4, 22] Operation: 44/2=22 Moving to Node #0,1 Current State: 84:[87, 4, 41], Operations: ['85-44=41'] Exploring Operation: 87-41=46, Resulting Numbers: [4, 46] Generated Node #0,1,0: 84:[4, 46] Operation: 87-41=46 Exploring Operation: 87-4=83, Resulting Numbers: [41, 83] Generated Node #0,1,1: 84:[41, 83] Operation: 87-4=83 Exploring Operation: 4+41=45, Resulting Numbers: [87, 45] Generated Node #0,1,2: 84:[87, 45] Operation: 4+41=45 Moving to Node #0,2,0 Current State: 84:[4, 42], Operations: ['87-85=2', '44-2=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[4, 22], Operations: ['87-85=2', '44/2=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[2, 11], Operations: ['87-85=2', '44/4=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,84 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[41, 83], Operations: ['85-44=41', '87-4=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,84 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[4, 46], Operations: ['85-44=41', '87-41=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,84 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[87, 45], Operations: ['85-44=41', '4+41=45'] Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 87*45=3915, Resulting Numbers: [3915] 3915,84 unequal: No Solution Exploring Operation: 87+45=132, Resulting Numbers: [132] 132,84 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 30, 75, 80, 7 ]
28
[ "75-30=45", "80-7=73", "73-45=28" ]
Current State: 28:[30, 75, 80, 7], Operations: [] Exploring Operation: 75-30=45, Resulting Numbers: [80, 7, 45] Generated Node #2: [80, 7, 45] from Operation: 75-30=45 Current State: 28:[80, 7, 45], Operations: ['75-30=45'] Exploring Operation: 80-7=73, Resulting Numbers: [45, 73] Generated Node #3: [45, 73] from Operation: 80-7=73 Current State: 28:[45, 73], Operations: ['75-30=45', '80-7=73'] Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[30, 75, 80, 7], Operations: [] Exploring Operation: 75-30=45, Resulting Numbers: [80, 7, 45] Generated Node #0,0: 28:[80, 7, 45] Operation: 75-30=45 Exploring Operation: 80-75=5, Resulting Numbers: [30, 7, 5] Generated Node #0,1: 28:[30, 7, 5] Operation: 80-75=5 Exploring Operation: 80-30=50, Resulting Numbers: [75, 7, 50] Generated Node #0,2: 28:[75, 7, 50] Operation: 80-30=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[30, 7, 5], Operations: ['80-75=5'] Exploring Operation: 30/5=6, Resulting Numbers: [7, 6] Generated Node #0,1,0: 28:[7, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [7, 25] Generated Node #0,1,1: 28:[7, 25] Operation: 30-5=25 Exploring Operation: 7-5=2, Resulting Numbers: [30, 2] Generated Node #0,1,2: 28:[30, 2] Operation: 7-5=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[7, 6], Operations: ['80-75=5', '30/5=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[30, 2], Operations: ['80-75=5', '7-5=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[30, 75, 80, 7], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [30, 7, 5] Generated Node #0,1: 28:[30, 7, 5] Operation: 80-75=5 Moving to Node #0,1 Current State: 28:[30, 7, 5], Operations: ['80-75=5'] Exploring Operation: 7-5=2, Resulting Numbers: [30, 2] Generated Node #0,1,2: 28:[30, 2] Operation: 7-5=2 Moving to Node #0,1,2 Current State: 28:[30, 2], Operations: ['80-75=5', '7-5=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 73, 50, 12, 64 ]
53
[ "73-50=23", "12+64=76", "76-23=53" ]
Current State: 53:[73, 50, 12, 64], Operations: [] Exploring Operation: 73-50=23, Resulting Numbers: [12, 64, 23] Generated Node #2: [12, 64, 23] from Operation: 73-50=23 Current State: 53:[12, 64, 23], Operations: ['73-50=23'] Exploring Operation: 12+64=76, Resulting Numbers: [23, 76] Generated Node #3: [23, 76] from Operation: 12+64=76 Current State: 53:[23, 76], Operations: ['73-50=23', '12+64=76'] Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[73, 50, 12, 64], Operations: [] Exploring Operation: 73-12=61, Resulting Numbers: [50, 64, 61] Generated Node #0,0: 53:[50, 64, 61] Operation: 73-12=61 Exploring Operation: 50-12=38, Resulting Numbers: [73, 64, 38] Generated Node #0,1: 53:[73, 64, 38] Operation: 50-12=38 Exploring Operation: 73+12=85, Resulting Numbers: [50, 64, 85] Generated Node #0,2: 53:[50, 64, 85] Operation: 73+12=85 Exploring Operation: 50+12=62, Resulting Numbers: [73, 64, 62] Generated Node #0,3: 53:[73, 64, 62] Operation: 50+12=62 Exploring Operation: 64-12=52, Resulting Numbers: [73, 50, 52] Generated Node #0,4: 53:[73, 50, 52] Operation: 64-12=52 Moving to Node #0,0 Current State: 53:[50, 64, 61], Operations: ['73-12=61'] Exploring Operation: 64-61=3, Resulting Numbers: [50, 3] Generated Node #0,0,0: 53:[50, 3] Operation: 64-61=3 Exploring Operation: 50+61=111, Resulting Numbers: [64, 111] Generated Node #0,0,1: 53:[64, 111] Operation: 50+61=111 Exploring Operation: 61-50=11, Resulting Numbers: [64, 11] Generated Node #0,0,2: 53:[64, 11] Operation: 61-50=11 Exploring Operation: 50+64=114, Resulting Numbers: [61, 114] Generated Node #0,0,3: 53:[61, 114] Operation: 50+64=114 Exploring Operation: 64-50=14, Resulting Numbers: [61, 14] Generated Node #0,0,4: 53:[61, 14] Operation: 64-50=14 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[61, 14], Operations: ['73-12=61', '64-50=14'] Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,53 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[50, 3], Operations: ['73-12=61', '64-61=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[73, 50, 12, 64], Operations: [] Exploring Operation: 73-12=61, Resulting Numbers: [50, 64, 61] Generated Node #0,0: 53:[50, 64, 61] Operation: 73-12=61 Moving to Node #0,0 Current State: 53:[50, 64, 61], Operations: ['73-12=61'] Exploring Operation: 64-61=3, Resulting Numbers: [50, 3] Generated Node #0,0,0: 53:[50, 3] Operation: 64-61=3 Moving to Node #0,0,0 Current State: 53:[50, 3], Operations: ['73-12=61', '64-61=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic