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
[ 82, 8, 87, 24 ]
64
[ "87-82=5", "8*5=40", "24+40=64" ]
Current State: 64:[82, 8, 87, 24], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [8, 24, 5] Generated Node #2: [8, 24, 5] from Operation: 87-82=5 Current State: 64:[8, 24, 5], Operations: ['87-82=5'] Exploring Operation: 8*5=40, Resulting Numbers: [24, 40] Generated Node #3: [24, 40] from Operation: 8*5=40 Current State: 64:[24, 40], Operations: ['87-82=5', '8*5=40'] Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[82, 8, 87, 24], Operations: [] Exploring Operation: 82-24=58, Resulting Numbers: [8, 87, 58] Generated Node #0,0: 64:[8, 87, 58] Operation: 82-24=58 Exploring Operation: 87-24=63, Resulting Numbers: [82, 8, 63] Generated Node #0,1: 64:[82, 8, 63] Operation: 87-24=63 Exploring Operation: 87-82=5, Resulting Numbers: [8, 24, 5] Generated Node #0,2: 64:[8, 24, 5] Operation: 87-82=5 Moving to Node #0,2 Current State: 64:[8, 24, 5], Operations: ['87-82=5'] Exploring Operation: 24/8=3, Resulting Numbers: [5, 3] Generated Node #0,2,0: 64:[5, 3] Operation: 24/8=3 Exploring Operation: 24-8=16, Resulting Numbers: [5, 16] Generated Node #0,2,1: 64:[5, 16] Operation: 24-8=16 Exploring Operation: 8+24=32, Resulting Numbers: [5, 32] Generated Node #0,2,2: 64:[5, 32] Operation: 8+24=32 Moving to Node #0,1 Current State: 64:[82, 8, 63], Operations: ['87-24=63'] Exploring Operation: 82-8=74, Resulting Numbers: [63, 74] Generated Node #0,1,0: 64:[63, 74] Operation: 82-8=74 Exploring Operation: 8+63=71, Resulting Numbers: [82, 71] Generated Node #0,1,1: 64:[82, 71] Operation: 8+63=71 Exploring Operation: 82-63=19, Resulting Numbers: [8, 19] Generated Node #0,1,2: 64:[8, 19] Operation: 82-63=19 Moving to Node #0,0 Current State: 64:[8, 87, 58], Operations: ['82-24=58'] Exploring Operation: 87-58=29, Resulting Numbers: [8, 29] Generated Node #0,0,0: 64:[8, 29] Operation: 87-58=29 Exploring Operation: 8+58=66, Resulting Numbers: [87, 66] Generated Node #0,0,1: 64:[87, 66] Operation: 8+58=66 Exploring Operation: 87-8=79, Resulting Numbers: [58, 79] Generated Node #0,0,2: 64:[58, 79] Operation: 87-8=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[8, 29], Operations: ['82-24=58', '87-58=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[58, 79], Operations: ['82-24=58', '87-8=79'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 58+79=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 58*79=4582, Resulting Numbers: [4582] 4582,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[87, 66], Operations: ['82-24=58', '8+58=66'] Exploring Operation: 87+66=153, Resulting Numbers: [153] 153,64 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 87*66=5742, Resulting Numbers: [5742] 5742,64 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: 64:[5, 16], Operations: ['87-82=5', '24-8=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,64 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[5, 32], Operations: ['87-82=5', '8+24=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,64 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[5, 3], Operations: ['87-82=5', '24/8=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[8, 19], Operations: ['87-24=63', '82-63=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[63, 74], Operations: ['87-24=63', '82-8=74'] Exploring Operation: 63*74=4662, Resulting Numbers: [4662] 4662,64 unequal: No Solution Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[82, 71], Operations: ['87-24=63', '8+63=71'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 82*71=5822, Resulting Numbers: [5822] 5822,64 unequal: No Solution Exploring Operation: 82+71=153, Resulting Numbers: [153] 153,64 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 26, 41, 25, 37 ]
63
[ "26*37=962", "41*25=1025", "1025-962=63" ]
Current State: 63:[26, 41, 25, 37], Operations: [] Exploring Operation: 26*37=962, Resulting Numbers: [41, 25, 962] Generated Node #2: [41, 25, 962] from Operation: 26*37=962 Current State: 63:[41, 25, 962], Operations: ['26*37=962'] Exploring Operation: 41*25=1025, Resulting Numbers: [962, 1025] Generated Node #3: [962, 1025] from Operation: 41*25=1025 Current State: 63:[962, 1025], Operations: ['26*37=962', '41*25=1025'] Exploring Operation: 1025-962=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[26, 41, 25, 37], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [26, 25, 4] Generated Node #0,0: 63:[26, 25, 4] Operation: 41-37=4 Moving to Node #0,0 Current State: 63:[26, 25, 4], Operations: ['41-37=4'] Exploring Operation: 26-25=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 63:[4, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[4, 1], Operations: ['41-37=4', '26-25=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,63 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
[ 11, 3, 77, 17 ]
86
[ "11-3=8", "77+17=94", "94-8=86" ]
Current State: 86:[11, 3, 77, 17], Operations: [] Exploring Operation: 11-3=8, Resulting Numbers: [77, 17, 8] Generated Node #2: [77, 17, 8] from Operation: 11-3=8 Current State: 86:[77, 17, 8], Operations: ['11-3=8'] Exploring Operation: 77+17=94, Resulting Numbers: [8, 94] Generated Node #3: [8, 94] from Operation: 77+17=94 Current State: 86:[8, 94], Operations: ['11-3=8', '77+17=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[11, 3, 77, 17], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [3, 77, 6] Generated Node #0,0: 86:[3, 77, 6] Operation: 17-11=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[3, 77, 6], Operations: ['17-11=6'] Exploring Operation: 77+6=83, Resulting Numbers: [3, 83] Generated Node #0,0,0: 86:[3, 83] Operation: 77+6=83 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[3, 83], Operations: ['17-11=6', '77+6=83'] Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[11, 3, 77, 17], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [3, 77, 6] Generated Node #0,0: 86:[3, 77, 6] Operation: 17-11=6 Moving to Node #0,0 Current State: 86:[3, 77, 6], Operations: ['17-11=6'] Exploring Operation: 77+6=83, Resulting Numbers: [3, 83] Generated Node #0,0,0: 86:[3, 83] Operation: 77+6=83 Moving to Node #0,0,0 Current State: 86:[3, 83], Operations: ['17-11=6', '77+6=83'] Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 74, 92, 46, 94 ]
83
[ "94-92=2", "74/2=37", "46+37=83" ]
Current State: 83:[74, 92, 46, 94], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [74, 46, 2] Generated Node #2: [74, 46, 2] from Operation: 94-92=2 Current State: 83:[74, 46, 2], Operations: ['94-92=2'] Exploring Operation: 74/2=37, Resulting Numbers: [46, 37] Generated Node #3: [46, 37] from Operation: 74/2=37 Current State: 83:[46, 37], Operations: ['94-92=2', '74/2=37'] Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[74, 92, 46, 94], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [92, 94, 28] Generated Node #0,0: 83:[92, 94, 28] Operation: 74-46=28 Exploring Operation: 92-46=46, Resulting Numbers: [74, 94, 46] Generated Node #0,1: 83:[74, 94, 46] Operation: 92-46=46 Exploring Operation: 94-46=48, Resulting Numbers: [74, 92, 48] Generated Node #0,2: 83:[74, 92, 48] Operation: 94-46=48 Exploring Operation: 74+46=120, Resulting Numbers: [92, 94, 120] Generated Node #0,3: 83:[92, 94, 120] Operation: 74+46=120 Moving to Node #0,2 Current State: 83:[74, 92, 48], Operations: ['94-46=48'] Exploring Operation: 74-48=26, Resulting Numbers: [92, 26] Generated Node #0,2,0: 83:[92, 26] Operation: 74-48=26 Exploring Operation: 92-48=44, Resulting Numbers: [74, 44] Generated Node #0,2,1: 83:[74, 44] Operation: 92-48=44 Exploring Operation: 74+48=122, Resulting Numbers: [92, 122] Generated Node #0,2,2: 83:[92, 122] Operation: 74+48=122 Exploring Operation: 92+48=140, Resulting Numbers: [74, 140] Generated Node #0,2,3: 83:[74, 140] Operation: 92+48=140 Moving to Node #0,3 Current State: 83:[92, 94, 120], Operations: ['74+46=120'] Exploring Operation: 120-92=28, Resulting Numbers: [94, 28] Generated Node #0,3,0: 83:[94, 28] Operation: 120-92=28 Exploring Operation: 94-92=2, Resulting Numbers: [120, 2] Generated Node #0,3,1: 83:[120, 2] Operation: 94-92=2 Exploring Operation: 120-94=26, Resulting Numbers: [92, 26] Generated Node #0,3,2: 83:[92, 26] Operation: 120-94=26 Exploring Operation: 92+94=186, Resulting Numbers: [120, 186] Generated Node #0,3,3: 83:[120, 186] Operation: 92+94=186 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[94, 28], Operations: ['74+46=120', '120-92=28'] Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,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,2 Current State: 83:[92, 26], Operations: ['74+46=120', '120-94=26'] Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,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,1 Current State: 83:[120, 2], Operations: ['74+46=120', '94-92=2'] Exploring Operation: 120-2=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 120*2=240, Resulting Numbers: [240] 240,83 unequal: No Solution Exploring Operation: 120/2=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 120+2=122, Resulting Numbers: [122] 122,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,3 Current State: 83:[120, 186], Operations: ['74+46=120', '92+94=186'] Exploring Operation: 120+186=306, Resulting Numbers: [306] 306,83 unequal: No Solution Exploring Operation: 120*186=22320, Resulting Numbers: [22320] 22320,83 unequal: No Solution Exploring Operation: 186-120=66, Resulting Numbers: [66] 66,83 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: 83:[74, 94, 46], Operations: ['92-46=46'] Exploring Operation: 74+46=120, Resulting Numbers: [94, 120] Generated Node #0,1,0: 83:[94, 120] Operation: 74+46=120 Exploring Operation: 94+46=140, Resulting Numbers: [74, 140] Generated Node #0,1,1: 83:[74, 140] Operation: 94+46=140 Exploring Operation: 94-46=48, Resulting Numbers: [74, 48] Generated Node #0,1,2: 83:[74, 48] Operation: 94-46=48 Exploring Operation: 74-46=28, Resulting Numbers: [94, 28] Generated Node #0,1,3: 83:[94, 28] Operation: 74-46=28 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[74, 48], Operations: ['92-46=46', '94-46=48'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,83 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,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,0 Current State: 83:[94, 120], Operations: ['92-46=46', '74+46=120'] Exploring Operation: 120-94=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 94+120=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 94*120=11280, Resulting Numbers: [11280] 11280,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,1 Current State: 83:[74, 140], Operations: ['92-46=46', '94+46=140'] Exploring Operation: 74*140=10360, Resulting Numbers: [10360] 10360,83 unequal: No Solution Exploring Operation: 74+140=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 140-74=66, Resulting Numbers: [66] 66,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,3 Current State: 83:[94, 28], Operations: ['92-46=46', '74-46=28'] Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,83 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,83 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: 83:[92, 94, 28], Operations: ['74-46=28'] Exploring Operation: 92+28=120, Resulting Numbers: [94, 120] Generated Node #0,0,0: 83:[94, 120] Operation: 92+28=120 Exploring Operation: 94-28=66, Resulting Numbers: [92, 66] Generated Node #0,0,1: 83:[92, 66] Operation: 94-28=66 Exploring Operation: 94+28=122, Resulting Numbers: [92, 122] Generated Node #0,0,2: 83:[92, 122] Operation: 94+28=122 Exploring Operation: 92-28=64, Resulting Numbers: [94, 64] Generated Node #0,0,3: 83:[94, 64] Operation: 92-28=64 Moving to Node #0,0,1 Current State: 83:[92, 66], Operations: ['74-46=28', '94-28=66'] Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 92*66=6072, Resulting Numbers: [6072] 6072,83 unequal: No Solution Exploring Operation: 92+66=158, Resulting Numbers: [158] 158,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[94, 64], Operations: ['74-46=28', '92-28=64'] Exploring Operation: 94+64=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 94*64=6016, Resulting Numbers: [6016] 6016,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[94, 120], Operations: ['74-46=28', '92+28=120'] Exploring Operation: 94+120=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 94*120=11280, Resulting Numbers: [11280] 11280,83 unequal: No Solution Exploring Operation: 120-94=26, Resulting Numbers: [26] 26,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[74, 44], Operations: ['94-46=48', '92-48=44'] Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,83 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[92, 122], Operations: ['94-46=48', '74+48=122'] Exploring Operation: 92+122=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 122-92=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 92*122=11224, Resulting Numbers: [11224] 11224,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[92, 122], Operations: ['74-46=28', '94+28=122'] Exploring Operation: 92*122=11224, Resulting Numbers: [11224] 11224,83 unequal: No Solution Exploring Operation: 122-92=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 92+122=214, Resulting Numbers: [214] 214,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[74, 140], Operations: ['94-46=48', '92+48=140'] Exploring Operation: 74+140=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 74*140=10360, Resulting Numbers: [10360] 10360,83 unequal: No Solution Exploring Operation: 140-74=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[92, 26], Operations: ['94-46=48', '74-48=26'] Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,83 unequal: No Solution Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,83 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 4, 75, 58, 50 ]
93
[ "4+58=62", "75*62=4650", "4650/50=93" ]
Current State: 93:[4, 75, 58, 50], Operations: [] Exploring Operation: 4+58=62, Resulting Numbers: [75, 50, 62] Generated Node #2: [75, 50, 62] from Operation: 4+58=62 Current State: 93:[75, 50, 62], Operations: ['4+58=62'] Exploring Operation: 75*62=4650, Resulting Numbers: [50, 4650] Generated Node #3: [50, 4650] from Operation: 75*62=4650 Current State: 93:[50, 4650], Operations: ['4+58=62', '75*62=4650'] Exploring Operation: 4650/50=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[4, 75, 58, 50], Operations: [] Exploring Operation: 58-50=8, Resulting Numbers: [4, 75, 8] Generated Node #0,0: 93:[4, 75, 8] Operation: 58-50=8 Exploring Operation: 75-58=17, Resulting Numbers: [4, 50, 17] Generated Node #0,1: 93:[4, 50, 17] Operation: 75-58=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[4, 75, 8], Operations: ['58-50=8'] Exploring Operation: 4+75=79, Resulting Numbers: [8, 79] Generated Node #0,0,0: 93:[8, 79] Operation: 4+75=79 Exploring Operation: 75+8=83, Resulting Numbers: [4, 83] Generated Node #0,0,1: 93:[4, 83] Operation: 75+8=83 Moving to Node #0,0,1 Current State: 93:[4, 83], Operations: ['58-50=8', '75+8=83'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,93 unequal: No Solution Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[8, 79], Operations: ['58-50=8', '4+75=79'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[4, 50, 17], Operations: ['75-58=17'] Exploring Operation: 50-17=33, Resulting Numbers: [4, 33] Generated Node #0,1,0: 93:[4, 33] Operation: 50-17=33 Exploring Operation: 50+17=67, Resulting Numbers: [4, 67] Generated Node #0,1,1: 93:[4, 67] Operation: 50+17=67 Moving to Node #0,1,0 Current State: 93:[4, 33], Operations: ['75-58=17', '50-17=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[4, 67], Operations: ['75-58=17', '50+17=67'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,93 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
[ 5, 78, 85, 81 ]
79
[ "5+78=83", "85-81=4", "83-4=79" ]
Current State: 79:[5, 78, 85, 81], Operations: [] Exploring Operation: 5+78=83, Resulting Numbers: [85, 81, 83] Generated Node #2: [85, 81, 83] from Operation: 5+78=83 Current State: 79:[85, 81, 83], Operations: ['5+78=83'] Exploring Operation: 85-81=4, Resulting Numbers: [83, 4] Generated Node #3: [83, 4] from Operation: 85-81=4 Current State: 79:[83, 4], Operations: ['5+78=83', '85-81=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[5, 78, 85, 81], Operations: [] Exploring Operation: 85-5=80, Resulting Numbers: [78, 81, 80] Generated Node #0,0: 79:[78, 81, 80] Operation: 85-5=80 Exploring Operation: 5+78=83, Resulting Numbers: [85, 81, 83] Generated Node #0,1: 79:[85, 81, 83] Operation: 5+78=83 Exploring Operation: 81-5=76, Resulting Numbers: [78, 85, 76] Generated Node #0,2: 79:[78, 85, 76] Operation: 81-5=76 Exploring Operation: 78-5=73, Resulting Numbers: [85, 81, 73] Generated Node #0,3: 79:[85, 81, 73] Operation: 78-5=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[78, 81, 80], Operations: ['85-5=80'] Exploring Operation: 80-78=2, Resulting Numbers: [81, 2] Generated Node #0,0,0: 79:[81, 2] Operation: 80-78=2 Exploring Operation: 81-80=1, Resulting Numbers: [78, 1] Generated Node #0,0,1: 79:[78, 1] Operation: 81-80=1 Exploring Operation: 78+81=159, Resulting Numbers: [80, 159] Generated Node #0,0,2: 79:[80, 159] Operation: 78+81=159 Exploring Operation: 81-78=3, Resulting Numbers: [80, 3] Generated Node #0,0,3: 79:[80, 3] Operation: 81-78=3 Moving to Node #0,0,3 Current State: 79:[80, 3], Operations: ['85-5=80', '81-78=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,79 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,79 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[78, 1], Operations: ['85-5=80', '81-80=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[5, 78, 85, 81], Operations: [] Exploring Operation: 85-5=80, Resulting Numbers: [78, 81, 80] Generated Node #0,0: 79:[78, 81, 80] Operation: 85-5=80 Moving to Node #0,0 Current State: 79:[78, 81, 80], Operations: ['85-5=80'] Exploring Operation: 81-80=1, Resulting Numbers: [78, 1] Generated Node #0,0,1: 79:[78, 1] Operation: 81-80=1 Moving to Node #0,0,1 Current State: 79:[78, 1], Operations: ['85-5=80', '81-80=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 15, 47, 67, 65 ]
34
[ "47-15=32", "67-65=2", "32+2=34" ]
Current State: 34:[15, 47, 67, 65], Operations: [] Exploring Operation: 47-15=32, Resulting Numbers: [67, 65, 32] Generated Node #2: [67, 65, 32] from Operation: 47-15=32 Current State: 34:[67, 65, 32], Operations: ['47-15=32'] Exploring Operation: 67-65=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 67-65=2 Current State: 34:[32, 2], Operations: ['47-15=32', '67-65=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[15, 47, 67, 65], Operations: [] Exploring Operation: 67-47=20, Resulting Numbers: [15, 65, 20] Generated Node #0,0: 34:[15, 65, 20] Operation: 67-47=20 Exploring Operation: 65-47=18, Resulting Numbers: [15, 67, 18] Generated Node #0,1: 34:[15, 67, 18] Operation: 65-47=18 Exploring Operation: 67-65=2, Resulting Numbers: [15, 47, 2] Generated Node #0,2: 34:[15, 47, 2] Operation: 67-65=2 Exploring Operation: 67-15=52, Resulting Numbers: [47, 65, 52] Generated Node #0,3: 34:[47, 65, 52] Operation: 67-15=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[15, 47, 2], Operations: ['67-65=2'] Exploring Operation: 15+2=17, Resulting Numbers: [47, 17] Generated Node #0,2,0: 34:[47, 17] Operation: 15+2=17 Exploring Operation: 47-2=45, Resulting Numbers: [15, 45] Generated Node #0,2,1: 34:[15, 45] Operation: 47-2=45 Exploring Operation: 47-15=32, Resulting Numbers: [2, 32] Generated Node #0,2,2: 34:[2, 32] Operation: 47-15=32 Exploring Operation: 15*2=30, Resulting Numbers: [47, 30] Generated Node #0,2,3: 34:[47, 30] Operation: 15*2=30 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[2, 32], Operations: ['67-65=2', '47-15=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[15, 47, 67, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [15, 47, 2] Generated Node #0,2: 34:[15, 47, 2] Operation: 67-65=2 Moving to Node #0,2 Current State: 34:[15, 47, 2], Operations: ['67-65=2'] Exploring Operation: 47-15=32, Resulting Numbers: [2, 32] Generated Node #0,2,2: 34:[2, 32] Operation: 47-15=32 Moving to Node #0,2,2 Current State: 34:[2, 32], Operations: ['67-65=2', '47-15=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 42, 92, 47, 8 ]
45
[ "92-8=84", "84/42=2", "47-2=45" ]
Current State: 45:[42, 92, 47, 8], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [42, 47, 84] Generated Node #2: [42, 47, 84] from Operation: 92-8=84 Current State: 45:[42, 47, 84], Operations: ['92-8=84'] Exploring Operation: 84/42=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 84/42=2 Current State: 45:[47, 2], Operations: ['92-8=84', '84/42=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[42, 92, 47, 8], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [42, 8, 45] Generated Node #0,0: 45:[42, 8, 45] Operation: 92-47=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[42, 8, 45], Operations: ['92-47=45'] Exploring Operation: 45-42=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 45:[8, 3] Operation: 45-42=3 Moving to Node #0,0,0 Current State: 45:[8, 3], Operations: ['92-47=45', '45-42=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,45 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
[ 80, 18, 50, 82 ]
10
[ "18*50=900", "900-80=820", "820/82=10" ]
Current State: 10:[80, 18, 50, 82], Operations: [] Exploring Operation: 18*50=900, Resulting Numbers: [80, 82, 900] Generated Node #2: [80, 82, 900] from Operation: 18*50=900 Current State: 10:[80, 82, 900], Operations: ['18*50=900'] Exploring Operation: 900-80=820, Resulting Numbers: [82, 820] Generated Node #3: [82, 820] from Operation: 900-80=820 Current State: 10:[82, 820], Operations: ['18*50=900', '900-80=820'] Exploring Operation: 820/82=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[80, 18, 50, 82], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [18, 50, 2] Generated Node #0,0: 10:[18, 50, 2] Operation: 82-80=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[18, 50, 2], Operations: ['82-80=2'] Exploring Operation: 50-18=32, Resulting Numbers: [2, 32] Generated Node #0,0,0: 10:[2, 32] Operation: 50-18=32 Moving to Node #0,0,0 Current State: 10:[2, 32], Operations: ['82-80=2', '50-18=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 15, 19, 53, 10 ]
13
[ "19-15=4", "10*4=40", "53-40=13" ]
Current State: 13:[15, 19, 53, 10], Operations: [] Exploring Operation: 19-15=4, Resulting Numbers: [53, 10, 4] Generated Node #2: [53, 10, 4] from Operation: 19-15=4 Current State: 13:[53, 10, 4], Operations: ['19-15=4'] Exploring Operation: 10*4=40, Resulting Numbers: [53, 40] Generated Node #3: [53, 40] from Operation: 10*4=40 Current State: 13:[53, 40], Operations: ['19-15=4', '10*4=40'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[15, 19, 53, 10], Operations: [] Exploring Operation: 53-10=43, Resulting Numbers: [15, 19, 43] Generated Node #0,0: 13:[15, 19, 43] Operation: 53-10=43 Exploring Operation: 53-19=34, Resulting Numbers: [15, 10, 34] Generated Node #0,1: 13:[15, 10, 34] Operation: 53-19=34 Exploring Operation: 53-15=38, Resulting Numbers: [19, 10, 38] Generated Node #0,2: 13:[19, 10, 38] Operation: 53-15=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[15, 10, 34], Operations: ['53-19=34'] Exploring Operation: 15-10=5, Resulting Numbers: [34, 5] Generated Node #0,1,0: 13:[34, 5] Operation: 15-10=5 Exploring Operation: 34-15=19, Resulting Numbers: [10, 19] Generated Node #0,1,1: 13:[10, 19] Operation: 34-15=19 Exploring Operation: 34-10=24, Resulting Numbers: [15, 24] Generated Node #0,1,2: 13:[15, 24] Operation: 34-10=24 Moving to Node #0,1,1 Current State: 13:[10, 19], Operations: ['53-19=34', '34-15=19'] Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,13 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[15, 24], Operations: ['53-19=34', '34-10=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,13 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[34, 5], Operations: ['53-19=34', '15-10=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[19, 10, 38], Operations: ['53-15=38'] Exploring Operation: 38/19=2, Resulting Numbers: [10, 2] Generated Node #0,2,0: 13:[10, 2] Operation: 38/19=2 Exploring Operation: 38-10=28, Resulting Numbers: [19, 28] Generated Node #0,2,1: 13:[19, 28] Operation: 38-10=28 Exploring Operation: 38-19=19, Resulting Numbers: [10, 19] Generated Node #0,2,2: 13:[10, 19] Operation: 38-19=19 Moving to Node #0,2,2 Current State: 13:[10, 19], Operations: ['53-15=38', '38-19=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,13 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[10, 2], Operations: ['53-15=38', '38/19=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[19, 28], Operations: ['53-15=38', '38-10=28'] Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,13 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[15, 19, 43], Operations: ['53-10=43'] Exploring Operation: 43-15=28, Resulting Numbers: [19, 28] Generated Node #0,0,0: 13:[19, 28] Operation: 43-15=28 Exploring Operation: 43-19=24, Resulting Numbers: [15, 24] Generated Node #0,0,1: 13:[15, 24] Operation: 43-19=24 Exploring Operation: 19-15=4, Resulting Numbers: [43, 4] Generated Node #0,0,2: 13:[43, 4] Operation: 19-15=4 Moving to Node #0,0,1 Current State: 13:[15, 24], Operations: ['53-10=43', '43-19=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,13 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[19, 28], Operations: ['53-10=43', '43-15=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,13 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[43, 4], Operations: ['53-10=43', '19-15=4'] Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,13 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 54, 23, 5, 31 ]
40
[ "54+31=85", "85/5=17", "23+17=40" ]
Current State: 40:[54, 23, 5, 31], Operations: [] Exploring Operation: 54+31=85, Resulting Numbers: [23, 5, 85] Generated Node #2: [23, 5, 85] from Operation: 54+31=85 Current State: 40:[23, 5, 85], Operations: ['54+31=85'] Exploring Operation: 85/5=17, Resulting Numbers: [23, 17] Generated Node #3: [23, 17] from Operation: 85/5=17 Current State: 40:[23, 17], Operations: ['54+31=85', '85/5=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[54, 23, 5, 31], Operations: [] Exploring Operation: 54-31=23, Resulting Numbers: [23, 5, 23] Generated Node #0,0: 40:[23, 5, 23] Operation: 54-31=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[23, 5, 23], Operations: ['54-31=23'] Exploring Operation: 23/23=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 40:[5, 1] Operation: 23/23=1 Moving to Node #0,0,0 Current State: 40:[5, 1], Operations: ['54-31=23', '23/23=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,40 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
[ 46, 63, 71, 40 ]
73
[ "63-40=23", "46/23=2", "71+2=73" ]
Current State: 73:[46, 63, 71, 40], Operations: [] Exploring Operation: 63-40=23, Resulting Numbers: [46, 71, 23] Generated Node #2: [46, 71, 23] from Operation: 63-40=23 Current State: 73:[46, 71, 23], Operations: ['63-40=23'] Exploring Operation: 46/23=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 46/23=2 Current State: 73:[71, 2], Operations: ['63-40=23', '46/23=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[46, 63, 71, 40], Operations: [] Exploring Operation: 46+40=86, Resulting Numbers: [63, 71, 86] Generated Node #0,0: 73:[63, 71, 86] Operation: 46+40=86 Exploring Operation: 71+40=111, Resulting Numbers: [46, 63, 111] Generated Node #0,1: 73:[46, 63, 111] Operation: 71+40=111 Exploring Operation: 63+40=103, Resulting Numbers: [46, 71, 103] Generated Node #0,2: 73:[46, 71, 103] Operation: 63+40=103 Exploring Operation: 46+63=109, Resulting Numbers: [71, 40, 109] Generated Node #0,3: 73:[71, 40, 109] Operation: 46+63=109 Moving to Node #0,0 Current State: 73:[63, 71, 86], Operations: ['46+40=86'] Exploring Operation: 71-63=8, Resulting Numbers: [86, 8] Generated Node #0,0,0: 73:[86, 8] Operation: 71-63=8 Exploring Operation: 86-71=15, Resulting Numbers: [63, 15] Generated Node #0,0,1: 73:[63, 15] Operation: 86-71=15 Exploring Operation: 86-63=23, Resulting Numbers: [71, 23] Generated Node #0,0,2: 73:[71, 23] Operation: 86-63=23 Exploring Operation: 63+71=134, Resulting Numbers: [86, 134] Generated Node #0,0,3: 73:[86, 134] Operation: 63+71=134 Moving to Node #0,2 Current State: 73:[46, 71, 103], Operations: ['63+40=103'] Exploring Operation: 71-46=25, Resulting Numbers: [103, 25] Generated Node #0,2,0: 73:[103, 25] Operation: 71-46=25 Exploring Operation: 103-46=57, Resulting Numbers: [71, 57] Generated Node #0,2,1: 73:[71, 57] Operation: 103-46=57 Exploring Operation: 103-71=32, Resulting Numbers: [46, 32] Generated Node #0,2,2: 73:[46, 32] Operation: 103-71=32 Exploring Operation: 46+71=117, Resulting Numbers: [103, 117] Generated Node #0,2,3: 73:[103, 117] Operation: 46+71=117 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[71, 57], Operations: ['63+40=103', '103-46=57'] Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 71+57=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 71*57=4047, Resulting Numbers: [4047] 4047,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[46, 32], Operations: ['63+40=103', '103-71=32'] Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,73 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,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:[103, 117], Operations: ['63+40=103', '46+71=117'] Exploring Operation: 103*117=12051, Resulting Numbers: [12051] 12051,73 unequal: No Solution Exploring Operation: 103+117=220, Resulting Numbers: [220] 220,73 unequal: No Solution Exploring Operation: 117-103=14, Resulting Numbers: [14] 14,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:[103, 25], Operations: ['63+40=103', '71-46=25'] Exploring Operation: 103+25=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 103-25=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 103*25=2575, Resulting Numbers: [2575] 2575,73 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: 73:[71, 40, 109], Operations: ['46+63=109'] Exploring Operation: 71+40=111, Resulting Numbers: [109, 111] Generated Node #0,3,0: 73:[109, 111] Operation: 71+40=111 Exploring Operation: 109-71=38, Resulting Numbers: [40, 38] Generated Node #0,3,1: 73:[40, 38] Operation: 109-71=38 Exploring Operation: 109-40=69, Resulting Numbers: [71, 69] Generated Node #0,3,2: 73:[71, 69] Operation: 109-40=69 Exploring Operation: 71-40=31, Resulting Numbers: [109, 31] Generated Node #0,3,3: 73:[109, 31] Operation: 71-40=31 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[71, 69], Operations: ['46+63=109', '109-40=69'] Exploring Operation: 71*69=4899, Resulting Numbers: [4899] 4899,73 unequal: No Solution Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 71+69=140, Resulting Numbers: [140] 140,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,3,1 Current State: 73:[40, 38], Operations: ['46+63=109', '109-71=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,73 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,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,3,0 Current State: 73:[109, 111], Operations: ['46+63=109', '71+40=111'] Exploring Operation: 109*111=12099, Resulting Numbers: [12099] 12099,73 unequal: No Solution Exploring Operation: 109+111=220, Resulting Numbers: [220] 220,73 unequal: No Solution Exploring Operation: 111-109=2, Resulting Numbers: [2] 2,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,3,3 Current State: 73:[109, 31], Operations: ['46+63=109', '71-40=31'] Exploring Operation: 109-31=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 109*31=3379, Resulting Numbers: [3379] 3379,73 unequal: No Solution Exploring Operation: 109+31=140, Resulting Numbers: [140] 140,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:[46, 63, 111], Operations: ['71+40=111'] Exploring Operation: 111-63=48, Resulting Numbers: [46, 48] Generated Node #0,1,0: 73:[46, 48] Operation: 111-63=48 Exploring Operation: 111-46=65, Resulting Numbers: [63, 65] Generated Node #0,1,1: 73:[63, 65] Operation: 111-46=65 Exploring Operation: 46+63=109, Resulting Numbers: [111, 109] Generated Node #0,1,2: 73:[111, 109] Operation: 46+63=109 Exploring Operation: 63-46=17, Resulting Numbers: [111, 17] Generated Node #0,1,3: 73:[111, 17] Operation: 63-46=17 Moving to Node #0,1,1 Current State: 73:[63, 65], Operations: ['71+40=111', '111-46=65'] Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,73 unequal: No Solution Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[46, 48], Operations: ['71+40=111', '111-63=48'] Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,73 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[71, 23], Operations: ['46+40=86', '86-63=23'] Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[63, 15], Operations: ['46+40=86', '86-71=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[111, 109], Operations: ['71+40=111', '46+63=109'] Exploring Operation: 111-109=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 111*109=12099, Resulting Numbers: [12099] 12099,73 unequal: No Solution Exploring Operation: 111+109=220, Resulting Numbers: [220] 220,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[86, 134], Operations: ['46+40=86', '63+71=134'] Exploring Operation: 134-86=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 86+134=220, Resulting Numbers: [220] 220,73 unequal: No Solution Exploring Operation: 86*134=11524, Resulting Numbers: [11524] 11524,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[86, 8], Operations: ['46+40=86', '71-63=8'] Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,73 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[111, 17], Operations: ['71+40=111', '63-46=17'] Exploring Operation: 111-17=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 111+17=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 111*17=1887, Resulting Numbers: [1887] 1887,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 99, 74, 78, 42 ]
95
[ "99-74=25", "78+42=120", "120-25=95" ]
Current State: 95:[99, 74, 78, 42], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [78, 42, 25] Generated Node #2: [78, 42, 25] from Operation: 99-74=25 Current State: 95:[78, 42, 25], Operations: ['99-74=25'] Exploring Operation: 78+42=120, Resulting Numbers: [25, 120] Generated Node #3: [25, 120] from Operation: 78+42=120 Current State: 95:[25, 120], Operations: ['99-74=25', '78+42=120'] Exploring Operation: 120-25=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[99, 74, 78, 42], Operations: [] Exploring Operation: 78-74=4, Resulting Numbers: [99, 42, 4] Generated Node #0,0: 95:[99, 42, 4] Operation: 78-74=4 Exploring Operation: 74-42=32, Resulting Numbers: [99, 78, 32] Generated Node #0,1: 95:[99, 78, 32] Operation: 74-42=32 Moving to Node #0,0 Current State: 95:[99, 42, 4], Operations: ['78-74=4'] Exploring Operation: 42-4=38, Resulting Numbers: [99, 38] Generated Node #0,0,0: 95:[99, 38] Operation: 42-4=38 Exploring Operation: 99-4=95, Resulting Numbers: [42, 95] Generated Node #0,0,1: 95:[42, 95] Operation: 99-4=95 Moving to Node #0,1 Current State: 95:[99, 78, 32], Operations: ['74-42=32'] Exploring Operation: 78+32=110, Resulting Numbers: [99, 110] Generated Node #0,1,0: 95:[99, 110] Operation: 78+32=110 Exploring Operation: 99-78=21, Resulting Numbers: [32, 21] Generated Node #0,1,1: 95:[32, 21] Operation: 99-78=21 Moving to Node #0,1,1 Current State: 95:[32, 21], Operations: ['74-42=32', '99-78=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[99, 110], Operations: ['74-42=32', '78+32=110'] Exploring Operation: 99+110=209, Resulting Numbers: [209] 209,95 unequal: No Solution Exploring Operation: 110-99=11, Resulting Numbers: [11] 11,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[42, 95], Operations: ['78-74=4', '99-4=95'] Exploring Operation: 42+95=137, Resulting Numbers: [137] 137,95 unequal: No Solution Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[99, 38], Operations: ['78-74=4', '42-4=38'] Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 99+38=137, Resulting Numbers: [137] 137,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 57, 2, 27, 18 ]
33
[ "57+27=84", "84-18=66", "66/2=33" ]
Current State: 33:[57, 2, 27, 18], Operations: [] Exploring Operation: 57+27=84, Resulting Numbers: [2, 18, 84] Generated Node #2: [2, 18, 84] from Operation: 57+27=84 Current State: 33:[2, 18, 84], Operations: ['57+27=84'] Exploring Operation: 84-18=66, Resulting Numbers: [2, 66] Generated Node #3: [2, 66] from Operation: 84-18=66 Current State: 33:[2, 66], Operations: ['57+27=84', '84-18=66'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[57, 2, 27, 18], Operations: [] Exploring Operation: 57-18=39, Resulting Numbers: [2, 27, 39] Generated Node #0,0: 33:[2, 27, 39] Operation: 57-18=39 Exploring Operation: 18/2=9, Resulting Numbers: [57, 27, 9] Generated Node #0,1: 33:[57, 27, 9] Operation: 18/2=9 Exploring Operation: 27-18=9, Resulting Numbers: [57, 2, 9] Generated Node #0,2: 33:[57, 2, 9] Operation: 27-18=9 Exploring Operation: 57-27=30, Resulting Numbers: [2, 18, 30] Generated Node #0,3: 33:[2, 18, 30] Operation: 57-27=30 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[2, 18, 30], Operations: ['57-27=30'] Exploring Operation: 2*18=36, Resulting Numbers: [30, 36] Generated Node #0,3,0: 33:[30, 36] Operation: 2*18=36 Exploring Operation: 18/2=9, Resulting Numbers: [30, 9] Generated Node #0,3,1: 33:[30, 9] Operation: 18/2=9 Exploring Operation: 30-18=12, Resulting Numbers: [2, 12] Generated Node #0,3,2: 33:[2, 12] Operation: 30-18=12 Exploring Operation: 18-2=16, Resulting Numbers: [30, 16] Generated Node #0,3,3: 33:[30, 16] Operation: 18-2=16 Moving to Node #0,3,2 Current State: 33:[2, 12], Operations: ['57-27=30', '30-18=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[30, 9], Operations: ['57-27=30', '18/2=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[30, 36], Operations: ['57-27=30', '2*18=36'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,33 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[30, 16], Operations: ['57-27=30', '18-2=16'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,33 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,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,0 Current State: 33:[2, 27, 39], Operations: ['57-18=39'] Exploring Operation: 39-27=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 33:[2, 12] Operation: 39-27=12 Exploring Operation: 27-2=25, Resulting Numbers: [39, 25] Generated Node #0,0,1: 33:[39, 25] Operation: 27-2=25 Exploring Operation: 39-2=37, Resulting Numbers: [27, 37] Generated Node #0,0,2: 33:[27, 37] Operation: 39-2=37 Exploring Operation: 2+27=29, Resulting Numbers: [39, 29] Generated Node #0,0,3: 33:[39, 29] Operation: 2+27=29 Moving to Node #0,0,0 Current State: 33:[2, 12], Operations: ['57-18=39', '39-27=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[39, 29], Operations: ['57-18=39', '2+27=29'] Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[27, 37], Operations: ['57-18=39', '39-2=37'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,33 unequal: No Solution Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[39, 25], Operations: ['57-18=39', '27-2=25'] Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,33 unequal: No Solution Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[57, 2, 9], Operations: ['27-18=9'] Exploring Operation: 2+9=11, Resulting Numbers: [57, 11] Generated Node #0,2,0: 33:[57, 11] Operation: 2+9=11 Exploring Operation: 57-9=48, Resulting Numbers: [2, 48] Generated Node #0,2,1: 33:[2, 48] Operation: 57-9=48 Exploring Operation: 57-2=55, Resulting Numbers: [9, 55] Generated Node #0,2,2: 33:[9, 55] Operation: 57-2=55 Exploring Operation: 57+2=59, Resulting Numbers: [9, 59] Generated Node #0,2,3: 33:[9, 59] Operation: 57+2=59 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[2, 48], Operations: ['27-18=9', '57-9=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[57, 11], Operations: ['27-18=9', '2+9=11'] Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,33 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[9, 55], Operations: ['27-18=9', '57-2=55'] Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 33:[9, 59], Operations: ['27-18=9', '57+2=59'] Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,33 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[57, 27, 9], Operations: ['18/2=9'] Exploring Operation: 57-27=30, Resulting Numbers: [9, 30] Generated Node #0,1,0: 33:[9, 30] Operation: 57-27=30 Exploring Operation: 27/9=3, Resulting Numbers: [57, 3] Generated Node #0,1,1: 33:[57, 3] Operation: 27/9=3 Exploring Operation: 57-9=48, Resulting Numbers: [27, 48] Generated Node #0,1,2: 33:[27, 48] Operation: 57-9=48 Exploring Operation: 27+9=36, Resulting Numbers: [57, 36] Generated Node #0,1,3: 33:[57, 36] Operation: 27+9=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[9, 30], Operations: ['18/2=9', '57-27=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,33 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[27, 48], Operations: ['18/2=9', '57-9=48'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[57, 3], Operations: ['18/2=9', '27/9=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[57, 36], Operations: ['18/2=9', '27+9=36'] Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,33 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 60, 56, 29, 45 ]
20
[ "60-56=4", "45-29=16", "4+16=20" ]
Current State: 20:[60, 56, 29, 45], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [29, 45, 4] Generated Node #2: [29, 45, 4] from Operation: 60-56=4 Current State: 20:[29, 45, 4], Operations: ['60-56=4'] Exploring Operation: 45-29=16, Resulting Numbers: [4, 16] Generated Node #3: [4, 16] from Operation: 45-29=16 Current State: 20:[4, 16], Operations: ['60-56=4', '45-29=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[60, 56, 29, 45], Operations: [] Exploring Operation: 60-45=15, Resulting Numbers: [56, 29, 15] Generated Node #0,0: 20:[56, 29, 15] Operation: 60-45=15 Exploring Operation: 56-45=11, Resulting Numbers: [60, 29, 11] Generated Node #0,1: 20:[60, 29, 11] Operation: 56-45=11 Exploring Operation: 60-56=4, Resulting Numbers: [29, 45, 4] Generated Node #0,2: 20:[29, 45, 4] Operation: 60-56=4 Exploring Operation: 60-29=31, Resulting Numbers: [56, 45, 31] Generated Node #0,3: 20:[56, 45, 31] Operation: 60-29=31 Moving to Node #0,2 Current State: 20:[29, 45, 4], Operations: ['60-56=4'] Exploring Operation: 29-4=25, Resulting Numbers: [45, 25] Generated Node #0,2,0: 20:[45, 25] Operation: 29-4=25 Exploring Operation: 29+4=33, Resulting Numbers: [45, 33] Generated Node #0,2,1: 20:[45, 33] Operation: 29+4=33 Exploring Operation: 45-4=41, Resulting Numbers: [29, 41] Generated Node #0,2,2: 20:[29, 41] Operation: 45-4=41 Exploring Operation: 45-29=16, Resulting Numbers: [4, 16] Generated Node #0,2,3: 20:[4, 16] Operation: 45-29=16 Moving to Node #0,1 Current State: 20:[60, 29, 11], Operations: ['56-45=11'] Exploring Operation: 60-29=31, Resulting Numbers: [11, 31] Generated Node #0,1,0: 20:[11, 31] Operation: 60-29=31 Exploring Operation: 60-11=49, Resulting Numbers: [29, 49] Generated Node #0,1,1: 20:[29, 49] Operation: 60-11=49 Exploring Operation: 60+11=71, Resulting Numbers: [29, 71] Generated Node #0,1,2: 20:[29, 71] Operation: 60+11=71 Exploring Operation: 29-11=18, Resulting Numbers: [60, 18] Generated Node #0,1,3: 20:[60, 18] Operation: 29-11=18 Moving to Node #0,0 Current State: 20:[56, 29, 15], Operations: ['60-45=15'] Exploring Operation: 56+15=71, Resulting Numbers: [29, 71] Generated Node #0,0,0: 20:[29, 71] Operation: 56+15=71 Exploring Operation: 29-15=14, Resulting Numbers: [56, 14] Generated Node #0,0,1: 20:[56, 14] Operation: 29-15=14 Exploring Operation: 56-15=41, Resulting Numbers: [29, 41] Generated Node #0,0,2: 20:[29, 41] Operation: 56-15=41 Exploring Operation: 56-29=27, Resulting Numbers: [15, 27] Generated Node #0,0,3: 20:[15, 27] Operation: 56-29=27 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[15, 27], Operations: ['60-45=15', '56-29=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,20 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[29, 41], Operations: ['60-45=15', '56-15=41'] Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,20 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[56, 14], Operations: ['60-45=15', '29-15=14'] Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,20 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,20 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[29, 71], Operations: ['60-45=15', '56+15=71'] Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,20 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: 20:[56, 45, 31], Operations: ['60-29=31'] Exploring Operation: 56-31=25, Resulting Numbers: [45, 25] Generated Node #0,3,0: 20:[45, 25] Operation: 56-31=25 Exploring Operation: 56-45=11, Resulting Numbers: [31, 11] Generated Node #0,3,1: 20:[31, 11] Operation: 56-45=11 Exploring Operation: 45-31=14, Resulting Numbers: [56, 14] Generated Node #0,3,2: 20:[56, 14] Operation: 45-31=14 Exploring Operation: 56+45=101, Resulting Numbers: [31, 101] Generated Node #0,3,3: 20:[31, 101] Operation: 56+45=101 Moving to Node #0,2,3 Current State: 20:[4, 16], Operations: ['60-56=4', '45-29=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[60, 56, 29, 45], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [29, 45, 4] Generated Node #0,2: 20:[29, 45, 4] Operation: 60-56=4 Moving to Node #0,2 Current State: 20:[29, 45, 4], Operations: ['60-56=4'] Exploring Operation: 45-29=16, Resulting Numbers: [4, 16] Generated Node #0,2,3: 20:[4, 16] Operation: 45-29=16 Moving to Node #0,2,3 Current State: 20:[4, 16], Operations: ['60-56=4', '45-29=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.965278
hs_4
sum_heuristic
[ 49, 17, 91, 66 ]
91
[ "49+17=66", "91+66=157", "157-66=91" ]
Current State: 91:[49, 17, 91, 66], Operations: [] Exploring Operation: 49+17=66, Resulting Numbers: [91, 66, 66] Generated Node #2: [91, 66, 66] from Operation: 49+17=66 Current State: 91:[91, 66, 66], Operations: ['49+17=66'] Exploring Operation: 91+66=157, Resulting Numbers: [157] 157,91 equal: Goal Reached Exploring Operation: 157-66=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[49, 17, 91, 66], Operations: [] Exploring Operation: 17+66=83, Resulting Numbers: [49, 91, 83] Generated Node #0,0: 91:[49, 91, 83] Operation: 17+66=83 Exploring Operation: 49+66=115, Resulting Numbers: [17, 91, 115] Generated Node #0,1: 91:[17, 91, 115] Operation: 49+66=115 Exploring Operation: 49+17=66, Resulting Numbers: [91, 66, 66] Generated Node #0,2: 91:[91, 66, 66] Operation: 49+17=66 Exploring Operation: 49-17=32, Resulting Numbers: [91, 66, 32] Generated Node #0,3: 91:[91, 66, 32] Operation: 49-17=32 Exploring Operation: 66-49=17, Resulting Numbers: [17, 91, 17] Generated Node #0,4: 91:[17, 91, 17] Operation: 66-49=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[17, 91, 17], Operations: ['66-49=17'] Exploring Operation: 17+91=108, Resulting Numbers: [17, 108] Generated Node #0,4,0: 91:[17, 108] Operation: 17+91=108 Exploring Operation: 17+17=34, Resulting Numbers: [91, 34] Generated Node #0,4,1: 91:[91, 34] Operation: 17+17=34 Exploring Operation: 17/17=1, Resulting Numbers: [91, 1] Generated Node #0,4,2: 91:[91, 1] Operation: 17/17=1 Exploring Operation: 17-17=0, Resulting Numbers: [91, 0] Generated Node #0,4,3: 91:[91, 0] Operation: 17-17=0 Exploring Operation: 91-17=74, Resulting Numbers: [17, 74] Generated Node #0,4,4: 91:[17, 74] Operation: 91-17=74 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 91:[91, 1], Operations: ['66-49=17', '17/17=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[49, 17, 91, 66], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [17, 91, 17] Generated Node #0,4: 91:[17, 91, 17] Operation: 66-49=17 Moving to Node #0,4 Current State: 91:[17, 91, 17], Operations: ['66-49=17'] Exploring Operation: 17/17=1, Resulting Numbers: [91, 1] Generated Node #0,4,2: 91:[91, 1] Operation: 17/17=1 Moving to Node #0,4,2 Current State: 91:[91, 1], Operations: ['66-49=17', '17/17=1'] Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 5, 32, 4, 38 ]
62
[ "5*38=190", "32*4=128", "190-128=62" ]
Current State: 62:[5, 32, 4, 38], Operations: [] Exploring Operation: 5*38=190, Resulting Numbers: [32, 4, 190] Generated Node #2: [32, 4, 190] from Operation: 5*38=190 Current State: 62:[32, 4, 190], Operations: ['5*38=190'] Exploring Operation: 32*4=128, Resulting Numbers: [190, 128] Generated Node #3: [190, 128] from Operation: 32*4=128 Current State: 62:[190, 128], Operations: ['5*38=190', '32*4=128'] Exploring Operation: 190-128=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[5, 32, 4, 38], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [5, 4, 6] Generated Node #0,0: 62:[5, 4, 6] Operation: 38-32=6 Exploring Operation: 38-5=33, Resulting Numbers: [32, 4, 33] Generated Node #0,1: 62:[32, 4, 33] Operation: 38-5=33 Exploring Operation: 5-4=1, Resulting Numbers: [32, 38, 1] Generated Node #0,2: 62:[32, 38, 1] Operation: 5-4=1 Exploring Operation: 38-4=34, Resulting Numbers: [5, 32, 34] Generated Node #0,3: 62:[5, 32, 34] Operation: 38-4=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[32, 4, 33], Operations: ['38-5=33'] Exploring Operation: 32+33=65, Resulting Numbers: [4, 65] Generated Node #0,1,0: 62:[4, 65] Operation: 32+33=65 Exploring Operation: 33-32=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 62:[4, 1] Operation: 33-32=1 Exploring Operation: 33-4=29, Resulting Numbers: [32, 29] Generated Node #0,1,2: 62:[32, 29] Operation: 33-4=29 Exploring Operation: 32-4=28, Resulting Numbers: [33, 28] Generated Node #0,1,3: 62:[33, 28] Operation: 32-4=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[4, 1], Operations: ['38-5=33', '33-32=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[32, 29], Operations: ['38-5=33', '33-4=29'] Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[4, 65], Operations: ['38-5=33', '32+33=65'] Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[33, 28], Operations: ['38-5=33', '32-4=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,62 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[5, 32, 34], Operations: ['38-4=34'] Exploring Operation: 32+34=66, Resulting Numbers: [5, 66] Generated Node #0,3,0: 62:[5, 66] Operation: 32+34=66 Exploring Operation: 32-5=27, Resulting Numbers: [34, 27] Generated Node #0,3,1: 62:[34, 27] Operation: 32-5=27 Exploring Operation: 34-32=2, Resulting Numbers: [5, 2] Generated Node #0,3,2: 62:[5, 2] Operation: 34-32=2 Exploring Operation: 34-5=29, Resulting Numbers: [32, 29] Generated Node #0,3,3: 62:[32, 29] Operation: 34-5=29 Moving to Node #0,3,2 Current State: 62:[5, 2], Operations: ['38-4=34', '34-32=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,62 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[32, 29], Operations: ['38-4=34', '34-5=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,62 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[34, 27], Operations: ['38-4=34', '32-5=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,62 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[5, 66], Operations: ['38-4=34', '32+34=66'] Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[5, 4, 6], Operations: ['38-32=6'] Exploring Operation: 6-4=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 62:[5, 2] Operation: 6-4=2 Exploring Operation: 5-4=1, Resulting Numbers: [6, 1] Generated Node #0,0,1: 62:[6, 1] Operation: 5-4=1 Exploring Operation: 5*6=30, Resulting Numbers: [4, 30] Generated Node #0,0,2: 62:[4, 30] Operation: 5*6=30 Exploring Operation: 6-5=1, Resulting Numbers: [4, 1] Generated Node #0,0,3: 62:[4, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 62:[5, 2], Operations: ['38-32=6', '6-4=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[4, 1], Operations: ['38-32=6', '6-5=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[4, 30], Operations: ['38-32=6', '5*6=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[6, 1], Operations: ['38-32=6', '5-4=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[32, 38, 1], Operations: ['5-4=1'] Exploring Operation: 38-1=37, Resulting Numbers: [32, 37] Generated Node #0,2,0: 62:[32, 37] Operation: 38-1=37 Exploring Operation: 32*1=32, Resulting Numbers: [38, 32] Generated Node #0,2,1: 62:[38, 32] Operation: 32*1=32 Exploring Operation: 32-1=31, Resulting Numbers: [38, 31] Generated Node #0,2,2: 62:[38, 31] Operation: 32-1=31 Exploring Operation: 38-32=6, Resulting Numbers: [1, 6] Generated Node #0,2,3: 62:[1, 6] Operation: 38-32=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[1, 6], Operations: ['5-4=1', '38-32=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[32, 37], Operations: ['5-4=1', '38-1=37'] Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,62 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[38, 31], Operations: ['5-4=1', '32-1=31'] Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,62 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[38, 32], Operations: ['5-4=1', '32*1=32'] Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 88, 54, 89, 91 ]
98
[ "91-89=2", "88/2=44", "54+44=98" ]
Current State: 98:[88, 54, 89, 91], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [88, 54, 2] Generated Node #2: [88, 54, 2] from Operation: 91-89=2 Current State: 98:[88, 54, 2], Operations: ['91-89=2'] Exploring Operation: 88/2=44, Resulting Numbers: [54, 44] Generated Node #3: [54, 44] from Operation: 88/2=44 Current State: 98:[54, 44], Operations: ['91-89=2', '88/2=44'] Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[88, 54, 89, 91], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [54, 91, 1] Generated Node #0,0: 98:[54, 91, 1] Operation: 89-88=1 Exploring Operation: 91-88=3, Resulting Numbers: [54, 89, 3] Generated Node #0,1: 98:[54, 89, 3] Operation: 91-88=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[54, 91, 1], Operations: ['89-88=1'] Exploring Operation: 91+1=92, Resulting Numbers: [54, 92] Generated Node #0,0,0: 98:[54, 92] Operation: 91+1=92 Exploring Operation: 54-1=53, Resulting Numbers: [91, 53] Generated Node #0,0,1: 98:[91, 53] Operation: 54-1=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[54, 92], Operations: ['89-88=1', '91+1=92'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,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,1 Current State: 98:[91, 53], Operations: ['89-88=1', '54-1=53'] Exploring Operation: 91+53=144, Resulting Numbers: [144] 144,98 unequal: No Solution Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,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:[54, 89, 3], Operations: ['91-88=3'] Exploring Operation: 54-3=51, Resulting Numbers: [89, 51] Generated Node #0,1,0: 98:[89, 51] Operation: 54-3=51 Exploring Operation: 89+3=92, Resulting Numbers: [54, 92] Generated Node #0,1,1: 98:[54, 92] Operation: 89+3=92 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[89, 51], Operations: ['91-88=3', '54-3=51'] Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,98 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,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,1,1 Current State: 98:[54, 92], Operations: ['91-88=3', '89+3=92'] Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,98 unequal: No Solution Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,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 No solution found.
0
hs_2
mult_heuristic
[ 89, 34, 4, 10 ]
100
[ "34+10=44", "44/4=11", "89+11=100" ]
Current State: 100:[89, 34, 4, 10], Operations: [] Exploring Operation: 34+10=44, Resulting Numbers: [89, 4, 44] Generated Node #2: [89, 4, 44] from Operation: 34+10=44 Current State: 100:[89, 4, 44], Operations: ['34+10=44'] Exploring Operation: 44/4=11, Resulting Numbers: [89, 11] Generated Node #3: [89, 11] from Operation: 44/4=11 Current State: 100:[89, 11], Operations: ['34+10=44', '44/4=11'] Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[89, 34, 4, 10], Operations: [] Exploring Operation: 89+10=99, Resulting Numbers: [34, 4, 99] Generated Node #0,0: 100:[34, 4, 99] Operation: 89+10=99 Exploring Operation: 89-34=55, Resulting Numbers: [4, 10, 55] Generated Node #0,1: 100:[4, 10, 55] Operation: 89-34=55 Moving to Node #0,1 Current State: 100:[4, 10, 55], Operations: ['89-34=55'] Exploring Operation: 55-10=45, Resulting Numbers: [4, 45] Generated Node #0,1,0: 100:[4, 45] Operation: 55-10=45 Exploring Operation: 55-4=51, Resulting Numbers: [10, 51] Generated Node #0,1,1: 100:[10, 51] Operation: 55-4=51 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[10, 51], Operations: ['89-34=55', '55-4=51'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[4, 45], Operations: ['89-34=55', '55-10=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[34, 4, 99], Operations: ['89+10=99'] Exploring Operation: 4+99=103, Resulting Numbers: [34, 103] Generated Node #0,0,0: 100:[34, 103] Operation: 4+99=103 Exploring Operation: 34-4=30, Resulting Numbers: [99, 30] Generated Node #0,0,1: 100:[99, 30] Operation: 34-4=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[99, 30], Operations: ['89+10=99', '34-4=30'] Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 99+30=129, Resulting Numbers: [129] 129,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[34, 103], Operations: ['89+10=99', '4+99=103'] Exploring Operation: 103-34=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 34+103=137, Resulting Numbers: [137] 137,100 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
[ 93, 81, 9, 15 ]
11
[ "93+81=174", "174-9=165", "165/15=11" ]
Current State: 11:[93, 81, 9, 15], Operations: [] Exploring Operation: 93+81=174, Resulting Numbers: [9, 15, 174] Generated Node #2: [9, 15, 174] from Operation: 93+81=174 Current State: 11:[9, 15, 174], Operations: ['93+81=174'] Exploring Operation: 174-9=165, Resulting Numbers: [15, 165] Generated Node #3: [15, 165] from Operation: 174-9=165 Current State: 11:[15, 165], Operations: ['93+81=174', '174-9=165'] Exploring Operation: 165/15=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[93, 81, 9, 15], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [9, 15, 12] Generated Node #0,0: 11:[9, 15, 12] Operation: 93-81=12 Exploring Operation: 81/9=9, Resulting Numbers: [93, 15, 9] Generated Node #0,1: 11:[93, 15, 9] Operation: 81/9=9 Exploring Operation: 81-15=66, Resulting Numbers: [93, 9, 66] Generated Node #0,2: 11:[93, 9, 66] Operation: 81-15=66 Exploring Operation: 93-15=78, Resulting Numbers: [81, 9, 78] Generated Node #0,3: 11:[81, 9, 78] Operation: 93-15=78 Moving to Node #0,0 Current State: 11:[9, 15, 12], Operations: ['93-81=12'] Exploring Operation: 9+15=24, Resulting Numbers: [12, 24] Generated Node #0,0,0: 11:[12, 24] Operation: 9+15=24 Exploring Operation: 15-9=6, Resulting Numbers: [12, 6] Generated Node #0,0,1: 11:[12, 6] Operation: 15-9=6 Exploring Operation: 12-9=3, Resulting Numbers: [15, 3] Generated Node #0,0,2: 11:[15, 3] Operation: 12-9=3 Exploring Operation: 15-12=3, Resulting Numbers: [9, 3] Generated Node #0,0,3: 11:[9, 3] Operation: 15-12=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[12, 6], Operations: ['93-81=12', '15-9=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[9, 3], Operations: ['93-81=12', '15-12=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[15, 3], Operations: ['93-81=12', '12-9=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[12, 24], Operations: ['93-81=12', '9+15=24'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,11 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: 11:[93, 15, 9], Operations: ['81/9=9'] Exploring Operation: 93-9=84, Resulting Numbers: [15, 84] Generated Node #0,1,0: 11:[15, 84] Operation: 93-9=84 Exploring Operation: 93-15=78, Resulting Numbers: [9, 78] Generated Node #0,1,1: 11:[9, 78] Operation: 93-15=78 Exploring Operation: 93+9=102, Resulting Numbers: [15, 102] Generated Node #0,1,2: 11:[15, 102] Operation: 93+9=102 Exploring Operation: 15-9=6, Resulting Numbers: [93, 6] Generated Node #0,1,3: 11:[93, 6] Operation: 15-9=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[9, 78], Operations: ['81/9=9', '93-15=78'] Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,11 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[15, 84], Operations: ['81/9=9', '93-9=84'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,11 unequal: No Solution Exploring Operation: 15*84=1260, Resulting Numbers: [1260] 1260,11 unequal: No Solution Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[93, 6], Operations: ['81/9=9', '15-9=6'] Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,11 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[15, 102], Operations: ['81/9=9', '93+9=102'] Exploring Operation: 15*102=1530, Resulting Numbers: [1530] 1530,11 unequal: No Solution Exploring Operation: 15+102=117, Resulting Numbers: [117] 117,11 unequal: No Solution Exploring Operation: 102-15=87, Resulting Numbers: [87] 87,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 11:[81, 9, 78], Operations: ['93-15=78'] Exploring Operation: 81/9=9, Resulting Numbers: [78, 9] Generated Node #0,3,0: 11:[78, 9] Operation: 81/9=9 Exploring Operation: 81-78=3, Resulting Numbers: [9, 3] Generated Node #0,3,1: 11:[9, 3] Operation: 81-78=3 Exploring Operation: 78-9=69, Resulting Numbers: [81, 69] Generated Node #0,3,2: 11:[81, 69] Operation: 78-9=69 Exploring Operation: 81-9=72, Resulting Numbers: [78, 72] Generated Node #0,3,3: 11:[78, 72] Operation: 81-9=72 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[9, 3], Operations: ['93-15=78', '81-78=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[78, 9], Operations: ['93-15=78', '81/9=9'] Exploring Operation: 78*9=702, Resulting Numbers: [702] 702,11 unequal: No Solution Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[81, 69], Operations: ['93-15=78', '78-9=69'] Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[78, 72], Operations: ['93-15=78', '81-9=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,11 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: 11:[93, 9, 66], Operations: ['81-15=66'] Exploring Operation: 93-66=27, Resulting Numbers: [9, 27] Generated Node #0,2,0: 11:[9, 27] Operation: 93-66=27 Exploring Operation: 93-9=84, Resulting Numbers: [66, 84] Generated Node #0,2,1: 11:[66, 84] Operation: 93-9=84 Exploring Operation: 93+9=102, Resulting Numbers: [66, 102] Generated Node #0,2,2: 11:[66, 102] Operation: 93+9=102 Exploring Operation: 66-9=57, Resulting Numbers: [93, 57] Generated Node #0,2,3: 11:[93, 57] Operation: 66-9=57 Moving to Node #0,2,0 Current State: 11:[9, 27], Operations: ['81-15=66', '93-66=27'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,11 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[93, 57], Operations: ['81-15=66', '66-9=57'] Exploring Operation: 93-57=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 93*57=5301, Resulting Numbers: [5301] 5301,11 unequal: No Solution Exploring Operation: 93+57=150, Resulting Numbers: [150] 150,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[66, 84], Operations: ['81-15=66', '93-9=84'] Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 66*84=5544, Resulting Numbers: [5544] 5544,11 unequal: No Solution Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[66, 102], Operations: ['81-15=66', '93+9=102'] Exploring Operation: 66+102=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 102-66=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 66*102=6732, Resulting Numbers: [6732] 6732,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 22, 54, 34, 6 ]
11
[ "54-22=32", "34+32=66", "66/6=11" ]
Current State: 11:[22, 54, 34, 6], Operations: [] Exploring Operation: 54-22=32, Resulting Numbers: [34, 6, 32] Generated Node #2: [34, 6, 32] from Operation: 54-22=32 Current State: 11:[34, 6, 32], Operations: ['54-22=32'] Exploring Operation: 34+32=66, Resulting Numbers: [6, 66] Generated Node #3: [6, 66] from Operation: 34+32=66 Current State: 11:[6, 66], Operations: ['54-22=32', '34+32=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[22, 54, 34, 6], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [22, 6, 20] Generated Node #0,0: 11:[22, 6, 20] Operation: 54-34=20 Exploring Operation: 54/6=9, Resulting Numbers: [22, 34, 9] Generated Node #0,1: 11:[22, 34, 9] Operation: 54/6=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[22, 6, 20], Operations: ['54-34=20'] Exploring Operation: 22-6=16, Resulting Numbers: [20, 16] Generated Node #0,0,0: 11:[20, 16] Operation: 22-6=16 Exploring Operation: 22-20=2, Resulting Numbers: [6, 2] Generated Node #0,0,1: 11:[6, 2] Operation: 22-20=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[20, 16], Operations: ['54-34=20', '22-6=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[6, 2], Operations: ['54-34=20', '22-20=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[22, 34, 9], Operations: ['54/6=9'] Exploring Operation: 34-22=12, Resulting Numbers: [9, 12] Generated Node #0,1,0: 11:[9, 12] Operation: 34-22=12 Exploring Operation: 22-9=13, Resulting Numbers: [34, 13] Generated Node #0,1,1: 11:[34, 13] Operation: 22-9=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[9, 12], Operations: ['54/6=9', '34-22=12'] Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[34, 13], Operations: ['54/6=9', '22-9=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 83, 82, 63, 89 ]
92
[ "89-82=7", "63/7=9", "83+9=92" ]
Current State: 92:[83, 82, 63, 89], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [83, 63, 7] Generated Node #2: [83, 63, 7] from Operation: 89-82=7 Current State: 92:[83, 63, 7], Operations: ['89-82=7'] Exploring Operation: 63/7=9, Resulting Numbers: [83, 9] Generated Node #3: [83, 9] from Operation: 63/7=9 Current State: 92:[83, 9], Operations: ['89-82=7', '63/7=9'] Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[83, 82, 63, 89], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [82, 89, 20] Generated Node #0,0: 92:[82, 89, 20] Operation: 83-63=20 Exploring Operation: 82-63=19, Resulting Numbers: [83, 89, 19] Generated Node #0,1: 92:[83, 89, 19] Operation: 82-63=19 Exploring Operation: 83-82=1, Resulting Numbers: [63, 89, 1] Generated Node #0,2: 92:[63, 89, 1] Operation: 83-82=1 Exploring Operation: 89-63=26, Resulting Numbers: [83, 82, 26] Generated Node #0,3: 92:[83, 82, 26] Operation: 89-63=26 Exploring Operation: 89-83=6, Resulting Numbers: [82, 63, 6] Generated Node #0,4: 92:[82, 63, 6] Operation: 89-83=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[82, 89, 20], Operations: ['83-63=20'] Exploring Operation: 82+20=102, Resulting Numbers: [89, 102] Generated Node #0,0,0: 92:[89, 102] Operation: 82+20=102 Exploring Operation: 89-20=69, Resulting Numbers: [82, 69] Generated Node #0,0,1: 92:[82, 69] Operation: 89-20=69 Exploring Operation: 89+20=109, Resulting Numbers: [82, 109] Generated Node #0,0,2: 92:[82, 109] Operation: 89+20=109 Exploring Operation: 89-82=7, Resulting Numbers: [20, 7] Generated Node #0,0,3: 92:[20, 7] Operation: 89-82=7 Exploring Operation: 82-20=62, Resulting Numbers: [89, 62] Generated Node #0,0,4: 92:[89, 62] Operation: 82-20=62 Moving to Node #0,0,3 Current State: 92:[20, 7], Operations: ['83-63=20', '89-82=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[89, 102], Operations: ['83-63=20', '82+20=102'] Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 89*102=9078, Resulting Numbers: [9078] 9078,92 unequal: No Solution Exploring Operation: 89+102=191, Resulting Numbers: [191] 191,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[89, 62], Operations: ['83-63=20', '82-20=62'] Exploring Operation: 89+62=151, Resulting Numbers: [151] 151,92 unequal: No Solution Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 89*62=5518, Resulting Numbers: [5518] 5518,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[82, 109], Operations: ['83-63=20', '89+20=109'] Exploring Operation: 109-82=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 82+109=191, Resulting Numbers: [191] 191,92 unequal: No Solution Exploring Operation: 82*109=8938, Resulting Numbers: [8938] 8938,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[82, 69], Operations: ['83-63=20', '89-20=69'] Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,92 unequal: No Solution Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,92 unequal: No Solution Exploring Operation: 82-69=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 Current State: 92:[83, 89, 19], Operations: ['82-63=19'] Exploring Operation: 83-19=64, Resulting Numbers: [89, 64] Generated Node #0,1,0: 92:[89, 64] Operation: 83-19=64 Exploring Operation: 83+19=102, Resulting Numbers: [89, 102] Generated Node #0,1,1: 92:[89, 102] Operation: 83+19=102 Exploring Operation: 89-83=6, Resulting Numbers: [19, 6] Generated Node #0,1,2: 92:[19, 6] Operation: 89-83=6 Exploring Operation: 89+19=108, Resulting Numbers: [83, 108] Generated Node #0,1,3: 92:[83, 108] Operation: 89+19=108 Exploring Operation: 89-19=70, Resulting Numbers: [83, 70] Generated Node #0,1,4: 92:[83, 70] Operation: 89-19=70 Moving to Node #0,1,2 Current State: 92:[19, 6], Operations: ['82-63=19', '89-83=6'] Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,92 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[89, 102], Operations: ['82-63=19', '83+19=102'] Exploring Operation: 89*102=9078, Resulting Numbers: [9078] 9078,92 unequal: No Solution Exploring Operation: 89+102=191, Resulting Numbers: [191] 191,92 unequal: No Solution Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[89, 64], Operations: ['82-63=19', '83-19=64'] Exploring Operation: 89+64=153, Resulting Numbers: [153] 153,92 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 89*64=5696, Resulting Numbers: [5696] 5696,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[83, 108], Operations: ['82-63=19', '89+19=108'] Exploring Operation: 108-83=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 83+108=191, Resulting Numbers: [191] 191,92 unequal: No Solution Exploring Operation: 83*108=8964, Resulting Numbers: [8964] 8964,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[83, 70], Operations: ['82-63=19', '89-19=70'] Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,92 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[63, 89, 1], Operations: ['83-82=1'] Exploring Operation: 63/1=63, Resulting Numbers: [89, 63] Generated Node #0,2,0: 92:[89, 63] Operation: 63/1=63 Exploring Operation: 89+1=90, Resulting Numbers: [63, 90] Generated Node #0,2,1: 92:[63, 90] Operation: 89+1=90 Exploring Operation: 63-1=62, Resulting Numbers: [89, 62] Generated Node #0,2,2: 92:[89, 62] Operation: 63-1=62 Exploring Operation: 89-63=26, Resulting Numbers: [1, 26] Generated Node #0,2,3: 92:[1, 26] Operation: 89-63=26 Exploring Operation: 63*1=63, Resulting Numbers: [89, 63] Generated Node #0,2,4: 92:[89, 63] Operation: 63*1=63 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[1, 26], Operations: ['83-82=1', '89-63=26'] Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,92 unequal: No Solution No 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: 92:[63, 90], Operations: ['83-82=1', '89+1=90'] Exploring Operation: 63*90=5670, Resulting Numbers: [5670] 5670,92 unequal: No Solution Exploring Operation: 63+90=153, Resulting Numbers: [153] 153,92 unequal: No Solution Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,92 unequal: No Solution No 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: 92:[89, 62], Operations: ['83-82=1', '63-1=62'] Exploring Operation: 89*62=5518, Resulting Numbers: [5518] 5518,92 unequal: No Solution Exploring Operation: 89+62=151, Resulting Numbers: [151] 151,92 unequal: No Solution Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,92 unequal: No Solution No 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: 92:[89, 63], Operations: ['83-82=1', '63/1=63'] Exploring Operation: 89*63=5607, Resulting Numbers: [5607] 5607,92 unequal: No Solution Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 89+63=152, Resulting Numbers: [152] 152,92 unequal: No Solution No 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: 92:[89, 63], Operations: ['83-82=1', '63*1=63'] Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 89*63=5607, Resulting Numbers: [5607] 5607,92 unequal: No Solution Exploring Operation: 89+63=152, Resulting Numbers: [152] 152,92 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: 92:[83, 82, 26], Operations: ['89-63=26'] Exploring Operation: 82-26=56, Resulting Numbers: [83, 56] Generated Node #0,3,0: 92:[83, 56] Operation: 82-26=56 Exploring Operation: 83-82=1, Resulting Numbers: [26, 1] Generated Node #0,3,1: 92:[26, 1] Operation: 83-82=1 Exploring Operation: 82+26=108, Resulting Numbers: [83, 108] Generated Node #0,3,2: 92:[83, 108] Operation: 82+26=108 Exploring Operation: 83-26=57, Resulting Numbers: [82, 57] Generated Node #0,3,3: 92:[82, 57] Operation: 83-26=57 Exploring Operation: 83+26=109, Resulting Numbers: [82, 109] Generated Node #0,3,4: 92:[82, 109] Operation: 83+26=109 Moving to Node #0,3,1 Current State: 92:[26, 1], Operations: ['89-63=26', '83-82=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[83, 56], Operations: ['89-63=26', '82-26=56'] Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,92 unequal: No Solution Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[82, 57], Operations: ['89-63=26', '83-26=57'] Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 82*57=4674, Resulting Numbers: [4674] 4674,92 unequal: No Solution Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[83, 108], Operations: ['89-63=26', '82+26=108'] Exploring Operation: 83*108=8964, Resulting Numbers: [8964] 8964,92 unequal: No Solution Exploring Operation: 83+108=191, Resulting Numbers: [191] 191,92 unequal: No Solution Exploring Operation: 108-83=25, Resulting Numbers: [25] 25,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[82, 109], Operations: ['89-63=26', '83+26=109'] Exploring Operation: 109-82=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 82*109=8938, Resulting Numbers: [8938] 8938,92 unequal: No Solution Exploring Operation: 82+109=191, Resulting Numbers: [191] 191,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[82, 63, 6], Operations: ['89-83=6'] Exploring Operation: 82-63=19, Resulting Numbers: [6, 19] Generated Node #0,4,0: 92:[6, 19] Operation: 82-63=19 Exploring Operation: 63-6=57, Resulting Numbers: [82, 57] Generated Node #0,4,1: 92:[82, 57] Operation: 63-6=57 Exploring Operation: 63+6=69, Resulting Numbers: [82, 69] Generated Node #0,4,2: 92:[82, 69] Operation: 63+6=69 Exploring Operation: 82-6=76, Resulting Numbers: [63, 76] Generated Node #0,4,3: 92:[63, 76] Operation: 82-6=76 Exploring Operation: 82+6=88, Resulting Numbers: [63, 88] Generated Node #0,4,4: 92:[63, 88] Operation: 82+6=88 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 92:[6, 19], Operations: ['89-83=6', '82-63=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,92 unequal: No Solution No 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: 92:[82, 57], Operations: ['89-83=6', '63-6=57'] Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,92 unequal: No Solution Exploring Operation: 82*57=4674, Resulting Numbers: [4674] 4674,92 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,92 unequal: No Solution No 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: 92:[63, 88], Operations: ['89-83=6', '82+6=88'] Exploring Operation: 63+88=151, Resulting Numbers: [151] 151,92 unequal: No Solution Exploring Operation: 63*88=5544, Resulting Numbers: [5544] 5544,92 unequal: No Solution Exploring Operation: 88-63=25, Resulting Numbers: [25] 25,92 unequal: No Solution No 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: 92:[82, 69], Operations: ['89-83=6', '63+6=69'] Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,92 unequal: No Solution Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,92 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,92 unequal: No Solution No 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: 92:[63, 76], Operations: ['89-83=6', '82-6=76'] Exploring Operation: 63*76=4788, Resulting Numbers: [4788] 4788,92 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 63+76=139, Resulting Numbers: [139] 139,92 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
[ 92, 3, 16, 32 ]
92
[ "32/16=2", "3-2=1", "92*1=92" ]
Current State: 92:[92, 3, 16, 32], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [92, 3, 2] Generated Node #2: [92, 3, 2] from Operation: 32/16=2 Current State: 92:[92, 3, 2], Operations: ['32/16=2'] Exploring Operation: 3-2=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 3-2=1 Current State: 92:[92, 1], Operations: ['32/16=2', '3-2=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[92, 3, 16, 32], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [92, 3, 16] Generated Node #0,0: 92:[92, 3, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [92, 3, 2] Generated Node #0,1: 92:[92, 3, 2] Operation: 32/16=2 Exploring Operation: 16+32=48, Resulting Numbers: [92, 3, 48] Generated Node #0,2: 92:[92, 3, 48] Operation: 16+32=48 Moving to Node #0,1 Current State: 92:[92, 3, 2], Operations: ['32/16=2'] Exploring Operation: 3-2=1, Resulting Numbers: [92, 1] Generated Node #0,1,0: 92:[92, 1] Operation: 3-2=1 Exploring Operation: 3+2=5, Resulting Numbers: [92, 5] Generated Node #0,1,1: 92:[92, 5] Operation: 3+2=5 Exploring Operation: 92/2=46, Resulting Numbers: [3, 46] Generated Node #0,1,2: 92:[3, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[92, 1], Operations: ['32/16=2', '3-2=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[92, 3, 16, 32], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [92, 3, 2] Generated Node #0,1: 92:[92, 3, 2] Operation: 32/16=2 Moving to Node #0,1 Current State: 92:[92, 3, 2], Operations: ['32/16=2'] Exploring Operation: 3-2=1, Resulting Numbers: [92, 1] Generated Node #0,1,0: 92:[92, 1] Operation: 3-2=1 Moving to Node #0,1,0 Current State: 92:[92, 1], Operations: ['32/16=2', '3-2=1'] Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 20, 82, 18, 7 ]
34
[ "20-18=2", "82/2=41", "41-7=34" ]
Current State: 34:[20, 82, 18, 7], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [82, 7, 2] Generated Node #2: [82, 7, 2] from Operation: 20-18=2 Current State: 34:[82, 7, 2], Operations: ['20-18=2'] Exploring Operation: 82/2=41, Resulting Numbers: [7, 41] Generated Node #3: [7, 41] from Operation: 82/2=41 Current State: 34:[7, 41], Operations: ['20-18=2', '82/2=41'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[20, 82, 18, 7], Operations: [] Exploring Operation: 82-18=64, Resulting Numbers: [20, 7, 64] Generated Node #0,0: 34:[20, 7, 64] Operation: 82-18=64 Exploring Operation: 82-20=62, Resulting Numbers: [18, 7, 62] Generated Node #0,1: 34:[18, 7, 62] Operation: 82-20=62 Exploring Operation: 82-7=75, Resulting Numbers: [20, 18, 75] Generated Node #0,2: 34:[20, 18, 75] Operation: 82-7=75 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[18, 7, 62], Operations: ['82-20=62'] Exploring Operation: 62-7=55, Resulting Numbers: [18, 55] Generated Node #0,1,0: 34:[18, 55] Operation: 62-7=55 Exploring Operation: 62-18=44, Resulting Numbers: [7, 44] Generated Node #0,1,1: 34:[7, 44] Operation: 62-18=44 Exploring Operation: 18-7=11, Resulting Numbers: [62, 11] Generated Node #0,1,2: 34:[62, 11] Operation: 18-7=11 Moving to Node #0,1,1 Current State: 34:[7, 44], Operations: ['82-20=62', '62-18=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,34 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[18, 55], Operations: ['82-20=62', '62-7=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[62, 11], Operations: ['82-20=62', '18-7=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,34 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,34 unequal: No Solution No 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: 34:[20, 7, 64], Operations: ['82-18=64'] Exploring Operation: 64-7=57, Resulting Numbers: [20, 57] Generated Node #0,0,0: 34:[20, 57] Operation: 64-7=57 Exploring Operation: 20-7=13, Resulting Numbers: [64, 13] Generated Node #0,0,1: 34:[64, 13] Operation: 20-7=13 Exploring Operation: 64-20=44, Resulting Numbers: [7, 44] Generated Node #0,0,2: 34:[7, 44] Operation: 64-20=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[7, 44], Operations: ['82-18=64', '64-20=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,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,0,0 Current State: 34:[20, 57], Operations: ['82-18=64', '64-7=57'] Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,34 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,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,0,1 Current State: 34:[64, 13], Operations: ['82-18=64', '20-7=13'] Exploring Operation: 64*13=832, Resulting Numbers: [832] 832,34 unequal: No Solution Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 64+13=77, Resulting Numbers: [77] 77,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:[20, 18, 75], Operations: ['82-7=75'] Exploring Operation: 20-18=2, Resulting Numbers: [75, 2] Generated Node #0,2,0: 34:[75, 2] Operation: 20-18=2 Exploring Operation: 75-18=57, Resulting Numbers: [20, 57] Generated Node #0,2,1: 34:[20, 57] Operation: 75-18=57 Exploring Operation: 75-20=55, Resulting Numbers: [18, 55] Generated Node #0,2,2: 34:[18, 55] Operation: 75-20=55 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[18, 55], Operations: ['82-7=75', '75-20=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,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,2,1 Current State: 34:[20, 57], Operations: ['82-7=75', '75-18=57'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,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,2,0 Current State: 34:[75, 2], Operations: ['82-7=75', '20-18=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 62, 8, 98, 72 ]
100
[ "62+8=70", "98+72=170", "170-70=100" ]
Current State: 100:[62, 8, 98, 72], Operations: [] Exploring Operation: 62+8=70, Resulting Numbers: [98, 72, 70] Generated Node #2: [98, 72, 70] from Operation: 62+8=70 Current State: 100:[98, 72, 70], Operations: ['62+8=70'] Exploring Operation: 98+72=170, Resulting Numbers: [70, 170] Generated Node #3: [70, 170] from Operation: 98+72=170 Current State: 100:[70, 170], Operations: ['62+8=70', '98+72=170'] Exploring Operation: 170-70=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[62, 8, 98, 72], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [62, 98, 9] Generated Node #0,0: 100:[62, 98, 9] Operation: 72/8=9 Exploring Operation: 72-62=10, Resulting Numbers: [8, 98, 10] Generated Node #0,1: 100:[8, 98, 10] Operation: 72-62=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[8, 98, 10], Operations: ['72-62=10'] Exploring Operation: 8+10=18, Resulting Numbers: [98, 18] Generated Node #0,1,0: 100:[98, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [98, 2] Generated Node #0,1,1: 100:[98, 2] Operation: 10-8=2 Moving to Node #0,1,1 Current State: 100:[98, 2], Operations: ['72-62=10', '10-8=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[62, 8, 98, 72], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [8, 98, 10] Generated Node #0,1: 100:[8, 98, 10] Operation: 72-62=10 Moving to Node #0,1 Current State: 100:[8, 98, 10], Operations: ['72-62=10'] Exploring Operation: 10-8=2, Resulting Numbers: [98, 2] Generated Node #0,1,1: 100:[98, 2] Operation: 10-8=2 Moving to Node #0,1,1 Current State: 100:[98, 2], Operations: ['72-62=10', '10-8=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 35, 27, 47, 60 ]
22
[ "47-35=12", "60/12=5", "27-5=22" ]
Current State: 22:[35, 27, 47, 60], Operations: [] Exploring Operation: 47-35=12, Resulting Numbers: [27, 60, 12] Generated Node #2: [27, 60, 12] from Operation: 47-35=12 Current State: 22:[27, 60, 12], Operations: ['47-35=12'] Exploring Operation: 60/12=5, Resulting Numbers: [27, 5] Generated Node #3: [27, 5] from Operation: 60/12=5 Current State: 22:[27, 5], Operations: ['47-35=12', '60/12=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[35, 27, 47, 60], Operations: [] Exploring Operation: 47-35=12, Resulting Numbers: [27, 60, 12] Generated Node #0,0: 22:[27, 60, 12] Operation: 47-35=12 Exploring Operation: 60-35=25, Resulting Numbers: [27, 47, 25] Generated Node #0,1: 22:[27, 47, 25] Operation: 60-35=25 Exploring Operation: 60-27=33, Resulting Numbers: [35, 47, 33] Generated Node #0,2: 22:[35, 47, 33] Operation: 60-27=33 Exploring Operation: 60-47=13, Resulting Numbers: [35, 27, 13] Generated Node #0,3: 22:[35, 27, 13] Operation: 60-47=13 Exploring Operation: 47-27=20, Resulting Numbers: [35, 60, 20] Generated Node #0,4: 22:[35, 60, 20] Operation: 47-27=20 Moving to Node #0,3 Current State: 22:[35, 27, 13], Operations: ['60-47=13'] Exploring Operation: 27+13=40, Resulting Numbers: [35, 40] Generated Node #0,3,0: 22:[35, 40] Operation: 27+13=40 Exploring Operation: 27-13=14, Resulting Numbers: [35, 14] Generated Node #0,3,1: 22:[35, 14] Operation: 27-13=14 Exploring Operation: 35-27=8, Resulting Numbers: [13, 8] Generated Node #0,3,2: 22:[13, 8] Operation: 35-27=8 Exploring Operation: 35+13=48, Resulting Numbers: [27, 48] Generated Node #0,3,3: 22:[27, 48] Operation: 35+13=48 Exploring Operation: 35-13=22, Resulting Numbers: [27, 22] Generated Node #0,3,4: 22:[27, 22] Operation: 35-13=22 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[13, 8], Operations: ['60-47=13', '35-27=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 22:[27, 22], Operations: ['60-47=13', '35-13=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[35, 14], Operations: ['60-47=13', '27-13=14'] Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,22 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 22:[35, 40], Operations: ['60-47=13', '27+13=40'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[27, 48], Operations: ['60-47=13', '35+13=48'] Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,22 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 22:[27, 47, 25], Operations: ['60-35=25'] Exploring Operation: 27+47=74, Resulting Numbers: [25, 74] Generated Node #0,1,0: 22:[25, 74] Operation: 27+47=74 Exploring Operation: 47-27=20, Resulting Numbers: [25, 20] Generated Node #0,1,1: 22:[25, 20] Operation: 47-27=20 Exploring Operation: 27+25=52, Resulting Numbers: [47, 52] Generated Node #0,1,2: 22:[47, 52] Operation: 27+25=52 Exploring Operation: 27-25=2, Resulting Numbers: [47, 2] Generated Node #0,1,3: 22:[47, 2] Operation: 27-25=2 Exploring Operation: 47-25=22, Resulting Numbers: [27, 22] Generated Node #0,1,4: 22:[27, 22] Operation: 47-25=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[25, 20], Operations: ['60-35=25', '47-27=20'] Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,22 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 22:[27, 22], Operations: ['60-35=25', '47-25=22'] Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[47, 2], Operations: ['60-35=25', '27-25=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,22 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[25, 74], Operations: ['60-35=25', '27+47=74'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[47, 52], Operations: ['60-35=25', '27+25=52'] Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 47*52=2444, Resulting Numbers: [2444] 2444,22 unequal: No Solution Exploring Operation: 47+52=99, Resulting Numbers: [99] 99,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 22:[27, 60, 12], Operations: ['47-35=12'] Exploring Operation: 60/12=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 22:[27, 5] Operation: 60/12=5 Exploring Operation: 27-12=15, Resulting Numbers: [60, 15] Generated Node #0,0,1: 22:[60, 15] Operation: 27-12=15 Exploring Operation: 27+12=39, Resulting Numbers: [60, 39] Generated Node #0,0,2: 22:[60, 39] Operation: 27+12=39 Exploring Operation: 60-12=48, Resulting Numbers: [27, 48] Generated Node #0,0,3: 22:[27, 48] Operation: 60-12=48 Exploring Operation: 60-27=33, Resulting Numbers: [12, 33] Generated Node #0,0,4: 22:[12, 33] Operation: 60-27=33 Moving to Node #0,2 Current State: 22:[35, 47, 33], Operations: ['60-27=33'] Exploring Operation: 35+33=68, Resulting Numbers: [47, 68] Generated Node #0,2,0: 22:[47, 68] Operation: 35+33=68 Exploring Operation: 47-33=14, Resulting Numbers: [35, 14] Generated Node #0,2,1: 22:[35, 14] Operation: 47-33=14 Exploring Operation: 47-35=12, Resulting Numbers: [33, 12] Generated Node #0,2,2: 22:[33, 12] Operation: 47-35=12 Exploring Operation: 35-33=2, Resulting Numbers: [47, 2] Generated Node #0,2,3: 22:[47, 2] Operation: 35-33=2 Exploring Operation: 35+47=82, Resulting Numbers: [33, 82] Generated Node #0,2,4: 22:[33, 82] Operation: 35+47=82 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[33, 12], Operations: ['60-27=33', '47-35=12'] Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,22 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[35, 14], Operations: ['60-27=33', '47-33=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,22 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[47, 2], Operations: ['60-27=33', '35-33=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,22 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[47, 68], Operations: ['60-27=33', '35+33=68'] Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[33, 82], Operations: ['60-27=33', '35+47=82'] Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,22 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: 22:[35, 60, 20], Operations: ['47-27=20'] Exploring Operation: 60-35=25, Resulting Numbers: [20, 25] Generated Node #0,4,0: 22:[20, 25] Operation: 60-35=25 Exploring Operation: 60-20=40, Resulting Numbers: [35, 40] Generated Node #0,4,1: 22:[35, 40] Operation: 60-20=40 Exploring Operation: 35+20=55, Resulting Numbers: [60, 55] Generated Node #0,4,2: 22:[60, 55] Operation: 35+20=55 Exploring Operation: 35-20=15, Resulting Numbers: [60, 15] Generated Node #0,4,3: 22:[60, 15] Operation: 35-20=15 Exploring Operation: 60/20=3, Resulting Numbers: [35, 3] Generated Node #0,4,4: 22:[35, 3] Operation: 60/20=3 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 22:[20, 25], Operations: ['47-27=20', '60-35=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[35, 3], Operations: ['47-27=20', '60/20=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[35, 40], Operations: ['47-27=20', '60-20=40'] Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,22 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 22:[60, 15], Operations: ['47-27=20', '35-20=15'] Exploring Operation: 60*15=900, Resulting Numbers: [900] 900,22 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 22:[60, 55], Operations: ['47-27=20', '35+20=55'] Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,22 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,22 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: 22:[27, 5], Operations: ['47-35=12', '60/12=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[35, 27, 47, 60], Operations: [] Exploring Operation: 47-35=12, Resulting Numbers: [27, 60, 12] Generated Node #0,0: 22:[27, 60, 12] Operation: 47-35=12 Moving to Node #0,0 Current State: 22:[27, 60, 12], Operations: ['47-35=12'] Exploring Operation: 60/12=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 22:[27, 5] Operation: 60/12=5 Moving to Node #0,0,0 Current State: 22:[27, 5], Operations: ['47-35=12', '60/12=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.915799
hs_5
mult_heuristic
[ 19, 88, 44, 6 ]
23
[ "19+6=25", "88/44=2", "25-2=23" ]
Current State: 23:[19, 88, 44, 6], Operations: [] Exploring Operation: 19+6=25, Resulting Numbers: [88, 44, 25] Generated Node #2: [88, 44, 25] from Operation: 19+6=25 Current State: 23:[88, 44, 25], Operations: ['19+6=25'] Exploring Operation: 88/44=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 88/44=2 Current State: 23:[25, 2], Operations: ['19+6=25', '88/44=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[19, 88, 44, 6], Operations: [] Exploring Operation: 44-19=25, Resulting Numbers: [88, 6, 25] Generated Node #0,0: 23:[88, 6, 25] Operation: 44-19=25 Exploring Operation: 88-19=69, Resulting Numbers: [44, 6, 69] Generated Node #0,1: 23:[44, 6, 69] Operation: 88-19=69 Exploring Operation: 88/44=2, Resulting Numbers: [19, 6, 2] Generated Node #0,2: 23:[19, 6, 2] Operation: 88/44=2 Exploring Operation: 88-44=44, Resulting Numbers: [19, 6, 44] Generated Node #0,3: 23:[19, 6, 44] Operation: 88-44=44 Exploring Operation: 88-6=82, Resulting Numbers: [19, 44, 82] Generated Node #0,4: 23:[19, 44, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[19, 6, 2], Operations: ['88/44=2'] Exploring Operation: 19-2=17, Resulting Numbers: [6, 17] Generated Node #0,2,0: 23:[6, 17] Operation: 19-2=17 Exploring Operation: 6*2=12, Resulting Numbers: [19, 12] Generated Node #0,2,1: 23:[19, 12] Operation: 6*2=12 Exploring Operation: 6+2=8, Resulting Numbers: [19, 8] Generated Node #0,2,2: 23:[19, 8] Operation: 6+2=8 Exploring Operation: 19+6=25, Resulting Numbers: [2, 25] Generated Node #0,2,3: 23:[2, 25] Operation: 19+6=25 Exploring Operation: 19+2=21, Resulting Numbers: [6, 21] Generated Node #0,2,4: 23:[6, 21] Operation: 19+2=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[19, 12], Operations: ['88/44=2', '6*2=12'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,23 unequal: No Solution No 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: 23:[19, 8], Operations: ['88/44=2', '6+2=8'] Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,23 unequal: No Solution No 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: 23:[6, 21], Operations: ['88/44=2', '19+2=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,23 unequal: No Solution No 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: 23:[6, 17], Operations: ['88/44=2', '19-2=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[19, 88, 44, 6], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [19, 6, 2] Generated Node #0,2: 23:[19, 6, 2] Operation: 88/44=2 Moving to Node #0,2 Current State: 23:[19, 6, 2], Operations: ['88/44=2'] Exploring Operation: 19-2=17, Resulting Numbers: [6, 17] Generated Node #0,2,0: 23:[6, 17] Operation: 19-2=17 Moving to Node #0,2,0 Current State: 23:[6, 17], Operations: ['88/44=2', '19-2=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 87, 34, 88, 44 ]
51
[ "87-34=53", "88/44=2", "53-2=51" ]
Current State: 51:[87, 34, 88, 44], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [88, 44, 53] Generated Node #2: [88, 44, 53] from Operation: 87-34=53 Current State: 51:[88, 44, 53], Operations: ['87-34=53'] Exploring Operation: 88/44=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 88/44=2 Current State: 51:[53, 2], Operations: ['87-34=53', '88/44=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[87, 34, 88, 44], Operations: [] Exploring Operation: 88-34=54, Resulting Numbers: [87, 44, 54] Generated Node #0,0: 51:[87, 44, 54] Operation: 88-34=54 Exploring Operation: 88-87=1, Resulting Numbers: [34, 44, 1] Generated Node #0,1: 51:[34, 44, 1] Operation: 88-87=1 Exploring Operation: 87-34=53, Resulting Numbers: [88, 44, 53] Generated Node #0,2: 51:[88, 44, 53] Operation: 87-34=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[34, 44, 1], Operations: ['88-87=1'] Exploring Operation: 44-34=10, Resulting Numbers: [1, 10] Generated Node #0,1,0: 51:[1, 10] Operation: 44-34=10 Exploring Operation: 34-1=33, Resulting Numbers: [44, 33] Generated Node #0,1,1: 51:[44, 33] Operation: 34-1=33 Exploring Operation: 34+1=35, Resulting Numbers: [44, 35] Generated Node #0,1,2: 51:[44, 35] Operation: 34+1=35 Moving to Node #0,1,0 Current State: 51:[1, 10], Operations: ['88-87=1', '44-34=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[44, 33], Operations: ['88-87=1', '34-1=33'] Exploring Operation: 44*33=1452, Resulting Numbers: [1452] 1452,51 unequal: No Solution Exploring Operation: 44+33=77, Resulting Numbers: [77] 77,51 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[44, 35], Operations: ['88-87=1', '34+1=35'] Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,51 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[87, 44, 54], Operations: ['88-34=54'] Exploring Operation: 87-44=43, Resulting Numbers: [54, 43] Generated Node #0,0,0: 51:[54, 43] Operation: 87-44=43 Exploring Operation: 87-54=33, Resulting Numbers: [44, 33] Generated Node #0,0,1: 51:[44, 33] Operation: 87-54=33 Exploring Operation: 54-44=10, Resulting Numbers: [87, 10] Generated Node #0,0,2: 51:[87, 10] Operation: 54-44=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[54, 43], Operations: ['88-34=54', '87-44=43'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,51 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,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,1 Current State: 51:[44, 33], Operations: ['88-34=54', '87-54=33'] Exploring Operation: 44*33=1452, Resulting Numbers: [1452] 1452,51 unequal: No Solution Exploring Operation: 44+33=77, Resulting Numbers: [77] 77,51 unequal: No Solution Exploring Operation: 44-33=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,0,2 Current State: 51:[87, 10], Operations: ['88-34=54', '54-44=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,51 unequal: No Solution Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,51 unequal: No Solution Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,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:[88, 44, 53], Operations: ['87-34=53'] Exploring Operation: 88-53=35, Resulting Numbers: [44, 35] Generated Node #0,2,0: 51:[44, 35] Operation: 88-53=35 Exploring Operation: 88/44=2, Resulting Numbers: [53, 2] Generated Node #0,2,1: 51:[53, 2] Operation: 88/44=2 Exploring Operation: 88-44=44, Resulting Numbers: [53, 44] Generated Node #0,2,2: 51:[53, 44] Operation: 88-44=44 Moving to Node #0,2,1 Current State: 51:[53, 2], Operations: ['87-34=53', '88/44=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[87, 34, 88, 44], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [88, 44, 53] Generated Node #0,2: 51:[88, 44, 53] Operation: 87-34=53 Moving to Node #0,2 Current State: 51:[88, 44, 53], Operations: ['87-34=53'] Exploring Operation: 88/44=2, Resulting Numbers: [53, 2] Generated Node #0,2,1: 51:[53, 2] Operation: 88/44=2 Moving to Node #0,2,1 Current State: 51:[53, 2], Operations: ['87-34=53', '88/44=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 10, 4, 37, 82 ]
79
[ "10*4=40", "37+82=119", "119-40=79" ]
Current State: 79:[10, 4, 37, 82], Operations: [] Exploring Operation: 10*4=40, Resulting Numbers: [37, 82, 40] Generated Node #2: [37, 82, 40] from Operation: 10*4=40 Current State: 79:[37, 82, 40], Operations: ['10*4=40'] Exploring Operation: 37+82=119, Resulting Numbers: [40, 119] Generated Node #3: [40, 119] from Operation: 37+82=119 Current State: 79:[40, 119], Operations: ['10*4=40', '37+82=119'] Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[10, 4, 37, 82], Operations: [] Exploring Operation: 10+37=47, Resulting Numbers: [4, 82, 47] Generated Node #0,0: 79:[4, 82, 47] Operation: 10+37=47 Exploring Operation: 10*4=40, Resulting Numbers: [37, 82, 40] Generated Node #0,1: 79:[37, 82, 40] Operation: 10*4=40 Exploring Operation: 4+37=41, Resulting Numbers: [10, 82, 41] Generated Node #0,2: 79:[10, 82, 41] Operation: 4+37=41 Exploring Operation: 10+4=14, Resulting Numbers: [37, 82, 14] Generated Node #0,3: 79:[37, 82, 14] Operation: 10+4=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[37, 82, 40], Operations: ['10*4=40'] Exploring Operation: 37+40=77, Resulting Numbers: [82, 77] Generated Node #0,1,0: 79:[82, 77] Operation: 37+40=77 Exploring Operation: 37+82=119, Resulting Numbers: [40, 119] Generated Node #0,1,1: 79:[40, 119] Operation: 37+82=119 Exploring Operation: 40-37=3, Resulting Numbers: [82, 3] Generated Node #0,1,2: 79:[82, 3] Operation: 40-37=3 Exploring Operation: 82-37=45, Resulting Numbers: [40, 45] Generated Node #0,1,3: 79:[40, 45] Operation: 82-37=45 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[82, 77], Operations: ['10*4=40', '37+40=77'] Exploring Operation: 82-77=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 82+77=159, Resulting Numbers: [159] 159,79 unequal: No Solution Exploring Operation: 82*77=6314, Resulting Numbers: [6314] 6314,79 unequal: No Solution No 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: 79:[40, 45], Operations: ['10*4=40', '82-37=45'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,79 unequal: No Solution Exploring Operation: 40*45=1800, Resulting Numbers: [1800] 1800,79 unequal: No Solution No 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: 79:[40, 119], Operations: ['10*4=40', '37+82=119'] Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,79 unequal: No Solution Exploring Operation: 40*119=4760, Resulting Numbers: [4760] 4760,79 unequal: No Solution Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[10, 4, 37, 82], Operations: [] Exploring Operation: 10*4=40, Resulting Numbers: [37, 82, 40] Generated Node #0,1: 79:[37, 82, 40] Operation: 10*4=40 Moving to Node #0,1 Current State: 79:[37, 82, 40], Operations: ['10*4=40'] Exploring Operation: 37+82=119, Resulting Numbers: [40, 119] Generated Node #0,1,1: 79:[40, 119] Operation: 37+82=119 Moving to Node #0,1,1 Current State: 79:[40, 119], Operations: ['10*4=40', '37+82=119'] Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 90, 2, 76, 59 ]
71
[ "90-2=88", "76-59=17", "88-17=71" ]
Current State: 71:[90, 2, 76, 59], Operations: [] Exploring Operation: 90-2=88, Resulting Numbers: [76, 59, 88] Generated Node #2: [76, 59, 88] from Operation: 90-2=88 Current State: 71:[76, 59, 88], Operations: ['90-2=88'] Exploring Operation: 76-59=17, Resulting Numbers: [88, 17] Generated Node #3: [88, 17] from Operation: 76-59=17 Current State: 71:[88, 17], Operations: ['90-2=88', '76-59=17'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[90, 2, 76, 59], Operations: [] Exploring Operation: 2+59=61, Resulting Numbers: [90, 76, 61] Generated Node #0,0: 71:[90, 76, 61] Operation: 2+59=61 Exploring Operation: 90+2=92, Resulting Numbers: [76, 59, 92] Generated Node #0,1: 71:[76, 59, 92] Operation: 90+2=92 Exploring Operation: 76-2=74, Resulting Numbers: [90, 59, 74] Generated Node #0,2: 71:[90, 59, 74] Operation: 76-2=74 Exploring Operation: 90-2=88, Resulting Numbers: [76, 59, 88] Generated Node #0,3: 71:[76, 59, 88] Operation: 90-2=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[90, 76, 61], Operations: ['2+59=61'] Exploring Operation: 90-76=14, Resulting Numbers: [61, 14] Generated Node #0,0,0: 71:[61, 14] Operation: 90-76=14 Exploring Operation: 90-61=29, Resulting Numbers: [76, 29] Generated Node #0,0,1: 71:[76, 29] Operation: 90-61=29 Exploring Operation: 90+61=151, Resulting Numbers: [76, 151] Generated Node #0,0,2: 71:[76, 151] Operation: 90+61=151 Exploring Operation: 76-61=15, Resulting Numbers: [90, 15] Generated Node #0,0,3: 71:[90, 15] Operation: 76-61=15 Moving to Node #0,0,1 Current State: 71:[76, 29], Operations: ['2+59=61', '90-61=29'] Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,71 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[61, 14], Operations: ['2+59=61', '90-76=14'] Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,71 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[90, 15], Operations: ['2+59=61', '76-61=15'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,71 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[76, 151], Operations: ['2+59=61', '90+61=151'] Exploring Operation: 76*151=11476, Resulting Numbers: [11476] 11476,71 unequal: No Solution Exploring Operation: 151-76=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 76+151=227, Resulting Numbers: [227] 227,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[90, 59, 74], Operations: ['76-2=74'] Exploring Operation: 90-59=31, Resulting Numbers: [74, 31] Generated Node #0,2,0: 71:[74, 31] Operation: 90-59=31 Exploring Operation: 90+59=149, Resulting Numbers: [74, 149] Generated Node #0,2,1: 71:[74, 149] Operation: 90+59=149 Exploring Operation: 90-74=16, Resulting Numbers: [59, 16] Generated Node #0,2,2: 71:[59, 16] Operation: 90-74=16 Exploring Operation: 74-59=15, Resulting Numbers: [90, 15] Generated Node #0,2,3: 71:[90, 15] Operation: 74-59=15 Moving to Node #0,2,0 Current State: 71:[74, 31], Operations: ['76-2=74', '90-59=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,71 unequal: No Solution Exploring Operation: 74+31=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 74*31=2294, Resulting Numbers: [2294] 2294,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[59, 16], Operations: ['76-2=74', '90-74=16'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,71 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[90, 15], Operations: ['76-2=74', '74-59=15'] Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,71 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[74, 149], Operations: ['76-2=74', '90+59=149'] Exploring Operation: 149-74=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 74+149=223, Resulting Numbers: [223] 223,71 unequal: No Solution Exploring Operation: 74*149=11026, Resulting Numbers: [11026] 11026,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[76, 59, 88], Operations: ['90-2=88'] Exploring Operation: 76-59=17, Resulting Numbers: [88, 17] Generated Node #0,3,0: 71:[88, 17] Operation: 76-59=17 Exploring Operation: 88-59=29, Resulting Numbers: [76, 29] Generated Node #0,3,1: 71:[76, 29] Operation: 88-59=29 Exploring Operation: 88-76=12, Resulting Numbers: [59, 12] Generated Node #0,3,2: 71:[59, 12] Operation: 88-76=12 Exploring Operation: 76+59=135, Resulting Numbers: [88, 135] Generated Node #0,3,3: 71:[88, 135] Operation: 76+59=135 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[76, 29], Operations: ['90-2=88', '88-59=29'] Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,71 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[88, 17], Operations: ['90-2=88', '76-59=17'] Exploring Operation: 88+17=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 88*17=1496, Resulting Numbers: [1496] 1496,71 unequal: No Solution Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[90, 2, 76, 59], Operations: [] Exploring Operation: 90-2=88, Resulting Numbers: [76, 59, 88] Generated Node #0,3: 71:[76, 59, 88] Operation: 90-2=88 Moving to Node #0,3 Current State: 71:[76, 59, 88], Operations: ['90-2=88'] Exploring Operation: 76-59=17, Resulting Numbers: [88, 17] Generated Node #0,3,0: 71:[88, 17] Operation: 76-59=17 Moving to Node #0,3,0 Current State: 71:[88, 17], Operations: ['90-2=88', '76-59=17'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.954861
hs_4
mult_heuristic
[ 34, 4, 13, 82 ]
100
[ "82-34=48", "4*13=52", "48+52=100" ]
Current State: 100:[34, 4, 13, 82], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [4, 13, 48] Generated Node #2: [4, 13, 48] from Operation: 82-34=48 Current State: 100:[4, 13, 48], Operations: ['82-34=48'] Exploring Operation: 4*13=52, Resulting Numbers: [48, 52] Generated Node #3: [48, 52] from Operation: 4*13=52 Current State: 100:[48, 52], Operations: ['82-34=48', '4*13=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[34, 4, 13, 82], Operations: [] Exploring Operation: 34-13=21, Resulting Numbers: [4, 82, 21] Generated Node #0,0: 100:[4, 82, 21] Operation: 34-13=21 Exploring Operation: 34+82=116, Resulting Numbers: [4, 13, 116] Generated Node #0,1: 100:[4, 13, 116] Operation: 34+82=116 Exploring Operation: 13+82=95, Resulting Numbers: [34, 4, 95] Generated Node #0,2: 100:[34, 4, 95] Operation: 13+82=95 Exploring Operation: 82-34=48, Resulting Numbers: [4, 13, 48] Generated Node #0,3: 100:[4, 13, 48] Operation: 82-34=48 Moving to Node #0,3 Current State: 100:[4, 13, 48], Operations: ['82-34=48'] Exploring Operation: 13-4=9, Resulting Numbers: [48, 9] Generated Node #0,3,0: 100:[48, 9] Operation: 13-4=9 Exploring Operation: 4+48=52, Resulting Numbers: [13, 52] Generated Node #0,3,1: 100:[13, 52] Operation: 4+48=52 Exploring Operation: 4*13=52, Resulting Numbers: [48, 52] Generated Node #0,3,2: 100:[48, 52] Operation: 4*13=52 Exploring Operation: 4+13=17, Resulting Numbers: [48, 17] Generated Node #0,3,3: 100:[48, 17] Operation: 4+13=17 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[48, 9], Operations: ['82-34=48', '13-4=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,100 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[48, 52], Operations: ['82-34=48', '4*13=52'] Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,100 unequal: No Solution Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[34, 4, 13, 82], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [4, 13, 48] Generated Node #0,3: 100:[4, 13, 48] Operation: 82-34=48 Moving to Node #0,3 Current State: 100:[4, 13, 48], Operations: ['82-34=48'] Exploring Operation: 4*13=52, Resulting Numbers: [48, 52] Generated Node #0,3,2: 100:[48, 52] Operation: 4*13=52 Moving to Node #0,3,2 Current State: 100:[48, 52], Operations: ['82-34=48', '4*13=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 88, 90, 14, 6 ]
88
[ "90/6=15", "15-14=1", "88*1=88" ]
Current State: 88:[88, 90, 14, 6], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [88, 14, 15] Generated Node #2: [88, 14, 15] from Operation: 90/6=15 Current State: 88:[88, 14, 15], Operations: ['90/6=15'] Exploring Operation: 15-14=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 15-14=1 Current State: 88:[88, 1], Operations: ['90/6=15', '15-14=1'] Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[88, 90, 14, 6], Operations: [] Exploring Operation: 14+6=20, Resulting Numbers: [88, 90, 20] Generated Node #0,0: 88:[88, 90, 20] Operation: 14+6=20 Exploring Operation: 90-88=2, Resulting Numbers: [14, 6, 2] Generated Node #0,1: 88:[14, 6, 2] Operation: 90-88=2 Exploring Operation: 14-6=8, Resulting Numbers: [88, 90, 8] Generated Node #0,2: 88:[88, 90, 8] Operation: 14-6=8 Moving to Node #0,2 Current State: 88:[88, 90, 8], Operations: ['14-6=8'] Exploring Operation: 90-88=2, Resulting Numbers: [8, 2] Generated Node #0,2,0: 88:[8, 2] Operation: 90-88=2 Exploring Operation: 88/8=11, Resulting Numbers: [90, 11] Generated Node #0,2,1: 88:[90, 11] Operation: 88/8=11 Exploring Operation: 90-8=82, Resulting Numbers: [88, 82] Generated Node #0,2,2: 88:[88, 82] Operation: 90-8=82 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[8, 2], Operations: ['14-6=8', '90-88=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[90, 11], Operations: ['14-6=8', '88/8=11'] Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,88 unequal: No Solution Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,88 unequal: No Solution Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[88, 82], Operations: ['14-6=8', '90-8=82'] Exploring Operation: 88*82=7216, Resulting Numbers: [7216] 7216,88 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 88+82=170, Resulting Numbers: [170] 170,88 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: 88:[88, 90, 20], Operations: ['14+6=20'] Exploring Operation: 90-20=70, Resulting Numbers: [88, 70] Generated Node #0,0,0: 88:[88, 70] Operation: 90-20=70 Exploring Operation: 88+20=108, Resulting Numbers: [90, 108] Generated Node #0,0,1: 88:[90, 108] Operation: 88+20=108 Exploring Operation: 90-88=2, Resulting Numbers: [20, 2] Generated Node #0,0,2: 88:[20, 2] Operation: 90-88=2 Moving to Node #0,1 Current State: 88:[14, 6, 2], Operations: ['90-88=2'] Exploring Operation: 14+6=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 88:[2, 20] Operation: 14+6=20 Exploring Operation: 14-6=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 88:[2, 8] Operation: 14-6=8 Exploring Operation: 14-2=12, Resulting Numbers: [6, 12] Generated Node #0,1,2: 88:[6, 12] Operation: 14-2=12 Moving to Node #0,1,1 Current State: 88:[2, 8], Operations: ['90-88=2', '14-6=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[20, 2], Operations: ['14+6=20', '90-88=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[2, 20], Operations: ['90-88=2', '14+6=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[6, 12], Operations: ['90-88=2', '14-2=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[88, 70], Operations: ['14+6=20', '90-20=70'] Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,88 unequal: No Solution Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,88 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[90, 108], Operations: ['14+6=20', '88+20=108'] Exploring Operation: 108-90=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 90+108=198, Resulting Numbers: [198] 198,88 unequal: No Solution Exploring Operation: 90*108=9720, Resulting Numbers: [9720] 9720,88 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 16, 40, 93, 10 ]
97
[ "16*10=160", "160/40=4", "93+4=97" ]
Current State: 97:[16, 40, 93, 10], Operations: [] Exploring Operation: 16*10=160, Resulting Numbers: [40, 93, 160] Generated Node #2: [40, 93, 160] from Operation: 16*10=160 Current State: 97:[40, 93, 160], Operations: ['16*10=160'] Exploring Operation: 160/40=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 160/40=4 Current State: 97:[93, 4], Operations: ['16*10=160', '160/40=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[16, 40, 93, 10], Operations: [] Exploring Operation: 16*10=160, Resulting Numbers: [40, 93, 160] Generated Node #0,0: 97:[40, 93, 160] Operation: 16*10=160 Exploring Operation: 16+40=56, Resulting Numbers: [93, 10, 56] Generated Node #0,1: 97:[93, 10, 56] Operation: 16+40=56 Exploring Operation: 16+10=26, Resulting Numbers: [40, 93, 26] Generated Node #0,2: 97:[40, 93, 26] Operation: 16+10=26 Exploring Operation: 40+10=50, Resulting Numbers: [16, 93, 50] Generated Node #0,3: 97:[16, 93, 50] Operation: 40+10=50 Exploring Operation: 93+10=103, Resulting Numbers: [16, 40, 103] Generated Node #0,4: 97:[16, 40, 103] Operation: 93+10=103 Moving to Node #0,0 Current State: 97:[40, 93, 160], Operations: ['16*10=160'] Exploring Operation: 160-40=120, Resulting Numbers: [93, 120] Generated Node #0,0,0: 97:[93, 120] Operation: 160-40=120 Exploring Operation: 40+93=133, Resulting Numbers: [160, 133] Generated Node #0,0,1: 97:[160, 133] Operation: 40+93=133 Exploring Operation: 93-40=53, Resulting Numbers: [160, 53] Generated Node #0,0,2: 97:[160, 53] Operation: 93-40=53 Exploring Operation: 160-93=67, Resulting Numbers: [40, 67] Generated Node #0,0,3: 97:[40, 67] Operation: 160-93=67 Exploring Operation: 160/40=4, Resulting Numbers: [93, 4] Generated Node #0,0,4: 97:[93, 4] Operation: 160/40=4 Moving to Node #0,2 Current State: 97:[40, 93, 26], Operations: ['16+10=26'] Exploring Operation: 93+26=119, Resulting Numbers: [40, 119] Generated Node #0,2,0: 97:[40, 119] Operation: 93+26=119 Exploring Operation: 93-26=67, Resulting Numbers: [40, 67] Generated Node #0,2,1: 97:[40, 67] Operation: 93-26=67 Exploring Operation: 40-26=14, Resulting Numbers: [93, 14] Generated Node #0,2,2: 97:[93, 14] Operation: 40-26=14 Exploring Operation: 40+26=66, Resulting Numbers: [93, 66] Generated Node #0,2,3: 97:[93, 66] Operation: 40+26=66 Exploring Operation: 40+93=133, Resulting Numbers: [26, 133] Generated Node #0,2,4: 97:[26, 133] Operation: 40+93=133 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[93, 66], Operations: ['16+10=26', '40+26=66'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 93*66=6138, Resulting Numbers: [6138] 6138,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[40, 119], Operations: ['16+10=26', '93+26=119'] Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 40*119=4760, Resulting Numbers: [4760] 4760,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[40, 67], Operations: ['16+10=26', '93-26=67'] Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,97 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,97 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[93, 14], Operations: ['16+10=26', '40-26=14'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 93*14=1302, Resulting Numbers: [1302] 1302,97 unequal: No Solution Exploring Operation: 93+14=107, Resulting Numbers: [107] 107,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 97:[26, 133], Operations: ['16+10=26', '40+93=133'] Exploring Operation: 133-26=107, Resulting Numbers: [107] 107,97 unequal: No Solution Exploring Operation: 26*133=3458, Resulting Numbers: [3458] 3458,97 unequal: No Solution Exploring Operation: 26+133=159, Resulting Numbers: [159] 159,97 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: 97:[93, 10, 56], Operations: ['16+40=56'] Exploring Operation: 10+56=66, Resulting Numbers: [93, 66] Generated Node #0,1,0: 97:[93, 66] Operation: 10+56=66 Exploring Operation: 93+10=103, Resulting Numbers: [56, 103] Generated Node #0,1,1: 97:[56, 103] Operation: 93+10=103 Exploring Operation: 93-10=83, Resulting Numbers: [56, 83] Generated Node #0,1,2: 97:[56, 83] Operation: 93-10=83 Exploring Operation: 93+56=149, Resulting Numbers: [10, 149] Generated Node #0,1,3: 97:[10, 149] Operation: 93+56=149 Exploring Operation: 56-10=46, Resulting Numbers: [93, 46] Generated Node #0,1,4: 97:[93, 46] Operation: 56-10=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[93, 66], Operations: ['16+40=56', '10+56=66'] Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 93*66=6138, Resulting Numbers: [6138] 6138,97 unequal: No Solution Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[56, 103], Operations: ['16+40=56', '93+10=103'] Exploring Operation: 103-56=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 56+103=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 56*103=5768, Resulting Numbers: [5768] 5768,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[56, 83], Operations: ['16+40=56', '93-10=83'] Exploring Operation: 56*83=4648, Resulting Numbers: [4648] 4648,97 unequal: No Solution Exploring Operation: 56+83=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 97:[93, 46], Operations: ['16+40=56', '56-10=46'] Exploring Operation: 93+46=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 93*46=4278, Resulting Numbers: [4278] 4278,97 unequal: No Solution Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[10, 149], Operations: ['16+40=56', '93+56=149'] Exploring Operation: 10+149=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 149-10=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 10*149=1490, Resulting Numbers: [1490] 1490,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 97:[16, 93, 50], Operations: ['40+10=50'] Exploring Operation: 16+93=109, Resulting Numbers: [50, 109] Generated Node #0,3,0: 97:[50, 109] Operation: 16+93=109 Exploring Operation: 93+50=143, Resulting Numbers: [16, 143] Generated Node #0,3,1: 97:[16, 143] Operation: 93+50=143 Exploring Operation: 93-16=77, Resulting Numbers: [50, 77] Generated Node #0,3,2: 97:[50, 77] Operation: 93-16=77 Exploring Operation: 16+50=66, Resulting Numbers: [93, 66] Generated Node #0,3,3: 97:[93, 66] Operation: 16+50=66 Exploring Operation: 50-16=34, Resulting Numbers: [93, 34] Generated Node #0,3,4: 97:[93, 34] Operation: 50-16=34 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[93, 66], Operations: ['40+10=50', '16+50=66'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 93*66=6138, Resulting Numbers: [6138] 6138,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[50, 109], Operations: ['40+10=50', '16+93=109'] Exploring Operation: 109-50=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 50*109=5450, Resulting Numbers: [5450] 5450,97 unequal: No Solution Exploring Operation: 50+109=159, Resulting Numbers: [159] 159,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[50, 77], Operations: ['40+10=50', '93-16=77'] Exploring Operation: 50+77=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 50*77=3850, Resulting Numbers: [3850] 3850,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 97:[93, 34], Operations: ['40+10=50', '50-16=34'] Exploring Operation: 93*34=3162, Resulting Numbers: [3162] 3162,97 unequal: No Solution Exploring Operation: 93+34=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[16, 143], Operations: ['40+10=50', '93+50=143'] Exploring Operation: 16*143=2288, Resulting Numbers: [2288] 2288,97 unequal: No Solution Exploring Operation: 16+143=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 143-16=127, Resulting Numbers: [127] 127,97 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: 97:[16, 40, 103], Operations: ['93+10=103'] Exploring Operation: 40-16=24, Resulting Numbers: [103, 24] Generated Node #0,4,0: 97:[103, 24] Operation: 40-16=24 Exploring Operation: 103-16=87, Resulting Numbers: [40, 87] Generated Node #0,4,1: 97:[40, 87] Operation: 103-16=87 Exploring Operation: 16+103=119, Resulting Numbers: [40, 119] Generated Node #0,4,2: 97:[40, 119] Operation: 16+103=119 Exploring Operation: 103-40=63, Resulting Numbers: [16, 63] Generated Node #0,4,3: 97:[16, 63] Operation: 103-40=63 Exploring Operation: 16+40=56, Resulting Numbers: [103, 56] Generated Node #0,4,4: 97:[103, 56] Operation: 16+40=56 Moving to Node #0,0,0 Current State: 97:[93, 120], Operations: ['16*10=160', '160-40=120'] Exploring Operation: 93*120=11160, Resulting Numbers: [11160] 11160,97 unequal: No Solution Exploring Operation: 120-93=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 93+120=213, Resulting Numbers: [213] 213,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[103, 56], Operations: ['93+10=103', '16+40=56'] Exploring Operation: 103+56=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 103*56=5768, Resulting Numbers: [5768] 5768,97 unequal: No Solution Exploring Operation: 103-56=47, Resulting Numbers: [47] 47,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[40, 87], Operations: ['93+10=103', '103-16=87'] Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 40+87=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 40*87=3480, Resulting Numbers: [3480] 3480,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[103, 24], Operations: ['93+10=103', '40-16=24'] Exploring Operation: 103+24=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 103-24=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 103*24=2472, Resulting Numbers: [2472] 2472,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[40, 119], Operations: ['93+10=103', '16+103=119'] Exploring Operation: 40*119=4760, Resulting Numbers: [4760] 4760,97 unequal: No Solution Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[40, 67], Operations: ['16*10=160', '160-93=67'] Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,97 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[93, 4], Operations: ['16*10=160', '160/40=4'] Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,97 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[16, 40, 93, 10], Operations: [] Exploring Operation: 16*10=160, Resulting Numbers: [40, 93, 160] Generated Node #0,0: 97:[40, 93, 160] Operation: 16*10=160 Moving to Node #0,0 Current State: 97:[40, 93, 160], Operations: ['16*10=160'] Exploring Operation: 160/40=4, Resulting Numbers: [93, 4] Generated Node #0,0,4: 97:[93, 4] Operation: 160/40=4 Moving to Node #0,0,4 Current State: 97:[93, 4], Operations: ['16*10=160', '160/40=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.914063
hs_5
sum_heuristic
[ 60, 21, 36, 72 ]
51
[ "60*36=2160", "2160/72=30", "21+30=51" ]
Current State: 51:[60, 21, 36, 72], Operations: [] Exploring Operation: 60*36=2160, Resulting Numbers: [21, 72, 2160] Generated Node #2: [21, 72, 2160] from Operation: 60*36=2160 Current State: 51:[21, 72, 2160], Operations: ['60*36=2160'] Exploring Operation: 2160/72=30, Resulting Numbers: [21, 30] Generated Node #3: [21, 30] from Operation: 2160/72=30 Current State: 51:[21, 30], Operations: ['60*36=2160', '2160/72=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[60, 21, 36, 72], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [21, 36, 12] Generated Node #0,0: 51:[21, 36, 12] Operation: 72-60=12 Exploring Operation: 72/36=2, Resulting Numbers: [60, 21, 2] Generated Node #0,1: 51:[60, 21, 2] Operation: 72/36=2 Moving to Node #0,1 Current State: 51:[60, 21, 2], Operations: ['72/36=2'] Exploring Operation: 60-2=58, Resulting Numbers: [21, 58] Generated Node #0,1,0: 51:[21, 58] Operation: 60-2=58 Exploring Operation: 21-2=19, Resulting Numbers: [60, 19] Generated Node #0,1,1: 51:[60, 19] Operation: 21-2=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[21, 58], Operations: ['72/36=2', '60-2=58'] Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,51 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,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,1,1 Current State: 51:[60, 19], Operations: ['72/36=2', '21-2=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,51 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,51 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: 51:[21, 36, 12], Operations: ['72-60=12'] Exploring Operation: 36-21=15, Resulting Numbers: [12, 15] Generated Node #0,0,0: 51:[12, 15] Operation: 36-21=15 Exploring Operation: 36/12=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 51:[21, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[21, 3], Operations: ['72-60=12', '36/12=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[12, 15], Operations: ['72-60=12', '36-21=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 59, 30, 66, 92 ]
55
[ "59-30=29", "92-66=26", "29+26=55" ]
Current State: 55:[59, 30, 66, 92], Operations: [] Exploring Operation: 59-30=29, Resulting Numbers: [66, 92, 29] Generated Node #2: [66, 92, 29] from Operation: 59-30=29 Current State: 55:[66, 92, 29], Operations: ['59-30=29'] Exploring Operation: 92-66=26, Resulting Numbers: [29, 26] Generated Node #3: [29, 26] from Operation: 92-66=26 Current State: 55:[29, 26], Operations: ['59-30=29', '92-66=26'] Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[59, 30, 66, 92], Operations: [] Exploring Operation: 92-59=33, Resulting Numbers: [30, 66, 33] Generated Node #0,0: 55:[30, 66, 33] Operation: 92-59=33 Exploring Operation: 92-66=26, Resulting Numbers: [59, 30, 26] Generated Node #0,1: 55:[59, 30, 26] Operation: 92-66=26 Exploring Operation: 66-59=7, Resulting Numbers: [30, 92, 7] Generated Node #0,2: 55:[30, 92, 7] Operation: 66-59=7 Exploring Operation: 92-30=62, Resulting Numbers: [59, 66, 62] Generated Node #0,3: 55:[59, 66, 62] Operation: 92-30=62 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[59, 66, 62], Operations: ['92-30=62'] Exploring Operation: 66-59=7, Resulting Numbers: [62, 7] Generated Node #0,3,0: 55:[62, 7] Operation: 66-59=7 Exploring Operation: 59+66=125, Resulting Numbers: [62, 125] Generated Node #0,3,1: 55:[62, 125] Operation: 59+66=125 Exploring Operation: 66-62=4, Resulting Numbers: [59, 4] Generated Node #0,3,2: 55:[59, 4] Operation: 66-62=4 Exploring Operation: 62-59=3, Resulting Numbers: [66, 3] Generated Node #0,3,3: 55:[66, 3] Operation: 62-59=3 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[59, 4], Operations: ['92-30=62', '66-62=4'] Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,55 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[59, 30, 66, 92], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [59, 66, 62] Generated Node #0,3: 55:[59, 66, 62] Operation: 92-30=62 Moving to Node #0,3 Current State: 55:[59, 66, 62], Operations: ['92-30=62'] Exploring Operation: 66-62=4, Resulting Numbers: [59, 4] Generated Node #0,3,2: 55:[59, 4] Operation: 66-62=4 Moving to Node #0,3,2 Current State: 55:[59, 4], Operations: ['92-30=62', '66-62=4'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 8, 64, 12, 33 ]
13
[ "64/8=8", "33-12=21", "21-8=13" ]
Current State: 13:[8, 64, 12, 33], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [12, 33, 8] Generated Node #2: [12, 33, 8] from Operation: 64/8=8 Current State: 13:[12, 33, 8], Operations: ['64/8=8'] Exploring Operation: 33-12=21, Resulting Numbers: [8, 21] Generated Node #3: [8, 21] from Operation: 33-12=21 Current State: 13:[8, 21], Operations: ['64/8=8', '33-12=21'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[8, 64, 12, 33], Operations: [] Exploring Operation: 64-33=31, Resulting Numbers: [8, 12, 31] Generated Node #0,0: 13:[8, 12, 31] Operation: 64-33=31 Exploring Operation: 64-8=56, Resulting Numbers: [12, 33, 56] Generated Node #0,1: 13:[12, 33, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [12, 33, 8] Generated Node #0,2: 13:[12, 33, 8] Operation: 64/8=8 Exploring Operation: 33-8=25, Resulting Numbers: [64, 12, 25] Generated Node #0,3: 13:[64, 12, 25] Operation: 33-8=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[8, 12, 31], Operations: ['64-33=31'] Exploring Operation: 8+12=20, Resulting Numbers: [31, 20] Generated Node #0,0,0: 13:[31, 20] Operation: 8+12=20 Exploring Operation: 31-8=23, Resulting Numbers: [12, 23] Generated Node #0,0,1: 13:[12, 23] Operation: 31-8=23 Exploring Operation: 31-12=19, Resulting Numbers: [8, 19] Generated Node #0,0,2: 13:[8, 19] Operation: 31-12=19 Exploring Operation: 12-8=4, Resulting Numbers: [31, 4] Generated Node #0,0,3: 13:[31, 4] Operation: 12-8=4 Moving to Node #0,0,1 Current State: 13:[12, 23], Operations: ['64-33=31', '31-8=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[8, 19], Operations: ['64-33=31', '31-12=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,13 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[31, 20], Operations: ['64-33=31', '8+12=20'] Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,13 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[31, 4], Operations: ['64-33=31', '12-8=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[12, 33, 8], Operations: ['64/8=8'] Exploring Operation: 33-12=21, Resulting Numbers: [8, 21] Generated Node #0,2,0: 13:[8, 21] Operation: 33-12=21 Exploring Operation: 33-8=25, Resulting Numbers: [12, 25] Generated Node #0,2,1: 13:[12, 25] Operation: 33-8=25 Exploring Operation: 12-8=4, Resulting Numbers: [33, 4] Generated Node #0,2,2: 13:[33, 4] Operation: 12-8=4 Exploring Operation: 12+8=20, Resulting Numbers: [33, 20] Generated Node #0,2,3: 13:[33, 20] Operation: 12+8=20 Moving to Node #0,2,0 Current State: 13:[8, 21], Operations: ['64/8=8', '33-12=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,13 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[8, 64, 12, 33], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [12, 33, 8] Generated Node #0,2: 13:[12, 33, 8] Operation: 64/8=8 Moving to Node #0,2 Current State: 13:[12, 33, 8], Operations: ['64/8=8'] Exploring Operation: 33-12=21, Resulting Numbers: [8, 21] Generated Node #0,2,0: 13:[8, 21] Operation: 33-12=21 Moving to Node #0,2,0 Current State: 13:[8, 21], Operations: ['64/8=8', '33-12=21'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 1, 32, 94, 38 ]
99
[ "1+32=33", "94+38=132", "132-33=99" ]
Current State: 99:[1, 32, 94, 38], Operations: [] Exploring Operation: 1+32=33, Resulting Numbers: [94, 38, 33] Generated Node #2: [94, 38, 33] from Operation: 1+32=33 Current State: 99:[94, 38, 33], Operations: ['1+32=33'] Exploring Operation: 94+38=132, Resulting Numbers: [33, 132] Generated Node #3: [33, 132] from Operation: 94+38=132 Current State: 99:[33, 132], Operations: ['1+32=33', '94+38=132'] Exploring Operation: 132-33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[1, 32, 94, 38], Operations: [] Exploring Operation: 38-1=37, Resulting Numbers: [32, 94, 37] Generated Node #0,0: 99:[32, 94, 37] Operation: 38-1=37 Exploring Operation: 1+94=95, Resulting Numbers: [32, 38, 95] Generated Node #0,1: 99:[32, 38, 95] Operation: 1+94=95 Exploring Operation: 1+32=33, Resulting Numbers: [94, 38, 33] Generated Node #0,2: 99:[94, 38, 33] Operation: 1+32=33 Moving to Node #0,0 Current State: 99:[32, 94, 37], Operations: ['38-1=37'] Exploring Operation: 37-32=5, Resulting Numbers: [94, 5] Generated Node #0,0,0: 99:[94, 5] Operation: 37-32=5 Exploring Operation: 94-37=57, Resulting Numbers: [32, 57] Generated Node #0,0,1: 99:[32, 57] Operation: 94-37=57 Exploring Operation: 32+94=126, Resulting Numbers: [37, 126] Generated Node #0,0,2: 99:[37, 126] Operation: 32+94=126 Moving to Node #0,1 Current State: 99:[32, 38, 95], Operations: ['1+94=95'] Exploring Operation: 95-38=57, Resulting Numbers: [32, 57] Generated Node #0,1,0: 99:[32, 57] Operation: 95-38=57 Exploring Operation: 38-32=6, Resulting Numbers: [95, 6] Generated Node #0,1,1: 99:[95, 6] Operation: 38-32=6 Exploring Operation: 32+38=70, Resulting Numbers: [95, 70] Generated Node #0,1,2: 99:[95, 70] Operation: 32+38=70 Moving to Node #0,2 Current State: 99:[94, 38, 33], Operations: ['1+32=33'] Exploring Operation: 94+38=132, Resulting Numbers: [33, 132] Generated Node #0,2,0: 99:[33, 132] Operation: 94+38=132 Exploring Operation: 94-38=56, Resulting Numbers: [33, 56] Generated Node #0,2,1: 99:[33, 56] Operation: 94-38=56 Exploring Operation: 38-33=5, Resulting Numbers: [94, 5] Generated Node #0,2,2: 99:[94, 5] Operation: 38-33=5 Moving to Node #0,0,0 Current State: 99:[94, 5], Operations: ['38-1=37', '37-32=5'] Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[1, 32, 94, 38], Operations: [] Exploring Operation: 38-1=37, Resulting Numbers: [32, 94, 37] Generated Node #0,0: 99:[32, 94, 37] Operation: 38-1=37 Moving to Node #0,0 Current State: 99:[32, 94, 37], Operations: ['38-1=37'] Exploring Operation: 37-32=5, Resulting Numbers: [94, 5] Generated Node #0,0,0: 99:[94, 5] Operation: 37-32=5 Moving to Node #0,0,0 Current State: 99:[94, 5], Operations: ['38-1=37', '37-32=5'] Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 3, 14, 9, 35 ]
33
[ "14-3=11", "9+35=44", "44-11=33" ]
Current State: 33:[3, 14, 9, 35], Operations: [] Exploring Operation: 14-3=11, Resulting Numbers: [9, 35, 11] Generated Node #2: [9, 35, 11] from Operation: 14-3=11 Current State: 33:[9, 35, 11], Operations: ['14-3=11'] Exploring Operation: 9+35=44, Resulting Numbers: [11, 44] Generated Node #3: [11, 44] from Operation: 9+35=44 Current State: 33:[11, 44], Operations: ['14-3=11', '9+35=44'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[3, 14, 9, 35], Operations: [] Exploring Operation: 3+9=12, Resulting Numbers: [14, 35, 12] Generated Node #0,0: 33:[14, 35, 12] Operation: 3+9=12 Exploring Operation: 9/3=3, Resulting Numbers: [14, 35, 3] Generated Node #0,1: 33:[14, 35, 3] Operation: 9/3=3 Exploring Operation: 14-3=11, Resulting Numbers: [9, 35, 11] Generated Node #0,2: 33:[9, 35, 11] Operation: 14-3=11 Exploring Operation: 14-9=5, Resulting Numbers: [3, 35, 5] Generated Node #0,3: 33:[3, 35, 5] Operation: 14-9=5 Moving to Node #0,2 Current State: 33:[9, 35, 11], Operations: ['14-3=11'] Exploring Operation: 9+35=44, Resulting Numbers: [11, 44] Generated Node #0,2,0: 33:[11, 44] Operation: 9+35=44 Exploring Operation: 11-9=2, Resulting Numbers: [35, 2] Generated Node #0,2,1: 33:[35, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [35, 20] Generated Node #0,2,2: 33:[35, 20] Operation: 9+11=20 Exploring Operation: 35-9=26, Resulting Numbers: [11, 26] Generated Node #0,2,3: 33:[11, 26] Operation: 35-9=26 Moving to Node #0,3 Current State: 33:[3, 35, 5], Operations: ['14-9=5'] Exploring Operation: 35-5=30, Resulting Numbers: [3, 30] Generated Node #0,3,0: 33:[3, 30] Operation: 35-5=30 Exploring Operation: 35-3=32, Resulting Numbers: [5, 32] Generated Node #0,3,1: 33:[5, 32] Operation: 35-3=32 Exploring Operation: 5-3=2, Resulting Numbers: [35, 2] Generated Node #0,3,2: 33:[35, 2] Operation: 5-3=2 Exploring Operation: 35/5=7, Resulting Numbers: [3, 7] Generated Node #0,3,3: 33:[3, 7] Operation: 35/5=7 Moving to Node #0,1 Current State: 33:[14, 35, 3], Operations: ['9/3=3'] Exploring Operation: 35+3=38, Resulting Numbers: [14, 38] Generated Node #0,1,0: 33:[14, 38] Operation: 35+3=38 Exploring Operation: 14+3=17, Resulting Numbers: [35, 17] Generated Node #0,1,1: 33:[35, 17] Operation: 14+3=17 Exploring Operation: 14-3=11, Resulting Numbers: [35, 11] Generated Node #0,1,2: 33:[35, 11] Operation: 14-3=11 Exploring Operation: 35-3=32, Resulting Numbers: [14, 32] Generated Node #0,1,3: 33:[14, 32] Operation: 35-3=32 Moving to Node #0,0 Current State: 33:[14, 35, 12], Operations: ['3+9=12'] Exploring Operation: 35-12=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 33:[14, 23] Operation: 35-12=23 Exploring Operation: 35-14=21, Resulting Numbers: [12, 21] Generated Node #0,0,1: 33:[12, 21] Operation: 35-14=21 Exploring Operation: 14-12=2, Resulting Numbers: [35, 2] Generated Node #0,0,2: 33:[35, 2] Operation: 14-12=2 Exploring Operation: 14+12=26, Resulting Numbers: [35, 26] Generated Node #0,0,3: 33:[35, 26] Operation: 14+12=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[35, 2], Operations: ['3+9=12', '14-12=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[3, 14, 9, 35], Operations: [] Exploring Operation: 3+9=12, Resulting Numbers: [14, 35, 12] Generated Node #0,0: 33:[14, 35, 12] Operation: 3+9=12 Moving to Node #0,0 Current State: 33:[14, 35, 12], Operations: ['3+9=12'] Exploring Operation: 14-12=2, Resulting Numbers: [35, 2] Generated Node #0,0,2: 33:[35, 2] Operation: 14-12=2 Moving to Node #0,0,2 Current State: 33:[35, 2], Operations: ['3+9=12', '14-12=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 42, 35, 19, 41 ]
72
[ "41-35=6", "19*6=114", "114-42=72" ]
Current State: 72:[42, 35, 19, 41], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [42, 19, 6] Generated Node #2: [42, 19, 6] from Operation: 41-35=6 Current State: 72:[42, 19, 6], Operations: ['41-35=6'] Exploring Operation: 19*6=114, Resulting Numbers: [42, 114] Generated Node #3: [42, 114] from Operation: 19*6=114 Current State: 72:[42, 114], Operations: ['41-35=6', '19*6=114'] Exploring Operation: 114-42=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[42, 35, 19, 41], Operations: [] Exploring Operation: 42-41=1, Resulting Numbers: [35, 19, 1] Generated Node #0,0: 72:[35, 19, 1] Operation: 42-41=1 Exploring Operation: 42-35=7, Resulting Numbers: [19, 41, 7] Generated Node #0,1: 72:[19, 41, 7] Operation: 42-35=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[35, 19, 1], Operations: ['42-41=1'] Exploring Operation: 35+1=36, Resulting Numbers: [19, 36] Generated Node #0,0,0: 72:[19, 36] Operation: 35+1=36 Exploring Operation: 19-1=18, Resulting Numbers: [35, 18] Generated Node #0,0,1: 72:[35, 18] Operation: 19-1=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[19, 36], Operations: ['42-41=1', '35+1=36'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,72 unequal: No Solution No 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: 72:[35, 18], Operations: ['42-41=1', '19-1=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[19, 41, 7], Operations: ['42-35=7'] Exploring Operation: 41-7=34, Resulting Numbers: [19, 34] Generated Node #0,1,0: 72:[19, 34] Operation: 41-7=34 Exploring Operation: 41-19=22, Resulting Numbers: [7, 22] Generated Node #0,1,1: 72:[7, 22] Operation: 41-19=22 Moving to Node #0,1,0 Current State: 72:[19, 34], Operations: ['42-35=7', '41-7=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[7, 22], Operations: ['42-35=7', '41-19=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,72 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
[ 79, 19, 11, 40 ]
47
[ "79+19=98", "11+40=51", "98-51=47" ]
Current State: 47:[79, 19, 11, 40], Operations: [] Exploring Operation: 79+19=98, Resulting Numbers: [11, 40, 98] Generated Node #2: [11, 40, 98] from Operation: 79+19=98 Current State: 47:[11, 40, 98], Operations: ['79+19=98'] Exploring Operation: 11+40=51, Resulting Numbers: [98, 51] Generated Node #3: [98, 51] from Operation: 11+40=51 Current State: 47:[98, 51], Operations: ['79+19=98', '11+40=51'] Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[79, 19, 11, 40], Operations: [] Exploring Operation: 79-19=60, Resulting Numbers: [11, 40, 60] Generated Node #0,0: 47:[11, 40, 60] Operation: 79-19=60 Exploring Operation: 79-11=68, Resulting Numbers: [19, 40, 68] Generated Node #0,1: 47:[19, 40, 68] Operation: 79-11=68 Exploring Operation: 19+11=30, Resulting Numbers: [79, 40, 30] Generated Node #0,2: 47:[79, 40, 30] Operation: 19+11=30 Exploring Operation: 11+40=51, Resulting Numbers: [79, 19, 51] Generated Node #0,3: 47:[79, 19, 51] Operation: 11+40=51 Exploring Operation: 79-40=39, Resulting Numbers: [19, 11, 39] Generated Node #0,4: 47:[19, 11, 39] Operation: 79-40=39 Moving to Node #0,0 Current State: 47:[11, 40, 60], Operations: ['79-19=60'] Exploring Operation: 60-11=49, Resulting Numbers: [40, 49] Generated Node #0,0,0: 47:[40, 49] Operation: 60-11=49 Exploring Operation: 60-40=20, Resulting Numbers: [11, 20] Generated Node #0,0,1: 47:[11, 20] Operation: 60-40=20 Exploring Operation: 11+40=51, Resulting Numbers: [60, 51] Generated Node #0,0,2: 47:[60, 51] Operation: 11+40=51 Exploring Operation: 11+60=71, Resulting Numbers: [40, 71] Generated Node #0,0,3: 47:[40, 71] Operation: 11+60=71 Exploring Operation: 40-11=29, Resulting Numbers: [60, 29] Generated Node #0,0,4: 47:[60, 29] Operation: 40-11=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[40, 49], Operations: ['79-19=60', '60-11=49'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,47 unequal: No Solution Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,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,2 Current State: 47:[60, 51], Operations: ['79-19=60', '11+40=51'] Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,47 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,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:[40, 71], Operations: ['79-19=60', '11+60=71'] Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,47 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,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,4 Current State: 47:[60, 29], Operations: ['79-19=60', '40-11=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,47 unequal: No Solution Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,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:[11, 20], Operations: ['79-19=60', '60-40=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,47 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: 47:[79, 40, 30], Operations: ['19+11=30'] Exploring Operation: 79+30=109, Resulting Numbers: [40, 109] Generated Node #0,2,0: 47:[40, 109] Operation: 79+30=109 Exploring Operation: 79-40=39, Resulting Numbers: [30, 39] Generated Node #0,2,1: 47:[30, 39] Operation: 79-40=39 Exploring Operation: 40-30=10, Resulting Numbers: [79, 10] Generated Node #0,2,2: 47:[79, 10] Operation: 40-30=10 Exploring Operation: 79-30=49, Resulting Numbers: [40, 49] Generated Node #0,2,3: 47:[40, 49] Operation: 79-30=49 Exploring Operation: 40+30=70, Resulting Numbers: [79, 70] Generated Node #0,2,4: 47:[79, 70] Operation: 40+30=70 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[40, 49], Operations: ['19+11=30', '79-30=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,47 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[30, 39], Operations: ['19+11=30', '79-40=39'] Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,47 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 47:[79, 70], Operations: ['19+11=30', '40+30=70'] Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,47 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[40, 109], Operations: ['19+11=30', '79+30=109'] Exploring Operation: 40+109=149, Resulting Numbers: [149] 149,47 unequal: No Solution Exploring Operation: 40*109=4360, Resulting Numbers: [4360] 4360,47 unequal: No Solution Exploring Operation: 109-40=69, Resulting Numbers: [69] 69,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[79, 10], Operations: ['19+11=30', '40-30=10'] Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,47 unequal: No Solution Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,47 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: 47:[19, 40, 68], Operations: ['79-11=68'] Exploring Operation: 68-40=28, Resulting Numbers: [19, 28] Generated Node #0,1,0: 47:[19, 28] Operation: 68-40=28 Exploring Operation: 19+68=87, Resulting Numbers: [40, 87] Generated Node #0,1,1: 47:[40, 87] Operation: 19+68=87 Exploring Operation: 19+40=59, Resulting Numbers: [68, 59] Generated Node #0,1,2: 47:[68, 59] Operation: 19+40=59 Exploring Operation: 40-19=21, Resulting Numbers: [68, 21] Generated Node #0,1,3: 47:[68, 21] Operation: 40-19=21 Exploring Operation: 68-19=49, Resulting Numbers: [40, 49] Generated Node #0,1,4: 47:[40, 49] Operation: 68-19=49 Moving to Node #0,3 Current State: 47:[79, 19, 51], Operations: ['11+40=51'] Exploring Operation: 51-19=32, Resulting Numbers: [79, 32] Generated Node #0,3,0: 47:[79, 32] Operation: 51-19=32 Exploring Operation: 79-51=28, Resulting Numbers: [19, 28] Generated Node #0,3,1: 47:[19, 28] Operation: 79-51=28 Exploring Operation: 19+51=70, Resulting Numbers: [79, 70] Generated Node #0,3,2: 47:[79, 70] Operation: 19+51=70 Exploring Operation: 79-19=60, Resulting Numbers: [51, 60] Generated Node #0,3,3: 47:[51, 60] Operation: 79-19=60 Exploring Operation: 79+19=98, Resulting Numbers: [51, 98] Generated Node #0,3,4: 47:[51, 98] Operation: 79+19=98 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[51, 60], Operations: ['11+40=51', '79-19=60'] Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,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,3,0 Current State: 47:[79, 32], Operations: ['11+40=51', '51-19=32'] Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,47 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[79, 19, 11, 40], Operations: [] Exploring Operation: 11+40=51, Resulting Numbers: [79, 19, 51] Generated Node #0,3: 47:[79, 19, 51] Operation: 11+40=51 Moving to Node #0,3 Current State: 47:[79, 19, 51], Operations: ['11+40=51'] Exploring Operation: 51-19=32, Resulting Numbers: [79, 32] Generated Node #0,3,0: 47:[79, 32] Operation: 51-19=32 Moving to Node #0,3,0 Current State: 47:[79, 32], Operations: ['11+40=51', '51-19=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_5
mult_heuristic
[ 19, 36, 81, 26 ]
90
[ "36-19=17", "81+26=107", "107-17=90" ]
Current State: 90:[19, 36, 81, 26], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [81, 26, 17] Generated Node #2: [81, 26, 17] from Operation: 36-19=17 Current State: 90:[81, 26, 17], Operations: ['36-19=17'] Exploring Operation: 81+26=107, Resulting Numbers: [17, 107] Generated Node #3: [17, 107] from Operation: 81+26=107 Current State: 90:[17, 107], Operations: ['36-19=17', '81+26=107'] Exploring Operation: 107-17=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[19, 36, 81, 26], Operations: [] Exploring Operation: 81-36=45, Resulting Numbers: [19, 26, 45] Generated Node #0,0: 90:[19, 26, 45] Operation: 81-36=45 Exploring Operation: 36-26=10, Resulting Numbers: [19, 81, 10] Generated Node #0,1: 90:[19, 81, 10] Operation: 36-26=10 Exploring Operation: 36-19=17, Resulting Numbers: [81, 26, 17] Generated Node #0,2: 90:[81, 26, 17] Operation: 36-19=17 Exploring Operation: 19+26=45, Resulting Numbers: [36, 81, 45] Generated Node #0,3: 90:[36, 81, 45] Operation: 19+26=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[19, 26, 45], Operations: ['81-36=45'] Exploring Operation: 26-19=7, Resulting Numbers: [45, 7] Generated Node #0,0,0: 90:[45, 7] Operation: 26-19=7 Exploring Operation: 45-26=19, Resulting Numbers: [19, 19] Generated Node #0,0,1: 90:[19, 19] Operation: 45-26=19 Exploring Operation: 45-19=26, Resulting Numbers: [26, 26] Generated Node #0,0,2: 90:[26, 26] Operation: 45-19=26 Exploring Operation: 19+26=45, Resulting Numbers: [45, 45] Generated Node #0,0,3: 90:[45, 45] Operation: 19+26=45 Moving to Node #0,0,3 Current State: 90:[45, 45], Operations: ['81-36=45', '19+26=45'] Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,90 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[19, 36, 81, 26], Operations: [] Exploring Operation: 81-36=45, Resulting Numbers: [19, 26, 45] Generated Node #0,0: 90:[19, 26, 45] Operation: 81-36=45 Moving to Node #0,0 Current State: 90:[19, 26, 45], Operations: ['81-36=45'] Exploring Operation: 19+26=45, Resulting Numbers: [45, 45] Generated Node #0,0,3: 90:[45, 45] Operation: 19+26=45 Moving to Node #0,0,3 Current State: 90:[45, 45], Operations: ['81-36=45', '19+26=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 69, 81, 7, 18 ]
37
[ "81-69=12", "7+18=25", "12+25=37" ]
Current State: 37:[69, 81, 7, 18], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [7, 18, 12] Generated Node #2: [7, 18, 12] from Operation: 81-69=12 Current State: 37:[7, 18, 12], Operations: ['81-69=12'] Exploring Operation: 7+18=25, Resulting Numbers: [12, 25] Generated Node #3: [12, 25] from Operation: 7+18=25 Current State: 37:[12, 25], Operations: ['81-69=12', '7+18=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[69, 81, 7, 18], Operations: [] Exploring Operation: 69-18=51, Resulting Numbers: [81, 7, 51] Generated Node #0,0: 37:[81, 7, 51] Operation: 69-18=51 Exploring Operation: 81-18=63, Resulting Numbers: [69, 7, 63] Generated Node #0,1: 37:[69, 7, 63] Operation: 81-18=63 Exploring Operation: 81-69=12, Resulting Numbers: [7, 18, 12] Generated Node #0,2: 37:[7, 18, 12] Operation: 81-69=12 Exploring Operation: 81-7=74, Resulting Numbers: [69, 18, 74] Generated Node #0,3: 37:[69, 18, 74] Operation: 81-7=74 Exploring Operation: 69-7=62, Resulting Numbers: [81, 18, 62] Generated Node #0,4: 37:[81, 18, 62] Operation: 69-7=62 Moving to Node #0,2 Current State: 37:[7, 18, 12], Operations: ['81-69=12'] Exploring Operation: 12-7=5, Resulting Numbers: [18, 5] Generated Node #0,2,0: 37:[18, 5] Operation: 12-7=5 Exploring Operation: 7+12=19, Resulting Numbers: [18, 19] Generated Node #0,2,1: 37:[18, 19] Operation: 7+12=19 Exploring Operation: 18+12=30, Resulting Numbers: [7, 30] Generated Node #0,2,2: 37:[7, 30] Operation: 18+12=30 Exploring Operation: 18-7=11, Resulting Numbers: [12, 11] Generated Node #0,2,3: 37:[12, 11] Operation: 18-7=11 Exploring Operation: 7+18=25, Resulting Numbers: [12, 25] Generated Node #0,2,4: 37:[12, 25] Operation: 7+18=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[18, 19], Operations: ['81-69=12', '7+12=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[69, 81, 7, 18], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [7, 18, 12] Generated Node #0,2: 37:[7, 18, 12] Operation: 81-69=12 Moving to Node #0,2 Current State: 37:[7, 18, 12], Operations: ['81-69=12'] Exploring Operation: 7+12=19, Resulting Numbers: [18, 19] Generated Node #0,2,1: 37:[18, 19] Operation: 7+12=19 Moving to Node #0,2,1 Current State: 37:[18, 19], Operations: ['81-69=12', '7+12=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 48, 84, 51, 42 ]
75
[ "48*42=2016", "2016/84=24", "51+24=75" ]
Current State: 75:[48, 84, 51, 42], Operations: [] Exploring Operation: 48*42=2016, Resulting Numbers: [84, 51, 2016] Generated Node #2: [84, 51, 2016] from Operation: 48*42=2016 Current State: 75:[84, 51, 2016], Operations: ['48*42=2016'] Exploring Operation: 2016/84=24, Resulting Numbers: [51, 24] Generated Node #3: [51, 24] from Operation: 2016/84=24 Current State: 75:[51, 24], Operations: ['48*42=2016', '2016/84=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[48, 84, 51, 42], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [84, 42, 3] Generated Node #0,0: 75:[84, 42, 3] Operation: 51-48=3 Moving to Node #0,0 Current State: 75:[84, 42, 3], Operations: ['51-48=3'] Exploring Operation: 84/42=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 75:[3, 2] Operation: 84/42=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[3, 2], Operations: ['51-48=3', '84/42=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 75, 85, 30, 33 ]
36
[ "85-75=10", "30/10=3", "33+3=36" ]
Current State: 36:[75, 85, 30, 33], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [30, 33, 10] Generated Node #2: [30, 33, 10] from Operation: 85-75=10 Current State: 36:[30, 33, 10], Operations: ['85-75=10'] Exploring Operation: 30/10=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 30/10=3 Current State: 36:[33, 3], Operations: ['85-75=10', '30/10=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[75, 85, 30, 33], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [30, 33, 10] Generated Node #0,0: 36:[30, 33, 10] Operation: 85-75=10 Moving to Node #0,0 Current State: 36:[30, 33, 10], Operations: ['85-75=10'] Exploring Operation: 33-30=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 36:[10, 3] Operation: 33-30=3 Moving to Node #0,0,0 Current State: 36:[10, 3], Operations: ['85-75=10', '33-30=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,36 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 49, 14, 26, 12 ]
55
[ "49*14=686", "686-26=660", "660/12=55" ]
Current State: 55:[49, 14, 26, 12], Operations: [] Exploring Operation: 49*14=686, Resulting Numbers: [26, 12, 686] Generated Node #2: [26, 12, 686] from Operation: 49*14=686 Current State: 55:[26, 12, 686], Operations: ['49*14=686'] Exploring Operation: 686-26=660, Resulting Numbers: [12, 660] Generated Node #3: [12, 660] from Operation: 686-26=660 Current State: 55:[12, 660], Operations: ['49*14=686', '686-26=660'] Exploring Operation: 660/12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[49, 14, 26, 12], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [49, 12, 12] Generated Node #0,0: 55:[49, 12, 12] Operation: 26-14=12 Exploring Operation: 26-12=14, Resulting Numbers: [49, 14, 14] Generated Node #0,1: 55:[49, 14, 14] Operation: 26-12=14 Moving to Node #0,0 Current State: 55:[49, 12, 12], Operations: ['26-14=12'] Exploring Operation: 49+12=61, Resulting Numbers: [12, 61] Generated Node #0,0,0: 55:[12, 61] Operation: 49+12=61 Exploring Operation: 49+12=61, Resulting Numbers: [12, 61] Generated Node #0,0,1: 55:[12, 61] Operation: 49+12=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[12, 61], Operations: ['26-14=12', '49+12=61'] Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[12, 61], Operations: ['26-14=12', '49+12=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 55:[49, 14, 14], Operations: ['26-12=14'] Exploring Operation: 49+14=63, Resulting Numbers: [14, 63] Generated Node #0,1,0: 55:[14, 63] Operation: 49+14=63 Exploring Operation: 14/14=1, Resulting Numbers: [49, 1] Generated Node #0,1,1: 55:[49, 1] Operation: 14/14=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[49, 1], Operations: ['26-12=14', '14/14=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[14, 63], Operations: ['26-12=14', '49+14=63'] Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,55 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
[ 70, 8, 80, 10 ]
90
[ "80-70=10", "8*10=80", "10+80=90" ]
Current State: 90:[70, 8, 80, 10], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [8, 10, 10] Generated Node #2: [8, 10, 10] from Operation: 80-70=10 Current State: 90:[8, 10, 10], Operations: ['80-70=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,90 equal: Goal Reached Exploring Operation: 10+80=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[70, 8, 80, 10], Operations: [] Exploring Operation: 70+10=80, Resulting Numbers: [8, 80, 80] Generated Node #0,0: 90:[8, 80, 80] Operation: 70+10=80 Exploring Operation: 80/8=10, Resulting Numbers: [70, 10, 10] Generated Node #0,1: 90:[70, 10, 10] Operation: 80/8=10 Exploring Operation: 80-70=10, Resulting Numbers: [8, 10, 10] Generated Node #0,2: 90:[8, 10, 10] Operation: 80-70=10 Exploring Operation: 80+10=90, Resulting Numbers: [70, 8, 90] Generated Node #0,3: 90:[70, 8, 90] Operation: 80+10=90 Exploring Operation: 70/10=7, Resulting Numbers: [8, 80, 7] Generated Node #0,4: 90:[8, 80, 7] Operation: 70/10=7 Moving to Node #0,2 Current State: 90:[8, 10, 10], Operations: ['80-70=10'] Exploring Operation: 8+10=18, Resulting Numbers: [10, 18] Generated Node #0,2,0: 90:[10, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [10, 2] Generated Node #0,2,1: 90:[10, 2] Operation: 10-8=2 Exploring Operation: 8+10=18, Resulting Numbers: [10, 18] Generated Node #0,2,2: 90:[10, 18] Operation: 8+10=18 Exploring Operation: 10/10=1, Resulting Numbers: [8, 1] Generated Node #0,2,3: 90:[8, 1] Operation: 10/10=1 Exploring Operation: 10-8=2, Resulting Numbers: [10, 2] Generated Node #0,2,4: 90:[10, 2] Operation: 10-8=2 Moving to Node #0,4 Current State: 90:[8, 80, 7], Operations: ['70/10=7'] Exploring Operation: 8+80=88, Resulting Numbers: [7, 88] Generated Node #0,4,0: 90:[7, 88] Operation: 8+80=88 Exploring Operation: 8+7=15, Resulting Numbers: [80, 15] Generated Node #0,4,1: 90:[80, 15] Operation: 8+7=15 Exploring Operation: 8-7=1, Resulting Numbers: [80, 1] Generated Node #0,4,2: 90:[80, 1] Operation: 8-7=1 Exploring Operation: 80/8=10, Resulting Numbers: [7, 10] Generated Node #0,4,3: 90:[7, 10] Operation: 80/8=10 Exploring Operation: 80+7=87, Resulting Numbers: [8, 87] Generated Node #0,4,4: 90:[8, 87] Operation: 80+7=87 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 90:[7, 10], Operations: ['70/10=7', '80/8=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,90 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,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,4,0 Current State: 90:[7, 88], Operations: ['70/10=7', '8+80=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,90 unequal: No Solution Exploring Operation: 7*88=616, Resulting Numbers: [616] 616,90 unequal: No Solution Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,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,4,4 Current State: 90:[8, 87], Operations: ['70/10=7', '80+7=87'] Exploring Operation: 8+87=95, Resulting Numbers: [95] 95,90 unequal: No Solution Exploring Operation: 8*87=696, Resulting Numbers: [696] 696,90 unequal: No Solution Exploring Operation: 87-8=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,4,1 Current State: 90:[80, 15], Operations: ['70/10=7', '8+7=15'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,90 unequal: No Solution Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,90 unequal: No Solution Exploring Operation: 80*15=1200, Resulting Numbers: [1200] 1200,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,4,2 Current State: 90:[80, 1], Operations: ['70/10=7', '8-7=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,90 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: 90:[70, 10, 10], Operations: ['80/8=10'] Exploring Operation: 70+10=80, Resulting Numbers: [10, 80] Generated Node #0,1,0: 90:[10, 80] Operation: 70+10=80 Exploring Operation: 70+10=80, Resulting Numbers: [10, 80] Generated Node #0,1,1: 90:[10, 80] Operation: 70+10=80 Exploring Operation: 70-10=60, Resulting Numbers: [10, 60] Generated Node #0,1,2: 90:[10, 60] Operation: 70-10=60 Exploring Operation: 70/10=7, Resulting Numbers: [10, 7] Generated Node #0,1,3: 90:[10, 7] Operation: 70/10=7 Exploring Operation: 70/10=7, Resulting Numbers: [10, 7] Generated Node #0,1,4: 90:[10, 7] Operation: 70/10=7 Moving to Node #0,0 Current State: 90:[8, 80, 80], Operations: ['70+10=80'] Exploring Operation: 8+80=88, Resulting Numbers: [80, 88] Generated Node #0,0,0: 90:[80, 88] Operation: 8+80=88 Exploring Operation: 80/8=10, Resulting Numbers: [80, 10] Generated Node #0,0,1: 90:[80, 10] Operation: 80/8=10 Exploring Operation: 80/8=10, Resulting Numbers: [80, 10] Generated Node #0,0,2: 90:[80, 10] Operation: 80/8=10 Exploring Operation: 80-80=0, Resulting Numbers: [8, 0] Generated Node #0,0,3: 90:[8, 0] Operation: 80-80=0 Exploring Operation: 80/80=1, Resulting Numbers: [8, 1] Generated Node #0,0,4: 90:[8, 1] Operation: 80/80=1 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 90:[8, 1], Operations: ['70+10=80', '80/80=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,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,0,3 Current State: 90:[8, 0], Operations: ['70+10=80', '80-80=0'] Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,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,0,1 Current State: 90:[80, 10], Operations: ['70+10=80', '80/8=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,90 unequal: No Solution Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,90 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[70, 8, 80, 10], Operations: [] Exploring Operation: 70+10=80, Resulting Numbers: [8, 80, 80] Generated Node #0,0: 90:[8, 80, 80] Operation: 70+10=80 Moving to Node #0,0 Current State: 90:[8, 80, 80], Operations: ['70+10=80'] Exploring Operation: 80/8=10, Resulting Numbers: [80, 10] Generated Node #0,0,1: 90:[80, 10] Operation: 80/8=10 Moving to Node #0,0,1 Current State: 90:[80, 10], Operations: ['70+10=80', '80/8=10'] Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 6, 15, 16, 6 ]
70
[ "15-6=9", "6*9=54", "16+54=70" ]
Current State: 70:[6, 15, 16, 6], Operations: [] Exploring Operation: 15-6=9, Resulting Numbers: [16, 9] Generated Node #2: [16, 9] from Operation: 15-6=9 Current State: 70:[16, 9], Operations: ['15-6=9'] Exploring Operation: 6*9=54, Resulting Numbers: [16, 54] Generated Node #3: [16, 54] from Operation: 6*9=54 Current State: 70:[16, 54], Operations: ['15-6=9', '6*9=54'] Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[6, 15, 16, 6], Operations: [] Exploring Operation: 16-15=1, Resulting Numbers: [6, 6, 1] Generated Node #0,0: 70:[6, 6, 1] Operation: 16-15=1 Exploring Operation: 6*6=36, Resulting Numbers: [15, 16, 36] Generated Node #0,1: 70:[15, 16, 36] Operation: 6*6=36 Exploring Operation: 15-6=9, Resulting Numbers: [16, 6, 9] Generated Node #0,2: 70:[16, 6, 9] Operation: 15-6=9 Exploring Operation: 16-6=10, Resulting Numbers: [15, 6, 10] Generated Node #0,3: 70:[15, 6, 10] Operation: 16-6=10 Exploring Operation: 16-6=10, Resulting Numbers: [6, 15, 10] Generated Node #0,4: 70:[6, 15, 10] Operation: 16-6=10 Moving to Node #0,3 Current State: 70:[15, 6, 10], Operations: ['16-6=10'] Exploring Operation: 15-6=9, Resulting Numbers: [10, 9] Generated Node #0,3,0: 70:[10, 9] Operation: 15-6=9 Exploring Operation: 15-10=5, Resulting Numbers: [6, 5] Generated Node #0,3,1: 70:[6, 5] Operation: 15-10=5 Exploring Operation: 6+10=16, Resulting Numbers: [15, 16] Generated Node #0,3,2: 70:[15, 16] Operation: 6+10=16 Exploring Operation: 15+6=21, Resulting Numbers: [10, 21] Generated Node #0,3,3: 70:[10, 21] Operation: 15+6=21 Exploring Operation: 10-6=4, Resulting Numbers: [15, 4] Generated Node #0,3,4: 70:[15, 4] Operation: 10-6=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[10, 9], Operations: ['16-6=10', '15-6=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,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,3,1 Current State: 70:[6, 5], Operations: ['16-6=10', '15-10=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,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,3,4 Current State: 70:[15, 4], Operations: ['16-6=10', '10-6=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,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,3,2 Current State: 70:[15, 16], Operations: ['16-6=10', '6+10=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,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,3,3 Current State: 70:[10, 21], Operations: ['16-6=10', '15+6=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 70:[6, 15, 10], Operations: ['16-6=10'] Exploring Operation: 15-6=9, Resulting Numbers: [10, 9] Generated Node #0,4,0: 70:[10, 9] Operation: 15-6=9 Exploring Operation: 6+15=21, Resulting Numbers: [10, 21] Generated Node #0,4,1: 70:[10, 21] Operation: 6+15=21 Exploring Operation: 10-6=4, Resulting Numbers: [15, 4] Generated Node #0,4,2: 70:[15, 4] Operation: 10-6=4 Exploring Operation: 15-10=5, Resulting Numbers: [6, 5] Generated Node #0,4,3: 70:[6, 5] Operation: 15-10=5 Exploring Operation: 6+10=16, Resulting Numbers: [15, 16] Generated Node #0,4,4: 70:[15, 16] Operation: 6+10=16 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 70:[10, 9], Operations: ['16-6=10', '15-6=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 70:[6, 5], Operations: ['16-6=10', '15-10=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 70:[15, 4], Operations: ['16-6=10', '10-6=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 70:[15, 16], Operations: ['16-6=10', '6+10=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,70 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 70:[10, 21], Operations: ['16-6=10', '6+15=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,70 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: 70:[6, 6, 1], Operations: ['16-15=1'] Exploring Operation: 6*6=36, Resulting Numbers: [1, 36] Generated Node #0,0,0: 70:[1, 36] Operation: 6*6=36 Exploring Operation: 6+1=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 70:[6, 7] Operation: 6+1=7 Exploring Operation: 6+1=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 70:[6, 7] Operation: 6+1=7 Exploring Operation: 6-1=5, Resulting Numbers: [6, 5] Generated Node #0,0,3: 70:[6, 5] Operation: 6-1=5 Exploring Operation: 6-1=5, Resulting Numbers: [6, 5] Generated Node #0,0,4: 70:[6, 5] Operation: 6-1=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[6, 7], Operations: ['16-15=1', '6+1=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[6, 7], Operations: ['16-15=1', '6+1=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[6, 5], Operations: ['16-15=1', '6-1=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 70:[6, 5], Operations: ['16-15=1', '6-1=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[1, 36], Operations: ['16-15=1', '6*6=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,70 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: 70:[15, 16, 36], Operations: ['6*6=36'] Exploring Operation: 15+36=51, Resulting Numbers: [16, 51] Generated Node #0,1,0: 70:[16, 51] Operation: 15+36=51 Exploring Operation: 16-15=1, Resulting Numbers: [36, 1] Generated Node #0,1,1: 70:[36, 1] Operation: 16-15=1 Exploring Operation: 15+16=31, Resulting Numbers: [36, 31] Generated Node #0,1,2: 70:[36, 31] Operation: 15+16=31 Exploring Operation: 36-15=21, Resulting Numbers: [16, 21] Generated Node #0,1,3: 70:[16, 21] Operation: 36-15=21 Exploring Operation: 36-16=20, Resulting Numbers: [15, 20] Generated Node #0,1,4: 70:[15, 20] Operation: 36-16=20 Moving to Node #0,2 Current State: 70:[16, 6, 9], Operations: ['15-6=9'] Exploring Operation: 16-9=7, Resulting Numbers: [6, 7] Generated Node #0,2,0: 70:[6, 7] Operation: 16-9=7 Exploring Operation: 16-6=10, Resulting Numbers: [9, 10] Generated Node #0,2,1: 70:[9, 10] Operation: 16-6=10 Exploring Operation: 6+9=15, Resulting Numbers: [16, 15] Generated Node #0,2,2: 70:[16, 15] Operation: 6+9=15 Exploring Operation: 16+6=22, Resulting Numbers: [9, 22] Generated Node #0,2,3: 70:[9, 22] Operation: 16+6=22 Exploring Operation: 9-6=3, Resulting Numbers: [16, 3] Generated Node #0,2,4: 70:[16, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[6, 7], Operations: ['15-6=9', '16-9=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,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,1 Current State: 70:[9, 10], Operations: ['15-6=9', '16-6=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,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,2 Current State: 70:[16, 15], Operations: ['15-6=9', '6+9=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,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,4 Current State: 70:[16, 3], Operations: ['15-6=9', '9-6=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,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,3 Current State: 70:[9, 22], Operations: ['15-6=9', '16+6=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,70 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 70:[36, 1], Operations: ['6*6=36', '16-15=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[36, 31], Operations: ['6*6=36', '15+16=31'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,70 unequal: No Solution Moving to Node #0,1,4 Current State: 70:[15, 20], Operations: ['6*6=36', '36-16=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,70 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[16, 21], Operations: ['6*6=36', '36-15=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,70 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[16, 51], Operations: ['6*6=36', '15+36=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,70 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,70 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 35, 52, 4, 90 ]
69
[ "52-35=17", "90-4=86", "86-17=69" ]
Current State: 69:[35, 52, 4, 90], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [4, 90, 17] Generated Node #2: [4, 90, 17] from Operation: 52-35=17 Current State: 69:[4, 90, 17], Operations: ['52-35=17'] Exploring Operation: 90-4=86, Resulting Numbers: [17, 86] Generated Node #3: [17, 86] from Operation: 90-4=86 Current State: 69:[17, 86], Operations: ['52-35=17', '90-4=86'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[35, 52, 4, 90], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [35, 4, 38] Generated Node #0,0: 69:[35, 4, 38] Operation: 90-52=38 Exploring Operation: 90-35=55, Resulting Numbers: [52, 4, 55] Generated Node #0,1: 69:[52, 4, 55] Operation: 90-35=55 Exploring Operation: 52-35=17, Resulting Numbers: [4, 90, 17] Generated Node #0,2: 69:[4, 90, 17] Operation: 52-35=17 Exploring Operation: 35+52=87, Resulting Numbers: [4, 90, 87] Generated Node #0,3: 69:[4, 90, 87] Operation: 35+52=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[35, 4, 38], Operations: ['90-52=38'] Exploring Operation: 35-4=31, Resulting Numbers: [38, 31] Generated Node #0,0,0: 69:[38, 31] Operation: 35-4=31 Exploring Operation: 35+38=73, Resulting Numbers: [4, 73] Generated Node #0,0,1: 69:[4, 73] Operation: 35+38=73 Exploring Operation: 38-4=34, Resulting Numbers: [35, 34] Generated Node #0,0,2: 69:[35, 34] Operation: 38-4=34 Exploring Operation: 38-35=3, Resulting Numbers: [4, 3] Generated Node #0,0,3: 69:[4, 3] Operation: 38-35=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[4, 3], Operations: ['90-52=38', '38-35=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,69 unequal: No Solution No 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: 69:[4, 73], Operations: ['90-52=38', '35+38=73'] Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,69 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[35, 52, 4, 90], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [35, 4, 38] Generated Node #0,0: 69:[35, 4, 38] Operation: 90-52=38 Moving to Node #0,0 Current State: 69:[35, 4, 38], Operations: ['90-52=38'] Exploring Operation: 35+38=73, Resulting Numbers: [4, 73] Generated Node #0,0,1: 69:[4, 73] Operation: 35+38=73 Moving to Node #0,0,1 Current State: 69:[4, 73], Operations: ['90-52=38', '35+38=73'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 54, 44, 20, 43 ]
45
[ "54-44=10", "20/10=2", "43+2=45" ]
Current State: 45:[54, 44, 20, 43], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [20, 43, 10] Generated Node #2: [20, 43, 10] from Operation: 54-44=10 Current State: 45:[20, 43, 10], Operations: ['54-44=10'] Exploring Operation: 20/10=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 20/10=2 Current State: 45:[43, 2], Operations: ['54-44=10', '20/10=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[54, 44, 20, 43], Operations: [] Exploring Operation: 54-20=34, Resulting Numbers: [44, 43, 34] Generated Node #0,0: 45:[44, 43, 34] Operation: 54-20=34 Exploring Operation: 54-44=10, Resulting Numbers: [20, 43, 10] Generated Node #0,1: 45:[20, 43, 10] Operation: 54-44=10 Exploring Operation: 54-43=11, Resulting Numbers: [44, 20, 11] Generated Node #0,2: 45:[44, 20, 11] Operation: 54-43=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[20, 43, 10], Operations: ['54-44=10'] Exploring Operation: 20/10=2, Resulting Numbers: [43, 2] Generated Node #0,1,0: 45:[43, 2] Operation: 20/10=2 Exploring Operation: 43-20=23, Resulting Numbers: [10, 23] Generated Node #0,1,1: 45:[10, 23] Operation: 43-20=23 Exploring Operation: 20-10=10, Resulting Numbers: [43, 10] Generated Node #0,1,2: 45:[43, 10] Operation: 20-10=10 Moving to Node #0,1,0 Current State: 45:[43, 2], Operations: ['54-44=10', '20/10=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[54, 44, 20, 43], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [20, 43, 10] Generated Node #0,1: 45:[20, 43, 10] Operation: 54-44=10 Moving to Node #0,1 Current State: 45:[20, 43, 10], Operations: ['54-44=10'] Exploring Operation: 20/10=2, Resulting Numbers: [43, 2] Generated Node #0,1,0: 45:[43, 2] Operation: 20/10=2 Moving to Node #0,1,0 Current State: 45:[43, 2], Operations: ['54-44=10', '20/10=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 64, 63, 56, 67 ]
77
[ "67-64=3", "63/3=21", "56+21=77" ]
Current State: 77:[64, 63, 56, 67], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [63, 56, 3] Generated Node #2: [63, 56, 3] from Operation: 67-64=3 Current State: 77:[63, 56, 3], Operations: ['67-64=3'] Exploring Operation: 63/3=21, Resulting Numbers: [56, 21] Generated Node #3: [56, 21] from Operation: 63/3=21 Current State: 77:[56, 21], Operations: ['67-64=3', '63/3=21'] Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[64, 63, 56, 67], Operations: [] Exploring Operation: 67-56=11, Resulting Numbers: [64, 63, 11] Generated Node #0,0: 77:[64, 63, 11] Operation: 67-56=11 Exploring Operation: 67-63=4, Resulting Numbers: [64, 56, 4] Generated Node #0,1: 77:[64, 56, 4] Operation: 67-63=4 Exploring Operation: 64-56=8, Resulting Numbers: [63, 67, 8] Generated Node #0,2: 77:[63, 67, 8] Operation: 64-56=8 Exploring Operation: 63-56=7, Resulting Numbers: [64, 67, 7] Generated Node #0,3: 77:[64, 67, 7] Operation: 63-56=7 Exploring Operation: 64-63=1, Resulting Numbers: [56, 67, 1] Generated Node #0,4: 77:[56, 67, 1] Operation: 64-63=1 Moving to Node #0,3 Current State: 77:[64, 67, 7], Operations: ['63-56=7'] Exploring Operation: 64+7=71, Resulting Numbers: [67, 71] Generated Node #0,3,0: 77:[67, 71] Operation: 64+7=71 Exploring Operation: 67-7=60, Resulting Numbers: [64, 60] Generated Node #0,3,1: 77:[64, 60] Operation: 67-7=60 Exploring Operation: 67-64=3, Resulting Numbers: [7, 3] Generated Node #0,3,2: 77:[7, 3] Operation: 67-64=3 Exploring Operation: 67+7=74, Resulting Numbers: [64, 74] Generated Node #0,3,3: 77:[64, 74] Operation: 67+7=74 Exploring Operation: 64-7=57, Resulting Numbers: [67, 57] Generated Node #0,3,4: 77:[67, 57] Operation: 64-7=57 Moving to Node #0,2 Current State: 77:[63, 67, 8], Operations: ['64-56=8'] Exploring Operation: 63-8=55, Resulting Numbers: [67, 55] Generated Node #0,2,0: 77:[67, 55] Operation: 63-8=55 Exploring Operation: 67-8=59, Resulting Numbers: [63, 59] Generated Node #0,2,1: 77:[63, 59] Operation: 67-8=59 Exploring Operation: 63+8=71, Resulting Numbers: [67, 71] Generated Node #0,2,2: 77:[67, 71] Operation: 63+8=71 Exploring Operation: 67+8=75, Resulting Numbers: [63, 75] Generated Node #0,2,3: 77:[63, 75] Operation: 67+8=75 Exploring Operation: 67-63=4, Resulting Numbers: [8, 4] Generated Node #0,2,4: 77:[8, 4] Operation: 67-63=4 Moving to Node #0,0 Current State: 77:[64, 63, 11], Operations: ['67-56=11'] Exploring Operation: 64+11=75, Resulting Numbers: [63, 75] Generated Node #0,0,0: 77:[63, 75] Operation: 64+11=75 Exploring Operation: 63-11=52, Resulting Numbers: [64, 52] Generated Node #0,0,1: 77:[64, 52] Operation: 63-11=52 Exploring Operation: 64-11=53, Resulting Numbers: [63, 53] Generated Node #0,0,2: 77:[63, 53] Operation: 64-11=53 Exploring Operation: 64-63=1, Resulting Numbers: [11, 1] Generated Node #0,0,3: 77:[11, 1] Operation: 64-63=1 Exploring Operation: 63+11=74, Resulting Numbers: [64, 74] Generated Node #0,0,4: 77:[64, 74] Operation: 63+11=74 Moving to Node #0,1 Current State: 77:[64, 56, 4], Operations: ['67-63=4'] Exploring Operation: 64-56=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 77:[4, 8] Operation: 64-56=8 Exploring Operation: 56+4=60, Resulting Numbers: [64, 60] Generated Node #0,1,1: 77:[64, 60] Operation: 56+4=60 Exploring Operation: 56/4=14, Resulting Numbers: [64, 14] Generated Node #0,1,2: 77:[64, 14] Operation: 56/4=14 Exploring Operation: 64+4=68, Resulting Numbers: [56, 68] Generated Node #0,1,3: 77:[56, 68] Operation: 64+4=68 Exploring Operation: 64/4=16, Resulting Numbers: [56, 16] Generated Node #0,1,4: 77:[56, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[4, 8], Operations: ['67-63=4', '64-56=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,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,1,2 Current State: 77:[64, 14], Operations: ['67-63=4', '56/4=14'] Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,77 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,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,1,4 Current State: 77:[56, 16], Operations: ['67-63=4', '64/4=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,77 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,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,1,1 Current State: 77:[64, 60], Operations: ['67-63=4', '56+4=60'] Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,77 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,77 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,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,1,3 Current State: 77:[56, 68], Operations: ['67-63=4', '64+4=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,77 unequal: No Solution Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,77 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: 77:[56, 67, 1], Operations: ['64-63=1'] Exploring Operation: 56/1=56, Resulting Numbers: [67, 56] Generated Node #0,4,0: 77:[67, 56] Operation: 56/1=56 Exploring Operation: 67-56=11, Resulting Numbers: [1, 11] Generated Node #0,4,1: 77:[1, 11] Operation: 67-56=11 Exploring Operation: 56*1=56, Resulting Numbers: [67, 56] Generated Node #0,4,2: 77:[67, 56] Operation: 56*1=56 Exploring Operation: 56+1=57, Resulting Numbers: [67, 57] Generated Node #0,4,3: 77:[67, 57] Operation: 56+1=57 Exploring Operation: 67+1=68, Resulting Numbers: [56, 68] Generated Node #0,4,4: 77:[56, 68] Operation: 67+1=68 Moving to Node #0,3,2 Current State: 77:[7, 3], Operations: ['63-56=7', '67-64=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[8, 4], Operations: ['64-56=8', '67-63=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[11, 1], Operations: ['67-56=11', '64-63=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[1, 11], Operations: ['64-63=1', '67-56=11'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[67, 71], Operations: ['64-56=8', '63+8=71'] Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 67*71=4757, Resulting Numbers: [4757] 4757,77 unequal: No Solution Exploring Operation: 67+71=138, Resulting Numbers: [138] 138,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[64, 74], Operations: ['63-56=7', '67+7=74'] Exploring Operation: 64*74=4736, Resulting Numbers: [4736] 4736,77 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,77 unequal: No Solution Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[64, 74], Operations: ['67-56=11', '63+11=74'] Exploring Operation: 64*74=4736, Resulting Numbers: [4736] 4736,77 unequal: No Solution Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[63, 75], Operations: ['67-56=11', '64+11=75'] Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,77 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,77 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[67, 71], Operations: ['63-56=7', '64+7=71'] Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 67*71=4757, Resulting Numbers: [4757] 4757,77 unequal: No Solution Exploring Operation: 67+71=138, Resulting Numbers: [138] 138,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[63, 75], Operations: ['64-56=8', '67+8=75'] Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,77 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,77 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[64, 60], Operations: ['63-56=7', '67-7=60'] Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,77 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[67, 57], Operations: ['63-56=7', '64-7=57'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 67*57=3819, Resulting Numbers: [3819] 3819,77 unequal: No Solution Exploring Operation: 67+57=124, Resulting Numbers: [124] 124,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[56, 68], Operations: ['64-63=1', '67+1=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,77 unequal: No Solution Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[67, 57], Operations: ['64-63=1', '56+1=57'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 67*57=3819, Resulting Numbers: [3819] 3819,77 unequal: No Solution Exploring Operation: 67+57=124, Resulting Numbers: [124] 124,77 unequal: No Solution Moving to Node #0,4,0 Current State: 77:[67, 56], Operations: ['64-63=1', '56/1=56'] Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,77 unequal: No Solution Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,77 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[67, 56], Operations: ['64-63=1', '56*1=56'] Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,77 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[67, 55], Operations: ['64-56=8', '63-8=55'] Exploring Operation: 67+55=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 67-55=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 67*55=3685, Resulting Numbers: [3685] 3685,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[63, 59], Operations: ['64-56=8', '67-8=59'] Exploring Operation: 63*59=3717, Resulting Numbers: [3717] 3717,77 unequal: No Solution Exploring Operation: 63+59=122, Resulting Numbers: [122] 122,77 unequal: No Solution Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[63, 53], Operations: ['67-56=11', '64-11=53'] Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,77 unequal: No Solution Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,77 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[64, 52], Operations: ['67-56=11', '63-11=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,77 unequal: No Solution Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 30, 44, 9, 7 ]
89
[ "44-30=14", "7*14=98", "98-9=89" ]
Current State: 89:[30, 44, 9, 7], Operations: [] Exploring Operation: 44-30=14, Resulting Numbers: [9, 7, 14] Generated Node #2: [9, 7, 14] from Operation: 44-30=14 Current State: 89:[9, 7, 14], Operations: ['44-30=14'] Exploring Operation: 7*14=98, Resulting Numbers: [9, 98] Generated Node #3: [9, 98] from Operation: 7*14=98 Current State: 89:[9, 98], Operations: ['44-30=14', '7*14=98'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[30, 44, 9, 7], Operations: [] Exploring Operation: 9*7=63, Resulting Numbers: [30, 44, 63] Generated Node #0,0: 89:[30, 44, 63] Operation: 9*7=63 Exploring Operation: 30+9=39, Resulting Numbers: [44, 7, 39] Generated Node #0,1: 89:[44, 7, 39] Operation: 30+9=39 Exploring Operation: 30+44=74, Resulting Numbers: [9, 7, 74] Generated Node #0,2: 89:[9, 7, 74] Operation: 30+44=74 Exploring Operation: 30+7=37, Resulting Numbers: [44, 9, 37] Generated Node #0,3: 89:[44, 9, 37] Operation: 30+7=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[30, 44, 63], Operations: ['9*7=63'] Exploring Operation: 30+44=74, Resulting Numbers: [63, 74] Generated Node #0,0,0: 89:[63, 74] Operation: 30+44=74 Exploring Operation: 44+63=107, Resulting Numbers: [30, 107] Generated Node #0,0,1: 89:[30, 107] Operation: 44+63=107 Exploring Operation: 44-30=14, Resulting Numbers: [63, 14] Generated Node #0,0,2: 89:[63, 14] Operation: 44-30=14 Exploring Operation: 30+63=93, Resulting Numbers: [44, 93] Generated Node #0,0,3: 89:[44, 93] Operation: 30+63=93 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[63, 74], Operations: ['9*7=63', '30+44=74'] Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 63*74=4662, Resulting Numbers: [4662] 4662,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[44, 93], Operations: ['9*7=63', '30+63=93'] Exploring Operation: 44*93=4092, Resulting Numbers: [4092] 4092,89 unequal: No Solution Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[30, 107], Operations: ['9*7=63', '44+63=107'] Exploring Operation: 30*107=3210, Resulting Numbers: [3210] 3210,89 unequal: No Solution Exploring Operation: 30+107=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 107-30=77, Resulting Numbers: [77] 77,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[63, 14], Operations: ['9*7=63', '44-30=14'] Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,89 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 63*14=882, Resulting Numbers: [882] 882,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[44, 7, 39], Operations: ['30+9=39'] Exploring Operation: 44+39=83, Resulting Numbers: [7, 83] Generated Node #0,1,0: 89:[7, 83] Operation: 44+39=83 Exploring Operation: 44-7=37, Resulting Numbers: [39, 37] Generated Node #0,1,1: 89:[39, 37] Operation: 44-7=37 Exploring Operation: 7+39=46, Resulting Numbers: [44, 46] Generated Node #0,1,2: 89:[44, 46] Operation: 7+39=46 Exploring Operation: 44+7=51, Resulting Numbers: [39, 51] Generated Node #0,1,3: 89:[39, 51] Operation: 44+7=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[7, 83], Operations: ['30+9=39', '44+39=83'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 7*83=581, Resulting Numbers: [581] 581,89 unequal: No Solution Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[44, 46], Operations: ['30+9=39', '7+39=46'] Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,89 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[39, 51], Operations: ['30+9=39', '44+7=51'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[39, 37], Operations: ['30+9=39', '44-7=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[9, 7, 74], Operations: ['30+44=74'] Exploring Operation: 9+74=83, Resulting Numbers: [7, 83] Generated Node #0,2,0: 89:[7, 83] Operation: 9+74=83 Exploring Operation: 9*7=63, Resulting Numbers: [74, 63] Generated Node #0,2,1: 89:[74, 63] Operation: 9*7=63 Exploring Operation: 7+74=81, Resulting Numbers: [9, 81] Generated Node #0,2,2: 89:[9, 81] Operation: 7+74=81 Exploring Operation: 9+7=16, Resulting Numbers: [74, 16] Generated Node #0,2,3: 89:[74, 16] Operation: 9+7=16 Moving to Node #0,2,1 Current State: 89:[74, 63], Operations: ['30+44=74', '9*7=63'] Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,89 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[9, 81], Operations: ['30+44=74', '7+74=81'] Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,89 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[7, 83], Operations: ['30+44=74', '9+74=83'] Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 7*83=581, Resulting Numbers: [581] 581,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[74, 16], Operations: ['30+44=74', '9+7=16'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,89 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[44, 9, 37], Operations: ['30+7=37'] Exploring Operation: 9+37=46, Resulting Numbers: [44, 46] Generated Node #0,3,0: 89:[44, 46] Operation: 9+37=46 Exploring Operation: 44+9=53, Resulting Numbers: [37, 53] Generated Node #0,3,1: 89:[37, 53] Operation: 44+9=53 Exploring Operation: 44-9=35, Resulting Numbers: [37, 35] Generated Node #0,3,2: 89:[37, 35] Operation: 44-9=35 Exploring Operation: 44+37=81, Resulting Numbers: [9, 81] Generated Node #0,3,3: 89:[9, 81] Operation: 44+37=81 Moving to Node #0,3,0 Current State: 89:[44, 46], Operations: ['30+7=37', '9+37=46'] Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,89 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[9, 81], Operations: ['30+7=37', '44+37=81'] Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,89 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[37, 53], Operations: ['30+7=37', '44+9=53'] Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[37, 35], Operations: ['30+7=37', '44-9=35'] Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,89 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,89 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
[ 11, 6, 13, 54 ]
96
[ "13-11=2", "54-6=48", "2*48=96" ]
Current State: 96:[11, 6, 13, 54], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [6, 54, 2] Generated Node #2: [6, 54, 2] from Operation: 13-11=2 Current State: 96:[6, 54, 2], Operations: ['13-11=2'] Exploring Operation: 54-6=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 54-6=48 Current State: 96:[2, 48], Operations: ['13-11=2', '54-6=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[11, 6, 13, 54], Operations: [] Exploring Operation: 54-6=48, Resulting Numbers: [11, 13, 48] Generated Node #0,0: 96:[11, 13, 48] Operation: 54-6=48 Moving to Node #0,0 Current State: 96:[11, 13, 48], Operations: ['54-6=48'] Exploring Operation: 11+13=24, Resulting Numbers: [48, 24] Generated Node #0,0,0: 96:[48, 24] Operation: 11+13=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[48, 24], Operations: ['54-6=48', '11+13=24'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,96 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
[ 63, 75, 57, 30 ]
99
[ "75-63=12", "57+30=87", "12+87=99" ]
Current State: 99:[63, 75, 57, 30], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [57, 30, 12] Generated Node #2: [57, 30, 12] from Operation: 75-63=12 Current State: 99:[57, 30, 12], Operations: ['75-63=12'] Exploring Operation: 57+30=87, Resulting Numbers: [12, 87] Generated Node #3: [12, 87] from Operation: 57+30=87 Current State: 99:[12, 87], Operations: ['75-63=12', '57+30=87'] Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[63, 75, 57, 30], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [57, 30, 12] Generated Node #0,0: 99:[57, 30, 12] Operation: 75-63=12 Moving to Node #0,0 Current State: 99:[57, 30, 12], Operations: ['75-63=12'] Exploring Operation: 57-30=27, Resulting Numbers: [12, 27] Generated Node #0,0,0: 99:[12, 27] Operation: 57-30=27 Moving to Node #0,0,0 Current State: 99:[12, 27], Operations: ['75-63=12', '57-30=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,99 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 71, 79, 16, 2 ]
83
[ "71+79=150", "16+150=166", "166/2=83" ]
Current State: 83:[71, 79, 16, 2], Operations: [] Exploring Operation: 71+79=150, Resulting Numbers: [16, 2, 150] Generated Node #2: [16, 2, 150] from Operation: 71+79=150 Current State: 83:[16, 2, 150], Operations: ['71+79=150'] Exploring Operation: 16+150=166, Resulting Numbers: [2, 166] Generated Node #3: [2, 166] from Operation: 16+150=166 Current State: 83:[2, 166], Operations: ['71+79=150', '16+150=166'] Exploring Operation: 166/2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[71, 79, 16, 2], Operations: [] Exploring Operation: 16*2=32, Resulting Numbers: [71, 79, 32] Generated Node #0,0: 83:[71, 79, 32] Operation: 16*2=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[71, 79, 32], Operations: ['16*2=32'] Exploring Operation: 71+32=103, Resulting Numbers: [79, 103] Generated Node #0,0,0: 83:[79, 103] Operation: 71+32=103 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[79, 103], Operations: ['16*2=32', '71+32=103'] Exploring Operation: 103-79=24, Resulting Numbers: [24] 24,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 No solution found.
0
hs_1
mult_heuristic
[ 10, 31, 87, 86 ]
22
[ "31-10=21", "87-86=1", "21+1=22" ]
Current State: 22:[10, 31, 87, 86], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [87, 86, 21] Generated Node #2: [87, 86, 21] from Operation: 31-10=21 Current State: 22:[87, 86, 21], Operations: ['31-10=21'] Exploring Operation: 87-86=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 87-86=1 Current State: 22:[21, 1], Operations: ['31-10=21', '87-86=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[10, 31, 87, 86], Operations: [] Exploring Operation: 87-31=56, Resulting Numbers: [10, 86, 56] Generated Node #0,0: 22:[10, 86, 56] Operation: 87-31=56 Exploring Operation: 87-86=1, Resulting Numbers: [10, 31, 1] Generated Node #0,1: 22:[10, 31, 1] Operation: 87-86=1 Exploring Operation: 86-31=55, Resulting Numbers: [10, 87, 55] Generated Node #0,2: 22:[10, 87, 55] Operation: 86-31=55 Moving to Node #0,1 Current State: 22:[10, 31, 1], Operations: ['87-86=1'] Exploring Operation: 10+1=11, Resulting Numbers: [31, 11] Generated Node #0,1,0: 22:[31, 11] Operation: 10+1=11 Exploring Operation: 31-1=30, Resulting Numbers: [10, 30] Generated Node #0,1,1: 22:[10, 30] Operation: 31-1=30 Exploring Operation: 31-10=21, Resulting Numbers: [1, 21] Generated Node #0,1,2: 22:[1, 21] Operation: 31-10=21 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[1, 21], Operations: ['87-86=1', '31-10=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[10, 31, 87, 86], Operations: [] Exploring Operation: 87-86=1, Resulting Numbers: [10, 31, 1] Generated Node #0,1: 22:[10, 31, 1] Operation: 87-86=1 Moving to Node #0,1 Current State: 22:[10, 31, 1], Operations: ['87-86=1'] Exploring Operation: 31-10=21, Resulting Numbers: [1, 21] Generated Node #0,1,2: 22:[1, 21] Operation: 31-10=21 Moving to Node #0,1,2 Current State: 22:[1, 21], Operations: ['87-86=1', '31-10=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 72, 27, 60, 11 ]
75
[ "60-27=33", "33/11=3", "72+3=75" ]
Current State: 75:[72, 27, 60, 11], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [72, 11, 33] Generated Node #2: [72, 11, 33] from Operation: 60-27=33 Current State: 75:[72, 11, 33], Operations: ['60-27=33'] Exploring Operation: 33/11=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 33/11=3 Current State: 75:[72, 3], Operations: ['60-27=33', '33/11=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[72, 27, 60, 11], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [72, 11, 33] Generated Node #0,0: 75:[72, 11, 33] Operation: 60-27=33 Exploring Operation: 60+11=71, Resulting Numbers: [72, 27, 71] Generated Node #0,1: 75:[72, 27, 71] Operation: 60+11=71 Exploring Operation: 72-60=12, Resulting Numbers: [27, 11, 12] Generated Node #0,2: 75:[27, 11, 12] Operation: 72-60=12 Moving to Node #0,1 Current State: 75:[72, 27, 71], Operations: ['60+11=71'] Exploring Operation: 71-27=44, Resulting Numbers: [72, 44] Generated Node #0,1,0: 75:[72, 44] Operation: 71-27=44 Exploring Operation: 72-27=45, Resulting Numbers: [71, 45] Generated Node #0,1,1: 75:[71, 45] Operation: 72-27=45 Exploring Operation: 72-71=1, Resulting Numbers: [27, 1] Generated Node #0,1,2: 75:[27, 1] Operation: 72-71=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[27, 1], Operations: ['60+11=71', '72-71=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[72, 44], Operations: ['60+11=71', '71-27=44'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 72+44=116, Resulting Numbers: [116] 116,75 unequal: No Solution Exploring Operation: 72*44=3168, Resulting Numbers: [3168] 3168,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[71, 45], Operations: ['60+11=71', '72-27=45'] Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,75 unequal: No Solution Exploring Operation: 71*45=3195, Resulting Numbers: [3195] 3195,75 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: 75:[27, 11, 12], Operations: ['72-60=12'] Exploring Operation: 11+12=23, Resulting Numbers: [27, 23] Generated Node #0,2,0: 75:[27, 23] Operation: 11+12=23 Exploring Operation: 27-11=16, Resulting Numbers: [12, 16] Generated Node #0,2,1: 75:[12, 16] Operation: 27-11=16 Exploring Operation: 27-12=15, Resulting Numbers: [11, 15] Generated Node #0,2,2: 75:[11, 15] Operation: 27-12=15 Moving to Node #0,0 Current State: 75:[72, 11, 33], Operations: ['60-27=33'] Exploring Operation: 72+11=83, Resulting Numbers: [33, 83] Generated Node #0,0,0: 75:[33, 83] Operation: 72+11=83 Exploring Operation: 33-11=22, Resulting Numbers: [72, 22] Generated Node #0,0,1: 75:[72, 22] Operation: 33-11=22 Exploring Operation: 33/11=3, Resulting Numbers: [72, 3] Generated Node #0,0,2: 75:[72, 3] Operation: 33/11=3 Moving to Node #0,0,2 Current State: 75:[72, 3], Operations: ['60-27=33', '33/11=3'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[72, 27, 60, 11], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [72, 11, 33] Generated Node #0,0: 75:[72, 11, 33] Operation: 60-27=33 Moving to Node #0,0 Current State: 75:[72, 11, 33], Operations: ['60-27=33'] Exploring Operation: 33/11=3, Resulting Numbers: [72, 3] Generated Node #0,0,2: 75:[72, 3] Operation: 33/11=3 Moving to Node #0,0,2 Current State: 75:[72, 3], Operations: ['60-27=33', '33/11=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 16, 31, 29, 50 ]
58
[ "31-29=2", "16/2=8", "50+8=58" ]
Current State: 58:[16, 31, 29, 50], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [16, 50, 2] Generated Node #2: [16, 50, 2] from Operation: 31-29=2 Current State: 58:[16, 50, 2], Operations: ['31-29=2'] Exploring Operation: 16/2=8, Resulting Numbers: [50, 8] Generated Node #3: [50, 8] from Operation: 16/2=8 Current State: 58:[50, 8], Operations: ['31-29=2', '16/2=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[16, 31, 29, 50], Operations: [] Exploring Operation: 50-16=34, Resulting Numbers: [31, 29, 34] Generated Node #0,0: 58:[31, 29, 34] Operation: 50-16=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[31, 29, 34], Operations: ['50-16=34'] Exploring Operation: 34-31=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 58:[29, 3] Operation: 34-31=3 Moving to Node #0,0,0 Current State: 58:[29, 3], Operations: ['50-16=34', '34-31=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,58 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
[ 13, 8, 12, 36 ]
60
[ "13*36=468", "12+468=480", "480/8=60" ]
Current State: 60:[13, 8, 12, 36], Operations: [] Exploring Operation: 13*36=468, Resulting Numbers: [8, 12, 468] Generated Node #2: [8, 12, 468] from Operation: 13*36=468 Current State: 60:[8, 12, 468], Operations: ['13*36=468'] Exploring Operation: 12+468=480, Resulting Numbers: [8, 480] Generated Node #3: [8, 480] from Operation: 12+468=480 Current State: 60:[8, 480], Operations: ['13*36=468', '12+468=480'] Exploring Operation: 480/8=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[13, 8, 12, 36], Operations: [] Exploring Operation: 36-8=28, Resulting Numbers: [13, 12, 28] Generated Node #0,0: 60:[13, 12, 28] Operation: 36-8=28 Moving to Node #0,0 Current State: 60:[13, 12, 28], Operations: ['36-8=28'] Exploring Operation: 28-13=15, Resulting Numbers: [12, 15] Generated Node #0,0,0: 60:[12, 15] Operation: 28-13=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[12, 15], Operations: ['36-8=28', '28-13=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 81, 32, 67, 3 ]
10
[ "81-67=14", "3*14=42", "42-32=10" ]
Current State: 10:[81, 32, 67, 3], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [32, 3, 14] Generated Node #2: [32, 3, 14] from Operation: 81-67=14 Current State: 10:[32, 3, 14], Operations: ['81-67=14'] Exploring Operation: 3*14=42, Resulting Numbers: [32, 42] Generated Node #3: [32, 42] from Operation: 3*14=42 Current State: 10:[32, 42], Operations: ['81-67=14', '3*14=42'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[81, 32, 67, 3], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [32, 3, 14] Generated Node #0,0: 10:[32, 3, 14] Operation: 81-67=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[32, 3, 14], Operations: ['81-67=14'] Exploring Operation: 32-14=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 10:[3, 18] Operation: 32-14=18 Moving to Node #0,0,0 Current State: 10:[3, 18], Operations: ['81-67=14', '32-14=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 17, 70, 84, 31 ]
62
[ "70-17=53", "84+31=115", "115-53=62" ]
Current State: 62:[17, 70, 84, 31], Operations: [] Exploring Operation: 70-17=53, Resulting Numbers: [84, 31, 53] Generated Node #2: [84, 31, 53] from Operation: 70-17=53 Current State: 62:[84, 31, 53], Operations: ['70-17=53'] Exploring Operation: 84+31=115, Resulting Numbers: [53, 115] Generated Node #3: [53, 115] from Operation: 84+31=115 Current State: 62:[53, 115], Operations: ['70-17=53', '84+31=115'] Exploring Operation: 115-53=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[17, 70, 84, 31], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [17, 31, 14] Generated Node #0,0: 62:[17, 31, 14] Operation: 84-70=14 Exploring Operation: 84-17=67, Resulting Numbers: [70, 31, 67] Generated Node #0,1: 62:[70, 31, 67] Operation: 84-17=67 Moving to Node #0,1 Current State: 62:[70, 31, 67], Operations: ['84-17=67'] Exploring Operation: 70-67=3, Resulting Numbers: [31, 3] Generated Node #0,1,0: 62:[31, 3] Operation: 70-67=3 Exploring Operation: 70-31=39, Resulting Numbers: [67, 39] Generated Node #0,1,1: 62:[67, 39] Operation: 70-31=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[31, 3], Operations: ['84-17=67', '70-67=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[67, 39], Operations: ['84-17=67', '70-31=39'] Exploring Operation: 67+39=106, Resulting Numbers: [106] 106,62 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,62 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: 62:[17, 31, 14], Operations: ['84-70=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31, 31] Generated Node #0,0,0: 62:[31, 31] Operation: 17+14=31 Exploring Operation: 17-14=3, Resulting Numbers: [31, 3] Generated Node #0,0,1: 62:[31, 3] Operation: 17-14=3 Moving to Node #0,0,0 Current State: 62:[31, 31], Operations: ['84-70=14', '17+14=31'] Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[17, 70, 84, 31], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [17, 31, 14] Generated Node #0,0: 62:[17, 31, 14] Operation: 84-70=14 Moving to Node #0,0 Current State: 62:[17, 31, 14], Operations: ['84-70=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31, 31] Generated Node #0,0,0: 62:[31, 31] Operation: 17+14=31 Moving to Node #0,0,0 Current State: 62:[31, 31], Operations: ['84-70=14', '17+14=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 4, 9, 16, 51 ]
15
[ "16/4=4", "9+51=60", "60/4=15" ]
Current State: 15:[4, 9, 16, 51], Operations: [] Exploring Operation: 16/4=4, Resulting Numbers: [9, 51, 4] Generated Node #2: [9, 51, 4] from Operation: 16/4=4 Current State: 15:[9, 51, 4], Operations: ['16/4=4'] Exploring Operation: 9+51=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 9+51=60 Current State: 15:[4, 60], Operations: ['16/4=4', '9+51=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[4, 9, 16, 51], Operations: [] Exploring Operation: 51-16=35, Resulting Numbers: [4, 9, 35] Generated Node #0,0: 15:[4, 9, 35] Operation: 51-16=35 Moving to Node #0,0 Current State: 15:[4, 9, 35], Operations: ['51-16=35'] Exploring Operation: 35-9=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 15:[4, 26] Operation: 35-9=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[4, 26], Operations: ['51-16=35', '35-9=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 68, 86, 2, 71 ]
51
[ "86-68=18", "71-2=69", "69-18=51" ]
Current State: 51:[68, 86, 2, 71], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [2, 71, 18] Generated Node #2: [2, 71, 18] from Operation: 86-68=18 Current State: 51:[2, 71, 18], Operations: ['86-68=18'] Exploring Operation: 71-2=69, Resulting Numbers: [18, 69] Generated Node #3: [18, 69] from Operation: 71-2=69 Current State: 51:[18, 69], Operations: ['86-68=18', '71-2=69'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[68, 86, 2, 71], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [2, 71, 18] Generated Node #0,0: 51:[2, 71, 18] Operation: 86-68=18 Exploring Operation: 86-71=15, Resulting Numbers: [68, 2, 15] Generated Node #0,1: 51:[68, 2, 15] Operation: 86-71=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[68, 2, 15], Operations: ['86-71=15'] Exploring Operation: 68-2=66, Resulting Numbers: [15, 66] Generated Node #0,1,0: 51:[15, 66] Operation: 68-2=66 Exploring Operation: 68-15=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 51:[2, 53] Operation: 68-15=53 Moving to Node #0,1,1 Current State: 51:[2, 53], Operations: ['86-71=15', '68-15=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[68, 86, 2, 71], Operations: [] Exploring Operation: 86-71=15, Resulting Numbers: [68, 2, 15] Generated Node #0,1: 51:[68, 2, 15] Operation: 86-71=15 Moving to Node #0,1 Current State: 51:[68, 2, 15], Operations: ['86-71=15'] Exploring Operation: 68-15=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 51:[2, 53] Operation: 68-15=53 Moving to Node #0,1,1 Current State: 51:[2, 53], Operations: ['86-71=15', '68-15=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 90, 34, 92, 85 ]
56
[ "90*34=3060", "3060/85=36", "92-36=56" ]
Current State: 56:[90, 34, 92, 85], Operations: [] Exploring Operation: 90*34=3060, Resulting Numbers: [92, 85, 3060] Generated Node #2: [92, 85, 3060] from Operation: 90*34=3060 Current State: 56:[92, 85, 3060], Operations: ['90*34=3060'] Exploring Operation: 3060/85=36, Resulting Numbers: [92, 36] Generated Node #3: [92, 36] from Operation: 3060/85=36 Current State: 56:[92, 36], Operations: ['90*34=3060', '3060/85=36'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[90, 34, 92, 85], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [34, 85, 2] Generated Node #0,0: 56:[34, 85, 2] Operation: 92-90=2 Moving to Node #0,0 Current State: 56:[34, 85, 2], Operations: ['92-90=2'] Exploring Operation: 85-34=51, Resulting Numbers: [2, 51] Generated Node #0,0,0: 56:[2, 51] Operation: 85-34=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[2, 51], Operations: ['92-90=2', '85-34=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 50, 75, 2, 98 ]
51
[ "98-50=48", "48/2=24", "75-24=51" ]
Current State: 51:[50, 75, 2, 98], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [75, 2, 48] Generated Node #2: [75, 2, 48] from Operation: 98-50=48 Current State: 51:[75, 2, 48], Operations: ['98-50=48'] Exploring Operation: 48/2=24, Resulting Numbers: [75, 24] Generated Node #3: [75, 24] from Operation: 48/2=24 Current State: 51:[75, 24], Operations: ['98-50=48', '48/2=24'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[50, 75, 2, 98], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [75, 2, 48] Generated Node #0,0: 51:[75, 2, 48] Operation: 98-50=48 Exploring Operation: 98-75=23, Resulting Numbers: [50, 2, 23] Generated Node #0,1: 51:[50, 2, 23] Operation: 98-75=23 Exploring Operation: 75-50=25, Resulting Numbers: [2, 98, 25] Generated Node #0,2: 51:[2, 98, 25] Operation: 75-50=25 Exploring Operation: 75-2=73, Resulting Numbers: [50, 98, 73] Generated Node #0,3: 51:[50, 98, 73] Operation: 75-2=73 Exploring Operation: 98/2=49, Resulting Numbers: [50, 75, 49] Generated Node #0,4: 51:[50, 75, 49] Operation: 98/2=49 Moving to Node #0,1 Current State: 51:[50, 2, 23], Operations: ['98-75=23'] Exploring Operation: 50-2=48, Resulting Numbers: [23, 48] Generated Node #0,1,0: 51:[23, 48] Operation: 50-2=48 Exploring Operation: 23-2=21, Resulting Numbers: [50, 21] Generated Node #0,1,1: 51:[50, 21] Operation: 23-2=21 Exploring Operation: 2*23=46, Resulting Numbers: [50, 46] Generated Node #0,1,2: 51:[50, 46] Operation: 2*23=46 Exploring Operation: 50+2=52, Resulting Numbers: [23, 52] Generated Node #0,1,3: 51:[23, 52] Operation: 50+2=52 Exploring Operation: 2+23=25, Resulting Numbers: [50, 25] Generated Node #0,1,4: 51:[50, 25] Operation: 2+23=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[50, 21], Operations: ['98-75=23', '23-2=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,51 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,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,1,2 Current State: 51:[50, 46], Operations: ['98-75=23', '2*23=46'] Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,51 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,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,1,3 Current State: 51:[23, 52], Operations: ['98-75=23', '50+2=52'] Exploring Operation: 23+52=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 23*52=1196, Resulting Numbers: [1196] 1196,51 unequal: No Solution Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,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,1,0 Current State: 51:[23, 48], Operations: ['98-75=23', '50-2=48'] Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 23*48=1104, Resulting Numbers: [1104] 1104,51 unequal: No Solution Exploring Operation: 23+48=71, Resulting Numbers: [71] 71,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,1,4 Current State: 51:[50, 25], Operations: ['98-75=23', '2+23=25'] Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,51 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,51 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: 51:[50, 75, 49], Operations: ['98/2=49'] Exploring Operation: 50-49=1, Resulting Numbers: [75, 1] Generated Node #0,4,0: 51:[75, 1] Operation: 50-49=1 Exploring Operation: 75+49=124, Resulting Numbers: [50, 124] Generated Node #0,4,1: 51:[50, 124] Operation: 75+49=124 Exploring Operation: 75-50=25, Resulting Numbers: [49, 25] Generated Node #0,4,2: 51:[49, 25] Operation: 75-50=25 Exploring Operation: 75-49=26, Resulting Numbers: [50, 26] Generated Node #0,4,3: 51:[50, 26] Operation: 75-49=26 Exploring Operation: 50+49=99, Resulting Numbers: [75, 99] Generated Node #0,4,4: 51:[75, 99] Operation: 50+49=99 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 51:[49, 25], Operations: ['98/2=49', '75-50=25'] Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,51 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,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,4,3 Current State: 51:[50, 26], Operations: ['98/2=49', '75-49=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,51 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,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,4,0 Current State: 51:[75, 1], Operations: ['98/2=49', '50-49=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,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,4,4 Current State: 51:[75, 99], Operations: ['98/2=49', '50+49=99'] Exploring Operation: 99-75=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 75*99=7425, Resulting Numbers: [7425] 7425,51 unequal: No Solution Exploring Operation: 75+99=174, Resulting Numbers: [174] 174,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,4,1 Current State: 51:[50, 124], Operations: ['98/2=49', '75+49=124'] Exploring Operation: 124-50=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 50+124=174, Resulting Numbers: [174] 174,51 unequal: No Solution Exploring Operation: 50*124=6200, Resulting Numbers: [6200] 6200,51 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: 51:[75, 2, 48], Operations: ['98-50=48'] Exploring Operation: 75-48=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 51:[2, 27] Operation: 75-48=27 Exploring Operation: 2+48=50, Resulting Numbers: [75, 50] Generated Node #0,0,1: 51:[75, 50] Operation: 2+48=50 Exploring Operation: 75-2=73, Resulting Numbers: [48, 73] Generated Node #0,0,2: 51:[48, 73] Operation: 75-2=73 Exploring Operation: 48-2=46, Resulting Numbers: [75, 46] Generated Node #0,0,3: 51:[75, 46] Operation: 48-2=46 Exploring Operation: 75+2=77, Resulting Numbers: [48, 77] Generated Node #0,0,4: 51:[48, 77] Operation: 75+2=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[2, 27], Operations: ['98-50=48', '75-48=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[75, 50], Operations: ['98-50=48', '2+48=50'] Exploring Operation: 75+50=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 75*50=3750, Resulting Numbers: [3750] 3750,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[48, 73], Operations: ['98-50=48', '75-2=73'] Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,51 unequal: No Solution Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,51 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[75, 46], Operations: ['98-50=48', '48-2=46'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 75*46=3450, Resulting Numbers: [3450] 3450,51 unequal: No Solution Exploring Operation: 75+46=121, Resulting Numbers: [121] 121,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 51:[48, 77], Operations: ['98-50=48', '75+2=77'] Exploring Operation: 48+77=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 48*77=3696, Resulting Numbers: [3696] 3696,51 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,51 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: 51:[2, 98, 25], Operations: ['75-50=25'] Exploring Operation: 98/2=49, Resulting Numbers: [25, 49] Generated Node #0,2,0: 51:[25, 49] Operation: 98/2=49 Exploring Operation: 98-2=96, Resulting Numbers: [25, 96] Generated Node #0,2,1: 51:[25, 96] Operation: 98-2=96 Exploring Operation: 25-2=23, Resulting Numbers: [98, 23] Generated Node #0,2,2: 51:[98, 23] Operation: 25-2=23 Exploring Operation: 2*25=50, Resulting Numbers: [98, 50] Generated Node #0,2,3: 51:[98, 50] Operation: 2*25=50 Exploring Operation: 98-25=73, Resulting Numbers: [2, 73] Generated Node #0,2,4: 51:[2, 73] Operation: 98-25=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[25, 49], Operations: ['75-50=25', '98/2=49'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,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,4 Current State: 51:[2, 73], Operations: ['75-50=25', '98-25=73'] Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,51 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,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,3 Current State: 51:[98, 50], Operations: ['75-50=25', '2*25=50'] Exploring Operation: 98*50=4900, Resulting Numbers: [4900] 4900,51 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 98+50=148, Resulting Numbers: [148] 148,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,1 Current State: 51:[25, 96], Operations: ['75-50=25', '98-2=96'] Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,51 unequal: No Solution Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 25*96=2400, Resulting Numbers: [2400] 2400,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,2 Current State: 51:[98, 23], Operations: ['75-50=25', '25-2=23'] Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 98+23=121, Resulting Numbers: [121] 121,51 unequal: No Solution Exploring Operation: 98*23=2254, Resulting Numbers: [2254] 2254,51 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: 51:[50, 98, 73], Operations: ['75-2=73'] Exploring Operation: 50+98=148, Resulting Numbers: [73, 148] Generated Node #0,3,0: 51:[73, 148] Operation: 50+98=148 Exploring Operation: 73-50=23, Resulting Numbers: [98, 23] Generated Node #0,3,1: 51:[98, 23] Operation: 73-50=23 Exploring Operation: 98-73=25, Resulting Numbers: [50, 25] Generated Node #0,3,2: 51:[50, 25] Operation: 98-73=25 Exploring Operation: 50+73=123, Resulting Numbers: [98, 123] Generated Node #0,3,3: 51:[98, 123] Operation: 50+73=123 Exploring Operation: 98-50=48, Resulting Numbers: [73, 48] Generated Node #0,3,4: 51:[73, 48] Operation: 98-50=48 Moving to Node #0,3,2 Current State: 51:[50, 25], Operations: ['75-2=73', '98-73=25'] Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,51 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[73, 48], Operations: ['75-2=73', '98-50=48'] Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 73*48=3504, Resulting Numbers: [3504] 3504,51 unequal: No Solution Exploring Operation: 73+48=121, Resulting Numbers: [121] 121,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[98, 23], Operations: ['75-2=73', '73-50=23'] Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 98*23=2254, Resulting Numbers: [2254] 2254,51 unequal: No Solution Exploring Operation: 98+23=121, Resulting Numbers: [121] 121,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[73, 148], Operations: ['75-2=73', '50+98=148'] Exploring Operation: 73+148=221, Resulting Numbers: [221] 221,51 unequal: No Solution Exploring Operation: 73*148=10804, Resulting Numbers: [10804] 10804,51 unequal: No Solution Exploring Operation: 148-73=75, Resulting Numbers: [75] 75,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[98, 123], Operations: ['75-2=73', '50+73=123'] Exploring Operation: 98+123=221, Resulting Numbers: [221] 221,51 unequal: No Solution Exploring Operation: 98*123=12054, Resulting Numbers: [12054] 12054,51 unequal: No Solution Exploring Operation: 123-98=25, Resulting Numbers: [25] 25,51 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 58, 67, 87, 53 ]
21
[ "67-53=14", "87*14=1218", "1218/58=21" ]
Current State: 21:[58, 67, 87, 53], Operations: [] Exploring Operation: 67-53=14, Resulting Numbers: [58, 87, 14] Generated Node #2: [58, 87, 14] from Operation: 67-53=14 Current State: 21:[58, 87, 14], Operations: ['67-53=14'] Exploring Operation: 87*14=1218, Resulting Numbers: [58, 1218] Generated Node #3: [58, 1218] from Operation: 87*14=1218 Current State: 21:[58, 1218], Operations: ['67-53=14', '87*14=1218'] Exploring Operation: 1218/58=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[58, 67, 87, 53], Operations: [] Exploring Operation: 87-67=20, Resulting Numbers: [58, 53, 20] Generated Node #0,0: 21:[58, 53, 20] Operation: 87-67=20 Moving to Node #0,0 Current State: 21:[58, 53, 20], Operations: ['87-67=20'] Exploring Operation: 58-53=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 21:[20, 5] Operation: 58-53=5 Moving to Node #0,0,0 Current State: 21:[20, 5], Operations: ['87-67=20', '58-53=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,21 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 5, 18, 57, 3 ]
60
[ "5*3=15", "18+57=75", "75-15=60" ]
Current State: 60:[5, 18, 57, 3], Operations: [] Exploring Operation: 5*3=15, Resulting Numbers: [18, 57, 15] Generated Node #2: [18, 57, 15] from Operation: 5*3=15 Current State: 60:[18, 57, 15], Operations: ['5*3=15'] Exploring Operation: 18+57=75, Resulting Numbers: [15, 75] Generated Node #3: [15, 75] from Operation: 18+57=75 Current State: 60:[15, 75], Operations: ['5*3=15', '18+57=75'] Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[5, 18, 57, 3], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [5, 18, 19] Generated Node #0,0: 60:[5, 18, 19] Operation: 57/3=19 Exploring Operation: 57+3=60, Resulting Numbers: [5, 18, 60] Generated Node #0,1: 60:[5, 18, 60] Operation: 57+3=60 Exploring Operation: 18-5=13, Resulting Numbers: [57, 3, 13] Generated Node #0,2: 60:[57, 3, 13] Operation: 18-5=13 Exploring Operation: 18-3=15, Resulting Numbers: [5, 57, 15] Generated Node #0,3: 60:[5, 57, 15] Operation: 18-3=15 Exploring Operation: 18/3=6, Resulting Numbers: [5, 57, 6] Generated Node #0,4: 60:[5, 57, 6] Operation: 18/3=6 Moving to Node #0,1 Current State: 60:[5, 18, 60], Operations: ['57+3=60'] Exploring Operation: 60/5=12, Resulting Numbers: [18, 12] Generated Node #0,1,0: 60:[18, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [18, 55] Generated Node #0,1,1: 60:[18, 55] Operation: 60-5=55 Exploring Operation: 18-5=13, Resulting Numbers: [60, 13] Generated Node #0,1,2: 60:[60, 13] Operation: 18-5=13 Exploring Operation: 5+18=23, Resulting Numbers: [60, 23] Generated Node #0,1,3: 60:[60, 23] Operation: 5+18=23 Exploring Operation: 5+60=65, Resulting Numbers: [18, 65] Generated Node #0,1,4: 60:[18, 65] Operation: 5+60=65 Moving to Node #0,3 Current State: 60:[5, 57, 15], Operations: ['18-3=15'] Exploring Operation: 57-5=52, Resulting Numbers: [15, 52] Generated Node #0,3,0: 60:[15, 52] Operation: 57-5=52 Exploring Operation: 5+57=62, Resulting Numbers: [15, 62] Generated Node #0,3,1: 60:[15, 62] Operation: 5+57=62 Exploring Operation: 5+15=20, Resulting Numbers: [57, 20] Generated Node #0,3,2: 60:[57, 20] Operation: 5+15=20 Exploring Operation: 15/5=3, Resulting Numbers: [57, 3] Generated Node #0,3,3: 60:[57, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [57, 10] Generated Node #0,3,4: 60:[57, 10] Operation: 15-5=10 Moving to Node #0,0 Current State: 60:[5, 18, 19], Operations: ['57/3=19'] Exploring Operation: 5+18=23, Resulting Numbers: [19, 23] Generated Node #0,0,0: 60:[19, 23] Operation: 5+18=23 Exploring Operation: 19-5=14, Resulting Numbers: [18, 14] Generated Node #0,0,1: 60:[18, 14] Operation: 19-5=14 Exploring Operation: 19-18=1, Resulting Numbers: [5, 1] Generated Node #0,0,2: 60:[5, 1] Operation: 19-18=1 Exploring Operation: 18-5=13, Resulting Numbers: [19, 13] Generated Node #0,0,3: 60:[19, 13] Operation: 18-5=13 Exploring Operation: 5+19=24, Resulting Numbers: [18, 24] Generated Node #0,0,4: 60:[18, 24] Operation: 5+19=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[5, 1], Operations: ['57/3=19', '19-18=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,60 unequal: No Solution No 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: 60:[19, 13], Operations: ['57/3=19', '18-5=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,60 unequal: No Solution No 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: 60:[18, 14], Operations: ['57/3=19', '19-5=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,60 unequal: No Solution No 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: 60:[19, 23], Operations: ['57/3=19', '5+18=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,60 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,60 unequal: No Solution No 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: 60:[18, 24], Operations: ['57/3=19', '5+19=24'] Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,60 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,60 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: 60:[5, 57, 6], Operations: ['18/3=6'] Exploring Operation: 5+6=11, Resulting Numbers: [57, 11] Generated Node #0,4,0: 60:[57, 11] Operation: 5+6=11 Exploring Operation: 5*6=30, Resulting Numbers: [57, 30] Generated Node #0,4,1: 60:[57, 30] Operation: 5*6=30 Exploring Operation: 57+6=63, Resulting Numbers: [5, 63] Generated Node #0,4,2: 60:[5, 63] Operation: 57+6=63 Exploring Operation: 6-5=1, Resulting Numbers: [57, 1] Generated Node #0,4,3: 60:[57, 1] Operation: 6-5=1 Exploring Operation: 5+57=62, Resulting Numbers: [6, 62] Generated Node #0,4,4: 60:[6, 62] Operation: 5+57=62 Moving to Node #0,2 Current State: 60:[57, 3, 13], Operations: ['18-5=13'] Exploring Operation: 13-3=10, Resulting Numbers: [57, 10] Generated Node #0,2,0: 60:[57, 10] Operation: 13-3=10 Exploring Operation: 57+3=60, Resulting Numbers: [13, 60] Generated Node #0,2,1: 60:[13, 60] Operation: 57+3=60 Exploring Operation: 57/3=19, Resulting Numbers: [13, 19] Generated Node #0,2,2: 60:[13, 19] Operation: 57/3=19 Exploring Operation: 3+13=16, Resulting Numbers: [57, 16] Generated Node #0,2,3: 60:[57, 16] Operation: 3+13=16 Exploring Operation: 57-3=54, Resulting Numbers: [13, 54] Generated Node #0,2,4: 60:[13, 54] Operation: 57-3=54 Moving to Node #0,1,2 Current State: 60:[60, 13], Operations: ['57+3=60', '18-5=13'] Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,60 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[13, 60], Operations: ['18-5=13', '57+3=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,60 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[15, 62], Operations: ['18-3=15', '5+57=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,60 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[6, 62], Operations: ['18/3=6', '5+57=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,60 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[18, 12], Operations: ['57+3=60', '60/5=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,60 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[13, 19], Operations: ['18-5=13', '57/3=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,60 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[57, 20], Operations: ['18-3=15', '5+15=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,60 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[60, 23], Operations: ['57+3=60', '5+18=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,60 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,60 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[5, 63], Operations: ['18/3=6', '57+6=63'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[57, 30], Operations: ['18/3=6', '5*6=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,60 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,60 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[57, 10], Operations: ['18-3=15', '15-5=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[57, 10], Operations: ['18-5=13', '13-3=10'] Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,60 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[57, 3], Operations: ['18-3=15', '15/5=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[5, 18, 57, 3], Operations: [] Exploring Operation: 18-3=15, Resulting Numbers: [5, 57, 15] Generated Node #0,3: 60:[5, 57, 15] Operation: 18-3=15 Moving to Node #0,3 Current State: 60:[5, 57, 15], Operations: ['18-3=15'] Exploring Operation: 15/5=3, Resulting Numbers: [57, 3] Generated Node #0,3,3: 60:[57, 3] Operation: 15/5=3 Moving to Node #0,3,3 Current State: 60:[57, 3], Operations: ['18-3=15', '15/5=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.924479
hs_5
mult_heuristic
[ 18, 64, 63, 71 ]
11
[ "64+63=127", "71+127=198", "198/18=11" ]
Current State: 11:[18, 64, 63, 71], Operations: [] Exploring Operation: 64+63=127, Resulting Numbers: [18, 71, 127] Generated Node #2: [18, 71, 127] from Operation: 64+63=127 Current State: 11:[18, 71, 127], Operations: ['64+63=127'] Exploring Operation: 71+127=198, Resulting Numbers: [18, 198] Generated Node #3: [18, 198] from Operation: 71+127=198 Current State: 11:[18, 198], Operations: ['64+63=127', '71+127=198'] Exploring Operation: 198/18=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[18, 64, 63, 71], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [18, 63, 7] Generated Node #0,0: 11:[18, 63, 7] Operation: 71-64=7 Exploring Operation: 71-63=8, Resulting Numbers: [18, 64, 8] Generated Node #0,1: 11:[18, 64, 8] Operation: 71-63=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[18, 63, 7], Operations: ['71-64=7'] Exploring Operation: 63/7=9, Resulting Numbers: [18, 9] Generated Node #0,0,0: 11:[18, 9] Operation: 63/7=9 Exploring Operation: 63-18=45, Resulting Numbers: [7, 45] Generated Node #0,0,1: 11:[7, 45] Operation: 63-18=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[18, 9], Operations: ['71-64=7', '63/7=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[7, 45], Operations: ['71-64=7', '63-18=45'] Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[18, 64, 8], Operations: ['71-63=8'] Exploring Operation: 64/8=8, Resulting Numbers: [18, 8] Generated Node #0,1,0: 11:[18, 8] Operation: 64/8=8 Exploring Operation: 64-18=46, Resulting Numbers: [8, 46] Generated Node #0,1,1: 11:[8, 46] Operation: 64-18=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[18, 8], Operations: ['71-63=8', '64/8=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[8, 46], Operations: ['71-63=8', '64-18=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 27, 11, 90, 40 ]
88
[ "27+11=38", "90-40=50", "38+50=88" ]
Current State: 88:[27, 11, 90, 40], Operations: [] Exploring Operation: 27+11=38, Resulting Numbers: [90, 40, 38] Generated Node #2: [90, 40, 38] from Operation: 27+11=38 Current State: 88:[90, 40, 38], Operations: ['27+11=38'] Exploring Operation: 90-40=50, Resulting Numbers: [38, 50] Generated Node #3: [38, 50] from Operation: 90-40=50 Current State: 88:[38, 50], Operations: ['27+11=38', '90-40=50'] Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[27, 11, 90, 40], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [11, 90, 13] Generated Node #0,0: 88:[11, 90, 13] Operation: 40-27=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[11, 90, 13], Operations: ['40-27=13'] Exploring Operation: 13-11=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 88:[90, 2] Operation: 13-11=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[90, 2], Operations: ['40-27=13', '13-11=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[27, 11, 90, 40], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [11, 90, 13] Generated Node #0,0: 88:[11, 90, 13] Operation: 40-27=13 Moving to Node #0,0 Current State: 88:[11, 90, 13], Operations: ['40-27=13'] Exploring Operation: 13-11=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 88:[90, 2] Operation: 13-11=2 Moving to Node #0,0,0 Current State: 88:[90, 2], Operations: ['40-27=13', '13-11=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 15, 37, 42, 90 ]
30
[ "15*42=630", "630/90=7", "37-7=30" ]
Current State: 30:[15, 37, 42, 90], Operations: [] Exploring Operation: 15*42=630, Resulting Numbers: [37, 90, 630] Generated Node #2: [37, 90, 630] from Operation: 15*42=630 Current State: 30:[37, 90, 630], Operations: ['15*42=630'] Exploring Operation: 630/90=7, Resulting Numbers: [37, 7] Generated Node #3: [37, 7] from Operation: 630/90=7 Current State: 30:[37, 7], Operations: ['15*42=630', '630/90=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[15, 37, 42, 90], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [37, 42, 6] Generated Node #0,0: 30:[37, 42, 6] Operation: 90/15=6 Exploring Operation: 90-42=48, Resulting Numbers: [15, 37, 48] Generated Node #0,1: 30:[15, 37, 48] Operation: 90-42=48 Moving to Node #0,0 Current State: 30:[37, 42, 6], Operations: ['90/15=6'] Exploring Operation: 42/6=7, Resulting Numbers: [37, 7] Generated Node #0,0,0: 30:[37, 7] Operation: 42/6=7 Exploring Operation: 42-37=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 30:[6, 5] Operation: 42-37=5 Moving to Node #0,1 Current State: 30:[15, 37, 48], Operations: ['90-42=48'] Exploring Operation: 48-37=11, Resulting Numbers: [15, 11] Generated Node #0,1,0: 30:[15, 11] Operation: 48-37=11 Exploring Operation: 48-15=33, Resulting Numbers: [37, 33] Generated Node #0,1,1: 30:[37, 33] Operation: 48-15=33 Moving to Node #0,0,1 Current State: 30:[6, 5], Operations: ['90/15=6', '42-37=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[15, 37, 42, 90], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [37, 42, 6] Generated Node #0,0: 30:[37, 42, 6] Operation: 90/15=6 Moving to Node #0,0 Current State: 30:[37, 42, 6], Operations: ['90/15=6'] Exploring Operation: 42-37=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 30:[6, 5] Operation: 42-37=5 Moving to Node #0,0,1 Current State: 30:[6, 5], Operations: ['90/15=6', '42-37=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 35, 12, 56, 97 ]
88
[ "35+12=47", "97-56=41", "47+41=88" ]
Current State: 88:[35, 12, 56, 97], Operations: [] Exploring Operation: 35+12=47, Resulting Numbers: [56, 97, 47] Generated Node #2: [56, 97, 47] from Operation: 35+12=47 Current State: 88:[56, 97, 47], Operations: ['35+12=47'] Exploring Operation: 97-56=41, Resulting Numbers: [47, 41] Generated Node #3: [47, 41] from Operation: 97-56=41 Current State: 88:[47, 41], Operations: ['35+12=47', '97-56=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[35, 12, 56, 97], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [12, 97, 21] Generated Node #0,0: 88:[12, 97, 21] Operation: 56-35=21 Moving to Node #0,0 Current State: 88:[12, 97, 21], Operations: ['56-35=21'] Exploring Operation: 97-12=85, Resulting Numbers: [21, 85] Generated Node #0,0,0: 88:[21, 85] Operation: 97-12=85 Moving to Node #0,0,0 Current State: 88:[21, 85], Operations: ['56-35=21', '97-12=85'] Exploring Operation: 21+85=106, Resulting Numbers: [106] 106,88 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 28, 54, 36, 2 ]
32
[ "28/2=14", "54-36=18", "14+18=32" ]
Current State: 32:[28, 54, 36, 2], Operations: [] Exploring Operation: 28/2=14, Resulting Numbers: [54, 36, 14] Generated Node #2: [54, 36, 14] from Operation: 28/2=14 Current State: 32:[54, 36, 14], Operations: ['28/2=14'] Exploring Operation: 54-36=18, Resulting Numbers: [14, 18] Generated Node #3: [14, 18] from Operation: 54-36=18 Current State: 32:[14, 18], Operations: ['28/2=14', '54-36=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[28, 54, 36, 2], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [28, 36, 27] Generated Node #0,0: 32:[28, 36, 27] Operation: 54/2=27 Exploring Operation: 54-36=18, Resulting Numbers: [28, 2, 18] Generated Node #0,1: 32:[28, 2, 18] Operation: 54-36=18 Exploring Operation: 54-28=26, Resulting Numbers: [36, 2, 26] Generated Node #0,2: 32:[36, 2, 26] Operation: 54-28=26 Moving to Node #0,1 Current State: 32:[28, 2, 18], Operations: ['54-36=18'] Exploring Operation: 28+2=30, Resulting Numbers: [18, 30] Generated Node #0,1,0: 32:[18, 30] Operation: 28+2=30 Exploring Operation: 28/2=14, Resulting Numbers: [18, 14] Generated Node #0,1,1: 32:[18, 14] Operation: 28/2=14 Exploring Operation: 28-18=10, Resulting Numbers: [2, 10] Generated Node #0,1,2: 32:[2, 10] Operation: 28-18=10 Moving to Node #0,2 Current State: 32:[36, 2, 26], Operations: ['54-28=26'] Exploring Operation: 36-26=10, Resulting Numbers: [2, 10] Generated Node #0,2,0: 32:[2, 10] Operation: 36-26=10 Exploring Operation: 26/2=13, Resulting Numbers: [36, 13] Generated Node #0,2,1: 32:[36, 13] Operation: 26/2=13 Exploring Operation: 36-2=34, Resulting Numbers: [26, 34] Generated Node #0,2,2: 32:[26, 34] Operation: 36-2=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[2, 10], Operations: ['54-28=26', '36-26=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[36, 13], Operations: ['54-28=26', '26/2=13'] Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,32 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[26, 34], Operations: ['54-28=26', '36-2=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,32 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 32:[28, 36, 27], Operations: ['54/2=27'] Exploring Operation: 36-27=9, Resulting Numbers: [28, 9] Generated Node #0,0,0: 32:[28, 9] Operation: 36-27=9 Exploring Operation: 36-28=8, Resulting Numbers: [27, 8] Generated Node #0,0,1: 32:[27, 8] Operation: 36-28=8 Exploring Operation: 28-27=1, Resulting Numbers: [36, 1] Generated Node #0,0,2: 32:[36, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[28, 9], Operations: ['54/2=27', '36-27=9'] Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,32 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[27, 8], Operations: ['54/2=27', '36-28=8'] Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,32 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[36, 1], Operations: ['54/2=27', '28-27=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 32:[2, 10], Operations: ['54-36=18', '28-18=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[18, 30], Operations: ['54-36=18', '28+2=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[18, 14], Operations: ['54-36=18', '28/2=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[28, 54, 36, 2], Operations: [] Exploring Operation: 54-36=18, Resulting Numbers: [28, 2, 18] Generated Node #0,1: 32:[28, 2, 18] Operation: 54-36=18 Moving to Node #0,1 Current State: 32:[28, 2, 18], Operations: ['54-36=18'] Exploring Operation: 28/2=14, Resulting Numbers: [18, 14] Generated Node #0,1,1: 32:[18, 14] Operation: 28/2=14 Moving to Node #0,1,1 Current State: 32:[18, 14], Operations: ['54-36=18', '28/2=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.963542
hs_3
sum_heuristic
[ 24, 36, 77, 98 ]
39
[ "24+36=60", "98-77=21", "60-21=39" ]
Current State: 39:[24, 36, 77, 98], Operations: [] Exploring Operation: 24+36=60, Resulting Numbers: [77, 98, 60] Generated Node #2: [77, 98, 60] from Operation: 24+36=60 Current State: 39:[77, 98, 60], Operations: ['24+36=60'] Exploring Operation: 98-77=21, Resulting Numbers: [60, 21] Generated Node #3: [60, 21] from Operation: 98-77=21 Current State: 39:[60, 21], Operations: ['24+36=60', '98-77=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[24, 36, 77, 98], Operations: [] Exploring Operation: 98-36=62, Resulting Numbers: [24, 77, 62] Generated Node #0,0: 39:[24, 77, 62] Operation: 98-36=62 Exploring Operation: 98-77=21, Resulting Numbers: [24, 36, 21] Generated Node #0,1: 39:[24, 36, 21] Operation: 98-77=21 Exploring Operation: 77-36=41, Resulting Numbers: [24, 98, 41] Generated Node #0,2: 39:[24, 98, 41] Operation: 77-36=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[24, 36, 21], Operations: ['98-77=21'] Exploring Operation: 36-24=12, Resulting Numbers: [21, 12] Generated Node #0,1,0: 39:[21, 12] Operation: 36-24=12 Exploring Operation: 24-21=3, Resulting Numbers: [36, 3] Generated Node #0,1,1: 39:[36, 3] Operation: 24-21=3 Exploring Operation: 24+21=45, Resulting Numbers: [36, 45] Generated Node #0,1,2: 39:[36, 45] Operation: 24+21=45 Moving to Node #0,1,1 Current State: 39:[36, 3], Operations: ['98-77=21', '24-21=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[24, 36, 77, 98], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [24, 36, 21] Generated Node #0,1: 39:[24, 36, 21] Operation: 98-77=21 Moving to Node #0,1 Current State: 39:[24, 36, 21], Operations: ['98-77=21'] Exploring Operation: 24-21=3, Resulting Numbers: [36, 3] Generated Node #0,1,1: 39:[36, 3] Operation: 24-21=3 Moving to Node #0,1,1 Current State: 39:[36, 3], Operations: ['98-77=21', '24-21=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 24, 64, 54, 61 ]
83
[ "64*54=3456", "3456/24=144", "144-61=83" ]
Current State: 83:[24, 64, 54, 61], Operations: [] Exploring Operation: 64*54=3456, Resulting Numbers: [24, 61, 3456] Generated Node #2: [24, 61, 3456] from Operation: 64*54=3456 Current State: 83:[24, 61, 3456], Operations: ['64*54=3456'] Exploring Operation: 3456/24=144, Resulting Numbers: [61, 144] Generated Node #3: [61, 144] from Operation: 3456/24=144 Current State: 83:[61, 144], Operations: ['64*54=3456', '3456/24=144'] Exploring Operation: 144-61=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[24, 64, 54, 61], Operations: [] Exploring Operation: 24+61=85, Resulting Numbers: [64, 54, 85] Generated Node #0,0: 83:[64, 54, 85] Operation: 24+61=85 Exploring Operation: 24+64=88, Resulting Numbers: [54, 61, 88] Generated Node #0,1: 83:[54, 61, 88] Operation: 24+64=88 Exploring Operation: 24+54=78, Resulting Numbers: [64, 61, 78] Generated Node #0,2: 83:[64, 61, 78] Operation: 24+54=78 Exploring Operation: 64-24=40, Resulting Numbers: [54, 61, 40] Generated Node #0,3: 83:[54, 61, 40] Operation: 64-24=40 Moving to Node #0,2 Current State: 83:[64, 61, 78], Operations: ['24+54=78'] Exploring Operation: 64+61=125, Resulting Numbers: [78, 125] Generated Node #0,2,0: 83:[78, 125] Operation: 64+61=125 Exploring Operation: 61+78=139, Resulting Numbers: [64, 139] Generated Node #0,2,1: 83:[64, 139] Operation: 61+78=139 Exploring Operation: 64+78=142, Resulting Numbers: [61, 142] Generated Node #0,2,2: 83:[61, 142] Operation: 64+78=142 Exploring Operation: 64-61=3, Resulting Numbers: [78, 3] Generated Node #0,2,3: 83:[78, 3] Operation: 64-61=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[78, 125], Operations: ['24+54=78', '64+61=125'] Exploring Operation: 78+125=203, Resulting Numbers: [203] 203,83 unequal: No Solution Exploring Operation: 78*125=9750, Resulting Numbers: [9750] 9750,83 unequal: No Solution Exploring Operation: 125-78=47, Resulting Numbers: [47] 47,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,1 Current State: 83:[64, 139], Operations: ['24+54=78', '61+78=139'] Exploring Operation: 64*139=8896, Resulting Numbers: [8896] 8896,83 unequal: No Solution Exploring Operation: 139-64=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 64+139=203, Resulting Numbers: [203] 203,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,2 Current State: 83:[61, 142], Operations: ['24+54=78', '64+78=142'] Exploring Operation: 61+142=203, Resulting Numbers: [203] 203,83 unequal: No Solution Exploring Operation: 142-61=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 61*142=8662, Resulting Numbers: [8662] 8662,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,3 Current State: 83:[78, 3], Operations: ['24+54=78', '64-61=3'] Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,83 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,83 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: 83:[64, 54, 85], Operations: ['24+61=85'] Exploring Operation: 64+54=118, Resulting Numbers: [85, 118] Generated Node #0,0,0: 83:[85, 118] Operation: 64+54=118 Exploring Operation: 64-54=10, Resulting Numbers: [85, 10] Generated Node #0,0,1: 83:[85, 10] Operation: 64-54=10 Exploring Operation: 85-54=31, Resulting Numbers: [64, 31] Generated Node #0,0,2: 83:[64, 31] Operation: 85-54=31 Exploring Operation: 54+85=139, Resulting Numbers: [64, 139] Generated Node #0,0,3: 83:[64, 139] Operation: 54+85=139 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[85, 118], Operations: ['24+61=85', '64+54=118'] Exploring Operation: 118-85=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 85+118=203, Resulting Numbers: [203] 203,83 unequal: No Solution Exploring Operation: 85*118=10030, Resulting Numbers: [10030] 10030,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[64, 31], Operations: ['24+61=85', '85-54=31'] Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,83 unequal: No Solution Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[85, 10], Operations: ['24+61=85', '64-54=10'] Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,83 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[64, 139], Operations: ['24+61=85', '54+85=139'] Exploring Operation: 64*139=8896, Resulting Numbers: [8896] 8896,83 unequal: No Solution Exploring Operation: 64+139=203, Resulting Numbers: [203] 203,83 unequal: No Solution Exploring Operation: 139-64=75, Resulting Numbers: [75] 75,83 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: 83:[54, 61, 88], Operations: ['24+64=88'] Exploring Operation: 88-54=34, Resulting Numbers: [61, 34] Generated Node #0,1,0: 83:[61, 34] Operation: 88-54=34 Exploring Operation: 54+88=142, Resulting Numbers: [61, 142] Generated Node #0,1,1: 83:[61, 142] Operation: 54+88=142 Exploring Operation: 61-54=7, Resulting Numbers: [88, 7] Generated Node #0,1,2: 83:[88, 7] Operation: 61-54=7 Exploring Operation: 54+61=115, Resulting Numbers: [88, 115] Generated Node #0,1,3: 83:[88, 115] Operation: 54+61=115 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[88, 115], Operations: ['24+64=88', '54+61=115'] Exploring Operation: 115-88=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 88*115=10120, Resulting Numbers: [10120] 10120,83 unequal: No Solution Exploring Operation: 88+115=203, Resulting Numbers: [203] 203,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,0 Current State: 83:[61, 34], Operations: ['24+64=88', '88-54=34'] Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,83 unequal: No Solution Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[61, 142], Operations: ['24+64=88', '54+88=142'] Exploring Operation: 142-61=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 61*142=8662, Resulting Numbers: [8662] 8662,83 unequal: No Solution Exploring Operation: 61+142=203, Resulting Numbers: [203] 203,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,2 Current State: 83:[88, 7], Operations: ['24+64=88', '61-54=7'] Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 88*7=616, Resulting Numbers: [616] 616,83 unequal: No Solution Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,83 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: 83:[54, 61, 40], Operations: ['64-24=40'] Exploring Operation: 61+40=101, Resulting Numbers: [54, 101] Generated Node #0,3,0: 83:[54, 101] Operation: 61+40=101 Exploring Operation: 54+40=94, Resulting Numbers: [61, 94] Generated Node #0,3,1: 83:[61, 94] Operation: 54+40=94 Exploring Operation: 54-40=14, Resulting Numbers: [61, 14] Generated Node #0,3,2: 83:[61, 14] Operation: 54-40=14 Exploring Operation: 54+61=115, Resulting Numbers: [40, 115] Generated Node #0,3,3: 83:[40, 115] Operation: 54+61=115 Moving to Node #0,3,1 Current State: 83:[61, 94], Operations: ['64-24=40', '54+40=94'] Exploring Operation: 61*94=5734, Resulting Numbers: [5734] 5734,83 unequal: No Solution Exploring Operation: 61+94=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[54, 101], Operations: ['64-24=40', '61+40=101'] Exploring Operation: 54+101=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 54*101=5454, Resulting Numbers: [5454] 5454,83 unequal: No Solution Exploring Operation: 101-54=47, Resulting Numbers: [47] 47,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[40, 115], Operations: ['64-24=40', '54+61=115'] Exploring Operation: 40*115=4600, Resulting Numbers: [4600] 4600,83 unequal: No Solution Exploring Operation: 115-40=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 40+115=155, Resulting Numbers: [155] 155,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[61, 14], Operations: ['64-24=40', '54-40=14'] Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,83 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 3, 61, 25 ]
92
[ "6*25=150", "61-3=58", "150-58=92" ]
Current State: 92:[6, 3, 61, 25], Operations: [] Exploring Operation: 6*25=150, Resulting Numbers: [3, 61, 150] Generated Node #2: [3, 61, 150] from Operation: 6*25=150 Current State: 92:[3, 61, 150], Operations: ['6*25=150'] Exploring Operation: 61-3=58, Resulting Numbers: [150, 58] Generated Node #3: [150, 58] from Operation: 61-3=58 Current State: 92:[150, 58], Operations: ['6*25=150', '61-3=58'] Exploring Operation: 150-58=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[6, 3, 61, 25], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [61, 25, 2] Generated Node #0,0: 92:[61, 25, 2] Operation: 6/3=2 Exploring Operation: 61-25=36, Resulting Numbers: [6, 3, 36] Generated Node #0,1: 92:[6, 3, 36] Operation: 61-25=36 Exploring Operation: 61+25=86, Resulting Numbers: [6, 3, 86] Generated Node #0,2: 92:[6, 3, 86] Operation: 61+25=86 Exploring Operation: 61-6=55, Resulting Numbers: [3, 25, 55] Generated Node #0,3: 92:[3, 25, 55] Operation: 61-6=55 Exploring Operation: 61-3=58, Resulting Numbers: [6, 25, 58] Generated Node #0,4: 92:[6, 25, 58] Operation: 61-3=58 Moving to Node #0,2 Current State: 92:[6, 3, 86], Operations: ['61+25=86'] Exploring Operation: 3+86=89, Resulting Numbers: [6, 89] Generated Node #0,2,0: 92:[6, 89] Operation: 3+86=89 Exploring Operation: 6+3=9, Resulting Numbers: [86, 9] Generated Node #0,2,1: 92:[86, 9] Operation: 6+3=9 Exploring Operation: 6/3=2, Resulting Numbers: [86, 2] Generated Node #0,2,2: 92:[86, 2] Operation: 6/3=2 Exploring Operation: 6+86=92, Resulting Numbers: [3, 92] Generated Node #0,2,3: 92:[3, 92] Operation: 6+86=92 Exploring Operation: 6-3=3, Resulting Numbers: [86, 3] Generated Node #0,2,4: 92:[86, 3] Operation: 6-3=3 Moving to Node #0,3 Current State: 92:[3, 25, 55], Operations: ['61-6=55'] Exploring Operation: 55-25=30, Resulting Numbers: [3, 30] Generated Node #0,3,0: 92:[3, 30] Operation: 55-25=30 Exploring Operation: 25-3=22, Resulting Numbers: [55, 22] Generated Node #0,3,1: 92:[55, 22] Operation: 25-3=22 Exploring Operation: 3+25=28, Resulting Numbers: [55, 28] Generated Node #0,3,2: 92:[55, 28] Operation: 3+25=28 Exploring Operation: 55-3=52, Resulting Numbers: [25, 52] Generated Node #0,3,3: 92:[25, 52] Operation: 55-3=52 Exploring Operation: 25+55=80, Resulting Numbers: [3, 80] Generated Node #0,3,4: 92:[3, 80] Operation: 25+55=80 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[3, 30], Operations: ['61-6=55', '55-25=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 92:[25, 52], Operations: ['61-6=55', '55-3=52'] Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,92 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[55, 22], Operations: ['61-6=55', '25-3=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,92 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 92:[3, 80], Operations: ['61-6=55', '25+55=80'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,92 unequal: No Solution Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 92:[55, 28], Operations: ['61-6=55', '3+25=28'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,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:[6, 3, 36], Operations: ['61-25=36'] Exploring Operation: 36/6=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 92:[3, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [3, 30] Generated Node #0,1,1: 92:[3, 30] Operation: 36-6=30 Exploring Operation: 3+36=39, Resulting Numbers: [6, 39] Generated Node #0,1,2: 92:[6, 39] Operation: 3+36=39 Exploring Operation: 6/3=2, Resulting Numbers: [36, 2] Generated Node #0,1,3: 92:[36, 2] Operation: 6/3=2 Exploring Operation: 6+36=42, Resulting Numbers: [3, 42] Generated Node #0,1,4: 92:[3, 42] Operation: 6+36=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[3, 6], Operations: ['61-25=36', '36/6=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 92:[3, 42], Operations: ['61-25=36', '6+36=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,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:[3, 30], Operations: ['61-25=36', '36-6=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,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:[6, 39], Operations: ['61-25=36', '3+36=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,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:[36, 2], Operations: ['61-25=36', '6/3=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,92 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,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:[6, 25, 58], Operations: ['61-3=58'] Exploring Operation: 6+25=31, Resulting Numbers: [58, 31] Generated Node #0,4,0: 92:[58, 31] Operation: 6+25=31 Exploring Operation: 25+58=83, Resulting Numbers: [6, 83] Generated Node #0,4,1: 92:[6, 83] Operation: 25+58=83 Exploring Operation: 58-25=33, Resulting Numbers: [6, 33] Generated Node #0,4,2: 92:[6, 33] Operation: 58-25=33 Exploring Operation: 58-6=52, Resulting Numbers: [25, 52] Generated Node #0,4,3: 92:[25, 52] Operation: 58-6=52 Exploring Operation: 25-6=19, Resulting Numbers: [58, 19] Generated Node #0,4,4: 92:[58, 19] Operation: 25-6=19 Moving to Node #0,0 Current State: 92:[61, 25, 2], Operations: ['6/3=2'] Exploring Operation: 61+2=63, Resulting Numbers: [25, 63] Generated Node #0,0,0: 92:[25, 63] Operation: 61+2=63 Exploring Operation: 61-2=59, Resulting Numbers: [25, 59] Generated Node #0,0,1: 92:[25, 59] Operation: 61-2=59 Exploring Operation: 61-25=36, Resulting Numbers: [2, 36] Generated Node #0,0,2: 92:[2, 36] Operation: 61-25=36 Exploring Operation: 25-2=23, Resulting Numbers: [61, 23] Generated Node #0,0,3: 92:[61, 23] Operation: 25-2=23 Exploring Operation: 61+25=86, Resulting Numbers: [2, 86] Generated Node #0,0,4: 92:[2, 86] Operation: 61+25=86 Moving to Node #0,2,3 Current State: 92:[3, 92], Operations: ['61+25=86', '6+86=92'] Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,92 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[6, 89], Operations: ['61+25=86', '3+86=89'] Exploring Operation: 6+89=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 6*89=534, Resulting Numbers: [534] 534,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[86, 2], Operations: ['61+25=86', '6/3=2'] Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,92 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[2, 86], Operations: ['6/3=2', '61+25=86'] Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,92 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[86, 3], Operations: ['61+25=86', '6-3=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[25, 52], Operations: ['61-3=58', '58-6=52'] Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[2, 36], Operations: ['6/3=2', '61-25=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,92 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[6, 83], Operations: ['61-3=58', '25+58=83'] Exploring Operation: 6*83=498, Resulting Numbers: [498] 498,92 unequal: No Solution Exploring Operation: 6+83=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[86, 9], Operations: ['61+25=86', '6+3=9'] Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[6, 33], Operations: ['61-3=58', '58-25=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,92 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[61, 23], Operations: ['6/3=2', '25-2=23'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[25, 59], Operations: ['6/3=2', '61-2=59'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 25*59=1475, Resulting Numbers: [1475] 1475,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[58, 19], Operations: ['61-3=58', '25-6=19'] Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,92 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[25, 63], Operations: ['6/3=2', '61+2=63'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[58, 31], Operations: ['61-3=58', '6+25=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,92 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 29, 25, 40, 37 ]
18
[ "29+25=54", "40-37=3", "54/3=18" ]
Current State: 18:[29, 25, 40, 37], Operations: [] Exploring Operation: 29+25=54, Resulting Numbers: [40, 37, 54] Generated Node #2: [40, 37, 54] from Operation: 29+25=54 Current State: 18:[40, 37, 54], Operations: ['29+25=54'] Exploring Operation: 40-37=3, Resulting Numbers: [54, 3] Generated Node #3: [54, 3] from Operation: 40-37=3 Current State: 18:[54, 3], Operations: ['29+25=54', '40-37=3'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[29, 25, 40, 37], Operations: [] Exploring Operation: 40-29=11, Resulting Numbers: [25, 37, 11] Generated Node #0,0: 18:[25, 37, 11] Operation: 40-29=11 Exploring Operation: 37-29=8, Resulting Numbers: [25, 40, 8] Generated Node #0,1: 18:[25, 40, 8] Operation: 37-29=8 Exploring Operation: 40-25=15, Resulting Numbers: [29, 37, 15] Generated Node #0,2: 18:[29, 37, 15] Operation: 40-25=15 Exploring Operation: 40-37=3, Resulting Numbers: [29, 25, 3] Generated Node #0,3: 18:[29, 25, 3] Operation: 40-37=3 Moving to Node #0,3 Current State: 18:[29, 25, 3], Operations: ['40-37=3'] Exploring Operation: 29-3=26, Resulting Numbers: [25, 26] Generated Node #0,3,0: 18:[25, 26] Operation: 29-3=26 Exploring Operation: 29+3=32, Resulting Numbers: [25, 32] Generated Node #0,3,1: 18:[25, 32] Operation: 29+3=32 Exploring Operation: 29-25=4, Resulting Numbers: [3, 4] Generated Node #0,3,2: 18:[3, 4] Operation: 29-25=4 Exploring Operation: 25-3=22, Resulting Numbers: [29, 22] Generated Node #0,3,3: 18:[29, 22] Operation: 25-3=22 Moving to Node #0,0 Current State: 18:[25, 37, 11], Operations: ['40-29=11'] Exploring Operation: 37-11=26, Resulting Numbers: [25, 26] Generated Node #0,0,0: 18:[25, 26] Operation: 37-11=26 Exploring Operation: 25+11=36, Resulting Numbers: [37, 36] Generated Node #0,0,1: 18:[37, 36] Operation: 25+11=36 Exploring Operation: 37-25=12, Resulting Numbers: [11, 12] Generated Node #0,0,2: 18:[11, 12] Operation: 37-25=12 Exploring Operation: 25-11=14, Resulting Numbers: [37, 14] Generated Node #0,0,3: 18:[37, 14] Operation: 25-11=14 Moving to Node #0,1 Current State: 18:[25, 40, 8], Operations: ['37-29=8'] Exploring Operation: 40-25=15, Resulting Numbers: [8, 15] Generated Node #0,1,0: 18:[8, 15] Operation: 40-25=15 Exploring Operation: 40-8=32, Resulting Numbers: [25, 32] Generated Node #0,1,1: 18:[25, 32] Operation: 40-8=32 Exploring Operation: 25-8=17, Resulting Numbers: [40, 17] Generated Node #0,1,2: 18:[40, 17] Operation: 25-8=17 Exploring Operation: 40/8=5, Resulting Numbers: [25, 5] Generated Node #0,1,3: 18:[25, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[8, 15], Operations: ['37-29=8', '40-25=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,18 unequal: No Solution Exploring Operation: 15-8=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,1,3 Current State: 18:[25, 5], Operations: ['37-29=8', '40/8=5'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,18 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,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:[25, 32], Operations: ['37-29=8', '40-8=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,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,2 Current State: 18:[40, 17], Operations: ['37-29=8', '25-8=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,18 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,18 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: 18:[29, 37, 15], Operations: ['40-25=15'] Exploring Operation: 37-29=8, Resulting Numbers: [15, 8] Generated Node #0,2,0: 18:[15, 8] Operation: 37-29=8 Exploring Operation: 29+15=44, Resulting Numbers: [37, 44] Generated Node #0,2,1: 18:[37, 44] Operation: 29+15=44 Exploring Operation: 29-15=14, Resulting Numbers: [37, 14] Generated Node #0,2,2: 18:[37, 14] Operation: 29-15=14 Exploring Operation: 37-15=22, Resulting Numbers: [29, 22] Generated Node #0,2,3: 18:[29, 22] Operation: 37-15=22 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[15, 8], Operations: ['40-25=15', '37-29=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[29, 22], Operations: ['40-25=15', '37-15=22'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,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:[37, 14], Operations: ['40-25=15', '29-15=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,18 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,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:[37, 44], Operations: ['40-25=15', '29+15=44'] Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,18 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 18:[3, 4], Operations: ['40-37=3', '29-25=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[11, 12], Operations: ['40-29=11', '37-25=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[29, 22], Operations: ['40-37=3', '25-3=22'] Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,18 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[25, 26], Operations: ['40-29=11', '37-11=26'] Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,18 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[25, 26], Operations: ['40-37=3', '29-3=26'] Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,18 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[25, 32], Operations: ['40-37=3', '29+3=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[37, 14], Operations: ['40-29=11', '25-11=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[37, 36], Operations: ['40-29=11', '25+11=36'] Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,18 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,18 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,18 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 52, 80, 61, 5 ]
38
[ "80-52=28", "61+5=66", "66-28=38" ]
Current State: 38:[52, 80, 61, 5], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [61, 5, 28] Generated Node #2: [61, 5, 28] from Operation: 80-52=28 Current State: 38:[61, 5, 28], Operations: ['80-52=28'] Exploring Operation: 61+5=66, Resulting Numbers: [28, 66] Generated Node #3: [28, 66] from Operation: 61+5=66 Current State: 38:[28, 66], Operations: ['80-52=28', '61+5=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[52, 80, 61, 5], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [80, 5, 9] Generated Node #0,0: 38:[80, 5, 9] Operation: 61-52=9 Exploring Operation: 52-5=47, Resulting Numbers: [80, 61, 47] Generated Node #0,1: 38:[80, 61, 47] Operation: 52-5=47 Exploring Operation: 80-61=19, Resulting Numbers: [52, 5, 19] Generated Node #0,2: 38:[52, 5, 19] Operation: 80-61=19 Exploring Operation: 80-52=28, Resulting Numbers: [61, 5, 28] Generated Node #0,3: 38:[61, 5, 28] Operation: 80-52=28 Exploring Operation: 80/5=16, Resulting Numbers: [52, 61, 16] Generated Node #0,4: 38:[52, 61, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[52, 5, 19], Operations: ['80-61=19'] Exploring Operation: 52-19=33, Resulting Numbers: [5, 33] Generated Node #0,2,0: 38:[5, 33] Operation: 52-19=33 Exploring Operation: 52+5=57, Resulting Numbers: [19, 57] Generated Node #0,2,1: 38:[19, 57] Operation: 52+5=57 Exploring Operation: 5+19=24, Resulting Numbers: [52, 24] Generated Node #0,2,2: 38:[52, 24] Operation: 5+19=24 Exploring Operation: 52-5=47, Resulting Numbers: [19, 47] Generated Node #0,2,3: 38:[19, 47] Operation: 52-5=47 Exploring Operation: 19-5=14, Resulting Numbers: [52, 14] Generated Node #0,2,4: 38:[52, 14] Operation: 19-5=14 Moving to Node #0,2,0 Current State: 38:[5, 33], Operations: ['80-61=19', '52-19=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,38 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[52, 80, 61, 5], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [52, 5, 19] Generated Node #0,2: 38:[52, 5, 19] Operation: 80-61=19 Moving to Node #0,2 Current State: 38:[52, 5, 19], Operations: ['80-61=19'] Exploring Operation: 52-19=33, Resulting Numbers: [5, 33] Generated Node #0,2,0: 38:[5, 33] Operation: 52-19=33 Moving to Node #0,2,0 Current State: 38:[5, 33], Operations: ['80-61=19', '52-19=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 11, 85, 85, 19 ]
30
[ "11+85=96", "85-19=66", "96-66=30" ]
Current State: 30:[11, 85, 85, 19], Operations: [] Exploring Operation: 11+85=96, Resulting Numbers: [19, 96] Generated Node #2: [19, 96] from Operation: 11+85=96 Current State: 30:[19, 96], Operations: ['11+85=96'] Exploring Operation: 85-19=66, Resulting Numbers: [96, 66] Generated Node #3: [96, 66] from Operation: 85-19=66 Current State: 30:[96, 66], Operations: ['11+85=96', '85-19=66'] Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[11, 85, 85, 19], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [11, 19, 1] Generated Node #0,0: 30:[11, 19, 1] Operation: 85/85=1 Exploring Operation: 85-19=66, Resulting Numbers: [11, 85, 66] Generated Node #0,1: 30:[11, 85, 66] Operation: 85-19=66 Exploring Operation: 85-19=66, Resulting Numbers: [11, 85, 66] Generated Node #0,2: 30:[11, 85, 66] Operation: 85-19=66 Exploring Operation: 85-85=0, Resulting Numbers: [11, 19, 0] Generated Node #0,3: 30:[11, 19, 0] Operation: 85-85=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[11, 19, 1], Operations: ['85/85=1'] Exploring Operation: 19-1=18, Resulting Numbers: [11, 18] Generated Node #0,0,0: 30:[11, 18] Operation: 19-1=18 Exploring Operation: 19-11=8, Resulting Numbers: [1, 8] Generated Node #0,0,1: 30:[1, 8] Operation: 19-11=8 Exploring Operation: 11+19=30, Resulting Numbers: [1, 30] Generated Node #0,0,2: 30:[1, 30] Operation: 11+19=30 Exploring Operation: 11-1=10, Resulting Numbers: [19, 10] Generated Node #0,0,3: 30:[19, 10] Operation: 11-1=10 Moving to Node #0,0,2 Current State: 30:[1, 30], Operations: ['85/85=1', '11+19=30'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[11, 85, 85, 19], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [11, 19, 1] Generated Node #0,0: 30:[11, 19, 1] Operation: 85/85=1 Moving to Node #0,0 Current State: 30:[11, 19, 1], Operations: ['85/85=1'] Exploring Operation: 11+19=30, Resulting Numbers: [1, 30] Generated Node #0,0,2: 30:[1, 30] Operation: 11+19=30 Moving to Node #0,0,2 Current State: 30:[1, 30], Operations: ['85/85=1', '11+19=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 95, 9, 21, 14 ]
52
[ "95-21=74", "9*14=126", "126-74=52" ]
Current State: 52:[95, 9, 21, 14], Operations: [] Exploring Operation: 95-21=74, Resulting Numbers: [9, 14, 74] Generated Node #2: [9, 14, 74] from Operation: 95-21=74 Current State: 52:[9, 14, 74], Operations: ['95-21=74'] Exploring Operation: 9*14=126, Resulting Numbers: [74, 126] Generated Node #3: [74, 126] from Operation: 9*14=126 Current State: 52:[74, 126], Operations: ['95-21=74', '9*14=126'] Exploring Operation: 126-74=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[95, 9, 21, 14], Operations: [] Exploring Operation: 95-21=74, Resulting Numbers: [9, 14, 74] Generated Node #0,0: 52:[9, 14, 74] Operation: 95-21=74 Moving to Node #0,0 Current State: 52:[9, 14, 74], Operations: ['95-21=74'] Exploring Operation: 74-14=60, Resulting Numbers: [9, 60] Generated Node #0,0,0: 52:[9, 60] Operation: 74-14=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[9, 60], Operations: ['95-21=74', '74-14=60'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 72, 1, 56 ]
96
[ "72-31=41", "56-1=55", "41+55=96" ]
Current State: 96:[31, 72, 1, 56], Operations: [] Exploring Operation: 72-31=41, Resulting Numbers: [1, 56, 41] Generated Node #2: [1, 56, 41] from Operation: 72-31=41 Current State: 96:[1, 56, 41], Operations: ['72-31=41'] Exploring Operation: 56-1=55, Resulting Numbers: [41, 55] Generated Node #3: [41, 55] from Operation: 56-1=55 Current State: 96:[41, 55], Operations: ['72-31=41', '56-1=55'] Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[31, 72, 1, 56], Operations: [] Exploring Operation: 56-31=25, Resulting Numbers: [72, 1, 25] Generated Node #0,0: 96:[72, 1, 25] Operation: 56-31=25 Exploring Operation: 72-31=41, Resulting Numbers: [1, 56, 41] Generated Node #0,1: 96:[1, 56, 41] Operation: 72-31=41 Exploring Operation: 31+72=103, Resulting Numbers: [1, 56, 103] Generated Node #0,2: 96:[1, 56, 103] Operation: 31+72=103 Exploring Operation: 72-56=16, Resulting Numbers: [31, 1, 16] Generated Node #0,3: 96:[31, 1, 16] Operation: 72-56=16 Exploring Operation: 31+1=32, Resulting Numbers: [72, 56, 32] Generated Node #0,4: 96:[72, 56, 32] Operation: 31+1=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[31, 1, 16], Operations: ['72-56=16'] Exploring Operation: 1*16=16, Resulting Numbers: [31, 16] Generated Node #0,3,0: 96:[31, 16] Operation: 1*16=16 Exploring Operation: 31/1=31, Resulting Numbers: [16, 31] Generated Node #0,3,1: 96:[16, 31] Operation: 31/1=31 Exploring Operation: 31+1=32, Resulting Numbers: [16, 32] Generated Node #0,3,2: 96:[16, 32] Operation: 31+1=32 Exploring Operation: 16/1=16, Resulting Numbers: [31, 16] Generated Node #0,3,3: 96:[31, 16] Operation: 16/1=16 Exploring Operation: 31*1=31, Resulting Numbers: [16, 31] Generated Node #0,3,4: 96:[16, 31] Operation: 31*1=31 Moving to Node #0,3,2 Current State: 96:[16, 32], Operations: ['72-56=16', '31+1=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,96 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,96 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[16, 31], Operations: ['72-56=16', '31/1=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,96 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,96 unequal: No Solution Moving to Node #0,3,4 Current State: 96:[16, 31], Operations: ['72-56=16', '31*1=31'] Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,96 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[31, 16], Operations: ['72-56=16', '1*16=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,96 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[31, 16], Operations: ['72-56=16', '16/1=16'] Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,96 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[1, 56, 41], Operations: ['72-31=41'] Exploring Operation: 56+41=97, Resulting Numbers: [1, 97] Generated Node #0,1,0: 96:[1, 97] Operation: 56+41=97 Exploring Operation: 1*56=56, Resulting Numbers: [41, 56] Generated Node #0,1,1: 96:[41, 56] Operation: 1*56=56 Exploring Operation: 56-41=15, Resulting Numbers: [1, 15] Generated Node #0,1,2: 96:[1, 15] Operation: 56-41=15 Exploring Operation: 56-1=55, Resulting Numbers: [41, 55] Generated Node #0,1,3: 96:[41, 55] Operation: 56-1=55 Exploring Operation: 1+41=42, Resulting Numbers: [56, 42] Generated Node #0,1,4: 96:[56, 42] Operation: 1+41=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[1, 97], Operations: ['72-31=41', '56+41=97'] Exploring Operation: 1*97=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 1+97=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[31, 72, 1, 56], Operations: [] Exploring Operation: 72-31=41, Resulting Numbers: [1, 56, 41] Generated Node #0,1: 96:[1, 56, 41] Operation: 72-31=41 Moving to Node #0,1 Current State: 96:[1, 56, 41], Operations: ['72-31=41'] Exploring Operation: 56+41=97, Resulting Numbers: [1, 97] Generated Node #0,1,0: 96:[1, 97] Operation: 56+41=97 Moving to Node #0,1,0 Current State: 96:[1, 97], Operations: ['72-31=41', '56+41=97'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 17, 1, 18, 5 ]
55
[ "5-1=4", "18*4=72", "72-17=55" ]
Current State: 55:[17, 1, 18, 5], Operations: [] Exploring Operation: 5-1=4, Resulting Numbers: [17, 18, 4] Generated Node #2: [17, 18, 4] from Operation: 5-1=4 Current State: 55:[17, 18, 4], Operations: ['5-1=4'] Exploring Operation: 18*4=72, Resulting Numbers: [17, 72] Generated Node #3: [17, 72] from Operation: 18*4=72 Current State: 55:[17, 72], Operations: ['5-1=4', '18*4=72'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[17, 1, 18, 5], Operations: [] Exploring Operation: 18-17=1, Resulting Numbers: [1, 5, 1] Generated Node #0,0: 55:[1, 5, 1] Operation: 18-17=1 Moving to Node #0,0 Current State: 55:[1, 5, 1], Operations: ['18-17=1'] Exploring Operation: 1+1=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 55:[5, 2] Operation: 1+1=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[5, 2], Operations: ['18-17=1', '1+1=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,55 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
[ 5, 37, 86, 95 ]
41
[ "37-5=32", "95-86=9", "32+9=41" ]
Current State: 41:[5, 37, 86, 95], Operations: [] Exploring Operation: 37-5=32, Resulting Numbers: [86, 95, 32] Generated Node #2: [86, 95, 32] from Operation: 37-5=32 Current State: 41:[86, 95, 32], Operations: ['37-5=32'] Exploring Operation: 95-86=9, Resulting Numbers: [32, 9] Generated Node #3: [32, 9] from Operation: 95-86=9 Current State: 41:[32, 9], Operations: ['37-5=32', '95-86=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[5, 37, 86, 95], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [37, 86, 19] Generated Node #0,0: 41:[37, 86, 19] Operation: 95/5=19 Exploring Operation: 95-86=9, Resulting Numbers: [5, 37, 9] Generated Node #0,1: 41:[5, 37, 9] Operation: 95-86=9 Exploring Operation: 86-5=81, Resulting Numbers: [37, 95, 81] Generated Node #0,2: 41:[37, 95, 81] Operation: 86-5=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[37, 86, 19], Operations: ['95/5=19'] Exploring Operation: 37+19=56, Resulting Numbers: [86, 56] Generated Node #0,0,0: 41:[86, 56] Operation: 37+19=56 Exploring Operation: 86-19=67, Resulting Numbers: [37, 67] Generated Node #0,0,1: 41:[37, 67] Operation: 86-19=67 Exploring Operation: 86-37=49, Resulting Numbers: [19, 49] Generated Node #0,0,2: 41:[19, 49] Operation: 86-37=49 Moving to Node #0,0,1 Current State: 41:[37, 67], Operations: ['95/5=19', '86-19=67'] Exploring Operation: 37+67=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 37*67=2479, Resulting Numbers: [2479] 2479,41 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[19, 49], Operations: ['95/5=19', '86-37=49'] Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,41 unequal: No Solution Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[86, 56], Operations: ['95/5=19', '37+19=56'] Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 86+56=142, Resulting Numbers: [142] 142,41 unequal: No Solution Exploring Operation: 86*56=4816, Resulting Numbers: [4816] 4816,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[5, 37, 9], Operations: ['95-86=9'] Exploring Operation: 5+37=42, Resulting Numbers: [9, 42] Generated Node #0,1,0: 41:[9, 42] Operation: 5+37=42 Exploring Operation: 5*9=45, Resulting Numbers: [37, 45] Generated Node #0,1,1: 41:[37, 45] Operation: 5*9=45 Exploring Operation: 5+9=14, Resulting Numbers: [37, 14] Generated Node #0,1,2: 41:[37, 14] Operation: 5+9=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[37, 45], Operations: ['95-86=9', '5*9=45'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[37, 14], Operations: ['95-86=9', '5+9=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[9, 42], Operations: ['95-86=9', '5+37=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,41 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[37, 95, 81], Operations: ['86-5=81'] Exploring Operation: 95-81=14, Resulting Numbers: [37, 14] Generated Node #0,2,0: 41:[37, 14] Operation: 95-81=14 Exploring Operation: 95-37=58, Resulting Numbers: [81, 58] Generated Node #0,2,1: 41:[81, 58] Operation: 95-37=58 Exploring Operation: 81-37=44, Resulting Numbers: [95, 44] Generated Node #0,2,2: 41:[95, 44] Operation: 81-37=44 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[37, 14], Operations: ['86-5=81', '95-81=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,41 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[81, 58], Operations: ['86-5=81', '95-37=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,41 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[95, 44], Operations: ['86-5=81', '81-37=44'] Exploring Operation: 95*44=4180, Resulting Numbers: [4180] 4180,41 unequal: No Solution Exploring Operation: 95-44=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 95+44=139, Resulting Numbers: [139] 139,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 32, 96, 4, 56 ]
16
[ "56-32=24", "96*4=384", "384/24=16" ]
Current State: 16:[32, 96, 4, 56], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [96, 4, 24] Generated Node #2: [96, 4, 24] from Operation: 56-32=24 Current State: 16:[96, 4, 24], Operations: ['56-32=24'] Exploring Operation: 96*4=384, Resulting Numbers: [24, 384] Generated Node #3: [24, 384] from Operation: 96*4=384 Current State: 16:[24, 384], Operations: ['56-32=24', '96*4=384'] Exploring Operation: 384/24=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[32, 96, 4, 56], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [32, 56, 24] Generated Node #0,0: 16:[32, 56, 24] Operation: 96/4=24 Exploring Operation: 96-56=40, Resulting Numbers: [32, 4, 40] Generated Node #0,1: 16:[32, 4, 40] Operation: 96-56=40 Exploring Operation: 96/32=3, Resulting Numbers: [4, 56, 3] Generated Node #0,2: 16:[4, 56, 3] Operation: 96/32=3 Moving to Node #0,1 Current State: 16:[32, 4, 40], Operations: ['96-56=40'] Exploring Operation: 40-32=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 16:[4, 8] Operation: 40-32=8 Exploring Operation: 32/4=8, Resulting Numbers: [40, 8] Generated Node #0,1,1: 16:[40, 8] Operation: 32/4=8 Exploring Operation: 40/4=10, Resulting Numbers: [32, 10] Generated Node #0,1,2: 16:[32, 10] Operation: 40/4=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[4, 8], Operations: ['96-56=40', '40-32=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[32, 10], Operations: ['96-56=40', '40/4=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,16 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,16 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[40, 8], Operations: ['96-56=40', '32/4=8'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,16 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: 16:[4, 56, 3], Operations: ['96/32=3'] Exploring Operation: 56-4=52, Resulting Numbers: [3, 52] Generated Node #0,2,0: 16:[3, 52] Operation: 56-4=52 Exploring Operation: 56-3=53, Resulting Numbers: [4, 53] Generated Node #0,2,1: 16:[4, 53] Operation: 56-3=53 Exploring Operation: 56/4=14, Resulting Numbers: [3, 14] Generated Node #0,2,2: 16:[3, 14] Operation: 56/4=14 Moving to Node #0,0 Current State: 16:[32, 56, 24], Operations: ['96/4=24'] Exploring Operation: 32-24=8, Resulting Numbers: [56, 8] Generated Node #0,0,0: 16:[56, 8] Operation: 32-24=8 Exploring Operation: 56-24=32, Resulting Numbers: [32, 32] Generated Node #0,0,1: 16:[32, 32] Operation: 56-24=32 Exploring Operation: 56-32=24, Resulting Numbers: [24, 24] Generated Node #0,0,2: 16:[24, 24] Operation: 56-32=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[24, 24], Operations: ['96/4=24', '56-32=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,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,1 Current State: 16:[32, 32], Operations: ['96/4=24', '56-24=32'] Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,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,0 Current State: 16:[56, 8], Operations: ['96/4=24', '32-24=8'] Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,16 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: 16:[3, 14], Operations: ['96/32=3', '56/4=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,16 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[3, 52], Operations: ['96/32=3', '56-4=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,16 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[4, 53], Operations: ['96/32=3', '56-3=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,16 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 17, 11, 19, 30 ]
52
[ "19-17=2", "11*2=22", "30+22=52" ]
Current State: 52:[17, 11, 19, 30], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [11, 30, 2] Generated Node #2: [11, 30, 2] from Operation: 19-17=2 Current State: 52:[11, 30, 2], Operations: ['19-17=2'] Exploring Operation: 11*2=22, Resulting Numbers: [30, 22] Generated Node #3: [30, 22] from Operation: 11*2=22 Current State: 52:[30, 22], Operations: ['19-17=2', '11*2=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[17, 11, 19, 30], Operations: [] Exploring Operation: 19+30=49, Resulting Numbers: [17, 11, 49] Generated Node #0,0: 52:[17, 11, 49] Operation: 19+30=49 Exploring Operation: 17+11=28, Resulting Numbers: [19, 30, 28] Generated Node #0,1: 52:[19, 30, 28] Operation: 17+11=28 Exploring Operation: 30-17=13, Resulting Numbers: [11, 19, 13] Generated Node #0,2: 52:[11, 19, 13] Operation: 30-17=13 Exploring Operation: 19-17=2, Resulting Numbers: [11, 30, 2] Generated Node #0,3: 52:[11, 30, 2] Operation: 19-17=2 Exploring Operation: 30-19=11, Resulting Numbers: [17, 11, 11] Generated Node #0,4: 52:[17, 11, 11] Operation: 30-19=11 Moving to Node #0,3 Current State: 52:[11, 30, 2], Operations: ['19-17=2'] Exploring Operation: 11*2=22, Resulting Numbers: [30, 22] Generated Node #0,3,0: 52:[30, 22] Operation: 11*2=22 Exploring Operation: 30-2=28, Resulting Numbers: [11, 28] Generated Node #0,3,1: 52:[11, 28] Operation: 30-2=28 Exploring Operation: 11+2=13, Resulting Numbers: [30, 13] Generated Node #0,3,2: 52:[30, 13] Operation: 11+2=13 Exploring Operation: 30-11=19, Resulting Numbers: [2, 19] Generated Node #0,3,3: 52:[2, 19] Operation: 30-11=19 Exploring Operation: 30/2=15, Resulting Numbers: [11, 15] Generated Node #0,3,4: 52:[11, 15] Operation: 30/2=15 Moving to Node #0,4 Current State: 52:[17, 11, 11], Operations: ['30-19=11'] Exploring Operation: 17-11=6, Resulting Numbers: [11, 6] Generated Node #0,4,0: 52:[11, 6] Operation: 17-11=6 Exploring Operation: 11/11=1, Resulting Numbers: [17, 1] Generated Node #0,4,1: 52:[17, 1] Operation: 11/11=1 Exploring Operation: 17+11=28, Resulting Numbers: [11, 28] Generated Node #0,4,2: 52:[11, 28] Operation: 17+11=28 Exploring Operation: 17+11=28, Resulting Numbers: [11, 28] Generated Node #0,4,3: 52:[11, 28] Operation: 17+11=28 Exploring Operation: 17-11=6, Resulting Numbers: [11, 6] Generated Node #0,4,4: 52:[11, 6] Operation: 17-11=6 Moving to Node #0,2 Current State: 52:[11, 19, 13], Operations: ['30-17=13'] Exploring Operation: 19-11=8, Resulting Numbers: [13, 8] Generated Node #0,2,0: 52:[13, 8] Operation: 19-11=8 Exploring Operation: 11+19=30, Resulting Numbers: [13, 30] Generated Node #0,2,1: 52:[13, 30] Operation: 11+19=30 Exploring Operation: 11+13=24, Resulting Numbers: [19, 24] Generated Node #0,2,2: 52:[19, 24] Operation: 11+13=24 Exploring Operation: 19-13=6, Resulting Numbers: [11, 6] Generated Node #0,2,3: 52:[11, 6] Operation: 19-13=6 Exploring Operation: 13-11=2, Resulting Numbers: [19, 2] Generated Node #0,2,4: 52:[19, 2] Operation: 13-11=2 Moving to Node #0,0 Current State: 52:[17, 11, 49], Operations: ['19+30=49'] Exploring Operation: 17-11=6, Resulting Numbers: [49, 6] Generated Node #0,0,0: 52:[49, 6] Operation: 17-11=6 Exploring Operation: 17+49=66, Resulting Numbers: [11, 66] Generated Node #0,0,1: 52:[11, 66] Operation: 17+49=66 Exploring Operation: 11+49=60, Resulting Numbers: [17, 60] Generated Node #0,0,2: 52:[17, 60] Operation: 11+49=60 Exploring Operation: 49-17=32, Resulting Numbers: [11, 32] Generated Node #0,0,3: 52:[11, 32] Operation: 49-17=32 Exploring Operation: 17+11=28, Resulting Numbers: [49, 28] Generated Node #0,0,4: 52:[49, 28] Operation: 17+11=28 Moving to Node #0,1 Current State: 52:[19, 30, 28], Operations: ['17+11=28'] Exploring Operation: 28-19=9, Resulting Numbers: [30, 9] Generated Node #0,1,0: 52:[30, 9] Operation: 28-19=9 Exploring Operation: 19+28=47, Resulting Numbers: [30, 47] Generated Node #0,1,1: 52:[30, 47] Operation: 19+28=47 Exploring Operation: 30-19=11, Resulting Numbers: [28, 11] Generated Node #0,1,2: 52:[28, 11] Operation: 30-19=11 Exploring Operation: 19+30=49, Resulting Numbers: [28, 49] Generated Node #0,1,3: 52:[28, 49] Operation: 19+30=49 Exploring Operation: 30-28=2, Resulting Numbers: [19, 2] Generated Node #0,1,4: 52:[19, 2] Operation: 30-28=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[28, 11], Operations: ['17+11=28', '30-19=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[28, 49], Operations: ['17+11=28', '19+30=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,52 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 52:[19, 2], Operations: ['17+11=28', '30-28=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[30, 9], Operations: ['17+11=28', '28-19=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[30, 47], Operations: ['17+11=28', '19+28=47'] Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,52 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 52:[11, 28], Operations: ['19-17=2', '30-2=28'] Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,52 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[11, 15], Operations: ['19-17=2', '30/2=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,52 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,4,2 Current State: 52:[11, 28], Operations: ['30-19=11', '17+11=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,52 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[11, 6], Operations: ['30-19=11', '17-11=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[11, 6], Operations: ['30-17=13', '19-13=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[13, 30], Operations: ['30-17=13', '11+19=30'] Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,52 unequal: No Solution Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[30, 13], Operations: ['19-17=2', '11+2=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[13, 8], Operations: ['30-17=13', '19-11=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,52 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[11, 28], Operations: ['30-19=11', '17+11=28'] Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,52 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[11, 6], Operations: ['30-19=11', '17-11=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[49, 28], Operations: ['19+30=49', '17+11=28'] Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 49*28=1372, Resulting Numbers: [1372] 1372,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[17, 1], Operations: ['30-19=11', '11/11=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[49, 6], Operations: ['19+30=49', '17-11=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,52 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[19, 2], Operations: ['30-17=13', '13-11=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[2, 19], Operations: ['19-17=2', '30-11=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[11, 32], Operations: ['19+30=49', '49-17=32'] Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,52 unequal: No Solution Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[19, 24], Operations: ['30-17=13', '11+13=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,52 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[30, 22], Operations: ['19-17=2', '11*2=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[17, 11, 19, 30], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [11, 30, 2] Generated Node #0,3: 52:[11, 30, 2] Operation: 19-17=2 Moving to Node #0,3 Current State: 52:[11, 30, 2], Operations: ['19-17=2'] Exploring Operation: 11*2=22, Resulting Numbers: [30, 22] Generated Node #0,3,0: 52:[30, 22] Operation: 11*2=22 Moving to Node #0,3,0 Current State: 52:[30, 22], Operations: ['19-17=2', '11*2=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.911458
hs_5
mult_heuristic
[ 10, 55, 31, 17 ]
77
[ "31-17=14", "55*14=770", "770/10=77" ]
Current State: 77:[10, 55, 31, 17], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [10, 55, 14] Generated Node #2: [10, 55, 14] from Operation: 31-17=14 Current State: 77:[10, 55, 14], Operations: ['31-17=14'] Exploring Operation: 55*14=770, Resulting Numbers: [10, 770] Generated Node #3: [10, 770] from Operation: 55*14=770 Current State: 77:[10, 770], Operations: ['31-17=14', '55*14=770'] Exploring Operation: 770/10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[10, 55, 31, 17], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [10, 55, 14] Generated Node #0,0: 77:[10, 55, 14] Operation: 31-17=14 Exploring Operation: 55-31=24, Resulting Numbers: [10, 17, 24] Generated Node #0,1: 77:[10, 17, 24] Operation: 55-31=24 Exploring Operation: 55+31=86, Resulting Numbers: [10, 17, 86] Generated Node #0,2: 77:[10, 17, 86] Operation: 55+31=86 Exploring Operation: 55+17=72, Resulting Numbers: [10, 31, 72] Generated Node #0,3: 77:[10, 31, 72] Operation: 55+17=72 Moving to Node #0,2 Current State: 77:[10, 17, 86], Operations: ['55+31=86'] Exploring Operation: 86-10=76, Resulting Numbers: [17, 76] Generated Node #0,2,0: 77:[17, 76] Operation: 86-10=76 Exploring Operation: 10+17=27, Resulting Numbers: [86, 27] Generated Node #0,2,1: 77:[86, 27] Operation: 10+17=27 Exploring Operation: 86-17=69, Resulting Numbers: [10, 69] Generated Node #0,2,2: 77:[10, 69] Operation: 86-17=69 Exploring Operation: 17-10=7, Resulting Numbers: [86, 7] Generated Node #0,2,3: 77:[86, 7] Operation: 17-10=7 Moving to Node #0,1 Current State: 77:[10, 17, 24], Operations: ['55-31=24'] Exploring Operation: 24-17=7, Resulting Numbers: [10, 7] Generated Node #0,1,0: 77:[10, 7] Operation: 24-17=7 Exploring Operation: 24-10=14, Resulting Numbers: [17, 14] Generated Node #0,1,1: 77:[17, 14] Operation: 24-10=14 Exploring Operation: 17-10=7, Resulting Numbers: [24, 7] Generated Node #0,1,2: 77:[24, 7] Operation: 17-10=7 Exploring Operation: 10+17=27, Resulting Numbers: [24, 27] Generated Node #0,1,3: 77:[24, 27] Operation: 10+17=27 Moving to Node #0,3 Current State: 77:[10, 31, 72], Operations: ['55+17=72'] Exploring Operation: 31+72=103, Resulting Numbers: [10, 103] Generated Node #0,3,0: 77:[10, 103] Operation: 31+72=103 Exploring Operation: 72-31=41, Resulting Numbers: [10, 41] Generated Node #0,3,1: 77:[10, 41] Operation: 72-31=41 Exploring Operation: 10+72=82, Resulting Numbers: [31, 82] Generated Node #0,3,2: 77:[31, 82] Operation: 10+72=82 Exploring Operation: 31-10=21, Resulting Numbers: [72, 21] Generated Node #0,3,3: 77:[72, 21] Operation: 31-10=21 Moving to Node #0,0 Current State: 77:[10, 55, 14], Operations: ['31-17=14'] Exploring Operation: 14-10=4, Resulting Numbers: [55, 4] Generated Node #0,0,0: 77:[55, 4] Operation: 14-10=4 Exploring Operation: 55-14=41, Resulting Numbers: [10, 41] Generated Node #0,0,1: 77:[10, 41] Operation: 55-14=41 Exploring Operation: 10+55=65, Resulting Numbers: [14, 65] Generated Node #0,0,2: 77:[14, 65] Operation: 10+55=65 Exploring Operation: 55+14=69, Resulting Numbers: [10, 69] Generated Node #0,0,3: 77:[10, 69] Operation: 55+14=69 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[10, 69], Operations: ['31-17=14', '55+14=69'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 10+69=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 10*69=690, Resulting Numbers: [690] 690,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[14, 65], Operations: ['31-17=14', '10+55=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,77 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[55, 4], Operations: ['31-17=14', '14-10=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[10, 41], Operations: ['31-17=14', '55-14=41'] Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,77 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,77 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: 77:[10, 7], Operations: ['55-31=24', '24-17=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[17, 76], Operations: ['55+31=86', '86-10=76'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[86, 7], Operations: ['55+31=86', '17-10=7'] Exploring Operation: 86*7=602, Resulting Numbers: [602] 602,77 unequal: No Solution Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[17, 14], Operations: ['55-31=24', '24-10=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,77 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[10, 69], Operations: ['55+31=86', '86-17=69'] Exploring Operation: 10*69=690, Resulting Numbers: [690] 690,77 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 10+69=79, Resulting Numbers: [79] 79,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[24, 7], Operations: ['55-31=24', '17-10=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,77 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[72, 21], Operations: ['55+17=72', '31-10=21'] Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[31, 82], Operations: ['55+17=72', '10+72=82'] Exploring Operation: 31+82=113, Resulting Numbers: [113] 113,77 unequal: No Solution Exploring Operation: 31*82=2542, Resulting Numbers: [2542] 2542,77 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[86, 27], Operations: ['55+31=86', '10+17=27'] Exploring Operation: 86+27=113, Resulting Numbers: [113] 113,77 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 86*27=2322, Resulting Numbers: [2322] 2322,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[10, 103], Operations: ['55+17=72', '31+72=103'] Exploring Operation: 10+103=113, Resulting Numbers: [113] 113,77 unequal: No Solution Exploring Operation: 10*103=1030, Resulting Numbers: [1030] 1030,77 unequal: No Solution Exploring Operation: 103-10=93, Resulting Numbers: [93] 93,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[24, 27], Operations: ['55-31=24', '10+17=27'] Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,77 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[10, 41], Operations: ['55+17=72', '72-31=41'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,77 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 3, 1, 15, 34 ]
56
[ "34-15=19", "3*19=57", "57-1=56" ]
Current State: 56:[3, 1, 15, 34], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [3, 1, 19] Generated Node #2: [3, 1, 19] from Operation: 34-15=19 Current State: 56:[3, 1, 19], Operations: ['34-15=19'] Exploring Operation: 3*19=57, Resulting Numbers: [1, 57] Generated Node #3: [1, 57] from Operation: 3*19=57 Current State: 56:[1, 57], Operations: ['34-15=19', '3*19=57'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[3, 1, 15, 34], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [15, 34, 4] Generated Node #0,0: 56:[15, 34, 4] Operation: 3+1=4 Exploring Operation: 34-3=31, Resulting Numbers: [1, 15, 31] Generated Node #0,1: 56:[1, 15, 31] Operation: 34-3=31 Moving to Node #0,1 Current State: 56:[1, 15, 31], Operations: ['34-3=31'] Exploring Operation: 31-1=30, Resulting Numbers: [15, 30] Generated Node #0,1,0: 56:[15, 30] Operation: 31-1=30 Exploring Operation: 15-1=14, Resulting Numbers: [31, 14] Generated Node #0,1,1: 56:[31, 14] Operation: 15-1=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[15, 30], Operations: ['34-3=31', '31-1=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[31, 14], Operations: ['34-3=31', '15-1=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,56 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: 56:[15, 34, 4], Operations: ['3+1=4'] Exploring Operation: 34-4=30, Resulting Numbers: [15, 30] Generated Node #0,0,0: 56:[15, 30] Operation: 34-4=30 Exploring Operation: 34-15=19, Resulting Numbers: [4, 19] Generated Node #0,0,1: 56:[4, 19] Operation: 34-15=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[15, 30], Operations: ['3+1=4', '34-4=30'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[4, 19], Operations: ['3+1=4', '34-15=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,56 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
[ 91, 35, 63, 25 ]
46
[ "63*25=1575", "1575/35=45", "91-45=46" ]
Current State: 46:[91, 35, 63, 25], Operations: [] Exploring Operation: 63*25=1575, Resulting Numbers: [91, 35, 1575] Generated Node #2: [91, 35, 1575] from Operation: 63*25=1575 Current State: 46:[91, 35, 1575], Operations: ['63*25=1575'] Exploring Operation: 1575/35=45, Resulting Numbers: [91, 45] Generated Node #3: [91, 45] from Operation: 1575/35=45 Current State: 46:[91, 45], Operations: ['63*25=1575', '1575/35=45'] Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[91, 35, 63, 25], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [35, 25, 28] Generated Node #0,0: 46:[35, 25, 28] Operation: 91-63=28 Moving to Node #0,0 Current State: 46:[35, 25, 28], Operations: ['91-63=28'] Exploring Operation: 35-28=7, Resulting Numbers: [25, 7] Generated Node #0,0,0: 46:[25, 7] Operation: 35-28=7 Moving to Node #0,0,0 Current State: 46:[25, 7], Operations: ['91-63=28', '35-28=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 40, 70, 61, 14 ]
45
[ "70-40=30", "61+14=75", "75-30=45" ]
Current State: 45:[40, 70, 61, 14], Operations: [] Exploring Operation: 70-40=30, Resulting Numbers: [61, 14, 30] Generated Node #2: [61, 14, 30] from Operation: 70-40=30 Current State: 45:[61, 14, 30], Operations: ['70-40=30'] Exploring Operation: 61+14=75, Resulting Numbers: [30, 75] Generated Node #3: [30, 75] from Operation: 61+14=75 Current State: 45:[30, 75], Operations: ['70-40=30', '61+14=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[40, 70, 61, 14], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [40, 61, 5] Generated Node #0,0: 45:[40, 61, 5] Operation: 70/14=5 Exploring Operation: 70-61=9, Resulting Numbers: [40, 14, 9] Generated Node #0,1: 45:[40, 14, 9] Operation: 70-61=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[40, 14, 9], Operations: ['70-61=9'] Exploring Operation: 14-9=5, Resulting Numbers: [40, 5] Generated Node #0,1,0: 45:[40, 5] Operation: 14-9=5 Exploring Operation: 40+9=49, Resulting Numbers: [14, 49] Generated Node #0,1,1: 45:[14, 49] Operation: 40+9=49 Moving to Node #0,1,0 Current State: 45:[40, 5], Operations: ['70-61=9', '14-9=5'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[40, 70, 61, 14], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [40, 14, 9] Generated Node #0,1: 45:[40, 14, 9] Operation: 70-61=9 Moving to Node #0,1 Current State: 45:[40, 14, 9], Operations: ['70-61=9'] Exploring Operation: 14-9=5, Resulting Numbers: [40, 5] Generated Node #0,1,0: 45:[40, 5] Operation: 14-9=5 Moving to Node #0,1,0 Current State: 45:[40, 5], Operations: ['70-61=9', '14-9=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 22, 66, 42, 32 ]
46
[ "66/22=3", "42/3=14", "32+14=46" ]
Current State: 46:[22, 66, 42, 32], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [42, 32, 3] Generated Node #2: [42, 32, 3] from Operation: 66/22=3 Current State: 46:[42, 32, 3], Operations: ['66/22=3'] Exploring Operation: 42/3=14, Resulting Numbers: [32, 14] Generated Node #3: [32, 14] from Operation: 42/3=14 Current State: 46:[32, 14], Operations: ['66/22=3', '42/3=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[22, 66, 42, 32], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [42, 32, 3] Generated Node #0,0: 46:[42, 32, 3] Operation: 66/22=3 Exploring Operation: 66-42=24, Resulting Numbers: [22, 32, 24] Generated Node #0,1: 46:[22, 32, 24] Operation: 66-42=24 Moving to Node #0,1 Current State: 46:[22, 32, 24], Operations: ['66-42=24'] Exploring Operation: 22+32=54, Resulting Numbers: [24, 54] Generated Node #0,1,0: 46:[24, 54] Operation: 22+32=54 Exploring Operation: 32-24=8, Resulting Numbers: [22, 8] Generated Node #0,1,1: 46:[22, 8] Operation: 32-24=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[22, 8], Operations: ['66-42=24', '32-24=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[24, 54], Operations: ['66-42=24', '22+32=54'] Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 46:[42, 32, 3], Operations: ['66/22=3'] Exploring Operation: 42+3=45, Resulting Numbers: [32, 45] Generated Node #0,0,0: 46:[32, 45] Operation: 42+3=45 Exploring Operation: 42-32=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 46:[3, 10] Operation: 42-32=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[3, 10], Operations: ['66/22=3', '42-32=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[32, 45], Operations: ['66/22=3', '42+3=45'] Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,46 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
[ 89, 5, 75, 48 ]
67
[ "89+5=94", "75-48=27", "94-27=67" ]
Current State: 67:[89, 5, 75, 48], Operations: [] Exploring Operation: 89+5=94, Resulting Numbers: [75, 48, 94] Generated Node #2: [75, 48, 94] from Operation: 89+5=94 Current State: 67:[75, 48, 94], Operations: ['89+5=94'] Exploring Operation: 75-48=27, Resulting Numbers: [94, 27] Generated Node #3: [94, 27] from Operation: 75-48=27 Current State: 67:[94, 27], Operations: ['89+5=94', '75-48=27'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[89, 5, 75, 48], Operations: [] Exploring Operation: 75-5=70, Resulting Numbers: [89, 48, 70] Generated Node #0,0: 67:[89, 48, 70] Operation: 75-5=70 Exploring Operation: 89-5=84, Resulting Numbers: [75, 48, 84] Generated Node #0,1: 67:[75, 48, 84] Operation: 89-5=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[89, 48, 70], Operations: ['75-5=70'] Exploring Operation: 89-48=41, Resulting Numbers: [70, 41] Generated Node #0,0,0: 67:[70, 41] Operation: 89-48=41 Exploring Operation: 89-70=19, Resulting Numbers: [48, 19] Generated Node #0,0,1: 67:[48, 19] Operation: 89-70=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[70, 41], Operations: ['75-5=70', '89-48=41'] Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[48, 19], Operations: ['75-5=70', '89-70=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[89, 5, 75, 48], Operations: [] Exploring Operation: 75-5=70, Resulting Numbers: [89, 48, 70] Generated Node #0,0: 67:[89, 48, 70] Operation: 75-5=70 Moving to Node #0,0 Current State: 67:[89, 48, 70], Operations: ['75-5=70'] Exploring Operation: 89-70=19, Resulting Numbers: [48, 19] Generated Node #0,0,1: 67:[48, 19] Operation: 89-70=19 Moving to Node #0,0,1 Current State: 67:[48, 19], Operations: ['75-5=70', '89-70=19'] Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 50, 36, 33, 11 ]
13
[ "50-11=39", "36-33=3", "39/3=13" ]
Current State: 13:[50, 36, 33, 11], Operations: [] Exploring Operation: 50-11=39, Resulting Numbers: [36, 33, 39] Generated Node #2: [36, 33, 39] from Operation: 50-11=39 Current State: 13:[36, 33, 39], Operations: ['50-11=39'] Exploring Operation: 36-33=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 36-33=3 Current State: 13:[39, 3], Operations: ['50-11=39', '36-33=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[50, 36, 33, 11], Operations: [] Exploring Operation: 50-36=14, Resulting Numbers: [33, 11, 14] Generated Node #0,0: 13:[33, 11, 14] Operation: 50-36=14 Exploring Operation: 50-33=17, Resulting Numbers: [36, 11, 17] Generated Node #0,1: 13:[36, 11, 17] Operation: 50-33=17 Exploring Operation: 50-11=39, Resulting Numbers: [36, 33, 39] Generated Node #0,2: 13:[36, 33, 39] Operation: 50-11=39 Exploring Operation: 36-33=3, Resulting Numbers: [50, 11, 3] Generated Node #0,3: 13:[50, 11, 3] Operation: 36-33=3 Exploring Operation: 36-11=25, Resulting Numbers: [50, 33, 25] Generated Node #0,4: 13:[50, 33, 25] Operation: 36-11=25 Moving to Node #0,0 Current State: 13:[33, 11, 14], Operations: ['50-36=14'] Exploring Operation: 33-14=19, Resulting Numbers: [11, 19] Generated Node #0,0,0: 13:[11, 19] Operation: 33-14=19 Exploring Operation: 33-11=22, Resulting Numbers: [14, 22] Generated Node #0,0,1: 13:[14, 22] Operation: 33-11=22 Exploring Operation: 33+11=44, Resulting Numbers: [14, 44] Generated Node #0,0,2: 13:[14, 44] Operation: 33+11=44 Exploring Operation: 14-11=3, Resulting Numbers: [33, 3] Generated Node #0,0,3: 13:[33, 3] Operation: 14-11=3 Exploring Operation: 33/11=3, Resulting Numbers: [14, 3] Generated Node #0,0,4: 13:[14, 3] Operation: 33/11=3 Moving to Node #0,1 Current State: 13:[36, 11, 17], Operations: ['50-33=17'] Exploring Operation: 36-17=19, Resulting Numbers: [11, 19] Generated Node #0,1,0: 13:[11, 19] Operation: 36-17=19 Exploring Operation: 36-11=25, Resulting Numbers: [17, 25] Generated Node #0,1,1: 13:[17, 25] Operation: 36-11=25 Exploring Operation: 11+17=28, Resulting Numbers: [36, 28] Generated Node #0,1,2: 13:[36, 28] Operation: 11+17=28 Exploring Operation: 36+11=47, Resulting Numbers: [17, 47] Generated Node #0,1,3: 13:[17, 47] Operation: 36+11=47 Exploring Operation: 17-11=6, Resulting Numbers: [36, 6] Generated Node #0,1,4: 13:[36, 6] Operation: 17-11=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[11, 19], Operations: ['50-33=17', '36-17=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,13 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[17, 25], Operations: ['50-33=17', '36-11=25'] Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,13 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 13:[36, 6], Operations: ['50-33=17', '17-11=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[36, 28], Operations: ['50-33=17', '11+17=28'] Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,13 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[17, 47], Operations: ['50-33=17', '36+11=47'] Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,13 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,13 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: 13:[50, 11, 3], Operations: ['36-33=3'] Exploring Operation: 11+3=14, Resulting Numbers: [50, 14] Generated Node #0,3,0: 13:[50, 14] Operation: 11+3=14 Exploring Operation: 50+3=53, Resulting Numbers: [11, 53] Generated Node #0,3,1: 13:[11, 53] Operation: 50+3=53 Exploring Operation: 50-11=39, Resulting Numbers: [3, 39] Generated Node #0,3,2: 13:[3, 39] Operation: 50-11=39 Exploring Operation: 50-3=47, Resulting Numbers: [11, 47] Generated Node #0,3,3: 13:[11, 47] Operation: 50-3=47 Exploring Operation: 11-3=8, Resulting Numbers: [50, 8] Generated Node #0,3,4: 13:[50, 8] Operation: 11-3=8 Moving to Node #0,2 Current State: 13:[36, 33, 39], Operations: ['50-11=39'] Exploring Operation: 36+39=75, Resulting Numbers: [33, 75] Generated Node #0,2,0: 13:[33, 75] Operation: 36+39=75 Exploring Operation: 39-33=6, Resulting Numbers: [36, 6] Generated Node #0,2,1: 13:[36, 6] Operation: 39-33=6 Exploring Operation: 36+33=69, Resulting Numbers: [39, 69] Generated Node #0,2,2: 13:[39, 69] Operation: 36+33=69 Exploring Operation: 39-36=3, Resulting Numbers: [33, 3] Generated Node #0,2,3: 13:[33, 3] Operation: 39-36=3 Exploring Operation: 36-33=3, Resulting Numbers: [39, 3] Generated Node #0,2,4: 13:[39, 3] Operation: 36-33=3 Moving to Node #0,4 Current State: 13:[50, 33, 25], Operations: ['36-11=25'] Exploring Operation: 33-25=8, Resulting Numbers: [50, 8] Generated Node #0,4,0: 13:[50, 8] Operation: 33-25=8 Exploring Operation: 50+33=83, Resulting Numbers: [25, 83] Generated Node #0,4,1: 13:[25, 83] Operation: 50+33=83 Exploring Operation: 50/25=2, Resulting Numbers: [33, 2] Generated Node #0,4,2: 13:[33, 2] Operation: 50/25=2 Exploring Operation: 50-33=17, Resulting Numbers: [25, 17] Generated Node #0,4,3: 13:[25, 17] Operation: 50-33=17 Exploring Operation: 50-25=25, Resulting Numbers: [33, 25] Generated Node #0,4,4: 13:[33, 25] Operation: 50-25=25 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 13:[25, 17], Operations: ['36-11=25', '50-33=17'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 13:[33, 2], Operations: ['36-11=25', '50/25=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 13:[33, 25], Operations: ['36-11=25', '50-25=25'] Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,13 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 13:[50, 8], Operations: ['36-11=25', '33-25=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,13 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 13:[25, 83], Operations: ['36-11=25', '50+33=83'] Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,13 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,13 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: 13:[11, 19], Operations: ['50-36=14', '33-14=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[14, 22], Operations: ['50-36=14', '33-11=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,13 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[14, 3], Operations: ['50-36=14', '33/11=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,13 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[33, 3], Operations: ['50-11=39', '39-36=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,13 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[36, 6], Operations: ['50-11=39', '39-33=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,13 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[33, 3], Operations: ['50-36=14', '14-11=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,13 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[14, 44], Operations: ['50-36=14', '33+11=44'] Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,13 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[11, 47], Operations: ['36-33=3', '50-3=47'] Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[39, 3], Operations: ['50-11=39', '36-33=3'] Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,13 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[50, 36, 33, 11], Operations: [] Exploring Operation: 50-11=39, Resulting Numbers: [36, 33, 39] Generated Node #0,2: 13:[36, 33, 39] Operation: 50-11=39 Moving to Node #0,2 Current State: 13:[36, 33, 39], Operations: ['50-11=39'] Exploring Operation: 36-33=3, Resulting Numbers: [39, 3] Generated Node #0,2,4: 13:[39, 3] Operation: 36-33=3 Moving to Node #0,2,4 Current State: 13:[39, 3], Operations: ['50-11=39', '36-33=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.917535
hs_5
sum_heuristic
[ 88, 10, 68, 34 ]
54
[ "88*34=2992", "2992/68=44", "10+44=54" ]
Current State: 54:[88, 10, 68, 34], Operations: [] Exploring Operation: 88*34=2992, Resulting Numbers: [10, 68, 2992] Generated Node #2: [10, 68, 2992] from Operation: 88*34=2992 Current State: 54:[10, 68, 2992], Operations: ['88*34=2992'] Exploring Operation: 2992/68=44, Resulting Numbers: [10, 44] Generated Node #3: [10, 44] from Operation: 2992/68=44 Current State: 54:[10, 44], Operations: ['88*34=2992', '2992/68=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[88, 10, 68, 34], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [10, 34, 20] Generated Node #0,0: 54:[10, 34, 20] Operation: 88-68=20 Exploring Operation: 68/34=2, Resulting Numbers: [88, 10, 2] Generated Node #0,1: 54:[88, 10, 2] Operation: 68/34=2 Exploring Operation: 88-34=54, Resulting Numbers: [10, 68, 54] Generated Node #0,2: 54:[10, 68, 54] Operation: 88-34=54 Moving to Node #0,0 Current State: 54:[10, 34, 20], Operations: ['88-68=20'] Exploring Operation: 34+20=54, Resulting Numbers: [10, 54] Generated Node #0,0,0: 54:[10, 54] Operation: 34+20=54 Exploring Operation: 34-20=14, Resulting Numbers: [10, 14] Generated Node #0,0,1: 54:[10, 14] Operation: 34-20=14 Exploring Operation: 34-10=24, Resulting Numbers: [20, 24] Generated Node #0,0,2: 54:[20, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[10, 54], Operations: ['88-68=20', '34+20=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,54 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[10, 14], Operations: ['88-68=20', '34-20=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[20, 24], Operations: ['88-68=20', '34-10=24'] Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,54 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: 54:[10, 68, 54], Operations: ['88-34=54'] Exploring Operation: 10+68=78, Resulting Numbers: [54, 78] Generated Node #0,2,0: 54:[54, 78] Operation: 10+68=78 Exploring Operation: 68-54=14, Resulting Numbers: [10, 14] Generated Node #0,2,1: 54:[10, 14] Operation: 68-54=14 Exploring Operation: 68-10=58, Resulting Numbers: [54, 58] Generated Node #0,2,2: 54:[54, 58] Operation: 68-10=58 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[54, 58], Operations: ['88-34=54', '68-10=58'] Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,54 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[10, 14], Operations: ['88-34=54', '68-54=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[54, 78], Operations: ['88-34=54', '10+68=78'] Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,54 unequal: No Solution Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,54 unequal: No Solution Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,54 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: 54:[88, 10, 2], Operations: ['68/34=2'] Exploring Operation: 88-10=78, Resulting Numbers: [2, 78] Generated Node #0,1,0: 54:[2, 78] Operation: 88-10=78 Exploring Operation: 88-2=86, Resulting Numbers: [10, 86] Generated Node #0,1,1: 54:[10, 86] Operation: 88-2=86 Exploring Operation: 88/2=44, Resulting Numbers: [10, 44] Generated Node #0,1,2: 54:[10, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[10, 44], Operations: ['68/34=2', '88/2=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[88, 10, 68, 34], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [88, 10, 2] Generated Node #0,1: 54:[88, 10, 2] Operation: 68/34=2 Moving to Node #0,1 Current State: 54:[88, 10, 2], Operations: ['68/34=2'] Exploring Operation: 88/2=44, Resulting Numbers: [10, 44] Generated Node #0,1,2: 54:[10, 44] Operation: 88/2=44 Moving to Node #0,1,2 Current State: 54:[10, 44], Operations: ['68/34=2', '88/2=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 58, 31, 57, 46 ]
77
[ "58-57=1", "31+46=77", "1*77=77" ]
Current State: 77:[58, 31, 57, 46], Operations: [] Exploring Operation: 58-57=1, Resulting Numbers: [31, 46, 1] Generated Node #2: [31, 46, 1] from Operation: 58-57=1 Current State: 77:[31, 46, 1], Operations: ['58-57=1'] Exploring Operation: 31+46=77, Resulting Numbers: [1, 77] Generated Node #3: [1, 77] from Operation: 31+46=77 Current State: 77:[1, 77], Operations: ['58-57=1', '31+46=77'] Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[58, 31, 57, 46], Operations: [] Exploring Operation: 31+46=77, Resulting Numbers: [58, 57, 77] Generated Node #0,0: 77:[58, 57, 77] Operation: 31+46=77 Exploring Operation: 57-46=11, Resulting Numbers: [58, 31, 11] Generated Node #0,1: 77:[58, 31, 11] Operation: 57-46=11 Moving to Node #0,0 Current State: 77:[58, 57, 77], Operations: ['31+46=77'] Exploring Operation: 77-58=19, Resulting Numbers: [57, 19] Generated Node #0,0,0: 77:[57, 19] Operation: 77-58=19 Exploring Operation: 58-57=1, Resulting Numbers: [77, 1] Generated Node #0,0,1: 77:[77, 1] Operation: 58-57=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[77, 1], Operations: ['31+46=77', '58-57=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[58, 31, 57, 46], Operations: [] Exploring Operation: 31+46=77, Resulting Numbers: [58, 57, 77] Generated Node #0,0: 77:[58, 57, 77] Operation: 31+46=77 Moving to Node #0,0 Current State: 77:[58, 57, 77], Operations: ['31+46=77'] Exploring Operation: 58-57=1, Resulting Numbers: [77, 1] Generated Node #0,0,1: 77:[77, 1] Operation: 58-57=1 Moving to Node #0,0,1 Current State: 77:[77, 1], Operations: ['31+46=77', '58-57=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 2, 8, 48, 42 ]
78
[ "2*42=84", "48/8=6", "84-6=78" ]
Current State: 78:[2, 8, 48, 42], Operations: [] Exploring Operation: 2*42=84, Resulting Numbers: [8, 48, 84] Generated Node #2: [8, 48, 84] from Operation: 2*42=84 Current State: 78:[8, 48, 84], Operations: ['2*42=84'] Exploring Operation: 48/8=6, Resulting Numbers: [84, 6] Generated Node #3: [84, 6] from Operation: 48/8=6 Current State: 78:[84, 6], Operations: ['2*42=84', '48/8=6'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[2, 8, 48, 42], Operations: [] Exploring Operation: 48-42=6, Resulting Numbers: [2, 8, 6] Generated Node #0,0: 78:[2, 8, 6] Operation: 48-42=6 Exploring Operation: 48/8=6, Resulting Numbers: [2, 42, 6] Generated Node #0,1: 78:[2, 42, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [2, 42, 40] Generated Node #0,2: 78:[2, 42, 40] Operation: 48-8=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[2, 8, 6], Operations: ['48-42=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 78:[2, 2] Operation: 8-6=2 Exploring Operation: 8/2=4, Resulting Numbers: [6, 4] Generated Node #0,0,1: 78:[6, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [6, 6] Generated Node #0,0,2: 78:[6, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[2, 2], Operations: ['48-42=6', '8-6=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[6, 6], Operations: ['48-42=6', '8-2=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[6, 4], Operations: ['48-42=6', '8/2=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[2, 42, 6], Operations: ['48/8=6'] Exploring Operation: 42/6=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 78:[2, 7] Operation: 42/6=7 Exploring Operation: 42-2=40, Resulting Numbers: [6, 40] Generated Node #0,1,1: 78:[6, 40] Operation: 42-2=40 Exploring Operation: 6/2=3, Resulting Numbers: [42, 3] Generated Node #0,1,2: 78:[42, 3] Operation: 6/2=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[2, 7], Operations: ['48/8=6', '42/6=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[6, 40], Operations: ['48/8=6', '42-2=40'] Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,78 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[42, 3], Operations: ['48/8=6', '6/2=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[2, 42, 40], Operations: ['48-8=40'] Exploring Operation: 40-2=38, Resulting Numbers: [42, 38] Generated Node #0,2,0: 78:[42, 38] Operation: 40-2=38 Exploring Operation: 42-2=40, Resulting Numbers: [40, 40] Generated Node #0,2,1: 78:[40, 40] Operation: 42-2=40 Exploring Operation: 42-40=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 78:[2, 2] Operation: 42-40=2 Moving to Node #0,2,2 Current State: 78:[2, 2], Operations: ['48-8=40', '42-40=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[40, 40], Operations: ['48-8=40', '42-2=40'] Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[42, 38], Operations: ['48-8=40', '40-2=38'] Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,78 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 79, 24, 13, 46 ]
77
[ "79*13=1027", "24*46=1104", "1104-1027=77" ]
Current State: 77:[79, 24, 13, 46], Operations: [] Exploring Operation: 79*13=1027, Resulting Numbers: [24, 46, 1027] Generated Node #2: [24, 46, 1027] from Operation: 79*13=1027 Current State: 77:[24, 46, 1027], Operations: ['79*13=1027'] Exploring Operation: 24*46=1104, Resulting Numbers: [1027, 1104] Generated Node #3: [1027, 1104] from Operation: 24*46=1104 Current State: 77:[1027, 1104], Operations: ['79*13=1027', '24*46=1104'] Exploring Operation: 1104-1027=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[79, 24, 13, 46], Operations: [] Exploring Operation: 24+46=70, Resulting Numbers: [79, 13, 70] Generated Node #0,0: 77:[79, 13, 70] Operation: 24+46=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[79, 13, 70], Operations: ['24+46=70'] Exploring Operation: 79-70=9, Resulting Numbers: [13, 9] Generated Node #0,0,0: 77:[13, 9] Operation: 79-70=9 Moving to Node #0,0,0 Current State: 77:[13, 9], Operations: ['24+46=70', '79-70=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 77, 55, 33, 96 ]
59
[ "33*96=3168", "77+3168=3245", "3245/55=59" ]
Current State: 59:[77, 55, 33, 96], Operations: [] Exploring Operation: 33*96=3168, Resulting Numbers: [77, 55, 3168] Generated Node #2: [77, 55, 3168] from Operation: 33*96=3168 Current State: 59:[77, 55, 3168], Operations: ['33*96=3168'] Exploring Operation: 77+3168=3245, Resulting Numbers: [55, 3245] Generated Node #3: [55, 3245] from Operation: 77+3168=3245 Current State: 59:[55, 3245], Operations: ['33*96=3168', '77+3168=3245'] Exploring Operation: 3245/55=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[77, 55, 33, 96], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [77, 33, 41] Generated Node #0,0: 59:[77, 33, 41] Operation: 96-55=41 Exploring Operation: 96-77=19, Resulting Numbers: [55, 33, 19] Generated Node #0,1: 59:[55, 33, 19] Operation: 96-77=19 Exploring Operation: 77-33=44, Resulting Numbers: [55, 96, 44] Generated Node #0,2: 59:[55, 96, 44] Operation: 77-33=44 Exploring Operation: 96-33=63, Resulting Numbers: [77, 55, 63] Generated Node #0,3: 59:[77, 55, 63] Operation: 96-33=63 Exploring Operation: 55+33=88, Resulting Numbers: [77, 96, 88] Generated Node #0,4: 59:[77, 96, 88] Operation: 55+33=88 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[77, 55, 63], Operations: ['96-33=63'] Exploring Operation: 55+63=118, Resulting Numbers: [77, 118] Generated Node #0,3,0: 59:[77, 118] Operation: 55+63=118 Exploring Operation: 77-63=14, Resulting Numbers: [55, 14] Generated Node #0,3,1: 59:[55, 14] Operation: 77-63=14 Exploring Operation: 77-55=22, Resulting Numbers: [63, 22] Generated Node #0,3,2: 59:[63, 22] Operation: 77-55=22 Exploring Operation: 77+55=132, Resulting Numbers: [63, 132] Generated Node #0,3,3: 59:[63, 132] Operation: 77+55=132 Exploring Operation: 63-55=8, Resulting Numbers: [77, 8] Generated Node #0,3,4: 59:[77, 8] Operation: 63-55=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[63, 22], Operations: ['96-33=63', '77-55=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[55, 14], Operations: ['96-33=63', '77-63=14'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,59 unequal: No Solution Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 59:[77, 8], Operations: ['96-33=63', '63-55=8'] Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,59 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[77, 118], Operations: ['96-33=63', '55+63=118'] Exploring Operation: 118-77=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 77+118=195, Resulting Numbers: [195] 195,59 unequal: No Solution Exploring Operation: 77*118=9086, Resulting Numbers: [9086] 9086,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[63, 132], Operations: ['96-33=63', '77+55=132'] Exploring Operation: 132-63=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 63+132=195, Resulting Numbers: [195] 195,59 unequal: No Solution Exploring Operation: 63*132=8316, Resulting Numbers: [8316] 8316,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[55, 96, 44], Operations: ['77-33=44'] Exploring Operation: 55+44=99, Resulting Numbers: [96, 99] Generated Node #0,2,0: 59:[96, 99] Operation: 55+44=99 Exploring Operation: 96+44=140, Resulting Numbers: [55, 140] Generated Node #0,2,1: 59:[55, 140] Operation: 96+44=140 Exploring Operation: 55-44=11, Resulting Numbers: [96, 11] Generated Node #0,2,2: 59:[96, 11] Operation: 55-44=11 Exploring Operation: 96-44=52, Resulting Numbers: [55, 52] Generated Node #0,2,3: 59:[55, 52] Operation: 96-44=52 Exploring Operation: 96-55=41, Resulting Numbers: [44, 41] Generated Node #0,2,4: 59:[44, 41] Operation: 96-55=41 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[55, 52], Operations: ['77-33=44', '96-44=52'] Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,59 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 59:[44, 41], Operations: ['77-33=44', '96-55=41'] Exploring Operation: 44*41=1804, Resulting Numbers: [1804] 1804,59 unequal: No Solution Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[96, 99], Operations: ['77-33=44', '55+44=99'] Exploring Operation: 99-96=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 96*99=9504, Resulting Numbers: [9504] 9504,59 unequal: No Solution Exploring Operation: 96+99=195, Resulting Numbers: [195] 195,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[55, 140], Operations: ['77-33=44', '96+44=140'] Exploring Operation: 140-55=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 55*140=7700, Resulting Numbers: [7700] 7700,59 unequal: No Solution Exploring Operation: 55+140=195, Resulting Numbers: [195] 195,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[96, 11], Operations: ['77-33=44', '55-44=11'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 96+11=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 96*11=1056, Resulting Numbers: [1056] 1056,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[77, 33, 41], Operations: ['96-55=41'] Exploring Operation: 77+33=110, Resulting Numbers: [41, 110] Generated Node #0,0,0: 59:[41, 110] Operation: 77+33=110 Exploring Operation: 77-33=44, Resulting Numbers: [41, 44] Generated Node #0,0,1: 59:[41, 44] Operation: 77-33=44 Exploring Operation: 77-41=36, Resulting Numbers: [33, 36] Generated Node #0,0,2: 59:[33, 36] Operation: 77-41=36 Exploring Operation: 33+41=74, Resulting Numbers: [77, 74] Generated Node #0,0,3: 59:[77, 74] Operation: 33+41=74 Exploring Operation: 41-33=8, Resulting Numbers: [77, 8] Generated Node #0,0,4: 59:[77, 8] Operation: 41-33=8 Moving to Node #0,0,1 Current State: 59:[41, 44], Operations: ['96-55=41', '77-33=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,59 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[77, 74], Operations: ['96-55=41', '33+41=74'] Exploring Operation: 77*74=5698, Resulting Numbers: [5698] 5698,59 unequal: No Solution Exploring Operation: 77+74=151, Resulting Numbers: [151] 151,59 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[33, 36], Operations: ['96-55=41', '77-41=36'] Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 33*36=1188, Resulting Numbers: [1188] 1188,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[41, 110], Operations: ['96-55=41', '77+33=110'] Exploring Operation: 41*110=4510, Resulting Numbers: [4510] 4510,59 unequal: No Solution Exploring Operation: 41+110=151, Resulting Numbers: [151] 151,59 unequal: No Solution Exploring Operation: 110-41=69, Resulting Numbers: [69] 69,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[77, 8], Operations: ['96-55=41', '41-33=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[55, 33, 19], Operations: ['96-77=19'] Exploring Operation: 33-19=14, Resulting Numbers: [55, 14] Generated Node #0,1,0: 59:[55, 14] Operation: 33-19=14 Exploring Operation: 55+19=74, Resulting Numbers: [33, 74] Generated Node #0,1,1: 59:[33, 74] Operation: 55+19=74 Exploring Operation: 55+33=88, Resulting Numbers: [19, 88] Generated Node #0,1,2: 59:[19, 88] Operation: 55+33=88 Exploring Operation: 33+19=52, Resulting Numbers: [55, 52] Generated Node #0,1,3: 59:[55, 52] Operation: 33+19=52 Exploring Operation: 55-19=36, Resulting Numbers: [33, 36] Generated Node #0,1,4: 59:[33, 36] Operation: 55-19=36 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[55, 52], Operations: ['96-77=19', '33+19=52'] Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[33, 74], Operations: ['96-77=19', '55+19=74'] Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,59 unequal: No Solution Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[55, 14], Operations: ['96-77=19', '33-19=14'] Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,59 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 59:[33, 36], Operations: ['96-77=19', '55-19=36'] Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 33*36=1188, Resulting Numbers: [1188] 1188,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[19, 88], Operations: ['96-77=19', '55+33=88'] Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 19+88=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 19*88=1672, Resulting Numbers: [1672] 1672,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 59:[77, 96, 88], Operations: ['55+33=88'] Exploring Operation: 96-88=8, Resulting Numbers: [77, 8] Generated Node #0,4,0: 59:[77, 8] Operation: 96-88=8 Exploring Operation: 77+96=173, Resulting Numbers: [88, 173] Generated Node #0,4,1: 59:[88, 173] Operation: 77+96=173 Exploring Operation: 96-77=19, Resulting Numbers: [88, 19] Generated Node #0,4,2: 59:[88, 19] Operation: 96-77=19 Exploring Operation: 77+88=165, Resulting Numbers: [96, 165] Generated Node #0,4,3: 59:[96, 165] Operation: 77+88=165 Exploring Operation: 88-77=11, Resulting Numbers: [96, 11] Generated Node #0,4,4: 59:[96, 11] Operation: 88-77=11 Moving to Node #0,4,0 Current State: 59:[77, 8], Operations: ['55+33=88', '96-88=8'] Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,59 unequal: No Solution Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[88, 19], Operations: ['55+33=88', '96-77=19'] Exploring Operation: 88*19=1672, Resulting Numbers: [1672] 1672,59 unequal: No Solution Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 88+19=107, Resulting Numbers: [107] 107,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[96, 11], Operations: ['55+33=88', '88-77=11'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 96*11=1056, Resulting Numbers: [1056] 1056,59 unequal: No Solution Exploring Operation: 96+11=107, Resulting Numbers: [107] 107,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[88, 173], Operations: ['55+33=88', '77+96=173'] Exploring Operation: 88+173=261, Resulting Numbers: [261] 261,59 unequal: No Solution Exploring Operation: 173-88=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 88*173=15224, Resulting Numbers: [15224] 15224,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[96, 165], Operations: ['55+33=88', '77+88=165'] Exploring Operation: 165-96=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 96*165=15840, Resulting Numbers: [15840] 15840,59 unequal: No Solution Exploring Operation: 96+165=261, Resulting Numbers: [261] 261,59 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
[ 38, 53, 44, 12 ]
41
[ "53-38=15", "44+12=56", "56-15=41" ]
Current State: 41:[38, 53, 44, 12], Operations: [] Exploring Operation: 53-38=15, Resulting Numbers: [44, 12, 15] Generated Node #2: [44, 12, 15] from Operation: 53-38=15 Current State: 41:[44, 12, 15], Operations: ['53-38=15'] Exploring Operation: 44+12=56, Resulting Numbers: [15, 56] Generated Node #3: [15, 56] from Operation: 44+12=56 Current State: 41:[15, 56], Operations: ['53-38=15', '44+12=56'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[38, 53, 44, 12], Operations: [] Exploring Operation: 38-12=26, Resulting Numbers: [53, 44, 26] Generated Node #0,0: 41:[53, 44, 26] Operation: 38-12=26 Exploring Operation: 38+12=50, Resulting Numbers: [53, 44, 50] Generated Node #0,1: 41:[53, 44, 50] Operation: 38+12=50 Exploring Operation: 44-12=32, Resulting Numbers: [38, 53, 32] Generated Node #0,2: 41:[38, 53, 32] Operation: 44-12=32 Exploring Operation: 53-12=41, Resulting Numbers: [38, 44, 41] Generated Node #0,3: 41:[38, 44, 41] Operation: 53-12=41 Moving to Node #0,3 Current State: 41:[38, 44, 41], Operations: ['53-12=41'] Exploring Operation: 41-38=3, Resulting Numbers: [44, 3] Generated Node #0,3,0: 41:[44, 3] Operation: 41-38=3 Exploring Operation: 38+44=82, Resulting Numbers: [41, 82] Generated Node #0,3,1: 41:[41, 82] Operation: 38+44=82 Exploring Operation: 44-38=6, Resulting Numbers: [41, 6] Generated Node #0,3,2: 41:[41, 6] Operation: 44-38=6 Exploring Operation: 38+41=79, Resulting Numbers: [44, 79] Generated Node #0,3,3: 41:[44, 79] Operation: 38+41=79 Moving to Node #0,2 Current State: 41:[38, 53, 32], Operations: ['44-12=32'] Exploring Operation: 53-38=15, Resulting Numbers: [32, 15] Generated Node #0,2,0: 41:[32, 15] Operation: 53-38=15 Exploring Operation: 38+32=70, Resulting Numbers: [53, 70] Generated Node #0,2,1: 41:[53, 70] Operation: 38+32=70 Exploring Operation: 38-32=6, Resulting Numbers: [53, 6] Generated Node #0,2,2: 41:[53, 6] Operation: 38-32=6 Exploring Operation: 53-32=21, Resulting Numbers: [38, 21] Generated Node #0,2,3: 41:[38, 21] Operation: 53-32=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[38, 21], Operations: ['44-12=32', '53-32=21'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[32, 15], Operations: ['44-12=32', '53-38=15'] Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,41 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[53, 70], Operations: ['44-12=32', '38+32=70'] Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 53+70=123, Resulting Numbers: [123] 123,41 unequal: No Solution Exploring Operation: 53*70=3710, Resulting Numbers: [3710] 3710,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[53, 6], Operations: ['44-12=32', '38-32=6'] Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,41 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: 41:[53, 44, 50], Operations: ['38+12=50'] Exploring Operation: 53-50=3, Resulting Numbers: [44, 3] Generated Node #0,1,0: 41:[44, 3] Operation: 53-50=3 Exploring Operation: 53+44=97, Resulting Numbers: [50, 97] Generated Node #0,1,1: 41:[50, 97] Operation: 53+44=97 Exploring Operation: 53-44=9, Resulting Numbers: [50, 9] Generated Node #0,1,2: 41:[50, 9] Operation: 53-44=9 Exploring Operation: 50-44=6, Resulting Numbers: [53, 6] Generated Node #0,1,3: 41:[53, 6] Operation: 50-44=6 Moving to Node #0,0 Current State: 41:[53, 44, 26], Operations: ['38-12=26'] Exploring Operation: 53+26=79, Resulting Numbers: [44, 79] Generated Node #0,0,0: 41:[44, 79] Operation: 53+26=79 Exploring Operation: 44-26=18, Resulting Numbers: [53, 18] Generated Node #0,0,1: 41:[53, 18] Operation: 44-26=18 Exploring Operation: 53-26=27, Resulting Numbers: [44, 27] Generated Node #0,0,2: 41:[44, 27] Operation: 53-26=27 Exploring Operation: 44+26=70, Resulting Numbers: [53, 70] Generated Node #0,0,3: 41:[53, 70] Operation: 44+26=70 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[44, 27], Operations: ['38-12=26', '53-26=27'] Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,41 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[53, 18], Operations: ['38-12=26', '44-26=18'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,41 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[44, 79], Operations: ['38-12=26', '53+26=79'] Exploring Operation: 44+79=123, Resulting Numbers: [123] 123,41 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 44*79=3476, Resulting Numbers: [3476] 3476,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[53, 70], Operations: ['38-12=26', '44+26=70'] Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 53+70=123, Resulting Numbers: [123] 123,41 unequal: No Solution Exploring Operation: 53*70=3710, Resulting Numbers: [3710] 3710,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 41:[41, 6], Operations: ['53-12=41', '44-38=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,41 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[41, 82], Operations: ['53-12=41', '38+44=82'] Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,41 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[38, 53, 44, 12], Operations: [] Exploring Operation: 53-12=41, Resulting Numbers: [38, 44, 41] Generated Node #0,3: 41:[38, 44, 41] Operation: 53-12=41 Moving to Node #0,3 Current State: 41:[38, 44, 41], Operations: ['53-12=41'] Exploring Operation: 38+44=82, Resulting Numbers: [41, 82] Generated Node #0,3,1: 41:[41, 82] Operation: 38+44=82 Moving to Node #0,3,1 Current State: 41:[41, 82], Operations: ['53-12=41', '38+44=82'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.953125
hs_4
sum_heuristic
[ 99, 43, 3, 70 ]
80
[ "99/3=33", "43+70=113", "113-33=80" ]
Current State: 80:[99, 43, 3, 70], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [43, 70, 33] Generated Node #2: [43, 70, 33] from Operation: 99/3=33 Current State: 80:[43, 70, 33], Operations: ['99/3=33'] Exploring Operation: 43+70=113, Resulting Numbers: [33, 113] Generated Node #3: [33, 113] from Operation: 43+70=113 Current State: 80:[33, 113], Operations: ['99/3=33', '43+70=113'] Exploring Operation: 113-33=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[99, 43, 3, 70], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [43, 3, 29] Generated Node #0,0: 80:[43, 3, 29] Operation: 99-70=29 Exploring Operation: 99/3=33, Resulting Numbers: [43, 70, 33] Generated Node #0,1: 80:[43, 70, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[43, 3, 29], Operations: ['99-70=29'] Exploring Operation: 43-3=40, Resulting Numbers: [29, 40] Generated Node #0,0,0: 80:[29, 40] Operation: 43-3=40 Exploring Operation: 43-29=14, Resulting Numbers: [3, 14] Generated Node #0,0,1: 80:[3, 14] Operation: 43-29=14 Moving to Node #0,0,1 Current State: 80:[3, 14], Operations: ['99-70=29', '43-29=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[29, 40], Operations: ['99-70=29', '43-3=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,80 unequal: No Solution No 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: 80:[43, 70, 33], Operations: ['99/3=33'] Exploring Operation: 70-33=37, Resulting Numbers: [43, 37] Generated Node #0,1,0: 80:[43, 37] Operation: 70-33=37 Exploring Operation: 43-33=10, Resulting Numbers: [70, 10] Generated Node #0,1,1: 80:[70, 10] Operation: 43-33=10 Moving to Node #0,1,0 Current State: 80:[43, 37], Operations: ['99/3=33', '70-33=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[99, 43, 3, 70], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [43, 70, 33] Generated Node #0,1: 80:[43, 70, 33] Operation: 99/3=33 Moving to Node #0,1 Current State: 80:[43, 70, 33], Operations: ['99/3=33'] Exploring Operation: 70-33=37, Resulting Numbers: [43, 37] Generated Node #0,1,0: 80:[43, 37] Operation: 70-33=37 Moving to Node #0,1,0 Current State: 80:[43, 37], Operations: ['99/3=33', '70-33=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 49, 99, 54, 35 ]
59
[ "49+99=148", "54+35=89", "148-89=59" ]
Current State: 59:[49, 99, 54, 35], Operations: [] Exploring Operation: 49+99=148, Resulting Numbers: [54, 35, 148] Generated Node #2: [54, 35, 148] from Operation: 49+99=148 Current State: 59:[54, 35, 148], Operations: ['49+99=148'] Exploring Operation: 54+35=89, Resulting Numbers: [148, 89] Generated Node #3: [148, 89] from Operation: 54+35=89 Current State: 59:[148, 89], Operations: ['49+99=148', '54+35=89'] Exploring Operation: 148-89=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[49, 99, 54, 35], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [54, 35, 50] Generated Node #0,0: 59:[54, 35, 50] Operation: 99-49=50 Exploring Operation: 99-35=64, Resulting Numbers: [49, 54, 64] Generated Node #0,1: 59:[49, 54, 64] Operation: 99-35=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[49, 54, 64], Operations: ['99-35=64'] Exploring Operation: 49+54=103, Resulting Numbers: [64, 103] Generated Node #0,1,0: 59:[64, 103] Operation: 49+54=103 Exploring Operation: 64-49=15, Resulting Numbers: [54, 15] Generated Node #0,1,1: 59:[54, 15] Operation: 64-49=15 Moving to Node #0,1,0 Current State: 59:[64, 103], Operations: ['99-35=64', '49+54=103'] Exploring Operation: 64+103=167, Resulting Numbers: [167] 167,59 unequal: No Solution Exploring Operation: 103-64=39, Resulting Numbers: [39] 39,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[54, 15], Operations: ['99-35=64', '64-49=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[54, 35, 50], Operations: ['99-49=50'] Exploring Operation: 54+35=89, Resulting Numbers: [50, 89] Generated Node #0,0,0: 59:[50, 89] Operation: 54+35=89 Exploring Operation: 35+50=85, Resulting Numbers: [54, 85] Generated Node #0,0,1: 59:[54, 85] Operation: 35+50=85 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[54, 85], Operations: ['99-49=50', '35+50=85'] Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 54+85=139, Resulting Numbers: [139] 139,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[50, 89], Operations: ['99-49=50', '54+35=89'] Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,59 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 29, 44, 3, 5 ]
86
[ "29-3=26", "5*26=130", "130-44=86" ]
Current State: 86:[29, 44, 3, 5], Operations: [] Exploring Operation: 29-3=26, Resulting Numbers: [44, 5, 26] Generated Node #2: [44, 5, 26] from Operation: 29-3=26 Current State: 86:[44, 5, 26], Operations: ['29-3=26'] Exploring Operation: 5*26=130, Resulting Numbers: [44, 130] Generated Node #3: [44, 130] from Operation: 5*26=130 Current State: 86:[44, 130], Operations: ['29-3=26', '5*26=130'] Exploring Operation: 130-44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[29, 44, 3, 5], Operations: [] Exploring Operation: 29*3=87, Resulting Numbers: [44, 5, 87] Generated Node #0,0: 86:[44, 5, 87] Operation: 29*3=87 Exploring Operation: 29+5=34, Resulting Numbers: [44, 3, 34] Generated Node #0,1: 86:[44, 3, 34] Operation: 29+5=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[44, 5, 87], Operations: ['29*3=87'] Exploring Operation: 87-44=43, Resulting Numbers: [5, 43] Generated Node #0,0,0: 86:[5, 43] Operation: 87-44=43 Exploring Operation: 44-5=39, Resulting Numbers: [87, 39] Generated Node #0,0,1: 86:[87, 39] Operation: 44-5=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[5, 43], Operations: ['29*3=87', '87-44=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,86 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[87, 39], Operations: ['29*3=87', '44-5=39'] Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[44, 3, 34], Operations: ['29+5=34'] Exploring Operation: 3+34=37, Resulting Numbers: [44, 37] Generated Node #0,1,0: 86:[44, 37] Operation: 3+34=37 Exploring Operation: 44+34=78, Resulting Numbers: [3, 78] Generated Node #0,1,1: 86:[3, 78] Operation: 44+34=78 Moving to Node #0,1,0 Current State: 86:[44, 37], Operations: ['29+5=34', '3+34=37'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[3, 78], Operations: ['29+5=34', '44+34=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,86 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
[ 20, 72, 4, 81 ]
84
[ "20+4=24", "72/24=3", "81+3=84" ]
Current State: 84:[20, 72, 4, 81], Operations: [] Exploring Operation: 20+4=24, Resulting Numbers: [72, 81, 24] Generated Node #2: [72, 81, 24] from Operation: 20+4=24 Current State: 84:[72, 81, 24], Operations: ['20+4=24'] Exploring Operation: 72/24=3, Resulting Numbers: [81, 3] Generated Node #3: [81, 3] from Operation: 72/24=3 Current State: 84:[81, 3], Operations: ['20+4=24', '72/24=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[20, 72, 4, 81], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [20, 4, 9] Generated Node #0,0: 84:[20, 4, 9] Operation: 81-72=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[20, 4, 9], Operations: ['81-72=9'] Exploring Operation: 20+9=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 84:[4, 29] Operation: 20+9=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[4, 29], Operations: ['81-72=9', '20+9=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,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 No solution found.
0
hs_1
mult_heuristic