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
[ 83, 44, 78, 90 ]
26
[ "83-78=5", "90/5=18", "44-18=26" ]
Current State: 26:[83, 44, 78, 90], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [44, 90, 5] Generated Node #2: [44, 90, 5] from Operation: 83-78=5 Current State: 26:[44, 90, 5], Operations: ['83-78=5'] Exploring Operation: 90/5=18, Resulting Numbers: [44, 18] Generated Node #3: [44, 18] from Operation: 90/5=18 Current State: 26:[44, 18], Operations: ['83-78=5', '90/5=18'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[83, 44, 78, 90], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [83, 44, 12] Generated Node #0,0: 26:[83, 44, 12] Operation: 90-78=12 Exploring Operation: 90-83=7, Resulting Numbers: [44, 78, 7] Generated Node #0,1: 26:[44, 78, 7] Operation: 90-83=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[44, 78, 7], Operations: ['90-83=7'] Exploring Operation: 78-44=34, Resulting Numbers: [7, 34] Generated Node #0,1,0: 26:[7, 34] Operation: 78-44=34 Exploring Operation: 44-7=37, Resulting Numbers: [78, 37] Generated Node #0,1,1: 26:[78, 37] Operation: 44-7=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[7, 34], Operations: ['90-83=7', '78-44=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,26 unequal: No Solution No 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: 26:[78, 37], Operations: ['90-83=7', '44-7=37'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,26 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: 26:[83, 44, 12], Operations: ['90-78=12'] Exploring Operation: 83-44=39, Resulting Numbers: [12, 39] Generated Node #0,0,0: 26:[12, 39] Operation: 83-44=39 Exploring Operation: 83-12=71, Resulting Numbers: [44, 71] Generated Node #0,0,1: 26:[44, 71] Operation: 83-12=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[12, 39], Operations: ['90-78=12', '83-44=39'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,26 unequal: No Solution No 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: 26:[44, 71], Operations: ['90-78=12', '83-12=71'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 44+71=115, Resulting Numbers: [115] 115,26 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
[ 82, 50, 73, 9 ]
32
[ "82-50=32", "73-9=64", "64-32=32" ]
Current State: 32:[82, 50, 73, 9], Operations: [] Exploring Operation: 82-50=32, Resulting Numbers: [73, 9, 32] Generated Node #2: [73, 9, 32] from Operation: 82-50=32 Current State: 32:[73, 9, 32], Operations: ['82-50=32'] Exploring Operation: 73-9=64, Resulting Numbers: [32, 64] Generated Node #3: [32, 64] from Operation: 73-9=64 Current State: 32:[32, 64], Operations: ['82-50=32', '73-9=64'] Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[82, 50, 73, 9], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [50, 9, 9] Generated Node #0,0: 32:[50, 9, 9] Operation: 82-73=9 Exploring Operation: 82-50=32, Resulting Numbers: [73, 9, 32] Generated Node #0,1: 32:[73, 9, 32] Operation: 82-50=32 Exploring Operation: 73-50=23, Resulting Numbers: [82, 9, 23] Generated Node #0,2: 32:[82, 9, 23] Operation: 73-50=23 Moving to Node #0,0 Current State: 32:[50, 9, 9], Operations: ['82-73=9'] Exploring Operation: 50-9=41, Resulting Numbers: [9, 41] Generated Node #0,0,0: 32:[9, 41] Operation: 50-9=41 Exploring Operation: 50-9=41, Resulting Numbers: [9, 41] Generated Node #0,0,1: 32:[9, 41] Operation: 50-9=41 Exploring Operation: 9/9=1, Resulting Numbers: [50, 1] Generated Node #0,0,2: 32:[50, 1] Operation: 9/9=1 Moving to Node #0,1 Current State: 32:[73, 9, 32], Operations: ['82-50=32'] Exploring Operation: 32-9=23, Resulting Numbers: [73, 23] Generated Node #0,1,0: 32:[73, 23] Operation: 32-9=23 Exploring Operation: 73-9=64, Resulting Numbers: [32, 64] Generated Node #0,1,1: 32:[32, 64] Operation: 73-9=64 Exploring Operation: 73-32=41, Resulting Numbers: [9, 41] Generated Node #0,1,2: 32:[9, 41] Operation: 73-32=41 Moving to Node #0,2 Current State: 32:[82, 9, 23], Operations: ['73-50=23'] Exploring Operation: 82-23=59, Resulting Numbers: [9, 59] Generated Node #0,2,0: 32:[9, 59] Operation: 82-23=59 Exploring Operation: 9+23=32, Resulting Numbers: [82, 32] Generated Node #0,2,1: 32:[82, 32] Operation: 9+23=32 Exploring Operation: 82-9=73, Resulting Numbers: [23, 73] Generated Node #0,2,2: 32:[23, 73] Operation: 82-9=73 Moving to Node #0,0,0 Current State: 32:[9, 41], Operations: ['82-73=9', '50-9=41'] Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[82, 50, 73, 9], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [50, 9, 9] Generated Node #0,0: 32:[50, 9, 9] Operation: 82-73=9 Moving to Node #0,0 Current State: 32:[50, 9, 9], Operations: ['82-73=9'] Exploring Operation: 50-9=41, Resulting Numbers: [9, 41] Generated Node #0,0,0: 32:[9, 41] Operation: 50-9=41 Moving to Node #0,0,0 Current State: 32:[9, 41], Operations: ['82-73=9', '50-9=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 35, 98, 65, 92 ]
36
[ "98-35=63", "92-65=27", "63-27=36" ]
Current State: 36:[35, 98, 65, 92], Operations: [] Exploring Operation: 98-35=63, Resulting Numbers: [65, 92, 63] Generated Node #2: [65, 92, 63] from Operation: 98-35=63 Current State: 36:[65, 92, 63], Operations: ['98-35=63'] Exploring Operation: 92-65=27, Resulting Numbers: [63, 27] Generated Node #3: [63, 27] from Operation: 92-65=27 Current State: 36:[63, 27], Operations: ['98-35=63', '92-65=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[35, 98, 65, 92], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [35, 92, 33] Generated Node #0,0: 36:[35, 92, 33] Operation: 98-65=33 Exploring Operation: 98-92=6, Resulting Numbers: [35, 65, 6] Generated Node #0,1: 36:[35, 65, 6] Operation: 98-92=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[35, 65, 6], Operations: ['98-92=6'] Exploring Operation: 65-6=59, Resulting Numbers: [35, 59] Generated Node #0,1,0: 36:[35, 59] Operation: 65-6=59 Exploring Operation: 65-35=30, Resulting Numbers: [6, 30] Generated Node #0,1,1: 36:[6, 30] Operation: 65-35=30 Moving to Node #0,1,1 Current State: 36:[6, 30], Operations: ['98-92=6', '65-35=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[35, 98, 65, 92], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [35, 65, 6] Generated Node #0,1: 36:[35, 65, 6] Operation: 98-92=6 Moving to Node #0,1 Current State: 36:[35, 65, 6], Operations: ['98-92=6'] Exploring Operation: 65-35=30, Resulting Numbers: [6, 30] Generated Node #0,1,1: 36:[6, 30] Operation: 65-35=30 Moving to Node #0,1,1 Current State: 36:[6, 30], Operations: ['98-92=6', '65-35=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 18, 46, 6, 36 ]
69
[ "18+6=24", "46*36=1656", "1656/24=69" ]
Current State: 69:[18, 46, 6, 36], Operations: [] Exploring Operation: 18+6=24, Resulting Numbers: [46, 36, 24] Generated Node #2: [46, 36, 24] from Operation: 18+6=24 Current State: 69:[46, 36, 24], Operations: ['18+6=24'] Exploring Operation: 46*36=1656, Resulting Numbers: [24, 1656] Generated Node #3: [24, 1656] from Operation: 46*36=1656 Current State: 69:[24, 1656], Operations: ['18+6=24', '46*36=1656'] Exploring Operation: 1656/24=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[18, 46, 6, 36], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [18, 6, 10] Generated Node #0,0: 69:[18, 6, 10] Operation: 46-36=10 Exploring Operation: 18+46=64, Resulting Numbers: [6, 36, 64] Generated Node #0,1: 69:[6, 36, 64] Operation: 18+46=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[18, 6, 10], Operations: ['46-36=10'] Exploring Operation: 10-6=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 69:[18, 4] Operation: 10-6=4 Exploring Operation: 18/6=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 69:[10, 3] Operation: 18/6=3 Moving to Node #0,0,0 Current State: 69:[18, 4], Operations: ['46-36=10', '10-6=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[10, 3], Operations: ['46-36=10', '18/6=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,69 unequal: No Solution No 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: 69:[6, 36, 64], Operations: ['18+46=64'] Exploring Operation: 36/6=6, Resulting Numbers: [64, 6] Generated Node #0,1,0: 69:[64, 6] Operation: 36/6=6 Exploring Operation: 64-36=28, Resulting Numbers: [6, 28] Generated Node #0,1,1: 69:[6, 28] Operation: 64-36=28 Moving to Node #0,1,0 Current State: 69:[64, 6], Operations: ['18+46=64', '36/6=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[6, 28], Operations: ['18+46=64', '64-36=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,69 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
[ 88, 24, 3, 74 ]
18
[ "88-74=14", "3*14=42", "42-24=18" ]
Current State: 18:[88, 24, 3, 74], Operations: [] Exploring Operation: 88-74=14, Resulting Numbers: [24, 3, 14] Generated Node #2: [24, 3, 14] from Operation: 88-74=14 Current State: 18:[24, 3, 14], Operations: ['88-74=14'] Exploring Operation: 3*14=42, Resulting Numbers: [24, 42] Generated Node #3: [24, 42] from Operation: 3*14=42 Current State: 18:[24, 42], Operations: ['88-74=14', '3*14=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[88, 24, 3, 74], Operations: [] Exploring Operation: 88-74=14, Resulting Numbers: [24, 3, 14] Generated Node #0,0: 18:[24, 3, 14] Operation: 88-74=14 Exploring Operation: 74-24=50, Resulting Numbers: [88, 3, 50] Generated Node #0,1: 18:[88, 3, 50] Operation: 74-24=50 Exploring Operation: 88-24=64, Resulting Numbers: [3, 74, 64] Generated Node #0,2: 18:[3, 74, 64] Operation: 88-24=64 Exploring Operation: 24/3=8, Resulting Numbers: [88, 74, 8] Generated Node #0,3: 18:[88, 74, 8] Operation: 24/3=8 Moving to Node #0,0 Current State: 18:[24, 3, 14], Operations: ['88-74=14'] Exploring Operation: 3+14=17, Resulting Numbers: [24, 17] Generated Node #0,0,0: 18:[24, 17] Operation: 3+14=17 Exploring Operation: 24/3=8, Resulting Numbers: [14, 8] Generated Node #0,0,1: 18:[14, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [14, 21] Generated Node #0,0,2: 18:[14, 21] Operation: 24-3=21 Exploring Operation: 24-14=10, Resulting Numbers: [3, 10] Generated Node #0,0,3: 18:[3, 10] Operation: 24-14=10 Moving to Node #0,2 Current State: 18:[3, 74, 64], Operations: ['88-24=64'] Exploring Operation: 3+74=77, Resulting Numbers: [64, 77] Generated Node #0,2,0: 18:[64, 77] Operation: 3+74=77 Exploring Operation: 64-3=61, Resulting Numbers: [74, 61] Generated Node #0,2,1: 18:[74, 61] Operation: 64-3=61 Exploring Operation: 74-3=71, Resulting Numbers: [64, 71] Generated Node #0,2,2: 18:[64, 71] Operation: 74-3=71 Exploring Operation: 74-64=10, Resulting Numbers: [3, 10] Generated Node #0,2,3: 18:[3, 10] Operation: 74-64=10 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[3, 10], Operations: ['88-24=64', '74-64=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[74, 61], Operations: ['88-24=64', '64-3=61'] Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,18 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 74*61=4514, Resulting Numbers: [4514] 4514,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[64, 71], Operations: ['88-24=64', '74-3=71'] Exploring Operation: 64+71=135, Resulting Numbers: [135] 135,18 unequal: No Solution Exploring Operation: 64*71=4544, Resulting Numbers: [4544] 4544,18 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[64, 77], Operations: ['88-24=64', '3+74=77'] Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,18 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,18 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: 18:[88, 3, 50], Operations: ['74-24=50'] Exploring Operation: 50-3=47, Resulting Numbers: [88, 47] Generated Node #0,1,0: 18:[88, 47] Operation: 50-3=47 Exploring Operation: 88+3=91, Resulting Numbers: [50, 91] Generated Node #0,1,1: 18:[50, 91] Operation: 88+3=91 Exploring Operation: 88-50=38, Resulting Numbers: [3, 38] Generated Node #0,1,2: 18:[3, 38] Operation: 88-50=38 Exploring Operation: 88-3=85, Resulting Numbers: [50, 85] Generated Node #0,1,3: 18:[50, 85] Operation: 88-3=85 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[3, 38], Operations: ['74-24=50', '88-50=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[88, 47], Operations: ['74-24=50', '50-3=47'] Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,18 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[50, 85], Operations: ['74-24=50', '88-3=85'] Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 50+85=135, Resulting Numbers: [135] 135,18 unequal: No Solution Exploring Operation: 50*85=4250, Resulting Numbers: [4250] 4250,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[50, 91], Operations: ['74-24=50', '88+3=91'] Exploring Operation: 50*91=4550, Resulting Numbers: [4550] 4550,18 unequal: No Solution Exploring Operation: 50+91=141, Resulting Numbers: [141] 141,18 unequal: No Solution Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 18:[88, 74, 8], Operations: ['24/3=8'] Exploring Operation: 88-8=80, Resulting Numbers: [74, 80] Generated Node #0,3,0: 18:[74, 80] Operation: 88-8=80 Exploring Operation: 88/8=11, Resulting Numbers: [74, 11] Generated Node #0,3,1: 18:[74, 11] Operation: 88/8=11 Exploring Operation: 88-74=14, Resulting Numbers: [8, 14] Generated Node #0,3,2: 18:[8, 14] Operation: 88-74=14 Exploring Operation: 74-8=66, Resulting Numbers: [88, 66] Generated Node #0,3,3: 18:[88, 66] Operation: 74-8=66 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[8, 14], Operations: ['24/3=8', '88-74=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[74, 11], Operations: ['24/3=8', '88/8=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[74, 80], Operations: ['24/3=8', '88-8=80'] Exploring Operation: 74*80=5920, Resulting Numbers: [5920] 5920,18 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 74+80=154, Resulting Numbers: [154] 154,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[88, 66], Operations: ['24/3=8', '74-8=66'] Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 88*66=5808, Resulting Numbers: [5808] 5808,18 unequal: No Solution Exploring Operation: 88+66=154, Resulting Numbers: [154] 154,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 18:[3, 10], Operations: ['88-74=14', '24-14=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[14, 8], Operations: ['88-74=14', '24/3=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,18 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[14, 21], Operations: ['88-74=14', '24-3=21'] Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,18 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[24, 17], Operations: ['88-74=14', '3+14=17'] Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,18 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,18 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 23, 10, 48, 76 ]
91
[ "23+10=33", "48+76=124", "124-33=91" ]
Current State: 91:[23, 10, 48, 76], Operations: [] Exploring Operation: 23+10=33, Resulting Numbers: [48, 76, 33] Generated Node #2: [48, 76, 33] from Operation: 23+10=33 Current State: 91:[48, 76, 33], Operations: ['23+10=33'] Exploring Operation: 48+76=124, Resulting Numbers: [33, 124] Generated Node #3: [33, 124] from Operation: 48+76=124 Current State: 91:[33, 124], Operations: ['23+10=33', '48+76=124'] Exploring Operation: 124-33=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[23, 10, 48, 76], Operations: [] Exploring Operation: 76-48=28, Resulting Numbers: [23, 10, 28] Generated Node #0,0: 91:[23, 10, 28] Operation: 76-48=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[23, 10, 28], Operations: ['76-48=28'] Exploring Operation: 28-23=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 91:[10, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[10, 5], Operations: ['76-48=28', '28-23=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 6, 36, 51, 61 ]
70
[ "6+36=42", "51+61=112", "112-42=70" ]
Current State: 70:[6, 36, 51, 61], Operations: [] Exploring Operation: 6+36=42, Resulting Numbers: [51, 61, 42] Generated Node #2: [51, 61, 42] from Operation: 6+36=42 Current State: 70:[51, 61, 42], Operations: ['6+36=42'] Exploring Operation: 51+61=112, Resulting Numbers: [42, 112] Generated Node #3: [42, 112] from Operation: 51+61=112 Current State: 70:[42, 112], Operations: ['6+36=42', '51+61=112'] Exploring Operation: 112-42=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[6, 36, 51, 61], Operations: [] Exploring Operation: 61-51=10, Resulting Numbers: [6, 36, 10] Generated Node #0,0: 70:[6, 36, 10] Operation: 61-51=10 Exploring Operation: 6+51=57, Resulting Numbers: [36, 61, 57] Generated Node #0,1: 70:[36, 61, 57] Operation: 6+51=57 Exploring Operation: 51-36=15, Resulting Numbers: [6, 61, 15] Generated Node #0,2: 70:[6, 61, 15] Operation: 51-36=15 Exploring Operation: 51-6=45, Resulting Numbers: [36, 61, 45] Generated Node #0,3: 70:[36, 61, 45] Operation: 51-6=45 Exploring Operation: 6+61=67, Resulting Numbers: [36, 51, 67] Generated Node #0,4: 70:[36, 51, 67] Operation: 6+61=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[6, 36, 10], Operations: ['61-51=10'] Exploring Operation: 36/6=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 70:[10, 6] Operation: 36/6=6 Exploring Operation: 6+36=42, Resulting Numbers: [10, 42] Generated Node #0,0,1: 70:[10, 42] Operation: 6+36=42 Exploring Operation: 36-6=30, Resulting Numbers: [10, 30] Generated Node #0,0,2: 70:[10, 30] Operation: 36-6=30 Exploring Operation: 10-6=4, Resulting Numbers: [36, 4] Generated Node #0,0,3: 70:[36, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [36, 16] Generated Node #0,0,4: 70:[36, 16] Operation: 6+10=16 Moving to Node #0,0,0 Current State: 70:[10, 6], Operations: ['61-51=10', '36/6=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[36, 4], Operations: ['61-51=10', '10-6=4'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,70 unequal: No Solution Moving to Node #0,0,4 Current State: 70:[36, 16], Operations: ['61-51=10', '6+10=16'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[10, 30], Operations: ['61-51=10', '36-6=30'] Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,70 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[10, 42], Operations: ['61-51=10', '6+36=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,70 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,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,2 Current State: 70:[6, 61, 15], Operations: ['51-36=15'] Exploring Operation: 61-6=55, Resulting Numbers: [15, 55] Generated Node #0,2,0: 70:[15, 55] Operation: 61-6=55 Exploring Operation: 6+61=67, Resulting Numbers: [15, 67] Generated Node #0,2,1: 70:[15, 67] Operation: 6+61=67 Exploring Operation: 15-6=9, Resulting Numbers: [61, 9] Generated Node #0,2,2: 70:[61, 9] Operation: 15-6=9 Exploring Operation: 61+15=76, Resulting Numbers: [6, 76] Generated Node #0,2,3: 70:[6, 76] Operation: 61+15=76 Exploring Operation: 61-15=46, Resulting Numbers: [6, 46] Generated Node #0,2,4: 70:[6, 46] Operation: 61-15=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[15, 67], Operations: ['51-36=15', '6+61=67'] Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[6, 76], Operations: ['51-36=15', '61+15=76'] Exploring Operation: 6+76=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[6, 36, 51, 61], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [6, 61, 15] Generated Node #0,2: 70:[6, 61, 15] Operation: 51-36=15 Moving to Node #0,2 Current State: 70:[6, 61, 15], Operations: ['51-36=15'] Exploring Operation: 61+15=76, Resulting Numbers: [6, 76] Generated Node #0,2,3: 70:[6, 76] Operation: 61+15=76 Moving to Node #0,2,3 Current State: 70:[6, 76], Operations: ['51-36=15', '61+15=76'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 22, 14, 85, 44 ]
77
[ "22+14=36", "85-44=41", "36+41=77" ]
Current State: 77:[22, 14, 85, 44], Operations: [] Exploring Operation: 22+14=36, Resulting Numbers: [85, 44, 36] Generated Node #2: [85, 44, 36] from Operation: 22+14=36 Current State: 77:[85, 44, 36], Operations: ['22+14=36'] Exploring Operation: 85-44=41, Resulting Numbers: [36, 41] Generated Node #3: [36, 41] from Operation: 85-44=41 Current State: 77:[36, 41], Operations: ['22+14=36', '85-44=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[22, 14, 85, 44], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [14, 85, 2] Generated Node #0,0: 77:[14, 85, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[14, 85, 2], Operations: ['44/22=2'] Exploring Operation: 14/2=7, Resulting Numbers: [85, 7] Generated Node #0,0,0: 77:[85, 7] Operation: 14/2=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[85, 7], Operations: ['44/22=2', '14/2=7'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,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 No solution found.
0
hs_1
sum_heuristic
[ 58, 58, 86, 6 ]
36
[ "58+58=116", "86-6=80", "116-80=36" ]
Current State: 36:[58, 58, 86, 6], Operations: [] Exploring Operation: 58+58=116, Resulting Numbers: [86, 6, 116] Generated Node #2: [86, 6, 116] from Operation: 58+58=116 Current State: 36:[86, 6, 116], Operations: ['58+58=116'] Exploring Operation: 86-6=80, Resulting Numbers: [116, 80] Generated Node #3: [116, 80] from Operation: 86-6=80 Current State: 36:[116, 80], Operations: ['58+58=116', '86-6=80'] Exploring Operation: 116-80=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[58, 58, 86, 6], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [58, 6, 28] Generated Node #0,0: 36:[58, 6, 28] Operation: 86-58=28 Moving to Node #0,0 Current State: 36:[58, 6, 28], Operations: ['86-58=28'] Exploring Operation: 58-28=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 36:[6, 30] Operation: 58-28=30 Moving to Node #0,0,0 Current State: 36:[6, 30], Operations: ['86-58=28', '58-28=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[58, 58, 86, 6], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [58, 6, 28] Generated Node #0,0: 36:[58, 6, 28] Operation: 86-58=28 Moving to Node #0,0 Current State: 36:[58, 6, 28], Operations: ['86-58=28'] Exploring Operation: 58-28=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 36:[6, 30] Operation: 58-28=30 Moving to Node #0,0,0 Current State: 36:[6, 30], Operations: ['86-58=28', '58-28=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 9, 90, 42, 54 ]
69
[ "90-9=81", "54-42=12", "81-12=69" ]
Current State: 69:[9, 90, 42, 54], Operations: [] Exploring Operation: 90-9=81, Resulting Numbers: [42, 54, 81] Generated Node #2: [42, 54, 81] from Operation: 90-9=81 Current State: 69:[42, 54, 81], Operations: ['90-9=81'] Exploring Operation: 54-42=12, Resulting Numbers: [81, 12] Generated Node #3: [81, 12] from Operation: 54-42=12 Current State: 69:[81, 12], Operations: ['90-9=81', '54-42=12'] Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[9, 90, 42, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [9, 90, 12] Generated Node #0,0: 69:[9, 90, 12] Operation: 54-42=12 Exploring Operation: 54/9=6, Resulting Numbers: [90, 42, 6] Generated Node #0,1: 69:[90, 42, 6] Operation: 54/9=6 Exploring Operation: 90/9=10, Resulting Numbers: [42, 54, 10] Generated Node #0,2: 69:[42, 54, 10] Operation: 90/9=10 Exploring Operation: 90-42=48, Resulting Numbers: [9, 54, 48] Generated Node #0,3: 69:[9, 54, 48] Operation: 90-42=48 Exploring Operation: 90-54=36, Resulting Numbers: [9, 42, 36] Generated Node #0,4: 69:[9, 42, 36] Operation: 90-54=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[9, 90, 12], Operations: ['54-42=12'] Exploring Operation: 12-9=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 69:[90, 3] Operation: 12-9=3 Exploring Operation: 9+12=21, Resulting Numbers: [90, 21] Generated Node #0,0,1: 69:[90, 21] Operation: 9+12=21 Exploring Operation: 90/9=10, Resulting Numbers: [12, 10] Generated Node #0,0,2: 69:[12, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [12, 81] Generated Node #0,0,3: 69:[12, 81] Operation: 90-9=81 Exploring Operation: 90-12=78, Resulting Numbers: [9, 78] Generated Node #0,0,4: 69:[9, 78] Operation: 90-12=78 Moving to Node #0,0,4 Current State: 69:[9, 78], Operations: ['54-42=12', '90-12=78'] Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,69 unequal: No Solution Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[9, 90, 42, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [9, 90, 12] Generated Node #0,0: 69:[9, 90, 12] Operation: 54-42=12 Moving to Node #0,0 Current State: 69:[9, 90, 12], Operations: ['54-42=12'] Exploring Operation: 90-12=78, Resulting Numbers: [9, 78] Generated Node #0,0,4: 69:[9, 78] Operation: 90-12=78 Moving to Node #0,0,4 Current State: 69:[9, 78], Operations: ['54-42=12', '90-12=78'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 89, 92, 2, 45 ]
51
[ "92-89=3", "2*3=6", "45+6=51" ]
Current State: 51:[89, 92, 2, 45], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [2, 45, 3] Generated Node #2: [2, 45, 3] from Operation: 92-89=3 Current State: 51:[2, 45, 3], Operations: ['92-89=3'] Exploring Operation: 2*3=6, Resulting Numbers: [45, 6] Generated Node #3: [45, 6] from Operation: 2*3=6 Current State: 51:[45, 6], Operations: ['92-89=3', '2*3=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[89, 92, 2, 45], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [2, 45, 3] Generated Node #0,0: 51:[2, 45, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[2, 45, 3], Operations: ['92-89=3'] Exploring Operation: 45/3=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 51:[2, 15] Operation: 45/3=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[2, 15], Operations: ['92-89=3', '45/3=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 68, 23, 13, 58 ]
100
[ "68-58=10", "23-13=10", "10*10=100" ]
Current State: 100:[68, 23, 13, 58], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [23, 13, 10] Generated Node #2: [23, 13, 10] from Operation: 68-58=10 Current State: 100:[23, 13, 10], Operations: ['68-58=10'] Exploring Operation: 23-13=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 23-13=10 Current State: 100:[10, 10], Operations: ['68-58=10', '23-13=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[68, 23, 13, 58], Operations: [] Exploring Operation: 68-13=55, Resulting Numbers: [23, 58, 55] Generated Node #0,0: 100:[23, 58, 55] Operation: 68-13=55 Exploring Operation: 68-23=45, Resulting Numbers: [13, 58, 45] Generated Node #0,1: 100:[13, 58, 45] Operation: 68-23=45 Exploring Operation: 68-58=10, Resulting Numbers: [23, 13, 10] Generated Node #0,2: 100:[23, 13, 10] Operation: 68-58=10 Moving to Node #0,2 Current State: 100:[23, 13, 10], Operations: ['68-58=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23, 23] Generated Node #0,2,0: 100:[23, 23] Operation: 13+10=23 Exploring Operation: 23-13=10, Resulting Numbers: [10, 10] Generated Node #0,2,1: 100:[10, 10] Operation: 23-13=10 Exploring Operation: 13-10=3, Resulting Numbers: [23, 3] Generated Node #0,2,2: 100:[23, 3] Operation: 13-10=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[10, 10], Operations: ['68-58=10', '23-13=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[68, 23, 13, 58], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [23, 13, 10] Generated Node #0,2: 100:[23, 13, 10] Operation: 68-58=10 Moving to Node #0,2 Current State: 100:[23, 13, 10], Operations: ['68-58=10'] Exploring Operation: 23-13=10, Resulting Numbers: [10, 10] Generated Node #0,2,1: 100:[10, 10] Operation: 23-13=10 Moving to Node #0,2,1 Current State: 100:[10, 10], Operations: ['68-58=10', '23-13=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 96, 36, 6, 59 ]
75
[ "96*6=576", "576/36=16", "59+16=75" ]
Current State: 75:[96, 36, 6, 59], Operations: [] Exploring Operation: 96*6=576, Resulting Numbers: [36, 59, 576] Generated Node #2: [36, 59, 576] from Operation: 96*6=576 Current State: 75:[36, 59, 576], Operations: ['96*6=576'] Exploring Operation: 576/36=16, Resulting Numbers: [59, 16] Generated Node #3: [59, 16] from Operation: 576/36=16 Current State: 75:[59, 16], Operations: ['96*6=576', '576/36=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[96, 36, 6, 59], Operations: [] Exploring Operation: 59-36=23, Resulting Numbers: [96, 6, 23] Generated Node #0,0: 75:[96, 6, 23] Operation: 59-36=23 Exploring Operation: 96-59=37, Resulting Numbers: [36, 6, 37] Generated Node #0,1: 75:[36, 6, 37] Operation: 96-59=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[96, 6, 23], Operations: ['59-36=23'] Exploring Operation: 96/6=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 75:[23, 16] Operation: 96/6=16 Exploring Operation: 96-23=73, Resulting Numbers: [6, 73] Generated Node #0,0,1: 75:[6, 73] Operation: 96-23=73 Moving to Node #0,0,0 Current State: 75:[23, 16], Operations: ['59-36=23', '96/6=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[6, 73], Operations: ['59-36=23', '96-23=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,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:[36, 6, 37], Operations: ['96-59=37'] Exploring Operation: 36+37=73, Resulting Numbers: [6, 73] Generated Node #0,1,0: 75:[6, 73] Operation: 36+37=73 Exploring Operation: 37-36=1, Resulting Numbers: [6, 1] Generated Node #0,1,1: 75:[6, 1] Operation: 37-36=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[6, 73], Operations: ['96-59=37', '36+37=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,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:[6, 1], Operations: ['96-59=37', '37-36=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,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
mult_heuristic
[ 81, 51, 52, 4 ]
86
[ "81-51=30", "52+4=56", "30+56=86" ]
Current State: 86:[81, 51, 52, 4], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [52, 4, 30] Generated Node #2: [52, 4, 30] from Operation: 81-51=30 Current State: 86:[52, 4, 30], Operations: ['81-51=30'] Exploring Operation: 52+4=56, Resulting Numbers: [30, 56] Generated Node #3: [30, 56] from Operation: 52+4=56 Current State: 86:[30, 56], Operations: ['81-51=30', '52+4=56'] Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[81, 51, 52, 4], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [81, 4, 1] Generated Node #0,0: 86:[81, 4, 1] Operation: 52-51=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[81, 4, 1], Operations: ['52-51=1'] Exploring Operation: 81+4=85, Resulting Numbers: [1, 85] Generated Node #0,0,0: 86:[1, 85] Operation: 81+4=85 Moving to Node #0,0,0 Current State: 86:[1, 85], Operations: ['52-51=1', '81+4=85'] Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[81, 51, 52, 4], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [81, 4, 1] Generated Node #0,0: 86:[81, 4, 1] Operation: 52-51=1 Moving to Node #0,0 Current State: 86:[81, 4, 1], Operations: ['52-51=1'] Exploring Operation: 81+4=85, Resulting Numbers: [1, 85] Generated Node #0,0,0: 86:[1, 85] Operation: 81+4=85 Moving to Node #0,0,0 Current State: 86:[1, 85], Operations: ['52-51=1', '81+4=85'] Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 4, 14, 9, 90 ]
84
[ "90/9=10", "10-4=6", "14*6=84" ]
Current State: 84:[4, 14, 9, 90], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [4, 14, 10] Generated Node #2: [4, 14, 10] from Operation: 90/9=10 Current State: 84:[4, 14, 10], Operations: ['90/9=10'] Exploring Operation: 10-4=6, Resulting Numbers: [14, 6] Generated Node #3: [14, 6] from Operation: 10-4=6 Current State: 84:[14, 6], Operations: ['90/9=10', '10-4=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[4, 14, 9, 90], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [4, 14, 10] Generated Node #0,0: 84:[4, 14, 10] Operation: 90/9=10 Moving to Node #0,0 Current State: 84:[4, 14, 10], Operations: ['90/9=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14, 14] Generated Node #0,0,0: 84:[14, 14] Operation: 4+10=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[14, 14], Operations: ['90/9=10', '4+10=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 86, 99, 71, 82 ]
77
[ "82-71=11", "99/11=9", "86-9=77" ]
Current State: 77:[86, 99, 71, 82], Operations: [] Exploring Operation: 82-71=11, Resulting Numbers: [86, 99, 11] Generated Node #2: [86, 99, 11] from Operation: 82-71=11 Current State: 77:[86, 99, 11], Operations: ['82-71=11'] Exploring Operation: 99/11=9, Resulting Numbers: [86, 9] Generated Node #3: [86, 9] from Operation: 99/11=9 Current State: 77:[86, 9], Operations: ['82-71=11', '99/11=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[86, 99, 71, 82], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [86, 71, 17] Generated Node #0,0: 77:[86, 71, 17] Operation: 99-82=17 Exploring Operation: 99-86=13, Resulting Numbers: [71, 82, 13] Generated Node #0,1: 77:[71, 82, 13] Operation: 99-86=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[71, 82, 13], Operations: ['99-86=13'] Exploring Operation: 71+13=84, Resulting Numbers: [82, 84] Generated Node #0,1,0: 77:[82, 84] Operation: 71+13=84 Exploring Operation: 82-71=11, Resulting Numbers: [13, 11] Generated Node #0,1,1: 77:[13, 11] Operation: 82-71=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[13, 11], Operations: ['99-86=13', '82-71=11'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,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,1,0 Current State: 77:[82, 84], Operations: ['99-86=13', '71+13=84'] Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 82+84=166, Resulting Numbers: [166] 166,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,0 Current State: 77:[86, 71, 17], Operations: ['99-82=17'] Exploring Operation: 86-71=15, Resulting Numbers: [17, 15] Generated Node #0,0,0: 77:[17, 15] Operation: 86-71=15 Exploring Operation: 86-17=69, Resulting Numbers: [71, 69] Generated Node #0,0,1: 77:[71, 69] Operation: 86-17=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[17, 15], Operations: ['99-82=17', '86-71=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[71, 69], Operations: ['99-82=17', '86-17=69'] Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 71+69=140, Resulting Numbers: [140] 140,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 No solution found.
0
hs_2
sum_heuristic
[ 70, 13, 18, 3 ]
37
[ "70-13=57", "57/3=19", "18+19=37" ]
Current State: 37:[70, 13, 18, 3], Operations: [] Exploring Operation: 70-13=57, Resulting Numbers: [18, 3, 57] Generated Node #2: [18, 3, 57] from Operation: 70-13=57 Current State: 37:[18, 3, 57], Operations: ['70-13=57'] Exploring Operation: 57/3=19, Resulting Numbers: [18, 19] Generated Node #3: [18, 19] from Operation: 57/3=19 Current State: 37:[18, 19], Operations: ['70-13=57', '57/3=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[70, 13, 18, 3], Operations: [] Exploring Operation: 70-3=67, Resulting Numbers: [13, 18, 67] Generated Node #0,0: 37:[13, 18, 67] Operation: 70-3=67 Exploring Operation: 70-18=52, Resulting Numbers: [13, 3, 52] Generated Node #0,1: 37:[13, 3, 52] Operation: 70-18=52 Exploring Operation: 13*3=39, Resulting Numbers: [70, 18, 39] Generated Node #0,2: 37:[70, 18, 39] Operation: 13*3=39 Exploring Operation: 70-13=57, Resulting Numbers: [18, 3, 57] Generated Node #0,3: 37:[18, 3, 57] Operation: 70-13=57 Moving to Node #0,2 Current State: 37:[70, 18, 39], Operations: ['13*3=39'] Exploring Operation: 70-18=52, Resulting Numbers: [39, 52] Generated Node #0,2,0: 37:[39, 52] Operation: 70-18=52 Exploring Operation: 39-18=21, Resulting Numbers: [70, 21] Generated Node #0,2,1: 37:[70, 21] Operation: 39-18=21 Exploring Operation: 70+18=88, Resulting Numbers: [39, 88] Generated Node #0,2,2: 37:[39, 88] Operation: 70+18=88 Exploring Operation: 70-39=31, Resulting Numbers: [18, 31] Generated Node #0,2,3: 37:[18, 31] Operation: 70-39=31 Moving to Node #0,1 Current State: 37:[13, 3, 52], Operations: ['70-18=52'] Exploring Operation: 52-3=49, Resulting Numbers: [13, 49] Generated Node #0,1,0: 37:[13, 49] Operation: 52-3=49 Exploring Operation: 52-13=39, Resulting Numbers: [3, 39] Generated Node #0,1,1: 37:[3, 39] Operation: 52-13=39 Exploring Operation: 13+3=16, Resulting Numbers: [52, 16] Generated Node #0,1,2: 37:[52, 16] Operation: 13+3=16 Exploring Operation: 13*3=39, Resulting Numbers: [52, 39] Generated Node #0,1,3: 37:[52, 39] Operation: 13*3=39 Moving to Node #0,0 Current State: 37:[13, 18, 67], Operations: ['70-3=67'] Exploring Operation: 13+18=31, Resulting Numbers: [67, 31] Generated Node #0,0,0: 37:[67, 31] Operation: 13+18=31 Exploring Operation: 67-13=54, Resulting Numbers: [18, 54] Generated Node #0,0,1: 37:[18, 54] Operation: 67-13=54 Exploring Operation: 18-13=5, Resulting Numbers: [67, 5] Generated Node #0,0,2: 37:[67, 5] Operation: 18-13=5 Exploring Operation: 67-18=49, Resulting Numbers: [13, 49] Generated Node #0,0,3: 37:[13, 49] Operation: 67-18=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[67, 31], Operations: ['70-3=67', '13+18=31'] Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,37 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,37 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[18, 54], Operations: ['70-3=67', '67-13=54'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,37 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[13, 49], Operations: ['70-3=67', '67-18=49'] Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,37 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[67, 5], Operations: ['70-3=67', '18-13=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 37:[18, 3, 57], Operations: ['70-13=57'] Exploring Operation: 57-18=39, Resulting Numbers: [3, 39] Generated Node #0,3,0: 37:[3, 39] Operation: 57-18=39 Exploring Operation: 18+3=21, Resulting Numbers: [57, 21] Generated Node #0,3,1: 37:[57, 21] Operation: 18+3=21 Exploring Operation: 57-3=54, Resulting Numbers: [18, 54] Generated Node #0,3,2: 37:[18, 54] Operation: 57-3=54 Exploring Operation: 18*3=54, Resulting Numbers: [57, 54] Generated Node #0,3,3: 37:[57, 54] Operation: 18*3=54 Moving to Node #0,2,0 Current State: 37:[39, 52], Operations: ['13*3=39', '70-18=52'] Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[52, 39], Operations: ['70-18=52', '13*3=39'] Exploring Operation: 52+39=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 52*39=2028, Resulting Numbers: [2028] 2028,37 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[18, 31], Operations: ['13*3=39', '70-39=31'] Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,37 unequal: No Solution Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[13, 49], Operations: ['70-18=52', '52-3=49'] Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,37 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[3, 39], Operations: ['70-18=52', '52-13=39'] Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[3, 39], Operations: ['70-13=57', '57-18=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[18, 54], Operations: ['70-13=57', '57-3=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,37 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[57, 21], Operations: ['70-13=57', '18+3=21'] Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,37 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[52, 16], Operations: ['70-18=52', '13+3=16'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[57, 54], Operations: ['70-13=57', '18*3=54'] Exploring Operation: 57*54=3078, Resulting Numbers: [3078] 3078,37 unequal: No Solution Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,37 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[70, 21], Operations: ['13*3=39', '39-18=21'] Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[39, 88], Operations: ['13*3=39', '70+18=88'] Exploring Operation: 39*88=3432, Resulting Numbers: [3432] 3432,37 unequal: No Solution Exploring Operation: 39+88=127, Resulting Numbers: [127] 127,37 unequal: No Solution Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,37 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 31, 17, 45, 60 ]
33
[ "31+17=48", "60-45=15", "48-15=33" ]
Current State: 33:[31, 17, 45, 60], Operations: [] Exploring Operation: 31+17=48, Resulting Numbers: [45, 60, 48] Generated Node #2: [45, 60, 48] from Operation: 31+17=48 Current State: 33:[45, 60, 48], Operations: ['31+17=48'] Exploring Operation: 60-45=15, Resulting Numbers: [48, 15] Generated Node #3: [48, 15] from Operation: 60-45=15 Current State: 33:[48, 15], Operations: ['31+17=48', '60-45=15'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[31, 17, 45, 60], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [17, 45, 29] Generated Node #0,0: 33:[17, 45, 29] Operation: 60-31=29 Exploring Operation: 60-45=15, Resulting Numbers: [31, 17, 15] Generated Node #0,1: 33:[31, 17, 15] Operation: 60-45=15 Exploring Operation: 60-17=43, Resulting Numbers: [31, 45, 43] Generated Node #0,2: 33:[31, 45, 43] Operation: 60-17=43 Exploring Operation: 45-17=28, Resulting Numbers: [31, 60, 28] Generated Node #0,3: 33:[31, 60, 28] Operation: 45-17=28 Exploring Operation: 45-31=14, Resulting Numbers: [17, 60, 14] Generated Node #0,4: 33:[17, 60, 14] Operation: 45-31=14 Moving to Node #0,1 Current State: 33:[31, 17, 15], Operations: ['60-45=15'] Exploring Operation: 31+17=48, Resulting Numbers: [15, 48] Generated Node #0,1,0: 33:[15, 48] Operation: 31+17=48 Exploring Operation: 17+15=32, Resulting Numbers: [31, 32] Generated Node #0,1,1: 33:[31, 32] Operation: 17+15=32 Exploring Operation: 31-17=14, Resulting Numbers: [15, 14] Generated Node #0,1,2: 33:[15, 14] Operation: 31-17=14 Exploring Operation: 31-15=16, Resulting Numbers: [17, 16] Generated Node #0,1,3: 33:[17, 16] Operation: 31-15=16 Exploring Operation: 17-15=2, Resulting Numbers: [31, 2] Generated Node #0,1,4: 33:[31, 2] Operation: 17-15=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[31, 32], Operations: ['60-45=15', '17+15=32'] Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 33:[31, 2], Operations: ['60-45=15', '17-15=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[31, 17, 45, 60], Operations: [] Exploring Operation: 60-45=15, Resulting Numbers: [31, 17, 15] Generated Node #0,1: 33:[31, 17, 15] Operation: 60-45=15 Moving to Node #0,1 Current State: 33:[31, 17, 15], Operations: ['60-45=15'] Exploring Operation: 17-15=2, Resulting Numbers: [31, 2] Generated Node #0,1,4: 33:[31, 2] Operation: 17-15=2 Moving to Node #0,1,4 Current State: 33:[31, 2], Operations: ['60-45=15', '17-15=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 10, 35, 55, 46 ]
15
[ "46-35=11", "55/11=5", "10+5=15" ]
Current State: 15:[10, 35, 55, 46], Operations: [] Exploring Operation: 46-35=11, Resulting Numbers: [10, 55, 11] Generated Node #2: [10, 55, 11] from Operation: 46-35=11 Current State: 15:[10, 55, 11], Operations: ['46-35=11'] Exploring Operation: 55/11=5, Resulting Numbers: [10, 5] Generated Node #3: [10, 5] from Operation: 55/11=5 Current State: 15:[10, 5], Operations: ['46-35=11', '55/11=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[10, 35, 55, 46], Operations: [] Exploring Operation: 35-10=25, Resulting Numbers: [55, 46, 25] Generated Node #0,0: 15:[55, 46, 25] Operation: 35-10=25 Exploring Operation: 55-46=9, Resulting Numbers: [10, 35, 9] Generated Node #0,1: 15:[10, 35, 9] Operation: 55-46=9 Exploring Operation: 55-35=20, Resulting Numbers: [10, 46, 20] Generated Node #0,2: 15:[10, 46, 20] Operation: 55-35=20 Exploring Operation: 46-35=11, Resulting Numbers: [10, 55, 11] Generated Node #0,3: 15:[10, 55, 11] Operation: 46-35=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[10, 35, 9], Operations: ['55-46=9'] Exploring Operation: 10-9=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 15:[35, 1] Operation: 10-9=1 Exploring Operation: 35-9=26, Resulting Numbers: [10, 26] Generated Node #0,1,1: 15:[10, 26] Operation: 35-9=26 Exploring Operation: 10+9=19, Resulting Numbers: [35, 19] Generated Node #0,1,2: 15:[35, 19] Operation: 10+9=19 Exploring Operation: 35-10=25, Resulting Numbers: [9, 25] Generated Node #0,1,3: 15:[9, 25] Operation: 35-10=25 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[9, 25], Operations: ['55-46=9', '35-10=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,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,1 Current State: 15:[10, 26], Operations: ['55-46=9', '35-9=26'] Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,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:[35, 1], Operations: ['55-46=9', '10-9=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,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:[35, 19], Operations: ['55-46=9', '10+9=19'] Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,15 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,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:[10, 46, 20], Operations: ['55-35=20'] Exploring Operation: 20/10=2, Resulting Numbers: [46, 2] Generated Node #0,2,0: 15:[46, 2] Operation: 20/10=2 Exploring Operation: 46-20=26, Resulting Numbers: [10, 26] Generated Node #0,2,1: 15:[10, 26] Operation: 46-20=26 Exploring Operation: 20-10=10, Resulting Numbers: [46, 10] Generated Node #0,2,2: 15:[46, 10] Operation: 20-10=10 Exploring Operation: 46-10=36, Resulting Numbers: [20, 36] Generated Node #0,2,3: 15:[20, 36] Operation: 46-10=36 Moving to Node #0,2,1 Current State: 15:[10, 26], Operations: ['55-35=20', '46-20=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[20, 36], Operations: ['55-35=20', '46-10=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,15 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[46, 2], Operations: ['55-35=20', '20/10=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,15 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[46, 10], Operations: ['55-35=20', '20-10=10'] Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,15 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,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:[10, 55, 11], Operations: ['46-35=11'] Exploring Operation: 55-11=44, Resulting Numbers: [10, 44] Generated Node #0,3,0: 15:[10, 44] Operation: 55-11=44 Exploring Operation: 55/11=5, Resulting Numbers: [10, 5] Generated Node #0,3,1: 15:[10, 5] Operation: 55/11=5 Exploring Operation: 11-10=1, Resulting Numbers: [55, 1] Generated Node #0,3,2: 15:[55, 1] Operation: 11-10=1 Exploring Operation: 55-10=45, Resulting Numbers: [11, 45] Generated Node #0,3,3: 15:[11, 45] Operation: 55-10=45 Moving to Node #0,3,1 Current State: 15:[10, 5], Operations: ['46-35=11', '55/11=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[10, 35, 55, 46], Operations: [] Exploring Operation: 46-35=11, Resulting Numbers: [10, 55, 11] Generated Node #0,3: 15:[10, 55, 11] Operation: 46-35=11 Moving to Node #0,3 Current State: 15:[10, 55, 11], Operations: ['46-35=11'] Exploring Operation: 55/11=5, Resulting Numbers: [10, 5] Generated Node #0,3,1: 15:[10, 5] Operation: 55/11=5 Moving to Node #0,3,1 Current State: 15:[10, 5], Operations: ['46-35=11', '55/11=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 23, 26, 31, 40 ]
74
[ "26-23=3", "31+40=71", "3+71=74" ]
Current State: 74:[23, 26, 31, 40], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [31, 40, 3] Generated Node #2: [31, 40, 3] from Operation: 26-23=3 Current State: 74:[31, 40, 3], Operations: ['26-23=3'] Exploring Operation: 31+40=71, Resulting Numbers: [3, 71] Generated Node #3: [3, 71] from Operation: 31+40=71 Current State: 74:[3, 71], Operations: ['26-23=3', '31+40=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[23, 26, 31, 40], Operations: [] Exploring Operation: 31-23=8, Resulting Numbers: [26, 40, 8] Generated Node #0,0: 74:[26, 40, 8] Operation: 31-23=8 Exploring Operation: 31-26=5, Resulting Numbers: [23, 40, 5] Generated Node #0,1: 74:[23, 40, 5] Operation: 31-26=5 Exploring Operation: 23+26=49, Resulting Numbers: [31, 40, 49] Generated Node #0,2: 74:[31, 40, 49] Operation: 23+26=49 Exploring Operation: 26-23=3, Resulting Numbers: [31, 40, 3] Generated Node #0,3: 74:[31, 40, 3] Operation: 26-23=3 Moving to Node #0,3 Current State: 74:[31, 40, 3], Operations: ['26-23=3'] Exploring Operation: 31+3=34, Resulting Numbers: [40, 34] Generated Node #0,3,0: 74:[40, 34] Operation: 31+3=34 Exploring Operation: 40-31=9, Resulting Numbers: [3, 9] Generated Node #0,3,1: 74:[3, 9] Operation: 40-31=9 Exploring Operation: 31+40=71, Resulting Numbers: [3, 71] Generated Node #0,3,2: 74:[3, 71] Operation: 31+40=71 Exploring Operation: 40-3=37, Resulting Numbers: [31, 37] Generated Node #0,3,3: 74:[31, 37] Operation: 40-3=37 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[3, 71], Operations: ['26-23=3', '31+40=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[23, 26, 31, 40], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [31, 40, 3] Generated Node #0,3: 74:[31, 40, 3] Operation: 26-23=3 Moving to Node #0,3 Current State: 74:[31, 40, 3], Operations: ['26-23=3'] Exploring Operation: 31+40=71, Resulting Numbers: [3, 71] Generated Node #0,3,2: 74:[3, 71] Operation: 31+40=71 Moving to Node #0,3,2 Current State: 74:[3, 71], Operations: ['26-23=3', '31+40=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 50, 33, 77, 11 ]
91
[ "50-11=39", "77*39=3003", "3003/33=91" ]
Current State: 91:[50, 33, 77, 11], Operations: [] Exploring Operation: 50-11=39, Resulting Numbers: [33, 77, 39] Generated Node #2: [33, 77, 39] from Operation: 50-11=39 Current State: 91:[33, 77, 39], Operations: ['50-11=39'] Exploring Operation: 77*39=3003, Resulting Numbers: [33, 3003] Generated Node #3: [33, 3003] from Operation: 77*39=3003 Current State: 91:[33, 3003], Operations: ['50-11=39', '77*39=3003'] Exploring Operation: 3003/33=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[50, 33, 77, 11], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [77, 11, 17] Generated Node #0,0: 91:[77, 11, 17] Operation: 50-33=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[77, 11, 17], Operations: ['50-33=17'] Exploring Operation: 77/11=7, Resulting Numbers: [17, 7] Generated Node #0,0,0: 91:[17, 7] Operation: 77/11=7 Moving to Node #0,0,0 Current State: 91:[17, 7], Operations: ['50-33=17', '77/11=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 91, 21, 39, 60 ]
92
[ "21+39=60", "60/60=1", "91+1=92" ]
Current State: 92:[91, 21, 39, 60], Operations: [] Exploring Operation: 21+39=60, Resulting Numbers: [91, 60, 60] Generated Node #2: [91, 60, 60] from Operation: 21+39=60 Current State: 92:[91, 60, 60], Operations: ['21+39=60'] Exploring Operation: 60/60=1, Resulting Numbers: [91, 1] Generated Node #3: [91, 1] from Operation: 60/60=1 Current State: 92:[91, 1], Operations: ['21+39=60', '60/60=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[91, 21, 39, 60], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [91, 39, 39] Generated Node #0,0: 92:[91, 39, 39] Operation: 60-21=39 Exploring Operation: 91-60=31, Resulting Numbers: [21, 39, 31] Generated Node #0,1: 92:[21, 39, 31] Operation: 91-60=31 Exploring Operation: 60-39=21, Resulting Numbers: [91, 21, 21] Generated Node #0,2: 92:[91, 21, 21] Operation: 60-39=21 Exploring Operation: 39+60=99, Resulting Numbers: [91, 21, 99] Generated Node #0,3: 92:[91, 21, 99] Operation: 39+60=99 Moving to Node #0,2 Current State: 92:[91, 21, 21], Operations: ['60-39=21'] Exploring Operation: 91+21=112, Resulting Numbers: [21, 112] Generated Node #0,2,0: 92:[21, 112] Operation: 91+21=112 Exploring Operation: 21/21=1, Resulting Numbers: [91, 1] Generated Node #0,2,1: 92:[91, 1] Operation: 21/21=1 Exploring Operation: 21-21=0, Resulting Numbers: [91, 0] Generated Node #0,2,2: 92:[91, 0] Operation: 21-21=0 Exploring Operation: 21+21=42, Resulting Numbers: [91, 42] Generated Node #0,2,3: 92:[91, 42] Operation: 21+21=42 Moving to Node #0,3 Current State: 92:[91, 21, 99], Operations: ['39+60=99'] Exploring Operation: 99-91=8, Resulting Numbers: [21, 8] Generated Node #0,3,0: 92:[21, 8] Operation: 99-91=8 Exploring Operation: 91-21=70, Resulting Numbers: [99, 70] Generated Node #0,3,1: 92:[99, 70] Operation: 91-21=70 Exploring Operation: 99-21=78, Resulting Numbers: [91, 78] Generated Node #0,3,2: 92:[91, 78] Operation: 99-21=78 Exploring Operation: 91+21=112, Resulting Numbers: [99, 112] Generated Node #0,3,3: 92:[99, 112] Operation: 91+21=112 Moving to Node #0,0 Current State: 92:[91, 39, 39], Operations: ['60-21=39'] Exploring Operation: 39/39=1, Resulting Numbers: [91, 1] Generated Node #0,0,0: 92:[91, 1] Operation: 39/39=1 Exploring Operation: 91-39=52, Resulting Numbers: [39, 52] Generated Node #0,0,1: 92:[39, 52] Operation: 91-39=52 Exploring Operation: 39-39=0, Resulting Numbers: [91, 0] Generated Node #0,0,2: 92:[91, 0] Operation: 39-39=0 Exploring Operation: 91-39=52, Resulting Numbers: [39, 52] Generated Node #0,0,3: 92:[39, 52] Operation: 91-39=52 Moving to Node #0,1 Current State: 92:[21, 39, 31], Operations: ['91-60=31'] Exploring Operation: 21+31=52, Resulting Numbers: [39, 52] Generated Node #0,1,0: 92:[39, 52] Operation: 21+31=52 Exploring Operation: 31-21=10, Resulting Numbers: [39, 10] Generated Node #0,1,1: 92:[39, 10] Operation: 31-21=10 Exploring Operation: 39-21=18, Resulting Numbers: [31, 18] Generated Node #0,1,2: 92:[31, 18] Operation: 39-21=18 Exploring Operation: 39-31=8, Resulting Numbers: [21, 8] Generated Node #0,1,3: 92:[21, 8] Operation: 39-31=8 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[21, 8], Operations: ['91-60=31', '39-31=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,92 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[39, 52], Operations: ['91-60=31', '21+31=52'] Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,92 unequal: No Solution Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[39, 10], Operations: ['91-60=31', '31-21=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,92 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[31, 18], Operations: ['91-60=31', '39-21=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,92 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 92:[91, 1], Operations: ['60-39=21', '21/21=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[91, 21, 39, 60], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [91, 21, 21] Generated Node #0,2: 92:[91, 21, 21] Operation: 60-39=21 Moving to Node #0,2 Current State: 92:[91, 21, 21], Operations: ['60-39=21'] Exploring Operation: 21/21=1, Resulting Numbers: [91, 1] Generated Node #0,2,1: 92:[91, 1] Operation: 21/21=1 Moving to Node #0,2,1 Current State: 92:[91, 1], Operations: ['60-39=21', '21/21=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 34, 30, 86, 86 ]
82
[ "34+86=120", "120/30=4", "86-4=82" ]
Current State: 82:[34, 30, 86, 86], Operations: [] Exploring Operation: 34+86=120, Resulting Numbers: [30, 120] Generated Node #2: [30, 120] from Operation: 34+86=120 Current State: 82:[30, 120], Operations: ['34+86=120'] Exploring Operation: 120/30=4, Resulting Numbers: [4] 4,82 equal: Goal Reached Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[34, 30, 86, 86], Operations: [] Exploring Operation: 86/86=1, Resulting Numbers: [34, 30, 1] Generated Node #0,0: 82:[34, 30, 1] Operation: 86/86=1 Exploring Operation: 34-30=4, Resulting Numbers: [86, 86, 4] Generated Node #0,1: 82:[86, 86, 4] Operation: 34-30=4 Moving to Node #0,1 Current State: 82:[86, 86, 4], Operations: ['34-30=4'] Exploring Operation: 86/86=1, Resulting Numbers: [4, 1] Generated Node #0,1,0: 82:[4, 1] Operation: 86/86=1 Exploring Operation: 86-86=0, Resulting Numbers: [4, 0] Generated Node #0,1,1: 82:[4, 0] Operation: 86-86=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[4, 1], Operations: ['34-30=4', '86/86=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[4, 0], Operations: ['34-30=4', '86-86=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 82:[34, 30, 1], Operations: ['86/86=1'] Exploring Operation: 34+1=35, Resulting Numbers: [30, 35] Generated Node #0,0,0: 82:[30, 35] Operation: 34+1=35 Exploring Operation: 34-30=4, Resulting Numbers: [1, 4] Generated Node #0,0,1: 82:[1, 4] Operation: 34-30=4 Moving to Node #0,0,1 Current State: 82:[1, 4], Operations: ['86/86=1', '34-30=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[30, 35], Operations: ['86/86=1', '34+1=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,82 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 9, 20, 52 ]
34
[ "29+9=38", "20+52=72", "72-38=34" ]
Current State: 34:[29, 9, 20, 52], Operations: [] Exploring Operation: 29+9=38, Resulting Numbers: [20, 52, 38] Generated Node #2: [20, 52, 38] from Operation: 29+9=38 Current State: 34:[20, 52, 38], Operations: ['29+9=38'] Exploring Operation: 20+52=72, Resulting Numbers: [38, 72] Generated Node #3: [38, 72] from Operation: 20+52=72 Current State: 34:[38, 72], Operations: ['29+9=38', '20+52=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[29, 9, 20, 52], Operations: [] Exploring Operation: 52-9=43, Resulting Numbers: [29, 20, 43] Generated Node #0,0: 34:[29, 20, 43] Operation: 52-9=43 Exploring Operation: 29-9=20, Resulting Numbers: [20, 52, 20] Generated Node #0,1: 34:[20, 52, 20] Operation: 29-9=20 Exploring Operation: 52-29=23, Resulting Numbers: [9, 20, 23] Generated Node #0,2: 34:[9, 20, 23] Operation: 52-29=23 Exploring Operation: 29+9=38, Resulting Numbers: [20, 52, 38] Generated Node #0,3: 34:[20, 52, 38] Operation: 29+9=38 Exploring Operation: 52-20=32, Resulting Numbers: [29, 9, 32] Generated Node #0,4: 34:[29, 9, 32] Operation: 52-20=32 Start Sub Search at level 1: Moving to Node #0,4 Current State: 34:[29, 9, 32], Operations: ['52-20=32'] Exploring Operation: 9+32=41, Resulting Numbers: [29, 41] Generated Node #0,4,0: 34:[29, 41] Operation: 9+32=41 Exploring Operation: 29-9=20, Resulting Numbers: [32, 20] Generated Node #0,4,1: 34:[32, 20] Operation: 29-9=20 Exploring Operation: 29+9=38, Resulting Numbers: [32, 38] Generated Node #0,4,2: 34:[32, 38] Operation: 29+9=38 Exploring Operation: 32-29=3, Resulting Numbers: [9, 3] Generated Node #0,4,3: 34:[9, 3] Operation: 32-29=3 Exploring Operation: 32-9=23, Resulting Numbers: [29, 23] Generated Node #0,4,4: 34:[29, 23] Operation: 32-9=23 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 34:[32, 20], Operations: ['52-20=32', '29-9=20'] Exploring Operation: 32+20=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 32*20=640, Resulting Numbers: [640] 640,34 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,34 unequal: No Solution No 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: 34:[32, 38], Operations: ['52-20=32', '29+9=38'] Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,34 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,34 unequal: No Solution No 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: 34:[9, 3], Operations: ['52-20=32', '32-29=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,34 unequal: No Solution No 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: 34:[29, 23], Operations: ['52-20=32', '32-9=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,34 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,34 unequal: No Solution No 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: 34:[29, 41], Operations: ['52-20=32', '9+32=41'] Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,34 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[9, 20, 23], Operations: ['52-29=23'] Exploring Operation: 23-20=3, Resulting Numbers: [9, 3] Generated Node #0,2,0: 34:[9, 3] Operation: 23-20=3 Exploring Operation: 9+23=32, Resulting Numbers: [20, 32] Generated Node #0,2,1: 34:[20, 32] Operation: 9+23=32 Exploring Operation: 9+20=29, Resulting Numbers: [23, 29] Generated Node #0,2,2: 34:[23, 29] Operation: 9+20=29 Exploring Operation: 23-9=14, Resulting Numbers: [20, 14] Generated Node #0,2,3: 34:[20, 14] Operation: 23-9=14 Exploring Operation: 20-9=11, Resulting Numbers: [23, 11] Generated Node #0,2,4: 34:[23, 11] Operation: 20-9=11 Moving to Node #0,2,1 Current State: 34:[20, 32], Operations: ['52-29=23', '9+23=32'] Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,34 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[20, 14], Operations: ['52-29=23', '23-9=14'] Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,34 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[29, 9, 20, 52], Operations: [] Exploring Operation: 52-29=23, Resulting Numbers: [9, 20, 23] Generated Node #0,2: 34:[9, 20, 23] Operation: 52-29=23 Moving to Node #0,2 Current State: 34:[9, 20, 23], Operations: ['52-29=23'] Exploring Operation: 23-9=14, Resulting Numbers: [20, 14] Generated Node #0,2,3: 34:[20, 14] Operation: 23-9=14 Moving to Node #0,2,3 Current State: 34:[20, 14], Operations: ['52-29=23', '23-9=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 14, 32, 71, 61 ]
56
[ "14+32=46", "71-61=10", "46+10=56" ]
Current State: 56:[14, 32, 71, 61], Operations: [] Exploring Operation: 14+32=46, Resulting Numbers: [71, 61, 46] Generated Node #2: [71, 61, 46] from Operation: 14+32=46 Current State: 56:[71, 61, 46], Operations: ['14+32=46'] Exploring Operation: 71-61=10, Resulting Numbers: [46, 10] Generated Node #3: [46, 10] from Operation: 71-61=10 Current State: 56:[46, 10], Operations: ['14+32=46', '71-61=10'] Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[14, 32, 71, 61], Operations: [] Exploring Operation: 71-61=10, Resulting Numbers: [14, 32, 10] Generated Node #0,0: 56:[14, 32, 10] Operation: 71-61=10 Exploring Operation: 61-32=29, Resulting Numbers: [14, 71, 29] Generated Node #0,1: 56:[14, 71, 29] Operation: 61-32=29 Exploring Operation: 71-14=57, Resulting Numbers: [32, 61, 57] Generated Node #0,2: 56:[32, 61, 57] Operation: 71-14=57 Exploring Operation: 71-32=39, Resulting Numbers: [14, 61, 39] Generated Node #0,3: 56:[14, 61, 39] Operation: 71-32=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[14, 32, 10], Operations: ['71-61=10'] Exploring Operation: 32-14=18, Resulting Numbers: [10, 18] Generated Node #0,0,0: 56:[10, 18] Operation: 32-14=18 Exploring Operation: 32-10=22, Resulting Numbers: [14, 22] Generated Node #0,0,1: 56:[14, 22] Operation: 32-10=22 Exploring Operation: 14-10=4, Resulting Numbers: [32, 4] Generated Node #0,0,2: 56:[32, 4] Operation: 14-10=4 Exploring Operation: 14+10=24, Resulting Numbers: [32, 24] Generated Node #0,0,3: 56:[32, 24] Operation: 14+10=24 Moving to Node #0,0,2 Current State: 56:[32, 4], Operations: ['71-61=10', '14-10=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[14, 22], Operations: ['71-61=10', '32-10=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,56 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[10, 18], Operations: ['71-61=10', '32-14=18'] Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,56 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[32, 24], Operations: ['71-61=10', '14+10=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[14, 32, 71, 61], Operations: [] Exploring Operation: 71-61=10, Resulting Numbers: [14, 32, 10] Generated Node #0,0: 56:[14, 32, 10] Operation: 71-61=10 Moving to Node #0,0 Current State: 56:[14, 32, 10], Operations: ['71-61=10'] Exploring Operation: 14+10=24, Resulting Numbers: [32, 24] Generated Node #0,0,3: 56:[32, 24] Operation: 14+10=24 Moving to Node #0,0,3 Current State: 56:[32, 24], Operations: ['71-61=10', '14+10=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 24, 67, 7, 41 ]
65
[ "7+41=48", "48/24=2", "67-2=65" ]
Current State: 65:[24, 67, 7, 41], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [24, 67, 48] Generated Node #2: [24, 67, 48] from Operation: 7+41=48 Current State: 65:[24, 67, 48], Operations: ['7+41=48'] Exploring Operation: 48/24=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 48/24=2 Current State: 65:[67, 2], Operations: ['7+41=48', '48/24=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[24, 67, 7, 41], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [24, 67, 48] Generated Node #0,0: 65:[24, 67, 48] Operation: 7+41=48 Exploring Operation: 24+41=65, Resulting Numbers: [67, 7, 65] Generated Node #0,1: 65:[67, 7, 65] Operation: 24+41=65 Exploring Operation: 24-7=17, Resulting Numbers: [67, 41, 17] Generated Node #0,2: 65:[67, 41, 17] Operation: 24-7=17 Exploring Operation: 67-41=26, Resulting Numbers: [24, 7, 26] Generated Node #0,3: 65:[24, 7, 26] Operation: 67-41=26 Exploring Operation: 41-24=17, Resulting Numbers: [67, 7, 17] Generated Node #0,4: 65:[67, 7, 17] Operation: 41-24=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[67, 7, 65], Operations: ['24+41=65'] Exploring Operation: 67-7=60, Resulting Numbers: [65, 60] Generated Node #0,1,0: 65:[65, 60] Operation: 67-7=60 Exploring Operation: 67-65=2, Resulting Numbers: [7, 2] Generated Node #0,1,1: 65:[7, 2] Operation: 67-65=2 Exploring Operation: 65-7=58, Resulting Numbers: [67, 58] Generated Node #0,1,2: 65:[67, 58] Operation: 65-7=58 Exploring Operation: 7+65=72, Resulting Numbers: [67, 72] Generated Node #0,1,3: 65:[67, 72] Operation: 7+65=72 Exploring Operation: 67+7=74, Resulting Numbers: [65, 74] Generated Node #0,1,4: 65:[65, 74] Operation: 67+7=74 Moving to Node #0,1,0 Current State: 65:[65, 60], Operations: ['24+41=65', '67-7=60'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 65*60=3900, Resulting Numbers: [3900] 3900,65 unequal: No Solution Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[7, 2], Operations: ['24+41=65', '67-65=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[67, 58], Operations: ['24+41=65', '65-7=58'] Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,65 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[67, 72], Operations: ['24+41=65', '7+65=72'] Exploring Operation: 67*72=4824, Resulting Numbers: [4824] 4824,65 unequal: No Solution Exploring Operation: 67+72=139, Resulting Numbers: [139] 139,65 unequal: No Solution Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[65, 74], Operations: ['24+41=65', '67+7=74'] Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 65*74=4810, Resulting Numbers: [4810] 4810,65 unequal: No Solution Exploring Operation: 65+74=139, Resulting Numbers: [139] 139,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,4 Current State: 65:[67, 7, 17], Operations: ['41-24=17'] Exploring Operation: 7+17=24, Resulting Numbers: [67, 24] Generated Node #0,4,0: 65:[67, 24] Operation: 7+17=24 Exploring Operation: 67-7=60, Resulting Numbers: [17, 60] Generated Node #0,4,1: 65:[17, 60] Operation: 67-7=60 Exploring Operation: 67-17=50, Resulting Numbers: [7, 50] Generated Node #0,4,2: 65:[7, 50] Operation: 67-17=50 Exploring Operation: 67+7=74, Resulting Numbers: [17, 74] Generated Node #0,4,3: 65:[17, 74] Operation: 67+7=74 Exploring Operation: 17-7=10, Resulting Numbers: [67, 10] Generated Node #0,4,4: 65:[67, 10] Operation: 17-7=10 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 65:[67, 10], Operations: ['41-24=17', '17-7=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,65 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,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,4,1 Current State: 65:[17, 60], Operations: ['41-24=17', '67-7=60'] Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 17*60=1020, Resulting Numbers: [1020] 1020,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,4,0 Current State: 65:[67, 24], Operations: ['41-24=17', '7+17=24'] Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,65 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,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,4,3 Current State: 65:[17, 74], Operations: ['41-24=17', '67+7=74'] Exploring Operation: 17*74=1258, Resulting Numbers: [1258] 1258,65 unequal: No Solution Exploring Operation: 17+74=91, Resulting Numbers: [91] 91,65 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,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,4,2 Current State: 65:[7, 50], Operations: ['41-24=17', '67-17=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,65 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[24, 7, 26], Operations: ['67-41=26'] Exploring Operation: 24-7=17, Resulting Numbers: [26, 17] Generated Node #0,3,0: 65:[26, 17] Operation: 24-7=17 Exploring Operation: 24+26=50, Resulting Numbers: [7, 50] Generated Node #0,3,1: 65:[7, 50] Operation: 24+26=50 Exploring Operation: 26-7=19, Resulting Numbers: [24, 19] Generated Node #0,3,2: 65:[24, 19] Operation: 26-7=19 Exploring Operation: 26-24=2, Resulting Numbers: [7, 2] Generated Node #0,3,3: 65:[7, 2] Operation: 26-24=2 Exploring Operation: 24+7=31, Resulting Numbers: [26, 31] Generated Node #0,3,4: 65:[26, 31] Operation: 24+7=31 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 65:[7, 2], Operations: ['67-41=26', '26-24=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,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,3,0 Current State: 65:[26, 17], Operations: ['67-41=26', '24-7=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,65 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,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,3,1 Current State: 65:[7, 50], Operations: ['67-41=26', '24+26=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,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,3,2 Current State: 65:[24, 19], Operations: ['67-41=26', '26-7=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,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,3,4 Current State: 65:[26, 31], Operations: ['67-41=26', '24+7=31'] Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,65 unequal: No Solution Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,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,0 Current State: 65:[24, 67, 48], Operations: ['7+41=48'] Exploring Operation: 48-24=24, Resulting Numbers: [67, 24] Generated Node #0,0,0: 65:[67, 24] Operation: 48-24=24 Exploring Operation: 67-48=19, Resulting Numbers: [24, 19] Generated Node #0,0,1: 65:[24, 19] Operation: 67-48=19 Exploring Operation: 48/24=2, Resulting Numbers: [67, 2] Generated Node #0,0,2: 65:[67, 2] Operation: 48/24=2 Exploring Operation: 67-24=43, Resulting Numbers: [48, 43] Generated Node #0,0,3: 65:[48, 43] Operation: 67-24=43 Exploring Operation: 24+48=72, Resulting Numbers: [67, 72] Generated Node #0,0,4: 65:[67, 72] Operation: 24+48=72 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[67, 2], Operations: ['7+41=48', '48/24=2'] Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,65 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[24, 67, 7, 41], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [24, 67, 48] Generated Node #0,0: 65:[24, 67, 48] Operation: 7+41=48 Moving to Node #0,0 Current State: 65:[24, 67, 48], Operations: ['7+41=48'] Exploring Operation: 48/24=2, Resulting Numbers: [67, 2] Generated Node #0,0,2: 65:[67, 2] Operation: 48/24=2 Moving to Node #0,0,2 Current State: 65:[67, 2], Operations: ['7+41=48', '48/24=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.934028
hs_5
mult_heuristic
[ 13, 48, 26, 15 ]
72
[ "13+48=61", "26-15=11", "61+11=72" ]
Current State: 72:[13, 48, 26, 15], Operations: [] Exploring Operation: 13+48=61, Resulting Numbers: [26, 15, 61] Generated Node #2: [26, 15, 61] from Operation: 13+48=61 Current State: 72:[26, 15, 61], Operations: ['13+48=61'] Exploring Operation: 26-15=11, Resulting Numbers: [61, 11] Generated Node #3: [61, 11] from Operation: 26-15=11 Current State: 72:[61, 11], Operations: ['13+48=61', '26-15=11'] Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[13, 48, 26, 15], Operations: [] Exploring Operation: 48+26=74, Resulting Numbers: [13, 15, 74] Generated Node #0,0: 72:[13, 15, 74] Operation: 48+26=74 Exploring Operation: 48-26=22, Resulting Numbers: [13, 15, 22] Generated Node #0,1: 72:[13, 15, 22] Operation: 48-26=22 Exploring Operation: 48-15=33, Resulting Numbers: [13, 26, 33] Generated Node #0,2: 72:[13, 26, 33] Operation: 48-15=33 Exploring Operation: 48-13=35, Resulting Numbers: [26, 15, 35] Generated Node #0,3: 72:[26, 15, 35] Operation: 48-13=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[13, 15, 74], Operations: ['48+26=74'] Exploring Operation: 13+15=28, Resulting Numbers: [74, 28] Generated Node #0,0,0: 72:[74, 28] Operation: 13+15=28 Exploring Operation: 74-13=61, Resulting Numbers: [15, 61] Generated Node #0,0,1: 72:[15, 61] Operation: 74-13=61 Exploring Operation: 74-15=59, Resulting Numbers: [13, 59] Generated Node #0,0,2: 72:[13, 59] Operation: 74-15=59 Exploring Operation: 15-13=2, Resulting Numbers: [74, 2] Generated Node #0,0,3: 72:[74, 2] Operation: 15-13=2 Moving to Node #0,0,3 Current State: 72:[74, 2], Operations: ['48+26=74', '15-13=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,72 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,72 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[13, 48, 26, 15], Operations: [] Exploring Operation: 48+26=74, Resulting Numbers: [13, 15, 74] Generated Node #0,0: 72:[13, 15, 74] Operation: 48+26=74 Moving to Node #0,0 Current State: 72:[13, 15, 74], Operations: ['48+26=74'] Exploring Operation: 15-13=2, Resulting Numbers: [74, 2] Generated Node #0,0,3: 72:[74, 2] Operation: 15-13=2 Moving to Node #0,0,3 Current State: 72:[74, 2], Operations: ['48+26=74', '15-13=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 48, 96, 60, 40 ]
23
[ "60*40=2400", "2400/96=25", "48-25=23" ]
Current State: 23:[48, 96, 60, 40], Operations: [] Exploring Operation: 60*40=2400, Resulting Numbers: [48, 96, 2400] Generated Node #2: [48, 96, 2400] from Operation: 60*40=2400 Current State: 23:[48, 96, 2400], Operations: ['60*40=2400'] Exploring Operation: 2400/96=25, Resulting Numbers: [48, 25] Generated Node #3: [48, 25] from Operation: 2400/96=25 Current State: 23:[48, 25], Operations: ['60*40=2400', '2400/96=25'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[48, 96, 60, 40], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [48, 40, 36] Generated Node #0,0: 23:[48, 40, 36] Operation: 96-60=36 Exploring Operation: 60-48=12, Resulting Numbers: [96, 40, 12] Generated Node #0,1: 23:[96, 40, 12] Operation: 60-48=12 Exploring Operation: 96-48=48, Resulting Numbers: [60, 40, 48] Generated Node #0,2: 23:[60, 40, 48] Operation: 96-48=48 Exploring Operation: 96-40=56, Resulting Numbers: [48, 60, 56] Generated Node #0,3: 23:[48, 60, 56] Operation: 96-40=56 Exploring Operation: 96/48=2, Resulting Numbers: [60, 40, 2] Generated Node #0,4: 23:[60, 40, 2] Operation: 96/48=2 Moving to Node #0,0 Current State: 23:[48, 40, 36], Operations: ['96-60=36'] Exploring Operation: 48+40=88, Resulting Numbers: [36, 88] Generated Node #0,0,0: 23:[36, 88] Operation: 48+40=88 Exploring Operation: 40-36=4, Resulting Numbers: [48, 4] Generated Node #0,0,1: 23:[48, 4] Operation: 40-36=4 Exploring Operation: 48-40=8, Resulting Numbers: [36, 8] Generated Node #0,0,2: 23:[36, 8] Operation: 48-40=8 Exploring Operation: 48-36=12, Resulting Numbers: [40, 12] Generated Node #0,0,3: 23:[40, 12] Operation: 48-36=12 Exploring Operation: 48+36=84, Resulting Numbers: [40, 84] Generated Node #0,0,4: 23:[40, 84] Operation: 48+36=84 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[36, 8], Operations: ['96-60=36', '48-40=8'] Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,23 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 23:[40, 12], Operations: ['96-60=36', '48-36=12'] Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,23 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[48, 4], Operations: ['96-60=36', '40-36=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,23 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[36, 88], Operations: ['96-60=36', '48+40=88'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,23 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[40, 84], Operations: ['96-60=36', '48+36=84'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 40+84=124, Resulting Numbers: [124] 124,23 unequal: No Solution Exploring Operation: 40*84=3360, Resulting Numbers: [3360] 3360,23 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: 23:[60, 40, 2], Operations: ['96/48=2'] Exploring Operation: 40-2=38, Resulting Numbers: [60, 38] Generated Node #0,4,0: 23:[60, 38] Operation: 40-2=38 Exploring Operation: 40/2=20, Resulting Numbers: [60, 20] Generated Node #0,4,1: 23:[60, 20] Operation: 40/2=20 Exploring Operation: 60-40=20, Resulting Numbers: [2, 20] Generated Node #0,4,2: 23:[2, 20] Operation: 60-40=20 Exploring Operation: 60/2=30, Resulting Numbers: [40, 30] Generated Node #0,4,3: 23:[40, 30] Operation: 60/2=30 Exploring Operation: 60-2=58, Resulting Numbers: [40, 58] Generated Node #0,4,4: 23:[40, 58] Operation: 60-2=58 Moving to Node #0,2 Current State: 23:[60, 40, 48], Operations: ['96-48=48'] Exploring Operation: 60-48=12, Resulting Numbers: [40, 12] Generated Node #0,2,0: 23:[40, 12] Operation: 60-48=12 Exploring Operation: 60+40=100, Resulting Numbers: [48, 100] Generated Node #0,2,1: 23:[48, 100] Operation: 60+40=100 Exploring Operation: 60+48=108, Resulting Numbers: [40, 108] Generated Node #0,2,2: 23:[40, 108] Operation: 60+48=108 Exploring Operation: 60-40=20, Resulting Numbers: [48, 20] Generated Node #0,2,3: 23:[48, 20] Operation: 60-40=20 Exploring Operation: 48-40=8, Resulting Numbers: [60, 8] Generated Node #0,2,4: 23:[60, 8] Operation: 48-40=8 Moving to Node #0,3 Current State: 23:[48, 60, 56], Operations: ['96-40=56'] Exploring Operation: 56-48=8, Resulting Numbers: [60, 8] Generated Node #0,3,0: 23:[60, 8] Operation: 56-48=8 Exploring Operation: 48+60=108, Resulting Numbers: [56, 108] Generated Node #0,3,1: 23:[56, 108] Operation: 48+60=108 Exploring Operation: 60-48=12, Resulting Numbers: [56, 12] Generated Node #0,3,2: 23:[56, 12] Operation: 60-48=12 Exploring Operation: 60-56=4, Resulting Numbers: [48, 4] Generated Node #0,3,3: 23:[48, 4] Operation: 60-56=4 Exploring Operation: 48+56=104, Resulting Numbers: [60, 104] Generated Node #0,3,4: 23:[60, 104] Operation: 48+56=104 Moving to Node #0,1 Current State: 23:[96, 40, 12], Operations: ['60-48=12'] Exploring Operation: 96/12=8, Resulting Numbers: [40, 8] Generated Node #0,1,0: 23:[40, 8] Operation: 96/12=8 Exploring Operation: 96-12=84, Resulting Numbers: [40, 84] Generated Node #0,1,1: 23:[40, 84] Operation: 96-12=84 Exploring Operation: 96+12=108, Resulting Numbers: [40, 108] Generated Node #0,1,2: 23:[40, 108] Operation: 96+12=108 Exploring Operation: 96-40=56, Resulting Numbers: [12, 56] Generated Node #0,1,3: 23:[12, 56] Operation: 96-40=56 Exploring Operation: 40-12=28, Resulting Numbers: [96, 28] Generated Node #0,1,4: 23:[96, 28] Operation: 40-12=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[40, 8], Operations: ['60-48=12', '96/12=8'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,23 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[12, 56], Operations: ['60-48=12', '96-40=56'] Exploring Operation: 12+56=68, Resulting Numbers: [68] 68,23 unequal: No Solution Exploring Operation: 12*56=672, Resulting Numbers: [672] 672,23 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[40, 84], Operations: ['60-48=12', '96-12=84'] Exploring Operation: 40+84=124, Resulting Numbers: [124] 124,23 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 40*84=3360, Resulting Numbers: [3360] 3360,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 23:[96, 28], Operations: ['60-48=12', '40-12=28'] Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,23 unequal: No Solution Exploring Operation: 96*28=2688, Resulting Numbers: [2688] 2688,23 unequal: No Solution Exploring Operation: 96+28=124, Resulting Numbers: [124] 124,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[40, 108], Operations: ['60-48=12', '96+12=108'] Exploring Operation: 40*108=4320, Resulting Numbers: [4320] 4320,23 unequal: No Solution Exploring Operation: 40+108=148, Resulting Numbers: [148] 148,23 unequal: No Solution Exploring Operation: 108-40=68, Resulting Numbers: [68] 68,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 23:[2, 20], Operations: ['96/48=2', '60-40=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[40, 30], Operations: ['96/48=2', '60/2=30'] Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,23 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[40, 12], Operations: ['96-48=48', '60-48=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[48, 20], Operations: ['96-48=48', '60-40=20'] Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,23 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[60, 20], Operations: ['96/48=2', '40/2=20'] Exploring Operation: 60*20=1200, Resulting Numbers: [1200] 1200,23 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[48, 4], Operations: ['96-40=56', '60-56=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,23 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[56, 12], Operations: ['96-40=56', '60-48=12'] Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,23 unequal: No Solution Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,23 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[60, 8], Operations: ['96-40=56', '56-48=8'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,23 unequal: No Solution Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[40, 58], Operations: ['96/48=2', '60-2=58'] Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,23 unequal: No Solution Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,23 unequal: No Solution Moving to Node #0,4,0 Current State: 23:[60, 38], Operations: ['96/48=2', '40-2=38'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,23 unequal: No Solution Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[60, 8], Operations: ['96-48=48', '48-40=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,23 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,23 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[48, 100], Operations: ['96-48=48', '60+40=100'] Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,23 unequal: No Solution Exploring Operation: 48*100=4800, Resulting Numbers: [4800] 4800,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[40, 108], Operations: ['96-48=48', '60+48=108'] Exploring Operation: 40+108=148, Resulting Numbers: [148] 148,23 unequal: No Solution Exploring Operation: 40*108=4320, Resulting Numbers: [4320] 4320,23 unequal: No Solution Exploring Operation: 108-40=68, Resulting Numbers: [68] 68,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[56, 108], Operations: ['96-40=56', '48+60=108'] Exploring Operation: 108-56=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 56*108=6048, Resulting Numbers: [6048] 6048,23 unequal: No Solution Exploring Operation: 56+108=164, Resulting Numbers: [164] 164,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[60, 104], Operations: ['96-40=56', '48+56=104'] Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,23 unequal: No Solution Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,23 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 4, 24, 72, 36 ]
94
[ "4*24=96", "72/36=2", "96-2=94" ]
Current State: 94:[4, 24, 72, 36], Operations: [] Exploring Operation: 4*24=96, Resulting Numbers: [72, 36, 96] Generated Node #2: [72, 36, 96] from Operation: 4*24=96 Current State: 94:[72, 36, 96], Operations: ['4*24=96'] Exploring Operation: 72/36=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 72/36=2 Current State: 94:[96, 2], Operations: ['4*24=96', '72/36=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[4, 24, 72, 36], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [4, 24, 2] Generated Node #0,0: 94:[4, 24, 2] Operation: 72/36=2 Exploring Operation: 24+72=96, Resulting Numbers: [4, 36, 96] Generated Node #0,1: 94:[4, 36, 96] Operation: 24+72=96 Exploring Operation: 72/24=3, Resulting Numbers: [4, 36, 3] Generated Node #0,2: 94:[4, 36, 3] Operation: 72/24=3 Exploring Operation: 72-24=48, Resulting Numbers: [4, 36, 48] Generated Node #0,3: 94:[4, 36, 48] Operation: 72-24=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[4, 36, 3], Operations: ['72/24=3'] Exploring Operation: 36/4=9, Resulting Numbers: [3, 9] Generated Node #0,2,0: 94:[3, 9] Operation: 36/4=9 Exploring Operation: 4+36=40, Resulting Numbers: [3, 40] Generated Node #0,2,1: 94:[3, 40] Operation: 4+36=40 Exploring Operation: 4-3=1, Resulting Numbers: [36, 1] Generated Node #0,2,2: 94:[36, 1] Operation: 4-3=1 Exploring Operation: 36+3=39, Resulting Numbers: [4, 39] Generated Node #0,2,3: 94:[4, 39] Operation: 36+3=39 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[3, 9], Operations: ['72/24=3', '36/4=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,94 unequal: No Solution No 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: 94:[3, 40], Operations: ['72/24=3', '4+36=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,94 unequal: No Solution No 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: 94:[4, 39], Operations: ['72/24=3', '36+3=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,94 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,94 unequal: No Solution No 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: 94:[36, 1], Operations: ['72/24=3', '4-3=1'] Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,94 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,94 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: 94:[4, 36, 48], Operations: ['72-24=48'] Exploring Operation: 4+36=40, Resulting Numbers: [48, 40] Generated Node #0,3,0: 94:[48, 40] Operation: 4+36=40 Exploring Operation: 48-36=12, Resulting Numbers: [4, 12] Generated Node #0,3,1: 94:[4, 12] Operation: 48-36=12 Exploring Operation: 36+48=84, Resulting Numbers: [4, 84] Generated Node #0,3,2: 94:[4, 84] Operation: 36+48=84 Exploring Operation: 36/4=9, Resulting Numbers: [48, 9] Generated Node #0,3,3: 94:[48, 9] Operation: 36/4=9 Moving to Node #0,3,0 Current State: 94:[48, 40], Operations: ['72-24=48', '4+36=40'] Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,94 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[48, 9], Operations: ['72-24=48', '36/4=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,94 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,94 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[4, 84], Operations: ['72-24=48', '36+48=84'] Exploring Operation: 4+84=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 4*84=336, Resulting Numbers: [336] 336,94 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[4, 12], Operations: ['72-24=48', '48-36=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,94 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[4, 36, 96], Operations: ['24+72=96'] Exploring Operation: 4+36=40, Resulting Numbers: [96, 40] Generated Node #0,1,0: 94:[96, 40] Operation: 4+36=40 Exploring Operation: 36/4=9, Resulting Numbers: [96, 9] Generated Node #0,1,1: 94:[96, 9] Operation: 36/4=9 Exploring Operation: 96-4=92, Resulting Numbers: [36, 92] Generated Node #0,1,2: 94:[36, 92] Operation: 96-4=92 Exploring Operation: 96-36=60, Resulting Numbers: [4, 60] Generated Node #0,1,3: 94:[4, 60] Operation: 96-36=60 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[96, 40], Operations: ['24+72=96', '4+36=40'] Exploring Operation: 96*40=3840, Resulting Numbers: [3840] 3840,94 unequal: No Solution Exploring Operation: 96+40=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,94 unequal: No Solution No 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: 94:[96, 9], Operations: ['24+72=96', '36/4=9'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 96+9=105, Resulting Numbers: [105] 105,94 unequal: No Solution Exploring Operation: 96*9=864, Resulting Numbers: [864] 864,94 unequal: No Solution No 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: 94:[36, 92], Operations: ['24+72=96', '96-4=92'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 36+92=128, Resulting Numbers: [128] 128,94 unequal: No Solution Exploring Operation: 36*92=3312, Resulting Numbers: [3312] 3312,94 unequal: No Solution No 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: 94:[4, 60], Operations: ['24+72=96', '96-36=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,94 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: 94:[4, 24, 2], Operations: ['72/36=2'] Exploring Operation: 24/2=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 94:[4, 12] Operation: 24/2=12 Exploring Operation: 24/4=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 94:[2, 6] Operation: 24/4=6 Exploring Operation: 4*24=96, Resulting Numbers: [2, 96] Generated Node #0,0,2: 94:[2, 96] Operation: 4*24=96 Exploring Operation: 24*2=48, Resulting Numbers: [4, 48] Generated Node #0,0,3: 94:[4, 48] Operation: 24*2=48 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[2, 96], Operations: ['72/36=2', '4*24=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[4, 24, 72, 36], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [4, 24, 2] Generated Node #0,0: 94:[4, 24, 2] Operation: 72/36=2 Moving to Node #0,0 Current State: 94:[4, 24, 2], Operations: ['72/36=2'] Exploring Operation: 4*24=96, Resulting Numbers: [2, 96] Generated Node #0,0,2: 94:[2, 96] Operation: 4*24=96 Moving to Node #0,0,2 Current State: 94:[2, 96], Operations: ['72/36=2', '4*24=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.942708
hs_4
mult_heuristic
[ 5, 96, 11, 86 ]
65
[ "5*11=55", "96-86=10", "55+10=65" ]
Current State: 65:[5, 96, 11, 86], Operations: [] Exploring Operation: 5*11=55, Resulting Numbers: [96, 86, 55] Generated Node #2: [96, 86, 55] from Operation: 5*11=55 Current State: 65:[96, 86, 55], Operations: ['5*11=55'] Exploring Operation: 96-86=10, Resulting Numbers: [55, 10] Generated Node #3: [55, 10] from Operation: 96-86=10 Current State: 65:[55, 10], Operations: ['5*11=55', '96-86=10'] Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[5, 96, 11, 86], Operations: [] Exploring Operation: 96-11=85, Resulting Numbers: [5, 86, 85] Generated Node #0,0: 65:[5, 86, 85] Operation: 96-11=85 Exploring Operation: 86-11=75, Resulting Numbers: [5, 96, 75] Generated Node #0,1: 65:[5, 96, 75] Operation: 86-11=75 Exploring Operation: 96-5=91, Resulting Numbers: [11, 86, 91] Generated Node #0,2: 65:[11, 86, 91] Operation: 96-5=91 Exploring Operation: 96-86=10, Resulting Numbers: [5, 11, 10] Generated Node #0,3: 65:[5, 11, 10] Operation: 96-86=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[5, 11, 10], Operations: ['96-86=10'] Exploring Operation: 11-5=6, Resulting Numbers: [10, 6] Generated Node #0,3,0: 65:[10, 6] Operation: 11-5=6 Exploring Operation: 5+10=15, Resulting Numbers: [11, 15] Generated Node #0,3,1: 65:[11, 15] Operation: 5+10=15 Exploring Operation: 10-5=5, Resulting Numbers: [11, 5] Generated Node #0,3,2: 65:[11, 5] Operation: 10-5=5 Exploring Operation: 11-10=1, Resulting Numbers: [5, 1] Generated Node #0,3,3: 65:[5, 1] Operation: 11-10=1 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 65:[11, 5], Operations: ['96-86=10', '10-5=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,65 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,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,3,0 Current State: 65:[10, 6], Operations: ['96-86=10', '11-5=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,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,3,1 Current State: 65:[11, 15], Operations: ['96-86=10', '5+10=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,65 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,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,3,3 Current State: 65:[5, 1], Operations: ['96-86=10', '11-10=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,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,0 Current State: 65:[5, 86, 85], Operations: ['96-11=85'] Exploring Operation: 85/5=17, Resulting Numbers: [86, 17] Generated Node #0,0,0: 65:[86, 17] Operation: 85/5=17 Exploring Operation: 86-5=81, Resulting Numbers: [85, 81] Generated Node #0,0,1: 65:[85, 81] Operation: 86-5=81 Exploring Operation: 86-85=1, Resulting Numbers: [5, 1] Generated Node #0,0,2: 65:[5, 1] Operation: 86-85=1 Exploring Operation: 85-5=80, Resulting Numbers: [86, 80] Generated Node #0,0,3: 65:[86, 80] Operation: 85-5=80 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[5, 1], Operations: ['96-11=85', '86-85=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,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,0 Current State: 65:[86, 17], Operations: ['96-11=85', '85/5=17'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,65 unequal: No Solution Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,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:[85, 81], Operations: ['96-11=85', '86-5=81'] Exploring Operation: 85*81=6885, Resulting Numbers: [6885] 6885,65 unequal: No Solution Exploring Operation: 85+81=166, Resulting Numbers: [166] 166,65 unequal: No Solution Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,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,3 Current State: 65:[86, 80], Operations: ['96-11=85', '85-5=80'] Exploring Operation: 86*80=6880, Resulting Numbers: [6880] 6880,65 unequal: No Solution Exploring Operation: 86+80=166, Resulting Numbers: [166] 166,65 unequal: No Solution Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,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:[5, 96, 75], Operations: ['86-11=75'] Exploring Operation: 96-5=91, Resulting Numbers: [75, 91] Generated Node #0,1,0: 65:[75, 91] Operation: 96-5=91 Exploring Operation: 96-75=21, Resulting Numbers: [5, 21] Generated Node #0,1,1: 65:[5, 21] Operation: 96-75=21 Exploring Operation: 75-5=70, Resulting Numbers: [96, 70] Generated Node #0,1,2: 65:[96, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [96, 15] Generated Node #0,1,3: 65:[96, 15] Operation: 75/5=15 Moving to Node #0,1,1 Current State: 65:[5, 21], Operations: ['86-11=75', '96-75=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,65 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[96, 15], Operations: ['86-11=75', '75/5=15'] Exploring Operation: 96*15=1440, Resulting Numbers: [1440] 1440,65 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 96+15=111, Resulting Numbers: [111] 111,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[96, 70], Operations: ['86-11=75', '75-5=70'] Exploring Operation: 96+70=166, Resulting Numbers: [166] 166,65 unequal: No Solution Exploring Operation: 96-70=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 96*70=6720, Resulting Numbers: [6720] 6720,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[75, 91], Operations: ['86-11=75', '96-5=91'] Exploring Operation: 75+91=166, Resulting Numbers: [166] 166,65 unequal: No Solution Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 75*91=6825, Resulting Numbers: [6825] 6825,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[11, 86, 91], Operations: ['96-5=91'] Exploring Operation: 91-86=5, Resulting Numbers: [11, 5] Generated Node #0,2,0: 65:[11, 5] Operation: 91-86=5 Exploring Operation: 86-11=75, Resulting Numbers: [91, 75] Generated Node #0,2,1: 65:[91, 75] Operation: 86-11=75 Exploring Operation: 91-11=80, Resulting Numbers: [86, 80] Generated Node #0,2,2: 65:[86, 80] Operation: 91-11=80 Exploring Operation: 11+86=97, Resulting Numbers: [91, 97] Generated Node #0,2,3: 65:[91, 97] Operation: 11+86=97 Moving to Node #0,2,0 Current State: 65:[11, 5], Operations: ['96-5=91', '91-86=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[86, 80], Operations: ['96-5=91', '91-11=80'] Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 86+80=166, Resulting Numbers: [166] 166,65 unequal: No Solution Exploring Operation: 86*80=6880, Resulting Numbers: [6880] 6880,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[91, 75], Operations: ['96-5=91', '86-11=75'] Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 91*75=6825, Resulting Numbers: [6825] 6825,65 unequal: No Solution Exploring Operation: 91+75=166, Resulting Numbers: [166] 166,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[91, 97], Operations: ['96-5=91', '11+86=97'] Exploring Operation: 91*97=8827, Resulting Numbers: [8827] 8827,65 unequal: No Solution Exploring Operation: 91+97=188, Resulting Numbers: [188] 188,65 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 7, 1, 15, 2 ]
22
[ "7+1=8", "15*2=30", "30-8=22" ]
Current State: 22:[7, 1, 15, 2], Operations: [] Exploring Operation: 7+1=8, Resulting Numbers: [15, 2, 8] Generated Node #2: [15, 2, 8] from Operation: 7+1=8 Current State: 22:[15, 2, 8], Operations: ['7+1=8'] Exploring Operation: 15*2=30, Resulting Numbers: [8, 30] Generated Node #3: [8, 30] from Operation: 15*2=30 Current State: 22:[8, 30], Operations: ['7+1=8', '15*2=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[7, 1, 15, 2], Operations: [] Exploring Operation: 7+1=8, Resulting Numbers: [15, 2, 8] Generated Node #0,0: 22:[15, 2, 8] Operation: 7+1=8 Exploring Operation: 7+2=9, Resulting Numbers: [1, 15, 9] Generated Node #0,1: 22:[1, 15, 9] Operation: 7+2=9 Exploring Operation: 15-7=8, Resulting Numbers: [1, 2, 8] Generated Node #0,2: 22:[1, 2, 8] Operation: 15-7=8 Exploring Operation: 7+15=22, Resulting Numbers: [1, 2, 22] Generated Node #0,3: 22:[1, 2, 22] Operation: 7+15=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[1, 2, 22], Operations: ['7+15=22'] Exploring Operation: 22/1=22, Resulting Numbers: [2, 22] Generated Node #0,3,0: 22:[2, 22] Operation: 22/1=22 Exploring Operation: 1*2=2, Resulting Numbers: [22, 2] Generated Node #0,3,1: 22:[22, 2] Operation: 1*2=2 Exploring Operation: 2/1=2, Resulting Numbers: [22, 2] Generated Node #0,3,2: 22:[22, 2] Operation: 2/1=2 Exploring Operation: 1*22=22, Resulting Numbers: [2, 22] Generated Node #0,3,3: 22:[2, 22] Operation: 1*22=22 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[2, 22], Operations: ['7+15=22', '22/1=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[22, 2], Operations: ['7+15=22', '1*2=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 22:[22, 2], Operations: ['7+15=22', '2/1=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[2, 22], Operations: ['7+15=22', '1*22=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,22 unequal: No Solution 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: 22:[1, 2, 8], Operations: ['15-7=8'] Exploring Operation: 1+8=9, Resulting Numbers: [2, 9] Generated Node #0,2,0: 22:[2, 9] Operation: 1+8=9 Exploring Operation: 2/1=2, Resulting Numbers: [8, 2] Generated Node #0,2,1: 22:[8, 2] Operation: 2/1=2 Exploring Operation: 2+8=10, Resulting Numbers: [1, 10] Generated Node #0,2,2: 22:[1, 10] Operation: 2+8=10 Exploring Operation: 1*2=2, Resulting Numbers: [8, 2] Generated Node #0,2,3: 22:[8, 2] Operation: 1*2=2 Moving to Node #0,2,0 Current State: 22:[2, 9], Operations: ['15-7=8', '1+8=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,22 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[1, 10], Operations: ['15-7=8', '2+8=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[8, 2], Operations: ['15-7=8', '1*2=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[8, 2], Operations: ['15-7=8', '2/1=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,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 Current State: 22:[15, 2, 8], Operations: ['7+1=8'] Exploring Operation: 15+8=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 22:[2, 23] Operation: 15+8=23 Exploring Operation: 2+8=10, Resulting Numbers: [15, 10] Generated Node #0,0,1: 22:[15, 10] Operation: 2+8=10 Exploring Operation: 15-2=13, Resulting Numbers: [8, 13] Generated Node #0,0,2: 22:[8, 13] Operation: 15-2=13 Exploring Operation: 15-8=7, Resulting Numbers: [2, 7] Generated Node #0,0,3: 22:[2, 7] Operation: 15-8=7 Moving to Node #0,0,0 Current State: 22:[2, 23], Operations: ['7+1=8', '15+8=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[2, 7], Operations: ['7+1=8', '15-8=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[8, 13], Operations: ['7+1=8', '15-2=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[15, 10], Operations: ['7+1=8', '2+8=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[1, 15, 9], Operations: ['7+2=9'] Exploring Operation: 15-1=14, Resulting Numbers: [9, 14] Generated Node #0,1,0: 22:[9, 14] Operation: 15-1=14 Exploring Operation: 15+9=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 22:[1, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [1, 6] Generated Node #0,1,2: 22:[1, 6] Operation: 15-9=6 Exploring Operation: 1+9=10, Resulting Numbers: [15, 10] Generated Node #0,1,3: 22:[15, 10] Operation: 1+9=10 Moving to Node #0,1,1 Current State: 22:[1, 24], Operations: ['7+2=9', '15+9=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[1, 6], Operations: ['7+2=9', '15-9=6'] Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[9, 14], Operations: ['7+2=9', '15-1=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,22 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[15, 10], Operations: ['7+2=9', '1+9=10'] Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 66, 9, 17, 8 ]
95
[ "66-8=58", "9*17=153", "153-58=95" ]
Current State: 95:[66, 9, 17, 8], Operations: [] Exploring Operation: 66-8=58, Resulting Numbers: [9, 17, 58] Generated Node #2: [9, 17, 58] from Operation: 66-8=58 Current State: 95:[9, 17, 58], Operations: ['66-8=58'] Exploring Operation: 9*17=153, Resulting Numbers: [58, 153] Generated Node #3: [58, 153] from Operation: 9*17=153 Current State: 95:[58, 153], Operations: ['66-8=58', '9*17=153'] Exploring Operation: 153-58=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[66, 9, 17, 8], Operations: [] Exploring Operation: 66+17=83, Resulting Numbers: [9, 8, 83] Generated Node #0,0: 95:[9, 8, 83] Operation: 66+17=83 Exploring Operation: 9+8=17, Resulting Numbers: [66, 17, 17] Generated Node #0,1: 95:[66, 17, 17] Operation: 9+8=17 Exploring Operation: 66+8=74, Resulting Numbers: [9, 17, 74] Generated Node #0,2: 95:[9, 17, 74] Operation: 66+8=74 Exploring Operation: 66+9=75, Resulting Numbers: [17, 8, 75] Generated Node #0,3: 95:[17, 8, 75] Operation: 66+9=75 Moving to Node #0,0 Current State: 95:[9, 8, 83], Operations: ['66+17=83'] Exploring Operation: 9+83=92, Resulting Numbers: [8, 92] Generated Node #0,0,0: 95:[8, 92] Operation: 9+83=92 Exploring Operation: 9-8=1, Resulting Numbers: [83, 1] Generated Node #0,0,1: 95:[83, 1] Operation: 9-8=1 Exploring Operation: 8+83=91, Resulting Numbers: [9, 91] Generated Node #0,0,2: 95:[9, 91] Operation: 8+83=91 Exploring Operation: 9+8=17, Resulting Numbers: [83, 17] Generated Node #0,0,3: 95:[83, 17] Operation: 9+8=17 Moving to Node #0,3 Current State: 95:[17, 8, 75], Operations: ['66+9=75'] Exploring Operation: 17+8=25, Resulting Numbers: [75, 25] Generated Node #0,3,0: 95:[75, 25] Operation: 17+8=25 Exploring Operation: 17+75=92, Resulting Numbers: [8, 92] Generated Node #0,3,1: 95:[8, 92] Operation: 17+75=92 Exploring Operation: 17-8=9, Resulting Numbers: [75, 9] Generated Node #0,3,2: 95:[75, 9] Operation: 17-8=9 Exploring Operation: 8+75=83, Resulting Numbers: [17, 83] Generated Node #0,3,3: 95:[17, 83] Operation: 8+75=83 Moving to Node #0,2 Current State: 95:[9, 17, 74], Operations: ['66+8=74'] Exploring Operation: 9+17=26, Resulting Numbers: [74, 26] Generated Node #0,2,0: 95:[74, 26] Operation: 9+17=26 Exploring Operation: 9+74=83, Resulting Numbers: [17, 83] Generated Node #0,2,1: 95:[17, 83] Operation: 9+74=83 Exploring Operation: 17-9=8, Resulting Numbers: [74, 8] Generated Node #0,2,2: 95:[74, 8] Operation: 17-9=8 Exploring Operation: 17+74=91, Resulting Numbers: [9, 91] Generated Node #0,2,3: 95:[9, 91] Operation: 17+74=91 Moving to Node #0,1 Current State: 95:[66, 17, 17], Operations: ['9+8=17'] Exploring Operation: 66+17=83, Resulting Numbers: [17, 83] Generated Node #0,1,0: 95:[17, 83] Operation: 66+17=83 Exploring Operation: 66-17=49, Resulting Numbers: [17, 49] Generated Node #0,1,1: 95:[17, 49] Operation: 66-17=49 Exploring Operation: 66+17=83, Resulting Numbers: [17, 83] Generated Node #0,1,2: 95:[17, 83] Operation: 66+17=83 Exploring Operation: 66-17=49, Resulting Numbers: [17, 49] Generated Node #0,1,3: 95:[17, 49] Operation: 66-17=49 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[17, 83], Operations: ['9+8=17', '66+17=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,95 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[17, 83], Operations: ['9+8=17', '66+17=83'] Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,95 unequal: No Solution Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[17, 49], Operations: ['9+8=17', '66-17=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[17, 49], Operations: ['9+8=17', '66-17=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,95 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,95 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: 95:[8, 92], Operations: ['66+17=83', '9+83=92'] Exploring Operation: 8*92=736, Resulting Numbers: [736] 736,95 unequal: No Solution Exploring Operation: 8+92=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[8, 92], Operations: ['66+9=75', '17+75=92'] Exploring Operation: 8*92=736, Resulting Numbers: [736] 736,95 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 8+92=100, Resulting Numbers: [100] 100,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[9, 91], Operations: ['66+17=83', '8+83=91'] Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,95 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[9, 91], Operations: ['66+8=74', '17+74=91'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,95 unequal: No Solution Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[83, 17], Operations: ['66+17=83', '9+8=17'] Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,95 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[17, 83], Operations: ['66+9=75', '8+75=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,95 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[17, 83], Operations: ['66+8=74', '9+74=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[83, 1], Operations: ['66+17=83', '9-8=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[75, 9], Operations: ['66+9=75', '17-8=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[74, 8], Operations: ['66+8=74', '17-9=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[75, 25], Operations: ['66+9=75', '17+8=25'] Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,95 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,95 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[74, 26], Operations: ['66+8=74', '9+17=26'] Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,95 unequal: No Solution Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,95 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 90, 48, 72, 30 ]
96
[ "90+48=138", "72-30=42", "138-42=96" ]
Current State: 96:[90, 48, 72, 30], Operations: [] Exploring Operation: 90+48=138, Resulting Numbers: [72, 30, 138] Generated Node #2: [72, 30, 138] from Operation: 90+48=138 Current State: 96:[72, 30, 138], Operations: ['90+48=138'] Exploring Operation: 72-30=42, Resulting Numbers: [138, 42] Generated Node #3: [138, 42] from Operation: 72-30=42 Current State: 96:[138, 42], Operations: ['90+48=138', '72-30=42'] Exploring Operation: 138-42=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[90, 48, 72, 30], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [90, 30, 24] Generated Node #0,0: 96:[90, 30, 24] Operation: 72-48=24 Exploring Operation: 90-72=18, Resulting Numbers: [48, 30, 18] Generated Node #0,1: 96:[48, 30, 18] Operation: 90-72=18 Moving to Node #0,1 Current State: 96:[48, 30, 18], Operations: ['90-72=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48, 48] Generated Node #0,1,0: 96:[48, 48] Operation: 30+18=48 Exploring Operation: 30-18=12, Resulting Numbers: [48, 12] Generated Node #0,1,1: 96:[48, 12] Operation: 30-18=12 Moving to Node #0,0 Current State: 96:[90, 30, 24], Operations: ['72-48=24'] Exploring Operation: 90/30=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 96:[24, 3] Operation: 90/30=3 Exploring Operation: 30-24=6, Resulting Numbers: [90, 6] Generated Node #0,0,1: 96:[90, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[24, 3], Operations: ['72-48=24', '90/30=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[90, 6], Operations: ['72-48=24', '30-24=6'] Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[90, 48, 72, 30], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [90, 30, 24] Generated Node #0,0: 96:[90, 30, 24] Operation: 72-48=24 Moving to Node #0,0 Current State: 96:[90, 30, 24], Operations: ['72-48=24'] Exploring Operation: 30-24=6, Resulting Numbers: [90, 6] Generated Node #0,0,1: 96:[90, 6] Operation: 30-24=6 Moving to Node #0,0,1 Current State: 96:[90, 6], Operations: ['72-48=24', '30-24=6'] Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 30, 16, 55, 41 ]
50
[ "30+16=46", "55+41=96", "96-46=50" ]
Current State: 50:[30, 16, 55, 41], Operations: [] Exploring Operation: 30+16=46, Resulting Numbers: [55, 41, 46] Generated Node #2: [55, 41, 46] from Operation: 30+16=46 Current State: 50:[55, 41, 46], Operations: ['30+16=46'] Exploring Operation: 55+41=96, Resulting Numbers: [46, 96] Generated Node #3: [46, 96] from Operation: 55+41=96 Current State: 50:[46, 96], Operations: ['30+16=46', '55+41=96'] Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[30, 16, 55, 41], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [16, 41, 25] Generated Node #0,0: 50:[16, 41, 25] Operation: 55-30=25 Exploring Operation: 41-16=25, Resulting Numbers: [30, 55, 25] Generated Node #0,1: 50:[30, 55, 25] Operation: 41-16=25 Exploring Operation: 41-30=11, Resulting Numbers: [16, 55, 11] Generated Node #0,2: 50:[16, 55, 11] Operation: 41-30=11 Exploring Operation: 55-41=14, Resulting Numbers: [30, 16, 14] Generated Node #0,3: 50:[30, 16, 14] Operation: 55-41=14 Moving to Node #0,1 Current State: 50:[30, 55, 25], Operations: ['41-16=25'] Exploring Operation: 30-25=5, Resulting Numbers: [55, 5] Generated Node #0,1,0: 50:[55, 5] Operation: 30-25=5 Exploring Operation: 55-30=25, Resulting Numbers: [25, 25] Generated Node #0,1,1: 50:[25, 25] Operation: 55-30=25 Exploring Operation: 30+25=55, Resulting Numbers: [55, 55] Generated Node #0,1,2: 50:[55, 55] Operation: 30+25=55 Exploring Operation: 55-25=30, Resulting Numbers: [30, 30] Generated Node #0,1,3: 50:[30, 30] Operation: 55-25=30 Moving to Node #0,2 Current State: 50:[16, 55, 11], Operations: ['41-30=11'] Exploring Operation: 16-11=5, Resulting Numbers: [55, 5] Generated Node #0,2,0: 50:[55, 5] Operation: 16-11=5 Exploring Operation: 55-16=39, Resulting Numbers: [11, 39] Generated Node #0,2,1: 50:[11, 39] Operation: 55-16=39 Exploring Operation: 55/11=5, Resulting Numbers: [16, 5] Generated Node #0,2,2: 50:[16, 5] Operation: 55/11=5 Exploring Operation: 16+11=27, Resulting Numbers: [55, 27] Generated Node #0,2,3: 50:[55, 27] Operation: 16+11=27 Moving to Node #0,3 Current State: 50:[30, 16, 14], Operations: ['55-41=14'] Exploring Operation: 16+14=30, Resulting Numbers: [30, 30] Generated Node #0,3,0: 50:[30, 30] Operation: 16+14=30 Exploring Operation: 30+16=46, Resulting Numbers: [14, 46] Generated Node #0,3,1: 50:[14, 46] Operation: 30+16=46 Exploring Operation: 30-16=14, Resulting Numbers: [14, 14] Generated Node #0,3,2: 50:[14, 14] Operation: 30-16=14 Exploring Operation: 16-14=2, Resulting Numbers: [30, 2] Generated Node #0,3,3: 50:[30, 2] Operation: 16-14=2 Moving to Node #0,0 Current State: 50:[16, 41, 25], Operations: ['55-30=25'] Exploring Operation: 16+41=57, Resulting Numbers: [25, 57] Generated Node #0,0,0: 50:[25, 57] Operation: 16+41=57 Exploring Operation: 25-16=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 50:[41, 9] Operation: 25-16=9 Exploring Operation: 41-16=25, Resulting Numbers: [25, 25] Generated Node #0,0,2: 50:[25, 25] Operation: 41-16=25 Exploring Operation: 41-25=16, Resulting Numbers: [16, 16] Generated Node #0,0,3: 50:[16, 16] Operation: 41-25=16 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[25, 25], Operations: ['55-30=25', '41-16=25'] Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,50 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[30, 16, 55, 41], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [16, 41, 25] Generated Node #0,0: 50:[16, 41, 25] Operation: 55-30=25 Moving to Node #0,0 Current State: 50:[16, 41, 25], Operations: ['55-30=25'] Exploring Operation: 41-16=25, Resulting Numbers: [25, 25] Generated Node #0,0,2: 50:[25, 25] Operation: 41-16=25 Moving to Node #0,0,2 Current State: 50:[25, 25], Operations: ['55-30=25', '41-16=25'] Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
sum_heuristic
[ 83, 89, 94, 58 ]
30
[ "89-83=6", "94-58=36", "36-6=30" ]
Current State: 30:[83, 89, 94, 58], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [94, 58, 6] Generated Node #2: [94, 58, 6] from Operation: 89-83=6 Current State: 30:[94, 58, 6], Operations: ['89-83=6'] Exploring Operation: 94-58=36, Resulting Numbers: [6, 36] Generated Node #3: [6, 36] from Operation: 94-58=36 Current State: 30:[6, 36], Operations: ['89-83=6', '94-58=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[83, 89, 94, 58], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [89, 58, 11] Generated Node #0,0: 30:[89, 58, 11] Operation: 94-83=11 Exploring Operation: 89-83=6, Resulting Numbers: [94, 58, 6] Generated Node #0,1: 30:[94, 58, 6] Operation: 89-83=6 Exploring Operation: 94-89=5, Resulting Numbers: [83, 58, 5] Generated Node #0,2: 30:[83, 58, 5] Operation: 94-89=5 Moving to Node #0,2 Current State: 30:[83, 58, 5], Operations: ['94-89=5'] Exploring Operation: 83-5=78, Resulting Numbers: [58, 78] Generated Node #0,2,0: 30:[58, 78] Operation: 83-5=78 Exploring Operation: 58-5=53, Resulting Numbers: [83, 53] Generated Node #0,2,1: 30:[83, 53] Operation: 58-5=53 Exploring Operation: 83-58=25, Resulting Numbers: [5, 25] Generated Node #0,2,2: 30:[5, 25] Operation: 83-58=25 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[5, 25], Operations: ['94-89=5', '83-58=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[83, 89, 94, 58], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [83, 58, 5] Generated Node #0,2: 30:[83, 58, 5] Operation: 94-89=5 Moving to Node #0,2 Current State: 30:[83, 58, 5], Operations: ['94-89=5'] Exploring Operation: 83-58=25, Resulting Numbers: [5, 25] Generated Node #0,2,2: 30:[5, 25] Operation: 83-58=25 Moving to Node #0,2,2 Current State: 30:[5, 25], Operations: ['94-89=5', '83-58=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 74, 11, 6, 29 ]
43
[ "74*6=444", "29+444=473", "473/11=43" ]
Current State: 43:[74, 11, 6, 29], Operations: [] Exploring Operation: 74*6=444, Resulting Numbers: [11, 29, 444] Generated Node #2: [11, 29, 444] from Operation: 74*6=444 Current State: 43:[11, 29, 444], Operations: ['74*6=444'] Exploring Operation: 29+444=473, Resulting Numbers: [11, 473] Generated Node #3: [11, 473] from Operation: 29+444=473 Current State: 43:[11, 473], Operations: ['74*6=444', '29+444=473'] Exploring Operation: 473/11=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[74, 11, 6, 29], Operations: [] Exploring Operation: 74-11=63, Resulting Numbers: [6, 29, 63] Generated Node #0,0: 43:[6, 29, 63] Operation: 74-11=63 Exploring Operation: 11*6=66, Resulting Numbers: [74, 29, 66] Generated Node #0,1: 43:[74, 29, 66] Operation: 11*6=66 Moving to Node #0,1 Current State: 43:[74, 29, 66], Operations: ['11*6=66'] Exploring Operation: 74-29=45, Resulting Numbers: [66, 45] Generated Node #0,1,0: 43:[66, 45] Operation: 74-29=45 Exploring Operation: 66-29=37, Resulting Numbers: [74, 37] Generated Node #0,1,1: 43:[74, 37] Operation: 66-29=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[66, 45], Operations: ['11*6=66', '74-29=45'] Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[74, 37], Operations: ['11*6=66', '66-29=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,43 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: 43:[6, 29, 63], Operations: ['74-11=63'] Exploring Operation: 6+29=35, Resulting Numbers: [63, 35] Generated Node #0,0,0: 43:[63, 35] Operation: 6+29=35 Exploring Operation: 63-6=57, Resulting Numbers: [29, 57] Generated Node #0,0,1: 43:[29, 57] Operation: 63-6=57 Moving to Node #0,0,0 Current State: 43:[63, 35], Operations: ['74-11=63', '6+29=35'] Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[29, 57], Operations: ['74-11=63', '63-6=57'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,43 unequal: No Solution Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 44, 26, 98, 60 ]
92
[ "44*60=2640", "26*98=2548", "2640-2548=92" ]
Current State: 92:[44, 26, 98, 60], Operations: [] Exploring Operation: 44*60=2640, Resulting Numbers: [26, 98, 2640] Generated Node #2: [26, 98, 2640] from Operation: 44*60=2640 Current State: 92:[26, 98, 2640], Operations: ['44*60=2640'] Exploring Operation: 26*98=2548, Resulting Numbers: [2640, 2548] Generated Node #3: [2640, 2548] from Operation: 26*98=2548 Current State: 92:[2640, 2548], Operations: ['44*60=2640', '26*98=2548'] Exploring Operation: 2640-2548=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[44, 26, 98, 60], Operations: [] Exploring Operation: 26+60=86, Resulting Numbers: [44, 98, 86] Generated Node #0,0: 92:[44, 98, 86] Operation: 26+60=86 Exploring Operation: 60-44=16, Resulting Numbers: [26, 98, 16] Generated Node #0,1: 92:[26, 98, 16] Operation: 60-44=16 Exploring Operation: 44+60=104, Resulting Numbers: [26, 98, 104] Generated Node #0,2: 92:[26, 98, 104] Operation: 44+60=104 Exploring Operation: 98-60=38, Resulting Numbers: [44, 26, 38] Generated Node #0,3: 92:[44, 26, 38] Operation: 98-60=38 Exploring Operation: 60-26=34, Resulting Numbers: [44, 98, 34] Generated Node #0,4: 92:[44, 98, 34] Operation: 60-26=34 Moving to Node #0,3 Current State: 92:[44, 26, 38], Operations: ['98-60=38'] Exploring Operation: 26+38=64, Resulting Numbers: [44, 64] Generated Node #0,3,0: 92:[44, 64] Operation: 26+38=64 Exploring Operation: 44-38=6, Resulting Numbers: [26, 6] Generated Node #0,3,1: 92:[26, 6] Operation: 44-38=6 Exploring Operation: 44-26=18, Resulting Numbers: [38, 18] Generated Node #0,3,2: 92:[38, 18] Operation: 44-26=18 Exploring Operation: 38-26=12, Resulting Numbers: [44, 12] Generated Node #0,3,3: 92:[44, 12] Operation: 38-26=12 Exploring Operation: 44+38=82, Resulting Numbers: [26, 82] Generated Node #0,3,4: 92:[26, 82] Operation: 44+38=82 Moving to Node #0,0 Current State: 92:[44, 98, 86], Operations: ['26+60=86'] Exploring Operation: 44+98=142, Resulting Numbers: [86, 142] Generated Node #0,0,0: 92:[86, 142] Operation: 44+98=142 Exploring Operation: 98-86=12, Resulting Numbers: [44, 12] Generated Node #0,0,1: 92:[44, 12] Operation: 98-86=12 Exploring Operation: 98-44=54, Resulting Numbers: [86, 54] Generated Node #0,0,2: 92:[86, 54] Operation: 98-44=54 Exploring Operation: 86-44=42, Resulting Numbers: [98, 42] Generated Node #0,0,3: 92:[98, 42] Operation: 86-44=42 Exploring Operation: 44+86=130, Resulting Numbers: [98, 130] Generated Node #0,0,4: 92:[98, 130] Operation: 44+86=130 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[44, 12], Operations: ['26+60=86', '98-86=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,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,0,3 Current State: 92:[98, 42], Operations: ['26+60=86', '86-44=42'] Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,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,0,2 Current State: 92:[86, 54], Operations: ['26+60=86', '98-44=54'] Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 86*54=4644, Resulting Numbers: [4644] 4644,92 unequal: No Solution Exploring Operation: 86+54=140, Resulting Numbers: [140] 140,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,0,4 Current State: 92:[98, 130], Operations: ['26+60=86', '44+86=130'] Exploring Operation: 130-98=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 98+130=228, Resulting Numbers: [228] 228,92 unequal: No Solution Exploring Operation: 98*130=12740, Resulting Numbers: [12740] 12740,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,0,0 Current State: 92:[86, 142], Operations: ['26+60=86', '44+98=142'] Exploring Operation: 86+142=228, Resulting Numbers: [228] 228,92 unequal: No Solution Exploring Operation: 86*142=12212, Resulting Numbers: [12212] 12212,92 unequal: No Solution Exploring Operation: 142-86=56, Resulting Numbers: [56] 56,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:[26, 98, 16], Operations: ['60-44=16'] Exploring Operation: 98+16=114, Resulting Numbers: [26, 114] Generated Node #0,1,0: 92:[26, 114] Operation: 98+16=114 Exploring Operation: 26+16=42, Resulting Numbers: [98, 42] Generated Node #0,1,1: 92:[98, 42] Operation: 26+16=42 Exploring Operation: 98-16=82, Resulting Numbers: [26, 82] Generated Node #0,1,2: 92:[26, 82] Operation: 98-16=82 Exploring Operation: 98-26=72, Resulting Numbers: [16, 72] Generated Node #0,1,3: 92:[16, 72] Operation: 98-26=72 Exploring Operation: 26-16=10, Resulting Numbers: [98, 10] Generated Node #0,1,4: 92:[98, 10] Operation: 26-16=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[98, 42], Operations: ['60-44=16', '26+16=42'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,92 unequal: No Solution Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 92:[98, 10], Operations: ['60-44=16', '26-16=10'] Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,92 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,92 unequal: No Solution Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[26, 82], Operations: ['60-44=16', '98-16=82'] Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,92 unequal: No Solution Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[26, 114], Operations: ['60-44=16', '98+16=114'] Exploring Operation: 26+114=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 26*114=2964, Resulting Numbers: [2964] 2964,92 unequal: No Solution Exploring Operation: 114-26=88, Resulting Numbers: [88] 88,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[16, 72], Operations: ['60-44=16', '98-26=72'] Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 92:[44, 98, 34], Operations: ['60-26=34'] Exploring Operation: 98-44=54, Resulting Numbers: [34, 54] Generated Node #0,4,0: 92:[34, 54] Operation: 98-44=54 Exploring Operation: 98-34=64, Resulting Numbers: [44, 64] Generated Node #0,4,1: 92:[44, 64] Operation: 98-34=64 Exploring Operation: 44+34=78, Resulting Numbers: [98, 78] Generated Node #0,4,2: 92:[98, 78] Operation: 44+34=78 Exploring Operation: 98+34=132, Resulting Numbers: [44, 132] Generated Node #0,4,3: 92:[44, 132] Operation: 98+34=132 Exploring Operation: 44-34=10, Resulting Numbers: [98, 10] Generated Node #0,4,4: 92:[98, 10] Operation: 44-34=10 Moving to Node #0,2 Current State: 92:[26, 98, 104], Operations: ['44+60=104'] Exploring Operation: 104/26=4, Resulting Numbers: [98, 4] Generated Node #0,2,0: 92:[98, 4] Operation: 104/26=4 Exploring Operation: 98-26=72, Resulting Numbers: [104, 72] Generated Node #0,2,1: 92:[104, 72] Operation: 98-26=72 Exploring Operation: 104-98=6, Resulting Numbers: [26, 6] Generated Node #0,2,2: 92:[26, 6] Operation: 104-98=6 Exploring Operation: 26+98=124, Resulting Numbers: [104, 124] Generated Node #0,2,3: 92:[104, 124] Operation: 26+98=124 Exploring Operation: 104-26=78, Resulting Numbers: [98, 78] Generated Node #0,2,4: 92:[98, 78] Operation: 104-26=78 Moving to Node #0,3,1 Current State: 92:[26, 6], Operations: ['98-60=38', '44-38=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[26, 6], Operations: ['44+60=104', '104-98=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,92 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[98, 4], Operations: ['44+60=104', '104/26=4'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,92 unequal: No Solution Exploring Operation: 98*4=392, Resulting Numbers: [392] 392,92 unequal: No Solution Exploring Operation: 98+4=102, Resulting Numbers: [102] 102,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[44, 12], Operations: ['98-60=38', '38-26=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,92 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[98, 10], Operations: ['60-26=34', '44-34=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,92 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[38, 18], Operations: ['98-60=38', '44-26=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,92 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[26, 82], Operations: ['98-60=38', '44+38=82'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,92 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[34, 54], Operations: ['60-26=34', '98-44=54'] Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,92 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[98, 78], Operations: ['44+60=104', '104-26=78'] Exploring Operation: 98*78=7644, Resulting Numbers: [7644] 7644,92 unequal: No Solution Exploring Operation: 98-78=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 98+78=176, Resulting Numbers: [176] 176,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[44, 64], Operations: ['60-26=34', '98-34=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,92 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[44, 64], Operations: ['98-60=38', '26+38=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,92 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[98, 78], Operations: ['60-26=34', '44+34=78'] Exploring Operation: 98+78=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 98*78=7644, Resulting Numbers: [7644] 7644,92 unequal: No Solution Exploring Operation: 98-78=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[104, 72], Operations: ['44+60=104', '98-26=72'] Exploring Operation: 104-72=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 104+72=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 104*72=7488, Resulting Numbers: [7488] 7488,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[44, 132], Operations: ['60-26=34', '98+34=132'] Exploring Operation: 44+132=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 44*132=5808, Resulting Numbers: [5808] 5808,92 unequal: No Solution Exploring Operation: 132-44=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 132/44=3, Resulting Numbers: [3] 3,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[104, 124], Operations: ['44+60=104', '26+98=124'] Exploring Operation: 104*124=12896, Resulting Numbers: [12896] 12896,92 unequal: No Solution Exploring Operation: 104+124=228, Resulting Numbers: [228] 228,92 unequal: No Solution Exploring Operation: 124-104=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 87, 68, 96 ]
37
[ "87-22=65", "96-68=28", "65-28=37" ]
Current State: 37:[22, 87, 68, 96], Operations: [] Exploring Operation: 87-22=65, Resulting Numbers: [68, 96, 65] Generated Node #2: [68, 96, 65] from Operation: 87-22=65 Current State: 37:[68, 96, 65], Operations: ['87-22=65'] Exploring Operation: 96-68=28, Resulting Numbers: [65, 28] Generated Node #3: [65, 28] from Operation: 96-68=28 Current State: 37:[65, 28], Operations: ['87-22=65', '96-68=28'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[22, 87, 68, 96], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [22, 68, 9] Generated Node #0,0: 37:[22, 68, 9] Operation: 96-87=9 Moving to Node #0,0 Current State: 37:[22, 68, 9], Operations: ['96-87=9'] Exploring Operation: 68-22=46, Resulting Numbers: [9, 46] Generated Node #0,0,0: 37:[9, 46] Operation: 68-22=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[9, 46], Operations: ['96-87=9', '68-22=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[22, 87, 68, 96], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [22, 68, 9] Generated Node #0,0: 37:[22, 68, 9] Operation: 96-87=9 Moving to Node #0,0 Current State: 37:[22, 68, 9], Operations: ['96-87=9'] Exploring Operation: 68-22=46, Resulting Numbers: [9, 46] Generated Node #0,0,0: 37:[9, 46] Operation: 68-22=46 Moving to Node #0,0,0 Current State: 37:[9, 46], Operations: ['96-87=9', '68-22=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 13, 46, 20, 38 ]
28
[ "13*46=598", "598-38=560", "560/20=28" ]
Current State: 28:[13, 46, 20, 38], Operations: [] Exploring Operation: 13*46=598, Resulting Numbers: [20, 38, 598] Generated Node #2: [20, 38, 598] from Operation: 13*46=598 Current State: 28:[20, 38, 598], Operations: ['13*46=598'] Exploring Operation: 598-38=560, Resulting Numbers: [20, 560] Generated Node #3: [20, 560] from Operation: 598-38=560 Current State: 28:[20, 560], Operations: ['13*46=598', '598-38=560'] Exploring Operation: 560/20=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[13, 46, 20, 38], Operations: [] Exploring Operation: 46-13=33, Resulting Numbers: [20, 38, 33] Generated Node #0,0: 28:[20, 38, 33] Operation: 46-13=33 Exploring Operation: 46-38=8, Resulting Numbers: [13, 20, 8] Generated Node #0,1: 28:[13, 20, 8] Operation: 46-38=8 Exploring Operation: 46-20=26, Resulting Numbers: [13, 38, 26] Generated Node #0,2: 28:[13, 38, 26] Operation: 46-20=26 Exploring Operation: 38-20=18, Resulting Numbers: [13, 46, 18] Generated Node #0,3: 28:[13, 46, 18] Operation: 38-20=18 Moving to Node #0,1 Current State: 28:[13, 20, 8], Operations: ['46-38=8'] Exploring Operation: 20+8=28, Resulting Numbers: [13, 28] Generated Node #0,1,0: 28:[13, 28] Operation: 20+8=28 Exploring Operation: 20-8=12, Resulting Numbers: [13, 12] Generated Node #0,1,1: 28:[13, 12] Operation: 20-8=12 Exploring Operation: 20-13=7, Resulting Numbers: [8, 7] Generated Node #0,1,2: 28:[8, 7] Operation: 20-13=7 Exploring Operation: 13+20=33, Resulting Numbers: [8, 33] Generated Node #0,1,3: 28:[8, 33] Operation: 13+20=33 Moving to Node #0,2 Current State: 28:[13, 38, 26], Operations: ['46-20=26'] Exploring Operation: 38-13=25, Resulting Numbers: [26, 25] Generated Node #0,2,0: 28:[26, 25] Operation: 38-13=25 Exploring Operation: 26/13=2, Resulting Numbers: [38, 2] Generated Node #0,2,1: 28:[38, 2] Operation: 26/13=2 Exploring Operation: 38-26=12, Resulting Numbers: [13, 12] Generated Node #0,2,2: 28:[13, 12] Operation: 38-26=12 Exploring Operation: 26-13=13, Resulting Numbers: [38, 13] Generated Node #0,2,3: 28:[38, 13] Operation: 26-13=13 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[13, 12], Operations: ['46-20=26', '38-26=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[26, 25], Operations: ['46-20=26', '38-13=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,28 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[38, 2], Operations: ['46-20=26', '26/13=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[38, 13], Operations: ['46-20=26', '26-13=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,28 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: 28:[20, 38, 33], Operations: ['46-13=33'] Exploring Operation: 20+38=58, Resulting Numbers: [33, 58] Generated Node #0,0,0: 28:[33, 58] Operation: 20+38=58 Exploring Operation: 38-20=18, Resulting Numbers: [33, 18] Generated Node #0,0,1: 28:[33, 18] Operation: 38-20=18 Exploring Operation: 33-20=13, Resulting Numbers: [38, 13] Generated Node #0,0,2: 28:[38, 13] Operation: 33-20=13 Exploring Operation: 38-33=5, Resulting Numbers: [20, 5] Generated Node #0,0,3: 28:[20, 5] Operation: 38-33=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[20, 5], Operations: ['46-13=33', '38-33=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[33, 18], Operations: ['46-13=33', '38-20=18'] Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,28 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[38, 13], Operations: ['46-13=33', '33-20=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,28 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[33, 58], Operations: ['46-13=33', '20+38=58'] Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,28 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,28 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: 28:[13, 46, 18], Operations: ['38-20=18'] Exploring Operation: 18-13=5, Resulting Numbers: [46, 5] Generated Node #0,3,0: 28:[46, 5] Operation: 18-13=5 Exploring Operation: 46-18=28, Resulting Numbers: [13, 28] Generated Node #0,3,1: 28:[13, 28] Operation: 46-18=28 Exploring Operation: 13+18=31, Resulting Numbers: [46, 31] Generated Node #0,3,2: 28:[46, 31] Operation: 13+18=31 Exploring Operation: 46-13=33, Resulting Numbers: [18, 33] Generated Node #0,3,3: 28:[18, 33] Operation: 46-13=33 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[13, 28], Operations: ['38-20=18', '46-18=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,28 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[18, 33], Operations: ['38-20=18', '46-13=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,28 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[46, 5], Operations: ['38-20=18', '18-13=5'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 28:[46, 31], Operations: ['38-20=18', '13+18=31'] Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,28 unequal: No Solution Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,28 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,28 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: 28:[13, 28], Operations: ['46-38=8', '20+8=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,28 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[8, 7], Operations: ['46-38=8', '20-13=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[13, 12], Operations: ['46-38=8', '20-8=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,28 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[8, 33], Operations: ['46-38=8', '13+20=33'] Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,28 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 27, 60, 9, 41 ]
98
[ "27/9=3", "60+41=101", "101-3=98" ]
Current State: 98:[27, 60, 9, 41], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [60, 41, 3] Generated Node #2: [60, 41, 3] from Operation: 27/9=3 Current State: 98:[60, 41, 3], Operations: ['27/9=3'] Exploring Operation: 60+41=101, Resulting Numbers: [3, 101] Generated Node #3: [3, 101] from Operation: 60+41=101 Current State: 98:[3, 101], Operations: ['27/9=3', '60+41=101'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[27, 60, 9, 41], Operations: [] Exploring Operation: 41-27=14, Resulting Numbers: [60, 9, 14] Generated Node #0,0: 98:[60, 9, 14] Operation: 41-27=14 Exploring Operation: 60+41=101, Resulting Numbers: [27, 9, 101] Generated Node #0,1: 98:[27, 9, 101] Operation: 60+41=101 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[60, 9, 14], Operations: ['41-27=14'] Exploring Operation: 60-14=46, Resulting Numbers: [9, 46] Generated Node #0,0,0: 98:[9, 46] Operation: 60-14=46 Exploring Operation: 60-9=51, Resulting Numbers: [14, 51] Generated Node #0,0,1: 98:[14, 51] Operation: 60-9=51 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[14, 51], Operations: ['41-27=14', '60-9=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,98 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,98 unequal: No Solution No 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: 98:[9, 46], Operations: ['41-27=14', '60-14=46'] Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,98 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: 98:[27, 9, 101], Operations: ['60+41=101'] Exploring Operation: 27-9=18, Resulting Numbers: [101, 18] Generated Node #0,1,0: 98:[101, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [101, 3] Generated Node #0,1,1: 98:[101, 3] Operation: 27/9=3 Moving to Node #0,1,1 Current State: 98:[101, 3], Operations: ['60+41=101', '27/9=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[27, 60, 9, 41], Operations: [] Exploring Operation: 60+41=101, Resulting Numbers: [27, 9, 101] Generated Node #0,1: 98:[27, 9, 101] Operation: 60+41=101 Moving to Node #0,1 Current State: 98:[27, 9, 101], Operations: ['60+41=101'] Exploring Operation: 27/9=3, Resulting Numbers: [101, 3] Generated Node #0,1,1: 98:[101, 3] Operation: 27/9=3 Moving to Node #0,1,1 Current State: 98:[101, 3], Operations: ['60+41=101', '27/9=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 34, 54, 88, 81 ]
80
[ "34+54=88", "88/88=1", "81-1=80" ]
Current State: 80:[34, 54, 88, 81], Operations: [] Exploring Operation: 34+54=88, Resulting Numbers: [88, 81, 88] Generated Node #2: [88, 81, 88] from Operation: 34+54=88 Current State: 80:[88, 81, 88], Operations: ['34+54=88'] Exploring Operation: 88/88=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 88/88=1 Current State: 80:[81, 1], Operations: ['34+54=88', '88/88=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[34, 54, 88, 81], Operations: [] Exploring Operation: 88-54=34, Resulting Numbers: [34, 81, 34] Generated Node #0,0: 80:[34, 81, 34] Operation: 88-54=34 Exploring Operation: 54-34=20, Resulting Numbers: [88, 81, 20] Generated Node #0,1: 80:[88, 81, 20] Operation: 54-34=20 Exploring Operation: 34+54=88, Resulting Numbers: [88, 81, 88] Generated Node #0,2: 80:[88, 81, 88] Operation: 34+54=88 Exploring Operation: 81-54=27, Resulting Numbers: [34, 88, 27] Generated Node #0,3: 80:[34, 88, 27] Operation: 81-54=27 Moving to Node #0,1 Current State: 80:[88, 81, 20], Operations: ['54-34=20'] Exploring Operation: 88-81=7, Resulting Numbers: [20, 7] Generated Node #0,1,0: 80:[20, 7] Operation: 88-81=7 Exploring Operation: 81-20=61, Resulting Numbers: [88, 61] Generated Node #0,1,1: 80:[88, 61] Operation: 81-20=61 Exploring Operation: 88+20=108, Resulting Numbers: [81, 108] Generated Node #0,1,2: 80:[81, 108] Operation: 88+20=108 Exploring Operation: 88-20=68, Resulting Numbers: [81, 68] Generated Node #0,1,3: 80:[81, 68] Operation: 88-20=68 Moving to Node #0,0 Current State: 80:[34, 81, 34], Operations: ['88-54=34'] Exploring Operation: 34/34=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 80:[81, 1] Operation: 34/34=1 Exploring Operation: 34+34=68, Resulting Numbers: [81, 68] Generated Node #0,0,1: 80:[81, 68] Operation: 34+34=68 Exploring Operation: 34-34=0, Resulting Numbers: [81, 0] Generated Node #0,0,2: 80:[81, 0] Operation: 34-34=0 Exploring Operation: 81-34=47, Resulting Numbers: [34, 47] Generated Node #0,0,3: 80:[34, 47] Operation: 81-34=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[81, 1], Operations: ['88-54=34', '34/34=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[34, 54, 88, 81], Operations: [] Exploring Operation: 88-54=34, Resulting Numbers: [34, 81, 34] Generated Node #0,0: 80:[34, 81, 34] Operation: 88-54=34 Moving to Node #0,0 Current State: 80:[34, 81, 34], Operations: ['88-54=34'] Exploring Operation: 34/34=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 80:[81, 1] Operation: 34/34=1 Moving to Node #0,0,0 Current State: 80:[81, 1], Operations: ['88-54=34', '34/34=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 57, 56, 69, 67 ]
58
[ "69-67=2", "57*2=114", "114-56=58" ]
Current State: 58:[57, 56, 69, 67], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [57, 56, 2] Generated Node #2: [57, 56, 2] from Operation: 69-67=2 Current State: 58:[57, 56, 2], Operations: ['69-67=2'] Exploring Operation: 57*2=114, Resulting Numbers: [56, 114] Generated Node #3: [56, 114] from Operation: 57*2=114 Current State: 58:[56, 114], Operations: ['69-67=2', '57*2=114'] Exploring Operation: 114-56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[57, 56, 69, 67], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [57, 56, 2] Generated Node #0,0: 58:[57, 56, 2] Operation: 69-67=2 Exploring Operation: 57-56=1, Resulting Numbers: [69, 67, 1] Generated Node #0,1: 58:[69, 67, 1] Operation: 57-56=1 Moving to Node #0,0 Current State: 58:[57, 56, 2], Operations: ['69-67=2'] Exploring Operation: 57-56=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 58:[2, 1] Operation: 57-56=1 Exploring Operation: 56+2=58, Resulting Numbers: [57, 58] Generated Node #0,0,1: 58:[57, 58] Operation: 56+2=58 Moving to Node #0,1 Current State: 58:[69, 67, 1], Operations: ['57-56=1'] Exploring Operation: 69-1=68, Resulting Numbers: [67, 68] Generated Node #0,1,0: 58:[67, 68] Operation: 69-1=68 Exploring Operation: 69-67=2, Resulting Numbers: [1, 2] Generated Node #0,1,1: 58:[1, 2] Operation: 69-67=2 Moving to Node #0,0,0 Current State: 58:[2, 1], Operations: ['69-67=2', '57-56=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[1, 2], Operations: ['57-56=1', '69-67=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[57, 58], Operations: ['69-67=2', '56+2=58'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[67, 68], Operations: ['57-56=1', '69-1=68'] Exploring Operation: 67+68=135, Resulting Numbers: [135] 135,58 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,58 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 68, 65, 69, 6 ]
72
[ "68-65=3", "69+6=75", "75-3=72" ]
Current State: 72:[68, 65, 69, 6], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [69, 6, 3] Generated Node #2: [69, 6, 3] from Operation: 68-65=3 Current State: 72:[69, 6, 3], Operations: ['68-65=3'] Exploring Operation: 69+6=75, Resulting Numbers: [3, 75] Generated Node #3: [3, 75] from Operation: 69+6=75 Current State: 72:[3, 75], Operations: ['68-65=3', '69+6=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[68, 65, 69, 6], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [69, 6, 3] Generated Node #0,0: 72:[69, 6, 3] Operation: 68-65=3 Exploring Operation: 69-65=4, Resulting Numbers: [68, 6, 4] Generated Node #0,1: 72:[68, 6, 4] Operation: 69-65=4 Exploring Operation: 69-68=1, Resulting Numbers: [65, 6, 1] Generated Node #0,2: 72:[65, 6, 1] Operation: 69-68=1 Exploring Operation: 68+6=74, Resulting Numbers: [65, 69, 74] Generated Node #0,3: 72:[65, 69, 74] Operation: 68+6=74 Exploring Operation: 65+6=71, Resulting Numbers: [68, 69, 71] Generated Node #0,4: 72:[68, 69, 71] Operation: 65+6=71 Moving to Node #0,0 Current State: 72:[69, 6, 3], Operations: ['68-65=3'] Exploring Operation: 69/3=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 72:[6, 23] Operation: 69/3=23 Exploring Operation: 69+3=72, Resulting Numbers: [6, 72] Generated Node #0,0,1: 72:[6, 72] Operation: 69+3=72 Exploring Operation: 6*3=18, Resulting Numbers: [69, 18] Generated Node #0,0,2: 72:[69, 18] Operation: 6*3=18 Exploring Operation: 6+3=9, Resulting Numbers: [69, 9] Generated Node #0,0,3: 72:[69, 9] Operation: 6+3=9 Exploring Operation: 69+6=75, Resulting Numbers: [3, 75] Generated Node #0,0,4: 72:[3, 75] Operation: 69+6=75 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[6, 72], Operations: ['68-65=3', '69+3=72'] Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,72 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[6, 23], Operations: ['68-65=3', '69/3=23'] Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 6*23=138, Resulting Numbers: [138] 138,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[69, 18], Operations: ['68-65=3', '6*3=18'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,72 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[69, 9], Operations: ['68-65=3', '6+3=9'] Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 69*9=621, Resulting Numbers: [621] 621,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 72:[3, 75], Operations: ['68-65=3', '69+6=75'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[68, 65, 69, 6], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [69, 6, 3] Generated Node #0,0: 72:[69, 6, 3] Operation: 68-65=3 Moving to Node #0,0 Current State: 72:[69, 6, 3], Operations: ['68-65=3'] Exploring Operation: 69+6=75, Resulting Numbers: [3, 75] Generated Node #0,0,4: 72:[3, 75] Operation: 69+6=75 Moving to Node #0,0,4 Current State: 72:[3, 75], Operations: ['68-65=3', '69+6=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
mult_heuristic
[ 12, 84, 35, 87 ]
50
[ "84-12=72", "35+87=122", "122-72=50" ]
Current State: 50:[12, 84, 35, 87], Operations: [] Exploring Operation: 84-12=72, Resulting Numbers: [35, 87, 72] Generated Node #2: [35, 87, 72] from Operation: 84-12=72 Current State: 50:[35, 87, 72], Operations: ['84-12=72'] Exploring Operation: 35+87=122, Resulting Numbers: [72, 122] Generated Node #3: [72, 122] from Operation: 35+87=122 Current State: 50:[72, 122], Operations: ['84-12=72', '35+87=122'] Exploring Operation: 122-72=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[12, 84, 35, 87], Operations: [] Exploring Operation: 84/12=7, Resulting Numbers: [35, 87, 7] Generated Node #0,0: 50:[35, 87, 7] Operation: 84/12=7 Exploring Operation: 87-35=52, Resulting Numbers: [12, 84, 52] Generated Node #0,1: 50:[12, 84, 52] Operation: 87-35=52 Exploring Operation: 87-84=3, Resulting Numbers: [12, 35, 3] Generated Node #0,2: 50:[12, 35, 3] Operation: 87-84=3 Exploring Operation: 84-35=49, Resulting Numbers: [12, 87, 49] Generated Node #0,3: 50:[12, 87, 49] Operation: 84-35=49 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[12, 35, 3], Operations: ['87-84=3'] Exploring Operation: 35-3=32, Resulting Numbers: [12, 32] Generated Node #0,2,0: 50:[12, 32] Operation: 35-3=32 Exploring Operation: 35-12=23, Resulting Numbers: [3, 23] Generated Node #0,2,1: 50:[3, 23] Operation: 35-12=23 Exploring Operation: 12-3=9, Resulting Numbers: [35, 9] Generated Node #0,2,2: 50:[35, 9] Operation: 12-3=9 Exploring Operation: 12+35=47, Resulting Numbers: [3, 47] Generated Node #0,2,3: 50:[3, 47] Operation: 12+35=47 Moving to Node #0,2,1 Current State: 50:[3, 23], Operations: ['87-84=3', '35-12=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[3, 47], Operations: ['87-84=3', '12+35=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[12, 84, 35, 87], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [12, 35, 3] Generated Node #0,2: 50:[12, 35, 3] Operation: 87-84=3 Moving to Node #0,2 Current State: 50:[12, 35, 3], Operations: ['87-84=3'] Exploring Operation: 12+35=47, Resulting Numbers: [3, 47] Generated Node #0,2,3: 50:[3, 47] Operation: 12+35=47 Moving to Node #0,2,3 Current State: 50:[3, 47], Operations: ['87-84=3', '12+35=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 14, 73, 32, 3 ]
61
[ "14+73=87", "87/3=29", "32+29=61" ]
Current State: 61:[14, 73, 32, 3], Operations: [] Exploring Operation: 14+73=87, Resulting Numbers: [32, 3, 87] Generated Node #2: [32, 3, 87] from Operation: 14+73=87 Current State: 61:[32, 3, 87], Operations: ['14+73=87'] Exploring Operation: 87/3=29, Resulting Numbers: [32, 29] Generated Node #3: [32, 29] from Operation: 87/3=29 Current State: 61:[32, 29], Operations: ['14+73=87', '87/3=29'] Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[14, 73, 32, 3], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [73, 32, 42] Generated Node #0,0: 61:[73, 32, 42] Operation: 14*3=42 Exploring Operation: 14+3=17, Resulting Numbers: [73, 32, 17] Generated Node #0,1: 61:[73, 32, 17] Operation: 14+3=17 Exploring Operation: 73-3=70, Resulting Numbers: [14, 32, 70] Generated Node #0,2: 61:[14, 32, 70] Operation: 73-3=70 Exploring Operation: 14+32=46, Resulting Numbers: [73, 3, 46] Generated Node #0,3: 61:[73, 3, 46] Operation: 14+32=46 Moving to Node #0,0 Current State: 61:[73, 32, 42], Operations: ['14*3=42'] Exploring Operation: 73+32=105, Resulting Numbers: [42, 105] Generated Node #0,0,0: 61:[42, 105] Operation: 73+32=105 Exploring Operation: 32+42=74, Resulting Numbers: [73, 74] Generated Node #0,0,1: 61:[73, 74] Operation: 32+42=74 Exploring Operation: 73-42=31, Resulting Numbers: [32, 31] Generated Node #0,0,2: 61:[32, 31] Operation: 73-42=31 Exploring Operation: 73-32=41, Resulting Numbers: [42, 41] Generated Node #0,0,3: 61:[42, 41] Operation: 73-32=41 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[73, 74], Operations: ['14*3=42', '32+42=74'] Exploring Operation: 73+74=147, Resulting Numbers: [147] 147,61 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 73*74=5402, Resulting Numbers: [5402] 5402,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[42, 41], Operations: ['14*3=42', '73-32=41'] Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,61 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[32, 31], Operations: ['14*3=42', '73-42=31'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,61 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[42, 105], Operations: ['14*3=42', '73+32=105'] Exploring Operation: 42+105=147, Resulting Numbers: [147] 147,61 unequal: No Solution Exploring Operation: 42*105=4410, Resulting Numbers: [4410] 4410,61 unequal: No Solution Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,61 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: 61:[14, 32, 70], Operations: ['73-3=70'] Exploring Operation: 70-14=56, Resulting Numbers: [32, 56] Generated Node #0,2,0: 61:[32, 56] Operation: 70-14=56 Exploring Operation: 14+32=46, Resulting Numbers: [70, 46] Generated Node #0,2,1: 61:[70, 46] Operation: 14+32=46 Exploring Operation: 14+70=84, Resulting Numbers: [32, 84] Generated Node #0,2,2: 61:[32, 84] Operation: 14+70=84 Exploring Operation: 32-14=18, Resulting Numbers: [70, 18] Generated Node #0,2,3: 61:[70, 18] Operation: 32-14=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[70, 46], Operations: ['73-3=70', '14+32=46'] Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,61 unequal: No Solution Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[32, 56], Operations: ['73-3=70', '70-14=56'] Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 32*56=1792, Resulting Numbers: [1792] 1792,61 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[32, 84], Operations: ['73-3=70', '14+70=84'] Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 32*84=2688, Resulting Numbers: [2688] 2688,61 unequal: No Solution Exploring Operation: 32+84=116, Resulting Numbers: [116] 116,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[70, 18], Operations: ['73-3=70', '32-14=18'] Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,61 unequal: No Solution Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[73, 32, 17], Operations: ['14+3=17'] Exploring Operation: 32-17=15, Resulting Numbers: [73, 15] Generated Node #0,1,0: 61:[73, 15] Operation: 32-17=15 Exploring Operation: 73+17=90, Resulting Numbers: [32, 90] Generated Node #0,1,1: 61:[32, 90] Operation: 73+17=90 Exploring Operation: 73-17=56, Resulting Numbers: [32, 56] Generated Node #0,1,2: 61:[32, 56] Operation: 73-17=56 Exploring Operation: 32+17=49, Resulting Numbers: [73, 49] Generated Node #0,1,3: 61:[73, 49] Operation: 32+17=49 Moving to Node #0,3 Current State: 61:[73, 3, 46], Operations: ['14+32=46'] Exploring Operation: 73+3=76, Resulting Numbers: [46, 76] Generated Node #0,3,0: 61:[46, 76] Operation: 73+3=76 Exploring Operation: 3+46=49, Resulting Numbers: [73, 49] Generated Node #0,3,1: 61:[73, 49] Operation: 3+46=49 Exploring Operation: 46-3=43, Resulting Numbers: [73, 43] Generated Node #0,3,2: 61:[73, 43] Operation: 46-3=43 Exploring Operation: 73-3=70, Resulting Numbers: [46, 70] Generated Node #0,3,3: 61:[46, 70] Operation: 73-3=70 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[73, 49], Operations: ['14+32=46', '3+46=49'] Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,61 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[46, 70], Operations: ['14+32=46', '73-3=70'] Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,61 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[46, 76], Operations: ['14+32=46', '73+3=76'] Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,61 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[73, 43], Operations: ['14+32=46', '46-3=43'] Exploring Operation: 73+43=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 73*43=3139, Resulting Numbers: [3139] 3139,61 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 61:[73, 49], Operations: ['14+3=17', '32+17=49'] Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[32, 56], Operations: ['14+3=17', '73-17=56'] Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 32*56=1792, Resulting Numbers: [1792] 1792,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[32, 90], Operations: ['14+3=17', '73+17=90'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 32+90=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 32*90=2880, Resulting Numbers: [2880] 2880,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[73, 15], Operations: ['14+3=17', '32-17=15'] Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,61 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 19, 9, 10, 7 ]
92
[ "19+10=29", "9*7=63", "29+63=92" ]
Current State: 92:[19, 9, 10, 7], Operations: [] Exploring Operation: 19+10=29, Resulting Numbers: [9, 7, 29] Generated Node #2: [9, 7, 29] from Operation: 19+10=29 Current State: 92:[9, 7, 29], Operations: ['19+10=29'] Exploring Operation: 9*7=63, Resulting Numbers: [29, 63] Generated Node #3: [29, 63] from Operation: 9*7=63 Current State: 92:[29, 63], Operations: ['19+10=29', '9*7=63'] Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[19, 9, 10, 7], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [19, 7, 1] Generated Node #0,0: 92:[19, 7, 1] Operation: 10-9=1 Moving to Node #0,0 Current State: 92:[19, 7, 1], Operations: ['10-9=1'] Exploring Operation: 19+7=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 92:[1, 26] Operation: 19+7=26 Moving to Node #0,0,0 Current State: 92:[1, 26], Operations: ['10-9=1', '19+7=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 18, 87, 66, 58 ]
62
[ "66*58=3828", "3828/87=44", "18+44=62" ]
Current State: 62:[18, 87, 66, 58], Operations: [] Exploring Operation: 66*58=3828, Resulting Numbers: [18, 87, 3828] Generated Node #2: [18, 87, 3828] from Operation: 66*58=3828 Current State: 62:[18, 87, 3828], Operations: ['66*58=3828'] Exploring Operation: 3828/87=44, Resulting Numbers: [18, 44] Generated Node #3: [18, 44] from Operation: 3828/87=44 Current State: 62:[18, 44], Operations: ['66*58=3828', '3828/87=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[18, 87, 66, 58], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [66, 58, 69] Generated Node #0,0: 62:[66, 58, 69] Operation: 87-18=69 Exploring Operation: 87-58=29, Resulting Numbers: [18, 66, 29] Generated Node #0,1: 62:[18, 66, 29] Operation: 87-58=29 Exploring Operation: 87-66=21, Resulting Numbers: [18, 58, 21] Generated Node #0,2: 62:[18, 58, 21] Operation: 87-66=21 Moving to Node #0,0 Current State: 62:[66, 58, 69], Operations: ['87-18=69'] Exploring Operation: 66-58=8, Resulting Numbers: [69, 8] Generated Node #0,0,0: 62:[69, 8] Operation: 66-58=8 Exploring Operation: 69-66=3, Resulting Numbers: [58, 3] Generated Node #0,0,1: 62:[58, 3] Operation: 69-66=3 Exploring Operation: 69-58=11, Resulting Numbers: [66, 11] Generated Node #0,0,2: 62:[66, 11] Operation: 69-58=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[58, 3], Operations: ['87-18=69', '69-66=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[69, 8], Operations: ['87-18=69', '66-58=8'] Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,62 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[66, 11], Operations: ['87-18=69', '69-58=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 62:[18, 66, 29], Operations: ['87-58=29'] Exploring Operation: 29-18=11, Resulting Numbers: [66, 11] Generated Node #0,1,0: 62:[66, 11] Operation: 29-18=11 Exploring Operation: 66-18=48, Resulting Numbers: [29, 48] Generated Node #0,1,1: 62:[29, 48] Operation: 66-18=48 Exploring Operation: 18+29=47, Resulting Numbers: [66, 47] Generated Node #0,1,2: 62:[66, 47] Operation: 18+29=47 Moving to Node #0,2 Current State: 62:[18, 58, 21], Operations: ['87-66=21'] Exploring Operation: 58-18=40, Resulting Numbers: [21, 40] Generated Node #0,2,0: 62:[21, 40] Operation: 58-18=40 Exploring Operation: 21-18=3, Resulting Numbers: [58, 3] Generated Node #0,2,1: 62:[58, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [58, 39] Generated Node #0,2,2: 62:[58, 39] Operation: 18+21=39 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[58, 3], Operations: ['87-66=21', '21-18=3'] Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,62 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[58, 39], Operations: ['87-66=21', '18+21=39'] Exploring Operation: 58*39=2262, Resulting Numbers: [2262] 2262,62 unequal: No Solution Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[21, 40], Operations: ['87-66=21', '58-18=40'] Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,62 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,62 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: 62:[66, 11], Operations: ['87-58=29', '29-18=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[29, 48], Operations: ['87-58=29', '66-18=48'] Exploring Operation: 29+48=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 29*48=1392, Resulting Numbers: [1392] 1392,62 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[66, 47], Operations: ['87-58=29', '18+29=47'] Exploring Operation: 66+47=113, Resulting Numbers: [113] 113,62 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 66*47=3102, Resulting Numbers: [3102] 3102,62 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 1, 30, 8, 5 ]
48
[ "1*30=30", "8*30=240", "240/5=48" ]
Current State: 48:[1, 30, 8, 5], Operations: [] Exploring Operation: 1*30=30, Resulting Numbers: [8, 5, 30] Generated Node #2: [8, 5, 30] from Operation: 1*30=30 Current State: 48:[8, 5, 30], Operations: ['1*30=30'] Exploring Operation: 8*30=240, Resulting Numbers: [5, 240] Generated Node #3: [5, 240] from Operation: 8*30=240 Current State: 48:[5, 240], Operations: ['1*30=30', '8*30=240'] Exploring Operation: 240/5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[1, 30, 8, 5], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [1, 8, 6] Generated Node #0,0: 48:[1, 8, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [1, 8, 25] Generated Node #0,1: 48:[1, 8, 25] Operation: 30-5=25 Moving to Node #0,0 Current State: 48:[1, 8, 6], Operations: ['30/5=6'] Exploring Operation: 1*8=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 48:[6, 8] Operation: 1*8=8 Exploring Operation: 8/1=8, Resulting Numbers: [6, 8] Generated Node #0,0,1: 48:[6, 8] Operation: 8/1=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[6, 8], Operations: ['30/5=6', '1*8=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[1, 30, 8, 5], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [1, 8, 6] Generated Node #0,0: 48:[1, 8, 6] Operation: 30/5=6 Moving to Node #0,0 Current State: 48:[1, 8, 6], Operations: ['30/5=6'] Exploring Operation: 1*8=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 48:[6, 8] Operation: 1*8=8 Moving to Node #0,0,0 Current State: 48:[6, 8], Operations: ['30/5=6', '1*8=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 91, 53, 45, 90 ]
99
[ "91+53=144", "90-45=45", "144-45=99" ]
Current State: 99:[91, 53, 45, 90], Operations: [] Exploring Operation: 91+53=144, Resulting Numbers: [45, 90, 144] Generated Node #2: [45, 90, 144] from Operation: 91+53=144 Current State: 99:[45, 90, 144], Operations: ['91+53=144'] Exploring Operation: 90-45=45, Resulting Numbers: [144, 45] Generated Node #3: [144, 45] from Operation: 90-45=45 Current State: 99:[144, 45], Operations: ['91+53=144', '90-45=45'] Exploring Operation: 144-45=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[91, 53, 45, 90], Operations: [] Exploring Operation: 53+45=98, Resulting Numbers: [91, 90, 98] Generated Node #0,0: 99:[91, 90, 98] Operation: 53+45=98 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[91, 90, 98], Operations: ['53+45=98'] Exploring Operation: 91-90=1, Resulting Numbers: [98, 1] Generated Node #0,0,0: 99:[98, 1] Operation: 91-90=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[98, 1], Operations: ['53+45=98', '91-90=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[91, 53, 45, 90], Operations: [] Exploring Operation: 53+45=98, Resulting Numbers: [91, 90, 98] Generated Node #0,0: 99:[91, 90, 98] Operation: 53+45=98 Moving to Node #0,0 Current State: 99:[91, 90, 98], Operations: ['53+45=98'] Exploring Operation: 91-90=1, Resulting Numbers: [98, 1] Generated Node #0,0,0: 99:[98, 1] Operation: 91-90=1 Moving to Node #0,0,0 Current State: 99:[98, 1], Operations: ['53+45=98', '91-90=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 82, 56, 34, 54 ]
96
[ "82-34=48", "56-54=2", "48*2=96" ]
Current State: 96:[82, 56, 34, 54], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [56, 54, 48] Generated Node #2: [56, 54, 48] from Operation: 82-34=48 Current State: 96:[56, 54, 48], Operations: ['82-34=48'] Exploring Operation: 56-54=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 56-54=2 Current State: 96:[48, 2], Operations: ['82-34=48', '56-54=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[82, 56, 34, 54], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [56, 54, 48] Generated Node #0,0: 96:[56, 54, 48] Operation: 82-34=48 Exploring Operation: 82-56=26, Resulting Numbers: [34, 54, 26] Generated Node #0,1: 96:[34, 54, 26] Operation: 82-56=26 Moving to Node #0,1 Current State: 96:[34, 54, 26], Operations: ['82-56=26'] Exploring Operation: 54-34=20, Resulting Numbers: [26, 20] Generated Node #0,1,0: 96:[26, 20] Operation: 54-34=20 Exploring Operation: 34-26=8, Resulting Numbers: [54, 8] Generated Node #0,1,1: 96:[54, 8] Operation: 34-26=8 Moving to Node #0,0 Current State: 96:[56, 54, 48], Operations: ['82-34=48'] Exploring Operation: 56-54=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 96:[48, 2] Operation: 56-54=2 Exploring Operation: 56-48=8, Resulting Numbers: [54, 8] Generated Node #0,0,1: 96:[54, 8] Operation: 56-48=8 Moving to Node #0,0,0 Current State: 96:[48, 2], Operations: ['82-34=48', '56-54=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[82, 56, 34, 54], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [56, 54, 48] Generated Node #0,0: 96:[56, 54, 48] Operation: 82-34=48 Moving to Node #0,0 Current State: 96:[56, 54, 48], Operations: ['82-34=48'] Exploring Operation: 56-54=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 96:[48, 2] Operation: 56-54=2 Moving to Node #0,0,0 Current State: 96:[48, 2], Operations: ['82-34=48', '56-54=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 86, 54, 12, 61 ]
41
[ "86-54=32", "12+61=73", "73-32=41" ]
Current State: 41:[86, 54, 12, 61], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [12, 61, 32] Generated Node #2: [12, 61, 32] from Operation: 86-54=32 Current State: 41:[12, 61, 32], Operations: ['86-54=32'] Exploring Operation: 12+61=73, Resulting Numbers: [32, 73] Generated Node #3: [32, 73] from Operation: 12+61=73 Current State: 41:[32, 73], Operations: ['86-54=32', '12+61=73'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[86, 54, 12, 61], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [12, 61, 32] Generated Node #0,0: 41:[12, 61, 32] Operation: 86-54=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[12, 61, 32], Operations: ['86-54=32'] Exploring Operation: 61-12=49, Resulting Numbers: [32, 49] Generated Node #0,0,0: 41:[32, 49] Operation: 61-12=49 Moving to Node #0,0,0 Current State: 41:[32, 49], Operations: ['86-54=32', '61-12=49'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 52, 58, 52, 90 ]
37
[ "58-52=6", "90/6=15", "52-15=37" ]
Current State: 37:[52, 58, 52, 90], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [90, 6] Generated Node #2: [90, 6] from Operation: 58-52=6 Current State: 37:[90, 6], Operations: ['58-52=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,37 equal: Goal Reached Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[52, 58, 52, 90], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [52, 52, 32] Generated Node #0,0: 37:[52, 52, 32] Operation: 90-58=32 Exploring Operation: 90-52=38, Resulting Numbers: [58, 52, 38] Generated Node #0,1: 37:[58, 52, 38] Operation: 90-52=38 Moving to Node #0,0 Current State: 37:[52, 52, 32], Operations: ['90-58=32'] Exploring Operation: 52-32=20, Resulting Numbers: [52, 20] Generated Node #0,0,0: 37:[52, 20] Operation: 52-32=20 Exploring Operation: 52-32=20, Resulting Numbers: [52, 20] Generated Node #0,0,1: 37:[52, 20] Operation: 52-32=20 Moving to Node #0,1 Current State: 37:[58, 52, 38], Operations: ['90-52=38'] Exploring Operation: 58-38=20, Resulting Numbers: [52, 20] Generated Node #0,1,0: 37:[52, 20] Operation: 58-38=20 Exploring Operation: 58-52=6, Resulting Numbers: [38, 6] Generated Node #0,1,1: 37:[38, 6] Operation: 58-52=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[52, 20], Operations: ['90-52=38', '58-38=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[38, 6], Operations: ['90-52=38', '58-52=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,37 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: 37:[52, 20], Operations: ['90-58=32', '52-32=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[52, 20], Operations: ['90-58=32', '52-32=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 37, 76, 86, 38 ]
51
[ "86-37=49", "76/38=2", "49+2=51" ]
Current State: 51:[37, 76, 86, 38], Operations: [] Exploring Operation: 86-37=49, Resulting Numbers: [76, 38, 49] Generated Node #2: [76, 38, 49] from Operation: 86-37=49 Current State: 51:[76, 38, 49], Operations: ['86-37=49'] Exploring Operation: 76/38=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 76/38=2 Current State: 51:[49, 2], Operations: ['86-37=49', '76/38=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[37, 76, 86, 38], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [37, 86, 2] Generated Node #0,0: 51:[37, 86, 2] Operation: 76/38=2 Exploring Operation: 86-38=48, Resulting Numbers: [37, 76, 48] Generated Node #0,1: 51:[37, 76, 48] Operation: 86-38=48 Exploring Operation: 86-37=49, Resulting Numbers: [76, 38, 49] Generated Node #0,2: 51:[76, 38, 49] Operation: 86-37=49 Exploring Operation: 86-76=10, Resulting Numbers: [37, 38, 10] Generated Node #0,3: 51:[37, 38, 10] Operation: 86-76=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[37, 38, 10], Operations: ['86-76=10'] Exploring Operation: 37+10=47, Resulting Numbers: [38, 47] Generated Node #0,3,0: 51:[38, 47] Operation: 37+10=47 Exploring Operation: 38+10=48, Resulting Numbers: [37, 48] Generated Node #0,3,1: 51:[37, 48] Operation: 38+10=48 Exploring Operation: 38-37=1, Resulting Numbers: [10, 1] Generated Node #0,3,2: 51:[10, 1] Operation: 38-37=1 Exploring Operation: 37-10=27, Resulting Numbers: [38, 27] Generated Node #0,3,3: 51:[38, 27] Operation: 37-10=27 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[10, 1], Operations: ['86-76=10', '38-37=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[38, 47], Operations: ['86-76=10', '37+10=47'] Exploring Operation: 38*47=1786, Resulting Numbers: [1786] 1786,51 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 38+47=85, Resulting Numbers: [85] 85,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[37, 48], Operations: ['86-76=10', '38+10=48'] Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,51 unequal: No Solution Exploring Operation: 37*48=1776, Resulting Numbers: [1776] 1776,51 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[38, 27], Operations: ['86-76=10', '37-10=27'] Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 38+27=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 38*27=1026, Resulting Numbers: [1026] 1026,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[76, 38, 49], Operations: ['86-37=49'] Exploring Operation: 76/38=2, Resulting Numbers: [49, 2] Generated Node #0,2,0: 51:[49, 2] Operation: 76/38=2 Exploring Operation: 76-38=38, Resulting Numbers: [49, 38] Generated Node #0,2,1: 51:[49, 38] Operation: 76-38=38 Exploring Operation: 49-38=11, Resulting Numbers: [76, 11] Generated Node #0,2,2: 51:[76, 11] Operation: 49-38=11 Exploring Operation: 76-49=27, Resulting Numbers: [38, 27] Generated Node #0,2,3: 51:[38, 27] Operation: 76-49=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[49, 2], Operations: ['86-37=49', '76/38=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,51 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[37, 76, 86, 38], Operations: [] Exploring Operation: 86-37=49, Resulting Numbers: [76, 38, 49] Generated Node #0,2: 51:[76, 38, 49] Operation: 86-37=49 Moving to Node #0,2 Current State: 51:[76, 38, 49], Operations: ['86-37=49'] Exploring Operation: 76/38=2, Resulting Numbers: [49, 2] Generated Node #0,2,0: 51:[49, 2] Operation: 76/38=2 Moving to Node #0,2,0 Current State: 51:[49, 2], Operations: ['86-37=49', '76/38=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 56, 40, 37, 40 ]
94
[ "56+37=93", "40/40=1", "93+1=94" ]
Current State: 94:[56, 40, 37, 40], Operations: [] Exploring Operation: 56+37=93, Resulting Numbers: [40, 40, 93] Generated Node #2: [40, 40, 93] from Operation: 56+37=93 Current State: 94:[40, 40, 93], Operations: ['56+37=93'] Exploring Operation: 40/40=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 40/40=1 Current State: 94:[93, 1], Operations: ['56+37=93', '40/40=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[56, 40, 37, 40], Operations: [] Exploring Operation: 56+40=96, Resulting Numbers: [40, 37, 96] Generated Node #0,0: 94:[40, 37, 96] Operation: 56+40=96 Exploring Operation: 56+37=93, Resulting Numbers: [40, 40, 93] Generated Node #0,1: 94:[40, 40, 93] Operation: 56+37=93 Exploring Operation: 40-37=3, Resulting Numbers: [56, 40, 3] Generated Node #0,2: 94:[56, 40, 3] Operation: 40-37=3 Exploring Operation: 40-37=3, Resulting Numbers: [56, 40, 3] Generated Node #0,3: 94:[56, 40, 3] Operation: 40-37=3 Exploring Operation: 56+40=96, Resulting Numbers: [37, 40, 96] Generated Node #0,4: 94:[37, 40, 96] Operation: 56+40=96 Moving to Node #0,1 Current State: 94:[40, 40, 93], Operations: ['56+37=93'] Exploring Operation: 40/40=1, Resulting Numbers: [93, 1] Generated Node #0,1,0: 94:[93, 1] Operation: 40/40=1 Exploring Operation: 40-40=0, Resulting Numbers: [93, 0] Generated Node #0,1,1: 94:[93, 0] Operation: 40-40=0 Exploring Operation: 93-40=53, Resulting Numbers: [40, 53] Generated Node #0,1,2: 94:[40, 53] Operation: 93-40=53 Exploring Operation: 40+40=80, Resulting Numbers: [93, 80] Generated Node #0,1,3: 94:[93, 80] Operation: 40+40=80 Exploring Operation: 93-40=53, Resulting Numbers: [40, 53] Generated Node #0,1,4: 94:[40, 53] Operation: 93-40=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[93, 1], Operations: ['56+37=93', '40/40=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,94 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[56, 40, 37, 40], Operations: [] Exploring Operation: 56+37=93, Resulting Numbers: [40, 40, 93] Generated Node #0,1: 94:[40, 40, 93] Operation: 56+37=93 Moving to Node #0,1 Current State: 94:[40, 40, 93], Operations: ['56+37=93'] Exploring Operation: 40/40=1, Resulting Numbers: [93, 1] Generated Node #0,1,0: 94:[93, 1] Operation: 40/40=1 Moving to Node #0,1,0 Current State: 94:[93, 1], Operations: ['56+37=93', '40/40=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 15, 45, 21, 24 ]
51
[ "45/15=3", "24*3=72", "72-21=51" ]
Current State: 51:[15, 45, 21, 24], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [21, 24, 3] Generated Node #2: [21, 24, 3] from Operation: 45/15=3 Current State: 51:[21, 24, 3], Operations: ['45/15=3'] Exploring Operation: 24*3=72, Resulting Numbers: [21, 72] Generated Node #3: [21, 72] from Operation: 24*3=72 Current State: 51:[21, 72], Operations: ['45/15=3', '24*3=72'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[15, 45, 21, 24], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [45, 24, 6] Generated Node #0,0: 51:[45, 24, 6] Operation: 21-15=6 Exploring Operation: 24-21=3, Resulting Numbers: [15, 45, 3] Generated Node #0,1: 51:[15, 45, 3] Operation: 24-21=3 Exploring Operation: 21+24=45, Resulting Numbers: [15, 45, 45] Generated Node #0,2: 51:[15, 45, 45] Operation: 21+24=45 Exploring Operation: 45-24=21, Resulting Numbers: [15, 21, 21] Generated Node #0,3: 51:[15, 21, 21] Operation: 45-24=21 Exploring Operation: 45/15=3, Resulting Numbers: [21, 24, 3] Generated Node #0,4: 51:[21, 24, 3] Operation: 45/15=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[15, 45, 3], Operations: ['24-21=3'] Exploring Operation: 15+3=18, Resulting Numbers: [45, 18] Generated Node #0,1,0: 51:[45, 18] Operation: 15+3=18 Exploring Operation: 45/3=15, Resulting Numbers: [15, 15] Generated Node #0,1,1: 51:[15, 15] Operation: 45/3=15 Exploring Operation: 45/15=3, Resulting Numbers: [3, 3] Generated Node #0,1,2: 51:[3, 3] Operation: 45/15=3 Exploring Operation: 15/3=5, Resulting Numbers: [45, 5] Generated Node #0,1,3: 51:[45, 5] Operation: 15/3=5 Exploring Operation: 45+3=48, Resulting Numbers: [15, 48] Generated Node #0,1,4: 51:[15, 48] Operation: 45+3=48 Moving to Node #0,1,2 Current State: 51:[3, 3], Operations: ['24-21=3', '45/15=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[15, 15], Operations: ['24-21=3', '45/3=15'] Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,51 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[15, 48], Operations: ['24-21=3', '45+3=48'] Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,51 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[45, 18], Operations: ['24-21=3', '15+3=18'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[45, 5], Operations: ['24-21=3', '15/3=5'] Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,51 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,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,3 Current State: 51:[15, 21, 21], Operations: ['45-24=21'] Exploring Operation: 21-15=6, Resulting Numbers: [21, 6] Generated Node #0,3,0: 51:[21, 6] Operation: 21-15=6 Exploring Operation: 21-15=6, Resulting Numbers: [21, 6] Generated Node #0,3,1: 51:[21, 6] Operation: 21-15=6 Exploring Operation: 21-21=0, Resulting Numbers: [15, 0] Generated Node #0,3,2: 51:[15, 0] Operation: 21-21=0 Exploring Operation: 21+21=42, Resulting Numbers: [15, 42] Generated Node #0,3,3: 51:[15, 42] Operation: 21+21=42 Exploring Operation: 21/21=1, Resulting Numbers: [15, 1] Generated Node #0,3,4: 51:[15, 1] Operation: 21/21=1 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 51:[15, 1], Operations: ['45-24=21', '21/21=1'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[15, 0], Operations: ['45-24=21', '21-21=0'] Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[21, 6], Operations: ['45-24=21', '21-15=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[21, 6], Operations: ['45-24=21', '21-15=6'] Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[15, 42], Operations: ['45-24=21', '21+21=42'] Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[21, 24, 3], Operations: ['45/15=3'] Exploring Operation: 21+24=45, Resulting Numbers: [3, 45] Generated Node #0,4,0: 51:[3, 45] Operation: 21+24=45 Exploring Operation: 21-3=18, Resulting Numbers: [24, 18] Generated Node #0,4,1: 51:[24, 18] Operation: 21-3=18 Exploring Operation: 24-21=3, Resulting Numbers: [3, 3] Generated Node #0,4,2: 51:[3, 3] Operation: 24-21=3 Exploring Operation: 24/3=8, Resulting Numbers: [21, 8] Generated Node #0,4,3: 51:[21, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [21, 21] Generated Node #0,4,4: 51:[21, 21] Operation: 24-3=21 Moving to Node #0,4,2 Current State: 51:[3, 3], Operations: ['45/15=3', '24-21=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[3, 45], Operations: ['45/15=3', '21+24=45'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,51 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[24, 18], Operations: ['45/15=3', '21-3=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,51 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[21, 21], Operations: ['45/15=3', '24-3=21'] Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,51 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[21, 8], Operations: ['45/15=3', '24/3=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,51 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[15, 45, 45], Operations: ['21+24=45'] Exploring Operation: 45/45=1, Resulting Numbers: [15, 1] Generated Node #0,2,0: 51:[15, 1] Operation: 45/45=1 Exploring Operation: 45-45=0, Resulting Numbers: [15, 0] Generated Node #0,2,1: 51:[15, 0] Operation: 45-45=0 Exploring Operation: 15+45=60, Resulting Numbers: [45, 60] Generated Node #0,2,2: 51:[45, 60] Operation: 15+45=60 Exploring Operation: 45/15=3, Resulting Numbers: [45, 3] Generated Node #0,2,3: 51:[45, 3] Operation: 45/15=3 Exploring Operation: 45/15=3, Resulting Numbers: [45, 3] Generated Node #0,2,4: 51:[45, 3] Operation: 45/15=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[15, 1], Operations: ['21+24=45', '45/45=1'] Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[15, 0], Operations: ['21+24=45', '45-45=0'] Exploring Operation: 15*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[45, 3], Operations: ['21+24=45', '45/15=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,51 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 51:[45, 3], Operations: ['21+24=45', '45/15=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[45, 60], Operations: ['21+24=45', '15+45=60'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,51 unequal: No Solution Exploring Operation: 45*60=2700, Resulting Numbers: [2700] 2700,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[45, 24, 6], Operations: ['21-15=6'] Exploring Operation: 45-6=39, Resulting Numbers: [24, 39] Generated Node #0,0,0: 51:[24, 39] Operation: 45-6=39 Exploring Operation: 45-24=21, Resulting Numbers: [6, 21] Generated Node #0,0,1: 51:[6, 21] Operation: 45-24=21 Exploring Operation: 45+6=51, Resulting Numbers: [24, 51] Generated Node #0,0,2: 51:[24, 51] Operation: 45+6=51 Exploring Operation: 24/6=4, Resulting Numbers: [45, 4] Generated Node #0,0,3: 51:[45, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [45, 18] Generated Node #0,0,4: 51:[45, 18] Operation: 24-6=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[6, 21], Operations: ['21-15=6', '45-24=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[24, 51], Operations: ['21-15=6', '45+6=51'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,51 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[45, 4], Operations: ['21-15=6', '24/6=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,51 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 51:[45, 18], Operations: ['21-15=6', '24-6=18'] Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,51 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[24, 39], Operations: ['21-15=6', '45-6=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,51 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 50, 77, 32, 69 ]
74
[ "77-50=27", "32+69=101", "101-27=74" ]
Current State: 74:[50, 77, 32, 69], Operations: [] Exploring Operation: 77-50=27, Resulting Numbers: [32, 69, 27] Generated Node #2: [32, 69, 27] from Operation: 77-50=27 Current State: 74:[32, 69, 27], Operations: ['77-50=27'] Exploring Operation: 32+69=101, Resulting Numbers: [27, 101] Generated Node #3: [27, 101] from Operation: 32+69=101 Current State: 74:[27, 101], Operations: ['77-50=27', '32+69=101'] Exploring Operation: 101-27=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[50, 77, 32, 69], Operations: [] Exploring Operation: 50+32=82, Resulting Numbers: [77, 69, 82] Generated Node #0,0: 74:[77, 69, 82] Operation: 50+32=82 Exploring Operation: 69-32=37, Resulting Numbers: [50, 77, 37] Generated Node #0,1: 74:[50, 77, 37] Operation: 69-32=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[77, 69, 82], Operations: ['50+32=82'] Exploring Operation: 82-77=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 74:[69, 5] Operation: 82-77=5 Exploring Operation: 77-69=8, Resulting Numbers: [82, 8] Generated Node #0,0,1: 74:[82, 8] Operation: 77-69=8 Moving to Node #0,0,0 Current State: 74:[69, 5], Operations: ['50+32=82', '82-77=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,74 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[50, 77, 32, 69], Operations: [] Exploring Operation: 50+32=82, Resulting Numbers: [77, 69, 82] Generated Node #0,0: 74:[77, 69, 82] Operation: 50+32=82 Moving to Node #0,0 Current State: 74:[77, 69, 82], Operations: ['50+32=82'] Exploring Operation: 82-77=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 74:[69, 5] Operation: 82-77=5 Moving to Node #0,0,0 Current State: 74:[69, 5], Operations: ['50+32=82', '82-77=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 7, 97, 10, 55 ]
60
[ "97-55=42", "42/7=6", "10*6=60" ]
Current State: 60:[7, 97, 10, 55], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [7, 10, 42] Generated Node #2: [7, 10, 42] from Operation: 97-55=42 Current State: 60:[7, 10, 42], Operations: ['97-55=42'] Exploring Operation: 42/7=6, Resulting Numbers: [10, 6] Generated Node #3: [10, 6] from Operation: 42/7=6 Current State: 60:[10, 6], Operations: ['97-55=42', '42/7=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[7, 97, 10, 55], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [7, 10, 42] Generated Node #0,0: 60:[7, 10, 42] Operation: 97-55=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[7, 10, 42], Operations: ['97-55=42'] Exploring Operation: 42/7=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 60:[10, 6] Operation: 42/7=6 Moving to Node #0,0,0 Current State: 60:[10, 6], Operations: ['97-55=42', '42/7=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[7, 97, 10, 55], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [7, 10, 42] Generated Node #0,0: 60:[7, 10, 42] Operation: 97-55=42 Moving to Node #0,0 Current State: 60:[7, 10, 42], Operations: ['97-55=42'] Exploring Operation: 42/7=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 60:[10, 6] Operation: 42/7=6 Moving to Node #0,0,0 Current State: 60:[10, 6], Operations: ['97-55=42', '42/7=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 14, 19, 66, 57 ]
95
[ "66-14=52", "57-52=5", "19*5=95" ]
Current State: 95:[14, 19, 66, 57], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [19, 57, 52] Generated Node #2: [19, 57, 52] from Operation: 66-14=52 Current State: 95:[19, 57, 52], Operations: ['66-14=52'] Exploring Operation: 57-52=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 57-52=5 Current State: 95:[19, 5], Operations: ['66-14=52', '57-52=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[14, 19, 66, 57], Operations: [] Exploring Operation: 14+57=71, Resulting Numbers: [19, 66, 71] Generated Node #0,0: 95:[19, 66, 71] Operation: 14+57=71 Exploring Operation: 14+66=80, Resulting Numbers: [19, 57, 80] Generated Node #0,1: 95:[19, 57, 80] Operation: 14+66=80 Exploring Operation: 66-57=9, Resulting Numbers: [14, 19, 9] Generated Node #0,2: 95:[14, 19, 9] Operation: 66-57=9 Exploring Operation: 66+57=123, Resulting Numbers: [14, 19, 123] Generated Node #0,3: 95:[14, 19, 123] Operation: 66+57=123 Exploring Operation: 57/19=3, Resulting Numbers: [14, 66, 3] Generated Node #0,4: 95:[14, 66, 3] Operation: 57/19=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[14, 19, 9], Operations: ['66-57=9'] Exploring Operation: 19+9=28, Resulting Numbers: [14, 28] Generated Node #0,2,0: 95:[14, 28] Operation: 19+9=28 Exploring Operation: 14+9=23, Resulting Numbers: [19, 23] Generated Node #0,2,1: 95:[19, 23] Operation: 14+9=23 Exploring Operation: 19-9=10, Resulting Numbers: [14, 10] Generated Node #0,2,2: 95:[14, 10] Operation: 19-9=10 Exploring Operation: 19-14=5, Resulting Numbers: [9, 5] Generated Node #0,2,3: 95:[9, 5] Operation: 19-14=5 Exploring Operation: 14-9=5, Resulting Numbers: [19, 5] Generated Node #0,2,4: 95:[19, 5] Operation: 14-9=5 Moving to Node #0,2,4 Current State: 95:[19, 5], Operations: ['66-57=9', '14-9=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[14, 19, 66, 57], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [14, 19, 9] Generated Node #0,2: 95:[14, 19, 9] Operation: 66-57=9 Moving to Node #0,2 Current State: 95:[14, 19, 9], Operations: ['66-57=9'] Exploring Operation: 14-9=5, Resulting Numbers: [19, 5] Generated Node #0,2,4: 95:[19, 5] Operation: 14-9=5 Moving to Node #0,2,4 Current State: 95:[19, 5], Operations: ['66-57=9', '14-9=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 1, 56, 64, 69 ]
78
[ "56-1=55", "64+69=133", "133-55=78" ]
Current State: 78:[1, 56, 64, 69], Operations: [] Exploring Operation: 56-1=55, Resulting Numbers: [64, 69, 55] Generated Node #2: [64, 69, 55] from Operation: 56-1=55 Current State: 78:[64, 69, 55], Operations: ['56-1=55'] Exploring Operation: 64+69=133, Resulting Numbers: [55, 133] Generated Node #3: [55, 133] from Operation: 64+69=133 Current State: 78:[55, 133], Operations: ['56-1=55', '64+69=133'] Exploring Operation: 133-55=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[1, 56, 64, 69], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [1, 69, 8] Generated Node #0,0: 78:[1, 69, 8] Operation: 64-56=8 Moving to Node #0,0 Current State: 78:[1, 69, 8], Operations: ['64-56=8'] Exploring Operation: 69+8=77, Resulting Numbers: [1, 77] Generated Node #0,0,0: 78:[1, 77] Operation: 69+8=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[1, 77], Operations: ['64-56=8', '69+8=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[1, 56, 64, 69], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [1, 69, 8] Generated Node #0,0: 78:[1, 69, 8] Operation: 64-56=8 Moving to Node #0,0 Current State: 78:[1, 69, 8], Operations: ['64-56=8'] Exploring Operation: 69+8=77, Resulting Numbers: [1, 77] Generated Node #0,0,0: 78:[1, 77] Operation: 69+8=77 Moving to Node #0,0,0 Current State: 78:[1, 77], Operations: ['64-56=8', '69+8=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 39, 2, 82, 56 ]
58
[ "39+2=41", "82/41=2", "56+2=58" ]
Current State: 58:[39, 2, 82, 56], Operations: [] Exploring Operation: 39+2=41, Resulting Numbers: [82, 56, 41] Generated Node #2: [82, 56, 41] from Operation: 39+2=41 Current State: 58:[82, 56, 41], Operations: ['39+2=41'] Exploring Operation: 82/41=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 82/41=2 Current State: 58:[56, 2], Operations: ['39+2=41', '82/41=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[39, 2, 82, 56], Operations: [] Exploring Operation: 82-39=43, Resulting Numbers: [2, 56, 43] Generated Node #0,0: 58:[2, 56, 43] Operation: 82-39=43 Exploring Operation: 82/2=41, Resulting Numbers: [39, 56, 41] Generated Node #0,1: 58:[39, 56, 41] Operation: 82/2=41 Exploring Operation: 39-2=37, Resulting Numbers: [82, 56, 37] Generated Node #0,2: 58:[82, 56, 37] Operation: 39-2=37 Exploring Operation: 82-56=26, Resulting Numbers: [39, 2, 26] Generated Node #0,3: 58:[39, 2, 26] Operation: 82-56=26 Moving to Node #0,3 Current State: 58:[39, 2, 26], Operations: ['82-56=26'] Exploring Operation: 39+26=65, Resulting Numbers: [2, 65] Generated Node #0,3,0: 58:[2, 65] Operation: 39+26=65 Exploring Operation: 2+26=28, Resulting Numbers: [39, 28] Generated Node #0,3,1: 58:[39, 28] Operation: 2+26=28 Exploring Operation: 39-26=13, Resulting Numbers: [2, 13] Generated Node #0,3,2: 58:[2, 13] Operation: 39-26=13 Exploring Operation: 39-2=37, Resulting Numbers: [26, 37] Generated Node #0,3,3: 58:[26, 37] Operation: 39-2=37 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[2, 65], Operations: ['82-56=26', '39+26=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[39, 28], Operations: ['82-56=26', '2+26=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,58 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[2, 13], Operations: ['82-56=26', '39-26=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[26, 37], Operations: ['82-56=26', '39-2=37'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,58 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,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:[2, 56, 43], Operations: ['82-39=43'] Exploring Operation: 2+56=58, Resulting Numbers: [43, 58] Generated Node #0,0,0: 58:[43, 58] Operation: 2+56=58 Exploring Operation: 56/2=28, Resulting Numbers: [43, 28] Generated Node #0,0,1: 58:[43, 28] Operation: 56/2=28 Exploring Operation: 43-2=41, Resulting Numbers: [56, 41] Generated Node #0,0,2: 58:[56, 41] Operation: 43-2=41 Exploring Operation: 56-43=13, Resulting Numbers: [2, 13] Generated Node #0,0,3: 58:[2, 13] Operation: 56-43=13 Moving to Node #0,1 Current State: 58:[39, 56, 41], Operations: ['82/2=41'] Exploring Operation: 39+41=80, Resulting Numbers: [56, 80] Generated Node #0,1,0: 58:[56, 80] Operation: 39+41=80 Exploring Operation: 56-39=17, Resulting Numbers: [41, 17] Generated Node #0,1,1: 58:[41, 17] Operation: 56-39=17 Exploring Operation: 41-39=2, Resulting Numbers: [56, 2] Generated Node #0,1,2: 58:[56, 2] Operation: 41-39=2 Exploring Operation: 56-41=15, Resulting Numbers: [39, 15] Generated Node #0,1,3: 58:[39, 15] Operation: 56-41=15 Moving to Node #0,2 Current State: 58:[82, 56, 37], Operations: ['39-2=37'] Exploring Operation: 82-37=45, Resulting Numbers: [56, 45] Generated Node #0,2,0: 58:[56, 45] Operation: 82-37=45 Exploring Operation: 82-56=26, Resulting Numbers: [37, 26] Generated Node #0,2,1: 58:[37, 26] Operation: 82-56=26 Exploring Operation: 56-37=19, Resulting Numbers: [82, 19] Generated Node #0,2,2: 58:[82, 19] Operation: 56-37=19 Exploring Operation: 56+37=93, Resulting Numbers: [82, 93] Generated Node #0,2,3: 58:[82, 93] Operation: 56+37=93 Moving to Node #0,1,2 Current State: 58:[56, 2], Operations: ['82/2=41', '41-39=2'] Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,58 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[39, 2, 82, 56], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [39, 56, 41] Generated Node #0,1: 58:[39, 56, 41] Operation: 82/2=41 Moving to Node #0,1 Current State: 58:[39, 56, 41], Operations: ['82/2=41'] Exploring Operation: 41-39=2, Resulting Numbers: [56, 2] Generated Node #0,1,2: 58:[56, 2] Operation: 41-39=2 Moving to Node #0,1,2 Current State: 58:[56, 2], Operations: ['82/2=41', '41-39=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 4, 9, 42, 97 ]
11
[ "9-4=5", "97-42=55", "55/5=11" ]
Current State: 11:[4, 9, 42, 97], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [42, 97, 5] Generated Node #2: [42, 97, 5] from Operation: 9-4=5 Current State: 11:[42, 97, 5], Operations: ['9-4=5'] Exploring Operation: 97-42=55, Resulting Numbers: [5, 55] Generated Node #3: [5, 55] from Operation: 97-42=55 Current State: 11:[5, 55], Operations: ['9-4=5', '97-42=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[4, 9, 42, 97], Operations: [] Exploring Operation: 42-4=38, Resulting Numbers: [9, 97, 38] Generated Node #0,0: 11:[9, 97, 38] Operation: 42-4=38 Exploring Operation: 97-42=55, Resulting Numbers: [4, 9, 55] Generated Node #0,1: 11:[4, 9, 55] Operation: 97-42=55 Exploring Operation: 97-4=93, Resulting Numbers: [9, 42, 93] Generated Node #0,2: 11:[9, 42, 93] Operation: 97-4=93 Moving to Node #0,1 Current State: 11:[4, 9, 55], Operations: ['97-42=55'] Exploring Operation: 55-4=51, Resulting Numbers: [9, 51] Generated Node #0,1,0: 11:[9, 51] Operation: 55-4=51 Exploring Operation: 4+9=13, Resulting Numbers: [55, 13] Generated Node #0,1,1: 11:[55, 13] Operation: 4+9=13 Exploring Operation: 55-9=46, Resulting Numbers: [4, 46] Generated Node #0,1,2: 11:[4, 46] Operation: 55-9=46 Moving to Node #0,0 Current State: 11:[9, 97, 38], Operations: ['42-4=38'] Exploring Operation: 97-38=59, Resulting Numbers: [9, 59] Generated Node #0,0,0: 11:[9, 59] Operation: 97-38=59 Exploring Operation: 97-9=88, Resulting Numbers: [38, 88] Generated Node #0,0,1: 11:[38, 88] Operation: 97-9=88 Exploring Operation: 38-9=29, Resulting Numbers: [97, 29] Generated Node #0,0,2: 11:[97, 29] Operation: 38-9=29 Moving to Node #0,2 Current State: 11:[9, 42, 93], Operations: ['97-4=93'] Exploring Operation: 42-9=33, Resulting Numbers: [93, 33] Generated Node #0,2,0: 11:[93, 33] Operation: 42-9=33 Exploring Operation: 93-42=51, Resulting Numbers: [9, 51] Generated Node #0,2,1: 11:[9, 51] Operation: 93-42=51 Exploring Operation: 93-9=84, Resulting Numbers: [42, 84] Generated Node #0,2,2: 11:[42, 84] Operation: 93-9=84 Moving to Node #0,1,0 Current State: 11:[9, 51], Operations: ['97-42=55', '55-4=51'] Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,11 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[9, 51], Operations: ['97-4=93', '93-42=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[4, 46], Operations: ['97-42=55', '55-9=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[55, 13], Operations: ['97-42=55', '4+9=13'] Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,11 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[9, 59], Operations: ['42-4=38', '97-38=59'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,11 unequal: No Solution Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[97, 29], Operations: ['42-4=38', '38-9=29'] Exploring Operation: 97+29=126, Resulting Numbers: [126] 126,11 unequal: No Solution Exploring Operation: 97*29=2813, Resulting Numbers: [2813] 2813,11 unequal: No Solution Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[42, 84], Operations: ['97-4=93', '93-9=84'] Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 42+84=126, Resulting Numbers: [126] 126,11 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[38, 88], Operations: ['42-4=38', '97-9=88'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,11 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[93, 33], Operations: ['97-4=93', '42-9=33'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 93+33=126, Resulting Numbers: [126] 126,11 unequal: No Solution Exploring Operation: 93*33=3069, Resulting Numbers: [3069] 3069,11 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 5, 1, 17, 41 ]
45
[ "5*17=85", "41-1=40", "85-40=45" ]
Current State: 45:[5, 1, 17, 41], Operations: [] Exploring Operation: 5*17=85, Resulting Numbers: [1, 41, 85] Generated Node #2: [1, 41, 85] from Operation: 5*17=85 Current State: 45:[1, 41, 85], Operations: ['5*17=85'] Exploring Operation: 41-1=40, Resulting Numbers: [85, 40] Generated Node #3: [85, 40] from Operation: 41-1=40 Current State: 45:[85, 40], Operations: ['5*17=85', '41-1=40'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[5, 1, 17, 41], Operations: [] Exploring Operation: 5*1=5, Resulting Numbers: [17, 41, 5] Generated Node #0,0: 45:[17, 41, 5] Operation: 5*1=5 Exploring Operation: 1+41=42, Resulting Numbers: [5, 17, 42] Generated Node #0,1: 45:[5, 17, 42] Operation: 1+41=42 Exploring Operation: 5+41=46, Resulting Numbers: [1, 17, 46] Generated Node #0,2: 45:[1, 17, 46] Operation: 5+41=46 Exploring Operation: 5/1=5, Resulting Numbers: [17, 41, 5] Generated Node #0,3: 45:[17, 41, 5] Operation: 5/1=5 Exploring Operation: 17-1=16, Resulting Numbers: [5, 41, 16] Generated Node #0,4: 45:[5, 41, 16] Operation: 17-1=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[5, 17, 42], Operations: ['1+41=42'] Exploring Operation: 42-17=25, Resulting Numbers: [5, 25] Generated Node #0,1,0: 45:[5, 25] Operation: 42-17=25 Exploring Operation: 5+17=22, Resulting Numbers: [42, 22] Generated Node #0,1,1: 45:[42, 22] Operation: 5+17=22 Exploring Operation: 17-5=12, Resulting Numbers: [42, 12] Generated Node #0,1,2: 45:[42, 12] Operation: 17-5=12 Exploring Operation: 42-5=37, Resulting Numbers: [17, 37] Generated Node #0,1,3: 45:[17, 37] Operation: 42-5=37 Exploring Operation: 5+42=47, Resulting Numbers: [17, 47] Generated Node #0,1,4: 45:[17, 47] Operation: 5+42=47 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 45:[17, 47], Operations: ['1+41=42', '5+42=47'] Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,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:[42, 12], Operations: ['1+41=42', '17-5=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,45 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,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:[5, 25], Operations: ['1+41=42', '42-17=25'] Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,45 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,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:[42, 22], Operations: ['1+41=42', '5+17=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,45 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,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,3 Current State: 45:[17, 37], Operations: ['1+41=42', '42-5=37'] Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,45 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,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:[1, 17, 46], Operations: ['5+41=46'] Exploring Operation: 1*17=17, Resulting Numbers: [46, 17] Generated Node #0,2,0: 45:[46, 17] Operation: 1*17=17 Exploring Operation: 1*46=46, Resulting Numbers: [17, 46] Generated Node #0,2,1: 45:[17, 46] Operation: 1*46=46 Exploring Operation: 46-1=45, Resulting Numbers: [17, 45] Generated Node #0,2,2: 45:[17, 45] Operation: 46-1=45 Exploring Operation: 17-1=16, Resulting Numbers: [46, 16] Generated Node #0,2,3: 45:[46, 16] Operation: 17-1=16 Exploring Operation: 17/1=17, Resulting Numbers: [46, 17] Generated Node #0,2,4: 45:[46, 17] Operation: 17/1=17 Moving to Node #0,2,2 Current State: 45:[17, 45], Operations: ['5+41=46', '46-1=45'] Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,45 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[46, 16], Operations: ['5+41=46', '17-1=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,45 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[46, 17], Operations: ['5+41=46', '1*17=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,45 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[17, 46], Operations: ['5+41=46', '1*46=46'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[46, 17], Operations: ['5+41=46', '17/1=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[5, 41, 16], Operations: ['17-1=16'] Exploring Operation: 41-5=36, Resulting Numbers: [16, 36] Generated Node #0,4,0: 45:[16, 36] Operation: 41-5=36 Exploring Operation: 41-16=25, Resulting Numbers: [5, 25] Generated Node #0,4,1: 45:[5, 25] Operation: 41-16=25 Exploring Operation: 5+41=46, Resulting Numbers: [16, 46] Generated Node #0,4,2: 45:[16, 46] Operation: 5+41=46 Exploring Operation: 5+16=21, Resulting Numbers: [41, 21] Generated Node #0,4,3: 45:[41, 21] Operation: 5+16=21 Exploring Operation: 16-5=11, Resulting Numbers: [41, 11] Generated Node #0,4,4: 45:[41, 11] Operation: 16-5=11 Moving to Node #0,4,2 Current State: 45:[16, 46], Operations: ['17-1=16', '5+41=46'] Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,45 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,45 unequal: No Solution Moving to Node #0,4,4 Current State: 45:[41, 11], Operations: ['17-1=16', '16-5=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[16, 36], Operations: ['17-1=16', '41-5=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,45 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[5, 25], Operations: ['17-1=16', '41-16=25'] Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,45 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[41, 21], Operations: ['17-1=16', '5+16=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,45 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[17, 41, 5], Operations: ['5*1=5'] Exploring Operation: 41+5=46, Resulting Numbers: [17, 46] Generated Node #0,0,0: 45:[17, 46] Operation: 41+5=46 Exploring Operation: 41-17=24, Resulting Numbers: [5, 24] Generated Node #0,0,1: 45:[5, 24] Operation: 41-17=24 Exploring Operation: 17-5=12, Resulting Numbers: [41, 12] Generated Node #0,0,2: 45:[41, 12] Operation: 17-5=12 Exploring Operation: 41-5=36, Resulting Numbers: [17, 36] Generated Node #0,0,3: 45:[17, 36] Operation: 41-5=36 Exploring Operation: 17+5=22, Resulting Numbers: [41, 22] Generated Node #0,0,4: 45:[41, 22] Operation: 17+5=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[17, 46], Operations: ['5*1=5', '41+5=46'] Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,45 unequal: No Solution Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,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:[41, 12], Operations: ['5*1=5', '17-5=12'] Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,45 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,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:[5, 24], Operations: ['5*1=5', '41-17=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,45 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,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,3 Current State: 45:[17, 36], Operations: ['5*1=5', '41-5=36'] Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,45 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,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,4 Current State: 45:[41, 22], Operations: ['5*1=5', '17+5=22'] Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,45 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,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,3 Current State: 45:[17, 41, 5], Operations: ['5/1=5'] Exploring Operation: 41-17=24, Resulting Numbers: [5, 24] Generated Node #0,3,0: 45:[5, 24] Operation: 41-17=24 Exploring Operation: 41-5=36, Resulting Numbers: [17, 36] Generated Node #0,3,1: 45:[17, 36] Operation: 41-5=36 Exploring Operation: 41+5=46, Resulting Numbers: [17, 46] Generated Node #0,3,2: 45:[17, 46] Operation: 41+5=46 Exploring Operation: 17-5=12, Resulting Numbers: [41, 12] Generated Node #0,3,3: 45:[41, 12] Operation: 17-5=12 Exploring Operation: 17+5=22, Resulting Numbers: [41, 22] Generated Node #0,3,4: 45:[41, 22] Operation: 17+5=22 Moving to Node #0,3,2 Current State: 45:[17, 46], Operations: ['5/1=5', '41+5=46'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[41, 12], Operations: ['5/1=5', '17-5=12'] Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[5, 24], Operations: ['5/1=5', '41-17=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,45 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[17, 36], Operations: ['5/1=5', '41-5=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,45 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[41, 22], Operations: ['5/1=5', '17+5=22'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 14, 34, 60, 10 ]
76
[ "14-10=4", "34*4=136", "136-60=76" ]
Current State: 76:[14, 34, 60, 10], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [34, 60, 4] Generated Node #2: [34, 60, 4] from Operation: 14-10=4 Current State: 76:[34, 60, 4], Operations: ['14-10=4'] Exploring Operation: 34*4=136, Resulting Numbers: [60, 136] Generated Node #3: [60, 136] from Operation: 34*4=136 Current State: 76:[60, 136], Operations: ['14-10=4', '34*4=136'] Exploring Operation: 136-60=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[14, 34, 60, 10], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [14, 10, 26] Generated Node #0,0: 76:[14, 10, 26] Operation: 60-34=26 Exploring Operation: 60-14=46, Resulting Numbers: [34, 10, 46] Generated Node #0,1: 76:[34, 10, 46] Operation: 60-14=46 Exploring Operation: 14+60=74, Resulting Numbers: [34, 10, 74] Generated Node #0,2: 76:[34, 10, 74] Operation: 14+60=74 Exploring Operation: 60+10=70, Resulting Numbers: [14, 34, 70] Generated Node #0,3: 76:[14, 34, 70] Operation: 60+10=70 Exploring Operation: 60/10=6, Resulting Numbers: [14, 34, 6] Generated Node #0,4: 76:[14, 34, 6] Operation: 60/10=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[14, 34, 6], Operations: ['60/10=6'] Exploring Operation: 34+6=40, Resulting Numbers: [14, 40] Generated Node #0,4,0: 76:[14, 40] Operation: 34+6=40 Exploring Operation: 14+6=20, Resulting Numbers: [34, 20] Generated Node #0,4,1: 76:[34, 20] Operation: 14+6=20 Exploring Operation: 14-6=8, Resulting Numbers: [34, 8] Generated Node #0,4,2: 76:[34, 8] Operation: 14-6=8 Exploring Operation: 14+34=48, Resulting Numbers: [6, 48] Generated Node #0,4,3: 76:[6, 48] Operation: 14+34=48 Exploring Operation: 34-14=20, Resulting Numbers: [6, 20] Generated Node #0,4,4: 76:[6, 20] Operation: 34-14=20 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 76:[6, 20], Operations: ['60/10=6', '34-14=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,76 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 76:[34, 20], Operations: ['60/10=6', '14+6=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 76:[14, 40], Operations: ['60/10=6', '34+6=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,76 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 76:[34, 8], Operations: ['60/10=6', '14-6=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 76:[6, 48], Operations: ['60/10=6', '14+34=48'] Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,76 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[34, 10, 74], Operations: ['14+60=74'] Exploring Operation: 34-10=24, Resulting Numbers: [74, 24] Generated Node #0,2,0: 76:[74, 24] Operation: 34-10=24 Exploring Operation: 10+74=84, Resulting Numbers: [34, 84] Generated Node #0,2,1: 76:[34, 84] Operation: 10+74=84 Exploring Operation: 74-34=40, Resulting Numbers: [10, 40] Generated Node #0,2,2: 76:[10, 40] Operation: 74-34=40 Exploring Operation: 74-10=64, Resulting Numbers: [34, 64] Generated Node #0,2,3: 76:[34, 64] Operation: 74-10=64 Exploring Operation: 34+10=44, Resulting Numbers: [74, 44] Generated Node #0,2,4: 76:[74, 44] Operation: 34+10=44 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[74, 24], Operations: ['14+60=74', '34-10=24'] Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[10, 40], Operations: ['14+60=74', '74-34=40'] Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,76 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 76:[74, 44], Operations: ['14+60=74', '34+10=44'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,76 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,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:[34, 84], Operations: ['14+60=74', '10+74=84'] Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,76 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,76 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,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:[34, 64], Operations: ['14+60=74', '74-10=64'] Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,76 unequal: No Solution Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,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,3 Current State: 76:[14, 34, 70], Operations: ['60+10=70'] Exploring Operation: 70/14=5, Resulting Numbers: [34, 5] Generated Node #0,3,0: 76:[34, 5] Operation: 70/14=5 Exploring Operation: 14+34=48, Resulting Numbers: [70, 48] Generated Node #0,3,1: 76:[70, 48] Operation: 14+34=48 Exploring Operation: 34-14=20, Resulting Numbers: [70, 20] Generated Node #0,3,2: 76:[70, 20] Operation: 34-14=20 Exploring Operation: 14+70=84, Resulting Numbers: [34, 84] Generated Node #0,3,3: 76:[34, 84] Operation: 14+70=84 Exploring Operation: 70-34=36, Resulting Numbers: [14, 36] Generated Node #0,3,4: 76:[14, 36] Operation: 70-34=36 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[34, 5], Operations: ['60+10=70', '70/14=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,76 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,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,3,2 Current State: 76:[70, 20], Operations: ['60+10=70', '34-14=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,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,3,4 Current State: 76:[14, 36], Operations: ['60+10=70', '70-34=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,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,3,3 Current State: 76:[34, 84], Operations: ['60+10=70', '14+70=84'] Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,76 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,76 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,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,3,1 Current State: 76:[70, 48], Operations: ['60+10=70', '14+34=48'] Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,76 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,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,0 Current State: 76:[14, 10, 26], Operations: ['60-34=26'] Exploring Operation: 14-10=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 76:[26, 4] Operation: 14-10=4 Exploring Operation: 14+26=40, Resulting Numbers: [10, 40] Generated Node #0,0,1: 76:[10, 40] Operation: 14+26=40 Exploring Operation: 26-10=16, Resulting Numbers: [14, 16] Generated Node #0,0,2: 76:[14, 16] Operation: 26-10=16 Exploring Operation: 10+26=36, Resulting Numbers: [14, 36] Generated Node #0,0,3: 76:[14, 36] Operation: 10+26=36 Exploring Operation: 14+10=24, Resulting Numbers: [26, 24] Generated Node #0,0,4: 76:[26, 24] Operation: 14+10=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[26, 4], Operations: ['60-34=26', '14-10=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,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:[14, 36], Operations: ['60-34=26', '10+26=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[10, 40], Operations: ['60-34=26', '14+26=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,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:[14, 16], Operations: ['60-34=26', '26-10=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,76 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 76:[26, 24], Operations: ['60-34=26', '14+10=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,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:[34, 10, 46], Operations: ['60-14=46'] Exploring Operation: 34+46=80, Resulting Numbers: [10, 80] Generated Node #0,1,0: 76:[10, 80] Operation: 34+46=80 Exploring Operation: 46-34=12, Resulting Numbers: [10, 12] Generated Node #0,1,1: 76:[10, 12] Operation: 46-34=12 Exploring Operation: 34+10=44, Resulting Numbers: [46, 44] Generated Node #0,1,2: 76:[46, 44] Operation: 34+10=44 Exploring Operation: 34-10=24, Resulting Numbers: [46, 24] Generated Node #0,1,3: 76:[46, 24] Operation: 34-10=24 Exploring Operation: 46-10=36, Resulting Numbers: [34, 36] Generated Node #0,1,4: 76:[34, 36] Operation: 46-10=36 Moving to Node #0,1,4 Current State: 76:[34, 36], Operations: ['60-14=46', '46-10=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,76 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[10, 80], Operations: ['60-14=46', '34+46=80'] Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 10+80=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 10*80=800, Resulting Numbers: [800] 800,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[10, 12], Operations: ['60-14=46', '46-34=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[46, 24], Operations: ['60-14=46', '34-10=24'] Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,76 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[46, 44], Operations: ['60-14=46', '34+10=44'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 46*44=2024, Resulting Numbers: [2024] 2024,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 47, 40, 47, 84 ]
84
[ "47-47=0", "40*0=0", "84+0=84" ]
Current State: 84:[47, 40, 47, 84], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [40, 84, 0] Generated Node #2: [40, 84, 0] from Operation: 47-47=0 Current State: 84:[40, 84, 0], Operations: ['47-47=0'] Exploring Operation: 40*0=0, Resulting Numbers: [84, 0] Generated Node #3: [84, 0] from Operation: 40*0=0 Current State: 84:[84, 0], Operations: ['47-47=0', '40*0=0'] Exploring Operation: 84+0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[47, 40, 47, 84], Operations: [] Exploring Operation: 47/47=1, Resulting Numbers: [40, 84, 1] Generated Node #0,0: 84:[40, 84, 1] Operation: 47/47=1 Exploring Operation: 47-47=0, Resulting Numbers: [40, 84, 0] Generated Node #0,1: 84:[40, 84, 0] Operation: 47-47=0 Moving to Node #0,0 Current State: 84:[40, 84, 1], Operations: ['47/47=1'] Exploring Operation: 40*1=40, Resulting Numbers: [84, 40] Generated Node #0,0,0: 84:[84, 40] Operation: 40*1=40 Exploring Operation: 40+1=41, Resulting Numbers: [84, 41] Generated Node #0,0,1: 84:[84, 41] Operation: 40+1=41 Moving to Node #0,1 Current State: 84:[40, 84, 0], Operations: ['47-47=0'] Exploring Operation: 40*0=0, Resulting Numbers: [84, 0] Generated Node #0,1,0: 84:[84, 0] Operation: 40*0=0 Exploring Operation: 40+0=40, Resulting Numbers: [84, 40] Generated Node #0,1,1: 84:[84, 40] Operation: 40+0=40 Moving to Node #0,0,1 Current State: 84:[84, 41], Operations: ['47/47=1', '40+1=41'] Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,84 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[84, 0], Operations: ['47-47=0', '40*0=0'] Exploring Operation: 84-0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[47, 40, 47, 84], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [40, 84, 0] Generated Node #0,1: 84:[40, 84, 0] Operation: 47-47=0 Moving to Node #0,1 Current State: 84:[40, 84, 0], Operations: ['47-47=0'] Exploring Operation: 40*0=0, Resulting Numbers: [84, 0] Generated Node #0,1,0: 84:[84, 0] Operation: 40*0=0 Moving to Node #0,1,0 Current State: 84:[84, 0], Operations: ['47-47=0', '40*0=0'] Exploring Operation: 84-0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 2, 55, 94, 51 ]
88
[ "2+55=57", "94+51=145", "145-57=88" ]
Current State: 88:[2, 55, 94, 51], Operations: [] Exploring Operation: 2+55=57, Resulting Numbers: [94, 51, 57] Generated Node #2: [94, 51, 57] from Operation: 2+55=57 Current State: 88:[94, 51, 57], Operations: ['2+55=57'] Exploring Operation: 94+51=145, Resulting Numbers: [57, 145] Generated Node #3: [57, 145] from Operation: 94+51=145 Current State: 88:[57, 145], Operations: ['2+55=57', '94+51=145'] Exploring Operation: 145-57=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[2, 55, 94, 51], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [2, 94, 4] Generated Node #0,0: 88:[2, 94, 4] Operation: 55-51=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 94, 4], Operations: ['55-51=4'] Exploring Operation: 94-4=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 88:[2, 90] Operation: 94-4=90 Moving to Node #0,0,0 Current State: 88:[2, 90], Operations: ['55-51=4', '94-4=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[2, 55, 94, 51], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [2, 94, 4] Generated Node #0,0: 88:[2, 94, 4] Operation: 55-51=4 Moving to Node #0,0 Current State: 88:[2, 94, 4], Operations: ['55-51=4'] Exploring Operation: 94-4=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 88:[2, 90] Operation: 94-4=90 Moving to Node #0,0,0 Current State: 88:[2, 90], Operations: ['55-51=4', '94-4=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 10, 35, 89, 38 ]
44
[ "35*38=1330", "1330/10=133", "133-89=44" ]
Current State: 44:[10, 35, 89, 38], Operations: [] Exploring Operation: 35*38=1330, Resulting Numbers: [10, 89, 1330] Generated Node #2: [10, 89, 1330] from Operation: 35*38=1330 Current State: 44:[10, 89, 1330], Operations: ['35*38=1330'] Exploring Operation: 1330/10=133, Resulting Numbers: [89, 133] Generated Node #3: [89, 133] from Operation: 1330/10=133 Current State: 44:[89, 133], Operations: ['35*38=1330', '1330/10=133'] Exploring Operation: 133-89=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[10, 35, 89, 38], Operations: [] Exploring Operation: 89-10=79, Resulting Numbers: [35, 38, 79] Generated Node #0,0: 44:[35, 38, 79] Operation: 89-10=79 Exploring Operation: 38-35=3, Resulting Numbers: [10, 89, 3] Generated Node #0,1: 44:[10, 89, 3] Operation: 38-35=3 Exploring Operation: 89-38=51, Resulting Numbers: [10, 35, 51] Generated Node #0,2: 44:[10, 35, 51] Operation: 89-38=51 Exploring Operation: 89-35=54, Resulting Numbers: [10, 38, 54] Generated Node #0,3: 44:[10, 38, 54] Operation: 89-35=54 Exploring Operation: 10+35=45, Resulting Numbers: [89, 38, 45] Generated Node #0,4: 44:[89, 38, 45] Operation: 10+35=45 Moving to Node #0,2 Current State: 44:[10, 35, 51], Operations: ['89-38=51'] Exploring Operation: 35-10=25, Resulting Numbers: [51, 25] Generated Node #0,2,0: 44:[51, 25] Operation: 35-10=25 Exploring Operation: 51-35=16, Resulting Numbers: [10, 16] Generated Node #0,2,1: 44:[10, 16] Operation: 51-35=16 Exploring Operation: 51-10=41, Resulting Numbers: [35, 41] Generated Node #0,2,2: 44:[35, 41] Operation: 51-10=41 Exploring Operation: 10+35=45, Resulting Numbers: [51, 45] Generated Node #0,2,3: 44:[51, 45] Operation: 10+35=45 Exploring Operation: 10+51=61, Resulting Numbers: [35, 61] Generated Node #0,2,4: 44:[35, 61] Operation: 10+51=61 Moving to Node #0,3 Current State: 44:[10, 38, 54], Operations: ['89-35=54'] Exploring Operation: 38-10=28, Resulting Numbers: [54, 28] Generated Node #0,3,0: 44:[54, 28] Operation: 38-10=28 Exploring Operation: 54-10=44, Resulting Numbers: [38, 44] Generated Node #0,3,1: 44:[38, 44] Operation: 54-10=44 Exploring Operation: 10+54=64, Resulting Numbers: [38, 64] Generated Node #0,3,2: 44:[38, 64] Operation: 10+54=64 Exploring Operation: 10+38=48, Resulting Numbers: [54, 48] Generated Node #0,3,3: 44:[54, 48] Operation: 10+38=48 Exploring Operation: 54-38=16, Resulting Numbers: [10, 16] Generated Node #0,3,4: 44:[10, 16] Operation: 54-38=16 Moving to Node #0,1 Current State: 44:[10, 89, 3], Operations: ['38-35=3'] Exploring Operation: 89-10=79, Resulting Numbers: [3, 79] Generated Node #0,1,0: 44:[3, 79] Operation: 89-10=79 Exploring Operation: 10-3=7, Resulting Numbers: [89, 7] Generated Node #0,1,1: 44:[89, 7] Operation: 10-3=7 Exploring Operation: 89+3=92, Resulting Numbers: [10, 92] Generated Node #0,1,2: 44:[10, 92] Operation: 89+3=92 Exploring Operation: 10+3=13, Resulting Numbers: [89, 13] Generated Node #0,1,3: 44:[89, 13] Operation: 10+3=13 Exploring Operation: 89-3=86, Resulting Numbers: [10, 86] Generated Node #0,1,4: 44:[10, 86] Operation: 89-3=86 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[3, 79], Operations: ['38-35=3', '89-10=79'] Exploring Operation: 3*79=237, Resulting Numbers: [237] 237,44 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 44:[10, 86], Operations: ['38-35=3', '89-3=86'] Exploring Operation: 10*86=860, Resulting Numbers: [860] 860,44 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[89, 13], Operations: ['38-35=3', '10+3=13'] Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,44 unequal: No Solution Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,44 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[89, 7], Operations: ['38-35=3', '10-3=7'] Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 89+7=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 89*7=623, Resulting Numbers: [623] 623,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[10, 92], Operations: ['38-35=3', '89+3=92'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 10+92=102, Resulting Numbers: [102] 102,44 unequal: No Solution Exploring Operation: 10*92=920, Resulting Numbers: [920] 920,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 44:[35, 38, 79], Operations: ['89-10=79'] Exploring Operation: 35+79=114, Resulting Numbers: [38, 114] Generated Node #0,0,0: 44:[38, 114] Operation: 35+79=114 Exploring Operation: 38-35=3, Resulting Numbers: [79, 3] Generated Node #0,0,1: 44:[79, 3] Operation: 38-35=3 Exploring Operation: 79-35=44, Resulting Numbers: [38, 44] Generated Node #0,0,2: 44:[38, 44] Operation: 79-35=44 Exploring Operation: 35+38=73, Resulting Numbers: [79, 73] Generated Node #0,0,3: 44:[79, 73] Operation: 35+38=73 Exploring Operation: 79-38=41, Resulting Numbers: [35, 41] Generated Node #0,0,4: 44:[35, 41] Operation: 79-38=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[38, 44], Operations: ['89-10=79', '79-35=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,44 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 44:[35, 41], Operations: ['89-10=79', '79-38=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,44 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[79, 3], Operations: ['89-10=79', '38-35=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,44 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[79, 73], Operations: ['89-10=79', '35+38=73'] Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,44 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[38, 114], Operations: ['89-10=79', '35+79=114'] Exploring Operation: 38+114=152, Resulting Numbers: [152] 152,44 unequal: No Solution Exploring Operation: 114/38=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 38*114=4332, Resulting Numbers: [4332] 4332,44 unequal: No Solution Exploring Operation: 114-38=76, Resulting Numbers: [76] 76,44 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: 44:[89, 38, 45], Operations: ['10+35=45'] Exploring Operation: 89-38=51, Resulting Numbers: [45, 51] Generated Node #0,4,0: 44:[45, 51] Operation: 89-38=51 Exploring Operation: 89-45=44, Resulting Numbers: [38, 44] Generated Node #0,4,1: 44:[38, 44] Operation: 89-45=44 Exploring Operation: 45-38=7, Resulting Numbers: [89, 7] Generated Node #0,4,2: 44:[89, 7] Operation: 45-38=7 Exploring Operation: 38+45=83, Resulting Numbers: [89, 83] Generated Node #0,4,3: 44:[89, 83] Operation: 38+45=83 Exploring Operation: 89+38=127, Resulting Numbers: [45, 127] Generated Node #0,4,4: 44:[45, 127] Operation: 89+38=127 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 44:[38, 44], Operations: ['10+35=45', '89-45=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,44 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 44:[45, 51], Operations: ['10+35=45', '89-38=51'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,44 unequal: No Solution Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 44:[89, 7], Operations: ['10+35=45', '45-38=7'] Exploring Operation: 89*7=623, Resulting Numbers: [623] 623,44 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 89+7=96, Resulting Numbers: [96] 96,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 44:[89, 83], Operations: ['10+35=45', '38+45=83'] Exploring Operation: 89*83=7387, Resulting Numbers: [7387] 7387,44 unequal: No Solution Exploring Operation: 89+83=172, Resulting Numbers: [172] 172,44 unequal: No Solution Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 44:[45, 127], Operations: ['10+35=45', '89+38=127'] Exploring Operation: 45+127=172, Resulting Numbers: [172] 172,44 unequal: No Solution Exploring Operation: 45*127=5715, Resulting Numbers: [5715] 5715,44 unequal: No Solution Exploring Operation: 127-45=82, Resulting Numbers: [82] 82,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 44:[10, 16], Operations: ['89-38=51', '51-35=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,44 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[38, 44], Operations: ['89-35=54', '54-10=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,44 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[10, 16], Operations: ['89-35=54', '54-38=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,44 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,44 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[51, 45], Operations: ['89-38=51', '10+35=45'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 51*45=2295, Resulting Numbers: [2295] 2295,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[51, 25], Operations: ['89-38=51', '35-10=25'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,44 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,44 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[35, 41], Operations: ['89-38=51', '51-10=41'] Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,44 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[54, 48], Operations: ['89-35=54', '10+38=48'] Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 54+48=102, Resulting Numbers: [102] 102,44 unequal: No Solution Exploring Operation: 54*48=2592, Resulting Numbers: [2592] 2592,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[54, 28], Operations: ['89-35=54', '38-10=28'] Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,44 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[38, 64], Operations: ['89-35=54', '10+54=64'] Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,44 unequal: No Solution Exploring Operation: 38*64=2432, Resulting Numbers: [2432] 2432,44 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[35, 61], Operations: ['89-38=51', '10+51=61'] Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,44 unequal: No Solution Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,44 unequal: No Solution Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,44 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 65, 50, 27, 37 ]
50
[ "65-27=38", "38-37=1", "50*1=50" ]
Current State: 50:[65, 50, 27, 37], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [50, 37, 38] Generated Node #2: [50, 37, 38] from Operation: 65-27=38 Current State: 50:[50, 37, 38], Operations: ['65-27=38'] Exploring Operation: 38-37=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 38-37=1 Current State: 50:[50, 1], Operations: ['65-27=38', '38-37=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[65, 50, 27, 37], Operations: [] Exploring Operation: 65-37=28, Resulting Numbers: [50, 27, 28] Generated Node #0,0: 50:[50, 27, 28] Operation: 65-37=28 Moving to Node #0,0 Current State: 50:[50, 27, 28], Operations: ['65-37=28'] Exploring Operation: 28-27=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 50:[50, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[50, 1], Operations: ['65-37=28', '28-27=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[65, 50, 27, 37], Operations: [] Exploring Operation: 65-37=28, Resulting Numbers: [50, 27, 28] Generated Node #0,0: 50:[50, 27, 28] Operation: 65-37=28 Moving to Node #0,0 Current State: 50:[50, 27, 28], Operations: ['65-37=28'] Exploring Operation: 28-27=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 50:[50, 1] Operation: 28-27=1 Moving to Node #0,0,0 Current State: 50:[50, 1], Operations: ['65-37=28', '28-27=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 97, 5, 12, 1 ]
90
[ "97+5=102", "12*1=12", "102-12=90" ]
Current State: 90:[97, 5, 12, 1], Operations: [] Exploring Operation: 97+5=102, Resulting Numbers: [12, 1, 102] Generated Node #2: [12, 1, 102] from Operation: 97+5=102 Current State: 90:[12, 1, 102], Operations: ['97+5=102'] Exploring Operation: 12*1=12, Resulting Numbers: [102, 12] Generated Node #3: [102, 12] from Operation: 12*1=12 Current State: 90:[102, 12], Operations: ['97+5=102', '12*1=12'] Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[97, 5, 12, 1], Operations: [] Exploring Operation: 12-1=11, Resulting Numbers: [97, 5, 11] Generated Node #0,0: 90:[97, 5, 11] Operation: 12-1=11 Exploring Operation: 97-1=96, Resulting Numbers: [5, 12, 96] Generated Node #0,1: 90:[5, 12, 96] Operation: 97-1=96 Exploring Operation: 97-5=92, Resulting Numbers: [12, 1, 92] Generated Node #0,2: 90:[12, 1, 92] Operation: 97-5=92 Exploring Operation: 97-12=85, Resulting Numbers: [5, 1, 85] Generated Node #0,3: 90:[5, 1, 85] Operation: 97-12=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[12, 1, 92], Operations: ['97-5=92'] Exploring Operation: 92-1=91, Resulting Numbers: [12, 91] Generated Node #0,2,0: 90:[12, 91] Operation: 92-1=91 Exploring Operation: 12+1=13, Resulting Numbers: [92, 13] Generated Node #0,2,1: 90:[92, 13] Operation: 12+1=13 Exploring Operation: 12-1=11, Resulting Numbers: [92, 11] Generated Node #0,2,2: 90:[92, 11] Operation: 12-1=11 Exploring Operation: 12*1=12, Resulting Numbers: [92, 12] Generated Node #0,2,3: 90:[92, 12] Operation: 12*1=12 Moving to Node #0,2,0 Current State: 90:[12, 91], Operations: ['97-5=92', '92-1=91'] Exploring Operation: 12*91=1092, Resulting Numbers: [1092] 1092,90 unequal: No Solution Exploring Operation: 12+91=103, Resulting Numbers: [103] 103,90 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[92, 11], Operations: ['97-5=92', '12-1=11'] Exploring Operation: 92+11=103, Resulting Numbers: [103] 103,90 unequal: No Solution Exploring Operation: 92*11=1012, Resulting Numbers: [1012] 1012,90 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[92, 12], Operations: ['97-5=92', '12*1=12'] Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 92*12=1104, Resulting Numbers: [1104] 1104,90 unequal: No Solution Exploring Operation: 92+12=104, Resulting Numbers: [104] 104,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[92, 13], Operations: ['97-5=92', '12+1=13'] Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,90 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,90 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[5, 1, 85], Operations: ['97-12=85'] Exploring Operation: 1+85=86, Resulting Numbers: [5, 86] Generated Node #0,3,0: 90:[5, 86] Operation: 1+85=86 Exploring Operation: 85/5=17, Resulting Numbers: [1, 17] Generated Node #0,3,1: 90:[1, 17] Operation: 85/5=17 Exploring Operation: 5+85=90, Resulting Numbers: [1, 90] Generated Node #0,3,2: 90:[1, 90] Operation: 5+85=90 Exploring Operation: 5+1=6, Resulting Numbers: [85, 6] Generated Node #0,3,3: 90:[85, 6] Operation: 5+1=6 Moving to Node #0,3,2 Current State: 90:[1, 90], Operations: ['97-12=85', '5+85=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[97, 5, 12, 1], Operations: [] Exploring Operation: 97-12=85, Resulting Numbers: [5, 1, 85] Generated Node #0,3: 90:[5, 1, 85] Operation: 97-12=85 Moving to Node #0,3 Current State: 90:[5, 1, 85], Operations: ['97-12=85'] Exploring Operation: 5+85=90, Resulting Numbers: [1, 90] Generated Node #0,3,2: 90:[1, 90] Operation: 5+85=90 Moving to Node #0,3,2 Current State: 90:[1, 90], Operations: ['97-12=85', '5+85=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 21, 11, 24, 32 ]
88
[ "21+11=32", "24+32=56", "32+56=88" ]
Current State: 88:[21, 11, 24, 32], Operations: [] Exploring Operation: 21+11=32, Resulting Numbers: [24, 32, 32] Generated Node #2: [24, 32, 32] from Operation: 21+11=32 Current State: 88:[24, 32, 32], Operations: ['21+11=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,88 equal: Goal Reached Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[21, 11, 24, 32], Operations: [] Exploring Operation: 32-11=21, Resulting Numbers: [21, 24, 21] Generated Node #0,0: 88:[21, 24, 21] Operation: 32-11=21 Exploring Operation: 11+32=43, Resulting Numbers: [21, 24, 43] Generated Node #0,1: 88:[21, 24, 43] Operation: 11+32=43 Exploring Operation: 32-24=8, Resulting Numbers: [21, 11, 8] Generated Node #0,2: 88:[21, 11, 8] Operation: 32-24=8 Exploring Operation: 32-21=11, Resulting Numbers: [11, 24, 11] Generated Node #0,3: 88:[11, 24, 11] Operation: 32-21=11 Exploring Operation: 21+24=45, Resulting Numbers: [11, 32, 45] Generated Node #0,4: 88:[11, 32, 45] Operation: 21+24=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[21, 11, 8], Operations: ['32-24=8'] Exploring Operation: 11*8=88, Resulting Numbers: [21, 88] Generated Node #0,2,0: 88:[21, 88] Operation: 11*8=88 Exploring Operation: 21-8=13, Resulting Numbers: [11, 13] Generated Node #0,2,1: 88:[11, 13] Operation: 21-8=13 Exploring Operation: 11+8=19, Resulting Numbers: [21, 19] Generated Node #0,2,2: 88:[21, 19] Operation: 11+8=19 Exploring Operation: 21-11=10, Resulting Numbers: [8, 10] Generated Node #0,2,3: 88:[8, 10] Operation: 21-11=10 Exploring Operation: 11-8=3, Resulting Numbers: [21, 3] Generated Node #0,2,4: 88:[21, 3] Operation: 11-8=3 Moving to Node #0,2,0 Current State: 88:[21, 88], Operations: ['32-24=8', '11*8=88'] Exploring Operation: 21+88=109, Resulting Numbers: [109] 109,88 unequal: No Solution Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,88 unequal: No Solution Exploring Operation: 21*88=1848, Resulting Numbers: [1848] 1848,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[8, 10], Operations: ['32-24=8', '21-11=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[11, 13], Operations: ['32-24=8', '21-8=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,88 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[21, 3], Operations: ['32-24=8', '11-8=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[21, 19], Operations: ['32-24=8', '11+8=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[11, 24, 11], Operations: ['32-21=11'] Exploring Operation: 24-11=13, Resulting Numbers: [11, 13] Generated Node #0,3,0: 88:[11, 13] Operation: 24-11=13 Exploring Operation: 11/11=1, Resulting Numbers: [24, 1] Generated Node #0,3,1: 88:[24, 1] Operation: 11/11=1 Exploring Operation: 24-11=13, Resulting Numbers: [11, 13] Generated Node #0,3,2: 88:[11, 13] Operation: 24-11=13 Exploring Operation: 11+11=22, Resulting Numbers: [24, 22] Generated Node #0,3,3: 88:[24, 22] Operation: 11+11=22 Exploring Operation: 11-11=0, Resulting Numbers: [24, 0] Generated Node #0,3,4: 88:[24, 0] Operation: 11-11=0 Moving to Node #0,3,0 Current State: 88:[11, 13], Operations: ['32-21=11', '24-11=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[24, 22], Operations: ['32-21=11', '11+11=22'] Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,88 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[11, 13], Operations: ['32-21=11', '24-11=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,88 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[24, 1], Operations: ['32-21=11', '11/11=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[24, 0], Operations: ['32-21=11', '11-11=0'] Exploring Operation: 24-0=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 24+0=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 24*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[21, 24, 21], Operations: ['32-11=21'] Exploring Operation: 24-21=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 88:[21, 3] Operation: 24-21=3 Exploring Operation: 24+21=45, Resulting Numbers: [21, 45] Generated Node #0,0,1: 88:[21, 45] Operation: 24+21=45 Exploring Operation: 21/21=1, Resulting Numbers: [24, 1] Generated Node #0,0,2: 88:[24, 1] Operation: 21/21=1 Exploring Operation: 24-21=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 88:[21, 3] Operation: 24-21=3 Exploring Operation: 21+24=45, Resulting Numbers: [21, 45] Generated Node #0,0,4: 88:[21, 45] Operation: 21+24=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[21, 3], Operations: ['32-11=21', '24-21=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[21, 45], Operations: ['32-11=21', '24+21=45'] Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,88 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[21, 3], Operations: ['32-11=21', '24-21=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 88:[21, 45], Operations: ['32-11=21', '21+24=45'] Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,88 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,88 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[24, 1], Operations: ['32-11=21', '21/21=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[21, 24, 43], Operations: ['11+32=43'] Exploring Operation: 43-21=22, Resulting Numbers: [24, 22] Generated Node #0,1,0: 88:[24, 22] Operation: 43-21=22 Exploring Operation: 24-21=3, Resulting Numbers: [43, 3] Generated Node #0,1,1: 88:[43, 3] Operation: 24-21=3 Exploring Operation: 43-24=19, Resulting Numbers: [21, 19] Generated Node #0,1,2: 88:[21, 19] Operation: 43-24=19 Exploring Operation: 21+24=45, Resulting Numbers: [43, 45] Generated Node #0,1,3: 88:[43, 45] Operation: 21+24=45 Exploring Operation: 21+43=64, Resulting Numbers: [24, 64] Generated Node #0,1,4: 88:[24, 64] Operation: 21+43=64 Moving to Node #0,1,0 Current State: 88:[24, 22], Operations: ['11+32=43', '43-21=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[43, 45], Operations: ['11+32=43', '21+24=45'] Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[21, 11, 24, 32], Operations: [] Exploring Operation: 11+32=43, Resulting Numbers: [21, 24, 43] Generated Node #0,1: 88:[21, 24, 43] Operation: 11+32=43 Moving to Node #0,1 Current State: 88:[21, 24, 43], Operations: ['11+32=43'] Exploring Operation: 21+24=45, Resulting Numbers: [43, 45] Generated Node #0,1,3: 88:[43, 45] Operation: 21+24=45 Moving to Node #0,1,3 Current State: 88:[43, 45], Operations: ['11+32=43', '21+24=45'] Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.927951
hs_5
sum_heuristic
[ 36, 2, 98, 15 ]
70
[ "36-15=21", "98/2=49", "21+49=70" ]
Current State: 70:[36, 2, 98, 15], Operations: [] Exploring Operation: 36-15=21, Resulting Numbers: [2, 98, 21] Generated Node #2: [2, 98, 21] from Operation: 36-15=21 Current State: 70:[2, 98, 21], Operations: ['36-15=21'] Exploring Operation: 98/2=49, Resulting Numbers: [21, 49] Generated Node #3: [21, 49] from Operation: 98/2=49 Current State: 70:[21, 49], Operations: ['36-15=21', '98/2=49'] Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[36, 2, 98, 15], Operations: [] Exploring Operation: 98-36=62, Resulting Numbers: [2, 15, 62] Generated Node #0,0: 70:[2, 15, 62] Operation: 98-36=62 Exploring Operation: 98-15=83, Resulting Numbers: [36, 2, 83] Generated Node #0,1: 70:[36, 2, 83] Operation: 98-15=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[2, 15, 62], Operations: ['98-36=62'] Exploring Operation: 2+62=64, Resulting Numbers: [15, 64] Generated Node #0,0,0: 70:[15, 64] Operation: 2+62=64 Exploring Operation: 62/2=31, Resulting Numbers: [15, 31] Generated Node #0,0,1: 70:[15, 31] Operation: 62/2=31 Moving to Node #0,0,1 Current State: 70:[15, 31], Operations: ['98-36=62', '62/2=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[15, 64], Operations: ['98-36=62', '2+62=64'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,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,1 Current State: 70:[36, 2, 83], Operations: ['98-15=83'] Exploring Operation: 83-2=81, Resulting Numbers: [36, 81] Generated Node #0,1,0: 70:[36, 81] Operation: 83-2=81 Exploring Operation: 83-36=47, Resulting Numbers: [2, 47] Generated Node #0,1,1: 70:[2, 47] Operation: 83-36=47 Moving to Node #0,1,0 Current State: 70:[36, 81], Operations: ['98-15=83', '83-2=81'] Exploring Operation: 36+81=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[2, 47], Operations: ['98-15=83', '83-36=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,70 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
[ 86, 92, 36, 79 ]
63
[ "86+92=178", "36+79=115", "178-115=63" ]
Current State: 63:[86, 92, 36, 79], Operations: [] Exploring Operation: 86+92=178, Resulting Numbers: [36, 79, 178] Generated Node #2: [36, 79, 178] from Operation: 86+92=178 Current State: 63:[36, 79, 178], Operations: ['86+92=178'] Exploring Operation: 36+79=115, Resulting Numbers: [178, 115] Generated Node #3: [178, 115] from Operation: 36+79=115 Current State: 63:[178, 115], Operations: ['86+92=178', '36+79=115'] Exploring Operation: 178-115=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[86, 92, 36, 79], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [36, 79, 6] Generated Node #0,0: 63:[36, 79, 6] Operation: 92-86=6 Exploring Operation: 92-79=13, Resulting Numbers: [86, 36, 13] Generated Node #0,1: 63:[86, 36, 13] Operation: 92-79=13 Exploring Operation: 86-79=7, Resulting Numbers: [92, 36, 7] Generated Node #0,2: 63:[92, 36, 7] Operation: 86-79=7 Moving to Node #0,0 Current State: 63:[36, 79, 6], Operations: ['92-86=6'] Exploring Operation: 79-36=43, Resulting Numbers: [6, 43] Generated Node #0,0,0: 63:[6, 43] Operation: 79-36=43 Exploring Operation: 36-6=30, Resulting Numbers: [79, 30] Generated Node #0,0,1: 63:[79, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [79, 6] Generated Node #0,0,2: 63:[79, 6] Operation: 36/6=6 Moving to Node #0,1 Current State: 63:[86, 36, 13], Operations: ['92-79=13'] Exploring Operation: 86-36=50, Resulting Numbers: [13, 50] Generated Node #0,1,0: 63:[13, 50] Operation: 86-36=50 Exploring Operation: 86-13=73, Resulting Numbers: [36, 73] Generated Node #0,1,1: 63:[36, 73] Operation: 86-13=73 Exploring Operation: 36-13=23, Resulting Numbers: [86, 23] Generated Node #0,1,2: 63:[86, 23] Operation: 36-13=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[13, 50], Operations: ['92-79=13', '86-36=50'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,63 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[86, 92, 36, 79], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [86, 36, 13] Generated Node #0,1: 63:[86, 36, 13] Operation: 92-79=13 Moving to Node #0,1 Current State: 63:[86, 36, 13], Operations: ['92-79=13'] Exploring Operation: 86-36=50, Resulting Numbers: [13, 50] Generated Node #0,1,0: 63:[13, 50] Operation: 86-36=50 Moving to Node #0,1,0 Current State: 63:[13, 50], Operations: ['92-79=13', '86-36=50'] Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 12, 3, 29, 26 ]
51
[ "12/3=4", "29+26=55", "55-4=51" ]
Current State: 51:[12, 3, 29, 26], Operations: [] Exploring Operation: 12/3=4, Resulting Numbers: [29, 26, 4] Generated Node #2: [29, 26, 4] from Operation: 12/3=4 Current State: 51:[29, 26, 4], Operations: ['12/3=4'] Exploring Operation: 29+26=55, Resulting Numbers: [4, 55] Generated Node #3: [4, 55] from Operation: 29+26=55 Current State: 51:[4, 55], Operations: ['12/3=4', '29+26=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[12, 3, 29, 26], Operations: [] Exploring Operation: 12+29=41, Resulting Numbers: [3, 26, 41] Generated Node #0,0: 51:[3, 26, 41] Operation: 12+29=41 Exploring Operation: 26-12=14, Resulting Numbers: [3, 29, 14] Generated Node #0,1: 51:[3, 29, 14] Operation: 26-12=14 Exploring Operation: 29-26=3, Resulting Numbers: [12, 3, 3] Generated Node #0,2: 51:[12, 3, 3] Operation: 29-26=3 Exploring Operation: 29-12=17, Resulting Numbers: [3, 26, 17] Generated Node #0,3: 51:[3, 26, 17] Operation: 29-12=17 Exploring Operation: 29+26=55, Resulting Numbers: [12, 3, 55] Generated Node #0,4: 51:[12, 3, 55] Operation: 29+26=55 Moving to Node #0,2 Current State: 51:[12, 3, 3], Operations: ['29-26=3'] Exploring Operation: 12/3=4, Resulting Numbers: [3, 4] Generated Node #0,2,0: 51:[3, 4] Operation: 12/3=4 Exploring Operation: 12+3=15, Resulting Numbers: [3, 15] Generated Node #0,2,1: 51:[3, 15] Operation: 12+3=15 Exploring Operation: 12+3=15, Resulting Numbers: [3, 15] Generated Node #0,2,2: 51:[3, 15] Operation: 12+3=15 Exploring Operation: 12/3=4, Resulting Numbers: [3, 4] Generated Node #0,2,3: 51:[3, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [3, 9] Generated Node #0,2,4: 51:[3, 9] Operation: 12-3=9 Moving to Node #0,4 Current State: 51:[12, 3, 55], Operations: ['29+26=55'] Exploring Operation: 12/3=4, Resulting Numbers: [55, 4] Generated Node #0,4,0: 51:[55, 4] Operation: 12/3=4 Exploring Operation: 55-3=52, Resulting Numbers: [12, 52] Generated Node #0,4,1: 51:[12, 52] Operation: 55-3=52 Exploring Operation: 12-3=9, Resulting Numbers: [55, 9] Generated Node #0,4,2: 51:[55, 9] Operation: 12-3=9 Exploring Operation: 55-12=43, Resulting Numbers: [3, 43] Generated Node #0,4,3: 51:[3, 43] Operation: 55-12=43 Exploring Operation: 12+3=15, Resulting Numbers: [55, 15] Generated Node #0,4,4: 51:[55, 15] Operation: 12+3=15 Moving to Node #0,3 Current State: 51:[3, 26, 17], Operations: ['29-12=17'] Exploring Operation: 26-3=23, Resulting Numbers: [17, 23] Generated Node #0,3,0: 51:[17, 23] Operation: 26-3=23 Exploring Operation: 26-17=9, Resulting Numbers: [3, 9] Generated Node #0,3,1: 51:[3, 9] Operation: 26-17=9 Exploring Operation: 26+17=43, Resulting Numbers: [3, 43] Generated Node #0,3,2: 51:[3, 43] Operation: 26+17=43 Exploring Operation: 3+26=29, Resulting Numbers: [17, 29] Generated Node #0,3,3: 51:[17, 29] Operation: 3+26=29 Exploring Operation: 3*17=51, Resulting Numbers: [26, 51] Generated Node #0,3,4: 51:[26, 51] Operation: 3*17=51 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[17, 23], Operations: ['29-12=17', '26-3=23'] Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,51 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,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,3,1 Current State: 51:[3, 9], Operations: ['29-12=17', '26-17=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,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,3,2 Current State: 51:[3, 43], Operations: ['29-12=17', '26+17=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,51 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,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,3,4 Current State: 51:[26, 51], Operations: ['29-12=17', '3*17=51'] Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,51 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,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,3,3 Current State: 51:[17, 29], Operations: ['29-12=17', '3+26=29'] Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,51 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,51 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: 51:[3, 29, 14], Operations: ['26-12=14'] Exploring Operation: 29-3=26, Resulting Numbers: [14, 26] Generated Node #0,1,0: 51:[14, 26] Operation: 29-3=26 Exploring Operation: 3+29=32, Resulting Numbers: [14, 32] Generated Node #0,1,1: 51:[14, 32] Operation: 3+29=32 Exploring Operation: 29-14=15, Resulting Numbers: [3, 15] Generated Node #0,1,2: 51:[3, 15] Operation: 29-14=15 Exploring Operation: 3+14=17, Resulting Numbers: [29, 17] Generated Node #0,1,3: 51:[29, 17] Operation: 3+14=17 Exploring Operation: 29+14=43, Resulting Numbers: [3, 43] Generated Node #0,1,4: 51:[3, 43] Operation: 29+14=43 Moving to Node #0,0 Current State: 51:[3, 26, 41], Operations: ['12+29=41'] Exploring Operation: 26-3=23, Resulting Numbers: [41, 23] Generated Node #0,0,0: 51:[41, 23] Operation: 26-3=23 Exploring Operation: 41-26=15, Resulting Numbers: [3, 15] Generated Node #0,0,1: 51:[3, 15] Operation: 41-26=15 Exploring Operation: 3+41=44, Resulting Numbers: [26, 44] Generated Node #0,0,2: 51:[26, 44] Operation: 3+41=44 Exploring Operation: 26+41=67, Resulting Numbers: [3, 67] Generated Node #0,0,3: 51:[3, 67] Operation: 26+41=67 Exploring Operation: 3+26=29, Resulting Numbers: [41, 29] Generated Node #0,0,4: 51:[41, 29] Operation: 3+26=29 Moving to Node #0,2,0 Current State: 51:[3, 4], Operations: ['29-26=3', '12/3=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[3, 4], Operations: ['29-26=3', '12/3=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[3, 15], Operations: ['29-26=3', '12+3=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[3, 15], Operations: ['26-12=14', '29-14=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[3, 15], Operations: ['29-26=3', '12+3=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[3, 15], Operations: ['12+29=41', '41-26=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[55, 4], Operations: ['29+26=55', '12/3=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[12, 3, 29, 26], Operations: [] Exploring Operation: 29+26=55, Resulting Numbers: [12, 3, 55] Generated Node #0,4: 51:[12, 3, 55] Operation: 29+26=55 Moving to Node #0,4 Current State: 51:[12, 3, 55], Operations: ['29+26=55'] Exploring Operation: 12/3=4, Resulting Numbers: [55, 4] Generated Node #0,4,0: 51:[55, 4] Operation: 12/3=4 Moving to Node #0,4,0 Current State: 51:[55, 4], Operations: ['29+26=55', '12/3=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.936632
hs_5
sum_heuristic
[ 43, 50, 84, 4 ]
36
[ "43+50=93", "93-84=9", "4*9=36" ]
Current State: 36:[43, 50, 84, 4], Operations: [] Exploring Operation: 43+50=93, Resulting Numbers: [84, 4, 93] Generated Node #2: [84, 4, 93] from Operation: 43+50=93 Current State: 36:[84, 4, 93], Operations: ['43+50=93'] Exploring Operation: 93-84=9, Resulting Numbers: [4, 9] Generated Node #3: [4, 9] from Operation: 93-84=9 Current State: 36:[4, 9], Operations: ['43+50=93', '93-84=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[43, 50, 84, 4], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [43, 50, 21] Generated Node #0,0: 36:[43, 50, 21] Operation: 84/4=21 Exploring Operation: 84-50=34, Resulting Numbers: [43, 4, 34] Generated Node #0,1: 36:[43, 4, 34] Operation: 84-50=34 Exploring Operation: 84-43=41, Resulting Numbers: [50, 4, 41] Generated Node #0,2: 36:[50, 4, 41] Operation: 84-43=41 Moving to Node #0,1 Current State: 36:[43, 4, 34], Operations: ['84-50=34'] Exploring Operation: 43-34=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 36:[4, 9] Operation: 43-34=9 Exploring Operation: 4+34=38, Resulting Numbers: [43, 38] Generated Node #0,1,1: 36:[43, 38] Operation: 4+34=38 Exploring Operation: 43-4=39, Resulting Numbers: [34, 39] Generated Node #0,1,2: 36:[34, 39] Operation: 43-4=39 Moving to Node #0,2 Current State: 36:[50, 4, 41], Operations: ['84-43=41'] Exploring Operation: 50-4=46, Resulting Numbers: [41, 46] Generated Node #0,2,0: 36:[41, 46] Operation: 50-4=46 Exploring Operation: 50-41=9, Resulting Numbers: [4, 9] Generated Node #0,2,1: 36:[4, 9] Operation: 50-41=9 Exploring Operation: 41-4=37, Resulting Numbers: [50, 37] Generated Node #0,2,2: 36:[50, 37] Operation: 41-4=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[4, 9], Operations: ['84-43=41', '50-41=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[43, 50, 84, 4], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [50, 4, 41] Generated Node #0,2: 36:[50, 4, 41] Operation: 84-43=41 Moving to Node #0,2 Current State: 36:[50, 4, 41], Operations: ['84-43=41'] Exploring Operation: 50-41=9, Resulting Numbers: [4, 9] Generated Node #0,2,1: 36:[4, 9] Operation: 50-41=9 Moving to Node #0,2,1 Current State: 36:[4, 9], Operations: ['84-43=41', '50-41=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 59, 96, 46, 31 ]
22
[ "96-59=37", "46-31=15", "37-15=22" ]
Current State: 22:[59, 96, 46, 31], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [46, 31, 37] Generated Node #2: [46, 31, 37] from Operation: 96-59=37 Current State: 22:[46, 31, 37], Operations: ['96-59=37'] Exploring Operation: 46-31=15, Resulting Numbers: [37, 15] Generated Node #3: [37, 15] from Operation: 46-31=15 Current State: 22:[37, 15], Operations: ['96-59=37', '46-31=15'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[59, 96, 46, 31], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [59, 46, 65] Generated Node #0,0: 22:[59, 46, 65] Operation: 96-31=65 Exploring Operation: 59-46=13, Resulting Numbers: [96, 31, 13] Generated Node #0,1: 22:[96, 31, 13] Operation: 59-46=13 Exploring Operation: 96-59=37, Resulting Numbers: [46, 31, 37] Generated Node #0,2: 22:[46, 31, 37] Operation: 96-59=37 Exploring Operation: 59-31=28, Resulting Numbers: [96, 46, 28] Generated Node #0,3: 22:[96, 46, 28] Operation: 59-31=28 Exploring Operation: 96-46=50, Resulting Numbers: [59, 31, 50] Generated Node #0,4: 22:[59, 31, 50] Operation: 96-46=50 Moving to Node #0,2 Current State: 22:[46, 31, 37], Operations: ['96-59=37'] Exploring Operation: 37-31=6, Resulting Numbers: [46, 6] Generated Node #0,2,0: 22:[46, 6] Operation: 37-31=6 Exploring Operation: 46+37=83, Resulting Numbers: [31, 83] Generated Node #0,2,1: 22:[31, 83] Operation: 46+37=83 Exploring Operation: 46+31=77, Resulting Numbers: [37, 77] Generated Node #0,2,2: 22:[37, 77] Operation: 46+31=77 Exploring Operation: 46-31=15, Resulting Numbers: [37, 15] Generated Node #0,2,3: 22:[37, 15] Operation: 46-31=15 Exploring Operation: 46-37=9, Resulting Numbers: [31, 9] Generated Node #0,2,4: 22:[31, 9] Operation: 46-37=9 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[31, 9], Operations: ['96-59=37', '46-37=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[59, 96, 46, 31], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [46, 31, 37] Generated Node #0,2: 22:[46, 31, 37] Operation: 96-59=37 Moving to Node #0,2 Current State: 22:[46, 31, 37], Operations: ['96-59=37'] Exploring Operation: 46-37=9, Resulting Numbers: [31, 9] Generated Node #0,2,4: 22:[31, 9] Operation: 46-37=9 Moving to Node #0,2,4 Current State: 22:[31, 9], Operations: ['96-59=37', '46-37=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 86, 72, 65, 26 ]
77
[ "86-72=14", "65+26=91", "91-14=77" ]
Current State: 77:[86, 72, 65, 26], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [65, 26, 14] Generated Node #2: [65, 26, 14] from Operation: 86-72=14 Current State: 77:[65, 26, 14], Operations: ['86-72=14'] Exploring Operation: 65+26=91, Resulting Numbers: [14, 91] Generated Node #3: [14, 91] from Operation: 65+26=91 Current State: 77:[14, 91], Operations: ['86-72=14', '65+26=91'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[86, 72, 65, 26], Operations: [] Exploring Operation: 65+26=91, Resulting Numbers: [86, 72, 91] Generated Node #0,0: 77:[86, 72, 91] Operation: 65+26=91 Exploring Operation: 86-72=14, Resulting Numbers: [65, 26, 14] Generated Node #0,1: 77:[65, 26, 14] Operation: 86-72=14 Exploring Operation: 72-65=7, Resulting Numbers: [86, 26, 7] Generated Node #0,2: 77:[86, 26, 7] Operation: 72-65=7 Exploring Operation: 86-65=21, Resulting Numbers: [72, 26, 21] Generated Node #0,3: 77:[72, 26, 21] Operation: 86-65=21 Moving to Node #0,2 Current State: 77:[86, 26, 7], Operations: ['72-65=7'] Exploring Operation: 86-26=60, Resulting Numbers: [7, 60] Generated Node #0,2,0: 77:[7, 60] Operation: 86-26=60 Exploring Operation: 86+7=93, Resulting Numbers: [26, 93] Generated Node #0,2,1: 77:[26, 93] Operation: 86+7=93 Exploring Operation: 26-7=19, Resulting Numbers: [86, 19] Generated Node #0,2,2: 77:[86, 19] Operation: 26-7=19 Exploring Operation: 86-7=79, Resulting Numbers: [26, 79] Generated Node #0,2,3: 77:[26, 79] Operation: 86-7=79 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[7, 60], Operations: ['72-65=7', '86-26=60'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[86, 19], Operations: ['72-65=7', '26-7=19'] Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,77 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,77 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[26, 79], Operations: ['72-65=7', '86-7=79'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,77 unequal: No Solution Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[26, 93], Operations: ['72-65=7', '86+7=93'] Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 26+93=119, Resulting Numbers: [119] 119,77 unequal: No Solution Exploring Operation: 26*93=2418, Resulting Numbers: [2418] 2418,77 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: 77:[86, 72, 91], Operations: ['65+26=91'] Exploring Operation: 86-72=14, Resulting Numbers: [91, 14] Generated Node #0,0,0: 77:[91, 14] Operation: 86-72=14 Exploring Operation: 91-72=19, Resulting Numbers: [86, 19] Generated Node #0,0,1: 77:[86, 19] Operation: 91-72=19 Exploring Operation: 86+72=158, Resulting Numbers: [91, 158] Generated Node #0,0,2: 77:[91, 158] Operation: 86+72=158 Exploring Operation: 91-86=5, Resulting Numbers: [72, 5] Generated Node #0,0,3: 77:[72, 5] Operation: 91-86=5 Moving to Node #0,3 Current State: 77:[72, 26, 21], Operations: ['86-65=21'] Exploring Operation: 72+26=98, Resulting Numbers: [21, 98] Generated Node #0,3,0: 77:[21, 98] Operation: 72+26=98 Exploring Operation: 72+21=93, Resulting Numbers: [26, 93] Generated Node #0,3,1: 77:[26, 93] Operation: 72+21=93 Exploring Operation: 26-21=5, Resulting Numbers: [72, 5] Generated Node #0,3,2: 77:[72, 5] Operation: 26-21=5 Exploring Operation: 26+21=47, Resulting Numbers: [72, 47] Generated Node #0,3,3: 77:[72, 47] Operation: 26+21=47 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[72, 5], Operations: ['86-65=21', '26-21=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[86, 72, 65, 26], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [72, 26, 21] Generated Node #0,3: 77:[72, 26, 21] Operation: 86-65=21 Moving to Node #0,3 Current State: 77:[72, 26, 21], Operations: ['86-65=21'] Exploring Operation: 26-21=5, Resulting Numbers: [72, 5] Generated Node #0,3,2: 77:[72, 5] Operation: 26-21=5 Moving to Node #0,3,2 Current State: 77:[72, 5], Operations: ['86-65=21', '26-21=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 42, 71, 2, 76 ]
26
[ "42/2=21", "76-71=5", "21+5=26" ]
Current State: 26:[42, 71, 2, 76], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [71, 76, 21] Generated Node #2: [71, 76, 21] from Operation: 42/2=21 Current State: 26:[71, 76, 21], Operations: ['42/2=21'] Exploring Operation: 76-71=5, Resulting Numbers: [21, 5] Generated Node #3: [21, 5] from Operation: 76-71=5 Current State: 26:[21, 5], Operations: ['42/2=21', '76-71=5'] Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[42, 71, 2, 76], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [71, 2, 34] Generated Node #0,0: 26:[71, 2, 34] Operation: 76-42=34 Exploring Operation: 42/2=21, Resulting Numbers: [71, 76, 21] Generated Node #0,1: 26:[71, 76, 21] Operation: 42/2=21 Exploring Operation: 76/2=38, Resulting Numbers: [42, 71, 38] Generated Node #0,2: 26:[42, 71, 38] Operation: 76/2=38 Exploring Operation: 71-42=29, Resulting Numbers: [2, 76, 29] Generated Node #0,3: 26:[2, 76, 29] Operation: 71-42=29 Exploring Operation: 76-71=5, Resulting Numbers: [42, 2, 5] Generated Node #0,4: 26:[42, 2, 5] Operation: 76-71=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 26:[42, 2, 5], Operations: ['76-71=5'] Exploring Operation: 2*5=10, Resulting Numbers: [42, 10] Generated Node #0,4,0: 26:[42, 10] Operation: 2*5=10 Exploring Operation: 42/2=21, Resulting Numbers: [5, 21] Generated Node #0,4,1: 26:[5, 21] Operation: 42/2=21 Exploring Operation: 42-5=37, Resulting Numbers: [2, 37] Generated Node #0,4,2: 26:[2, 37] Operation: 42-5=37 Exploring Operation: 42-2=40, Resulting Numbers: [5, 40] Generated Node #0,4,3: 26:[5, 40] Operation: 42-2=40 Exploring Operation: 5-2=3, Resulting Numbers: [42, 3] Generated Node #0,4,4: 26:[42, 3] Operation: 5-2=3 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 26:[5, 21], Operations: ['76-71=5', '42/2=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[42, 71, 2, 76], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [42, 2, 5] Generated Node #0,4: 26:[42, 2, 5] Operation: 76-71=5 Moving to Node #0,4 Current State: 26:[42, 2, 5], Operations: ['76-71=5'] Exploring Operation: 42/2=21, Resulting Numbers: [5, 21] Generated Node #0,4,1: 26:[5, 21] Operation: 42/2=21 Moving to Node #0,4,1 Current State: 26:[5, 21], Operations: ['76-71=5', '42/2=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 6, 33, 80, 24 ]
17
[ "6+33=39", "80-24=56", "56-39=17" ]
Current State: 17:[6, 33, 80, 24], Operations: [] Exploring Operation: 6+33=39, Resulting Numbers: [80, 24, 39] Generated Node #2: [80, 24, 39] from Operation: 6+33=39 Current State: 17:[80, 24, 39], Operations: ['6+33=39'] Exploring Operation: 80-24=56, Resulting Numbers: [39, 56] Generated Node #3: [39, 56] from Operation: 80-24=56 Current State: 17:[39, 56], Operations: ['6+33=39', '80-24=56'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[6, 33, 80, 24], Operations: [] Exploring Operation: 80-33=47, Resulting Numbers: [6, 24, 47] Generated Node #0,0: 17:[6, 24, 47] Operation: 80-33=47 Moving to Node #0,0 Current State: 17:[6, 24, 47], Operations: ['80-33=47'] Exploring Operation: 47-24=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 17:[6, 23] Operation: 47-24=23 Moving to Node #0,0,0 Current State: 17:[6, 23], Operations: ['80-33=47', '47-24=23'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[6, 33, 80, 24], Operations: [] Exploring Operation: 80-33=47, Resulting Numbers: [6, 24, 47] Generated Node #0,0: 17:[6, 24, 47] Operation: 80-33=47 Moving to Node #0,0 Current State: 17:[6, 24, 47], Operations: ['80-33=47'] Exploring Operation: 47-24=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 17:[6, 23] Operation: 47-24=23 Moving to Node #0,0,0 Current State: 17:[6, 23], Operations: ['80-33=47', '47-24=23'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 72, 18, 36, 24 ]
27
[ "72-36=36", "18*36=648", "648/24=27" ]
Current State: 27:[72, 18, 36, 24], Operations: [] Exploring Operation: 72-36=36, Resulting Numbers: [18, 24, 36] Generated Node #2: [18, 24, 36] from Operation: 72-36=36 Current State: 27:[18, 24, 36], Operations: ['72-36=36'] Exploring Operation: 18*36=648, Resulting Numbers: [24, 648] Generated Node #3: [24, 648] from Operation: 18*36=648 Current State: 27:[24, 648], Operations: ['72-36=36', '18*36=648'] Exploring Operation: 648/24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[72, 18, 36, 24], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [36, 24, 4] Generated Node #0,0: 27:[36, 24, 4] Operation: 72/18=4 Exploring Operation: 72/36=2, Resulting Numbers: [18, 24, 2] Generated Node #0,1: 27:[18, 24, 2] Operation: 72/36=2 Moving to Node #0,0 Current State: 27:[36, 24, 4], Operations: ['72/18=4'] Exploring Operation: 36/4=9, Resulting Numbers: [24, 9] Generated Node #0,0,0: 27:[24, 9] Operation: 36/4=9 Exploring Operation: 36-24=12, Resulting Numbers: [4, 12] Generated Node #0,0,1: 27:[4, 12] Operation: 36-24=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[24, 9], Operations: ['72/18=4', '36/4=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[4, 12], Operations: ['72/18=4', '36-24=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,27 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: 27:[18, 24, 2], Operations: ['72/36=2'] Exploring Operation: 18/2=9, Resulting Numbers: [24, 9] Generated Node #0,1,0: 27:[24, 9] Operation: 18/2=9 Exploring Operation: 24-18=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 27:[2, 6] Operation: 24-18=6 Moving to Node #0,1,0 Current State: 27:[24, 9], Operations: ['72/36=2', '18/2=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[2, 6], Operations: ['72/36=2', '24-18=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,27 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 86, 78, 3, 35 ]
95
[ "86+35=121", "78/3=26", "121-26=95" ]
Current State: 95:[86, 78, 3, 35], Operations: [] Exploring Operation: 86+35=121, Resulting Numbers: [78, 3, 121] Generated Node #2: [78, 3, 121] from Operation: 86+35=121 Current State: 95:[78, 3, 121], Operations: ['86+35=121'] Exploring Operation: 78/3=26, Resulting Numbers: [121, 26] Generated Node #3: [121, 26] from Operation: 78/3=26 Current State: 95:[121, 26], Operations: ['86+35=121', '78/3=26'] Exploring Operation: 121-26=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[86, 78, 3, 35], Operations: [] Exploring Operation: 78+35=113, Resulting Numbers: [86, 3, 113] Generated Node #0,0: 95:[86, 3, 113] Operation: 78+35=113 Exploring Operation: 86-78=8, Resulting Numbers: [3, 35, 8] Generated Node #0,1: 95:[3, 35, 8] Operation: 86-78=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[3, 35, 8], Operations: ['86-78=8'] Exploring Operation: 35-8=27, Resulting Numbers: [3, 27] Generated Node #0,1,0: 95:[3, 27] Operation: 35-8=27 Exploring Operation: 3*35=105, Resulting Numbers: [8, 105] Generated Node #0,1,1: 95:[8, 105] Operation: 3*35=105 Moving to Node #0,1,0 Current State: 95:[3, 27], Operations: ['86-78=8', '35-8=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[8, 105], Operations: ['86-78=8', '3*35=105'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,95 unequal: No Solution Exploring Operation: 8+105=113, Resulting Numbers: [113] 113,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[86, 3, 113], Operations: ['78+35=113'] Exploring Operation: 113-86=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 95:[3, 27] Operation: 113-86=27 Exploring Operation: 86+3=89, Resulting Numbers: [113, 89] Generated Node #0,0,1: 95:[113, 89] Operation: 86+3=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[3, 27], Operations: ['78+35=113', '113-86=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[113, 89], Operations: ['78+35=113', '86+3=89'] Exploring Operation: 113+89=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 113-89=24, Resulting Numbers: [24] 24,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 24, 8, 91, 33 ]
61
[ "24/8=3", "91-33=58", "3+58=61" ]
Current State: 61:[24, 8, 91, 33], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [91, 33, 3] Generated Node #2: [91, 33, 3] from Operation: 24/8=3 Current State: 61:[91, 33, 3], Operations: ['24/8=3'] Exploring Operation: 91-33=58, Resulting Numbers: [3, 58] Generated Node #3: [3, 58] from Operation: 91-33=58 Current State: 61:[3, 58], Operations: ['24/8=3', '91-33=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[24, 8, 91, 33], Operations: [] Exploring Operation: 24+8=32, Resulting Numbers: [91, 33, 32] Generated Node #0,0: 61:[91, 33, 32] Operation: 24+8=32 Exploring Operation: 91-24=67, Resulting Numbers: [8, 33, 67] Generated Node #0,1: 61:[8, 33, 67] Operation: 91-24=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[91, 33, 32], Operations: ['24+8=32'] Exploring Operation: 91-33=58, Resulting Numbers: [32, 58] Generated Node #0,0,0: 61:[32, 58] Operation: 91-33=58 Exploring Operation: 91-32=59, Resulting Numbers: [33, 59] Generated Node #0,0,1: 61:[33, 59] Operation: 91-32=59 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[33, 59], Operations: ['24+8=32', '91-32=59'] Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,61 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[32, 58], Operations: ['24+8=32', '91-33=58'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[8, 33, 67], Operations: ['91-24=67'] Exploring Operation: 67-8=59, Resulting Numbers: [33, 59] Generated Node #0,1,0: 61:[33, 59] Operation: 67-8=59 Exploring Operation: 8+33=41, Resulting Numbers: [67, 41] Generated Node #0,1,1: 61:[67, 41] Operation: 8+33=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[67, 41], Operations: ['91-24=67', '8+33=41'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 67+41=108, Resulting Numbers: [108] 108,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[33, 59], Operations: ['91-24=67', '67-8=59'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 78, 52, 57, 80 ]
94
[ "57-52=5", "80/5=16", "78+16=94" ]
Current State: 94:[78, 52, 57, 80], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [78, 80, 5] Generated Node #2: [78, 80, 5] from Operation: 57-52=5 Current State: 94:[78, 80, 5], Operations: ['57-52=5'] Exploring Operation: 80/5=16, Resulting Numbers: [78, 16] Generated Node #3: [78, 16] from Operation: 80/5=16 Current State: 94:[78, 16], Operations: ['57-52=5', '80/5=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[78, 52, 57, 80], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [52, 57, 2] Generated Node #0,0: 94:[52, 57, 2] Operation: 80-78=2 Exploring Operation: 78-57=21, Resulting Numbers: [52, 80, 21] Generated Node #0,1: 94:[52, 80, 21] Operation: 78-57=21 Exploring Operation: 80-57=23, Resulting Numbers: [78, 52, 23] Generated Node #0,2: 94:[78, 52, 23] Operation: 80-57=23 Exploring Operation: 78-52=26, Resulting Numbers: [57, 80, 26] Generated Node #0,3: 94:[57, 80, 26] Operation: 78-52=26 Exploring Operation: 57-52=5, Resulting Numbers: [78, 80, 5] Generated Node #0,4: 94:[78, 80, 5] Operation: 57-52=5 Moving to Node #0,0 Current State: 94:[52, 57, 2], Operations: ['80-78=2'] Exploring Operation: 52+2=54, Resulting Numbers: [57, 54] Generated Node #0,0,0: 94:[57, 54] Operation: 52+2=54 Exploring Operation: 57-52=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 94:[2, 5] Operation: 57-52=5 Exploring Operation: 52+57=109, Resulting Numbers: [2, 109] Generated Node #0,0,2: 94:[2, 109] Operation: 52+57=109 Exploring Operation: 57-2=55, Resulting Numbers: [52, 55] Generated Node #0,0,3: 94:[52, 55] Operation: 57-2=55 Exploring Operation: 52-2=50, Resulting Numbers: [57, 50] Generated Node #0,0,4: 94:[57, 50] Operation: 52-2=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[2, 5], Operations: ['80-78=2', '57-52=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[52, 55], Operations: ['80-78=2', '57-2=55'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,94 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[57, 50], Operations: ['80-78=2', '52-2=50'] Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,94 unequal: No Solution Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,94 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[2, 109], Operations: ['80-78=2', '52+57=109'] Exploring Operation: 2+109=111, Resulting Numbers: [111] 111,94 unequal: No Solution Exploring Operation: 109-2=107, Resulting Numbers: [107] 107,94 unequal: No Solution Exploring Operation: 2*109=218, Resulting Numbers: [218] 218,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[57, 54], Operations: ['80-78=2', '52+2=54'] Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 57*54=3078, Resulting Numbers: [3078] 3078,94 unequal: No Solution Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,94 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: 94:[78, 80, 5], Operations: ['57-52=5'] Exploring Operation: 80/5=16, Resulting Numbers: [78, 16] Generated Node #0,4,0: 94:[78, 16] Operation: 80/5=16 Exploring Operation: 78-5=73, Resulting Numbers: [80, 73] Generated Node #0,4,1: 94:[80, 73] Operation: 78-5=73 Exploring Operation: 80+5=85, Resulting Numbers: [78, 85] Generated Node #0,4,2: 94:[78, 85] Operation: 80+5=85 Exploring Operation: 80-78=2, Resulting Numbers: [5, 2] Generated Node #0,4,3: 94:[5, 2] Operation: 80-78=2 Exploring Operation: 78+5=83, Resulting Numbers: [80, 83] Generated Node #0,4,4: 94:[80, 83] Operation: 78+5=83 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[5, 2], Operations: ['57-52=5', '80-78=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[78, 85], Operations: ['57-52=5', '80+5=85'] Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,94 unequal: No Solution Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 94:[80, 83], Operations: ['57-52=5', '78+5=83'] Exploring Operation: 80+83=163, Resulting Numbers: [163] 163,94 unequal: No Solution Exploring Operation: 80*83=6640, Resulting Numbers: [6640] 6640,94 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[78, 16], Operations: ['57-52=5', '80/5=16'] Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,94 unequal: No Solution Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[78, 52, 57, 80], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [78, 80, 5] Generated Node #0,4: 94:[78, 80, 5] Operation: 57-52=5 Moving to Node #0,4 Current State: 94:[78, 80, 5], Operations: ['57-52=5'] Exploring Operation: 80/5=16, Resulting Numbers: [78, 16] Generated Node #0,4,0: 94:[78, 16] Operation: 80/5=16 Moving to Node #0,4,0 Current State: 94:[78, 16], Operations: ['57-52=5', '80/5=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 95, 20, 95, 56 ]
35
[ "95/95=1", "56-20=36", "36-1=35" ]
Current State: 35:[95, 20, 95, 56], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [20, 56, 1] Generated Node #2: [20, 56, 1] from Operation: 95/95=1 Current State: 35:[20, 56, 1], Operations: ['95/95=1'] Exploring Operation: 56-20=36, Resulting Numbers: [1, 36] Generated Node #3: [1, 36] from Operation: 56-20=36 Current State: 35:[1, 36], Operations: ['95/95=1', '56-20=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[95, 20, 95, 56], Operations: [] Exploring Operation: 95-56=39, Resulting Numbers: [20, 95, 39] Generated Node #0,0: 35:[20, 95, 39] Operation: 95-56=39 Exploring Operation: 95/95=1, Resulting Numbers: [20, 56, 1] Generated Node #0,1: 35:[20, 56, 1] Operation: 95/95=1 Exploring Operation: 95-95=0, Resulting Numbers: [20, 56, 0] Generated Node #0,2: 35:[20, 56, 0] Operation: 95-95=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[20, 56, 1], Operations: ['95/95=1'] Exploring Operation: 56-1=55, Resulting Numbers: [20, 55] Generated Node #0,1,0: 35:[20, 55] Operation: 56-1=55 Exploring Operation: 56-20=36, Resulting Numbers: [1, 36] Generated Node #0,1,1: 35:[1, 36] Operation: 56-20=36 Exploring Operation: 20-1=19, Resulting Numbers: [56, 19] Generated Node #0,1,2: 35:[56, 19] Operation: 20-1=19 Moving to Node #0,1,1 Current State: 35:[1, 36], Operations: ['95/95=1', '56-20=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[95, 20, 95, 56], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [20, 56, 1] Generated Node #0,1: 35:[20, 56, 1] Operation: 95/95=1 Moving to Node #0,1 Current State: 35:[20, 56, 1], Operations: ['95/95=1'] Exploring Operation: 56-20=36, Resulting Numbers: [1, 36] Generated Node #0,1,1: 35:[1, 36] Operation: 56-20=36 Moving to Node #0,1,1 Current State: 35:[1, 36], Operations: ['95/95=1', '56-20=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 21, 7, 73, 52 ]
49
[ "21+7=28", "73-52=21", "28+21=49" ]
Current State: 49:[21, 7, 73, 52], Operations: [] Exploring Operation: 21+7=28, Resulting Numbers: [73, 52, 28] Generated Node #2: [73, 52, 28] from Operation: 21+7=28 Current State: 49:[73, 52, 28], Operations: ['21+7=28'] Exploring Operation: 73-52=21, Resulting Numbers: [28, 21] Generated Node #3: [28, 21] from Operation: 73-52=21 Current State: 49:[28, 21], Operations: ['21+7=28', '73-52=21'] Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[21, 7, 73, 52], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [21, 7, 21] Generated Node #0,0: 49:[21, 7, 21] Operation: 73-52=21 Exploring Operation: 21-7=14, Resulting Numbers: [73, 52, 14] Generated Node #0,1: 49:[73, 52, 14] Operation: 21-7=14 Exploring Operation: 73-21=52, Resulting Numbers: [7, 52, 52] Generated Node #0,2: 49:[7, 52, 52] Operation: 73-21=52 Exploring Operation: 21/7=3, Resulting Numbers: [73, 52, 3] Generated Node #0,3: 49:[73, 52, 3] Operation: 21/7=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[7, 52, 52], Operations: ['73-21=52'] Exploring Operation: 52-7=45, Resulting Numbers: [52, 45] Generated Node #0,2,0: 49:[52, 45] Operation: 52-7=45 Exploring Operation: 52-7=45, Resulting Numbers: [52, 45] Generated Node #0,2,1: 49:[52, 45] Operation: 52-7=45 Exploring Operation: 52-52=0, Resulting Numbers: [7, 0] Generated Node #0,2,2: 49:[7, 0] Operation: 52-52=0 Exploring Operation: 52/52=1, Resulting Numbers: [7, 1] Generated Node #0,2,3: 49:[7, 1] Operation: 52/52=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[7, 1], Operations: ['73-21=52', '52/52=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,49 unequal: No Solution No 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: 49:[52, 45], Operations: ['73-21=52', '52-7=45'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 52*45=2340, Resulting Numbers: [2340] 2340,49 unequal: No Solution Exploring Operation: 52+45=97, Resulting Numbers: [97] 97,49 unequal: No Solution No 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: 49:[52, 45], Operations: ['73-21=52', '52-7=45'] Exploring Operation: 52+45=97, Resulting Numbers: [97] 97,49 unequal: No Solution Exploring Operation: 52*45=2340, Resulting Numbers: [2340] 2340,49 unequal: No Solution Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[7, 0], Operations: ['73-21=52', '52-52=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,49 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: 49:[21, 7, 21], Operations: ['73-52=21'] Exploring Operation: 21/21=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 49:[7, 1] Operation: 21/21=1 Exploring Operation: 21+21=42, Resulting Numbers: [7, 42] Generated Node #0,0,1: 49:[7, 42] Operation: 21+21=42 Exploring Operation: 21-21=0, Resulting Numbers: [7, 0] Generated Node #0,0,2: 49:[7, 0] Operation: 21-21=0 Exploring Operation: 21/7=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 49:[21, 3] Operation: 21/7=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[7, 1], Operations: ['73-52=21', '21/21=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[7, 42], Operations: ['73-52=21', '21+21=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 7*42=294, Resulting Numbers: [294] 294,49 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[21, 7, 73, 52], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [21, 7, 21] Generated Node #0,0: 49:[21, 7, 21] Operation: 73-52=21 Moving to Node #0,0 Current State: 49:[21, 7, 21], Operations: ['73-52=21'] Exploring Operation: 21+21=42, Resulting Numbers: [7, 42] Generated Node #0,0,1: 49:[7, 42] Operation: 21+21=42 Moving to Node #0,0,1 Current State: 49:[7, 42], Operations: ['73-52=21', '21+21=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 5, 2, 32, 67 ]
46
[ "67-5=62", "32/2=16", "62-16=46" ]
Current State: 46:[5, 2, 32, 67], Operations: [] Exploring Operation: 67-5=62, Resulting Numbers: [2, 32, 62] Generated Node #2: [2, 32, 62] from Operation: 67-5=62 Current State: 46:[2, 32, 62], Operations: ['67-5=62'] Exploring Operation: 32/2=16, Resulting Numbers: [62, 16] Generated Node #3: [62, 16] from Operation: 32/2=16 Current State: 46:[62, 16], Operations: ['67-5=62', '32/2=16'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[5, 2, 32, 67], Operations: [] Exploring Operation: 67-32=35, Resulting Numbers: [5, 2, 35] Generated Node #0,0: 46:[5, 2, 35] Operation: 67-32=35 Moving to Node #0,0 Current State: 46:[5, 2, 35], Operations: ['67-32=35'] Exploring Operation: 35/5=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 46:[2, 7] Operation: 35/5=7 Moving to Node #0,0,0 Current State: 46:[2, 7], Operations: ['67-32=35', '35/5=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 27, 10, 60 ]
13
[ "27-20=7", "60/10=6", "7+6=13" ]
Current State: 13:[20, 27, 10, 60], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [10, 60, 7] Generated Node #2: [10, 60, 7] from Operation: 27-20=7 Current State: 13:[10, 60, 7], Operations: ['27-20=7'] Exploring Operation: 60/10=6, Resulting Numbers: [7, 6] Generated Node #3: [7, 6] from Operation: 60/10=6 Current State: 13:[7, 6], Operations: ['27-20=7', '60/10=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[20, 27, 10, 60], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [27, 10, 3] Generated Node #0,0: 13:[27, 10, 3] Operation: 60/20=3 Moving to Node #0,0 Current State: 13:[27, 10, 3], Operations: ['60/20=3'] Exploring Operation: 27/3=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 13:[10, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[10, 9], Operations: ['60/20=3', '27/3=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,13 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
[ 36, 37, 37, 27 ]
36
[ "37-37=0", "27*0=0", "36+0=36" ]
Current State: 36:[36, 37, 37, 27], Operations: [] Exploring Operation: 37-37=0, Resulting Numbers: [36, 27, 0] Generated Node #2: [36, 27, 0] from Operation: 37-37=0 Current State: 36:[36, 27, 0], Operations: ['37-37=0'] Exploring Operation: 27*0=0, Resulting Numbers: [36, 0] Generated Node #3: [36, 0] from Operation: 27*0=0 Current State: 36:[36, 0], Operations: ['37-37=0', '27*0=0'] Exploring Operation: 36+0=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[36, 37, 37, 27], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [37, 37, 9] Generated Node #0,0: 36:[37, 37, 9] Operation: 36-27=9 Exploring Operation: 37-27=10, Resulting Numbers: [36, 37, 10] Generated Node #0,1: 36:[36, 37, 10] Operation: 37-27=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[37, 37, 9], Operations: ['36-27=9'] Exploring Operation: 37-37=0, Resulting Numbers: [9, 0] Generated Node #0,0,0: 36:[9, 0] Operation: 37-37=0 Exploring Operation: 37/37=1, Resulting Numbers: [9, 1] Generated Node #0,0,1: 36:[9, 1] Operation: 37/37=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[9, 1], Operations: ['36-27=9', '37/37=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,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,0,0 Current State: 36:[9, 0], Operations: ['36-27=9', '37-37=0'] Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[36, 37, 10], Operations: ['37-27=10'] Exploring Operation: 36-10=26, Resulting Numbers: [37, 26] Generated Node #0,1,0: 36:[37, 26] Operation: 36-10=26 Exploring Operation: 37-36=1, Resulting Numbers: [10, 1] Generated Node #0,1,1: 36:[10, 1] Operation: 37-36=1 Moving to Node #0,1,1 Current State: 36:[10, 1], Operations: ['37-27=10', '37-36=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[37, 26], Operations: ['37-27=10', '36-10=26'] Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,36 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
[ 33, 21, 59, 65 ]
70
[ "33+21=54", "59+65=124", "124-54=70" ]
Current State: 70:[33, 21, 59, 65], Operations: [] Exploring Operation: 33+21=54, Resulting Numbers: [59, 65, 54] Generated Node #2: [59, 65, 54] from Operation: 33+21=54 Current State: 70:[59, 65, 54], Operations: ['33+21=54'] Exploring Operation: 59+65=124, Resulting Numbers: [54, 124] Generated Node #3: [54, 124] from Operation: 59+65=124 Current State: 70:[54, 124], Operations: ['33+21=54', '59+65=124'] Exploring Operation: 124-54=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[33, 21, 59, 65], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [33, 65, 38] Generated Node #0,0: 70:[33, 65, 38] Operation: 59-21=38 Moving to Node #0,0 Current State: 70:[33, 65, 38], Operations: ['59-21=38'] Exploring Operation: 38-33=5, Resulting Numbers: [65, 5] Generated Node #0,0,0: 70:[65, 5] Operation: 38-33=5 Moving to Node #0,0,0 Current State: 70:[65, 5], Operations: ['59-21=38', '38-33=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[33, 21, 59, 65], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [33, 65, 38] Generated Node #0,0: 70:[33, 65, 38] Operation: 59-21=38 Moving to Node #0,0 Current State: 70:[33, 65, 38], Operations: ['59-21=38'] Exploring Operation: 38-33=5, Resulting Numbers: [65, 5] Generated Node #0,0,0: 70:[65, 5] Operation: 38-33=5 Moving to Node #0,0,0 Current State: 70:[65, 5], Operations: ['59-21=38', '38-33=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 57, 80, 53, 93 ]
73
[ "57-53=4", "80/4=20", "93-20=73" ]
Current State: 73:[57, 80, 53, 93], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [80, 93, 4] Generated Node #2: [80, 93, 4] from Operation: 57-53=4 Current State: 73:[80, 93, 4], Operations: ['57-53=4'] Exploring Operation: 80/4=20, Resulting Numbers: [93, 20] Generated Node #3: [93, 20] from Operation: 80/4=20 Current State: 73:[93, 20], Operations: ['57-53=4', '80/4=20'] Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[57, 80, 53, 93], Operations: [] Exploring Operation: 93-57=36, Resulting Numbers: [80, 53, 36] Generated Node #0,0: 73:[80, 53, 36] Operation: 93-57=36 Exploring Operation: 80-57=23, Resulting Numbers: [53, 93, 23] Generated Node #0,1: 73:[53, 93, 23] Operation: 80-57=23 Exploring Operation: 80-53=27, Resulting Numbers: [57, 93, 27] Generated Node #0,2: 73:[57, 93, 27] Operation: 80-53=27 Exploring Operation: 93-53=40, Resulting Numbers: [57, 80, 40] Generated Node #0,3: 73:[57, 80, 40] Operation: 93-53=40 Exploring Operation: 57+53=110, Resulting Numbers: [80, 93, 110] Generated Node #0,4: 73:[80, 93, 110] Operation: 57+53=110 Moving to Node #0,3 Current State: 73:[57, 80, 40], Operations: ['93-53=40'] Exploring Operation: 80-40=40, Resulting Numbers: [57, 40] Generated Node #0,3,0: 73:[57, 40] Operation: 80-40=40 Exploring Operation: 80-57=23, Resulting Numbers: [40, 23] Generated Node #0,3,1: 73:[40, 23] Operation: 80-57=23 Exploring Operation: 80+40=120, Resulting Numbers: [57, 120] Generated Node #0,3,2: 73:[57, 120] Operation: 80+40=120 Exploring Operation: 57+40=97, Resulting Numbers: [80, 97] Generated Node #0,3,3: 73:[80, 97] Operation: 57+40=97 Exploring Operation: 57-40=17, Resulting Numbers: [80, 17] Generated Node #0,3,4: 73:[80, 17] Operation: 57-40=17 Moving to Node #0,4 Current State: 73:[80, 93, 110], Operations: ['57+53=110'] Exploring Operation: 80+93=173, Resulting Numbers: [110, 173] Generated Node #0,4,0: 73:[110, 173] Operation: 80+93=173 Exploring Operation: 110-93=17, Resulting Numbers: [80, 17] Generated Node #0,4,1: 73:[80, 17] Operation: 110-93=17 Exploring Operation: 93-80=13, Resulting Numbers: [110, 13] Generated Node #0,4,2: 73:[110, 13] Operation: 93-80=13 Exploring Operation: 80+110=190, Resulting Numbers: [93, 190] Generated Node #0,4,3: 73:[93, 190] Operation: 80+110=190 Exploring Operation: 110-80=30, Resulting Numbers: [93, 30] Generated Node #0,4,4: 73:[93, 30] Operation: 110-80=30 Moving to Node #0,0 Current State: 73:[80, 53, 36], Operations: ['93-57=36'] Exploring Operation: 53+36=89, Resulting Numbers: [80, 89] Generated Node #0,0,0: 73:[80, 89] Operation: 53+36=89 Exploring Operation: 80-36=44, Resulting Numbers: [53, 44] Generated Node #0,0,1: 73:[53, 44] Operation: 80-36=44 Exploring Operation: 53-36=17, Resulting Numbers: [80, 17] Generated Node #0,0,2: 73:[80, 17] Operation: 53-36=17 Exploring Operation: 80-53=27, Resulting Numbers: [36, 27] Generated Node #0,0,3: 73:[36, 27] Operation: 80-53=27 Exploring Operation: 80+36=116, Resulting Numbers: [53, 116] Generated Node #0,0,4: 73:[53, 116] Operation: 80+36=116 Moving to Node #0,2 Current State: 73:[57, 93, 27], Operations: ['80-53=27'] Exploring Operation: 93-57=36, Resulting Numbers: [27, 36] Generated Node #0,2,0: 73:[27, 36] Operation: 93-57=36 Exploring Operation: 57-27=30, Resulting Numbers: [93, 30] Generated Node #0,2,1: 73:[93, 30] Operation: 57-27=30 Exploring Operation: 93-27=66, Resulting Numbers: [57, 66] Generated Node #0,2,2: 73:[57, 66] Operation: 93-27=66 Exploring Operation: 57+27=84, Resulting Numbers: [93, 84] Generated Node #0,2,3: 73:[93, 84] Operation: 57+27=84 Exploring Operation: 93+27=120, Resulting Numbers: [57, 120] Generated Node #0,2,4: 73:[57, 120] Operation: 93+27=120 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[57, 66], Operations: ['80-53=27', '93-27=66'] Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,73 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,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,3 Current State: 73:[93, 84], Operations: ['80-53=27', '57+27=84'] Exploring Operation: 93+84=177, Resulting Numbers: [177] 177,73 unequal: No Solution 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 No 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:[93, 30], Operations: ['80-53=27', '57-27=30'] Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,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,4 Current State: 73:[57, 120], Operations: ['80-53=27', '93+27=120'] Exploring Operation: 57*120=6840, Resulting Numbers: [6840] 6840,73 unequal: No Solution Exploring Operation: 57+120=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 120-57=63, Resulting Numbers: [63] 63,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,0 Current State: 73:[27, 36], Operations: ['80-53=27', '93-57=36'] Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,73 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,73 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: 73:[53, 93, 23], Operations: ['80-57=23'] Exploring Operation: 93+23=116, Resulting Numbers: [53, 116] Generated Node #0,1,0: 73:[53, 116] Operation: 93+23=116 Exploring Operation: 53-23=30, Resulting Numbers: [93, 30] Generated Node #0,1,1: 73:[93, 30] Operation: 53-23=30 Exploring Operation: 93-23=70, Resulting Numbers: [53, 70] Generated Node #0,1,2: 73:[53, 70] Operation: 93-23=70 Exploring Operation: 93-53=40, Resulting Numbers: [23, 40] Generated Node #0,1,3: 73:[23, 40] Operation: 93-53=40 Exploring Operation: 53+23=76, Resulting Numbers: [93, 76] Generated Node #0,1,4: 73:[93, 76] Operation: 53+23=76 Moving to Node #0,0,0 Current State: 73:[80, 89], Operations: ['93-57=36', '53+36=89'] Exploring Operation: 80+89=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 80*89=7120, Resulting Numbers: [7120] 7120,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[53, 70], Operations: ['80-57=23', '93-23=70'] Exploring Operation: 53+70=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 53*70=3710, Resulting Numbers: [3710] 3710,73 unequal: No Solution Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[93, 76], Operations: ['80-57=23', '53+23=76'] Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 93+76=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 93*76=7068, Resulting Numbers: [7068] 7068,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[80, 97], Operations: ['93-53=40', '57+40=97'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 80*97=7760, Resulting Numbers: [7760] 7760,73 unequal: No Solution Exploring Operation: 80+97=177, Resulting Numbers: [177] 177,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[53, 44], Operations: ['93-57=36', '80-36=44'] Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 53+44=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 53*44=2332, Resulting Numbers: [2332] 2332,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[57, 40], Operations: ['93-53=40', '80-40=40'] Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,73 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[93, 30], Operations: ['57+53=110', '110-80=30'] Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,73 unequal: No Solution Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[53, 116], Operations: ['93-57=36', '80+36=116'] Exploring Operation: 53*116=6148, Resulting Numbers: [6148] 6148,73 unequal: No Solution Exploring Operation: 116-53=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 53+116=169, Resulting Numbers: [169] 169,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[57, 120], Operations: ['93-53=40', '80+40=120'] Exploring Operation: 57+120=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 120-57=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 57*120=6840, Resulting Numbers: [6840] 6840,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[80, 17], Operations: ['93-57=36', '53-36=17'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[80, 17], Operations: ['57+53=110', '110-93=17'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,73 unequal: No Solution Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[53, 116], Operations: ['80-57=23', '93+23=116'] Exploring Operation: 116-53=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 53+116=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 53*116=6148, Resulting Numbers: [6148] 6148,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[93, 30], Operations: ['80-57=23', '53-23=30'] Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,73 unequal: No Solution Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[80, 17], Operations: ['93-53=40', '57-40=17'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,73 unequal: No Solution Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[36, 27], Operations: ['93-57=36', '80-53=27'] Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,73 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[40, 23], Operations: ['93-53=40', '80-57=23'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,73 unequal: No Solution Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[23, 40], Operations: ['80-57=23', '93-53=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[110, 13], Operations: ['57+53=110', '93-80=13'] Exploring Operation: 110*13=1430, Resulting Numbers: [1430] 1430,73 unequal: No Solution Exploring Operation: 110+13=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 110-13=97, Resulting Numbers: [97] 97,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[110, 173], Operations: ['57+53=110', '80+93=173'] Exploring Operation: 173-110=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 110*173=19030, Resulting Numbers: [19030] 19030,73 unequal: No Solution Exploring Operation: 110+173=283, Resulting Numbers: [283] 283,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[93, 190], Operations: ['57+53=110', '80+110=190'] Exploring Operation: 93+190=283, Resulting Numbers: [283] 283,73 unequal: No Solution Exploring Operation: 93*190=17670, Resulting Numbers: [17670] 17670,73 unequal: No Solution Exploring Operation: 190-93=97, Resulting Numbers: [97] 97,73 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 35, 4, 82, 39 ]
81
[ "35+4=39", "39/39=1", "82-1=81" ]
Current State: 81:[35, 4, 82, 39], Operations: [] Exploring Operation: 35+4=39, Resulting Numbers: [82, 39, 39] Generated Node #2: [82, 39, 39] from Operation: 35+4=39 Current State: 81:[82, 39, 39], Operations: ['35+4=39'] Exploring Operation: 39/39=1, Resulting Numbers: [82, 1] Generated Node #3: [82, 1] from Operation: 39/39=1 Current State: 81:[82, 1], Operations: ['35+4=39', '39/39=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[35, 4, 82, 39], Operations: [] Exploring Operation: 35+39=74, Resulting Numbers: [4, 82, 74] Generated Node #0,0: 81:[4, 82, 74] Operation: 35+39=74 Exploring Operation: 35-4=31, Resulting Numbers: [82, 39, 31] Generated Node #0,1: 81:[82, 39, 31] Operation: 35-4=31 Exploring Operation: 39-4=35, Resulting Numbers: [35, 82, 35] Generated Node #0,2: 81:[35, 82, 35] Operation: 39-4=35 Exploring Operation: 39-35=4, Resulting Numbers: [4, 82, 4] Generated Node #0,3: 81:[4, 82, 4] Operation: 39-35=4 Exploring Operation: 82-4=78, Resulting Numbers: [35, 39, 78] Generated Node #0,4: 81:[35, 39, 78] Operation: 82-4=78 Moving to Node #0,3 Current State: 81:[4, 82, 4], Operations: ['39-35=4'] Exploring Operation: 82-4=78, Resulting Numbers: [4, 78] Generated Node #0,3,0: 81:[4, 78] Operation: 82-4=78 Exploring Operation: 82-4=78, Resulting Numbers: [4, 78] Generated Node #0,3,1: 81:[4, 78] Operation: 82-4=78 Exploring Operation: 4-4=0, Resulting Numbers: [82, 0] Generated Node #0,3,2: 81:[82, 0] Operation: 4-4=0 Exploring Operation: 4+4=8, Resulting Numbers: [82, 8] Generated Node #0,3,3: 81:[82, 8] Operation: 4+4=8 Exploring Operation: 4/4=1, Resulting Numbers: [82, 1] Generated Node #0,3,4: 81:[82, 1] Operation: 4/4=1 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[82, 8], Operations: ['39-35=4', '4+4=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 81:[82, 1], Operations: ['39-35=4', '4/4=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,81 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[35, 4, 82, 39], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [4, 82, 4] Generated Node #0,3: 81:[4, 82, 4] Operation: 39-35=4 Moving to Node #0,3 Current State: 81:[4, 82, 4], Operations: ['39-35=4'] Exploring Operation: 4/4=1, Resulting Numbers: [82, 1] Generated Node #0,3,4: 81:[82, 1] Operation: 4/4=1 Moving to Node #0,3,4 Current State: 81:[82, 1], Operations: ['39-35=4', '4/4=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 63, 72, 43, 14 ]
38
[ "72-63=9", "43-14=29", "9+29=38" ]
Current State: 38:[63, 72, 43, 14], Operations: [] Exploring Operation: 72-63=9, Resulting Numbers: [43, 14, 9] Generated Node #2: [43, 14, 9] from Operation: 72-63=9 Current State: 38:[43, 14, 9], Operations: ['72-63=9'] Exploring Operation: 43-14=29, Resulting Numbers: [9, 29] Generated Node #3: [9, 29] from Operation: 43-14=29 Current State: 38:[9, 29], Operations: ['72-63=9', '43-14=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[63, 72, 43, 14], Operations: [] Exploring Operation: 72-43=29, Resulting Numbers: [63, 14, 29] Generated Node #0,0: 38:[63, 14, 29] Operation: 72-43=29 Exploring Operation: 72-63=9, Resulting Numbers: [43, 14, 9] Generated Node #0,1: 38:[43, 14, 9] Operation: 72-63=9 Exploring Operation: 63-43=20, Resulting Numbers: [72, 14, 20] Generated Node #0,2: 38:[72, 14, 20] Operation: 63-43=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[43, 14, 9], Operations: ['72-63=9'] Exploring Operation: 43-9=34, Resulting Numbers: [14, 34] Generated Node #0,1,0: 38:[14, 34] Operation: 43-9=34 Exploring Operation: 14-9=5, Resulting Numbers: [43, 5] Generated Node #0,1,1: 38:[43, 5] Operation: 14-9=5 Exploring Operation: 14+9=23, Resulting Numbers: [43, 23] Generated Node #0,1,2: 38:[43, 23] Operation: 14+9=23 Moving to Node #0,1,1 Current State: 38:[43, 5], Operations: ['72-63=9', '14-9=5'] Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,38 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[63, 72, 43, 14], Operations: [] Exploring Operation: 72-63=9, Resulting Numbers: [43, 14, 9] Generated Node #0,1: 38:[43, 14, 9] Operation: 72-63=9 Moving to Node #0,1 Current State: 38:[43, 14, 9], Operations: ['72-63=9'] Exploring Operation: 14-9=5, Resulting Numbers: [43, 5] Generated Node #0,1,1: 38:[43, 5] Operation: 14-9=5 Moving to Node #0,1,1 Current State: 38:[43, 5], Operations: ['72-63=9', '14-9=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 4, 44, 98, 92 ]
17
[ "44/4=11", "98-92=6", "11+6=17" ]
Current State: 17:[4, 44, 98, 92], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [98, 92, 11] Generated Node #2: [98, 92, 11] from Operation: 44/4=11 Current State: 17:[98, 92, 11], Operations: ['44/4=11'] Exploring Operation: 98-92=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 98-92=6 Current State: 17:[11, 6], Operations: ['44/4=11', '98-92=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[4, 44, 98, 92], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [4, 44, 6] Generated Node #0,0: 17:[4, 44, 6] Operation: 98-92=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[4, 44, 6], Operations: ['98-92=6'] Exploring Operation: 44/4=11, Resulting Numbers: [6, 11] Generated Node #0,0,0: 17:[6, 11] Operation: 44/4=11 Moving to Node #0,0,0 Current State: 17:[6, 11], Operations: ['98-92=6', '44/4=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[4, 44, 98, 92], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [4, 44, 6] Generated Node #0,0: 17:[4, 44, 6] Operation: 98-92=6 Moving to Node #0,0 Current State: 17:[4, 44, 6], Operations: ['98-92=6'] Exploring Operation: 44/4=11, Resulting Numbers: [6, 11] Generated Node #0,0,0: 17:[6, 11] Operation: 44/4=11 Moving to Node #0,0,0 Current State: 17:[6, 11], Operations: ['98-92=6', '44/4=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 22, 42, 11, 9 ]
57
[ "22-11=11", "9*11=99", "99-42=57" ]
Current State: 57:[22, 42, 11, 9], Operations: [] Exploring Operation: 22-11=11, Resulting Numbers: [42, 9, 11] Generated Node #2: [42, 9, 11] from Operation: 22-11=11 Current State: 57:[42, 9, 11], Operations: ['22-11=11'] Exploring Operation: 9*11=99, Resulting Numbers: [42, 99] Generated Node #3: [42, 99] from Operation: 9*11=99 Current State: 57:[42, 99], Operations: ['22-11=11', '9*11=99'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[22, 42, 11, 9], Operations: [] Exploring Operation: 11+9=20, Resulting Numbers: [22, 42, 20] Generated Node #0,0: 57:[22, 42, 20] Operation: 11+9=20 Exploring Operation: 42+9=51, Resulting Numbers: [22, 11, 51] Generated Node #0,1: 57:[22, 11, 51] Operation: 42+9=51 Exploring Operation: 42-22=20, Resulting Numbers: [11, 9, 20] Generated Node #0,2: 57:[11, 9, 20] Operation: 42-22=20 Exploring Operation: 42+11=53, Resulting Numbers: [22, 9, 53] Generated Node #0,3: 57:[22, 9, 53] Operation: 42+11=53 Moving to Node #0,3 Current State: 57:[22, 9, 53], Operations: ['42+11=53'] Exploring Operation: 22+9=31, Resulting Numbers: [53, 31] Generated Node #0,3,0: 57:[53, 31] Operation: 22+9=31 Exploring Operation: 53-9=44, Resulting Numbers: [22, 44] Generated Node #0,3,1: 57:[22, 44] Operation: 53-9=44 Exploring Operation: 22-9=13, Resulting Numbers: [53, 13] Generated Node #0,3,2: 57:[53, 13] Operation: 22-9=13 Exploring Operation: 9+53=62, Resulting Numbers: [22, 62] Generated Node #0,3,3: 57:[22, 62] Operation: 9+53=62 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[22, 62], Operations: ['42+11=53', '9+53=62'] Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,57 unequal: No Solution Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,57 unequal: No Solution No 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: 57:[53, 13], Operations: ['42+11=53', '22-9=13'] Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,57 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,57 unequal: No Solution No 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: 57:[53, 31], Operations: ['42+11=53', '22+9=31'] Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,57 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,57 unequal: No Solution No 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: 57:[22, 44], Operations: ['42+11=53', '53-9=44'] Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 22*44=968, Resulting Numbers: [968] 968,57 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,57 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: 57:[11, 9, 20], Operations: ['42-22=20'] Exploring Operation: 11-9=2, Resulting Numbers: [20, 2] Generated Node #0,2,0: 57:[20, 2] Operation: 11-9=2 Exploring Operation: 20-11=9, Resulting Numbers: [9, 9] Generated Node #0,2,1: 57:[9, 9] Operation: 20-11=9 Exploring Operation: 20-9=11, Resulting Numbers: [11, 11] Generated Node #0,2,2: 57:[11, 11] Operation: 20-9=11 Exploring Operation: 11+9=20, Resulting Numbers: [20, 20] Generated Node #0,2,3: 57:[20, 20] Operation: 11+9=20 Moving to Node #0,1 Current State: 57:[22, 11, 51], Operations: ['42+9=51'] Exploring Operation: 22/11=2, Resulting Numbers: [51, 2] Generated Node #0,1,0: 57:[51, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [51, 11] Generated Node #0,1,1: 57:[51, 11] Operation: 22-11=11 Exploring Operation: 11+51=62, Resulting Numbers: [22, 62] Generated Node #0,1,2: 57:[22, 62] Operation: 11+51=62 Exploring Operation: 51-22=29, Resulting Numbers: [11, 29] Generated Node #0,1,3: 57:[11, 29] Operation: 51-22=29 Moving to Node #0,0 Current State: 57:[22, 42, 20], Operations: ['11+9=20'] Exploring Operation: 22+42=64, Resulting Numbers: [20, 64] Generated Node #0,0,0: 57:[20, 64] Operation: 22+42=64 Exploring Operation: 42+20=62, Resulting Numbers: [22, 62] Generated Node #0,0,1: 57:[22, 62] Operation: 42+20=62 Exploring Operation: 42-22=20, Resulting Numbers: [20, 20] Generated Node #0,0,2: 57:[20, 20] Operation: 42-22=20 Exploring Operation: 42-20=22, Resulting Numbers: [22, 22] Generated Node #0,0,3: 57:[22, 22] Operation: 42-20=22 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[20, 20], Operations: ['11+9=20', '42-22=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,57 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,57 unequal: No Solution No 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: 57:[22, 22], Operations: ['11+9=20', '42-20=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,57 unequal: No Solution No 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: 57:[20, 64], Operations: ['11+9=20', '22+42=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,57 unequal: No Solution No 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: 57:[22, 62], Operations: ['11+9=20', '42+20=62'] Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,57 unequal: No Solution Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 57:[20, 2], Operations: ['42-22=20', '11-9=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[20, 20], Operations: ['42-22=20', '11+9=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[51, 2], Operations: ['42+9=51', '22/11=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,57 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[22, 62], Operations: ['42+9=51', '11+51=62'] Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,57 unequal: No Solution Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[9, 9], Operations: ['42-22=20', '20-11=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[51, 11], Operations: ['42+9=51', '22-11=11'] Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,57 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[11, 11], Operations: ['42-22=20', '20-9=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,57 unequal: No Solution Moving to Node #0,1,3 Current State: 57:[11, 29], Operations: ['42+9=51', '51-22=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,57 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,57 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 15, 52, 26, 43 ]
84
[ "15+52=67", "43-26=17", "67+17=84" ]
Current State: 84:[15, 52, 26, 43], Operations: [] Exploring Operation: 15+52=67, Resulting Numbers: [26, 43, 67] Generated Node #2: [26, 43, 67] from Operation: 15+52=67 Current State: 84:[26, 43, 67], Operations: ['15+52=67'] Exploring Operation: 43-26=17, Resulting Numbers: [67, 17] Generated Node #3: [67, 17] from Operation: 43-26=17 Current State: 84:[67, 17], Operations: ['15+52=67', '43-26=17'] Exploring Operation: 67+17=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[15, 52, 26, 43], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [15, 43, 2] Generated Node #0,0: 84:[15, 43, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [15, 43, 26] Generated Node #0,1: 84:[15, 43, 26] Operation: 52-26=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[15, 43, 2], Operations: ['52/26=2'] Exploring Operation: 15-2=13, Resulting Numbers: [43, 13] Generated Node #0,0,0: 84:[43, 13] Operation: 15-2=13 Exploring Operation: 43-15=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 84:[2, 28] Operation: 43-15=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[2, 28], Operations: ['52/26=2', '43-15=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[43, 13], Operations: ['52/26=2', '15-2=13'] Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,84 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: 84:[15, 43, 26], Operations: ['52-26=26'] Exploring Operation: 43-15=28, Resulting Numbers: [26, 28] Generated Node #0,1,0: 84:[26, 28] Operation: 43-15=28 Exploring Operation: 15+26=41, Resulting Numbers: [43, 41] Generated Node #0,1,1: 84:[43, 41] Operation: 15+26=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[26, 28], Operations: ['52-26=26', '43-15=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[43, 41], Operations: ['52-26=26', '15+26=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[15, 52, 26, 43], Operations: [] Exploring Operation: 52-26=26, Resulting Numbers: [15, 43, 26] Generated Node #0,1: 84:[15, 43, 26] Operation: 52-26=26 Moving to Node #0,1 Current State: 84:[15, 43, 26], Operations: ['52-26=26'] Exploring Operation: 15+26=41, Resulting Numbers: [43, 41] Generated Node #0,1,1: 84:[43, 41] Operation: 15+26=41 Moving to Node #0,1,1 Current State: 84:[43, 41], Operations: ['52-26=26', '15+26=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 13, 16, 49, 77 ]
25
[ "16-13=3", "77-49=28", "28-3=25" ]
Current State: 25:[13, 16, 49, 77], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [49, 77, 3] Generated Node #2: [49, 77, 3] from Operation: 16-13=3 Current State: 25:[49, 77, 3], Operations: ['16-13=3'] Exploring Operation: 77-49=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 77-49=28 Current State: 25:[3, 28], Operations: ['16-13=3', '77-49=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[13, 16, 49, 77], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [13, 16, 28] Generated Node #0,0: 25:[13, 16, 28] Operation: 77-49=28 Moving to Node #0,0 Current State: 25:[13, 16, 28], Operations: ['77-49=28'] Exploring Operation: 16-13=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 25:[28, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[28, 3], Operations: ['77-49=28', '16-13=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[13, 16, 49, 77], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [13, 16, 28] Generated Node #0,0: 25:[13, 16, 28] Operation: 77-49=28 Moving to Node #0,0 Current State: 25:[13, 16, 28], Operations: ['77-49=28'] Exploring Operation: 16-13=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 25:[28, 3] Operation: 16-13=3 Moving to Node #0,0,0 Current State: 25:[28, 3], Operations: ['77-49=28', '16-13=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 24, 9, 96, 96 ]
24
[ "24*9=216", "96+96=192", "216-192=24" ]
Current State: 24:[24, 9, 96, 96], Operations: [] Exploring Operation: 24*9=216, Resulting Numbers: [96, 96, 216] Generated Node #2: [96, 96, 216] from Operation: 24*9=216 Current State: 24:[96, 96, 216], Operations: ['24*9=216'] Exploring Operation: 96+96=192, Resulting Numbers: [216, 192] Generated Node #3: [216, 192] from Operation: 96+96=192 Current State: 24:[216, 192], Operations: ['24*9=216', '96+96=192'] Exploring Operation: 216-192=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[24, 9, 96, 96], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [9, 96, 4] Generated Node #0,0: 24:[9, 96, 4] Operation: 96/24=4 Exploring Operation: 96/24=4, Resulting Numbers: [9, 96, 4] Generated Node #0,1: 24:[9, 96, 4] Operation: 96/24=4 Exploring Operation: 96/96=1, Resulting Numbers: [24, 9, 1] Generated Node #0,2: 24:[24, 9, 1] Operation: 96/96=1 Exploring Operation: 96-96=0, Resulting Numbers: [24, 9, 0] Generated Node #0,3: 24:[24, 9, 0] Operation: 96-96=0 Moving to Node #0,2 Current State: 24:[24, 9, 1], Operations: ['96/96=1'] Exploring Operation: 9*1=9, Resulting Numbers: [24, 9] Generated Node #0,2,0: 24:[24, 9] Operation: 9*1=9 Exploring Operation: 24/1=24, Resulting Numbers: [9, 24] Generated Node #0,2,1: 24:[9, 24] Operation: 24/1=24 Exploring Operation: 9-1=8, Resulting Numbers: [24, 8] Generated Node #0,2,2: 24:[24, 8] Operation: 9-1=8 Exploring Operation: 24*1=24, Resulting Numbers: [9, 24] Generated Node #0,2,3: 24:[9, 24] Operation: 24*1=24 Moving to Node #0,3 Current State: 24:[24, 9, 0], Operations: ['96-96=0'] Exploring Operation: 24-0=24, Resulting Numbers: [9, 24] Generated Node #0,3,0: 24:[9, 24] Operation: 24-0=24 Exploring Operation: 9+0=9, Resulting Numbers: [24, 9] Generated Node #0,3,1: 24:[24, 9] Operation: 9+0=9 Exploring Operation: 24+0=24, Resulting Numbers: [9, 24] Generated Node #0,3,2: 24:[9, 24] Operation: 24+0=24 Exploring Operation: 9-0=9, Resulting Numbers: [24, 9] Generated Node #0,3,3: 24:[24, 9] Operation: 9-0=9 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[9, 24], Operations: ['96-96=0', '24-0=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 24:[24, 9], Operations: ['96-96=0', '9+0=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[9, 24], Operations: ['96-96=0', '24+0=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[24, 9], Operations: ['96-96=0', '9-0=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 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: 24:[9, 96, 4], Operations: ['96/24=4'] Exploring Operation: 96-9=87, Resulting Numbers: [4, 87] Generated Node #0,1,0: 24:[4, 87] Operation: 96-9=87 Exploring Operation: 9+4=13, Resulting Numbers: [96, 13] Generated Node #0,1,1: 24:[96, 13] Operation: 9+4=13 Exploring Operation: 96-4=92, Resulting Numbers: [9, 92] Generated Node #0,1,2: 24:[9, 92] Operation: 96-4=92 Exploring Operation: 96/4=24, Resulting Numbers: [9, 24] Generated Node #0,1,3: 24:[9, 24] Operation: 96/4=24 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[9, 24], Operations: ['96/24=4', '96/4=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[4, 87], Operations: ['96/24=4', '96-9=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,24 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[9, 92], Operations: ['96/24=4', '96-4=92'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 9+92=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 9*92=828, Resulting Numbers: [828] 828,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[96, 13], Operations: ['96/24=4', '9+4=13'] Exploring Operation: 96*13=1248, Resulting Numbers: [1248] 1248,24 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,24 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: 24:[9, 96, 4], Operations: ['96/24=4'] Exploring Operation: 9+4=13, Resulting Numbers: [96, 13] Generated Node #0,0,0: 24:[96, 13] Operation: 9+4=13 Exploring Operation: 96/4=24, Resulting Numbers: [9, 24] Generated Node #0,0,1: 24:[9, 24] Operation: 96/4=24 Exploring Operation: 96-4=92, Resulting Numbers: [9, 92] Generated Node #0,0,2: 24:[9, 92] Operation: 96-4=92 Exploring Operation: 96-9=87, Resulting Numbers: [4, 87] Generated Node #0,0,3: 24:[4, 87] Operation: 96-9=87 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[9, 24], Operations: ['96/24=4', '96/4=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[4, 87], Operations: ['96/24=4', '96-9=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[9, 92], Operations: ['96/24=4', '96-4=92'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 9*92=828, Resulting Numbers: [828] 828,24 unequal: No Solution Exploring Operation: 9+92=101, Resulting Numbers: [101] 101,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[96, 13], Operations: ['96/24=4', '9+4=13'] Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,24 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 96*13=1248, Resulting Numbers: [1248] 1248,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 24:[24, 8], Operations: ['96/96=1', '9-1=8'] Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,24 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[9, 24], Operations: ['96/96=1', '24/1=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[24, 9], Operations: ['96/96=1', '9*1=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[9, 24], Operations: ['96/96=1', '24*1=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,24 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 25, 57, 52, 61 ]
31
[ "25+57=82", "52+61=113", "113-82=31" ]
Current State: 31:[25, 57, 52, 61], Operations: [] Exploring Operation: 25+57=82, Resulting Numbers: [52, 61, 82] Generated Node #2: [52, 61, 82] from Operation: 25+57=82 Current State: 31:[52, 61, 82], Operations: ['25+57=82'] Exploring Operation: 52+61=113, Resulting Numbers: [82, 113] Generated Node #3: [82, 113] from Operation: 52+61=113 Current State: 31:[82, 113], Operations: ['25+57=82', '52+61=113'] Exploring Operation: 113-82=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[25, 57, 52, 61], Operations: [] Exploring Operation: 57-25=32, Resulting Numbers: [52, 61, 32] Generated Node #0,0: 31:[52, 61, 32] Operation: 57-25=32 Moving to Node #0,0 Current State: 31:[52, 61, 32], Operations: ['57-25=32'] Exploring Operation: 61-52=9, Resulting Numbers: [32, 9] Generated Node #0,0,0: 31:[32, 9] Operation: 61-52=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[32, 9], Operations: ['57-25=32', '61-52=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 30, 32, 25, 10 ]
47
[ "30+32=62", "25-10=15", "62-15=47" ]
Current State: 47:[30, 32, 25, 10], Operations: [] Exploring Operation: 30+32=62, Resulting Numbers: [25, 10, 62] Generated Node #2: [25, 10, 62] from Operation: 30+32=62 Current State: 47:[25, 10, 62], Operations: ['30+32=62'] Exploring Operation: 25-10=15, Resulting Numbers: [62, 15] Generated Node #3: [62, 15] from Operation: 25-10=15 Current State: 47:[62, 15], Operations: ['30+32=62', '25-10=15'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[30, 32, 25, 10], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [30, 32, 35] Generated Node #0,0: 47:[30, 32, 35] Operation: 25+10=35 Exploring Operation: 30+25=55, Resulting Numbers: [32, 10, 55] Generated Node #0,1: 47:[32, 10, 55] Operation: 30+25=55 Exploring Operation: 30+10=40, Resulting Numbers: [32, 25, 40] Generated Node #0,2: 47:[32, 25, 40] Operation: 30+10=40 Exploring Operation: 32+10=42, Resulting Numbers: [30, 25, 42] Generated Node #0,3: 47:[30, 25, 42] Operation: 32+10=42 Moving to Node #0,0 Current State: 47:[30, 32, 35], Operations: ['25+10=35'] Exploring Operation: 32-30=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 47:[35, 2] Operation: 32-30=2 Exploring Operation: 32+35=67, Resulting Numbers: [30, 67] Generated Node #0,0,1: 47:[30, 67] Operation: 32+35=67 Exploring Operation: 30+32=62, Resulting Numbers: [35, 62] Generated Node #0,0,2: 47:[35, 62] Operation: 30+32=62 Exploring Operation: 30+35=65, Resulting Numbers: [32, 65] Generated Node #0,0,3: 47:[32, 65] Operation: 30+35=65 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[35, 62], Operations: ['25+10=35', '30+32=62'] Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,47 unequal: No Solution Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,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,0,3 Current State: 47:[32, 65], Operations: ['25+10=35', '30+35=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,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,0,1 Current State: 47:[30, 67], Operations: ['25+10=35', '32+35=67'] Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 30*67=2010, Resulting Numbers: [2010] 2010,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,0,0 Current State: 47:[35, 2], Operations: ['25+10=35', '32-30=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,47 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: 47:[30, 25, 42], Operations: ['32+10=42'] Exploring Operation: 25+42=67, Resulting Numbers: [30, 67] Generated Node #0,3,0: 47:[30, 67] Operation: 25+42=67 Exploring Operation: 30+25=55, Resulting Numbers: [42, 55] Generated Node #0,3,1: 47:[42, 55] Operation: 30+25=55 Exploring Operation: 30+42=72, Resulting Numbers: [25, 72] Generated Node #0,3,2: 47:[25, 72] Operation: 30+42=72 Exploring Operation: 30-25=5, Resulting Numbers: [42, 5] Generated Node #0,3,3: 47:[42, 5] Operation: 30-25=5 Moving to Node #0,2 Current State: 47:[32, 25, 40], Operations: ['30+10=40'] Exploring Operation: 32-25=7, Resulting Numbers: [40, 7] Generated Node #0,2,0: 47:[40, 7] Operation: 32-25=7 Exploring Operation: 32+40=72, Resulting Numbers: [25, 72] Generated Node #0,2,1: 47:[25, 72] Operation: 32+40=72 Exploring Operation: 25+40=65, Resulting Numbers: [32, 65] Generated Node #0,2,2: 47:[32, 65] Operation: 25+40=65 Exploring Operation: 32+25=57, Resulting Numbers: [40, 57] Generated Node #0,2,3: 47:[40, 57] Operation: 32+25=57 Moving to Node #0,1 Current State: 47:[32, 10, 55], Operations: ['30+25=55'] Exploring Operation: 10+55=65, Resulting Numbers: [32, 65] Generated Node #0,1,0: 47:[32, 65] Operation: 10+55=65 Exploring Operation: 55-10=45, Resulting Numbers: [32, 45] Generated Node #0,1,1: 47:[32, 45] Operation: 55-10=45 Exploring Operation: 32+10=42, Resulting Numbers: [55, 42] Generated Node #0,1,2: 47:[55, 42] Operation: 32+10=42 Exploring Operation: 32-10=22, Resulting Numbers: [55, 22] Generated Node #0,1,3: 47:[55, 22] Operation: 32-10=22 Moving to Node #0,3,1 Current State: 47:[42, 55], Operations: ['32+10=42', '30+25=55'] Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 42*55=2310, Resulting Numbers: [2310] 2310,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[55, 42], Operations: ['30+25=55', '32+10=42'] Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,47 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[32, 45], Operations: ['30+25=55', '55-10=45'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,47 unequal: No Solution Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[40, 57], Operations: ['30+10=40', '32+25=57'] Exploring Operation: 40*57=2280, Resulting Numbers: [2280] 2280,47 unequal: No Solution Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[32, 65], Operations: ['30+10=40', '25+40=65'] Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,47 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[55, 22], Operations: ['30+25=55', '32-10=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,47 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[32, 65], Operations: ['30+25=55', '10+55=65'] Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,47 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[30, 67], Operations: ['32+10=42', '25+42=67'] Exploring Operation: 30*67=2010, Resulting Numbers: [2010] 2010,47 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[40, 7], Operations: ['30+10=40', '32-25=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[30, 32, 25, 10], Operations: [] Exploring Operation: 30+10=40, Resulting Numbers: [32, 25, 40] Generated Node #0,2: 47:[32, 25, 40] Operation: 30+10=40 Moving to Node #0,2 Current State: 47:[32, 25, 40], Operations: ['30+10=40'] Exploring Operation: 32-25=7, Resulting Numbers: [40, 7] Generated Node #0,2,0: 47:[40, 7] Operation: 32-25=7 Moving to Node #0,2,0 Current State: 47:[40, 7], Operations: ['30+10=40', '32-25=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 49, 69, 7, 49 ]
83
[ "49+49=98", "98/7=14", "69+14=83" ]
Current State: 83:[49, 69, 7, 49], Operations: [] Exploring Operation: 49+49=98, Resulting Numbers: [69, 7, 98] Generated Node #2: [69, 7, 98] from Operation: 49+49=98 Current State: 83:[69, 7, 98], Operations: ['49+49=98'] Exploring Operation: 98/7=14, Resulting Numbers: [69, 14] Generated Node #3: [69, 14] from Operation: 98/7=14 Current State: 83:[69, 14], Operations: ['49+49=98', '98/7=14'] Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[49, 69, 7, 49], Operations: [] Exploring Operation: 49+7=56, Resulting Numbers: [69, 49, 56] Generated Node #0,0: 83:[69, 49, 56] Operation: 49+7=56 Exploring Operation: 69+7=76, Resulting Numbers: [49, 49, 76] Generated Node #0,1: 83:[49, 49, 76] Operation: 69+7=76 Exploring Operation: 49-7=42, Resulting Numbers: [69, 49, 42] Generated Node #0,2: 83:[69, 49, 42] Operation: 49-7=42 Exploring Operation: 7+49=56, Resulting Numbers: [49, 69, 56] Generated Node #0,3: 83:[49, 69, 56] Operation: 7+49=56 Exploring Operation: 69-7=62, Resulting Numbers: [49, 49, 62] Generated Node #0,4: 83:[49, 49, 62] Operation: 69-7=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[69, 49, 56], Operations: ['49+7=56'] Exploring Operation: 69+49=118, Resulting Numbers: [56, 118] Generated Node #0,0,0: 83:[56, 118] Operation: 69+49=118 Exploring Operation: 69-49=20, Resulting Numbers: [56, 20] Generated Node #0,0,1: 83:[56, 20] Operation: 69-49=20 Exploring Operation: 56-49=7, Resulting Numbers: [69, 7] Generated Node #0,0,2: 83:[69, 7] Operation: 56-49=7 Exploring Operation: 69+56=125, Resulting Numbers: [49, 125] Generated Node #0,0,3: 83:[49, 125] Operation: 69+56=125 Exploring Operation: 49+56=105, Resulting Numbers: [69, 105] Generated Node #0,0,4: 83:[69, 105] Operation: 49+56=105 Moving to Node #0,0,4 Current State: 83:[69, 105], Operations: ['49+7=56', '49+56=105'] Exploring Operation: 105-69=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 69*105=7245, Resulting Numbers: [7245] 7245,83 unequal: No Solution Exploring Operation: 69+105=174, Resulting Numbers: [174] 174,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[56, 118], Operations: ['49+7=56', '69+49=118'] Exploring Operation: 56*118=6608, Resulting Numbers: [6608] 6608,83 unequal: No Solution Exploring Operation: 56+118=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 118-56=62, Resulting Numbers: [62] 62,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[49, 125], Operations: ['49+7=56', '69+56=125'] Exploring Operation: 49*125=6125, Resulting Numbers: [6125] 6125,83 unequal: No Solution Exploring Operation: 49+125=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 125-49=76, Resulting Numbers: [76] 76,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[56, 20], Operations: ['49+7=56', '69-49=20'] Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,83 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[69, 7], Operations: ['49+7=56', '56-49=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,83 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[49, 49, 76], Operations: ['69+7=76'] Exploring Operation: 49+49=98, Resulting Numbers: [76, 98] Generated Node #0,1,0: 83:[76, 98] Operation: 49+49=98 Exploring Operation: 49-49=0, Resulting Numbers: [76, 0] Generated Node #0,1,1: 83:[76, 0] Operation: 49-49=0 Exploring Operation: 49/49=1, Resulting Numbers: [76, 1] Generated Node #0,1,2: 83:[76, 1] Operation: 49/49=1 Exploring Operation: 49+76=125, Resulting Numbers: [49, 125] Generated Node #0,1,3: 83:[49, 125] Operation: 49+76=125 Exploring Operation: 49+76=125, Resulting Numbers: [49, 125] Generated Node #0,1,4: 83:[49, 125] Operation: 49+76=125 Moving to Node #0,1,0 Current State: 83:[76, 98], Operations: ['69+7=76', '49+49=98'] Exploring Operation: 76+98=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 76*98=7448, Resulting Numbers: [7448] 7448,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[49, 125], Operations: ['69+7=76', '49+76=125'] Exploring Operation: 49+125=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 125-49=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 49*125=6125, Resulting Numbers: [6125] 6125,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[49, 125], Operations: ['69+7=76', '49+76=125'] Exploring Operation: 49+125=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 125-49=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 49*125=6125, Resulting Numbers: [6125] 6125,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[76, 1], Operations: ['69+7=76', '49/49=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[76, 0], Operations: ['69+7=76', '49-49=0'] Exploring Operation: 76-0=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 76*0=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[49, 69, 56], Operations: ['7+49=56'] Exploring Operation: 69-49=20, Resulting Numbers: [56, 20] Generated Node #0,3,0: 83:[56, 20] Operation: 69-49=20 Exploring Operation: 69+56=125, Resulting Numbers: [49, 125] Generated Node #0,3,1: 83:[49, 125] Operation: 69+56=125 Exploring Operation: 49+56=105, Resulting Numbers: [69, 105] Generated Node #0,3,2: 83:[69, 105] Operation: 49+56=105 Exploring Operation: 49+69=118, Resulting Numbers: [56, 118] Generated Node #0,3,3: 83:[56, 118] Operation: 49+69=118 Exploring Operation: 56-49=7, Resulting Numbers: [69, 7] Generated Node #0,3,4: 83:[69, 7] Operation: 56-49=7 Moving to Node #0,3,2 Current State: 83:[69, 105], Operations: ['7+49=56', '49+56=105'] Exploring Operation: 69*105=7245, Resulting Numbers: [7245] 7245,83 unequal: No Solution Exploring Operation: 105-69=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 69+105=174, Resulting Numbers: [174] 174,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[56, 118], Operations: ['7+49=56', '49+69=118'] Exploring Operation: 56*118=6608, Resulting Numbers: [6608] 6608,83 unequal: No Solution Exploring Operation: 56+118=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 118-56=62, Resulting Numbers: [62] 62,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[49, 125], Operations: ['7+49=56', '69+56=125'] Exploring Operation: 49+125=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 49*125=6125, Resulting Numbers: [6125] 6125,83 unequal: No Solution Exploring Operation: 125-49=76, Resulting Numbers: [76] 76,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[56, 20], Operations: ['7+49=56', '69-49=20'] Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,83 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[69, 7], Operations: ['7+49=56', '56-49=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,83 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[69, 49, 42], Operations: ['49-7=42'] Exploring Operation: 69+42=111, Resulting Numbers: [49, 111] Generated Node #0,2,0: 83:[49, 111] Operation: 69+42=111 Exploring Operation: 49-42=7, Resulting Numbers: [69, 7] Generated Node #0,2,1: 83:[69, 7] Operation: 49-42=7 Exploring Operation: 69+49=118, Resulting Numbers: [42, 118] Generated Node #0,2,2: 83:[42, 118] Operation: 69+49=118 Exploring Operation: 69-42=27, Resulting Numbers: [49, 27] Generated Node #0,2,3: 83:[49, 27] Operation: 69-42=27 Exploring Operation: 49+42=91, Resulting Numbers: [69, 91] Generated Node #0,2,4: 83:[69, 91] Operation: 49+42=91 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 83:[69, 91], Operations: ['49-7=42', '49+42=91'] Exploring Operation: 69*91=6279, Resulting Numbers: [6279] 6279,83 unequal: No Solution Exploring Operation: 91-69=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 69+91=160, Resulting Numbers: [160] 160,83 unequal: No Solution No 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: 83:[49, 111], Operations: ['49-7=42', '69+42=111'] Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 49+111=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 49*111=5439, Resulting Numbers: [5439] 5439,83 unequal: No Solution No 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: 83:[42, 118], Operations: ['49-7=42', '69+49=118'] Exploring Operation: 42+118=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 118-42=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 42*118=4956, Resulting Numbers: [4956] 4956,83 unequal: No Solution No 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: 83:[69, 7], Operations: ['49-7=42', '49-42=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,83 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,83 unequal: No Solution No 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: 83:[49, 27], Operations: ['49-7=42', '69-42=27'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,83 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: 83:[49, 49, 62], Operations: ['69-7=62'] Exploring Operation: 49-49=0, Resulting Numbers: [62, 0] Generated Node #0,4,0: 83:[62, 0] Operation: 49-49=0 Exploring Operation: 49+49=98, Resulting Numbers: [62, 98] Generated Node #0,4,1: 83:[62, 98] Operation: 49+49=98 Exploring Operation: 49+62=111, Resulting Numbers: [49, 111] Generated Node #0,4,2: 83:[49, 111] Operation: 49+62=111 Exploring Operation: 49+62=111, Resulting Numbers: [49, 111] Generated Node #0,4,3: 83:[49, 111] Operation: 49+62=111 Exploring Operation: 49/49=1, Resulting Numbers: [62, 1] Generated Node #0,4,4: 83:[62, 1] Operation: 49/49=1 Moving to Node #0,4,1 Current State: 83:[62, 98], Operations: ['69-7=62', '49+49=98'] Exploring Operation: 62+98=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 62*98=6076, Resulting Numbers: [6076] 6076,83 unequal: No Solution Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[49, 111], Operations: ['69-7=62', '49+62=111'] Exploring Operation: 49+111=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 49*111=5439, Resulting Numbers: [5439] 5439,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[49, 111], Operations: ['69-7=62', '49+62=111'] Exploring Operation: 49*111=5439, Resulting Numbers: [5439] 5439,83 unequal: No Solution Exploring Operation: 49+111=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[62, 1], Operations: ['69-7=62', '49/49=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[62, 0], Operations: ['69-7=62', '49-49=0'] Exploring Operation: 62*0=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 62-0=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 17, 86, 51, 9 ]
16
[ "17*9=153", "86+51=137", "153-137=16" ]
Current State: 16:[17, 86, 51, 9], Operations: [] Exploring Operation: 17*9=153, Resulting Numbers: [86, 51, 153] Generated Node #2: [86, 51, 153] from Operation: 17*9=153 Current State: 16:[86, 51, 153], Operations: ['17*9=153'] Exploring Operation: 86+51=137, Resulting Numbers: [153, 137] Generated Node #3: [153, 137] from Operation: 86+51=137 Current State: 16:[153, 137], Operations: ['17*9=153', '86+51=137'] Exploring Operation: 153-137=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[17, 86, 51, 9], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [86, 9, 3] Generated Node #0,0: 16:[86, 9, 3] Operation: 51/17=3 Exploring Operation: 86-51=35, Resulting Numbers: [17, 9, 35] Generated Node #0,1: 16:[17, 9, 35] Operation: 86-51=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[17, 9, 35], Operations: ['86-51=35'] Exploring Operation: 35-17=18, Resulting Numbers: [9, 18] Generated Node #0,1,0: 16:[9, 18] Operation: 35-17=18 Exploring Operation: 35-9=26, Resulting Numbers: [17, 26] Generated Node #0,1,1: 16:[17, 26] Operation: 35-9=26 Moving to Node #0,1,0 Current State: 16:[9, 18], Operations: ['86-51=35', '35-17=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[17, 26], Operations: ['86-51=35', '35-9=26'] Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[86, 9, 3], Operations: ['51/17=3'] Exploring Operation: 86-3=83, Resulting Numbers: [9, 83] Generated Node #0,0,0: 16:[9, 83] Operation: 86-3=83 Exploring Operation: 86-9=77, Resulting Numbers: [3, 77] Generated Node #0,0,1: 16:[3, 77] Operation: 86-9=77 Moving to Node #0,0,1 Current State: 16:[3, 77], Operations: ['51/17=3', '86-9=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,16 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[9, 83], Operations: ['51/17=3', '86-3=83'] Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,16 unequal: No Solution Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,16 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
[ 60, 66, 66, 3 ]
28
[ "66-60=6", "66/3=22", "6+22=28" ]
Current State: 28:[60, 66, 66, 3], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [3, 6] Generated Node #2: [3, 6] from Operation: 66-60=6 Current State: 28:[3, 6], Operations: ['66-60=6'] Exploring Operation: 66/3=22, Resulting Numbers: [6, 22] Generated Node #3: [6, 22] from Operation: 66/3=22 Current State: 28:[6, 22], Operations: ['66-60=6', '66/3=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[60, 66, 66, 3], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [66, 3, 6] Generated Node #0,0: 28:[66, 3, 6] Operation: 66-60=6 Exploring Operation: 66-60=6, Resulting Numbers: [66, 3, 6] Generated Node #0,1: 28:[66, 3, 6] Operation: 66-60=6 Exploring Operation: 66/66=1, Resulting Numbers: [60, 3, 1] Generated Node #0,2: 28:[60, 3, 1] Operation: 66/66=1 Exploring Operation: 66-66=0, Resulting Numbers: [60, 3, 0] Generated Node #0,3: 28:[60, 3, 0] Operation: 66-66=0 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[60, 3, 1], Operations: ['66/66=1'] Exploring Operation: 3+1=4, Resulting Numbers: [60, 4] Generated Node #0,2,0: 28:[60, 4] Operation: 3+1=4 Exploring Operation: 60-3=57, Resulting Numbers: [1, 57] Generated Node #0,2,1: 28:[1, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [1, 20] Generated Node #0,2,2: 28:[1, 20] Operation: 60/3=20 Exploring Operation: 60-1=59, Resulting Numbers: [3, 59] Generated Node #0,2,3: 28:[3, 59] Operation: 60-1=59 Moving to Node #0,2,2 Current State: 28:[1, 20], Operations: ['66/66=1', '60/3=20'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[1, 57], Operations: ['66/66=1', '60-3=57'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[3, 59], Operations: ['66/66=1', '60-1=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,28 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[60, 4], Operations: ['66/66=1', '3+1=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,28 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[60, 3, 0], Operations: ['66-66=0'] Exploring Operation: 60/3=20, Resulting Numbers: [0, 20] Generated Node #0,3,0: 28:[0, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [0, 57] Generated Node #0,3,1: 28:[0, 57] Operation: 60-3=57 Exploring Operation: 60*0=0, Resulting Numbers: [3, 0] Generated Node #0,3,2: 28:[3, 0] Operation: 60*0=0 Exploring Operation: 60+0=60, Resulting Numbers: [3, 60] Generated Node #0,3,3: 28:[3, 60] Operation: 60+0=60 Moving to Node #0,3,2 Current State: 28:[3, 0], Operations: ['66-66=0', '60*0=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[0, 20], Operations: ['66-66=0', '60/3=20'] Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 0+20=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 0*20=0, Resulting Numbers: [0] 0,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[0, 57], Operations: ['66-66=0', '60-3=57'] Exploring Operation: 0*57=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 0+57=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 57-0=57, Resulting Numbers: [57] 57,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[3, 60], Operations: ['66-66=0', '60+0=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,28 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[66, 3, 6], Operations: ['66-60=6'] Exploring Operation: 66/3=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 28:[6, 22] Operation: 66/3=22 Exploring Operation: 66/6=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 28:[3, 11] Operation: 66/6=11 Exploring Operation: 66-3=63, Resulting Numbers: [6, 63] Generated Node #0,0,2: 28:[6, 63] Operation: 66-3=63 Exploring Operation: 66-6=60, Resulting Numbers: [3, 60] Generated Node #0,0,3: 28:[3, 60] Operation: 66-6=60 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[3, 11], Operations: ['66-60=6', '66/6=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[6, 22], Operations: ['66-60=6', '66/3=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,28 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[60, 66, 66, 3], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [66, 3, 6] Generated Node #0,0: 28:[66, 3, 6] Operation: 66-60=6 Moving to Node #0,0 Current State: 28:[66, 3, 6], Operations: ['66-60=6'] Exploring Operation: 66/3=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 28:[6, 22] Operation: 66/3=22 Moving to Node #0,0,0 Current State: 28:[6, 22], Operations: ['66-60=6', '66/3=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic