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
[ 44, 35, 16, 80 ]
45
[ "44-35=9", "80/16=5", "9*5=45" ]
Current State: 45:[44, 35, 16, 80], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [16, 80, 9] Generated Node #2: [16, 80, 9] from Operation: 44-35=9 Current State: 45:[16, 80, 9], Operations: ['44-35=9'] Exploring Operation: 80/16=5, Resulting Numbers: [9, 5] Generated Node #3: [9, 5] from Operation: 80/16=5 Current State: 45:[9, 5], Operations: ['44-35=9', '80/16=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[44, 35, 16, 80], Operations: [] Exploring Operation: 80-35=45, Resulting Numbers: [44, 16, 45] Generated Node #0,0: 45:[44, 16, 45] Operation: 80-35=45 Moving to Node #0,0 Current State: 45:[44, 16, 45], Operations: ['80-35=45'] Exploring Operation: 45-44=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 45:[16, 1] Operation: 45-44=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[16, 1], Operations: ['80-35=45', '45-44=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,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
[ 10, 16, 81, 91 ]
14
[ "10*91=910", "81-16=65", "910/65=14" ]
Current State: 14:[10, 16, 81, 91], Operations: [] Exploring Operation: 10*91=910, Resulting Numbers: [16, 81, 910] Generated Node #2: [16, 81, 910] from Operation: 10*91=910 Current State: 14:[16, 81, 910], Operations: ['10*91=910'] Exploring Operation: 81-16=65, Resulting Numbers: [910, 65] Generated Node #3: [910, 65] from Operation: 81-16=65 Current State: 14:[910, 65], Operations: ['10*91=910', '81-16=65'] Exploring Operation: 910/65=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[10, 16, 81, 91], Operations: [] Exploring Operation: 91-10=81, Resulting Numbers: [16, 81, 81] Generated Node #0,0: 14:[16, 81, 81] Operation: 91-10=81 Exploring Operation: 91-16=75, Resulting Numbers: [10, 81, 75] Generated Node #0,1: 14:[10, 81, 75] Operation: 91-16=75 Exploring Operation: 91-81=10, Resulting Numbers: [10, 16, 10] Generated Node #0,2: 14:[10, 16, 10] Operation: 91-81=10 Exploring Operation: 81-10=71, Resulting Numbers: [16, 91, 71] Generated Node #0,3: 14:[16, 91, 71] Operation: 81-10=71 Exploring Operation: 81-16=65, Resulting Numbers: [10, 91, 65] Generated Node #0,4: 14:[10, 91, 65] Operation: 81-16=65 Moving to Node #0,2 Current State: 14:[10, 16, 10], Operations: ['91-81=10'] Exploring Operation: 16-10=6, Resulting Numbers: [10, 6] Generated Node #0,2,0: 14:[10, 6] Operation: 16-10=6 Exploring Operation: 10+10=20, Resulting Numbers: [16, 20] Generated Node #0,2,1: 14:[16, 20] Operation: 10+10=20 Exploring Operation: 10-10=0, Resulting Numbers: [16, 0] Generated Node #0,2,2: 14:[16, 0] Operation: 10-10=0 Exploring Operation: 10/10=1, Resulting Numbers: [16, 1] Generated Node #0,2,3: 14:[16, 1] Operation: 10/10=1 Exploring Operation: 16-10=6, Resulting Numbers: [10, 6] Generated Node #0,2,4: 14:[10, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[16, 1], Operations: ['91-81=10', '10/10=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,14 unequal: No Solution No 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: 14:[10, 6], Operations: ['91-81=10', '16-10=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,14 unequal: No Solution No 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: 14:[16, 0], Operations: ['91-81=10', '10-10=0'] Exploring Operation: 16-0=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 16*0=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 16+0=16, Resulting Numbers: [16] 16,14 unequal: No Solution No 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: 14:[10, 6], Operations: ['91-81=10', '16-10=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,14 unequal: No Solution No 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: 14:[16, 20], Operations: ['91-81=10', '10+10=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,14 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: 14:[10, 91, 65], Operations: ['81-16=65'] Exploring Operation: 91-65=26, Resulting Numbers: [10, 26] Generated Node #0,4,0: 14:[10, 26] Operation: 91-65=26 Exploring Operation: 10+91=101, Resulting Numbers: [65, 101] Generated Node #0,4,1: 14:[65, 101] Operation: 10+91=101 Exploring Operation: 10+65=75, Resulting Numbers: [91, 75] Generated Node #0,4,2: 14:[91, 75] Operation: 10+65=75 Exploring Operation: 65-10=55, Resulting Numbers: [91, 55] Generated Node #0,4,3: 14:[91, 55] Operation: 65-10=55 Exploring Operation: 91-10=81, Resulting Numbers: [65, 81] Generated Node #0,4,4: 14:[65, 81] Operation: 91-10=81 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 14:[10, 26], Operations: ['81-16=65', '91-65=26'] Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,14 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,14 unequal: No Solution No 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: 14:[91, 55], Operations: ['81-16=65', '65-10=55'] Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 91+55=146, Resulting Numbers: [146] 146,14 unequal: No Solution Exploring Operation: 91*55=5005, Resulting Numbers: [5005] 5005,14 unequal: No Solution No 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: 14:[65, 81], Operations: ['81-16=65', '91-10=81'] Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,14 unequal: No Solution Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,14 unequal: No Solution No 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: 14:[65, 101], Operations: ['81-16=65', '10+91=101'] Exploring Operation: 65+101=166, Resulting Numbers: [166] 166,14 unequal: No Solution Exploring Operation: 101-65=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 65*101=6565, Resulting Numbers: [6565] 6565,14 unequal: No Solution No 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: 14:[91, 75], Operations: ['81-16=65', '10+65=75'] Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 91+75=166, Resulting Numbers: [166] 166,14 unequal: No Solution Exploring Operation: 91*75=6825, Resulting Numbers: [6825] 6825,14 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: 14:[10, 81, 75], Operations: ['91-16=75'] Exploring Operation: 81-75=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 14:[10, 6] Operation: 81-75=6 Exploring Operation: 81-10=71, Resulting Numbers: [75, 71] Generated Node #0,1,1: 14:[75, 71] Operation: 81-10=71 Exploring Operation: 75-10=65, Resulting Numbers: [81, 65] Generated Node #0,1,2: 14:[81, 65] Operation: 75-10=65 Exploring Operation: 10+75=85, Resulting Numbers: [81, 85] Generated Node #0,1,3: 14:[81, 85] Operation: 10+75=85 Exploring Operation: 10+81=91, Resulting Numbers: [75, 91] Generated Node #0,1,4: 14:[75, 91] Operation: 10+81=91 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[10, 6], Operations: ['91-16=75', '81-75=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,14 unequal: No Solution No 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: 14:[75, 71], Operations: ['91-16=75', '81-10=71'] Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 75+71=146, Resulting Numbers: [146] 146,14 unequal: No Solution Exploring Operation: 75*71=5325, Resulting Numbers: [5325] 5325,14 unequal: No Solution No 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: 14:[81, 65], Operations: ['91-16=75', '75-10=65'] Exploring Operation: 81*65=5265, Resulting Numbers: [5265] 5265,14 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 81+65=146, Resulting Numbers: [146] 146,14 unequal: No Solution No 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: 14:[81, 85], Operations: ['91-16=75', '10+75=85'] Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 81+85=166, Resulting Numbers: [166] 166,14 unequal: No Solution Exploring Operation: 81*85=6885, Resulting Numbers: [6885] 6885,14 unequal: No Solution No 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: 14:[75, 91], Operations: ['91-16=75', '10+81=91'] Exploring Operation: 75+91=166, Resulting Numbers: [166] 166,14 unequal: No Solution Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 75*91=6825, Resulting Numbers: [6825] 6825,14 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: 14:[16, 81, 81], Operations: ['91-10=81'] Exploring Operation: 16+81=97, Resulting Numbers: [81, 97] Generated Node #0,0,0: 14:[81, 97] Operation: 16+81=97 Exploring Operation: 81-16=65, Resulting Numbers: [81, 65] Generated Node #0,0,1: 14:[81, 65] Operation: 81-16=65 Exploring Operation: 81-81=0, Resulting Numbers: [16, 0] Generated Node #0,0,2: 14:[16, 0] Operation: 81-81=0 Exploring Operation: 81/81=1, Resulting Numbers: [16, 1] Generated Node #0,0,3: 14:[16, 1] Operation: 81/81=1 Exploring Operation: 81-16=65, Resulting Numbers: [81, 65] Generated Node #0,0,4: 14:[81, 65] Operation: 81-16=65 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 14:[16, 1], Operations: ['91-10=81', '81/81=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,14 unequal: No Solution No 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: 14:[16, 0], Operations: ['91-10=81', '81-81=0'] Exploring Operation: 16+0=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 16*0=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 16-0=16, Resulting Numbers: [16] 16,14 unequal: No Solution No 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: 14:[81, 65], Operations: ['91-10=81', '81-16=65'] Exploring Operation: 81*65=5265, Resulting Numbers: [5265] 5265,14 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 81+65=146, Resulting Numbers: [146] 146,14 unequal: No Solution No 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: 14:[81, 65], Operations: ['91-10=81', '81-16=65'] Exploring Operation: 81*65=5265, Resulting Numbers: [5265] 5265,14 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 81+65=146, Resulting Numbers: [146] 146,14 unequal: No Solution No 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: 14:[81, 97], Operations: ['91-10=81', '16+81=97'] Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,14 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,14 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: 14:[16, 91, 71], Operations: ['81-10=71'] Exploring Operation: 71-16=55, Resulting Numbers: [91, 55] Generated Node #0,3,0: 14:[91, 55] Operation: 71-16=55 Exploring Operation: 16+91=107, Resulting Numbers: [71, 107] Generated Node #0,3,1: 14:[71, 107] Operation: 16+91=107 Exploring Operation: 91-71=20, Resulting Numbers: [16, 20] Generated Node #0,3,2: 14:[16, 20] Operation: 91-71=20 Exploring Operation: 16+71=87, Resulting Numbers: [91, 87] Generated Node #0,3,3: 14:[91, 87] Operation: 16+71=87 Exploring Operation: 91-16=75, Resulting Numbers: [71, 75] Generated Node #0,3,4: 14:[71, 75] Operation: 91-16=75 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[16, 20], Operations: ['81-10=71', '91-71=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,14 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,14 unequal: No Solution No 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: 14:[91, 55], Operations: ['81-10=71', '71-16=55'] Exploring Operation: 91*55=5005, Resulting Numbers: [5005] 5005,14 unequal: No Solution Exploring Operation: 91+55=146, Resulting Numbers: [146] 146,14 unequal: No Solution Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,14 unequal: No Solution No 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: 14:[71, 75], Operations: ['81-10=71', '91-16=75'] Exploring Operation: 71+75=146, Resulting Numbers: [146] 146,14 unequal: No Solution Exploring Operation: 71*75=5325, Resulting Numbers: [5325] 5325,14 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,14 unequal: No Solution No 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: 14:[71, 107], Operations: ['81-10=71', '16+91=107'] Exploring Operation: 71+107=178, Resulting Numbers: [178] 178,14 unequal: No Solution Exploring Operation: 107-71=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 71*107=7597, Resulting Numbers: [7597] 7597,14 unequal: No Solution No 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: 14:[91, 87], Operations: ['81-10=71', '16+71=87'] Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,14 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,14 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 30, 96, 5, 5 ]
91
[ "96-30=66", "5*5=25", "66+25=91" ]
Current State: 91:[30, 96, 5, 5], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [5, 5, 66] Generated Node #2: [5, 5, 66] from Operation: 96-30=66 Current State: 91:[5, 5, 66], Operations: ['96-30=66'] Exploring Operation: 5*5=25, Resulting Numbers: [66, 25] Generated Node #3: [66, 25] from Operation: 5*5=25 Current State: 91:[66, 25], Operations: ['96-30=66', '5*5=25'] Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[30, 96, 5, 5], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [96, 5, 6] Generated Node #0,0: 91:[96, 5, 6] Operation: 30/5=6 Exploring Operation: 30/5=6, Resulting Numbers: [96, 5, 6] Generated Node #0,1: 91:[96, 5, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [96, 5, 25] Generated Node #0,2: 91:[96, 5, 25] Operation: 30-5=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[96, 5, 6], Operations: ['30/5=6'] Exploring Operation: 96/6=16, Resulting Numbers: [5, 16] Generated Node #0,0,0: 91:[5, 16] Operation: 96/6=16 Exploring Operation: 96-5=91, Resulting Numbers: [6, 91] Generated Node #0,0,1: 91:[6, 91] Operation: 96-5=91 Exploring Operation: 96-6=90, Resulting Numbers: [5, 90] Generated Node #0,0,2: 91:[5, 90] Operation: 96-6=90 Moving to Node #0,0,1 Current State: 91:[6, 91], Operations: ['30/5=6', '96-5=91'] Exploring Operation: 6*91=546, Resulting Numbers: [546] 546,91 unequal: No Solution Exploring Operation: 6+91=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[5, 90], Operations: ['30/5=6', '96-6=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[5, 16], Operations: ['30/5=6', '96/6=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[96, 5, 6], Operations: ['30/5=6'] Exploring Operation: 96-5=91, Resulting Numbers: [6, 91] Generated Node #0,1,0: 91:[6, 91] Operation: 96-5=91 Exploring Operation: 96/6=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 91:[5, 16] Operation: 96/6=16 Exploring Operation: 96-6=90, Resulting Numbers: [5, 90] Generated Node #0,1,2: 91:[5, 90] Operation: 96-6=90 Moving to Node #0,1,0 Current State: 91:[6, 91], Operations: ['30/5=6', '96-5=91'] Exploring Operation: 6*91=546, Resulting Numbers: [546] 546,91 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,91 unequal: No Solution Exploring Operation: 6+91=97, Resulting Numbers: [97] 97,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[5, 90], Operations: ['30/5=6', '96-6=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[5, 16], Operations: ['30/5=6', '96/6=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[96, 5, 25], Operations: ['30-5=25'] Exploring Operation: 96-5=91, Resulting Numbers: [25, 91] Generated Node #0,2,0: 91:[25, 91] Operation: 96-5=91 Exploring Operation: 25/5=5, Resulting Numbers: [96, 5] Generated Node #0,2,1: 91:[96, 5] Operation: 25/5=5 Exploring Operation: 25-5=20, Resulting Numbers: [96, 20] Generated Node #0,2,2: 91:[96, 20] Operation: 25-5=20 Moving to Node #0,2,1 Current State: 91:[96, 5], Operations: ['30-5=25', '25/5=5'] Exploring Operation: 96+5=101, Resulting Numbers: [101] 101,91 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[30, 96, 5, 5], Operations: [] Exploring Operation: 30-5=25, Resulting Numbers: [96, 5, 25] Generated Node #0,2: 91:[96, 5, 25] Operation: 30-5=25 Moving to Node #0,2 Current State: 91:[96, 5, 25], Operations: ['30-5=25'] Exploring Operation: 25/5=5, Resulting Numbers: [96, 5] Generated Node #0,2,1: 91:[96, 5] Operation: 25/5=5 Moving to Node #0,2,1 Current State: 91:[96, 5], Operations: ['30-5=25', '25/5=5'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 11, 2, 77, 44 ]
95
[ "77/11=7", "2*44=88", "7+88=95" ]
Current State: 95:[11, 2, 77, 44], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [2, 44, 7] Generated Node #2: [2, 44, 7] from Operation: 77/11=7 Current State: 95:[2, 44, 7], Operations: ['77/11=7'] Exploring Operation: 2*44=88, Resulting Numbers: [7, 88] Generated Node #3: [7, 88] from Operation: 2*44=88 Current State: 95:[7, 88], Operations: ['77/11=7', '2*44=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[11, 2, 77, 44], Operations: [] Exploring Operation: 77-44=33, Resulting Numbers: [11, 2, 33] Generated Node #0,0: 95:[11, 2, 33] Operation: 77-44=33 Exploring Operation: 44/2=22, Resulting Numbers: [11, 77, 22] Generated Node #0,1: 95:[11, 77, 22] Operation: 44/2=22 Exploring Operation: 44/11=4, Resulting Numbers: [2, 77, 4] Generated Node #0,2: 95:[2, 77, 4] Operation: 44/11=4 Exploring Operation: 77/11=7, Resulting Numbers: [2, 44, 7] Generated Node #0,3: 95:[2, 44, 7] Operation: 77/11=7 Exploring Operation: 2*44=88, Resulting Numbers: [11, 77, 88] Generated Node #0,4: 95:[11, 77, 88] Operation: 2*44=88 Moving to Node #0,2 Current State: 95:[2, 77, 4], Operations: ['44/11=4'] Exploring Operation: 77+4=81, Resulting Numbers: [2, 81] Generated Node #0,2,0: 95:[2, 81] Operation: 77+4=81 Exploring Operation: 2*4=8, Resulting Numbers: [77, 8] Generated Node #0,2,1: 95:[77, 8] Operation: 2*4=8 Exploring Operation: 2+4=6, Resulting Numbers: [77, 6] Generated Node #0,2,2: 95:[77, 6] Operation: 2+4=6 Exploring Operation: 2+77=79, Resulting Numbers: [4, 79] Generated Node #0,2,3: 95:[4, 79] Operation: 2+77=79 Exploring Operation: 77-2=75, Resulting Numbers: [4, 75] Generated Node #0,2,4: 95:[4, 75] Operation: 77-2=75 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[2, 81], Operations: ['44/11=4', '77+4=81'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[4, 79], Operations: ['44/11=4', '2+77=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[77, 6], Operations: ['44/11=4', '2+4=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,95 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[77, 8], Operations: ['44/11=4', '2*4=8'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,95 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,95 unequal: No Solution Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 95:[4, 75], Operations: ['44/11=4', '77-2=75'] Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,95 unequal: No Solution Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,95 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: 95:[11, 2, 33], Operations: ['77-44=33'] Exploring Operation: 33-11=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 95:[2, 22] Operation: 33-11=22 Exploring Operation: 33/11=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 95:[2, 3] Operation: 33/11=3 Exploring Operation: 11*2=22, Resulting Numbers: [33, 22] Generated Node #0,0,2: 95:[33, 22] Operation: 11*2=22 Exploring Operation: 11-2=9, Resulting Numbers: [33, 9] Generated Node #0,0,3: 95:[33, 9] Operation: 11-2=9 Exploring Operation: 33-2=31, Resulting Numbers: [11, 31] Generated Node #0,0,4: 95:[11, 31] Operation: 33-2=31 Moving to Node #0,1 Current State: 95:[11, 77, 22], Operations: ['44/2=22'] Exploring Operation: 11+77=88, Resulting Numbers: [22, 88] Generated Node #0,1,0: 95:[22, 88] Operation: 11+77=88 Exploring Operation: 77+22=99, Resulting Numbers: [11, 99] Generated Node #0,1,1: 95:[11, 99] Operation: 77+22=99 Exploring Operation: 22-11=11, Resulting Numbers: [77, 11] Generated Node #0,1,2: 95:[77, 11] Operation: 22-11=11 Exploring Operation: 77/11=7, Resulting Numbers: [22, 7] Generated Node #0,1,3: 95:[22, 7] Operation: 77/11=7 Exploring Operation: 22/11=2, Resulting Numbers: [77, 2] Generated Node #0,1,4: 95:[77, 2] Operation: 22/11=2 Moving to Node #0,3 Current State: 95:[2, 44, 7], Operations: ['77/11=7'] Exploring Operation: 2*44=88, Resulting Numbers: [7, 88] Generated Node #0,3,0: 95:[7, 88] Operation: 2*44=88 Exploring Operation: 44/2=22, Resulting Numbers: [7, 22] Generated Node #0,3,1: 95:[7, 22] Operation: 44/2=22 Exploring Operation: 44-7=37, Resulting Numbers: [2, 37] Generated Node #0,3,2: 95:[2, 37] Operation: 44-7=37 Exploring Operation: 7-2=5, Resulting Numbers: [44, 5] Generated Node #0,3,3: 95:[44, 5] Operation: 7-2=5 Exploring Operation: 44-2=42, Resulting Numbers: [7, 42] Generated Node #0,3,4: 95:[7, 42] Operation: 44-2=42 Moving to Node #0,4 Current State: 95:[11, 77, 88], Operations: ['2*44=88'] Exploring Operation: 11+88=99, Resulting Numbers: [77, 99] Generated Node #0,4,0: 95:[77, 99] Operation: 11+88=99 Exploring Operation: 88-77=11, Resulting Numbers: [11, 11] Generated Node #0,4,1: 95:[11, 11] Operation: 88-77=11 Exploring Operation: 77/11=7, Resulting Numbers: [88, 7] Generated Node #0,4,2: 95:[88, 7] Operation: 77/11=7 Exploring Operation: 11+77=88, Resulting Numbers: [88, 88] Generated Node #0,4,3: 95:[88, 88] Operation: 11+77=88 Exploring Operation: 88/11=8, Resulting Numbers: [77, 8] Generated Node #0,4,4: 95:[77, 8] Operation: 88/11=8 Moving to Node #0,0,1 Current State: 95:[2, 3], Operations: ['77-44=33', '33/11=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[22, 7], Operations: ['44/2=22', '77/11=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[7, 22], Operations: ['77/11=7', '44/2=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,95 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[2, 22], Operations: ['77-44=33', '33-11=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,95 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[7, 88], Operations: ['77/11=7', '2*44=88'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 7*88=616, Resulting Numbers: [616] 616,95 unequal: No Solution Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[11, 2, 77, 44], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [2, 44, 7] Generated Node #0,3: 95:[2, 44, 7] Operation: 77/11=7 Moving to Node #0,3 Current State: 95:[2, 44, 7], Operations: ['77/11=7'] Exploring Operation: 2*44=88, Resulting Numbers: [7, 88] Generated Node #0,3,0: 95:[7, 88] Operation: 2*44=88 Moving to Node #0,3,0 Current State: 95:[7, 88], Operations: ['77/11=7', '2*44=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.943576
hs_5
mult_heuristic
[ 98, 65, 57, 29 ]
61
[ "98-65=33", "57-29=28", "33+28=61" ]
Current State: 61:[98, 65, 57, 29], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [57, 29, 33] Generated Node #2: [57, 29, 33] from Operation: 98-65=33 Current State: 61:[57, 29, 33], Operations: ['98-65=33'] Exploring Operation: 57-29=28, Resulting Numbers: [33, 28] Generated Node #3: [33, 28] from Operation: 57-29=28 Current State: 61:[33, 28], Operations: ['98-65=33', '57-29=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[98, 65, 57, 29], Operations: [] Exploring Operation: 65-29=36, Resulting Numbers: [98, 57, 36] Generated Node #0,0: 61:[98, 57, 36] Operation: 65-29=36 Exploring Operation: 98-57=41, Resulting Numbers: [65, 29, 41] Generated Node #0,1: 61:[65, 29, 41] Operation: 98-57=41 Exploring Operation: 98-65=33, Resulting Numbers: [57, 29, 33] Generated Node #0,2: 61:[57, 29, 33] Operation: 98-65=33 Exploring Operation: 98-29=69, Resulting Numbers: [65, 57, 69] Generated Node #0,3: 61:[65, 57, 69] Operation: 98-29=69 Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[65, 57, 69], Operations: ['98-29=69'] Exploring Operation: 65-57=8, Resulting Numbers: [69, 8] Generated Node #0,3,0: 61:[69, 8] Operation: 65-57=8 Exploring Operation: 69-57=12, Resulting Numbers: [65, 12] Generated Node #0,3,1: 61:[65, 12] Operation: 69-57=12 Exploring Operation: 65+57=122, Resulting Numbers: [69, 122] Generated Node #0,3,2: 61:[69, 122] Operation: 65+57=122 Exploring Operation: 69-65=4, Resulting Numbers: [57, 4] Generated Node #0,3,3: 61:[57, 4] Operation: 69-65=4 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[65, 12], Operations: ['98-29=69', '69-57=12'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,61 unequal: No Solution Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,61 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[69, 8], Operations: ['98-29=69', '65-57=8'] Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,61 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,61 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[98, 65, 57, 29], Operations: [] Exploring Operation: 98-29=69, Resulting Numbers: [65, 57, 69] Generated Node #0,3: 61:[65, 57, 69] Operation: 98-29=69 Moving to Node #0,3 Current State: 61:[65, 57, 69], Operations: ['98-29=69'] Exploring Operation: 65-57=8, Resulting Numbers: [69, 8] Generated Node #0,3,0: 61:[69, 8] Operation: 65-57=8 Moving to Node #0,3,0 Current State: 61:[69, 8], Operations: ['98-29=69', '65-57=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 58, 71, 80, 22 ]
27
[ "58+71=129", "80+22=102", "129-102=27" ]
Current State: 27:[58, 71, 80, 22], Operations: [] Exploring Operation: 58+71=129, Resulting Numbers: [80, 22, 129] Generated Node #2: [80, 22, 129] from Operation: 58+71=129 Current State: 27:[80, 22, 129], Operations: ['58+71=129'] Exploring Operation: 80+22=102, Resulting Numbers: [129, 102] Generated Node #3: [129, 102] from Operation: 80+22=102 Current State: 27:[129, 102], Operations: ['58+71=129', '80+22=102'] Exploring Operation: 129-102=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[58, 71, 80, 22], Operations: [] Exploring Operation: 80-71=9, Resulting Numbers: [58, 22, 9] Generated Node #0,0: 27:[58, 22, 9] Operation: 80-71=9 Exploring Operation: 80-58=22, Resulting Numbers: [71, 22, 22] Generated Node #0,1: 27:[71, 22, 22] Operation: 80-58=22 Exploring Operation: 58-22=36, Resulting Numbers: [71, 80, 36] Generated Node #0,2: 27:[71, 80, 36] Operation: 58-22=36 Exploring Operation: 71-58=13, Resulting Numbers: [80, 22, 13] Generated Node #0,3: 27:[80, 22, 13] Operation: 71-58=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[58, 22, 9], Operations: ['80-71=9'] Exploring Operation: 22-9=13, Resulting Numbers: [58, 13] Generated Node #0,0,0: 27:[58, 13] Operation: 22-9=13 Exploring Operation: 58-9=49, Resulting Numbers: [22, 49] Generated Node #0,0,1: 27:[22, 49] Operation: 58-9=49 Exploring Operation: 58-22=36, Resulting Numbers: [9, 36] Generated Node #0,0,2: 27:[9, 36] Operation: 58-22=36 Exploring Operation: 22+9=31, Resulting Numbers: [58, 31] Generated Node #0,0,3: 27:[58, 31] Operation: 22+9=31 Moving to Node #0,0,2 Current State: 27:[9, 36], Operations: ['80-71=9', '58-22=36'] Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,27 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[58, 71, 80, 22], Operations: [] Exploring Operation: 80-71=9, Resulting Numbers: [58, 22, 9] Generated Node #0,0: 27:[58, 22, 9] Operation: 80-71=9 Moving to Node #0,0 Current State: 27:[58, 22, 9], Operations: ['80-71=9'] Exploring Operation: 58-22=36, Resulting Numbers: [9, 36] Generated Node #0,0,2: 27:[9, 36] Operation: 58-22=36 Moving to Node #0,0,2 Current State: 27:[9, 36], Operations: ['80-71=9', '58-22=36'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 44, 15, 55, 33 ]
77
[ "55*33=1815", "1815/15=121", "121-44=77" ]
Current State: 77:[44, 15, 55, 33], Operations: [] Exploring Operation: 55*33=1815, Resulting Numbers: [44, 15, 1815] Generated Node #2: [44, 15, 1815] from Operation: 55*33=1815 Current State: 77:[44, 15, 1815], Operations: ['55*33=1815'] Exploring Operation: 1815/15=121, Resulting Numbers: [44, 121] Generated Node #3: [44, 121] from Operation: 1815/15=121 Current State: 77:[44, 121], Operations: ['55*33=1815', '1815/15=121'] Exploring Operation: 121-44=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[44, 15, 55, 33], Operations: [] Exploring Operation: 55+33=88, Resulting Numbers: [44, 15, 88] Generated Node #0,0: 77:[44, 15, 88] Operation: 55+33=88 Exploring Operation: 44+33=77, Resulting Numbers: [15, 55, 77] Generated Node #0,1: 77:[15, 55, 77] Operation: 44+33=77 Exploring Operation: 55-44=11, Resulting Numbers: [15, 33, 11] Generated Node #0,2: 77:[15, 33, 11] Operation: 55-44=11 Exploring Operation: 44-33=11, Resulting Numbers: [15, 55, 11] Generated Node #0,3: 77:[15, 55, 11] Operation: 44-33=11 Exploring Operation: 44+55=99, Resulting Numbers: [15, 33, 99] Generated Node #0,4: 77:[15, 33, 99] Operation: 44+55=99 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[15, 55, 77], Operations: ['44+33=77'] Exploring Operation: 15+55=70, Resulting Numbers: [77, 70] Generated Node #0,1,0: 77:[77, 70] Operation: 15+55=70 Exploring Operation: 15+77=92, Resulting Numbers: [55, 92] Generated Node #0,1,1: 77:[55, 92] Operation: 15+77=92 Exploring Operation: 77-55=22, Resulting Numbers: [15, 22] Generated Node #0,1,2: 77:[15, 22] Operation: 77-55=22 Exploring Operation: 55-15=40, Resulting Numbers: [77, 40] Generated Node #0,1,3: 77:[77, 40] Operation: 55-15=40 Exploring Operation: 77-15=62, Resulting Numbers: [55, 62] Generated Node #0,1,4: 77:[55, 62] Operation: 77-15=62 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[77, 70], Operations: ['44+33=77', '15+55=70'] Exploring Operation: 77*70=5390, Resulting Numbers: [5390] 5390,77 unequal: No Solution Exploring Operation: 77+70=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 77-70=7, Resulting Numbers: [7] 7,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[15, 22], Operations: ['44+33=77', '77-55=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 77:[77, 40], Operations: ['44+33=77', '55-15=40'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,77 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[55, 92], Operations: ['44+33=77', '15+77=92'] Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 55*92=5060, Resulting Numbers: [5060] 5060,77 unequal: No Solution Exploring Operation: 55+92=147, Resulting Numbers: [147] 147,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 77:[55, 62], Operations: ['44+33=77', '77-15=62'] Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,77 unequal: No Solution Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[15, 33, 11], Operations: ['55-44=11'] Exploring Operation: 33-11=22, Resulting Numbers: [15, 22] Generated Node #0,2,0: 77:[15, 22] Operation: 33-11=22 Exploring Operation: 33-15=18, Resulting Numbers: [11, 18] Generated Node #0,2,1: 77:[11, 18] Operation: 33-15=18 Exploring Operation: 15-11=4, Resulting Numbers: [33, 4] Generated Node #0,2,2: 77:[33, 4] Operation: 15-11=4 Exploring Operation: 33/11=3, Resulting Numbers: [15, 3] Generated Node #0,2,3: 77:[15, 3] Operation: 33/11=3 Exploring Operation: 15+33=48, Resulting Numbers: [11, 48] Generated Node #0,2,4: 77:[11, 48] Operation: 15+33=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[11, 18], Operations: ['55-44=11', '33-15=18'] Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,77 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 77:[15, 3], Operations: ['55-44=11', '33/11=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 77:[15, 22], Operations: ['55-44=11', '33-11=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[33, 4], Operations: ['55-44=11', '15-11=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,77 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 77:[11, 48], Operations: ['55-44=11', '15+33=48'] Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[15, 55, 11], Operations: ['44-33=11'] Exploring Operation: 15+55=70, Resulting Numbers: [11, 70] Generated Node #0,3,0: 77:[11, 70] Operation: 15+55=70 Exploring Operation: 55-15=40, Resulting Numbers: [11, 40] Generated Node #0,3,1: 77:[11, 40] Operation: 55-15=40 Exploring Operation: 55/11=5, Resulting Numbers: [15, 5] Generated Node #0,3,2: 77:[15, 5] Operation: 55/11=5 Exploring Operation: 15-11=4, Resulting Numbers: [55, 4] Generated Node #0,3,3: 77:[55, 4] Operation: 15-11=4 Exploring Operation: 55+11=66, Resulting Numbers: [15, 66] Generated Node #0,3,4: 77:[15, 66] Operation: 55+11=66 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 77:[15, 5], Operations: ['44-33=11', '55/11=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 77:[11, 70], Operations: ['44-33=11', '15+55=70'] Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 77:[15, 66], Operations: ['44-33=11', '55+11=66'] Exploring Operation: 15*66=990, Resulting Numbers: [990] 990,77 unequal: No Solution Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 77:[55, 4], Operations: ['44-33=11', '15-11=4'] Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,77 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 77:[11, 40], Operations: ['44-33=11', '55-15=40'] Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,77 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[44, 15, 88], Operations: ['55+33=88'] Exploring Operation: 44+15=59, Resulting Numbers: [88, 59] Generated Node #0,0,0: 77:[88, 59] Operation: 44+15=59 Exploring Operation: 88-15=73, Resulting Numbers: [44, 73] Generated Node #0,0,1: 77:[44, 73] Operation: 88-15=73 Exploring Operation: 88/44=2, Resulting Numbers: [15, 2] Generated Node #0,0,2: 77:[15, 2] Operation: 88/44=2 Exploring Operation: 44-15=29, Resulting Numbers: [88, 29] Generated Node #0,0,3: 77:[88, 29] Operation: 44-15=29 Exploring Operation: 88-44=44, Resulting Numbers: [15, 44] Generated Node #0,0,4: 77:[15, 44] Operation: 88-44=44 Moving to Node #0,0,2 Current State: 77:[15, 2], Operations: ['55+33=88', '88/44=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[88, 29], Operations: ['55+33=88', '44-15=29'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,77 unequal: No Solution Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[88, 59], Operations: ['55+33=88', '44+15=59'] Exploring Operation: 88*59=5192, Resulting Numbers: [5192] 5192,77 unequal: No Solution Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 88+59=147, Resulting Numbers: [147] 147,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[44, 73], Operations: ['55+33=88', '88-15=73'] Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 44+73=117, Resulting Numbers: [117] 117,77 unequal: No Solution Exploring Operation: 44*73=3212, Resulting Numbers: [3212] 3212,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[15, 44], Operations: ['55+33=88', '88-44=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,77 unequal: No Solution Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,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,4 Current State: 77:[15, 33, 99], Operations: ['44+55=99'] Exploring Operation: 15+33=48, Resulting Numbers: [99, 48] Generated Node #0,4,0: 77:[99, 48] Operation: 15+33=48 Exploring Operation: 99/33=3, Resulting Numbers: [15, 3] Generated Node #0,4,1: 77:[15, 3] Operation: 99/33=3 Exploring Operation: 33-15=18, Resulting Numbers: [99, 18] Generated Node #0,4,2: 77:[99, 18] Operation: 33-15=18 Exploring Operation: 99-33=66, Resulting Numbers: [15, 66] Generated Node #0,4,3: 77:[15, 66] Operation: 99-33=66 Exploring Operation: 99-15=84, Resulting Numbers: [33, 84] Generated Node #0,4,4: 77:[33, 84] Operation: 99-15=84 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 77:[15, 3], Operations: ['44+55=99', '99/33=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 77:[15, 66], Operations: ['44+55=99', '99-33=66'] Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 15*66=990, Resulting Numbers: [990] 990,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 77:[99, 18], Operations: ['44+55=99', '33-15=18'] Exploring Operation: 99*18=1782, Resulting Numbers: [1782] 1782,77 unequal: No Solution Exploring Operation: 99+18=117, Resulting Numbers: [117] 117,77 unequal: No Solution Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 77:[33, 84], Operations: ['44+55=99', '99-15=84'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,77 unequal: No Solution Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 77:[99, 48], Operations: ['44+55=99', '15+33=48'] Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 99+48=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 99*48=4752, Resulting Numbers: [4752] 4752,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 74, 55, 18, 93 ]
93
[ "74-55=19", "19-18=1", "93*1=93" ]
Current State: 93:[74, 55, 18, 93], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [18, 93, 19] Generated Node #2: [18, 93, 19] from Operation: 74-55=19 Current State: 93:[18, 93, 19], Operations: ['74-55=19'] Exploring Operation: 19-18=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 19-18=1 Current State: 93:[93, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[74, 55, 18, 93], Operations: [] Exploring Operation: 55-18=37, Resulting Numbers: [74, 93, 37] Generated Node #0,0: 93:[74, 93, 37] Operation: 55-18=37 Exploring Operation: 74-55=19, Resulting Numbers: [18, 93, 19] Generated Node #0,1: 93:[18, 93, 19] Operation: 74-55=19 Exploring Operation: 74+18=92, Resulting Numbers: [55, 93, 92] Generated Node #0,2: 93:[55, 93, 92] Operation: 74+18=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[74, 93, 37], Operations: ['55-18=37'] Exploring Operation: 74/37=2, Resulting Numbers: [93, 2] Generated Node #0,0,0: 93:[93, 2] Operation: 74/37=2 Exploring Operation: 93-74=19, Resulting Numbers: [37, 19] Generated Node #0,0,1: 93:[37, 19] Operation: 93-74=19 Exploring Operation: 74-37=37, Resulting Numbers: [93, 37] Generated Node #0,0,2: 93:[93, 37] Operation: 74-37=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[93, 2], Operations: ['55-18=37', '74/37=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,93 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[93, 37], Operations: ['55-18=37', '74-37=37'] Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,93 unequal: No Solution Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[37, 19], Operations: ['55-18=37', '93-74=19'] Exploring Operation: 37*19=703, Resulting Numbers: [703] 703,93 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,93 unequal: No Solution Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[18, 93, 19], Operations: ['74-55=19'] Exploring Operation: 18+93=111, Resulting Numbers: [19, 111] Generated Node #0,1,0: 93:[19, 111] Operation: 18+93=111 Exploring Operation: 19-18=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 93:[93, 1] Operation: 19-18=1 Exploring Operation: 18+19=37, Resulting Numbers: [93, 37] Generated Node #0,1,2: 93:[93, 37] Operation: 18+19=37 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[93, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[74, 55, 18, 93], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [18, 93, 19] Generated Node #0,1: 93:[18, 93, 19] Operation: 74-55=19 Moving to Node #0,1 Current State: 93:[18, 93, 19], Operations: ['74-55=19'] Exploring Operation: 19-18=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 93:[93, 1] Operation: 19-18=1 Moving to Node #0,1,1 Current State: 93:[93, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 78, 29, 50, 37 ]
81
[ "50+37=87", "87/29=3", "78+3=81" ]
Current State: 81:[78, 29, 50, 37], Operations: [] Exploring Operation: 50+37=87, Resulting Numbers: [78, 29, 87] Generated Node #2: [78, 29, 87] from Operation: 50+37=87 Current State: 81:[78, 29, 87], Operations: ['50+37=87'] Exploring Operation: 87/29=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 87/29=3 Current State: 81:[78, 3], Operations: ['50+37=87', '87/29=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[78, 29, 50, 37], Operations: [] Exploring Operation: 50+37=87, Resulting Numbers: [78, 29, 87] Generated Node #0,0: 81:[78, 29, 87] Operation: 50+37=87 Exploring Operation: 50-37=13, Resulting Numbers: [78, 29, 13] Generated Node #0,1: 81:[78, 29, 13] Operation: 50-37=13 Exploring Operation: 78-50=28, Resulting Numbers: [29, 37, 28] Generated Node #0,2: 81:[29, 37, 28] Operation: 78-50=28 Moving to Node #0,1 Current State: 81:[78, 29, 13], Operations: ['50-37=13'] Exploring Operation: 78/13=6, Resulting Numbers: [29, 6] Generated Node #0,1,0: 81:[29, 6] Operation: 78/13=6 Exploring Operation: 78+13=91, Resulting Numbers: [29, 91] Generated Node #0,1,1: 81:[29, 91] Operation: 78+13=91 Exploring Operation: 29-13=16, Resulting Numbers: [78, 16] Generated Node #0,1,2: 81:[78, 16] Operation: 29-13=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[29, 6], Operations: ['50-37=13', '78/13=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[78, 16], Operations: ['50-37=13', '29-13=16'] Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,81 unequal: No Solution Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,81 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[29, 91], Operations: ['50-37=13', '78+13=91'] Exploring Operation: 29+91=120, Resulting Numbers: [120] 120,81 unequal: No Solution Exploring Operation: 29*91=2639, Resulting Numbers: [2639] 2639,81 unequal: No Solution Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,81 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: 81:[78, 29, 87], Operations: ['50+37=87'] Exploring Operation: 87/29=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 81:[78, 3] Operation: 87/29=3 Exploring Operation: 87-78=9, Resulting Numbers: [29, 9] Generated Node #0,0,1: 81:[29, 9] Operation: 87-78=9 Exploring Operation: 87-29=58, Resulting Numbers: [78, 58] Generated Node #0,0,2: 81:[78, 58] Operation: 87-29=58 Moving to Node #0,2 Current State: 81:[29, 37, 28], Operations: ['78-50=28'] Exploring Operation: 37-28=9, Resulting Numbers: [29, 9] Generated Node #0,2,0: 81:[29, 9] Operation: 37-28=9 Exploring Operation: 37-29=8, Resulting Numbers: [28, 8] Generated Node #0,2,1: 81:[28, 8] Operation: 37-29=8 Exploring Operation: 29-28=1, Resulting Numbers: [37, 1] Generated Node #0,2,2: 81:[37, 1] Operation: 29-28=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[29, 9], Operations: ['78-50=28', '37-28=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[28, 8], Operations: ['78-50=28', '37-29=8'] Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,81 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,81 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[37, 1], Operations: ['78-50=28', '29-28=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,81 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 81:[29, 9], Operations: ['50+37=87', '87-78=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[78, 3], Operations: ['50+37=87', '87/29=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[78, 29, 50, 37], Operations: [] Exploring Operation: 50+37=87, Resulting Numbers: [78, 29, 87] Generated Node #0,0: 81:[78, 29, 87] Operation: 50+37=87 Moving to Node #0,0 Current State: 81:[78, 29, 87], Operations: ['50+37=87'] Exploring Operation: 87/29=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 81:[78, 3] Operation: 87/29=3 Moving to Node #0,0,0 Current State: 81:[78, 3], Operations: ['50+37=87', '87/29=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.966146
hs_3
sum_heuristic
[ 24, 8, 90, 29 ]
77
[ "24-8=16", "90-29=61", "16+61=77" ]
Current State: 77:[24, 8, 90, 29], Operations: [] Exploring Operation: 24-8=16, Resulting Numbers: [90, 29, 16] Generated Node #2: [90, 29, 16] from Operation: 24-8=16 Current State: 77:[90, 29, 16], Operations: ['24-8=16'] Exploring Operation: 90-29=61, Resulting Numbers: [16, 61] Generated Node #3: [16, 61] from Operation: 90-29=61 Current State: 77:[16, 61], Operations: ['24-8=16', '90-29=61'] Exploring Operation: 16+61=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[24, 8, 90, 29], Operations: [] Exploring Operation: 29-24=5, Resulting Numbers: [8, 90, 5] Generated Node #0,0: 77:[8, 90, 5] Operation: 29-24=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[8, 90, 5], Operations: ['29-24=5'] Exploring Operation: 90-8=82, Resulting Numbers: [5, 82] Generated Node #0,0,0: 77:[5, 82] Operation: 90-8=82 Moving to Node #0,0,0 Current State: 77:[5, 82], Operations: ['29-24=5', '90-8=82'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[24, 8, 90, 29], Operations: [] Exploring Operation: 29-24=5, Resulting Numbers: [8, 90, 5] Generated Node #0,0: 77:[8, 90, 5] Operation: 29-24=5 Moving to Node #0,0 Current State: 77:[8, 90, 5], Operations: ['29-24=5'] Exploring Operation: 90-8=82, Resulting Numbers: [5, 82] Generated Node #0,0,0: 77:[5, 82] Operation: 90-8=82 Moving to Node #0,0,0 Current State: 77:[5, 82], Operations: ['29-24=5', '90-8=82'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 47, 99, 83, 96 ]
33
[ "47+99=146", "83+96=179", "179-146=33" ]
Current State: 33:[47, 99, 83, 96], Operations: [] Exploring Operation: 47+99=146, Resulting Numbers: [83, 96, 146] Generated Node #2: [83, 96, 146] from Operation: 47+99=146 Current State: 33:[83, 96, 146], Operations: ['47+99=146'] Exploring Operation: 83+96=179, Resulting Numbers: [146, 179] Generated Node #3: [146, 179] from Operation: 83+96=179 Current State: 33:[146, 179], Operations: ['47+99=146', '83+96=179'] Exploring Operation: 179-146=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[47, 99, 83, 96], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [47, 96, 16] Generated Node #0,0: 33:[47, 96, 16] Operation: 99-83=16 Exploring Operation: 99-96=3, Resulting Numbers: [47, 83, 3] Generated Node #0,1: 33:[47, 83, 3] Operation: 99-96=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[47, 83, 3], Operations: ['99-96=3'] Exploring Operation: 83-47=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 33:[3, 36] Operation: 83-47=36 Exploring Operation: 47-3=44, Resulting Numbers: [83, 44] Generated Node #0,1,1: 33:[83, 44] Operation: 47-3=44 Moving to Node #0,1,0 Current State: 33:[3, 36], Operations: ['99-96=3', '83-47=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[47, 99, 83, 96], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [47, 83, 3] Generated Node #0,1: 33:[47, 83, 3] Operation: 99-96=3 Moving to Node #0,1 Current State: 33:[47, 83, 3], Operations: ['99-96=3'] Exploring Operation: 83-47=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 33:[3, 36] Operation: 83-47=36 Moving to Node #0,1,0 Current State: 33:[3, 36], Operations: ['99-96=3', '83-47=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 66, 48, 98, 68 ]
100
[ "68-66=2", "98-48=50", "2*50=100" ]
Current State: 100:[66, 48, 98, 68], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [48, 98, 2] Generated Node #2: [48, 98, 2] from Operation: 68-66=2 Current State: 100:[48, 98, 2], Operations: ['68-66=2'] Exploring Operation: 98-48=50, Resulting Numbers: [2, 50] Generated Node #3: [2, 50] from Operation: 98-48=50 Current State: 100:[2, 50], Operations: ['68-66=2', '98-48=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[66, 48, 98, 68], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [66, 98, 20] Generated Node #0,0: 100:[66, 98, 20] Operation: 68-48=20 Exploring Operation: 68-66=2, Resulting Numbers: [48, 98, 2] Generated Node #0,1: 100:[48, 98, 2] Operation: 68-66=2 Moving to Node #0,1 Current State: 100:[48, 98, 2], Operations: ['68-66=2'] Exploring Operation: 98-48=50, Resulting Numbers: [2, 50] Generated Node #0,1,0: 100:[2, 50] Operation: 98-48=50 Exploring Operation: 48+2=50, Resulting Numbers: [98, 50] Generated Node #0,1,1: 100:[98, 50] Operation: 48+2=50 Moving to Node #0,0 Current State: 100:[66, 98, 20], Operations: ['68-48=20'] Exploring Operation: 66-20=46, Resulting Numbers: [98, 46] Generated Node #0,0,0: 100:[98, 46] Operation: 66-20=46 Exploring Operation: 98-66=32, Resulting Numbers: [20, 32] Generated Node #0,0,1: 100:[20, 32] Operation: 98-66=32 Moving to Node #0,1,0 Current State: 100:[2, 50], Operations: ['68-66=2', '98-48=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[66, 48, 98, 68], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [48, 98, 2] Generated Node #0,1: 100:[48, 98, 2] Operation: 68-66=2 Moving to Node #0,1 Current State: 100:[48, 98, 2], Operations: ['68-66=2'] Exploring Operation: 98-48=50, Resulting Numbers: [2, 50] Generated Node #0,1,0: 100:[2, 50] Operation: 98-48=50 Moving to Node #0,1,0 Current State: 100:[2, 50], Operations: ['68-66=2', '98-48=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 2, 36, 22, 52 ]
45
[ "36-22=14", "14/2=7", "52-7=45" ]
Current State: 45:[2, 36, 22, 52], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [2, 52, 14] Generated Node #2: [2, 52, 14] from Operation: 36-22=14 Current State: 45:[2, 52, 14], Operations: ['36-22=14'] Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #3: [52, 7] from Operation: 14/2=7 Current State: 45:[52, 7], Operations: ['36-22=14', '14/2=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[2, 36, 22, 52], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [2, 22, 16] Generated Node #0,0: 45:[2, 22, 16] Operation: 52-36=16 Exploring Operation: 2*22=44, Resulting Numbers: [36, 52, 44] Generated Node #0,1: 45:[36, 52, 44] Operation: 2*22=44 Exploring Operation: 36/2=18, Resulting Numbers: [22, 52, 18] Generated Node #0,2: 45:[22, 52, 18] Operation: 36/2=18 Exploring Operation: 36-22=14, Resulting Numbers: [2, 52, 14] Generated Node #0,3: 45:[2, 52, 14] Operation: 36-22=14 Moving to Node #0,0 Current State: 45:[2, 22, 16], Operations: ['52-36=16'] Exploring Operation: 22-16=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 45:[2, 6] Operation: 22-16=6 Exploring Operation: 22/2=11, Resulting Numbers: [16, 11] Generated Node #0,0,1: 45:[16, 11] Operation: 22/2=11 Exploring Operation: 22-2=20, Resulting Numbers: [16, 20] Generated Node #0,0,2: 45:[16, 20] Operation: 22-2=20 Exploring Operation: 2*22=44, Resulting Numbers: [16, 44] Generated Node #0,0,3: 45:[16, 44] Operation: 2*22=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[2, 6], Operations: ['52-36=16', '22-16=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[16, 44], Operations: ['52-36=16', '2*22=44'] Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,45 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[16, 11], Operations: ['52-36=16', '22/2=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[16, 20], Operations: ['52-36=16', '22-2=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,45 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: 45:[2, 52, 14], Operations: ['36-22=14'] Exploring Operation: 52-14=38, Resulting Numbers: [2, 38] Generated Node #0,3,0: 45:[2, 38] Operation: 52-14=38 Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,3,1: 45:[52, 7] Operation: 14/2=7 Exploring Operation: 2+14=16, Resulting Numbers: [52, 16] Generated Node #0,3,2: 45:[52, 16] Operation: 2+14=16 Exploring Operation: 52-2=50, Resulting Numbers: [14, 50] Generated Node #0,3,3: 45:[14, 50] Operation: 52-2=50 Moving to Node #0,2 Current State: 45:[22, 52, 18], Operations: ['36/2=18'] Exploring Operation: 52-22=30, Resulting Numbers: [18, 30] Generated Node #0,2,0: 45:[18, 30] Operation: 52-22=30 Exploring Operation: 22+18=40, Resulting Numbers: [52, 40] Generated Node #0,2,1: 45:[52, 40] Operation: 22+18=40 Exploring Operation: 52-18=34, Resulting Numbers: [22, 34] Generated Node #0,2,2: 45:[22, 34] Operation: 52-18=34 Exploring Operation: 22-18=4, Resulting Numbers: [52, 4] Generated Node #0,2,3: 45:[52, 4] Operation: 22-18=4 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[52, 4], Operations: ['36/2=18', '22-18=4'] Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,45 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[52, 40], Operations: ['36/2=18', '22+18=40'] Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,45 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[18, 30], Operations: ['36/2=18', '52-22=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,45 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[22, 34], Operations: ['36/2=18', '52-18=34'] Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,45 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,45 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: 45:[36, 52, 44], Operations: ['2*22=44'] Exploring Operation: 52-44=8, Resulting Numbers: [36, 8] Generated Node #0,1,0: 45:[36, 8] Operation: 52-44=8 Exploring Operation: 36+44=80, Resulting Numbers: [52, 80] Generated Node #0,1,1: 45:[52, 80] Operation: 36+44=80 Exploring Operation: 44-36=8, Resulting Numbers: [52, 8] Generated Node #0,1,2: 45:[52, 8] Operation: 44-36=8 Exploring Operation: 52-36=16, Resulting Numbers: [44, 16] Generated Node #0,1,3: 45:[44, 16] Operation: 52-36=16 Moving to Node #0,1,3 Current State: 45:[44, 16], Operations: ['2*22=44', '52-36=16'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[14, 50], Operations: ['36-22=14', '52-2=50'] Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,45 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[52, 16], Operations: ['36-22=14', '2+14=16'] Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[52, 8], Operations: ['2*22=44', '44-36=8'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[2, 38], Operations: ['36-22=14', '52-14=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[52, 7], Operations: ['36-22=14', '14/2=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[2, 36, 22, 52], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [2, 52, 14] Generated Node #0,3: 45:[2, 52, 14] Operation: 36-22=14 Moving to Node #0,3 Current State: 45:[2, 52, 14], Operations: ['36-22=14'] Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,3,1: 45:[52, 7] Operation: 14/2=7 Moving to Node #0,3,1 Current State: 45:[52, 7], Operations: ['36-22=14', '14/2=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.94184
hs_4
sum_heuristic
[ 30, 65, 83, 17 ]
78
[ "30-17=13", "65/13=5", "83-5=78" ]
Current State: 78:[30, 65, 83, 17], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [65, 83, 13] Generated Node #2: [65, 83, 13] from Operation: 30-17=13 Current State: 78:[65, 83, 13], Operations: ['30-17=13'] Exploring Operation: 65/13=5, Resulting Numbers: [83, 5] Generated Node #3: [83, 5] from Operation: 65/13=5 Current State: 78:[83, 5], Operations: ['30-17=13', '65/13=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[30, 65, 83, 17], Operations: [] Exploring Operation: 65-30=35, Resulting Numbers: [83, 17, 35] Generated Node #0,0: 78:[83, 17, 35] Operation: 65-30=35 Exploring Operation: 83-65=18, Resulting Numbers: [30, 17, 18] Generated Node #0,1: 78:[30, 17, 18] Operation: 83-65=18 Exploring Operation: 30-17=13, Resulting Numbers: [65, 83, 13] Generated Node #0,2: 78:[65, 83, 13] Operation: 30-17=13 Exploring Operation: 65+17=82, Resulting Numbers: [30, 83, 82] Generated Node #0,3: 78:[30, 83, 82] Operation: 65+17=82 Exploring Operation: 65-17=48, Resulting Numbers: [30, 83, 48] Generated Node #0,4: 78:[30, 83, 48] Operation: 65-17=48 Moving to Node #0,0 Current State: 78:[83, 17, 35], Operations: ['65-30=35'] Exploring Operation: 17+35=52, Resulting Numbers: [83, 52] Generated Node #0,0,0: 78:[83, 52] Operation: 17+35=52 Exploring Operation: 83-35=48, Resulting Numbers: [17, 48] Generated Node #0,0,1: 78:[17, 48] Operation: 83-35=48 Exploring Operation: 35-17=18, Resulting Numbers: [83, 18] Generated Node #0,0,2: 78:[83, 18] Operation: 35-17=18 Exploring Operation: 83-17=66, Resulting Numbers: [35, 66] Generated Node #0,0,3: 78:[35, 66] Operation: 83-17=66 Exploring Operation: 83+17=100, Resulting Numbers: [35, 100] Generated Node #0,0,4: 78:[35, 100] Operation: 83+17=100 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[83, 18], Operations: ['65-30=35', '35-17=18'] Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,78 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[17, 48], Operations: ['65-30=35', '83-35=48'] Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[35, 66], Operations: ['65-30=35', '83-17=66'] Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,78 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[83, 52], Operations: ['65-30=35', '17+35=52'] Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 83+52=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 83*52=4316, Resulting Numbers: [4316] 4316,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 78:[35, 100], Operations: ['65-30=35', '83+17=100'] Exploring Operation: 100-35=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 35+100=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 35*100=3500, Resulting Numbers: [3500] 3500,78 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: 78:[30, 83, 82], Operations: ['65+17=82'] Exploring Operation: 83-30=53, Resulting Numbers: [82, 53] Generated Node #0,3,0: 78:[82, 53] Operation: 83-30=53 Exploring Operation: 83-82=1, Resulting Numbers: [30, 1] Generated Node #0,3,1: 78:[30, 1] Operation: 83-82=1 Exploring Operation: 30+82=112, Resulting Numbers: [83, 112] Generated Node #0,3,2: 78:[83, 112] Operation: 30+82=112 Exploring Operation: 30+83=113, Resulting Numbers: [82, 113] Generated Node #0,3,3: 78:[82, 113] Operation: 30+83=113 Exploring Operation: 82-30=52, Resulting Numbers: [83, 52] Generated Node #0,3,4: 78:[83, 52] Operation: 82-30=52 Moving to Node #0,1 Current State: 78:[30, 17, 18], Operations: ['83-65=18'] Exploring Operation: 30+17=47, Resulting Numbers: [18, 47] Generated Node #0,1,0: 78:[18, 47] Operation: 30+17=47 Exploring Operation: 17+18=35, Resulting Numbers: [30, 35] Generated Node #0,1,1: 78:[30, 35] Operation: 17+18=35 Exploring Operation: 30-17=13, Resulting Numbers: [18, 13] Generated Node #0,1,2: 78:[18, 13] Operation: 30-17=13 Exploring Operation: 18-17=1, Resulting Numbers: [30, 1] Generated Node #0,1,3: 78:[30, 1] Operation: 18-17=1 Exploring Operation: 30-18=12, Resulting Numbers: [17, 12] Generated Node #0,1,4: 78:[17, 12] Operation: 30-18=12 Moving to Node #0,2 Current State: 78:[65, 83, 13], Operations: ['30-17=13'] Exploring Operation: 83-13=70, Resulting Numbers: [65, 70] Generated Node #0,2,0: 78:[65, 70] Operation: 83-13=70 Exploring Operation: 83-65=18, Resulting Numbers: [13, 18] Generated Node #0,2,1: 78:[13, 18] Operation: 83-65=18 Exploring Operation: 65+13=78, Resulting Numbers: [83, 78] Generated Node #0,2,2: 78:[83, 78] Operation: 65+13=78 Exploring Operation: 65/13=5, Resulting Numbers: [83, 5] Generated Node #0,2,3: 78:[83, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [83, 52] Generated Node #0,2,4: 78:[83, 52] Operation: 65-13=52 Moving to Node #0,4 Current State: 78:[30, 83, 48], Operations: ['65-17=48'] Exploring Operation: 30+83=113, Resulting Numbers: [48, 113] Generated Node #0,4,0: 78:[48, 113] Operation: 30+83=113 Exploring Operation: 83-30=53, Resulting Numbers: [48, 53] Generated Node #0,4,1: 78:[48, 53] Operation: 83-30=53 Exploring Operation: 83-48=35, Resulting Numbers: [30, 35] Generated Node #0,4,2: 78:[30, 35] Operation: 83-48=35 Exploring Operation: 48-30=18, Resulting Numbers: [83, 18] Generated Node #0,4,3: 78:[83, 18] Operation: 48-30=18 Exploring Operation: 30+48=78, Resulting Numbers: [83, 78] Generated Node #0,4,4: 78:[83, 78] Operation: 30+48=78 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 78:[83, 78], Operations: ['65-17=48', '30+48=78'] Exploring Operation: 83*78=6474, Resulting Numbers: [6474] 6474,78 unequal: No Solution Exploring Operation: 83+78=161, Resulting Numbers: [161] 161,78 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 78:[30, 35], Operations: ['65-17=48', '83-48=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,78 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[83, 18], Operations: ['65-17=48', '48-30=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,78 unequal: No Solution Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 78:[48, 53], Operations: ['65-17=48', '83-30=53'] Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 78:[48, 113], Operations: ['65-17=48', '30+83=113'] Exploring Operation: 48*113=5424, Resulting Numbers: [5424] 5424,78 unequal: No Solution Exploring Operation: 48+113=161, Resulting Numbers: [161] 161,78 unequal: No Solution Exploring Operation: 113-48=65, Resulting Numbers: [65] 65,78 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: 78:[30, 1], Operations: ['65+17=82', '83-82=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[18, 13], Operations: ['83-65=18', '30-17=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,78 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[30, 1], Operations: ['83-65=18', '18-17=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[83, 78], Operations: ['30-17=13', '65+13=78'] Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 83*78=6474, Resulting Numbers: [6474] 6474,78 unequal: No Solution Exploring Operation: 83+78=161, Resulting Numbers: [161] 161,78 unequal: No Solution Moving to Node #0,1,4 Current State: 78:[17, 12], Operations: ['83-65=18', '30-18=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,78 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[13, 18], Operations: ['30-17=13', '83-65=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,78 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[83, 5], Operations: ['30-17=13', '65/13=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,78 unequal: No Solution Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,78 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[30, 65, 83, 17], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [65, 83, 13] Generated Node #0,2: 78:[65, 83, 13] Operation: 30-17=13 Moving to Node #0,2 Current State: 78:[65, 83, 13], Operations: ['30-17=13'] Exploring Operation: 65/13=5, Resulting Numbers: [83, 5] Generated Node #0,2,3: 78:[83, 5] Operation: 65/13=5 Moving to Node #0,2,3 Current State: 78:[83, 5], Operations: ['30-17=13', '65/13=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.924479
hs_5
mult_heuristic
[ 78, 18, 21, 17 ]
92
[ "78+18=96", "21-17=4", "96-4=92" ]
Current State: 92:[78, 18, 21, 17], Operations: [] Exploring Operation: 78+18=96, Resulting Numbers: [21, 17, 96] Generated Node #2: [21, 17, 96] from Operation: 78+18=96 Current State: 92:[21, 17, 96], Operations: ['78+18=96'] Exploring Operation: 21-17=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 21-17=4 Current State: 92:[96, 4], Operations: ['78+18=96', '21-17=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[78, 18, 21, 17], Operations: [] Exploring Operation: 78+18=96, Resulting Numbers: [21, 17, 96] Generated Node #0,0: 92:[21, 17, 96] Operation: 78+18=96 Exploring Operation: 78+21=99, Resulting Numbers: [18, 17, 99] Generated Node #0,1: 92:[18, 17, 99] Operation: 78+21=99 Exploring Operation: 18-17=1, Resulting Numbers: [78, 21, 1] Generated Node #0,2: 92:[78, 21, 1] Operation: 18-17=1 Exploring Operation: 78+17=95, Resulting Numbers: [18, 21, 95] Generated Node #0,3: 92:[18, 21, 95] Operation: 78+17=95 Moving to Node #0,3 Current State: 92:[18, 21, 95], Operations: ['78+17=95'] Exploring Operation: 95-18=77, Resulting Numbers: [21, 77] Generated Node #0,3,0: 92:[21, 77] Operation: 95-18=77 Exploring Operation: 21-18=3, Resulting Numbers: [95, 3] Generated Node #0,3,1: 92:[95, 3] Operation: 21-18=3 Exploring Operation: 18+95=113, Resulting Numbers: [21, 113] Generated Node #0,3,2: 92:[21, 113] Operation: 18+95=113 Exploring Operation: 18+21=39, Resulting Numbers: [95, 39] Generated Node #0,3,3: 92:[95, 39] Operation: 18+21=39 Moving to Node #0,0 Current State: 92:[21, 17, 96], Operations: ['78+18=96'] Exploring Operation: 21+17=38, Resulting Numbers: [96, 38] Generated Node #0,0,0: 92:[96, 38] Operation: 21+17=38 Exploring Operation: 96-21=75, Resulting Numbers: [17, 75] Generated Node #0,0,1: 92:[17, 75] Operation: 96-21=75 Exploring Operation: 21-17=4, Resulting Numbers: [96, 4] Generated Node #0,0,2: 92:[96, 4] Operation: 21-17=4 Exploring Operation: 96-17=79, Resulting Numbers: [21, 79] Generated Node #0,0,3: 92:[21, 79] Operation: 96-17=79 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[96, 4], Operations: ['78+18=96', '21-17=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[78, 18, 21, 17], Operations: [] Exploring Operation: 78+18=96, Resulting Numbers: [21, 17, 96] Generated Node #0,0: 92:[21, 17, 96] Operation: 78+18=96 Moving to Node #0,0 Current State: 92:[21, 17, 96], Operations: ['78+18=96'] Exploring Operation: 21-17=4, Resulting Numbers: [96, 4] Generated Node #0,0,2: 92:[96, 4] Operation: 21-17=4 Moving to Node #0,0,2 Current State: 92:[96, 4], Operations: ['78+18=96', '21-17=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 66, 90, 44, 18 ]
63
[ "66*18=1188", "1188/44=27", "90-27=63" ]
Current State: 63:[66, 90, 44, 18], Operations: [] Exploring Operation: 66*18=1188, Resulting Numbers: [90, 44, 1188] Generated Node #2: [90, 44, 1188] from Operation: 66*18=1188 Current State: 63:[90, 44, 1188], Operations: ['66*18=1188'] Exploring Operation: 1188/44=27, Resulting Numbers: [90, 27] Generated Node #3: [90, 27] from Operation: 1188/44=27 Current State: 63:[90, 27], Operations: ['66*18=1188', '1188/44=27'] Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[66, 90, 44, 18], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [66, 18, 46] Generated Node #0,0: 63:[66, 18, 46] Operation: 90-44=46 Moving to Node #0,0 Current State: 63:[66, 18, 46], Operations: ['90-44=46'] Exploring Operation: 66-46=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 63:[18, 20] Operation: 66-46=20 Moving to Node #0,0,0 Current State: 63:[18, 20], Operations: ['90-44=46', '66-46=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,63 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 60, 50, 41, 47 ]
60
[ "60-50=10", "47-41=6", "10*6=60" ]
Current State: 60:[60, 50, 41, 47], Operations: [] Exploring Operation: 60-50=10, Resulting Numbers: [41, 47, 10] Generated Node #2: [41, 47, 10] from Operation: 60-50=10 Current State: 60:[41, 47, 10], Operations: ['60-50=10'] Exploring Operation: 47-41=6, Resulting Numbers: [10, 6] Generated Node #3: [10, 6] from Operation: 47-41=6 Current State: 60:[10, 6], Operations: ['60-50=10', '47-41=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[60, 50, 41, 47], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [60, 50, 6] Generated Node #0,0: 60:[60, 50, 6] Operation: 47-41=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[60, 50, 6], Operations: ['47-41=6'] Exploring Operation: 60-50=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 60:[6, 10] Operation: 60-50=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[6, 10], Operations: ['47-41=6', '60-50=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[60, 50, 41, 47], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [60, 50, 6] Generated Node #0,0: 60:[60, 50, 6] Operation: 47-41=6 Moving to Node #0,0 Current State: 60:[60, 50, 6], Operations: ['47-41=6'] Exploring Operation: 60-50=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 60:[6, 10] Operation: 60-50=10 Moving to Node #0,0,0 Current State: 60:[6, 10], Operations: ['47-41=6', '60-50=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 71, 6, 8, 86 ]
72
[ "71+6=77", "86-77=9", "8*9=72" ]
Current State: 72:[71, 6, 8, 86], Operations: [] Exploring Operation: 71+6=77, Resulting Numbers: [8, 86, 77] Generated Node #2: [8, 86, 77] from Operation: 71+6=77 Current State: 72:[8, 86, 77], Operations: ['71+6=77'] Exploring Operation: 86-77=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 86-77=9 Current State: 72:[8, 9], Operations: ['71+6=77', '86-77=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[71, 6, 8, 86], Operations: [] Exploring Operation: 86-71=15, Resulting Numbers: [6, 8, 15] Generated Node #0,0: 72:[6, 8, 15] Operation: 86-71=15 Exploring Operation: 86-6=80, Resulting Numbers: [71, 8, 80] Generated Node #0,1: 72:[71, 8, 80] Operation: 86-6=80 Exploring Operation: 8-6=2, Resulting Numbers: [71, 86, 2] Generated Node #0,2: 72:[71, 86, 2] Operation: 8-6=2 Exploring Operation: 86-8=78, Resulting Numbers: [71, 6, 78] Generated Node #0,3: 72:[71, 6, 78] Operation: 86-8=78 Moving to Node #0,0 Current State: 72:[6, 8, 15], Operations: ['86-71=15'] Exploring Operation: 15-6=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 72:[8, 9] Operation: 15-6=9 Exploring Operation: 8+15=23, Resulting Numbers: [6, 23] Generated Node #0,0,1: 72:[6, 23] Operation: 8+15=23 Exploring Operation: 8-6=2, Resulting Numbers: [15, 2] Generated Node #0,0,2: 72:[15, 2] Operation: 8-6=2 Exploring Operation: 15-8=7, Resulting Numbers: [6, 7] Generated Node #0,0,3: 72:[6, 7] Operation: 15-8=7 Moving to Node #0,3 Current State: 72:[71, 6, 78], Operations: ['86-8=78'] Exploring Operation: 78-71=7, Resulting Numbers: [6, 7] Generated Node #0,3,0: 72:[6, 7] Operation: 78-71=7 Exploring Operation: 78/6=13, Resulting Numbers: [71, 13] Generated Node #0,3,1: 72:[71, 13] Operation: 78/6=13 Exploring Operation: 71+6=77, Resulting Numbers: [78, 77] Generated Node #0,3,2: 72:[78, 77] Operation: 71+6=77 Exploring Operation: 78-6=72, Resulting Numbers: [71, 72] Generated Node #0,3,3: 72:[71, 72] Operation: 78-6=72 Moving to Node #0,1 Current State: 72:[71, 8, 80], Operations: ['86-6=80'] Exploring Operation: 80-71=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 72:[8, 9] Operation: 80-71=9 Exploring Operation: 80-8=72, Resulting Numbers: [71, 72] Generated Node #0,1,1: 72:[71, 72] Operation: 80-8=72 Exploring Operation: 80/8=10, Resulting Numbers: [71, 10] Generated Node #0,1,2: 72:[71, 10] Operation: 80/8=10 Exploring Operation: 71+8=79, Resulting Numbers: [80, 79] Generated Node #0,1,3: 72:[80, 79] Operation: 71+8=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[8, 9], Operations: ['86-6=80', '80-71=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[71, 6, 8, 86], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [71, 8, 80] Generated Node #0,1: 72:[71, 8, 80] Operation: 86-6=80 Moving to Node #0,1 Current State: 72:[71, 8, 80], Operations: ['86-6=80'] Exploring Operation: 80-71=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 72:[8, 9] Operation: 80-71=9 Moving to Node #0,1,0 Current State: 72:[8, 9], Operations: ['86-6=80', '80-71=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 63, 53, 97, 2 ]
27
[ "63+97=160", "160/2=80", "80-53=27" ]
Current State: 27:[63, 53, 97, 2], Operations: [] Exploring Operation: 63+97=160, Resulting Numbers: [53, 2, 160] Generated Node #2: [53, 2, 160] from Operation: 63+97=160 Current State: 27:[53, 2, 160], Operations: ['63+97=160'] Exploring Operation: 160/2=80, Resulting Numbers: [53, 80] Generated Node #3: [53, 80] from Operation: 160/2=80 Current State: 27:[53, 80], Operations: ['63+97=160', '160/2=80'] Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[63, 53, 97, 2], Operations: [] Exploring Operation: 63-53=10, Resulting Numbers: [97, 2, 10] Generated Node #0,0: 27:[97, 2, 10] Operation: 63-53=10 Exploring Operation: 63-2=61, Resulting Numbers: [53, 97, 61] Generated Node #0,1: 27:[53, 97, 61] Operation: 63-2=61 Exploring Operation: 53-2=51, Resulting Numbers: [63, 97, 51] Generated Node #0,2: 27:[63, 97, 51] Operation: 53-2=51 Exploring Operation: 97-63=34, Resulting Numbers: [53, 2, 34] Generated Node #0,3: 27:[53, 2, 34] Operation: 97-63=34 Exploring Operation: 97-53=44, Resulting Numbers: [63, 2, 44] Generated Node #0,4: 27:[63, 2, 44] Operation: 97-53=44 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[53, 2, 34], Operations: ['97-63=34'] Exploring Operation: 53-2=51, Resulting Numbers: [34, 51] Generated Node #0,3,0: 27:[34, 51] Operation: 53-2=51 Exploring Operation: 34-2=32, Resulting Numbers: [53, 32] Generated Node #0,3,1: 27:[53, 32] Operation: 34-2=32 Exploring Operation: 53+2=55, Resulting Numbers: [34, 55] Generated Node #0,3,2: 27:[34, 55] Operation: 53+2=55 Exploring Operation: 34/2=17, Resulting Numbers: [53, 17] Generated Node #0,3,3: 27:[53, 17] Operation: 34/2=17 Exploring Operation: 53-34=19, Resulting Numbers: [2, 19] Generated Node #0,3,4: 27:[2, 19] Operation: 53-34=19 Moving to Node #0,3,4 Current State: 27:[2, 19], Operations: ['97-63=34', '53-34=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[53, 32], Operations: ['97-63=34', '34-2=32'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[34, 51], Operations: ['97-63=34', '53-2=51'] Exploring Operation: 34*51=1734, Resulting Numbers: [1734] 1734,27 unequal: No Solution Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[53, 17], Operations: ['97-63=34', '34/2=17'] Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,27 unequal: No Solution Exploring Operation: 53*17=901, Resulting Numbers: [901] 901,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[34, 55], Operations: ['97-63=34', '53+2=55'] Exploring Operation: 34+55=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 34*55=1870, Resulting Numbers: [1870] 1870,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[63, 2, 44], Operations: ['97-53=44'] Exploring Operation: 44/2=22, Resulting Numbers: [63, 22] Generated Node #0,4,0: 27:[63, 22] Operation: 44/2=22 Exploring Operation: 63-2=61, Resulting Numbers: [44, 61] Generated Node #0,4,1: 27:[44, 61] Operation: 63-2=61 Exploring Operation: 63+2=65, Resulting Numbers: [44, 65] Generated Node #0,4,2: 27:[44, 65] Operation: 63+2=65 Exploring Operation: 44-2=42, Resulting Numbers: [63, 42] Generated Node #0,4,3: 27:[63, 42] Operation: 44-2=42 Exploring Operation: 63-44=19, Resulting Numbers: [2, 19] Generated Node #0,4,4: 27:[2, 19] Operation: 63-44=19 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 27:[2, 19], Operations: ['97-53=44', '63-44=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 27:[63, 22], Operations: ['97-53=44', '44/2=22'] Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 27:[44, 61], Operations: ['97-53=44', '63-2=61'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 44*61=2684, Resulting Numbers: [2684] 2684,27 unequal: No Solution Exploring Operation: 44+61=105, Resulting Numbers: [105] 105,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 27:[63, 42], Operations: ['97-53=44', '44-2=42'] Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,27 unequal: No Solution Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 27:[44, 65], Operations: ['97-53=44', '63+2=65'] Exploring Operation: 44*65=2860, Resulting Numbers: [2860] 2860,27 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 44+65=109, Resulting Numbers: [109] 109,27 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: 27:[97, 2, 10], Operations: ['63-53=10'] Exploring Operation: 10-2=8, Resulting Numbers: [97, 8] Generated Node #0,0,0: 27:[97, 8] Operation: 10-2=8 Exploring Operation: 10/2=5, Resulting Numbers: [97, 5] Generated Node #0,0,1: 27:[97, 5] Operation: 10/2=5 Exploring Operation: 97-10=87, Resulting Numbers: [2, 87] Generated Node #0,0,2: 27:[2, 87] Operation: 97-10=87 Exploring Operation: 97-2=95, Resulting Numbers: [10, 95] Generated Node #0,0,3: 27:[10, 95] Operation: 97-2=95 Exploring Operation: 97+2=99, Resulting Numbers: [10, 99] Generated Node #0,0,4: 27:[10, 99] Operation: 97+2=99 Moving to Node #0,0,2 Current State: 27:[2, 87], Operations: ['63-53=10', '97-10=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,27 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[10, 95], Operations: ['63-53=10', '97-2=95'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 10+95=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 10*95=950, Resulting Numbers: [950] 950,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[97, 8], Operations: ['63-53=10', '10-2=8'] Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,27 unequal: No Solution Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[97, 5], Operations: ['63-53=10', '10/2=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 97*5=485, Resulting Numbers: [485] 485,27 unequal: No Solution Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[10, 99], Operations: ['63-53=10', '97+2=99'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 10+99=109, Resulting Numbers: [109] 109,27 unequal: No Solution Exploring Operation: 10*99=990, Resulting Numbers: [990] 990,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[53, 97, 61], Operations: ['63-2=61'] Exploring Operation: 97-61=36, Resulting Numbers: [53, 36] Generated Node #0,1,0: 27:[53, 36] Operation: 97-61=36 Exploring Operation: 53+97=150, Resulting Numbers: [61, 150] Generated Node #0,1,1: 27:[61, 150] Operation: 53+97=150 Exploring Operation: 61-53=8, Resulting Numbers: [97, 8] Generated Node #0,1,2: 27:[97, 8] Operation: 61-53=8 Exploring Operation: 53+61=114, Resulting Numbers: [97, 114] Generated Node #0,1,3: 27:[97, 114] Operation: 53+61=114 Exploring Operation: 97-53=44, Resulting Numbers: [61, 44] Generated Node #0,1,4: 27:[61, 44] Operation: 97-53=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[53, 36], Operations: ['63-2=61', '97-61=36'] Exploring Operation: 53*36=1908, Resulting Numbers: [1908] 1908,27 unequal: No Solution Exploring Operation: 53+36=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 27:[61, 44], Operations: ['63-2=61', '97-53=44'] Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,27 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 27:[97, 8], Operations: ['63-2=61', '61-53=8'] Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,27 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[61, 150], Operations: ['63-2=61', '53+97=150'] Exploring Operation: 61*150=9150, Resulting Numbers: [9150] 9150,27 unequal: No Solution Exploring Operation: 150-61=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 61+150=211, Resulting Numbers: [211] 211,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 27:[97, 114], Operations: ['63-2=61', '53+61=114'] Exploring Operation: 97+114=211, Resulting Numbers: [211] 211,27 unequal: No Solution Exploring Operation: 97*114=11058, Resulting Numbers: [11058] 11058,27 unequal: No Solution Exploring Operation: 114-97=17, Resulting Numbers: [17] 17,27 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: 27:[63, 97, 51], Operations: ['53-2=51'] Exploring Operation: 97-63=34, Resulting Numbers: [51, 34] Generated Node #0,2,0: 27:[51, 34] Operation: 97-63=34 Exploring Operation: 63-51=12, Resulting Numbers: [97, 12] Generated Node #0,2,1: 27:[97, 12] Operation: 63-51=12 Exploring Operation: 97-51=46, Resulting Numbers: [63, 46] Generated Node #0,2,2: 27:[63, 46] Operation: 97-51=46 Exploring Operation: 63+97=160, Resulting Numbers: [51, 160] Generated Node #0,2,3: 27:[51, 160] Operation: 63+97=160 Exploring Operation: 63+51=114, Resulting Numbers: [97, 114] Generated Node #0,2,4: 27:[97, 114] Operation: 63+51=114 Moving to Node #0,2,0 Current State: 27:[51, 34], Operations: ['53-2=51', '97-63=34'] Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[63, 46], Operations: ['53-2=51', '97-51=46'] Exploring Operation: 63*46=2898, Resulting Numbers: [2898] 2898,27 unequal: No Solution Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 63+46=109, Resulting Numbers: [109] 109,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[97, 12], Operations: ['53-2=51', '63-51=12'] Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 97+12=109, Resulting Numbers: [109] 109,27 unequal: No Solution Exploring Operation: 97*12=1164, Resulting Numbers: [1164] 1164,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[51, 160], Operations: ['53-2=51', '63+97=160'] Exploring Operation: 51+160=211, Resulting Numbers: [211] 211,27 unequal: No Solution Exploring Operation: 160-51=109, Resulting Numbers: [109] 109,27 unequal: No Solution Exploring Operation: 51*160=8160, Resulting Numbers: [8160] 8160,27 unequal: No Solution Moving to Node #0,2,4 Current State: 27:[97, 114], Operations: ['53-2=51', '63+51=114'] Exploring Operation: 97*114=11058, Resulting Numbers: [11058] 11058,27 unequal: No Solution Exploring Operation: 114-97=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 97+114=211, Resulting Numbers: [211] 211,27 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
[ 48, 92, 74, 84 ]
80
[ "92-84=8", "48/8=6", "74+6=80" ]
Current State: 80:[48, 92, 74, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [48, 74, 8] Generated Node #2: [48, 74, 8] from Operation: 92-84=8 Current State: 80:[48, 74, 8], Operations: ['92-84=8'] Exploring Operation: 48/8=6, Resulting Numbers: [74, 6] Generated Node #3: [74, 6] from Operation: 48/8=6 Current State: 80:[74, 6], Operations: ['92-84=8', '48/8=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[48, 92, 74, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [48, 74, 8] Generated Node #0,0: 80:[48, 74, 8] Operation: 92-84=8 Exploring Operation: 84-74=10, Resulting Numbers: [48, 92, 10] Generated Node #0,1: 80:[48, 92, 10] Operation: 84-74=10 Exploring Operation: 74-48=26, Resulting Numbers: [92, 84, 26] Generated Node #0,2: 80:[92, 84, 26] Operation: 74-48=26 Exploring Operation: 92-74=18, Resulting Numbers: [48, 84, 18] Generated Node #0,3: 80:[48, 84, 18] Operation: 92-74=18 Exploring Operation: 92-48=44, Resulting Numbers: [74, 84, 44] Generated Node #0,4: 80:[74, 84, 44] Operation: 92-48=44 Moving to Node #0,0 Current State: 80:[48, 74, 8], Operations: ['92-84=8'] Exploring Operation: 48-8=40, Resulting Numbers: [74, 40] Generated Node #0,0,0: 80:[74, 40] Operation: 48-8=40 Exploring Operation: 74+8=82, Resulting Numbers: [48, 82] Generated Node #0,0,1: 80:[48, 82] Operation: 74+8=82 Exploring Operation: 48/8=6, Resulting Numbers: [74, 6] Generated Node #0,0,2: 80:[74, 6] Operation: 48/8=6 Exploring Operation: 48+8=56, Resulting Numbers: [74, 56] Generated Node #0,0,3: 80:[74, 56] Operation: 48+8=56 Exploring Operation: 74-48=26, Resulting Numbers: [8, 26] Generated Node #0,0,4: 80:[8, 26] Operation: 74-48=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[74, 40], Operations: ['92-84=8', '48-8=40'] Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,80 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,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,0,4 Current State: 80:[8, 26], Operations: ['92-84=8', '74-48=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,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,0,2 Current State: 80:[74, 6], Operations: ['92-84=8', '48/8=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,80 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[48, 92, 74, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [48, 74, 8] Generated Node #0,0: 80:[48, 74, 8] Operation: 92-84=8 Moving to Node #0,0 Current State: 80:[48, 74, 8], Operations: ['92-84=8'] Exploring Operation: 48/8=6, Resulting Numbers: [74, 6] Generated Node #0,0,2: 80:[74, 6] Operation: 48/8=6 Moving to Node #0,0,2 Current State: 80:[74, 6], Operations: ['92-84=8', '48/8=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 20, 1, 72, 20 ]
71
[ "20+1=21", "72+20=92", "92-21=71" ]
Current State: 71:[20, 1, 72, 20], Operations: [] Exploring Operation: 20+1=21, Resulting Numbers: [72, 21] Generated Node #2: [72, 21] from Operation: 20+1=21 Current State: 71:[72, 21], Operations: ['20+1=21'] Exploring Operation: 72+20=92, Resulting Numbers: [21, 92] Generated Node #3: [21, 92] from Operation: 72+20=92 Current State: 71:[21, 92], Operations: ['20+1=21', '72+20=92'] Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[20, 1, 72, 20], Operations: [] Exploring Operation: 20+20=40, Resulting Numbers: [1, 72, 40] Generated Node #0,0: 71:[1, 72, 40] Operation: 20+20=40 Exploring Operation: 72-1=71, Resulting Numbers: [20, 20, 71] Generated Node #0,1: 71:[20, 20, 71] Operation: 72-1=71 Exploring Operation: 20+1=21, Resulting Numbers: [72, 20, 21] Generated Node #0,2: 71:[72, 20, 21] Operation: 20+1=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[1, 72, 40], Operations: ['20+20=40'] Exploring Operation: 1*72=72, Resulting Numbers: [40, 72] Generated Node #0,0,0: 71:[40, 72] Operation: 1*72=72 Exploring Operation: 72-1=71, Resulting Numbers: [40, 71] Generated Node #0,0,1: 71:[40, 71] Operation: 72-1=71 Exploring Operation: 1+40=41, Resulting Numbers: [72, 41] Generated Node #0,0,2: 71:[72, 41] Operation: 1+40=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[40, 71], Operations: ['20+20=40', '72-1=71'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[72, 41], Operations: ['20+20=40', '1+40=41'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,71 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[40, 72], Operations: ['20+20=40', '1*72=72'] Exploring Operation: 40+72=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 40*72=2880, Resulting Numbers: [2880] 2880,71 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: 71:[20, 20, 71], Operations: ['72-1=71'] Exploring Operation: 20+20=40, Resulting Numbers: [71, 40] Generated Node #0,1,0: 71:[71, 40] Operation: 20+20=40 Exploring Operation: 20-20=0, Resulting Numbers: [71, 0] Generated Node #0,1,1: 71:[71, 0] Operation: 20-20=0 Exploring Operation: 20/20=1, Resulting Numbers: [71, 1] Generated Node #0,1,2: 71:[71, 1] Operation: 20/20=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[71, 40], Operations: ['72-1=71', '20+20=40'] Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,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,1,2 Current State: 71:[71, 1], Operations: ['72-1=71', '20/20=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[20, 1, 72, 20], Operations: [] Exploring Operation: 72-1=71, Resulting Numbers: [20, 20, 71] Generated Node #0,1: 71:[20, 20, 71] Operation: 72-1=71 Moving to Node #0,1 Current State: 71:[20, 20, 71], Operations: ['72-1=71'] Exploring Operation: 20/20=1, Resulting Numbers: [71, 1] Generated Node #0,1,2: 71:[71, 1] Operation: 20/20=1 Moving to Node #0,1,2 Current State: 71:[71, 1], Operations: ['72-1=71', '20/20=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 69, 4, 87, 57 ]
95
[ "69-4=65", "87-57=30", "65+30=95" ]
Current State: 95:[69, 4, 87, 57], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [87, 57, 65] Generated Node #2: [87, 57, 65] from Operation: 69-4=65 Current State: 95:[87, 57, 65], Operations: ['69-4=65'] Exploring Operation: 87-57=30, Resulting Numbers: [65, 30] Generated Node #3: [65, 30] from Operation: 87-57=30 Current State: 95:[65, 30], Operations: ['69-4=65', '87-57=30'] Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[69, 4, 87, 57], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [4, 57, 18] Generated Node #0,0: 95:[4, 57, 18] Operation: 87-69=18 Exploring Operation: 69+57=126, Resulting Numbers: [4, 87, 126] Generated Node #0,1: 95:[4, 87, 126] Operation: 69+57=126 Exploring Operation: 69+4=73, Resulting Numbers: [87, 57, 73] Generated Node #0,2: 95:[87, 57, 73] Operation: 69+4=73 Exploring Operation: 69-57=12, Resulting Numbers: [4, 87, 12] Generated Node #0,3: 95:[4, 87, 12] Operation: 69-57=12 Exploring Operation: 87-57=30, Resulting Numbers: [69, 4, 30] Generated Node #0,4: 95:[69, 4, 30] Operation: 87-57=30 Moving to Node #0,3 Current State: 95:[4, 87, 12], Operations: ['69-57=12'] Exploring Operation: 12/4=3, Resulting Numbers: [87, 3] Generated Node #0,3,0: 95:[87, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [87, 8] Generated Node #0,3,1: 95:[87, 8] Operation: 12-4=8 Exploring Operation: 4+87=91, Resulting Numbers: [12, 91] Generated Node #0,3,2: 95:[12, 91] Operation: 4+87=91 Exploring Operation: 4+12=16, Resulting Numbers: [87, 16] Generated Node #0,3,3: 95:[87, 16] Operation: 4+12=16 Exploring Operation: 87+12=99, Resulting Numbers: [4, 99] Generated Node #0,3,4: 95:[4, 99] Operation: 87+12=99 Moving to Node #0,4 Current State: 95:[69, 4, 30], Operations: ['87-57=30'] Exploring Operation: 69-30=39, Resulting Numbers: [4, 39] Generated Node #0,4,0: 95:[4, 39] Operation: 69-30=39 Exploring Operation: 69+30=99, Resulting Numbers: [4, 99] Generated Node #0,4,1: 95:[4, 99] Operation: 69+30=99 Exploring Operation: 69-4=65, Resulting Numbers: [30, 65] Generated Node #0,4,2: 95:[30, 65] Operation: 69-4=65 Exploring Operation: 69+4=73, Resulting Numbers: [30, 73] Generated Node #0,4,3: 95:[30, 73] Operation: 69+4=73 Exploring Operation: 30-4=26, Resulting Numbers: [69, 26] Generated Node #0,4,4: 95:[69, 26] Operation: 30-4=26 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[4, 99], Operations: ['87-57=30', '69+30=99'] Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[69, 4, 87, 57], Operations: [] Exploring Operation: 87-57=30, Resulting Numbers: [69, 4, 30] Generated Node #0,4: 95:[69, 4, 30] Operation: 87-57=30 Moving to Node #0,4 Current State: 95:[69, 4, 30], Operations: ['87-57=30'] Exploring Operation: 69+30=99, Resulting Numbers: [4, 99] Generated Node #0,4,1: 95:[4, 99] Operation: 69+30=99 Moving to Node #0,4,1 Current State: 95:[4, 99], Operations: ['87-57=30', '69+30=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 30, 2, 44, 96 ]
47
[ "30+2=32", "96/32=3", "44+3=47" ]
Current State: 47:[30, 2, 44, 96], Operations: [] Exploring Operation: 30+2=32, Resulting Numbers: [44, 96, 32] Generated Node #2: [44, 96, 32] from Operation: 30+2=32 Current State: 47:[44, 96, 32], Operations: ['30+2=32'] Exploring Operation: 96/32=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 96/32=3 Current State: 47:[44, 3], Operations: ['30+2=32', '96/32=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[30, 2, 44, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [30, 44, 48] Generated Node #0,0: 47:[30, 44, 48] Operation: 96/2=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[30, 44, 48], Operations: ['96/2=48'] Exploring Operation: 30+44=74, Resulting Numbers: [48, 74] Generated Node #0,0,0: 47:[48, 74] Operation: 30+44=74 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[48, 74], Operations: ['96/2=48', '30+44=74'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 36, 36, 53, 39 ]
55
[ "39-36=3", "36*3=108", "108-53=55" ]
Current State: 55:[36, 36, 53, 39], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [53, 3] Generated Node #2: [53, 3] from Operation: 39-36=3 Current State: 55:[53, 3], Operations: ['39-36=3'] Exploring Operation: 36*3=108, Resulting Numbers: [53, 108] Generated Node #3: [53, 108] from Operation: 36*3=108 Current State: 55:[53, 108], Operations: ['39-36=3', '36*3=108'] Exploring Operation: 108-53=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[36, 36, 53, 39], Operations: [] Exploring Operation: 36/36=1, Resulting Numbers: [53, 39, 1] Generated Node #0,0: 55:[53, 39, 1] Operation: 36/36=1 Exploring Operation: 36-36=0, Resulting Numbers: [53, 39, 0] Generated Node #0,1: 55:[53, 39, 0] Operation: 36-36=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[53, 39, 1], Operations: ['36/36=1'] Exploring Operation: 53+1=54, Resulting Numbers: [39, 54] Generated Node #0,0,0: 55:[39, 54] Operation: 53+1=54 Exploring Operation: 53-39=14, Resulting Numbers: [1, 14] Generated Node #0,0,1: 55:[1, 14] Operation: 53-39=14 Moving to Node #0,0,1 Current State: 55:[1, 14], Operations: ['36/36=1', '53-39=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[39, 54], Operations: ['36/36=1', '53+1=54'] Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,55 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,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 Current State: 55:[53, 39, 0], Operations: ['36-36=0'] Exploring Operation: 39*0=0, Resulting Numbers: [53, 0] Generated Node #0,1,0: 55:[53, 0] Operation: 39*0=0 Exploring Operation: 53-39=14, Resulting Numbers: [0, 14] Generated Node #0,1,1: 55:[0, 14] Operation: 53-39=14 Moving to Node #0,1,0 Current State: 55:[53, 0], Operations: ['36-36=0', '39*0=0'] Exploring Operation: 53+0=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 53-0=53, Resulting Numbers: [53] 53,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[0, 14], Operations: ['36-36=0', '53-39=14'] Exploring Operation: 0+14=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,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
[ 58, 92, 42, 67 ]
41
[ "58+92=150", "42+67=109", "150-109=41" ]
Current State: 41:[58, 92, 42, 67], Operations: [] Exploring Operation: 58+92=150, Resulting Numbers: [42, 67, 150] Generated Node #2: [42, 67, 150] from Operation: 58+92=150 Current State: 41:[42, 67, 150], Operations: ['58+92=150'] Exploring Operation: 42+67=109, Resulting Numbers: [150, 109] Generated Node #3: [150, 109] from Operation: 42+67=109 Current State: 41:[150, 109], Operations: ['58+92=150', '42+67=109'] Exploring Operation: 150-109=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[58, 92, 42, 67], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [58, 67, 50] Generated Node #0,0: 41:[58, 67, 50] Operation: 92-42=50 Exploring Operation: 92-58=34, Resulting Numbers: [42, 67, 34] Generated Node #0,1: 41:[42, 67, 34] Operation: 92-58=34 Exploring Operation: 92-67=25, Resulting Numbers: [58, 42, 25] Generated Node #0,2: 41:[58, 42, 25] Operation: 92-67=25 Moving to Node #0,1 Current State: 41:[42, 67, 34], Operations: ['92-58=34'] Exploring Operation: 42-34=8, Resulting Numbers: [67, 8] Generated Node #0,1,0: 41:[67, 8] Operation: 42-34=8 Exploring Operation: 67-42=25, Resulting Numbers: [34, 25] Generated Node #0,1,1: 41:[34, 25] Operation: 67-42=25 Exploring Operation: 67-34=33, Resulting Numbers: [42, 33] Generated Node #0,1,2: 41:[42, 33] Operation: 67-34=33 Moving to Node #0,2 Current State: 41:[58, 42, 25], Operations: ['92-67=25'] Exploring Operation: 58-42=16, Resulting Numbers: [25, 16] Generated Node #0,2,0: 41:[25, 16] Operation: 58-42=16 Exploring Operation: 58-25=33, Resulting Numbers: [42, 33] Generated Node #0,2,1: 41:[42, 33] Operation: 58-25=33 Exploring Operation: 42-25=17, Resulting Numbers: [58, 17] Generated Node #0,2,2: 41:[58, 17] Operation: 42-25=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[42, 33], Operations: ['92-67=25', '58-25=33'] Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,41 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,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:[25, 16], Operations: ['92-67=25', '58-42=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,41 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[58, 92, 42, 67], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [58, 42, 25] Generated Node #0,2: 41:[58, 42, 25] Operation: 92-67=25 Moving to Node #0,2 Current State: 41:[58, 42, 25], Operations: ['92-67=25'] Exploring Operation: 58-42=16, Resulting Numbers: [25, 16] Generated Node #0,2,0: 41:[25, 16] Operation: 58-42=16 Moving to Node #0,2,0 Current State: 41:[25, 16], Operations: ['92-67=25', '58-42=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 55, 76, 74, 3 ]
81
[ "76-55=21", "21/3=7", "74+7=81" ]
Current State: 81:[55, 76, 74, 3], Operations: [] Exploring Operation: 76-55=21, Resulting Numbers: [74, 3, 21] Generated Node #2: [74, 3, 21] from Operation: 76-55=21 Current State: 81:[74, 3, 21], Operations: ['76-55=21'] Exploring Operation: 21/3=7, Resulting Numbers: [74, 7] Generated Node #3: [74, 7] from Operation: 21/3=7 Current State: 81:[74, 7], Operations: ['76-55=21', '21/3=7'] Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[55, 76, 74, 3], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [76, 3, 19] Generated Node #0,0: 81:[76, 3, 19] Operation: 74-55=19 Exploring Operation: 55+3=58, Resulting Numbers: [76, 74, 58] Generated Node #0,1: 81:[76, 74, 58] Operation: 55+3=58 Exploring Operation: 76-55=21, Resulting Numbers: [74, 3, 21] Generated Node #0,2: 81:[74, 3, 21] Operation: 76-55=21 Exploring Operation: 76-74=2, Resulting Numbers: [55, 3, 2] Generated Node #0,3: 81:[55, 3, 2] Operation: 76-74=2 Moving to Node #0,0 Current State: 81:[76, 3, 19], Operations: ['74-55=19'] Exploring Operation: 3+19=22, Resulting Numbers: [76, 22] Generated Node #0,0,0: 81:[76, 22] Operation: 3+19=22 Exploring Operation: 19-3=16, Resulting Numbers: [76, 16] Generated Node #0,0,1: 81:[76, 16] Operation: 19-3=16 Exploring Operation: 76+3=79, Resulting Numbers: [19, 79] Generated Node #0,0,2: 81:[19, 79] Operation: 76+3=79 Exploring Operation: 76/19=4, Resulting Numbers: [3, 4] Generated Node #0,0,3: 81:[3, 4] Operation: 76/19=4 Moving to Node #0,2 Current State: 81:[74, 3, 21], Operations: ['76-55=21'] Exploring Operation: 74+21=95, Resulting Numbers: [3, 95] Generated Node #0,2,0: 81:[3, 95] Operation: 74+21=95 Exploring Operation: 74+3=77, Resulting Numbers: [21, 77] Generated Node #0,2,1: 81:[21, 77] Operation: 74+3=77 Exploring Operation: 3+21=24, Resulting Numbers: [74, 24] Generated Node #0,2,2: 81:[74, 24] Operation: 3+21=24 Exploring Operation: 21/3=7, Resulting Numbers: [74, 7] Generated Node #0,2,3: 81:[74, 7] Operation: 21/3=7 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[74, 7], Operations: ['76-55=21', '21/3=7'] Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[55, 76, 74, 3], Operations: [] Exploring Operation: 76-55=21, Resulting Numbers: [74, 3, 21] Generated Node #0,2: 81:[74, 3, 21] Operation: 76-55=21 Moving to Node #0,2 Current State: 81:[74, 3, 21], Operations: ['76-55=21'] Exploring Operation: 21/3=7, Resulting Numbers: [74, 7] Generated Node #0,2,3: 81:[74, 7] Operation: 21/3=7 Moving to Node #0,2,3 Current State: 81:[74, 7], Operations: ['76-55=21', '21/3=7'] Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 28, 56, 49, 23 ]
27
[ "56-49=7", "28/7=4", "23+4=27" ]
Current State: 27:[28, 56, 49, 23], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [28, 23, 7] Generated Node #2: [28, 23, 7] from Operation: 56-49=7 Current State: 27:[28, 23, 7], Operations: ['56-49=7'] Exploring Operation: 28/7=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 28/7=4 Current State: 27:[23, 4], Operations: ['56-49=7', '28/7=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[28, 56, 49, 23], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [28, 23, 7] Generated Node #0,0: 27:[28, 23, 7] Operation: 56-49=7 Exploring Operation: 56/28=2, Resulting Numbers: [49, 23, 2] Generated Node #0,1: 27:[49, 23, 2] Operation: 56/28=2 Exploring Operation: 49-23=26, Resulting Numbers: [28, 56, 26] Generated Node #0,2: 27:[28, 56, 26] Operation: 49-23=26 Exploring Operation: 56-28=28, Resulting Numbers: [49, 23, 28] Generated Node #0,3: 27:[49, 23, 28] Operation: 56-28=28 Exploring Operation: 56-23=33, Resulting Numbers: [28, 49, 33] Generated Node #0,4: 27:[28, 49, 33] Operation: 56-23=33 Moving to Node #0,0 Current State: 27:[28, 23, 7], Operations: ['56-49=7'] Exploring Operation: 23+7=30, Resulting Numbers: [28, 30] Generated Node #0,0,0: 27:[28, 30] Operation: 23+7=30 Exploring Operation: 28-7=21, Resulting Numbers: [23, 21] Generated Node #0,0,1: 27:[23, 21] Operation: 28-7=21 Exploring Operation: 28/7=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 27:[23, 4] Operation: 28/7=4 Exploring Operation: 23-7=16, Resulting Numbers: [28, 16] Generated Node #0,0,3: 27:[28, 16] Operation: 23-7=16 Exploring Operation: 28-23=5, Resulting Numbers: [7, 5] Generated Node #0,0,4: 27:[7, 5] Operation: 28-23=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[28, 30], Operations: ['56-49=7', '23+7=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 27:[7, 5], Operations: ['56-49=7', '28-23=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[23, 4], Operations: ['56-49=7', '28/7=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[28, 56, 49, 23], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [28, 23, 7] Generated Node #0,0: 27:[28, 23, 7] Operation: 56-49=7 Moving to Node #0,0 Current State: 27:[28, 23, 7], Operations: ['56-49=7'] Exploring Operation: 28/7=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 27:[23, 4] Operation: 28/7=4 Moving to Node #0,0,2 Current State: 27:[23, 4], Operations: ['56-49=7', '28/7=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 35, 36, 50, 55 ]
33
[ "50+55=105", "105/35=3", "36-3=33" ]
Current State: 33:[35, 36, 50, 55], Operations: [] Exploring Operation: 50+55=105, Resulting Numbers: [35, 36, 105] Generated Node #2: [35, 36, 105] from Operation: 50+55=105 Current State: 33:[35, 36, 105], Operations: ['50+55=105'] Exploring Operation: 105/35=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 105/35=3 Current State: 33:[36, 3], Operations: ['50+55=105', '105/35=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[35, 36, 50, 55], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [35, 50, 19] Generated Node #0,0: 33:[35, 50, 19] Operation: 55-36=19 Exploring Operation: 55-50=5, Resulting Numbers: [35, 36, 5] Generated Node #0,1: 33:[35, 36, 5] Operation: 55-50=5 Exploring Operation: 50-36=14, Resulting Numbers: [35, 55, 14] Generated Node #0,2: 33:[35, 55, 14] Operation: 50-36=14 Moving to Node #0,1 Current State: 33:[35, 36, 5], Operations: ['55-50=5'] Exploring Operation: 36-35=1, Resulting Numbers: [5, 1] Generated Node #0,1,0: 33:[5, 1] Operation: 36-35=1 Exploring Operation: 35-5=30, Resulting Numbers: [36, 30] Generated Node #0,1,1: 33:[36, 30] Operation: 35-5=30 Exploring Operation: 36-5=31, Resulting Numbers: [35, 31] Generated Node #0,1,2: 33:[35, 31] Operation: 36-5=31 Moving to Node #0,0 Current State: 33:[35, 50, 19], Operations: ['55-36=19'] Exploring Operation: 50-35=15, Resulting Numbers: [19, 15] Generated Node #0,0,0: 33:[19, 15] Operation: 50-35=15 Exploring Operation: 35-19=16, Resulting Numbers: [50, 16] Generated Node #0,0,1: 33:[50, 16] Operation: 35-19=16 Exploring Operation: 50-19=31, Resulting Numbers: [35, 31] Generated Node #0,0,2: 33:[35, 31] Operation: 50-19=31 Moving to Node #0,2 Current State: 33:[35, 55, 14], Operations: ['50-36=14'] Exploring Operation: 35-14=21, Resulting Numbers: [55, 21] Generated Node #0,2,0: 33:[55, 21] Operation: 35-14=21 Exploring Operation: 55-35=20, Resulting Numbers: [14, 20] Generated Node #0,2,1: 33:[14, 20] Operation: 55-35=20 Exploring Operation: 55-14=41, Resulting Numbers: [35, 41] Generated Node #0,2,2: 33:[35, 41] Operation: 55-14=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[35, 41], Operations: ['50-36=14', '55-14=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,33 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[14, 20], Operations: ['50-36=14', '55-35=20'] Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,33 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[55, 21], Operations: ['50-36=14', '35-14=21'] Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,33 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,33 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: 33:[5, 1], Operations: ['55-50=5', '36-35=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[35, 31], Operations: ['55-50=5', '36-5=31'] Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,33 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[35, 31], Operations: ['55-36=19', '50-19=31'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,33 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[36, 30], Operations: ['55-50=5', '35-5=30'] Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[19, 15], Operations: ['55-36=19', '50-35=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[50, 16], Operations: ['55-36=19', '35-19=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,33 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,33 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 70, 32, 71, 37 ]
70
[ "70-32=38", "71+37=108", "108-38=70" ]
Current State: 70:[70, 32, 71, 37], Operations: [] Exploring Operation: 70-32=38, Resulting Numbers: [71, 37, 38] Generated Node #2: [71, 37, 38] from Operation: 70-32=38 Current State: 70:[71, 37, 38], Operations: ['70-32=38'] Exploring Operation: 71+37=108, Resulting Numbers: [38, 108] Generated Node #3: [38, 108] from Operation: 71+37=108 Current State: 70:[38, 108], Operations: ['70-32=38', '71+37=108'] Exploring Operation: 108-38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[70, 32, 71, 37], Operations: [] Exploring Operation: 32+37=69, Resulting Numbers: [70, 71, 69] Generated Node #0,0: 70:[70, 71, 69] Operation: 32+37=69 Exploring Operation: 37-32=5, Resulting Numbers: [70, 71, 5] Generated Node #0,1: 70:[70, 71, 5] Operation: 37-32=5 Moving to Node #0,1 Current State: 70:[70, 71, 5], Operations: ['37-32=5'] Exploring Operation: 71-70=1, Resulting Numbers: [5, 1] Generated Node #0,1,0: 70:[5, 1] Operation: 71-70=1 Exploring Operation: 70/5=14, Resulting Numbers: [71, 14] Generated Node #0,1,1: 70:[71, 14] Operation: 70/5=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[5, 1], Operations: ['37-32=5', '71-70=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[71, 14], Operations: ['37-32=5', '70/5=14'] Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,70 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,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:[70, 71, 69], Operations: ['32+37=69'] Exploring Operation: 71-69=2, Resulting Numbers: [70, 2] Generated Node #0,0,0: 70:[70, 2] Operation: 71-69=2 Exploring Operation: 71-70=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 70:[69, 1] Operation: 71-70=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[70, 2], Operations: ['32+37=69', '71-69=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[69, 1], Operations: ['32+37=69', '71-70=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[70, 32, 71, 37], Operations: [] Exploring Operation: 32+37=69, Resulting Numbers: [70, 71, 69] Generated Node #0,0: 70:[70, 71, 69] Operation: 32+37=69 Moving to Node #0,0 Current State: 70:[70, 71, 69], Operations: ['32+37=69'] Exploring Operation: 71-70=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 70:[69, 1] Operation: 71-70=1 Moving to Node #0,0,1 Current State: 70:[69, 1], Operations: ['32+37=69', '71-70=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 36, 73, 79, 68 ]
48
[ "73-36=37", "79-68=11", "37+11=48" ]
Current State: 48:[36, 73, 79, 68], Operations: [] Exploring Operation: 73-36=37, Resulting Numbers: [79, 68, 37] Generated Node #2: [79, 68, 37] from Operation: 73-36=37 Current State: 48:[79, 68, 37], Operations: ['73-36=37'] Exploring Operation: 79-68=11, Resulting Numbers: [37, 11] Generated Node #3: [37, 11] from Operation: 79-68=11 Current State: 48:[37, 11], Operations: ['73-36=37', '79-68=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[36, 73, 79, 68], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [36, 79, 5] Generated Node #0,0: 48:[36, 79, 5] Operation: 73-68=5 Exploring Operation: 79-73=6, Resulting Numbers: [36, 68, 6] Generated Node #0,1: 48:[36, 68, 6] Operation: 79-73=6 Exploring Operation: 79-68=11, Resulting Numbers: [36, 73, 11] Generated Node #0,2: 48:[36, 73, 11] Operation: 79-68=11 Exploring Operation: 79-36=43, Resulting Numbers: [73, 68, 43] Generated Node #0,3: 48:[73, 68, 43] Operation: 79-36=43 Moving to Node #0,1 Current State: 48:[36, 68, 6], Operations: ['79-73=6'] Exploring Operation: 36-6=30, Resulting Numbers: [68, 30] Generated Node #0,1,0: 48:[68, 30] Operation: 36-6=30 Exploring Operation: 36+6=42, Resulting Numbers: [68, 42] Generated Node #0,1,1: 48:[68, 42] Operation: 36+6=42 Exploring Operation: 36/6=6, Resulting Numbers: [68, 6] Generated Node #0,1,2: 48:[68, 6] Operation: 36/6=6 Exploring Operation: 68-36=32, Resulting Numbers: [6, 32] Generated Node #0,1,3: 48:[6, 32] Operation: 68-36=32 Moving to Node #0,2 Current State: 48:[36, 73, 11], Operations: ['79-68=11'] Exploring Operation: 73-36=37, Resulting Numbers: [11, 37] Generated Node #0,2,0: 48:[11, 37] Operation: 73-36=37 Exploring Operation: 36-11=25, Resulting Numbers: [73, 25] Generated Node #0,2,1: 48:[73, 25] Operation: 36-11=25 Exploring Operation: 36+11=47, Resulting Numbers: [73, 47] Generated Node #0,2,2: 48:[73, 47] Operation: 36+11=47 Exploring Operation: 73-11=62, Resulting Numbers: [36, 62] Generated Node #0,2,3: 48:[36, 62] Operation: 73-11=62 Moving to Node #0,0 Current State: 48:[36, 79, 5], Operations: ['73-68=5'] Exploring Operation: 79-36=43, Resulting Numbers: [5, 43] Generated Node #0,0,0: 48:[5, 43] Operation: 79-36=43 Exploring Operation: 36+5=41, Resulting Numbers: [79, 41] Generated Node #0,0,1: 48:[79, 41] Operation: 36+5=41 Exploring Operation: 36-5=31, Resulting Numbers: [79, 31] Generated Node #0,0,2: 48:[79, 31] Operation: 36-5=31 Exploring Operation: 79-5=74, Resulting Numbers: [36, 74] Generated Node #0,0,3: 48:[36, 74] Operation: 79-5=74 Moving to Node #0,3 Current State: 48:[73, 68, 43], Operations: ['79-36=43'] Exploring Operation: 73+43=116, Resulting Numbers: [68, 116] Generated Node #0,3,0: 48:[68, 116] Operation: 73+43=116 Exploring Operation: 73-43=30, Resulting Numbers: [68, 30] Generated Node #0,3,1: 48:[68, 30] Operation: 73-43=30 Exploring Operation: 68-43=25, Resulting Numbers: [73, 25] Generated Node #0,3,2: 48:[73, 25] Operation: 68-43=25 Exploring Operation: 73-68=5, Resulting Numbers: [43, 5] Generated Node #0,3,3: 48:[43, 5] Operation: 73-68=5 Moving to Node #0,0,0 Current State: 48:[5, 43], Operations: ['73-68=5', '79-36=43'] Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,48 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[36, 73, 79, 68], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [36, 79, 5] Generated Node #0,0: 48:[36, 79, 5] Operation: 73-68=5 Moving to Node #0,0 Current State: 48:[36, 79, 5], Operations: ['73-68=5'] Exploring Operation: 79-36=43, Resulting Numbers: [5, 43] Generated Node #0,0,0: 48:[5, 43] Operation: 79-36=43 Moving to Node #0,0,0 Current State: 48:[5, 43], Operations: ['73-68=5', '79-36=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.977431
hs_4
sum_heuristic
[ 40, 21, 29, 6 ]
30
[ "40*6=240", "29-21=8", "240/8=30" ]
Current State: 30:[40, 21, 29, 6], Operations: [] Exploring Operation: 40*6=240, Resulting Numbers: [21, 29, 240] Generated Node #2: [21, 29, 240] from Operation: 40*6=240 Current State: 30:[21, 29, 240], Operations: ['40*6=240'] Exploring Operation: 29-21=8, Resulting Numbers: [240, 8] Generated Node #3: [240, 8] from Operation: 29-21=8 Current State: 30:[240, 8], Operations: ['40*6=240', '29-21=8'] Exploring Operation: 240/8=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[40, 21, 29, 6], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [40, 6, 8] Generated Node #0,0: 30:[40, 6, 8] Operation: 29-21=8 Exploring Operation: 40-29=11, Resulting Numbers: [21, 6, 11] Generated Node #0,1: 30:[21, 6, 11] Operation: 40-29=11 Exploring Operation: 21-6=15, Resulting Numbers: [40, 29, 15] Generated Node #0,2: 30:[40, 29, 15] Operation: 21-6=15 Exploring Operation: 40-6=34, Resulting Numbers: [21, 29, 34] Generated Node #0,3: 30:[21, 29, 34] Operation: 40-6=34 Exploring Operation: 40-21=19, Resulting Numbers: [29, 6, 19] Generated Node #0,4: 30:[29, 6, 19] Operation: 40-21=19 Moving to Node #0,4 Current State: 30:[29, 6, 19], Operations: ['40-21=19'] Exploring Operation: 19-6=13, Resulting Numbers: [29, 13] Generated Node #0,4,0: 30:[29, 13] Operation: 19-6=13 Exploring Operation: 29-6=23, Resulting Numbers: [19, 23] Generated Node #0,4,1: 30:[19, 23] Operation: 29-6=23 Exploring Operation: 29-19=10, Resulting Numbers: [6, 10] Generated Node #0,4,2: 30:[6, 10] Operation: 29-19=10 Exploring Operation: 29+6=35, Resulting Numbers: [19, 35] Generated Node #0,4,3: 30:[19, 35] Operation: 29+6=35 Exploring Operation: 6+19=25, Resulting Numbers: [29, 25] Generated Node #0,4,4: 30:[29, 25] Operation: 6+19=25 Moving to Node #0,1 Current State: 30:[21, 6, 11], Operations: ['40-29=11'] Exploring Operation: 21+11=32, Resulting Numbers: [6, 32] Generated Node #0,1,0: 30:[6, 32] Operation: 21+11=32 Exploring Operation: 21-11=10, Resulting Numbers: [6, 10] Generated Node #0,1,1: 30:[6, 10] Operation: 21-11=10 Exploring Operation: 21+6=27, Resulting Numbers: [11, 27] Generated Node #0,1,2: 30:[11, 27] Operation: 21+6=27 Exploring Operation: 11-6=5, Resulting Numbers: [21, 5] Generated Node #0,1,3: 30:[21, 5] Operation: 11-6=5 Exploring Operation: 21-6=15, Resulting Numbers: [11, 15] Generated Node #0,1,4: 30:[11, 15] Operation: 21-6=15 Moving to Node #0,2 Current State: 30:[40, 29, 15], Operations: ['21-6=15'] Exploring Operation: 29+15=44, Resulting Numbers: [40, 44] Generated Node #0,2,0: 30:[40, 44] Operation: 29+15=44 Exploring Operation: 29-15=14, Resulting Numbers: [40, 14] Generated Node #0,2,1: 30:[40, 14] Operation: 29-15=14 Exploring Operation: 40+15=55, Resulting Numbers: [29, 55] Generated Node #0,2,2: 30:[29, 55] Operation: 40+15=55 Exploring Operation: 40-29=11, Resulting Numbers: [15, 11] Generated Node #0,2,3: 30:[15, 11] Operation: 40-29=11 Exploring Operation: 40-15=25, Resulting Numbers: [29, 25] Generated Node #0,2,4: 30:[29, 25] Operation: 40-15=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 30:[15, 11], Operations: ['21-6=15', '40-29=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,30 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 30:[29, 25], Operations: ['21-6=15', '40-15=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,30 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[40, 14], Operations: ['21-6=15', '29-15=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[40, 44], Operations: ['21-6=15', '29+15=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[29, 55], Operations: ['21-6=15', '40+15=55'] Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,30 unequal: No Solution Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,30 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: 30:[21, 29, 34], Operations: ['40-6=34'] Exploring Operation: 34-21=13, Resulting Numbers: [29, 13] Generated Node #0,3,0: 30:[29, 13] Operation: 34-21=13 Exploring Operation: 21+29=50, Resulting Numbers: [34, 50] Generated Node #0,3,1: 30:[34, 50] Operation: 21+29=50 Exploring Operation: 29-21=8, Resulting Numbers: [34, 8] Generated Node #0,3,2: 30:[34, 8] Operation: 29-21=8 Exploring Operation: 21+34=55, Resulting Numbers: [29, 55] Generated Node #0,3,3: 30:[29, 55] Operation: 21+34=55 Exploring Operation: 34-29=5, Resulting Numbers: [21, 5] Generated Node #0,3,4: 30:[21, 5] Operation: 34-29=5 Moving to Node #0,0 Current State: 30:[40, 6, 8], Operations: ['29-21=8'] Exploring Operation: 40-6=34, Resulting Numbers: [8, 34] Generated Node #0,0,0: 30:[8, 34] Operation: 40-6=34 Exploring Operation: 8-6=2, Resulting Numbers: [40, 2] Generated Node #0,0,1: 30:[40, 2] Operation: 8-6=2 Exploring Operation: 40-8=32, Resulting Numbers: [6, 32] Generated Node #0,0,2: 30:[6, 32] Operation: 40-8=32 Exploring Operation: 6+8=14, Resulting Numbers: [40, 14] Generated Node #0,0,3: 30:[40, 14] Operation: 6+8=14 Exploring Operation: 40/8=5, Resulting Numbers: [6, 5] Generated Node #0,0,4: 30:[6, 5] Operation: 40/8=5 Moving to Node #0,4,2 Current State: 30:[6, 10], Operations: ['40-21=19', '29-19=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[6, 10], Operations: ['40-29=11', '21-11=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,0,4 Current State: 30:[6, 5], Operations: ['29-21=8', '40/8=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[40, 21, 29, 6], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [40, 6, 8] Generated Node #0,0: 30:[40, 6, 8] Operation: 29-21=8 Moving to Node #0,0 Current State: 30:[40, 6, 8], Operations: ['29-21=8'] Exploring Operation: 40/8=5, Resulting Numbers: [6, 5] Generated Node #0,0,4: 30:[6, 5] Operation: 40/8=5 Moving to Node #0,0,4 Current State: 30:[6, 5], Operations: ['29-21=8', '40/8=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.951389
hs_5
sum_heuristic
[ 65, 77, 11, 49 ]
26
[ "77-65=12", "49-11=38", "38-12=26" ]
Current State: 26:[65, 77, 11, 49], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [11, 49, 12] Generated Node #2: [11, 49, 12] from Operation: 77-65=12 Current State: 26:[11, 49, 12], Operations: ['77-65=12'] Exploring Operation: 49-11=38, Resulting Numbers: [12, 38] Generated Node #3: [12, 38] from Operation: 49-11=38 Current State: 26:[12, 38], Operations: ['77-65=12', '49-11=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[65, 77, 11, 49], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [65, 11, 28] Generated Node #0,0: 26:[65, 11, 28] Operation: 77-49=28 Exploring Operation: 77/11=7, Resulting Numbers: [65, 49, 7] Generated Node #0,1: 26:[65, 49, 7] Operation: 77/11=7 Exploring Operation: 65-49=16, Resulting Numbers: [77, 11, 16] Generated Node #0,2: 26:[77, 11, 16] Operation: 65-49=16 Exploring Operation: 77-65=12, Resulting Numbers: [11, 49, 12] Generated Node #0,3: 26:[11, 49, 12] Operation: 77-65=12 Moving to Node #0,3 Current State: 26:[11, 49, 12], Operations: ['77-65=12'] Exploring Operation: 11+12=23, Resulting Numbers: [49, 23] Generated Node #0,3,0: 26:[49, 23] Operation: 11+12=23 Exploring Operation: 12-11=1, Resulting Numbers: [49, 1] Generated Node #0,3,1: 26:[49, 1] Operation: 12-11=1 Exploring Operation: 49-12=37, Resulting Numbers: [11, 37] Generated Node #0,3,2: 26:[11, 37] Operation: 49-12=37 Exploring Operation: 49-11=38, Resulting Numbers: [12, 38] Generated Node #0,3,3: 26:[12, 38] Operation: 49-11=38 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[11, 37], Operations: ['77-65=12', '49-12=37'] Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,26 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[65, 77, 11, 49], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [11, 49, 12] Generated Node #0,3: 26:[11, 49, 12] Operation: 77-65=12 Moving to Node #0,3 Current State: 26:[11, 49, 12], Operations: ['77-65=12'] Exploring Operation: 49-12=37, Resulting Numbers: [11, 37] Generated Node #0,3,2: 26:[11, 37] Operation: 49-12=37 Moving to Node #0,3,2 Current State: 26:[11, 37], Operations: ['77-65=12', '49-12=37'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 15, 64, 11, 56 ]
18
[ "64-15=49", "11+56=67", "67-49=18" ]
Current State: 18:[15, 64, 11, 56], Operations: [] Exploring Operation: 64-15=49, Resulting Numbers: [11, 56, 49] Generated Node #2: [11, 56, 49] from Operation: 64-15=49 Current State: 18:[11, 56, 49], Operations: ['64-15=49'] Exploring Operation: 11+56=67, Resulting Numbers: [49, 67] Generated Node #3: [49, 67] from Operation: 11+56=67 Current State: 18:[49, 67], Operations: ['64-15=49', '11+56=67'] Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[15, 64, 11, 56], Operations: [] Exploring Operation: 64-11=53, Resulting Numbers: [15, 56, 53] Generated Node #0,0: 18:[15, 56, 53] Operation: 64-11=53 Exploring Operation: 64-15=49, Resulting Numbers: [11, 56, 49] Generated Node #0,1: 18:[11, 56, 49] Operation: 64-15=49 Exploring Operation: 56-15=41, Resulting Numbers: [64, 11, 41] Generated Node #0,2: 18:[64, 11, 41] Operation: 56-15=41 Exploring Operation: 64-56=8, Resulting Numbers: [15, 11, 8] Generated Node #0,3: 18:[15, 11, 8] Operation: 64-56=8 Moving to Node #0,3 Current State: 18:[15, 11, 8], Operations: ['64-56=8'] Exploring Operation: 15-8=7, Resulting Numbers: [11, 7] Generated Node #0,3,0: 18:[11, 7] Operation: 15-8=7 Exploring Operation: 11+8=19, Resulting Numbers: [15, 19] Generated Node #0,3,1: 18:[15, 19] Operation: 11+8=19 Exploring Operation: 11-8=3, Resulting Numbers: [15, 3] Generated Node #0,3,2: 18:[15, 3] Operation: 11-8=3 Exploring Operation: 15-11=4, Resulting Numbers: [8, 4] Generated Node #0,3,3: 18:[8, 4] Operation: 15-11=4 Moving to Node #0,2 Current State: 18:[64, 11, 41], Operations: ['56-15=41'] Exploring Operation: 41-11=30, Resulting Numbers: [64, 30] Generated Node #0,2,0: 18:[64, 30] Operation: 41-11=30 Exploring Operation: 64-41=23, Resulting Numbers: [11, 23] Generated Node #0,2,1: 18:[11, 23] Operation: 64-41=23 Exploring Operation: 64-11=53, Resulting Numbers: [41, 53] Generated Node #0,2,2: 18:[41, 53] Operation: 64-11=53 Exploring Operation: 64+11=75, Resulting Numbers: [41, 75] Generated Node #0,2,3: 18:[41, 75] Operation: 64+11=75 Moving to Node #0,1 Current State: 18:[11, 56, 49], Operations: ['64-15=49'] Exploring Operation: 49-11=38, Resulting Numbers: [56, 38] Generated Node #0,1,0: 18:[56, 38] Operation: 49-11=38 Exploring Operation: 11+56=67, Resulting Numbers: [49, 67] Generated Node #0,1,1: 18:[49, 67] Operation: 11+56=67 Exploring Operation: 56-11=45, Resulting Numbers: [49, 45] Generated Node #0,1,2: 18:[49, 45] Operation: 56-11=45 Exploring Operation: 56-49=7, Resulting Numbers: [11, 7] Generated Node #0,1,3: 18:[11, 7] Operation: 56-49=7 Moving to Node #0,0 Current State: 18:[15, 56, 53], Operations: ['64-11=53'] Exploring Operation: 15+56=71, Resulting Numbers: [53, 71] Generated Node #0,0,0: 18:[53, 71] Operation: 15+56=71 Exploring Operation: 56-15=41, Resulting Numbers: [53, 41] Generated Node #0,0,1: 18:[53, 41] Operation: 56-15=41 Exploring Operation: 56-53=3, Resulting Numbers: [15, 3] Generated Node #0,0,2: 18:[15, 3] Operation: 56-53=3 Exploring Operation: 53-15=38, Resulting Numbers: [56, 38] Generated Node #0,0,3: 18:[56, 38] Operation: 53-15=38 Moving to Node #0,3,3 Current State: 18:[8, 4], Operations: ['64-56=8', '15-11=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[15, 3], Operations: ['64-56=8', '11-8=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[15, 64, 11, 56], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [15, 11, 8] Generated Node #0,3: 18:[15, 11, 8] Operation: 64-56=8 Moving to Node #0,3 Current State: 18:[15, 11, 8], Operations: ['64-56=8'] Exploring Operation: 11-8=3, Resulting Numbers: [15, 3] Generated Node #0,3,2: 18:[15, 3] Operation: 11-8=3 Moving to Node #0,3,2 Current State: 18:[15, 3], Operations: ['64-56=8', '11-8=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.973958
hs_4
sum_heuristic
[ 14, 11, 50, 65 ]
63
[ "14+11=25", "50/25=2", "65-2=63" ]
Current State: 63:[14, 11, 50, 65], Operations: [] Exploring Operation: 14+11=25, Resulting Numbers: [50, 65, 25] Generated Node #2: [50, 65, 25] from Operation: 14+11=25 Current State: 63:[50, 65, 25], Operations: ['14+11=25'] Exploring Operation: 50/25=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 50/25=2 Current State: 63:[65, 2], Operations: ['14+11=25', '50/25=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[14, 11, 50, 65], Operations: [] Exploring Operation: 14+11=25, Resulting Numbers: [50, 65, 25] Generated Node #0,0: 63:[50, 65, 25] Operation: 14+11=25 Exploring Operation: 65-50=15, Resulting Numbers: [14, 11, 15] Generated Node #0,1: 63:[14, 11, 15] Operation: 65-50=15 Exploring Operation: 11+50=61, Resulting Numbers: [14, 65, 61] Generated Node #0,2: 63:[14, 65, 61] Operation: 11+50=61 Exploring Operation: 14-11=3, Resulting Numbers: [50, 65, 3] Generated Node #0,3: 63:[50, 65, 3] Operation: 14-11=3 Exploring Operation: 14+50=64, Resulting Numbers: [11, 65, 64] Generated Node #0,4: 63:[11, 65, 64] Operation: 14+50=64 Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[11, 65, 64], Operations: ['14+50=64'] Exploring Operation: 64-11=53, Resulting Numbers: [65, 53] Generated Node #0,4,0: 63:[65, 53] Operation: 64-11=53 Exploring Operation: 65-64=1, Resulting Numbers: [11, 1] Generated Node #0,4,1: 63:[11, 1] Operation: 65-64=1 Exploring Operation: 11+65=76, Resulting Numbers: [64, 76] Generated Node #0,4,2: 63:[64, 76] Operation: 11+65=76 Exploring Operation: 65-11=54, Resulting Numbers: [64, 54] Generated Node #0,4,3: 63:[64, 54] Operation: 65-11=54 Exploring Operation: 11+64=75, Resulting Numbers: [65, 75] Generated Node #0,4,4: 63:[65, 75] Operation: 11+64=75 Moving to Node #0,4,1 Current State: 63:[11, 1], Operations: ['14+50=64', '65-64=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,63 unequal: No Solution Moving to Node #0,4,3 Current State: 63:[64, 54], Operations: ['14+50=64', '65-11=54'] Exploring Operation: 64+54=118, Resulting Numbers: [118] 118,63 unequal: No Solution Exploring Operation: 64-54=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 64*54=3456, Resulting Numbers: [3456] 3456,63 unequal: No Solution Moving to Node #0,4,0 Current State: 63:[65, 53], Operations: ['14+50=64', '64-11=53'] Exploring Operation: 65+53=118, Resulting Numbers: [118] 118,63 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 65*53=3445, Resulting Numbers: [3445] 3445,63 unequal: No Solution Moving to Node #0,4,2 Current State: 63:[64, 76], Operations: ['14+50=64', '11+65=76'] Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,63 unequal: No Solution Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,63 unequal: No Solution Moving to Node #0,4,4 Current State: 63:[65, 75], Operations: ['14+50=64', '11+64=75'] Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,63 unequal: No Solution Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,63 unequal: No Solution Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[14, 65, 61], Operations: ['11+50=61'] Exploring Operation: 65-61=4, Resulting Numbers: [14, 4] Generated Node #0,2,0: 63:[14, 4] Operation: 65-61=4 Exploring Operation: 65-14=51, Resulting Numbers: [61, 51] Generated Node #0,2,1: 63:[61, 51] Operation: 65-14=51 Exploring Operation: 61-14=47, Resulting Numbers: [65, 47] Generated Node #0,2,2: 63:[65, 47] Operation: 61-14=47 Exploring Operation: 14+61=75, Resulting Numbers: [65, 75] Generated Node #0,2,3: 63:[65, 75] Operation: 14+61=75 Exploring Operation: 14+65=79, Resulting Numbers: [61, 79] Generated Node #0,2,4: 63:[61, 79] Operation: 14+65=79 Moving to Node #0,2,0 Current State: 63:[14, 4], Operations: ['11+50=61', '65-61=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[65, 75], Operations: ['11+50=61', '14+61=75'] Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,63 unequal: No Solution Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[61, 51], Operations: ['11+50=61', '65-14=51'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,63 unequal: No Solution Exploring Operation: 61*51=3111, Resulting Numbers: [3111] 3111,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[65, 47], Operations: ['11+50=61', '61-14=47'] Exploring Operation: 65*47=3055, Resulting Numbers: [3055] 3055,63 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 65+47=112, Resulting Numbers: [112] 112,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[61, 79], Operations: ['11+50=61', '14+65=79'] Exploring Operation: 61+79=140, Resulting Numbers: [140] 140,63 unequal: No Solution Exploring Operation: 61*79=4819, Resulting Numbers: [4819] 4819,63 unequal: No Solution Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[14, 11, 15], Operations: ['65-50=15'] Exploring Operation: 15-14=1, Resulting Numbers: [11, 1] Generated Node #0,1,0: 63:[11, 1] Operation: 15-14=1 Exploring Operation: 14+11=25, Resulting Numbers: [15, 25] Generated Node #0,1,1: 63:[15, 25] Operation: 14+11=25 Exploring Operation: 14-11=3, Resulting Numbers: [15, 3] Generated Node #0,1,2: 63:[15, 3] Operation: 14-11=3 Exploring Operation: 15-11=4, Resulting Numbers: [14, 4] Generated Node #0,1,3: 63:[14, 4] Operation: 15-11=4 Exploring Operation: 14+15=29, Resulting Numbers: [11, 29] Generated Node #0,1,4: 63:[11, 29] Operation: 14+15=29 Moving to Node #0,1,0 Current State: 63:[11, 1], Operations: ['65-50=15', '15-14=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[14, 4], Operations: ['65-50=15', '15-11=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[15, 3], Operations: ['65-50=15', '14-11=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[15, 25], Operations: ['65-50=15', '14+11=25'] Exploring Operation: 15*25=375, Resulting Numbers: [375] 375,63 unequal: No Solution Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[11, 29], Operations: ['65-50=15', '14+15=29'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,63 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[50, 65, 3], Operations: ['14-11=3'] Exploring Operation: 50-3=47, Resulting Numbers: [65, 47] Generated Node #0,3,0: 63:[65, 47] Operation: 50-3=47 Exploring Operation: 65+3=68, Resulting Numbers: [50, 68] Generated Node #0,3,1: 63:[50, 68] Operation: 65+3=68 Exploring Operation: 65-3=62, Resulting Numbers: [50, 62] Generated Node #0,3,2: 63:[50, 62] Operation: 65-3=62 Exploring Operation: 50+3=53, Resulting Numbers: [65, 53] Generated Node #0,3,3: 63:[65, 53] Operation: 50+3=53 Exploring Operation: 65-50=15, Resulting Numbers: [3, 15] Generated Node #0,3,4: 63:[3, 15] Operation: 65-50=15 Moving to Node #0,3,4 Current State: 63:[3, 15], Operations: ['14-11=3', '65-50=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[65, 53], Operations: ['14-11=3', '50+3=53'] Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 65+53=118, Resulting Numbers: [118] 118,63 unequal: No Solution Exploring Operation: 65*53=3445, Resulting Numbers: [3445] 3445,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[50, 62], Operations: ['14-11=3', '65-3=62'] Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,63 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,63 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[65, 47], Operations: ['14-11=3', '50-3=47'] Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 65*47=3055, Resulting Numbers: [3055] 3055,63 unequal: No Solution Exploring Operation: 65+47=112, Resulting Numbers: [112] 112,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[50, 68], Operations: ['14-11=3', '65+3=68'] Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,63 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[50, 65, 25], Operations: ['14+11=25'] Exploring Operation: 65-25=40, Resulting Numbers: [50, 40] Generated Node #0,0,0: 63:[50, 40] Operation: 65-25=40 Exploring Operation: 50+25=75, Resulting Numbers: [65, 75] Generated Node #0,0,1: 63:[65, 75] Operation: 50+25=75 Exploring Operation: 65-50=15, Resulting Numbers: [25, 15] Generated Node #0,0,2: 63:[25, 15] Operation: 65-50=15 Exploring Operation: 50-25=25, Resulting Numbers: [65, 25] Generated Node #0,0,3: 63:[65, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [65, 2] Generated Node #0,0,4: 63:[65, 2] Operation: 50/25=2 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 63:[65, 2], Operations: ['14+11=25', '50/25=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[14, 11, 50, 65], Operations: [] Exploring Operation: 14+11=25, Resulting Numbers: [50, 65, 25] Generated Node #0,0: 63:[50, 65, 25] Operation: 14+11=25 Moving to Node #0,0 Current State: 63:[50, 65, 25], Operations: ['14+11=25'] Exploring Operation: 50/25=2, Resulting Numbers: [65, 2] Generated Node #0,0,4: 63:[65, 2] Operation: 50/25=2 Moving to Node #0,0,4 Current State: 63:[65, 2], Operations: ['14+11=25', '50/25=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.913194
hs_5
mult_heuristic
[ 2, 74, 24, 48 ]
97
[ "74+24=98", "98/2=49", "48+49=97" ]
Current State: 97:[2, 74, 24, 48], Operations: [] Exploring Operation: 74+24=98, Resulting Numbers: [2, 48, 98] Generated Node #2: [2, 48, 98] from Operation: 74+24=98 Current State: 97:[2, 48, 98], Operations: ['74+24=98'] Exploring Operation: 98/2=49, Resulting Numbers: [48, 49] Generated Node #3: [48, 49] from Operation: 98/2=49 Current State: 97:[48, 49], Operations: ['74+24=98', '98/2=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[2, 74, 24, 48], Operations: [] Exploring Operation: 2*24=48, Resulting Numbers: [74, 48, 48] Generated Node #0,0: 97:[74, 48, 48] Operation: 2*24=48 Exploring Operation: 2+74=76, Resulting Numbers: [24, 48, 76] Generated Node #0,1: 97:[24, 48, 76] Operation: 2+74=76 Exploring Operation: 2*48=96, Resulting Numbers: [74, 24, 96] Generated Node #0,2: 97:[74, 24, 96] Operation: 2*48=96 Exploring Operation: 2+24=26, Resulting Numbers: [74, 48, 26] Generated Node #0,3: 97:[74, 48, 26] Operation: 2+24=26 Moving to Node #0,2 Current State: 97:[74, 24, 96], Operations: ['2*48=96'] Exploring Operation: 74+24=98, Resulting Numbers: [96, 98] Generated Node #0,2,0: 97:[96, 98] Operation: 74+24=98 Exploring Operation: 24+96=120, Resulting Numbers: [74, 120] Generated Node #0,2,1: 97:[74, 120] Operation: 24+96=120 Exploring Operation: 96-24=72, Resulting Numbers: [74, 72] Generated Node #0,2,2: 97:[74, 72] Operation: 96-24=72 Exploring Operation: 74-24=50, Resulting Numbers: [96, 50] Generated Node #0,2,3: 97:[96, 50] Operation: 74-24=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[96, 98], Operations: ['2*48=96', '74+24=98'] Exploring Operation: 98-96=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 96*98=9408, Resulting Numbers: [9408] 9408,97 unequal: No Solution Exploring Operation: 96+98=194, Resulting Numbers: [194] 194,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:[74, 120], Operations: ['2*48=96', '24+96=120'] Exploring Operation: 120-74=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 74+120=194, Resulting Numbers: [194] 194,97 unequal: No Solution Exploring Operation: 74*120=8880, Resulting Numbers: [8880] 8880,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:[74, 72], Operations: ['2*48=96', '96-24=72'] Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 74*72=5328, Resulting Numbers: [5328] 5328,97 unequal: No Solution Exploring Operation: 74+72=146, Resulting Numbers: [146] 146,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,3 Current State: 97:[96, 50], Operations: ['2*48=96', '74-24=50'] Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 96+50=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 96*50=4800, Resulting Numbers: [4800] 4800,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 97:[74, 48, 48], Operations: ['2*24=48'] Exploring Operation: 48/48=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 97:[74, 1] Operation: 48/48=1 Exploring Operation: 74+48=122, Resulting Numbers: [48, 122] Generated Node #0,0,1: 97:[48, 122] Operation: 74+48=122 Exploring Operation: 74+48=122, Resulting Numbers: [48, 122] Generated Node #0,0,2: 97:[48, 122] Operation: 74+48=122 Exploring Operation: 48+48=96, Resulting Numbers: [74, 96] Generated Node #0,0,3: 97:[74, 96] Operation: 48+48=96 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[74, 96], Operations: ['2*24=48', '48+48=96'] Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,97 unequal: No Solution Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,97 unequal: No Solution Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[48, 122], Operations: ['2*24=48', '74+48=122'] Exploring Operation: 122-48=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 48*122=5856, Resulting Numbers: [5856] 5856,97 unequal: No Solution Exploring Operation: 48+122=170, Resulting Numbers: [170] 170,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[48, 122], Operations: ['2*24=48', '74+48=122'] Exploring Operation: 48+122=170, Resulting Numbers: [170] 170,97 unequal: No Solution Exploring Operation: 48*122=5856, Resulting Numbers: [5856] 5856,97 unequal: No Solution Exploring Operation: 122-48=74, Resulting Numbers: [74] 74,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[74, 1], Operations: ['2*24=48', '48/48=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,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:[74, 48, 26], Operations: ['2+24=26'] Exploring Operation: 48+26=74, Resulting Numbers: [74, 74] Generated Node #0,3,0: 97:[74, 74] Operation: 48+26=74 Exploring Operation: 74+26=100, Resulting Numbers: [48, 100] Generated Node #0,3,1: 97:[48, 100] Operation: 74+26=100 Exploring Operation: 74+48=122, Resulting Numbers: [26, 122] Generated Node #0,3,2: 97:[26, 122] Operation: 74+48=122 Exploring Operation: 74-26=48, Resulting Numbers: [48, 48] Generated Node #0,3,3: 97:[48, 48] Operation: 74-26=48 Moving to Node #0,1 Current State: 97:[24, 48, 76], Operations: ['2+74=76'] Exploring Operation: 76-24=52, Resulting Numbers: [48, 52] Generated Node #0,1,0: 97:[48, 52] Operation: 76-24=52 Exploring Operation: 24+76=100, Resulting Numbers: [48, 100] Generated Node #0,1,1: 97:[48, 100] Operation: 24+76=100 Exploring Operation: 24+48=72, Resulting Numbers: [76, 72] Generated Node #0,1,2: 97:[76, 72] Operation: 24+48=72 Exploring Operation: 48-24=24, Resulting Numbers: [76, 24] Generated Node #0,1,3: 97:[76, 24] Operation: 48-24=24 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[76, 72], Operations: ['2+74=76', '24+48=72'] Exploring Operation: 76+72=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 76*72=5472, Resulting Numbers: [5472] 5472,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:[48, 100], Operations: ['2+74=76', '24+76=100'] Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,97 unequal: No Solution Exploring Operation: 48*100=4800, Resulting Numbers: [4800] 4800,97 unequal: No Solution Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[48, 52], Operations: ['2+74=76', '76-24=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,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:[76, 24], Operations: ['2+74=76', '48-24=24'] Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,97 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 97:[74, 74], Operations: ['2+24=26', '48+26=74'] Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,97 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[48, 100], Operations: ['2+24=26', '74+26=100'] Exploring Operation: 48*100=4800, Resulting Numbers: [4800] 4800,97 unequal: No Solution Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,97 unequal: No Solution Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[26, 122], Operations: ['2+24=26', '74+48=122'] Exploring Operation: 122-26=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 26*122=3172, Resulting Numbers: [3172] 3172,97 unequal: No Solution Exploring Operation: 26+122=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[48, 48], Operations: ['2+24=26', '74-26=48'] Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,97 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,97 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 3, 76, 65, 80 ]
66
[ "3+76=79", "65+80=145", "145-79=66" ]
Current State: 66:[3, 76, 65, 80], Operations: [] Exploring Operation: 3+76=79, Resulting Numbers: [65, 80, 79] Generated Node #2: [65, 80, 79] from Operation: 3+76=79 Current State: 66:[65, 80, 79], Operations: ['3+76=79'] Exploring Operation: 65+80=145, Resulting Numbers: [79, 145] Generated Node #3: [79, 145] from Operation: 65+80=145 Current State: 66:[79, 145], Operations: ['3+76=79', '65+80=145'] Exploring Operation: 145-79=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[3, 76, 65, 80], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [3, 80, 11] Generated Node #0,0: 66:[3, 80, 11] Operation: 76-65=11 Exploring Operation: 80-76=4, Resulting Numbers: [3, 65, 4] Generated Node #0,1: 66:[3, 65, 4] Operation: 80-76=4 Exploring Operation: 80-65=15, Resulting Numbers: [3, 76, 15] Generated Node #0,2: 66:[3, 76, 15] Operation: 80-65=15 Moving to Node #0,1 Current State: 66:[3, 65, 4], Operations: ['80-76=4'] Exploring Operation: 3+4=7, Resulting Numbers: [65, 7] Generated Node #0,1,0: 66:[65, 7] Operation: 3+4=7 Exploring Operation: 3*4=12, Resulting Numbers: [65, 12] Generated Node #0,1,1: 66:[65, 12] Operation: 3*4=12 Exploring Operation: 4-3=1, Resulting Numbers: [65, 1] Generated Node #0,1,2: 66:[65, 1] Operation: 4-3=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[65, 7], Operations: ['80-76=4', '3+4=7'] Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,66 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,66 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[65, 12], Operations: ['80-76=4', '3*4=12'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,66 unequal: No Solution Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[65, 1], Operations: ['80-76=4', '4-3=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[3, 76, 65, 80], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [3, 65, 4] Generated Node #0,1: 66:[3, 65, 4] Operation: 80-76=4 Moving to Node #0,1 Current State: 66:[3, 65, 4], Operations: ['80-76=4'] Exploring Operation: 4-3=1, Resulting Numbers: [65, 1] Generated Node #0,1,2: 66:[65, 1] Operation: 4-3=1 Moving to Node #0,1,2 Current State: 66:[65, 1], Operations: ['80-76=4', '4-3=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 54, 34, 12, 97 ]
65
[ "54-34=20", "97-12=85", "85-20=65" ]
Current State: 65:[54, 34, 12, 97], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [12, 97, 20] Generated Node #2: [12, 97, 20] from Operation: 54-34=20 Current State: 65:[12, 97, 20], Operations: ['54-34=20'] Exploring Operation: 97-12=85, Resulting Numbers: [20, 85] Generated Node #3: [20, 85] from Operation: 97-12=85 Current State: 65:[20, 85], Operations: ['54-34=20', '97-12=85'] Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[54, 34, 12, 97], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [34, 12, 43] Generated Node #0,0: 65:[34, 12, 43] Operation: 97-54=43 Exploring Operation: 97-12=85, Resulting Numbers: [54, 34, 85] Generated Node #0,1: 65:[54, 34, 85] Operation: 97-12=85 Exploring Operation: 97-34=63, Resulting Numbers: [54, 12, 63] Generated Node #0,2: 65:[54, 12, 63] Operation: 97-34=63 Exploring Operation: 34-12=22, Resulting Numbers: [54, 97, 22] Generated Node #0,3: 65:[54, 97, 22] Operation: 34-12=22 Exploring Operation: 54-34=20, Resulting Numbers: [12, 97, 20] Generated Node #0,4: 65:[12, 97, 20] Operation: 54-34=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[54, 12, 63], Operations: ['97-34=63'] Exploring Operation: 54+12=66, Resulting Numbers: [63, 66] Generated Node #0,2,0: 65:[63, 66] Operation: 54+12=66 Exploring Operation: 54-12=42, Resulting Numbers: [63, 42] Generated Node #0,2,1: 65:[63, 42] Operation: 54-12=42 Exploring Operation: 63-12=51, Resulting Numbers: [54, 51] Generated Node #0,2,2: 65:[54, 51] Operation: 63-12=51 Exploring Operation: 63-54=9, Resulting Numbers: [12, 9] Generated Node #0,2,3: 65:[12, 9] Operation: 63-54=9 Exploring Operation: 12+63=75, Resulting Numbers: [54, 75] Generated Node #0,2,4: 65:[54, 75] Operation: 12+63=75 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[63, 66], Operations: ['97-34=63', '54+12=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,65 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 65:[12, 9], Operations: ['97-34=63', '63-54=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,65 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 65:[54, 75], Operations: ['97-34=63', '12+63=75'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,65 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 65:[63, 42], Operations: ['97-34=63', '54-12=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,65 unequal: No Solution Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 65:[54, 51], Operations: ['97-34=63', '63-12=51'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,65 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[12, 97, 20], Operations: ['54-34=20'] Exploring Operation: 20-12=8, Resulting Numbers: [97, 8] Generated Node #0,4,0: 65:[97, 8] Operation: 20-12=8 Exploring Operation: 97-20=77, Resulting Numbers: [12, 77] Generated Node #0,4,1: 65:[12, 77] Operation: 97-20=77 Exploring Operation: 12+20=32, Resulting Numbers: [97, 32] Generated Node #0,4,2: 65:[97, 32] Operation: 12+20=32 Exploring Operation: 97-12=85, Resulting Numbers: [20, 85] Generated Node #0,4,3: 65:[20, 85] Operation: 97-12=85 Exploring Operation: 12+97=109, Resulting Numbers: [20, 109] Generated Node #0,4,4: 65:[20, 109] Operation: 12+97=109 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 65:[12, 77], Operations: ['54-34=20', '97-20=77'] Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,65 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[54, 34, 12, 97], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [12, 97, 20] Generated Node #0,4: 65:[12, 97, 20] Operation: 54-34=20 Moving to Node #0,4 Current State: 65:[12, 97, 20], Operations: ['54-34=20'] Exploring Operation: 97-20=77, Resulting Numbers: [12, 77] Generated Node #0,4,1: 65:[12, 77] Operation: 97-20=77 Moving to Node #0,4,1 Current State: 65:[12, 77], Operations: ['54-34=20', '97-20=77'] Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 12, 30, 2, 25 ]
69
[ "12+30=42", "2+25=27", "42+27=69" ]
Current State: 69:[12, 30, 2, 25], Operations: [] Exploring Operation: 12+30=42, Resulting Numbers: [2, 25, 42] Generated Node #2: [2, 25, 42] from Operation: 12+30=42 Current State: 69:[2, 25, 42], Operations: ['12+30=42'] Exploring Operation: 2+25=27, Resulting Numbers: [42, 27] Generated Node #3: [42, 27] from Operation: 2+25=27 Current State: 69:[42, 27], Operations: ['12+30=42', '2+25=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[12, 30, 2, 25], Operations: [] Exploring Operation: 30-12=18, Resulting Numbers: [2, 25, 18] Generated Node #0,0: 69:[2, 25, 18] Operation: 30-12=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[2, 25, 18], Operations: ['30-12=18'] Exploring Operation: 25-2=23, Resulting Numbers: [18, 23] Generated Node #0,0,0: 69:[18, 23] Operation: 25-2=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[18, 23], Operations: ['30-12=18', '25-2=23'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,69 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
[ 6, 30, 22, 6 ]
18
[ "30-6=24", "24/6=4", "22-4=18" ]
Current State: 18:[6, 30, 22, 6], Operations: [] Exploring Operation: 30-6=24, Resulting Numbers: [22, 24] Generated Node #2: [22, 24] from Operation: 30-6=24 Current State: 18:[22, 24], Operations: ['30-6=24'] Exploring Operation: 24/6=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 24/6=4 Current State: 18:[22, 4], Operations: ['30-6=24', '24/6=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[6, 30, 22, 6], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [6, 22, 5] Generated Node #0,0: 18:[6, 22, 5] Operation: 30/6=5 Exploring Operation: 30/6=5, Resulting Numbers: [22, 6, 5] Generated Node #0,1: 18:[22, 6, 5] Operation: 30/6=5 Exploring Operation: 30-22=8, Resulting Numbers: [6, 6, 8] Generated Node #0,2: 18:[6, 6, 8] Operation: 30-22=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[6, 6, 8], Operations: ['30-22=8'] Exploring Operation: 8-6=2, Resulting Numbers: [6, 2] Generated Node #0,2,0: 18:[6, 2] Operation: 8-6=2 Exploring Operation: 8-6=2, Resulting Numbers: [6, 2] Generated Node #0,2,1: 18:[6, 2] Operation: 8-6=2 Exploring Operation: 6/6=1, Resulting Numbers: [8, 1] Generated Node #0,2,2: 18:[8, 1] Operation: 6/6=1 Moving to Node #0,2,0 Current State: 18:[6, 2], Operations: ['30-22=8', '8-6=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[6, 2], Operations: ['30-22=8', '8-6=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[8, 1], Operations: ['30-22=8', '6/6=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,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,0 Current State: 18:[6, 22, 5], Operations: ['30/6=5'] Exploring Operation: 6-5=1, Resulting Numbers: [22, 1] Generated Node #0,0,0: 18:[22, 1] Operation: 6-5=1 Exploring Operation: 22-6=16, Resulting Numbers: [5, 16] Generated Node #0,0,1: 18:[5, 16] Operation: 22-6=16 Exploring Operation: 22-5=17, Resulting Numbers: [6, 17] Generated Node #0,0,2: 18:[6, 17] Operation: 22-5=17 Moving to Node #0,0,2 Current State: 18:[6, 17], Operations: ['30/6=5', '22-5=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[5, 16], Operations: ['30/6=5', '22-6=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,18 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[22, 1], Operations: ['30/6=5', '6-5=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,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 Current State: 18:[22, 6, 5], Operations: ['30/6=5'] Exploring Operation: 22-5=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 18:[6, 17] Operation: 22-5=17 Exploring Operation: 22-6=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 18:[5, 16] Operation: 22-6=16 Exploring Operation: 6-5=1, Resulting Numbers: [22, 1] Generated Node #0,1,2: 18:[22, 1] Operation: 6-5=1 Moving to Node #0,1,0 Current State: 18:[6, 17], Operations: ['30/6=5', '22-5=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[5, 16], Operations: ['30/6=5', '22-6=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[22, 1], Operations: ['30/6=5', '6-5=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,18 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
[ 81, 4, 31, 98 ]
70
[ "81+31=112", "112/4=28", "98-28=70" ]
Current State: 70:[81, 4, 31, 98], Operations: [] Exploring Operation: 81+31=112, Resulting Numbers: [4, 98, 112] Generated Node #2: [4, 98, 112] from Operation: 81+31=112 Current State: 70:[4, 98, 112], Operations: ['81+31=112'] Exploring Operation: 112/4=28, Resulting Numbers: [98, 28] Generated Node #3: [98, 28] from Operation: 112/4=28 Current State: 70:[98, 28], Operations: ['81+31=112', '112/4=28'] Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[81, 4, 31, 98], Operations: [] Exploring Operation: 4+31=35, Resulting Numbers: [81, 98, 35] Generated Node #0,0: 70:[81, 98, 35] Operation: 4+31=35 Exploring Operation: 81-4=77, Resulting Numbers: [31, 98, 77] Generated Node #0,1: 70:[31, 98, 77] Operation: 81-4=77 Exploring Operation: 98-81=17, Resulting Numbers: [4, 31, 17] Generated Node #0,2: 70:[4, 31, 17] Operation: 98-81=17 Exploring Operation: 98-31=67, Resulting Numbers: [81, 4, 67] Generated Node #0,3: 70:[81, 4, 67] Operation: 98-31=67 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[4, 31, 17], Operations: ['98-81=17'] Exploring Operation: 4*17=68, Resulting Numbers: [31, 68] Generated Node #0,2,0: 70:[31, 68] Operation: 4*17=68 Exploring Operation: 4+31=35, Resulting Numbers: [17, 35] Generated Node #0,2,1: 70:[17, 35] Operation: 4+31=35 Exploring Operation: 17-4=13, Resulting Numbers: [31, 13] Generated Node #0,2,2: 70:[31, 13] Operation: 17-4=13 Exploring Operation: 31-17=14, Resulting Numbers: [4, 14] Generated Node #0,2,3: 70:[4, 14] Operation: 31-17=14 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[4, 14], Operations: ['98-81=17', '31-17=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,70 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[17, 35], Operations: ['98-81=17', '4+31=35'] Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,70 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[31, 13], Operations: ['98-81=17', '17-4=13'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,70 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[31, 68], Operations: ['98-81=17', '4*17=68'] Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,70 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,70 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,70 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: 70:[81, 4, 67], Operations: ['98-31=67'] Exploring Operation: 81+4=85, Resulting Numbers: [67, 85] Generated Node #0,3,0: 70:[67, 85] Operation: 81+4=85 Exploring Operation: 81-67=14, Resulting Numbers: [4, 14] Generated Node #0,3,1: 70:[4, 14] Operation: 81-67=14 Exploring Operation: 4+67=71, Resulting Numbers: [81, 71] Generated Node #0,3,2: 70:[81, 71] Operation: 4+67=71 Exploring Operation: 81-4=77, Resulting Numbers: [67, 77] Generated Node #0,3,3: 70:[67, 77] Operation: 81-4=77 Moving to Node #0,3,1 Current State: 70:[4, 14], Operations: ['98-31=67', '81-67=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,70 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[67, 77], Operations: ['98-31=67', '81-4=77'] Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,70 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[81, 71], Operations: ['98-31=67', '4+67=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,70 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[67, 85], Operations: ['98-31=67', '81+4=85'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 67*85=5695, Resulting Numbers: [5695] 5695,70 unequal: No Solution Exploring Operation: 67+85=152, Resulting Numbers: [152] 152,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[81, 98, 35], Operations: ['4+31=35'] Exploring Operation: 98-81=17, Resulting Numbers: [35, 17] Generated Node #0,0,0: 70:[35, 17] Operation: 98-81=17 Exploring Operation: 81+35=116, Resulting Numbers: [98, 116] Generated Node #0,0,1: 70:[98, 116] Operation: 81+35=116 Exploring Operation: 81-35=46, Resulting Numbers: [98, 46] Generated Node #0,0,2: 70:[98, 46] Operation: 81-35=46 Exploring Operation: 98-35=63, Resulting Numbers: [81, 63] Generated Node #0,0,3: 70:[81, 63] Operation: 98-35=63 Moving to Node #0,0,0 Current State: 70:[35, 17], Operations: ['4+31=35', '98-81=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[81, 63], Operations: ['4+31=35', '98-35=63'] Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,70 unequal: No Solution Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[98, 46], Operations: ['4+31=35', '81-35=46'] Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,70 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[98, 116], Operations: ['4+31=35', '81+35=116'] Exploring Operation: 98*116=11368, Resulting Numbers: [11368] 11368,70 unequal: No Solution Exploring Operation: 98+116=214, Resulting Numbers: [214] 214,70 unequal: No Solution Exploring Operation: 116-98=18, Resulting Numbers: [18] 18,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[31, 98, 77], Operations: ['81-4=77'] Exploring Operation: 31+98=129, Resulting Numbers: [77, 129] Generated Node #0,1,0: 70:[77, 129] Operation: 31+98=129 Exploring Operation: 77-31=46, Resulting Numbers: [98, 46] Generated Node #0,1,1: 70:[98, 46] Operation: 77-31=46 Exploring Operation: 98-77=21, Resulting Numbers: [31, 21] Generated Node #0,1,2: 70:[31, 21] Operation: 98-77=21 Exploring Operation: 98-31=67, Resulting Numbers: [77, 67] Generated Node #0,1,3: 70:[77, 67] Operation: 98-31=67 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 70:[77, 67], Operations: ['81-4=77', '98-31=67'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 77*67=5159, Resulting Numbers: [5159] 5159,70 unequal: No Solution Exploring Operation: 77+67=144, Resulting Numbers: [144] 144,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[31, 21], Operations: ['81-4=77', '98-77=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,70 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[98, 46], Operations: ['81-4=77', '77-31=46'] Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,70 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[77, 129], Operations: ['81-4=77', '31+98=129'] Exploring Operation: 77*129=9933, Resulting Numbers: [9933] 9933,70 unequal: No Solution Exploring Operation: 77+129=206, Resulting Numbers: [206] 206,70 unequal: No Solution Exploring Operation: 129-77=52, Resulting Numbers: [52] 52,70 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
[ 14, 76, 20, 31 ]
51
[ "76-14=62", "31-20=11", "62-11=51" ]
Current State: 51:[14, 76, 20, 31], Operations: [] Exploring Operation: 76-14=62, Resulting Numbers: [20, 31, 62] Generated Node #2: [20, 31, 62] from Operation: 76-14=62 Current State: 51:[20, 31, 62], Operations: ['76-14=62'] Exploring Operation: 31-20=11, Resulting Numbers: [62, 11] Generated Node #3: [62, 11] from Operation: 31-20=11 Current State: 51:[62, 11], Operations: ['76-14=62', '31-20=11'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[14, 76, 20, 31], Operations: [] Exploring Operation: 76-31=45, Resulting Numbers: [14, 20, 45] Generated Node #0,0: 51:[14, 20, 45] Operation: 76-31=45 Exploring Operation: 76-20=56, Resulting Numbers: [14, 31, 56] Generated Node #0,1: 51:[14, 31, 56] Operation: 76-20=56 Exploring Operation: 76-14=62, Resulting Numbers: [20, 31, 62] Generated Node #0,2: 51:[20, 31, 62] Operation: 76-14=62 Moving to Node #0,0 Current State: 51:[14, 20, 45], Operations: ['76-31=45'] Exploring Operation: 20-14=6, Resulting Numbers: [45, 6] Generated Node #0,0,0: 51:[45, 6] Operation: 20-14=6 Exploring Operation: 14+45=59, Resulting Numbers: [20, 59] Generated Node #0,0,1: 51:[20, 59] Operation: 14+45=59 Exploring Operation: 45-20=25, Resulting Numbers: [14, 25] Generated Node #0,0,2: 51:[14, 25] Operation: 45-20=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[45, 6], Operations: ['76-31=45', '20-14=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,51 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[14, 76, 20, 31], Operations: [] Exploring Operation: 76-31=45, Resulting Numbers: [14, 20, 45] Generated Node #0,0: 51:[14, 20, 45] Operation: 76-31=45 Moving to Node #0,0 Current State: 51:[14, 20, 45], Operations: ['76-31=45'] Exploring Operation: 20-14=6, Resulting Numbers: [45, 6] Generated Node #0,0,0: 51:[45, 6] Operation: 20-14=6 Moving to Node #0,0,0 Current State: 51:[45, 6], Operations: ['76-31=45', '20-14=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 96, 93, 12, 9 ]
35
[ "96*12=1152", "1152/9=128", "128-93=35" ]
Current State: 35:[96, 93, 12, 9], Operations: [] Exploring Operation: 96*12=1152, Resulting Numbers: [93, 9, 1152] Generated Node #2: [93, 9, 1152] from Operation: 96*12=1152 Current State: 35:[93, 9, 1152], Operations: ['96*12=1152'] Exploring Operation: 1152/9=128, Resulting Numbers: [93, 128] Generated Node #3: [93, 128] from Operation: 1152/9=128 Current State: 35:[93, 128], Operations: ['96*12=1152', '1152/9=128'] Exploring Operation: 128-93=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[96, 93, 12, 9], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [12, 9, 3] Generated Node #0,0: 35:[12, 9, 3] Operation: 96-93=3 Exploring Operation: 96/12=8, Resulting Numbers: [93, 9, 8] Generated Node #0,1: 35:[93, 9, 8] Operation: 96/12=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[12, 9, 3], Operations: ['96-93=3'] Exploring Operation: 12*3=36, Resulting Numbers: [9, 36] Generated Node #0,0,0: 35:[9, 36] Operation: 12*3=36 Exploring Operation: 12/3=4, Resulting Numbers: [9, 4] Generated Node #0,0,1: 35:[9, 4] Operation: 12/3=4 Moving to Node #0,0,0 Current State: 35:[9, 36], Operations: ['96-93=3', '12*3=36'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[9, 4], Operations: ['96-93=3', '12/3=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,35 unequal: No Solution No 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: 35:[93, 9, 8], Operations: ['96/12=8'] Exploring Operation: 93-8=85, Resulting Numbers: [9, 85] Generated Node #0,1,0: 35:[9, 85] Operation: 93-8=85 Exploring Operation: 93-9=84, Resulting Numbers: [8, 84] Generated Node #0,1,1: 35:[8, 84] Operation: 93-9=84 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[8, 84], Operations: ['96/12=8', '93-9=84'] Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,35 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[9, 85], Operations: ['96/12=8', '93-8=85'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,35 unequal: No Solution Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 94, 53, 76, 11 ]
60
[ "94+53=147", "76+11=87", "147-87=60" ]
Current State: 60:[94, 53, 76, 11], Operations: [] Exploring Operation: 94+53=147, Resulting Numbers: [76, 11, 147] Generated Node #2: [76, 11, 147] from Operation: 94+53=147 Current State: 60:[76, 11, 147], Operations: ['94+53=147'] Exploring Operation: 76+11=87, Resulting Numbers: [147, 87] Generated Node #3: [147, 87] from Operation: 76+11=87 Current State: 60:[147, 87], Operations: ['94+53=147', '76+11=87'] Exploring Operation: 147-87=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[94, 53, 76, 11], Operations: [] Exploring Operation: 94-11=83, Resulting Numbers: [53, 76, 83] Generated Node #0,0: 60:[53, 76, 83] Operation: 94-11=83 Exploring Operation: 76-11=65, Resulting Numbers: [94, 53, 65] Generated Node #0,1: 60:[94, 53, 65] Operation: 76-11=65 Exploring Operation: 76-53=23, Resulting Numbers: [94, 11, 23] Generated Node #0,2: 60:[94, 11, 23] Operation: 76-53=23 Exploring Operation: 94-53=41, Resulting Numbers: [76, 11, 41] Generated Node #0,3: 60:[76, 11, 41] Operation: 94-53=41 Exploring Operation: 94-76=18, Resulting Numbers: [53, 11, 18] Generated Node #0,4: 60:[53, 11, 18] Operation: 94-76=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 60:[53, 11, 18], Operations: ['94-76=18'] Exploring Operation: 53+18=71, Resulting Numbers: [11, 71] Generated Node #0,4,0: 60:[11, 71] Operation: 53+18=71 Exploring Operation: 53+11=64, Resulting Numbers: [18, 64] Generated Node #0,4,1: 60:[18, 64] Operation: 53+11=64 Exploring Operation: 11+18=29, Resulting Numbers: [53, 29] Generated Node #0,4,2: 60:[53, 29] Operation: 11+18=29 Exploring Operation: 53-18=35, Resulting Numbers: [11, 35] Generated Node #0,4,3: 60:[11, 35] Operation: 53-18=35 Exploring Operation: 18-11=7, Resulting Numbers: [53, 7] Generated Node #0,4,4: 60:[53, 7] Operation: 18-11=7 Moving to Node #0,4,1 Current State: 60:[18, 64], Operations: ['94-76=18', '53+11=64'] Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[11, 35], Operations: ['94-76=18', '53-18=35'] Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,60 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[53, 29], Operations: ['94-76=18', '11+18=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,60 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[53, 7], Operations: ['94-76=18', '18-11=7'] Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[94, 53, 76, 11], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [53, 11, 18] Generated Node #0,4: 60:[53, 11, 18] Operation: 94-76=18 Moving to Node #0,4 Current State: 60:[53, 11, 18], Operations: ['94-76=18'] Exploring Operation: 18-11=7, Resulting Numbers: [53, 7] Generated Node #0,4,4: 60:[53, 7] Operation: 18-11=7 Moving to Node #0,4,4 Current State: 60:[53, 7], Operations: ['94-76=18', '18-11=7'] Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 91, 54, 45, 76 ]
51
[ "91-76=15", "45/15=3", "54-3=51" ]
Current State: 51:[91, 54, 45, 76], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [54, 45, 15] Generated Node #2: [54, 45, 15] from Operation: 91-76=15 Current State: 51:[54, 45, 15], Operations: ['91-76=15'] Exploring Operation: 45/15=3, Resulting Numbers: [54, 3] Generated Node #3: [54, 3] from Operation: 45/15=3 Current State: 51:[54, 3], Operations: ['91-76=15', '45/15=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[91, 54, 45, 76], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [54, 45, 15] Generated Node #0,0: 51:[54, 45, 15] Operation: 91-76=15 Moving to Node #0,0 Current State: 51:[54, 45, 15], Operations: ['91-76=15'] Exploring Operation: 45/15=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 51:[54, 3] Operation: 45/15=3 Moving to Node #0,0,0 Current State: 51:[54, 3], Operations: ['91-76=15', '45/15=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[91, 54, 45, 76], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [54, 45, 15] Generated Node #0,0: 51:[54, 45, 15] Operation: 91-76=15 Moving to Node #0,0 Current State: 51:[54, 45, 15], Operations: ['91-76=15'] Exploring Operation: 45/15=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 51:[54, 3] Operation: 45/15=3 Moving to Node #0,0,0 Current State: 51:[54, 3], Operations: ['91-76=15', '45/15=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 10, 76, 88, 39 ]
81
[ "88-76=12", "10*12=120", "120-39=81" ]
Current State: 81:[10, 76, 88, 39], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [10, 39, 12] Generated Node #2: [10, 39, 12] from Operation: 88-76=12 Current State: 81:[10, 39, 12], Operations: ['88-76=12'] Exploring Operation: 10*12=120, Resulting Numbers: [39, 120] Generated Node #3: [39, 120] from Operation: 10*12=120 Current State: 81:[39, 120], Operations: ['88-76=12', '10*12=120'] Exploring Operation: 120-39=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[10, 76, 88, 39], Operations: [] Exploring Operation: 39-10=29, Resulting Numbers: [76, 88, 29] Generated Node #0,0: 81:[76, 88, 29] Operation: 39-10=29 Exploring Operation: 88-10=78, Resulting Numbers: [76, 39, 78] Generated Node #0,1: 81:[76, 39, 78] Operation: 88-10=78 Exploring Operation: 88-76=12, Resulting Numbers: [10, 39, 12] Generated Node #0,2: 81:[10, 39, 12] Operation: 88-76=12 Exploring Operation: 76-39=37, Resulting Numbers: [10, 88, 37] Generated Node #0,3: 81:[10, 88, 37] Operation: 76-39=37 Moving to Node #0,0 Current State: 81:[76, 88, 29], Operations: ['39-10=29'] Exploring Operation: 88-76=12, Resulting Numbers: [29, 12] Generated Node #0,0,0: 81:[29, 12] Operation: 88-76=12 Exploring Operation: 88-29=59, Resulting Numbers: [76, 59] Generated Node #0,0,1: 81:[76, 59] Operation: 88-29=59 Exploring Operation: 76-29=47, Resulting Numbers: [88, 47] Generated Node #0,0,2: 81:[88, 47] Operation: 76-29=47 Exploring Operation: 76+29=105, Resulting Numbers: [88, 105] Generated Node #0,0,3: 81:[88, 105] Operation: 76+29=105 Moving to Node #0,2 Current State: 81:[10, 39, 12], Operations: ['88-76=12'] Exploring Operation: 10+12=22, Resulting Numbers: [39, 22] Generated Node #0,2,0: 81:[39, 22] Operation: 10+12=22 Exploring Operation: 39-12=27, Resulting Numbers: [10, 27] Generated Node #0,2,1: 81:[10, 27] Operation: 39-12=27 Exploring Operation: 39-10=29, Resulting Numbers: [12, 29] Generated Node #0,2,2: 81:[12, 29] Operation: 39-10=29 Exploring Operation: 12-10=2, Resulting Numbers: [39, 2] Generated Node #0,2,3: 81:[39, 2] Operation: 12-10=2 Moving to Node #0,3 Current State: 81:[10, 88, 37], Operations: ['76-39=37'] Exploring Operation: 10+88=98, Resulting Numbers: [37, 98] Generated Node #0,3,0: 81:[37, 98] Operation: 10+88=98 Exploring Operation: 88-10=78, Resulting Numbers: [37, 78] Generated Node #0,3,1: 81:[37, 78] Operation: 88-10=78 Exploring Operation: 37-10=27, Resulting Numbers: [88, 27] Generated Node #0,3,2: 81:[88, 27] Operation: 37-10=27 Exploring Operation: 88-37=51, Resulting Numbers: [10, 51] Generated Node #0,3,3: 81:[10, 51] Operation: 88-37=51 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[88, 27], Operations: ['76-39=37', '37-10=27'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[37, 78], Operations: ['76-39=37', '88-10=78'] Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 37*78=2886, Resulting Numbers: [2886] 2886,81 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[10, 51], Operations: ['76-39=37', '88-37=51'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,81 unequal: No Solution Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[37, 98], Operations: ['76-39=37', '10+88=98'] Exploring Operation: 37*98=3626, Resulting Numbers: [3626] 3626,81 unequal: No Solution Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 37+98=135, Resulting Numbers: [135] 135,81 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: 81:[76, 39, 78], Operations: ['88-10=78'] Exploring Operation: 78/39=2, Resulting Numbers: [76, 2] Generated Node #0,1,0: 81:[76, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [76, 39] Generated Node #0,1,1: 81:[76, 39] Operation: 78-39=39 Exploring Operation: 78-76=2, Resulting Numbers: [39, 2] Generated Node #0,1,2: 81:[39, 2] Operation: 78-76=2 Exploring Operation: 76-39=37, Resulting Numbers: [78, 37] Generated Node #0,1,3: 81:[78, 37] Operation: 76-39=37 Moving to Node #0,2,1 Current State: 81:[10, 27], Operations: ['88-76=12', '39-12=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,81 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[12, 29], Operations: ['88-76=12', '39-10=29'] Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,81 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[29, 12], Operations: ['39-10=29', '88-76=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,81 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[76, 2], Operations: ['88-10=78', '78/39=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[39, 2], Operations: ['88-76=12', '12-10=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[39, 2], Operations: ['88-10=78', '78-76=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[78, 37], Operations: ['88-10=78', '76-39=37'] Exploring Operation: 78*37=2886, Resulting Numbers: [2886] 2886,81 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[76, 39], Operations: ['88-10=78', '78-39=39'] Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[39, 22], Operations: ['88-76=12', '10+12=22'] Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,81 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[88, 47], Operations: ['39-10=29', '76-29=47'] Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,81 unequal: No Solution Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,81 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[76, 59], Operations: ['39-10=29', '88-29=59'] Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,81 unequal: No Solution Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[88, 105], Operations: ['39-10=29', '76+29=105'] Exploring Operation: 105-88=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 88+105=193, Resulting Numbers: [193] 193,81 unequal: No Solution Exploring Operation: 88*105=9240, Resulting Numbers: [9240] 9240,81 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 74, 49, 36, 34 ]
46
[ "74+34=108", "108/36=3", "49-3=46" ]
Current State: 46:[74, 49, 36, 34], Operations: [] Exploring Operation: 74+34=108, Resulting Numbers: [49, 36, 108] Generated Node #2: [49, 36, 108] from Operation: 74+34=108 Current State: 46:[49, 36, 108], Operations: ['74+34=108'] Exploring Operation: 108/36=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 108/36=3 Current State: 46:[49, 3], Operations: ['74+34=108', '108/36=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[74, 49, 36, 34], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [49, 34, 38] Generated Node #0,0: 46:[49, 34, 38] Operation: 74-36=38 Exploring Operation: 36-34=2, Resulting Numbers: [74, 49, 2] Generated Node #0,1: 46:[74, 49, 2] Operation: 36-34=2 Exploring Operation: 74-34=40, Resulting Numbers: [49, 36, 40] Generated Node #0,2: 46:[49, 36, 40] Operation: 74-34=40 Exploring Operation: 74-49=25, Resulting Numbers: [36, 34, 25] Generated Node #0,3: 46:[36, 34, 25] Operation: 74-49=25 Moving to Node #0,2 Current State: 46:[49, 36, 40], Operations: ['74-34=40'] Exploring Operation: 49-40=9, Resulting Numbers: [36, 9] Generated Node #0,2,0: 46:[36, 9] Operation: 49-40=9 Exploring Operation: 49-36=13, Resulting Numbers: [40, 13] Generated Node #0,2,1: 46:[40, 13] Operation: 49-36=13 Exploring Operation: 40-36=4, Resulting Numbers: [49, 4] Generated Node #0,2,2: 46:[49, 4] Operation: 40-36=4 Exploring Operation: 36+40=76, Resulting Numbers: [49, 76] Generated Node #0,2,3: 46:[49, 76] Operation: 36+40=76 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[49, 4], Operations: ['74-34=40', '40-36=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,46 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[40, 13], Operations: ['74-34=40', '49-36=13'] Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,46 unequal: No Solution Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[36, 9], Operations: ['74-34=40', '49-40=9'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[49, 76], Operations: ['74-34=40', '36+40=76'] Exploring Operation: 49*76=3724, Resulting Numbers: [3724] 3724,46 unequal: No Solution Exploring Operation: 49+76=125, Resulting Numbers: [125] 125,46 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,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:[49, 34, 38], Operations: ['74-36=38'] Exploring Operation: 34+38=72, Resulting Numbers: [49, 72] Generated Node #0,0,0: 46:[49, 72] Operation: 34+38=72 Exploring Operation: 49-34=15, Resulting Numbers: [38, 15] Generated Node #0,0,1: 46:[38, 15] Operation: 49-34=15 Exploring Operation: 38-34=4, Resulting Numbers: [49, 4] Generated Node #0,0,2: 46:[49, 4] Operation: 38-34=4 Exploring Operation: 49-38=11, Resulting Numbers: [34, 11] Generated Node #0,0,3: 46:[34, 11] Operation: 49-38=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[49, 4], Operations: ['74-36=38', '38-34=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[38, 15], Operations: ['74-36=38', '49-34=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,46 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,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,3 Current State: 46:[34, 11], Operations: ['74-36=38', '49-38=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,46 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,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:[49, 72], Operations: ['74-36=38', '34+38=72'] Exploring Operation: 49+72=121, Resulting Numbers: [121] 121,46 unequal: No Solution Exploring Operation: 49*72=3528, Resulting Numbers: [3528] 3528,46 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,46 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: 46:[36, 34, 25], Operations: ['74-49=25'] Exploring Operation: 34+25=59, Resulting Numbers: [36, 59] Generated Node #0,3,0: 46:[36, 59] Operation: 34+25=59 Exploring Operation: 36-34=2, Resulting Numbers: [25, 2] Generated Node #0,3,1: 46:[25, 2] Operation: 36-34=2 Exploring Operation: 34-25=9, Resulting Numbers: [36, 9] Generated Node #0,3,2: 46:[36, 9] Operation: 34-25=9 Exploring Operation: 36-25=11, Resulting Numbers: [34, 11] Generated Node #0,3,3: 46:[34, 11] Operation: 36-25=11 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[25, 2], Operations: ['74-49=25', '36-34=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[36, 9], Operations: ['74-49=25', '34-25=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[34, 11], Operations: ['74-49=25', '36-25=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[36, 59], Operations: ['74-49=25', '34+25=59'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 36*59=2124, Resulting Numbers: [2124] 2124,46 unequal: No Solution Exploring Operation: 36+59=95, Resulting Numbers: [95] 95,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 46:[74, 49, 2], Operations: ['36-34=2'] Exploring Operation: 74-49=25, Resulting Numbers: [2, 25] Generated Node #0,1,0: 46:[2, 25] Operation: 74-49=25 Exploring Operation: 74-2=72, Resulting Numbers: [49, 72] Generated Node #0,1,1: 46:[49, 72] Operation: 74-2=72 Exploring Operation: 74/2=37, Resulting Numbers: [49, 37] Generated Node #0,1,2: 46:[49, 37] Operation: 74/2=37 Exploring Operation: 49-2=47, Resulting Numbers: [74, 47] Generated Node #0,1,3: 46:[74, 47] Operation: 49-2=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[2, 25], Operations: ['36-34=2', '74-49=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,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,2 Current State: 46:[49, 37], Operations: ['36-34=2', '74/2=37'] Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,46 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,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,1 Current State: 46:[49, 72], Operations: ['36-34=2', '74-2=72'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 49*72=3528, Resulting Numbers: [3528] 3528,46 unequal: No Solution Exploring Operation: 49+72=121, Resulting Numbers: [121] 121,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,3 Current State: 46:[74, 47], Operations: ['36-34=2', '49-2=47'] Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,46 unequal: No Solution Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,46 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,46 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
[ 94, 64, 59, 58 ]
52
[ "59*58=3422", "3422-94=3328", "3328/64=52" ]
Current State: 52:[94, 64, 59, 58], Operations: [] Exploring Operation: 59*58=3422, Resulting Numbers: [94, 64, 3422] Generated Node #2: [94, 64, 3422] from Operation: 59*58=3422 Current State: 52:[94, 64, 3422], Operations: ['59*58=3422'] Exploring Operation: 3422-94=3328, Resulting Numbers: [64, 3328] Generated Node #3: [64, 3328] from Operation: 3422-94=3328 Current State: 52:[64, 3328], Operations: ['59*58=3422', '3422-94=3328'] Exploring Operation: 3328/64=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[94, 64, 59, 58], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [64, 58, 35] Generated Node #0,0: 52:[64, 58, 35] Operation: 94-59=35 Exploring Operation: 64-58=6, Resulting Numbers: [94, 59, 6] Generated Node #0,1: 52:[94, 59, 6] Operation: 64-58=6 Exploring Operation: 64-59=5, Resulting Numbers: [94, 58, 5] Generated Node #0,2: 52:[94, 58, 5] Operation: 64-59=5 Exploring Operation: 94-64=30, Resulting Numbers: [59, 58, 30] Generated Node #0,3: 52:[59, 58, 30] Operation: 94-64=30 Exploring Operation: 94-58=36, Resulting Numbers: [64, 59, 36] Generated Node #0,4: 52:[64, 59, 36] Operation: 94-58=36 Moving to Node #0,3 Current State: 52:[59, 58, 30], Operations: ['94-64=30'] Exploring Operation: 58+30=88, Resulting Numbers: [59, 88] Generated Node #0,3,0: 52:[59, 88] Operation: 58+30=88 Exploring Operation: 58-30=28, Resulting Numbers: [59, 28] Generated Node #0,3,1: 52:[59, 28] Operation: 58-30=28 Exploring Operation: 59-58=1, Resulting Numbers: [30, 1] Generated Node #0,3,2: 52:[30, 1] Operation: 59-58=1 Exploring Operation: 59+30=89, Resulting Numbers: [58, 89] Generated Node #0,3,3: 52:[58, 89] Operation: 59+30=89 Exploring Operation: 59-30=29, Resulting Numbers: [58, 29] Generated Node #0,3,4: 52:[58, 29] Operation: 59-30=29 Moving to Node #0,0 Current State: 52:[64, 58, 35], Operations: ['94-59=35'] Exploring Operation: 64-35=29, Resulting Numbers: [58, 29] Generated Node #0,0,0: 52:[58, 29] Operation: 64-35=29 Exploring Operation: 64-58=6, Resulting Numbers: [35, 6] Generated Node #0,0,1: 52:[35, 6] Operation: 64-58=6 Exploring Operation: 58+35=93, Resulting Numbers: [64, 93] Generated Node #0,0,2: 52:[64, 93] Operation: 58+35=93 Exploring Operation: 64+35=99, Resulting Numbers: [58, 99] Generated Node #0,0,3: 52:[58, 99] Operation: 64+35=99 Exploring Operation: 58-35=23, Resulting Numbers: [64, 23] Generated Node #0,0,4: 52:[64, 23] Operation: 58-35=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[58, 29], Operations: ['94-59=35', '64-35=29'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,52 unequal: No Solution Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,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,0,1 Current State: 52:[35, 6], Operations: ['94-59=35', '64-58=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,52 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,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,0,4 Current State: 52:[64, 23], Operations: ['94-59=35', '58-35=23'] Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,52 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,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,0,2 Current State: 52:[64, 93], Operations: ['94-59=35', '58+35=93'] Exploring Operation: 64+93=157, Resulting Numbers: [157] 157,52 unequal: No Solution Exploring Operation: 93-64=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 64*93=5952, Resulting Numbers: [5952] 5952,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,0,3 Current State: 52:[58, 99], Operations: ['94-59=35', '64+35=99'] Exploring Operation: 58*99=5742, Resulting Numbers: [5742] 5742,52 unequal: No Solution Exploring Operation: 58+99=157, Resulting Numbers: [157] 157,52 unequal: No Solution Exploring Operation: 99-58=41, Resulting Numbers: [41] 41,52 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: 52:[64, 59, 36], Operations: ['94-58=36'] Exploring Operation: 59-36=23, Resulting Numbers: [64, 23] Generated Node #0,4,0: 52:[64, 23] Operation: 59-36=23 Exploring Operation: 64-59=5, Resulting Numbers: [36, 5] Generated Node #0,4,1: 52:[36, 5] Operation: 64-59=5 Exploring Operation: 64-36=28, Resulting Numbers: [59, 28] Generated Node #0,4,2: 52:[59, 28] Operation: 64-36=28 Exploring Operation: 59+36=95, Resulting Numbers: [64, 95] Generated Node #0,4,3: 52:[64, 95] Operation: 59+36=95 Exploring Operation: 64+36=100, Resulting Numbers: [59, 100] Generated Node #0,4,4: 52:[59, 100] Operation: 64+36=100 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 52:[59, 28], Operations: ['94-58=36', '64-36=28'] Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,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,4,1 Current State: 52:[36, 5], Operations: ['94-58=36', '64-59=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,52 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,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,4,0 Current State: 52:[64, 23], Operations: ['94-58=36', '59-36=23'] Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,52 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,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,4,3 Current State: 52:[64, 95], Operations: ['94-58=36', '59+36=95'] Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 64*95=6080, Resulting Numbers: [6080] 6080,52 unequal: No Solution Exploring Operation: 64+95=159, Resulting Numbers: [159] 159,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,4,4 Current State: 52:[59, 100], Operations: ['94-58=36', '64+36=100'] Exploring Operation: 59*100=5900, Resulting Numbers: [5900] 5900,52 unequal: No Solution Exploring Operation: 100-59=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 59+100=159, Resulting Numbers: [159] 159,52 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: 52:[94, 58, 5], Operations: ['64-59=5'] Exploring Operation: 94-5=89, Resulting Numbers: [58, 89] Generated Node #0,2,0: 52:[58, 89] Operation: 94-5=89 Exploring Operation: 94-58=36, Resulting Numbers: [5, 36] Generated Node #0,2,1: 52:[5, 36] Operation: 94-58=36 Exploring Operation: 58+5=63, Resulting Numbers: [94, 63] Generated Node #0,2,2: 52:[94, 63] Operation: 58+5=63 Exploring Operation: 94+5=99, Resulting Numbers: [58, 99] Generated Node #0,2,3: 52:[58, 99] Operation: 94+5=99 Exploring Operation: 58-5=53, Resulting Numbers: [94, 53] Generated Node #0,2,4: 52:[94, 53] Operation: 58-5=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[5, 36], Operations: ['64-59=5', '94-58=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,52 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[58, 89], Operations: ['64-59=5', '94-5=89'] Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 52:[94, 53], Operations: ['64-59=5', '58-5=53'] Exploring Operation: 94+53=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 94*53=4982, Resulting Numbers: [4982] 4982,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[94, 63], Operations: ['64-59=5', '58+5=63'] Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 94+63=157, Resulting Numbers: [157] 157,52 unequal: No Solution Exploring Operation: 94*63=5922, Resulting Numbers: [5922] 5922,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[58, 99], Operations: ['64-59=5', '94+5=99'] Exploring Operation: 58+99=157, Resulting Numbers: [157] 157,52 unequal: No Solution Exploring Operation: 99-58=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 58*99=5742, Resulting Numbers: [5742] 5742,52 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: 52:[94, 59, 6], Operations: ['64-58=6'] Exploring Operation: 94-6=88, Resulting Numbers: [59, 88] Generated Node #0,1,0: 52:[59, 88] Operation: 94-6=88 Exploring Operation: 94+6=100, Resulting Numbers: [59, 100] Generated Node #0,1,1: 52:[59, 100] Operation: 94+6=100 Exploring Operation: 59-6=53, Resulting Numbers: [94, 53] Generated Node #0,1,2: 52:[94, 53] Operation: 59-6=53 Exploring Operation: 59+6=65, Resulting Numbers: [94, 65] Generated Node #0,1,3: 52:[94, 65] Operation: 59+6=65 Exploring Operation: 94-59=35, Resulting Numbers: [6, 35] Generated Node #0,1,4: 52:[6, 35] Operation: 94-59=35 Moving to Node #0,3,2 Current State: 52:[30, 1], Operations: ['94-64=30', '59-58=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[58, 29], Operations: ['94-64=30', '59-30=29'] Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,52 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[59, 28], Operations: ['94-64=30', '58-30=28'] Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,52 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[6, 35], Operations: ['64-58=6', '94-59=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,52 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[59, 88], Operations: ['64-58=6', '94-6=88'] Exploring Operation: 59+88=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 59*88=5192, Resulting Numbers: [5192] 5192,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[94, 53], Operations: ['64-58=6', '59-6=53'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 94*53=4982, Resulting Numbers: [4982] 4982,52 unequal: No Solution Exploring Operation: 94+53=147, Resulting Numbers: [147] 147,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[58, 89], Operations: ['94-64=30', '59+30=89'] Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,52 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[59, 88], Operations: ['94-64=30', '58+30=88'] Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 59+88=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 59*88=5192, Resulting Numbers: [5192] 5192,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[59, 100], Operations: ['64-58=6', '94+6=100'] Exploring Operation: 100-59=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 59*100=5900, Resulting Numbers: [5900] 5900,52 unequal: No Solution Exploring Operation: 59+100=159, Resulting Numbers: [159] 159,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[94, 65], Operations: ['64-58=6', '59+6=65'] Exploring Operation: 94+65=159, Resulting Numbers: [159] 159,52 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 94*65=6110, Resulting Numbers: [6110] 6110,52 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 3, 57, 74, 81 ]
66
[ "81-57=24", "24/3=8", "74-8=66" ]
Current State: 66:[3, 57, 74, 81], Operations: [] Exploring Operation: 81-57=24, Resulting Numbers: [3, 74, 24] Generated Node #2: [3, 74, 24] from Operation: 81-57=24 Current State: 66:[3, 74, 24], Operations: ['81-57=24'] Exploring Operation: 24/3=8, Resulting Numbers: [74, 8] Generated Node #3: [74, 8] from Operation: 24/3=8 Current State: 66:[74, 8], Operations: ['81-57=24', '24/3=8'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[3, 57, 74, 81], Operations: [] Exploring Operation: 81-57=24, Resulting Numbers: [3, 74, 24] Generated Node #0,0: 66:[3, 74, 24] Operation: 81-57=24 Exploring Operation: 81-74=7, Resulting Numbers: [3, 57, 7] Generated Node #0,1: 66:[3, 57, 7] Operation: 81-74=7 Exploring Operation: 74-57=17, Resulting Numbers: [3, 81, 17] Generated Node #0,2: 66:[3, 81, 17] Operation: 74-57=17 Exploring Operation: 81/3=27, Resulting Numbers: [57, 74, 27] Generated Node #0,3: 66:[57, 74, 27] Operation: 81/3=27 Moving to Node #0,0 Current State: 66:[3, 74, 24], Operations: ['81-57=24'] Exploring Operation: 24-3=21, Resulting Numbers: [74, 21] Generated Node #0,0,0: 66:[74, 21] Operation: 24-3=21 Exploring Operation: 3+74=77, Resulting Numbers: [24, 77] Generated Node #0,0,1: 66:[24, 77] Operation: 3+74=77 Exploring Operation: 24/3=8, Resulting Numbers: [74, 8] Generated Node #0,0,2: 66:[74, 8] Operation: 24/3=8 Exploring Operation: 74-3=71, Resulting Numbers: [24, 71] Generated Node #0,0,3: 66:[24, 71] Operation: 74-3=71 Moving to Node #0,1 Current State: 66:[3, 57, 7], Operations: ['81-74=7'] Exploring Operation: 3+7=10, Resulting Numbers: [57, 10] Generated Node #0,1,0: 66:[57, 10] Operation: 3+7=10 Exploring Operation: 57/3=19, Resulting Numbers: [7, 19] Generated Node #0,1,1: 66:[7, 19] Operation: 57/3=19 Exploring Operation: 57+7=64, Resulting Numbers: [3, 64] Generated Node #0,1,2: 66:[3, 64] Operation: 57+7=64 Exploring Operation: 3+57=60, Resulting Numbers: [7, 60] Generated Node #0,1,3: 66:[7, 60] Operation: 3+57=60 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[3, 64], Operations: ['81-74=7', '57+7=64'] Exploring Operation: 3*64=192, Resulting Numbers: [192] 192,66 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 3+64=67, Resulting Numbers: [67] 67,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[7, 19], Operations: ['81-74=7', '57/3=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[7, 60], Operations: ['81-74=7', '3+57=60'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[57, 10], Operations: ['81-74=7', '3+7=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,66 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,66 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: 66:[3, 81, 17], Operations: ['74-57=17'] Exploring Operation: 81/3=27, Resulting Numbers: [17, 27] Generated Node #0,2,0: 66:[17, 27] Operation: 81/3=27 Exploring Operation: 81-17=64, Resulting Numbers: [3, 64] Generated Node #0,2,1: 66:[3, 64] Operation: 81-17=64 Exploring Operation: 81-3=78, Resulting Numbers: [17, 78] Generated Node #0,2,2: 66:[17, 78] Operation: 81-3=78 Exploring Operation: 3+17=20, Resulting Numbers: [81, 20] Generated Node #0,2,3: 66:[81, 20] Operation: 3+17=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[3, 64], Operations: ['74-57=17', '81-17=64'] Exploring Operation: 3*64=192, Resulting Numbers: [192] 192,66 unequal: No Solution Exploring Operation: 3+64=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[17, 27], Operations: ['74-57=17', '81/3=27'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,66 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[17, 78], Operations: ['74-57=17', '81-3=78'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 17+78=95, Resulting Numbers: [95] 95,66 unequal: No Solution Exploring Operation: 17*78=1326, Resulting Numbers: [1326] 1326,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[81, 20], Operations: ['74-57=17', '3+17=20'] Exploring Operation: 81*20=1620, Resulting Numbers: [1620] 1620,66 unequal: No Solution Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 81+20=101, Resulting Numbers: [101] 101,66 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: 66:[57, 74, 27], Operations: ['81/3=27'] Exploring Operation: 74-57=17, Resulting Numbers: [27, 17] Generated Node #0,3,0: 66:[27, 17] Operation: 74-57=17 Exploring Operation: 57-27=30, Resulting Numbers: [74, 30] Generated Node #0,3,1: 66:[74, 30] Operation: 57-27=30 Exploring Operation: 57+27=84, Resulting Numbers: [74, 84] Generated Node #0,3,2: 66:[74, 84] Operation: 57+27=84 Exploring Operation: 74-27=47, Resulting Numbers: [57, 47] Generated Node #0,3,3: 66:[57, 47] Operation: 74-27=47 Moving to Node #0,0,3 Current State: 66:[24, 71], Operations: ['81-57=24', '74-3=71'] Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,66 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[74, 21], Operations: ['81-57=24', '24-3=21'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,66 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[74, 8], Operations: ['81-57=24', '24/3=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,66 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[3, 57, 74, 81], Operations: [] Exploring Operation: 81-57=24, Resulting Numbers: [3, 74, 24] Generated Node #0,0: 66:[3, 74, 24] Operation: 81-57=24 Moving to Node #0,0 Current State: 66:[3, 74, 24], Operations: ['81-57=24'] Exploring Operation: 24/3=8, Resulting Numbers: [74, 8] Generated Node #0,0,2: 66:[74, 8] Operation: 24/3=8 Moving to Node #0,0,2 Current State: 66:[74, 8], Operations: ['81-57=24', '24/3=8'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.951389
hs_4
sum_heuristic
[ 14, 16, 41, 6 ]
93
[ "14*41=574", "574-16=558", "558/6=93" ]
Current State: 93:[14, 16, 41, 6], Operations: [] Exploring Operation: 14*41=574, Resulting Numbers: [16, 6, 574] Generated Node #2: [16, 6, 574] from Operation: 14*41=574 Current State: 93:[16, 6, 574], Operations: ['14*41=574'] Exploring Operation: 574-16=558, Resulting Numbers: [6, 558] Generated Node #3: [6, 558] from Operation: 574-16=558 Current State: 93:[6, 558], Operations: ['14*41=574', '574-16=558'] Exploring Operation: 558/6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[14, 16, 41, 6], Operations: [] Exploring Operation: 41-14=27, Resulting Numbers: [16, 6, 27] Generated Node #0,0: 93:[16, 6, 27] Operation: 41-14=27 Exploring Operation: 16-14=2, Resulting Numbers: [41, 6, 2] Generated Node #0,1: 93:[41, 6, 2] Operation: 16-14=2 Exploring Operation: 14+16=30, Resulting Numbers: [41, 6, 30] Generated Node #0,2: 93:[41, 6, 30] Operation: 14+16=30 Moving to Node #0,1 Current State: 93:[41, 6, 2], Operations: ['16-14=2'] Exploring Operation: 41-2=39, Resulting Numbers: [6, 39] Generated Node #0,1,0: 93:[6, 39] Operation: 41-2=39 Exploring Operation: 6/2=3, Resulting Numbers: [41, 3] Generated Node #0,1,1: 93:[41, 3] Operation: 6/2=3 Exploring Operation: 41-6=35, Resulting Numbers: [2, 35] Generated Node #0,1,2: 93:[2, 35] Operation: 41-6=35 Moving to Node #0,2 Current State: 93:[41, 6, 30], Operations: ['14+16=30'] Exploring Operation: 41-6=35, Resulting Numbers: [30, 35] Generated Node #0,2,0: 93:[30, 35] Operation: 41-6=35 Exploring Operation: 41-30=11, Resulting Numbers: [6, 11] Generated Node #0,2,1: 93:[6, 11] Operation: 41-30=11 Exploring Operation: 30/6=5, Resulting Numbers: [41, 5] Generated Node #0,2,2: 93:[41, 5] Operation: 30/6=5 Moving to Node #0,0 Current State: 93:[16, 6, 27], Operations: ['41-14=27'] Exploring Operation: 16*6=96, Resulting Numbers: [27, 96] Generated Node #0,0,0: 93:[27, 96] Operation: 16*6=96 Exploring Operation: 16-6=10, Resulting Numbers: [27, 10] Generated Node #0,0,1: 93:[27, 10] Operation: 16-6=10 Exploring Operation: 27-16=11, Resulting Numbers: [6, 11] Generated Node #0,0,2: 93:[6, 11] Operation: 27-16=11 Moving to Node #0,1,2 Current State: 93:[2, 35], Operations: ['16-14=2', '41-6=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[30, 35], Operations: ['14+16=30', '41-6=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,93 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,93 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[27, 96], Operations: ['41-14=27', '16*6=96'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,93 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[41, 3], Operations: ['16-14=2', '6/2=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[6, 39], Operations: ['16-14=2', '41-2=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[6, 11], Operations: ['14+16=30', '41-30=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[27, 10], Operations: ['41-14=27', '16-6=10'] Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,93 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[6, 11], Operations: ['41-14=27', '27-16=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[41, 5], Operations: ['14+16=30', '30/6=5'] Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,93 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,93 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 61, 67, 55 ]
94
[ "67+55=122", "47*122=5734", "5734/61=94" ]
Current State: 94:[47, 61, 67, 55], Operations: [] Exploring Operation: 67+55=122, Resulting Numbers: [47, 61, 122] Generated Node #2: [47, 61, 122] from Operation: 67+55=122 Current State: 94:[47, 61, 122], Operations: ['67+55=122'] Exploring Operation: 47*122=5734, Resulting Numbers: [61, 5734] Generated Node #3: [61, 5734] from Operation: 47*122=5734 Current State: 94:[61, 5734], Operations: ['67+55=122', '47*122=5734'] Exploring Operation: 5734/61=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[47, 61, 67, 55], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [47, 55, 6] Generated Node #0,0: 94:[47, 55, 6] Operation: 67-61=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[47, 55, 6], Operations: ['67-61=6'] Exploring Operation: 55-6=49, Resulting Numbers: [47, 49] Generated Node #0,0,0: 94:[47, 49] Operation: 55-6=49 Moving to Node #0,0,0 Current State: 94:[47, 49], Operations: ['67-61=6', '55-6=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,94 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
[ 88, 24, 86, 12 ]
45
[ "24/12=2", "86/2=43", "88-43=45" ]
Current State: 45:[88, 24, 86, 12], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [88, 86, 2] Generated Node #2: [88, 86, 2] from Operation: 24/12=2 Current State: 45:[88, 86, 2], Operations: ['24/12=2'] Exploring Operation: 86/2=43, Resulting Numbers: [88, 43] Generated Node #3: [88, 43] from Operation: 86/2=43 Current State: 45:[88, 43], Operations: ['24/12=2', '86/2=43'] Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[88, 24, 86, 12], Operations: [] Exploring Operation: 88-12=76, Resulting Numbers: [24, 86, 76] Generated Node #0,0: 45:[24, 86, 76] Operation: 88-12=76 Exploring Operation: 86-12=74, Resulting Numbers: [88, 24, 74] Generated Node #0,1: 45:[88, 24, 74] Operation: 86-12=74 Exploring Operation: 88-24=64, Resulting Numbers: [86, 12, 64] Generated Node #0,2: 45:[86, 12, 64] Operation: 88-24=64 Exploring Operation: 86-24=62, Resulting Numbers: [88, 12, 62] Generated Node #0,3: 45:[88, 12, 62] Operation: 86-24=62 Exploring Operation: 88-86=2, Resulting Numbers: [24, 12, 2] Generated Node #0,4: 45:[24, 12, 2] Operation: 88-86=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[24, 12, 2], Operations: ['88-86=2'] Exploring Operation: 24/12=2, Resulting Numbers: [2, 2] Generated Node #0,4,0: 45:[2, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [2, 36] Generated Node #0,4,1: 45:[2, 36] Operation: 24+12=36 Exploring Operation: 24-12=12, Resulting Numbers: [2, 12] Generated Node #0,4,2: 45:[2, 12] Operation: 24-12=12 Exploring Operation: 24/2=12, Resulting Numbers: [12, 12] Generated Node #0,4,3: 45:[12, 12] Operation: 24/2=12 Exploring Operation: 24*2=48, Resulting Numbers: [12, 48] Generated Node #0,4,4: 45:[12, 48] Operation: 24*2=48 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 45:[2, 2], Operations: ['88-86=2', '24/12=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 45:[2, 12], Operations: ['88-86=2', '24-12=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 45:[12, 12], Operations: ['88-86=2', '24/2=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,45 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 45:[12, 48], Operations: ['88-86=2', '24*2=48'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 12*48=576, Resulting Numbers: [576] 576,45 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 45:[2, 36], Operations: ['88-86=2', '24+12=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[86, 12, 64], Operations: ['88-24=64'] Exploring Operation: 86-64=22, Resulting Numbers: [12, 22] Generated Node #0,2,0: 45:[12, 22] Operation: 86-64=22 Exploring Operation: 86+12=98, Resulting Numbers: [64, 98] Generated Node #0,2,1: 45:[64, 98] Operation: 86+12=98 Exploring Operation: 86-12=74, Resulting Numbers: [64, 74] Generated Node #0,2,2: 45:[64, 74] Operation: 86-12=74 Exploring Operation: 12+64=76, Resulting Numbers: [86, 76] Generated Node #0,2,3: 45:[86, 76] Operation: 12+64=76 Exploring Operation: 64-12=52, Resulting Numbers: [86, 52] Generated Node #0,2,4: 45:[86, 52] Operation: 64-12=52 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[12, 22], Operations: ['88-24=64', '86-64=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,45 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[64, 74], Operations: ['88-24=64', '86-12=74'] Exploring Operation: 64*74=4736, Resulting Numbers: [4736] 4736,45 unequal: No Solution Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 45:[86, 52], Operations: ['88-24=64', '64-12=52'] Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[64, 98], Operations: ['88-24=64', '86+12=98'] Exploring Operation: 64+98=162, Resulting Numbers: [162] 162,45 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 64*98=6272, Resulting Numbers: [6272] 6272,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 45:[86, 76], Operations: ['88-24=64', '12+64=76'] Exploring Operation: 86*76=6536, Resulting Numbers: [6536] 6536,45 unequal: No Solution Exploring Operation: 86+76=162, Resulting Numbers: [162] 162,45 unequal: No Solution Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[88, 12, 62], Operations: ['86-24=62'] Exploring Operation: 12+62=74, Resulting Numbers: [88, 74] Generated Node #0,3,0: 45:[88, 74] Operation: 12+62=74 Exploring Operation: 62-12=50, Resulting Numbers: [88, 50] Generated Node #0,3,1: 45:[88, 50] Operation: 62-12=50 Exploring Operation: 88-12=76, Resulting Numbers: [62, 76] Generated Node #0,3,2: 45:[62, 76] Operation: 88-12=76 Exploring Operation: 88+12=100, Resulting Numbers: [62, 100] Generated Node #0,3,3: 45:[62, 100] Operation: 88+12=100 Exploring Operation: 88-62=26, Resulting Numbers: [12, 26] Generated Node #0,3,4: 45:[12, 26] Operation: 88-62=26 Moving to Node #0,3,4 Current State: 45:[12, 26], Operations: ['86-24=62', '88-62=26'] Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,45 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[62, 76], Operations: ['86-24=62', '88-12=76'] Exploring Operation: 62*76=4712, Resulting Numbers: [4712] 4712,45 unequal: No Solution Exploring Operation: 62+76=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[88, 50], Operations: ['86-24=62', '62-12=50'] Exploring Operation: 88+50=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 88*50=4400, Resulting Numbers: [4400] 4400,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[88, 74], Operations: ['86-24=62', '12+62=74'] Exploring Operation: 88+74=162, Resulting Numbers: [162] 162,45 unequal: No Solution Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 88*74=6512, Resulting Numbers: [6512] 6512,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[62, 100], Operations: ['86-24=62', '88+12=100'] Exploring Operation: 100-62=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 62*100=6200, Resulting Numbers: [6200] 6200,45 unequal: No Solution Exploring Operation: 62+100=162, Resulting Numbers: [162] 162,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[24, 86, 76], Operations: ['88-12=76'] Exploring Operation: 86-24=62, Resulting Numbers: [76, 62] Generated Node #0,0,0: 45:[76, 62] Operation: 86-24=62 Exploring Operation: 76-24=52, Resulting Numbers: [86, 52] Generated Node #0,0,1: 45:[86, 52] Operation: 76-24=52 Exploring Operation: 24+76=100, Resulting Numbers: [86, 100] Generated Node #0,0,2: 45:[86, 100] Operation: 24+76=100 Exploring Operation: 86-76=10, Resulting Numbers: [24, 10] Generated Node #0,0,3: 45:[24, 10] Operation: 86-76=10 Exploring Operation: 24+86=110, Resulting Numbers: [76, 110] Generated Node #0,0,4: 45:[76, 110] Operation: 24+86=110 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[24, 10], Operations: ['88-12=76', '86-76=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,45 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[76, 62], Operations: ['88-12=76', '86-24=62'] Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 76*62=4712, Resulting Numbers: [4712] 4712,45 unequal: No Solution Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[86, 52], Operations: ['88-12=76', '76-24=52'] Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[86, 100], Operations: ['88-12=76', '24+76=100'] Exploring Operation: 86*100=8600, Resulting Numbers: [8600] 8600,45 unequal: No Solution Exploring Operation: 86+100=186, Resulting Numbers: [186] 186,45 unequal: No Solution Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 45:[76, 110], Operations: ['88-12=76', '24+86=110'] Exploring Operation: 76*110=8360, Resulting Numbers: [8360] 8360,45 unequal: No Solution Exploring Operation: 110-76=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 76+110=186, Resulting Numbers: [186] 186,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[88, 24, 74], Operations: ['86-12=74'] Exploring Operation: 88-74=14, Resulting Numbers: [24, 14] Generated Node #0,1,0: 45:[24, 14] Operation: 88-74=14 Exploring Operation: 88-24=64, Resulting Numbers: [74, 64] Generated Node #0,1,1: 45:[74, 64] Operation: 88-24=64 Exploring Operation: 88+24=112, Resulting Numbers: [74, 112] Generated Node #0,1,2: 45:[74, 112] Operation: 88+24=112 Exploring Operation: 74-24=50, Resulting Numbers: [88, 50] Generated Node #0,1,3: 45:[88, 50] Operation: 74-24=50 Exploring Operation: 24+74=98, Resulting Numbers: [88, 98] Generated Node #0,1,4: 45:[88, 98] Operation: 24+74=98 Moving to Node #0,1,0 Current State: 45:[24, 14], Operations: ['86-12=74', '88-74=14'] Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[88, 50], Operations: ['86-12=74', '74-24=50'] Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 88+50=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 88*50=4400, Resulting Numbers: [4400] 4400,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[74, 64], Operations: ['86-12=74', '88-24=64'] Exploring Operation: 74*64=4736, Resulting Numbers: [4736] 4736,45 unequal: No Solution Exploring Operation: 74+64=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[74, 112], Operations: ['86-12=74', '88+24=112'] Exploring Operation: 112-74=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 74*112=8288, Resulting Numbers: [8288] 8288,45 unequal: No Solution Exploring Operation: 74+112=186, Resulting Numbers: [186] 186,45 unequal: No Solution Moving to Node #0,1,4 Current State: 45:[88, 98], Operations: ['86-12=74', '24+74=98'] Exploring Operation: 98-88=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 88*98=8624, Resulting Numbers: [8624] 8624,45 unequal: No Solution Exploring Operation: 88+98=186, Resulting Numbers: [186] 186,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 5, 4, 54, 36 ]
19
[ "5-4=1", "54-36=18", "1+18=19" ]
Current State: 19:[5, 4, 54, 36], Operations: [] Exploring Operation: 5-4=1, Resulting Numbers: [54, 36, 1] Generated Node #2: [54, 36, 1] from Operation: 5-4=1 Current State: 19:[54, 36, 1], Operations: ['5-4=1'] Exploring Operation: 54-36=18, Resulting Numbers: [1, 18] Generated Node #3: [1, 18] from Operation: 54-36=18 Current State: 19:[1, 18], Operations: ['5-4=1', '54-36=18'] Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[5, 4, 54, 36], Operations: [] Exploring Operation: 54-36=18, Resulting Numbers: [5, 4, 18] Generated Node #0,0: 19:[5, 4, 18] Operation: 54-36=18 Moving to Node #0,0 Current State: 19:[5, 4, 18], Operations: ['54-36=18'] Exploring Operation: 5*4=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 19:[18, 20] Operation: 5*4=20 Moving to Node #0,0,0 Current State: 19:[18, 20], Operations: ['54-36=18', '5*4=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,19 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 84, 99, 85, 79 ]
82
[ "84-79=5", "85/5=17", "99-17=82" ]
Current State: 82:[84, 99, 85, 79], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [99, 85, 5] Generated Node #2: [99, 85, 5] from Operation: 84-79=5 Current State: 82:[99, 85, 5], Operations: ['84-79=5'] Exploring Operation: 85/5=17, Resulting Numbers: [99, 17] Generated Node #3: [99, 17] from Operation: 85/5=17 Current State: 82:[99, 17], Operations: ['84-79=5', '85/5=17'] Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[84, 99, 85, 79], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [84, 79, 14] Generated Node #0,0: 82:[84, 79, 14] Operation: 99-85=14 Moving to Node #0,0 Current State: 82:[84, 79, 14], Operations: ['99-85=14'] Exploring Operation: 84/14=6, Resulting Numbers: [79, 6] Generated Node #0,0,0: 82:[79, 6] Operation: 84/14=6 Moving to Node #0,0,0 Current State: 82:[79, 6], Operations: ['99-85=14', '84/14=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,82 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 90, 60, 10, 34 ]
85
[ "90/10=9", "60+34=94", "94-9=85" ]
Current State: 85:[90, 60, 10, 34], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [60, 34, 9] Generated Node #2: [60, 34, 9] from Operation: 90/10=9 Current State: 85:[60, 34, 9], Operations: ['90/10=9'] Exploring Operation: 60+34=94, Resulting Numbers: [9, 94] Generated Node #3: [9, 94] from Operation: 60+34=94 Current State: 85:[9, 94], Operations: ['90/10=9', '60+34=94'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[90, 60, 10, 34], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [90, 10, 26] Generated Node #0,0: 85:[90, 10, 26] Operation: 60-34=26 Exploring Operation: 60+34=94, Resulting Numbers: [90, 10, 94] Generated Node #0,1: 85:[90, 10, 94] Operation: 60+34=94 Exploring Operation: 60+10=70, Resulting Numbers: [90, 34, 70] Generated Node #0,2: 85:[90, 34, 70] Operation: 60+10=70 Exploring Operation: 90-60=30, Resulting Numbers: [10, 34, 30] Generated Node #0,3: 85:[10, 34, 30] Operation: 90-60=30 Exploring Operation: 60/10=6, Resulting Numbers: [90, 34, 6] Generated Node #0,4: 85:[90, 34, 6] Operation: 60/10=6 Moving to Node #0,0 Current State: 85:[90, 10, 26], Operations: ['60-34=26'] Exploring Operation: 26-10=16, Resulting Numbers: [90, 16] Generated Node #0,0,0: 85:[90, 16] Operation: 26-10=16 Exploring Operation: 90/10=9, Resulting Numbers: [26, 9] Generated Node #0,0,1: 85:[26, 9] Operation: 90/10=9 Exploring Operation: 90+10=100, Resulting Numbers: [26, 100] Generated Node #0,0,2: 85:[26, 100] Operation: 90+10=100 Exploring Operation: 90-10=80, Resulting Numbers: [26, 80] Generated Node #0,0,3: 85:[26, 80] Operation: 90-10=80 Exploring Operation: 10+26=36, Resulting Numbers: [90, 36] Generated Node #0,0,4: 85:[90, 36] Operation: 10+26=36 Moving to Node #0,1 Current State: 85:[90, 10, 94], Operations: ['60+34=94'] Exploring Operation: 94-90=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 85:[10, 4] Operation: 94-90=4 Exploring Operation: 90-10=80, Resulting Numbers: [94, 80] Generated Node #0,1,1: 85:[94, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [94, 9] Generated Node #0,1,2: 85:[94, 9] Operation: 90/10=9 Exploring Operation: 94-10=84, Resulting Numbers: [90, 84] Generated Node #0,1,3: 85:[90, 84] Operation: 94-10=84 Exploring Operation: 90+10=100, Resulting Numbers: [94, 100] Generated Node #0,1,4: 85:[94, 100] Operation: 90+10=100 Moving to Node #0,4 Current State: 85:[90, 34, 6], Operations: ['60/10=6'] Exploring Operation: 90/6=15, Resulting Numbers: [34, 15] Generated Node #0,4,0: 85:[34, 15] Operation: 90/6=15 Exploring Operation: 90+6=96, Resulting Numbers: [34, 96] Generated Node #0,4,1: 85:[34, 96] Operation: 90+6=96 Exploring Operation: 34-6=28, Resulting Numbers: [90, 28] Generated Node #0,4,2: 85:[90, 28] Operation: 34-6=28 Exploring Operation: 34+6=40, Resulting Numbers: [90, 40] Generated Node #0,4,3: 85:[90, 40] Operation: 34+6=40 Exploring Operation: 90-6=84, Resulting Numbers: [34, 84] Generated Node #0,4,4: 85:[34, 84] Operation: 90-6=84 Moving to Node #0,3 Current State: 85:[10, 34, 30], Operations: ['90-60=30'] Exploring Operation: 34-10=24, Resulting Numbers: [30, 24] Generated Node #0,3,0: 85:[30, 24] Operation: 34-10=24 Exploring Operation: 30-10=20, Resulting Numbers: [34, 20] Generated Node #0,3,1: 85:[34, 20] Operation: 30-10=20 Exploring Operation: 34-30=4, Resulting Numbers: [10, 4] Generated Node #0,3,2: 85:[10, 4] Operation: 34-30=4 Exploring Operation: 34+30=64, Resulting Numbers: [10, 64] Generated Node #0,3,3: 85:[10, 64] Operation: 34+30=64 Exploring Operation: 30/10=3, Resulting Numbers: [34, 3] Generated Node #0,3,4: 85:[34, 3] Operation: 30/10=3 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[10, 4], Operations: ['90-60=30', '34-30=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,85 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 85:[34, 3], Operations: ['90-60=30', '30/10=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,85 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[30, 24], Operations: ['90-60=30', '34-10=24'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,85 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[34, 20], Operations: ['90-60=30', '30-10=20'] Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,85 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[10, 64], Operations: ['90-60=30', '34+30=64'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,85 unequal: No Solution Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,85 unequal: No Solution Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,85 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: 85:[90, 34, 70], Operations: ['60+10=70'] Exploring Operation: 34+70=104, Resulting Numbers: [90, 104] Generated Node #0,2,0: 85:[90, 104] Operation: 34+70=104 Exploring Operation: 90-70=20, Resulting Numbers: [34, 20] Generated Node #0,2,1: 85:[34, 20] Operation: 90-70=20 Exploring Operation: 90-34=56, Resulting Numbers: [70, 56] Generated Node #0,2,2: 85:[70, 56] Operation: 90-34=56 Exploring Operation: 90+34=124, Resulting Numbers: [70, 124] Generated Node #0,2,3: 85:[70, 124] Operation: 90+34=124 Exploring Operation: 70-34=36, Resulting Numbers: [90, 36] Generated Node #0,2,4: 85:[90, 36] Operation: 70-34=36 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[34, 20], Operations: ['60+10=70', '90-70=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,85 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[90, 104], Operations: ['60+10=70', '34+70=104'] Exploring Operation: 104-90=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 90*104=9360, Resulting Numbers: [9360] 9360,85 unequal: No Solution Exploring Operation: 90+104=194, Resulting Numbers: [194] 194,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 85:[90, 36], Operations: ['60+10=70', '70-34=36'] Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,85 unequal: No Solution Exploring Operation: 90*36=3240, Resulting Numbers: [3240] 3240,85 unequal: No Solution Exploring Operation: 90+36=126, Resulting Numbers: [126] 126,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[70, 56], Operations: ['60+10=70', '90-34=56'] Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,85 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 85:[70, 124], Operations: ['60+10=70', '90+34=124'] Exploring Operation: 70*124=8680, Resulting Numbers: [8680] 8680,85 unequal: No Solution Exploring Operation: 124-70=54, Resulting Numbers: [54] 54,85 unequal: No Solution Exploring Operation: 70+124=194, Resulting Numbers: [194] 194,85 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: 85:[90, 16], Operations: ['60-34=26', '26-10=16'] Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,85 unequal: No Solution Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,85 unequal: No Solution Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[10, 4], Operations: ['60+34=94', '94-90=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,85 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[90, 84], Operations: ['60+34=94', '94-10=84'] Exploring Operation: 90*84=7560, Resulting Numbers: [7560] 7560,85 unequal: No Solution Exploring Operation: 90+84=174, Resulting Numbers: [174] 174,85 unequal: No Solution Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[26, 9], Operations: ['60-34=26', '90/10=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,85 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[94, 9], Operations: ['60+34=94', '90/10=9'] Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,85 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[90, 60, 10, 34], Operations: [] Exploring Operation: 60+34=94, Resulting Numbers: [90, 10, 94] Generated Node #0,1: 85:[90, 10, 94] Operation: 60+34=94 Moving to Node #0,1 Current State: 85:[90, 10, 94], Operations: ['60+34=94'] Exploring Operation: 90/10=9, Resulting Numbers: [94, 9] Generated Node #0,1,2: 85:[94, 9] Operation: 90/10=9 Moving to Node #0,1,2 Current State: 85:[94, 9], Operations: ['60+34=94', '90/10=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.932292
hs_5
sum_heuristic
[ 15, 67, 96, 83 ]
90
[ "15*96=1440", "83-67=16", "1440/16=90" ]
Current State: 90:[15, 67, 96, 83], Operations: [] Exploring Operation: 15*96=1440, Resulting Numbers: [67, 83, 1440] Generated Node #2: [67, 83, 1440] from Operation: 15*96=1440 Current State: 90:[67, 83, 1440], Operations: ['15*96=1440'] Exploring Operation: 83-67=16, Resulting Numbers: [1440, 16] Generated Node #3: [1440, 16] from Operation: 83-67=16 Current State: 90:[1440, 16], Operations: ['15*96=1440', '83-67=16'] Exploring Operation: 1440/16=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[15, 67, 96, 83], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [15, 96, 16] Generated Node #0,0: 90:[15, 96, 16] Operation: 83-67=16 Exploring Operation: 15+67=82, Resulting Numbers: [96, 83, 82] Generated Node #0,1: 90:[96, 83, 82] Operation: 15+67=82 Exploring Operation: 67-15=52, Resulting Numbers: [96, 83, 52] Generated Node #0,2: 90:[96, 83, 52] Operation: 67-15=52 Exploring Operation: 96-67=29, Resulting Numbers: [15, 83, 29] Generated Node #0,3: 90:[15, 83, 29] Operation: 96-67=29 Moving to Node #0,0 Current State: 90:[15, 96, 16], Operations: ['83-67=16'] Exploring Operation: 15+16=31, Resulting Numbers: [96, 31] Generated Node #0,0,0: 90:[96, 31] Operation: 15+16=31 Exploring Operation: 16-15=1, Resulting Numbers: [96, 1] Generated Node #0,0,1: 90:[96, 1] Operation: 16-15=1 Exploring Operation: 96-15=81, Resulting Numbers: [16, 81] Generated Node #0,0,2: 90:[16, 81] Operation: 96-15=81 Exploring Operation: 96/16=6, Resulting Numbers: [15, 6] Generated Node #0,0,3: 90:[15, 6] Operation: 96/16=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[15, 6], Operations: ['83-67=16', '96/16=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[15, 67, 96, 83], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [15, 96, 16] Generated Node #0,0: 90:[15, 96, 16] Operation: 83-67=16 Moving to Node #0,0 Current State: 90:[15, 96, 16], Operations: ['83-67=16'] Exploring Operation: 96/16=6, Resulting Numbers: [15, 6] Generated Node #0,0,3: 90:[15, 6] Operation: 96/16=6 Moving to Node #0,0,3 Current State: 90:[15, 6], Operations: ['83-67=16', '96/16=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 20, 88, 86, 2 ]
67
[ "88+86=174", "174/2=87", "87-20=67" ]
Current State: 67:[20, 88, 86, 2], Operations: [] Exploring Operation: 88+86=174, Resulting Numbers: [20, 2, 174] Generated Node #2: [20, 2, 174] from Operation: 88+86=174 Current State: 67:[20, 2, 174], Operations: ['88+86=174'] Exploring Operation: 174/2=87, Resulting Numbers: [20, 87] Generated Node #3: [20, 87] from Operation: 174/2=87 Current State: 67:[20, 87], Operations: ['88+86=174', '174/2=87'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[20, 88, 86, 2], Operations: [] Exploring Operation: 20*2=40, Resulting Numbers: [88, 86, 40] Generated Node #0,0: 67:[88, 86, 40] Operation: 20*2=40 Exploring Operation: 88-20=68, Resulting Numbers: [86, 2, 68] Generated Node #0,1: 67:[86, 2, 68] Operation: 88-20=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[88, 86, 40], Operations: ['20*2=40'] Exploring Operation: 88-40=48, Resulting Numbers: [86, 48] Generated Node #0,0,0: 67:[86, 48] Operation: 88-40=48 Exploring Operation: 86-40=46, Resulting Numbers: [88, 46] Generated Node #0,0,1: 67:[88, 46] Operation: 86-40=46 Moving to Node #0,0,0 Current State: 67:[86, 48], Operations: ['20*2=40', '88-40=48'] Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 86+48=134, Resulting Numbers: [134] 134,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[88, 46], Operations: ['20*2=40', '86-40=46'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[86, 2, 68], Operations: ['88-20=68'] Exploring Operation: 68-2=66, Resulting Numbers: [86, 66] Generated Node #0,1,0: 67:[86, 66] Operation: 68-2=66 Exploring Operation: 86-2=84, Resulting Numbers: [68, 84] Generated Node #0,1,1: 67:[68, 84] Operation: 86-2=84 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[68, 84], Operations: ['88-20=68', '86-2=84'] Exploring Operation: 68+84=152, Resulting Numbers: [152] 152,67 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[86, 66], Operations: ['88-20=68', '68-2=66'] Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 86+66=152, Resulting Numbers: [152] 152,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 64, 84, 69, 83 ]
34
[ "84-64=20", "83-69=14", "20+14=34" ]
Current State: 34:[64, 84, 69, 83], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [69, 83, 20] Generated Node #2: [69, 83, 20] from Operation: 84-64=20 Current State: 34:[69, 83, 20], Operations: ['84-64=20'] Exploring Operation: 83-69=14, Resulting Numbers: [20, 14] Generated Node #3: [20, 14] from Operation: 83-69=14 Current State: 34:[20, 14], Operations: ['84-64=20', '83-69=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[64, 84, 69, 83], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [64, 69, 1] Generated Node #0,0: 34:[64, 69, 1] Operation: 84-83=1 Exploring Operation: 84-69=15, Resulting Numbers: [64, 83, 15] Generated Node #0,1: 34:[64, 83, 15] Operation: 84-69=15 Exploring Operation: 84-64=20, Resulting Numbers: [69, 83, 20] Generated Node #0,2: 34:[69, 83, 20] Operation: 84-64=20 Exploring Operation: 83-69=14, Resulting Numbers: [64, 84, 14] Generated Node #0,3: 34:[64, 84, 14] Operation: 83-69=14 Moving to Node #0,0 Current State: 34:[64, 69, 1], Operations: ['84-83=1'] Exploring Operation: 69-64=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 34:[1, 5] Operation: 69-64=5 Exploring Operation: 64*1=64, Resulting Numbers: [69, 64] Generated Node #0,0,1: 34:[69, 64] Operation: 64*1=64 Exploring Operation: 69-1=68, Resulting Numbers: [64, 68] Generated Node #0,0,2: 34:[64, 68] Operation: 69-1=68 Exploring Operation: 64-1=63, Resulting Numbers: [69, 63] Generated Node #0,0,3: 34:[69, 63] Operation: 64-1=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[1, 5], Operations: ['84-83=1', '69-64=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,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,2 Current State: 34:[64, 68], Operations: ['84-83=1', '69-1=68'] Exploring Operation: 64+68=132, Resulting Numbers: [132] 132,34 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 64*68=4352, Resulting Numbers: [4352] 4352,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,3 Current State: 34:[69, 63], Operations: ['84-83=1', '64-1=63'] Exploring Operation: 69+63=132, Resulting Numbers: [132] 132,34 unequal: No Solution Exploring Operation: 69*63=4347, Resulting Numbers: [4347] 4347,34 unequal: No Solution Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,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,1 Current State: 34:[69, 64], Operations: ['84-83=1', '64*1=64'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 69*64=4416, Resulting Numbers: [4416] 4416,34 unequal: No Solution Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,34 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: 34:[64, 83, 15], Operations: ['84-69=15'] Exploring Operation: 64-15=49, Resulting Numbers: [83, 49] Generated Node #0,1,0: 34:[83, 49] Operation: 64-15=49 Exploring Operation: 83-64=19, Resulting Numbers: [15, 19] Generated Node #0,1,1: 34:[15, 19] Operation: 83-64=19 Exploring Operation: 83-15=68, Resulting Numbers: [64, 68] Generated Node #0,1,2: 34:[64, 68] Operation: 83-15=68 Exploring Operation: 64+15=79, Resulting Numbers: [83, 79] Generated Node #0,1,3: 34:[83, 79] Operation: 64+15=79 Moving to Node #0,3 Current State: 34:[64, 84, 14], Operations: ['83-69=14'] Exploring Operation: 84-14=70, Resulting Numbers: [64, 70] Generated Node #0,3,0: 34:[64, 70] Operation: 84-14=70 Exploring Operation: 84/14=6, Resulting Numbers: [64, 6] Generated Node #0,3,1: 34:[64, 6] Operation: 84/14=6 Exploring Operation: 64-14=50, Resulting Numbers: [84, 50] Generated Node #0,3,2: 34:[84, 50] Operation: 64-14=50 Exploring Operation: 84-64=20, Resulting Numbers: [14, 20] Generated Node #0,3,3: 34:[14, 20] Operation: 84-64=20 Moving to Node #0,2 Current State: 34:[69, 83, 20], Operations: ['84-64=20'] Exploring Operation: 69-20=49, Resulting Numbers: [83, 49] Generated Node #0,2,0: 34:[83, 49] Operation: 69-20=49 Exploring Operation: 83-20=63, Resulting Numbers: [69, 63] Generated Node #0,2,1: 34:[69, 63] Operation: 83-20=63 Exploring Operation: 69+20=89, Resulting Numbers: [83, 89] Generated Node #0,2,2: 34:[83, 89] Operation: 69+20=89 Exploring Operation: 83-69=14, Resulting Numbers: [20, 14] Generated Node #0,2,3: 34:[20, 14] Operation: 83-69=14 Moving to Node #0,1,1 Current State: 34:[15, 19], Operations: ['84-69=15', '83-64=19'] Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,34 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[64, 84, 69, 83], Operations: [] Exploring Operation: 84-69=15, Resulting Numbers: [64, 83, 15] Generated Node #0,1: 34:[64, 83, 15] Operation: 84-69=15 Moving to Node #0,1 Current State: 34:[64, 83, 15], Operations: ['84-69=15'] Exploring Operation: 83-64=19, Resulting Numbers: [15, 19] Generated Node #0,1,1: 34:[15, 19] Operation: 83-64=19 Moving to Node #0,1,1 Current State: 34:[15, 19], Operations: ['84-69=15', '83-64=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 57, 60, 54, 66 ]
54
[ "66-57=9", "60-54=6", "9*6=54" ]
Current State: 54:[57, 60, 54, 66], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [60, 54, 9] Generated Node #2: [60, 54, 9] from Operation: 66-57=9 Current State: 54:[60, 54, 9], Operations: ['66-57=9'] Exploring Operation: 60-54=6, Resulting Numbers: [9, 6] Generated Node #3: [9, 6] from Operation: 60-54=6 Current State: 54:[9, 6], Operations: ['66-57=9', '60-54=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[57, 60, 54, 66], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [54, 66, 3] Generated Node #0,0: 54:[54, 66, 3] Operation: 60-57=3 Exploring Operation: 66-57=9, Resulting Numbers: [60, 54, 9] Generated Node #0,1: 54:[60, 54, 9] Operation: 66-57=9 Exploring Operation: 66-60=6, Resulting Numbers: [57, 54, 6] Generated Node #0,2: 54:[57, 54, 6] Operation: 66-60=6 Exploring Operation: 66-54=12, Resulting Numbers: [57, 60, 12] Generated Node #0,3: 54:[57, 60, 12] Operation: 66-54=12 Moving to Node #0,2 Current State: 54:[57, 54, 6], Operations: ['66-60=6'] Exploring Operation: 57-6=51, Resulting Numbers: [54, 51] Generated Node #0,2,0: 54:[54, 51] Operation: 57-6=51 Exploring Operation: 57-54=3, Resulting Numbers: [6, 3] Generated Node #0,2,1: 54:[6, 3] Operation: 57-54=3 Exploring Operation: 54/6=9, Resulting Numbers: [57, 9] Generated Node #0,2,2: 54:[57, 9] Operation: 54/6=9 Exploring Operation: 57+6=63, Resulting Numbers: [54, 63] Generated Node #0,2,3: 54:[54, 63] Operation: 57+6=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[6, 3], Operations: ['66-60=6', '57-54=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,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, 51], Operations: ['66-60=6', '57-6=51'] Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,54 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,54 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[57, 9], Operations: ['66-60=6', '54/6=9'] Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,54 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,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,3 Current State: 54:[54, 63], Operations: ['66-60=6', '57+6=63'] Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,54 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,54 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,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:[60, 54, 9], Operations: ['66-57=9'] Exploring Operation: 60-9=51, Resulting Numbers: [54, 51] Generated Node #0,1,0: 54:[54, 51] Operation: 60-9=51 Exploring Operation: 54/9=6, Resulting Numbers: [60, 6] Generated Node #0,1,1: 54:[60, 6] Operation: 54/9=6 Exploring Operation: 60-54=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 54:[9, 6] Operation: 60-54=6 Exploring Operation: 60+9=69, Resulting Numbers: [54, 69] Generated Node #0,1,3: 54:[54, 69] Operation: 60+9=69 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[9, 6], Operations: ['66-57=9', '60-54=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[57, 60, 54, 66], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [60, 54, 9] Generated Node #0,1: 54:[60, 54, 9] Operation: 66-57=9 Moving to Node #0,1 Current State: 54:[60, 54, 9], Operations: ['66-57=9'] Exploring Operation: 60-54=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 54:[9, 6] Operation: 60-54=6 Moving to Node #0,1,2 Current State: 54:[9, 6], Operations: ['66-57=9', '60-54=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 82, 85, 80, 85 ]
85
[ "82-80=2", "85+85=170", "170/2=85" ]
Current State: 85:[82, 85, 80, 85], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [85, 85, 2] Generated Node #2: [85, 85, 2] from Operation: 82-80=2 Current State: 85:[85, 85, 2], Operations: ['82-80=2'] Exploring Operation: 85+85=170, Resulting Numbers: [2, 170] Generated Node #3: [2, 170] from Operation: 85+85=170 Current State: 85:[2, 170], Operations: ['82-80=2', '85+85=170'] Exploring Operation: 170/2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[82, 85, 80, 85], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [85, 85, 2] Generated Node #0,0: 85:[85, 85, 2] Operation: 82-80=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[85, 85, 2], Operations: ['82-80=2'] Exploring Operation: 85+2=87, Resulting Numbers: [85, 87] Generated Node #0,0,0: 85:[85, 87] Operation: 85+2=87 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[85, 87], Operations: ['82-80=2', '85+2=87'] Exploring Operation: 87-85=2, Resulting Numbers: [2] 2,85 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
[ 16, 2, 46, 18 ]
45
[ "16+2=18", "18/18=1", "46-1=45" ]
Current State: 45:[16, 2, 46, 18], Operations: [] Exploring Operation: 16+2=18, Resulting Numbers: [46, 18, 18] Generated Node #2: [46, 18, 18] from Operation: 16+2=18 Current State: 45:[46, 18, 18], Operations: ['16+2=18'] Exploring Operation: 18/18=1, Resulting Numbers: [46, 1] Generated Node #3: [46, 1] from Operation: 18/18=1 Current State: 45:[46, 1], Operations: ['16+2=18', '18/18=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[16, 2, 46, 18], Operations: [] Exploring Operation: 18/2=9, Resulting Numbers: [16, 46, 9] Generated Node #0,0: 45:[16, 46, 9] Operation: 18/2=9 Exploring Operation: 18-2=16, Resulting Numbers: [16, 46, 16] Generated Node #0,1: 45:[16, 46, 16] Operation: 18-2=16 Exploring Operation: 18-16=2, Resulting Numbers: [2, 46, 2] Generated Node #0,2: 45:[2, 46, 2] Operation: 18-16=2 Exploring Operation: 16-2=14, Resulting Numbers: [46, 18, 14] Generated Node #0,3: 45:[46, 18, 14] Operation: 16-2=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[16, 46, 9], Operations: ['18/2=9'] Exploring Operation: 46+9=55, Resulting Numbers: [16, 55] Generated Node #0,0,0: 45:[16, 55] Operation: 46+9=55 Exploring Operation: 46-9=37, Resulting Numbers: [16, 37] Generated Node #0,0,1: 45:[16, 37] Operation: 46-9=37 Exploring Operation: 16+9=25, Resulting Numbers: [46, 25] Generated Node #0,0,2: 45:[46, 25] Operation: 16+9=25 Exploring Operation: 16-9=7, Resulting Numbers: [46, 7] Generated Node #0,0,3: 45:[46, 7] Operation: 16-9=7 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[46, 7], Operations: ['18/2=9', '16-9=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[16, 37], Operations: ['18/2=9', '46-9=37'] Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,45 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[16, 55], Operations: ['18/2=9', '46+9=55'] Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,45 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[46, 25], Operations: ['18/2=9', '16+9=25'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,45 unequal: No Solution Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[16, 46, 16], Operations: ['18-2=16'] Exploring Operation: 46-16=30, Resulting Numbers: [16, 30] Generated Node #0,1,0: 45:[16, 30] Operation: 46-16=30 Exploring Operation: 16-16=0, Resulting Numbers: [46, 0] Generated Node #0,1,1: 45:[46, 0] Operation: 16-16=0 Exploring Operation: 16/16=1, Resulting Numbers: [46, 1] Generated Node #0,1,2: 45:[46, 1] Operation: 16/16=1 Exploring Operation: 16+16=32, Resulting Numbers: [46, 32] Generated Node #0,1,3: 45:[46, 32] Operation: 16+16=32 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[46, 1], Operations: ['18-2=16', '16/16=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[16, 2, 46, 18], Operations: [] Exploring Operation: 18-2=16, Resulting Numbers: [16, 46, 16] Generated Node #0,1: 45:[16, 46, 16] Operation: 18-2=16 Moving to Node #0,1 Current State: 45:[16, 46, 16], Operations: ['18-2=16'] Exploring Operation: 16/16=1, Resulting Numbers: [46, 1] Generated Node #0,1,2: 45:[46, 1] Operation: 16/16=1 Moving to Node #0,1,2 Current State: 45:[46, 1], Operations: ['18-2=16', '16/16=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 71, 96, 7, 32 ]
64
[ "96-71=25", "7+32=39", "25+39=64" ]
Current State: 64:[71, 96, 7, 32], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [7, 32, 25] Generated Node #2: [7, 32, 25] from Operation: 96-71=25 Current State: 64:[7, 32, 25], Operations: ['96-71=25'] Exploring Operation: 7+32=39, Resulting Numbers: [25, 39] Generated Node #3: [25, 39] from Operation: 7+32=39 Current State: 64:[25, 39], Operations: ['96-71=25', '7+32=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[71, 96, 7, 32], Operations: [] Exploring Operation: 71-7=64, Resulting Numbers: [96, 32, 64] Generated Node #0,0: 64:[96, 32, 64] Operation: 71-7=64 Exploring Operation: 96-7=89, Resulting Numbers: [71, 32, 89] Generated Node #0,1: 64:[71, 32, 89] Operation: 96-7=89 Exploring Operation: 96-32=64, Resulting Numbers: [71, 7, 64] Generated Node #0,2: 64:[71, 7, 64] Operation: 96-32=64 Exploring Operation: 96-71=25, Resulting Numbers: [7, 32, 25] Generated Node #0,3: 64:[7, 32, 25] Operation: 96-71=25 Exploring Operation: 96/32=3, Resulting Numbers: [71, 7, 3] Generated Node #0,4: 64:[71, 7, 3] Operation: 96/32=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[71, 7, 64], Operations: ['96-32=64'] Exploring Operation: 71+7=78, Resulting Numbers: [64, 78] Generated Node #0,2,0: 64:[64, 78] Operation: 71+7=78 Exploring Operation: 71-7=64, Resulting Numbers: [64, 64] Generated Node #0,2,1: 64:[64, 64] Operation: 71-7=64 Exploring Operation: 64-7=57, Resulting Numbers: [71, 57] Generated Node #0,2,2: 64:[71, 57] Operation: 64-7=57 Exploring Operation: 7+64=71, Resulting Numbers: [71, 71] Generated Node #0,2,3: 64:[71, 71] Operation: 7+64=71 Exploring Operation: 71-64=7, Resulting Numbers: [7, 7] Generated Node #0,2,4: 64:[7, 7] Operation: 71-64=7 Moving to Node #0,2,1 Current State: 64:[64, 64], Operations: ['96-32=64', '71-7=64'] Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,64 unequal: No Solution Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[7, 7], Operations: ['96-32=64', '71-64=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,64 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[64, 78], Operations: ['96-32=64', '71+7=78'] Exploring Operation: 64*78=4992, Resulting Numbers: [4992] 4992,64 unequal: No Solution Exploring Operation: 64+78=142, Resulting Numbers: [142] 142,64 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[71, 57], Operations: ['96-32=64', '64-7=57'] Exploring Operation: 71+57=128, Resulting Numbers: [128] 128,64 unequal: No Solution Exploring Operation: 71*57=4047, Resulting Numbers: [4047] 4047,64 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[71, 71], Operations: ['96-32=64', '7+64=71'] Exploring Operation: 71-71=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 71+71=142, Resulting Numbers: [142] 142,64 unequal: No Solution Exploring Operation: 71/71=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 71*71=5041, Resulting Numbers: [5041] 5041,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,3 Current State: 64:[7, 32, 25], Operations: ['96-71=25'] Exploring Operation: 7+25=32, Resulting Numbers: [32, 32] Generated Node #0,3,0: 64:[32, 32] Operation: 7+25=32 Exploring Operation: 32+25=57, Resulting Numbers: [7, 57] Generated Node #0,3,1: 64:[7, 57] Operation: 32+25=57 Exploring Operation: 25-7=18, Resulting Numbers: [32, 18] Generated Node #0,3,2: 64:[32, 18] Operation: 25-7=18 Exploring Operation: 32-25=7, Resulting Numbers: [7, 7] Generated Node #0,3,3: 64:[7, 7] Operation: 32-25=7 Exploring Operation: 7+32=39, Resulting Numbers: [25, 39] Generated Node #0,3,4: 64:[25, 39] Operation: 7+32=39 Moving to Node #0,3,0 Current State: 64:[32, 32], Operations: ['96-71=25', '7+25=32'] Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,64 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[71, 96, 7, 32], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [7, 32, 25] Generated Node #0,3: 64:[7, 32, 25] Operation: 96-71=25 Moving to Node #0,3 Current State: 64:[7, 32, 25], Operations: ['96-71=25'] Exploring Operation: 7+25=32, Resulting Numbers: [32, 32] Generated Node #0,3,0: 64:[32, 32] Operation: 7+25=32 Moving to Node #0,3,0 Current State: 64:[32, 32], Operations: ['96-71=25', '7+25=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 8, 9, 77, 95 ]
100
[ "8*9=72", "77+95=172", "172-72=100" ]
Current State: 100:[8, 9, 77, 95], Operations: [] Exploring Operation: 8*9=72, Resulting Numbers: [77, 95, 72] Generated Node #2: [77, 95, 72] from Operation: 8*9=72 Current State: 100:[77, 95, 72], Operations: ['8*9=72'] Exploring Operation: 77+95=172, Resulting Numbers: [72, 172] Generated Node #3: [72, 172] from Operation: 77+95=172 Current State: 100:[72, 172], Operations: ['8*9=72', '77+95=172'] Exploring Operation: 172-72=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[8, 9, 77, 95], Operations: [] Exploring Operation: 9+77=86, Resulting Numbers: [8, 95, 86] Generated Node #0,0: 100:[8, 95, 86] Operation: 9+77=86 Exploring Operation: 8+77=85, Resulting Numbers: [9, 95, 85] Generated Node #0,1: 100:[9, 95, 85] Operation: 8+77=85 Exploring Operation: 95-77=18, Resulting Numbers: [8, 9, 18] Generated Node #0,2: 100:[8, 9, 18] Operation: 95-77=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[8, 9, 18], Operations: ['95-77=18'] Exploring Operation: 18/9=2, Resulting Numbers: [8, 2] Generated Node #0,2,0: 100:[8, 2] Operation: 18/9=2 Exploring Operation: 18-8=10, Resulting Numbers: [9, 10] Generated Node #0,2,1: 100:[9, 10] Operation: 18-8=10 Exploring Operation: 8+18=26, Resulting Numbers: [9, 26] Generated Node #0,2,2: 100:[9, 26] Operation: 8+18=26 Moving to Node #0,2,1 Current State: 100:[9, 10], Operations: ['95-77=18', '18-8=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,100 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[8, 2], Operations: ['95-77=18', '18/9=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[9, 26], Operations: ['95-77=18', '8+18=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,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 Current State: 100:[8, 95, 86], Operations: ['9+77=86'] Exploring Operation: 8+95=103, Resulting Numbers: [86, 103] Generated Node #0,0,0: 100:[86, 103] Operation: 8+95=103 Exploring Operation: 8+86=94, Resulting Numbers: [95, 94] Generated Node #0,0,1: 100:[95, 94] Operation: 8+86=94 Exploring Operation: 95-86=9, Resulting Numbers: [8, 9] Generated Node #0,0,2: 100:[8, 9] Operation: 95-86=9 Moving to Node #0,0,2 Current State: 100:[8, 9], Operations: ['9+77=86', '95-86=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[95, 94], Operations: ['9+77=86', '8+86=94'] Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 95*94=8930, Resulting Numbers: [8930] 8930,100 unequal: No Solution Exploring Operation: 95+94=189, Resulting Numbers: [189] 189,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[86, 103], Operations: ['9+77=86', '8+95=103'] Exploring Operation: 86*103=8858, Resulting Numbers: [8858] 8858,100 unequal: No Solution Exploring Operation: 103-86=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 86+103=189, Resulting Numbers: [189] 189,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 Current State: 100:[9, 95, 85], Operations: ['8+77=85'] Exploring Operation: 95-85=10, Resulting Numbers: [9, 10] Generated Node #0,1,0: 100:[9, 10] Operation: 95-85=10 Exploring Operation: 9+85=94, Resulting Numbers: [95, 94] Generated Node #0,1,1: 100:[95, 94] Operation: 9+85=94 Exploring Operation: 9+95=104, Resulting Numbers: [85, 104] Generated Node #0,1,2: 100:[85, 104] Operation: 9+95=104 Moving to Node #0,1,0 Current State: 100:[9, 10], Operations: ['8+77=85', '95-85=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,100 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[95, 94], Operations: ['8+77=85', '9+85=94'] Exploring Operation: 95*94=8930, Resulting Numbers: [8930] 8930,100 unequal: No Solution Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 95+94=189, Resulting Numbers: [189] 189,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[85, 104], Operations: ['8+77=85', '9+95=104'] Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 85*104=8840, Resulting Numbers: [8840] 8840,100 unequal: No Solution Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,100 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
[ 92, 47, 3, 45 ]
90
[ "92-47=45", "3*45=135", "135-45=90" ]
Current State: 90:[92, 47, 3, 45], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [3, 45, 45] Generated Node #2: [3, 45, 45] from Operation: 92-47=45 Current State: 90:[3, 45, 45], Operations: ['92-47=45'] Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,90 equal: Goal Reached Exploring Operation: 135-45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[92, 47, 3, 45], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [3, 45, 45] Generated Node #0,0: 90:[3, 45, 45] Operation: 92-47=45 Exploring Operation: 47-45=2, Resulting Numbers: [92, 3, 2] Generated Node #0,1: 90:[92, 3, 2] Operation: 47-45=2 Moving to Node #0,0 Current State: 90:[3, 45, 45], Operations: ['92-47=45'] Exploring Operation: 45/3=15, Resulting Numbers: [45, 15] Generated Node #0,0,0: 90:[45, 15] Operation: 45/3=15 Exploring Operation: 45/3=15, Resulting Numbers: [45, 15] Generated Node #0,0,1: 90:[45, 15] Operation: 45/3=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[45, 15], Operations: ['92-47=45', '45/3=15'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,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:[45, 15], Operations: ['92-47=45', '45/3=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,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:[92, 3, 2], Operations: ['47-45=2'] Exploring Operation: 92-2=90, Resulting Numbers: [3, 90] Generated Node #0,1,0: 90:[3, 90] Operation: 92-2=90 Exploring Operation: 92-3=89, Resulting Numbers: [2, 89] Generated Node #0,1,1: 90:[2, 89] Operation: 92-3=89 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[3, 90], Operations: ['47-45=2', '92-2=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[2, 89], Operations: ['47-45=2', '92-3=89'] Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,90 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
[ 28, 23, 91, 27 ]
13
[ "28+23=51", "91-27=64", "64-51=13" ]
Current State: 13:[28, 23, 91, 27], Operations: [] Exploring Operation: 28+23=51, Resulting Numbers: [91, 27, 51] Generated Node #2: [91, 27, 51] from Operation: 28+23=51 Current State: 13:[91, 27, 51], Operations: ['28+23=51'] Exploring Operation: 91-27=64, Resulting Numbers: [51, 64] Generated Node #3: [51, 64] from Operation: 91-27=64 Current State: 13:[51, 64], Operations: ['28+23=51', '91-27=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[28, 23, 91, 27], Operations: [] Exploring Operation: 28-27=1, Resulting Numbers: [23, 91, 1] Generated Node #0,0: 13:[23, 91, 1] Operation: 28-27=1 Exploring Operation: 91-28=63, Resulting Numbers: [23, 27, 63] Generated Node #0,1: 13:[23, 27, 63] Operation: 91-28=63 Exploring Operation: 91-27=64, Resulting Numbers: [28, 23, 64] Generated Node #0,2: 13:[28, 23, 64] Operation: 91-27=64 Exploring Operation: 28-23=5, Resulting Numbers: [91, 27, 5] Generated Node #0,3: 13:[91, 27, 5] Operation: 28-23=5 Exploring Operation: 91-23=68, Resulting Numbers: [28, 27, 68] Generated Node #0,4: 13:[28, 27, 68] Operation: 91-23=68 Moving to Node #0,1 Current State: 13:[23, 27, 63], Operations: ['91-28=63'] Exploring Operation: 27-23=4, Resulting Numbers: [63, 4] Generated Node #0,1,0: 13:[63, 4] Operation: 27-23=4 Exploring Operation: 63-23=40, Resulting Numbers: [27, 40] Generated Node #0,1,1: 13:[27, 40] Operation: 63-23=40 Exploring Operation: 63-27=36, Resulting Numbers: [23, 36] Generated Node #0,1,2: 13:[23, 36] Operation: 63-27=36 Exploring Operation: 23+27=50, Resulting Numbers: [63, 50] Generated Node #0,1,3: 13:[63, 50] Operation: 23+27=50 Exploring Operation: 23+63=86, Resulting Numbers: [27, 86] Generated Node #0,1,4: 13:[27, 86] Operation: 23+63=86 Moving to Node #0,2 Current State: 13:[28, 23, 64], Operations: ['91-27=64'] Exploring Operation: 64-28=36, Resulting Numbers: [23, 36] Generated Node #0,2,0: 13:[23, 36] Operation: 64-28=36 Exploring Operation: 64-23=41, Resulting Numbers: [28, 41] Generated Node #0,2,1: 13:[28, 41] Operation: 64-23=41 Exploring Operation: 28+64=92, Resulting Numbers: [23, 92] Generated Node #0,2,2: 13:[23, 92] Operation: 28+64=92 Exploring Operation: 28-23=5, Resulting Numbers: [64, 5] Generated Node #0,2,3: 13:[64, 5] Operation: 28-23=5 Exploring Operation: 28+23=51, Resulting Numbers: [64, 51] Generated Node #0,2,4: 13:[64, 51] Operation: 28+23=51 Moving to Node #0,4 Current State: 13:[28, 27, 68], Operations: ['91-23=68'] Exploring Operation: 28-27=1, Resulting Numbers: [68, 1] Generated Node #0,4,0: 13:[68, 1] Operation: 28-27=1 Exploring Operation: 68-27=41, Resulting Numbers: [28, 41] Generated Node #0,4,1: 13:[28, 41] Operation: 68-27=41 Exploring Operation: 68-28=40, Resulting Numbers: [27, 40] Generated Node #0,4,2: 13:[27, 40] Operation: 68-28=40 Exploring Operation: 28+68=96, Resulting Numbers: [27, 96] Generated Node #0,4,3: 13:[27, 96] Operation: 28+68=96 Exploring Operation: 28+27=55, Resulting Numbers: [68, 55] Generated Node #0,4,4: 13:[68, 55] Operation: 28+27=55 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 13:[27, 40], Operations: ['91-23=68', '68-28=40'] Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,13 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[28, 23, 91, 27], Operations: [] Exploring Operation: 91-23=68, Resulting Numbers: [28, 27, 68] Generated Node #0,4: 13:[28, 27, 68] Operation: 91-23=68 Moving to Node #0,4 Current State: 13:[28, 27, 68], Operations: ['91-23=68'] Exploring Operation: 68-28=40, Resulting Numbers: [27, 40] Generated Node #0,4,2: 13:[27, 40] Operation: 68-28=40 Moving to Node #0,4,2 Current State: 13:[27, 40], Operations: ['91-23=68', '68-28=40'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 32, 22, 82, 9 ]
82
[ "32-22=10", "10-9=1", "82*1=82" ]
Current State: 82:[32, 22, 82, 9], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [82, 9, 10] Generated Node #2: [82, 9, 10] from Operation: 32-22=10 Current State: 82:[82, 9, 10], Operations: ['32-22=10'] Exploring Operation: 10-9=1, Resulting Numbers: [82, 1] Generated Node #3: [82, 1] from Operation: 10-9=1 Current State: 82:[82, 1], Operations: ['32-22=10', '10-9=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[32, 22, 82, 9], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [82, 9, 10] Generated Node #0,0: 82:[82, 9, 10] Operation: 32-22=10 Exploring Operation: 32+9=41, Resulting Numbers: [22, 82, 41] Generated Node #0,1: 82:[22, 82, 41] Operation: 32+9=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[82, 9, 10], Operations: ['32-22=10'] Exploring Operation: 10-9=1, Resulting Numbers: [82, 1] Generated Node #0,0,0: 82:[82, 1] Operation: 10-9=1 Exploring Operation: 9*10=90, Resulting Numbers: [82, 90] Generated Node #0,0,1: 82:[82, 90] Operation: 9*10=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[82, 1], Operations: ['32-22=10', '10-9=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[32, 22, 82, 9], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [82, 9, 10] Generated Node #0,0: 82:[82, 9, 10] Operation: 32-22=10 Moving to Node #0,0 Current State: 82:[82, 9, 10], Operations: ['32-22=10'] Exploring Operation: 10-9=1, Resulting Numbers: [82, 1] Generated Node #0,0,0: 82:[82, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 82:[82, 1], Operations: ['32-22=10', '10-9=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 1, 6, 57, 24 ]
38
[ "6-1=5", "57-24=33", "5+33=38" ]
Current State: 38:[1, 6, 57, 24], Operations: [] Exploring Operation: 6-1=5, Resulting Numbers: [57, 24, 5] Generated Node #2: [57, 24, 5] from Operation: 6-1=5 Current State: 38:[57, 24, 5], Operations: ['6-1=5'] Exploring Operation: 57-24=33, Resulting Numbers: [5, 33] Generated Node #3: [5, 33] from Operation: 57-24=33 Current State: 38:[5, 33], Operations: ['6-1=5', '57-24=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[1, 6, 57, 24], Operations: [] Exploring Operation: 57-6=51, Resulting Numbers: [1, 24, 51] Generated Node #0,0: 38:[1, 24, 51] Operation: 57-6=51 Exploring Operation: 57-24=33, Resulting Numbers: [1, 6, 33] Generated Node #0,1: 38:[1, 6, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[1, 6, 33], Operations: ['57-24=33'] Exploring Operation: 6-1=5, Resulting Numbers: [33, 5] Generated Node #0,1,0: 38:[33, 5] Operation: 6-1=5 Exploring Operation: 6+33=39, Resulting Numbers: [1, 39] Generated Node #0,1,1: 38:[1, 39] Operation: 6+33=39 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[1, 39], Operations: ['57-24=33', '6+33=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[1, 6, 57, 24], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [1, 6, 33] Generated Node #0,1: 38:[1, 6, 33] Operation: 57-24=33 Moving to Node #0,1 Current State: 38:[1, 6, 33], Operations: ['57-24=33'] Exploring Operation: 6+33=39, Resulting Numbers: [1, 39] Generated Node #0,1,1: 38:[1, 39] Operation: 6+33=39 Moving to Node #0,1,1 Current State: 38:[1, 39], Operations: ['57-24=33', '6+33=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 63, 77, 79, 68 ]
97
[ "79-77=2", "68/2=34", "63+34=97" ]
Current State: 97:[63, 77, 79, 68], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [63, 68, 2] Generated Node #2: [63, 68, 2] from Operation: 79-77=2 Current State: 97:[63, 68, 2], Operations: ['79-77=2'] Exploring Operation: 68/2=34, Resulting Numbers: [63, 34] Generated Node #3: [63, 34] from Operation: 68/2=34 Current State: 97:[63, 34], Operations: ['79-77=2', '68/2=34'] Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[63, 77, 79, 68], Operations: [] Exploring Operation: 63+68=131, Resulting Numbers: [77, 79, 131] Generated Node #0,0: 97:[77, 79, 131] Operation: 63+68=131 Moving to Node #0,0 Current State: 97:[77, 79, 131], Operations: ['63+68=131'] Exploring Operation: 131-77=54, Resulting Numbers: [79, 54] Generated Node #0,0,0: 97:[79, 54] Operation: 131-77=54 Moving to Node #0,0,0 Current State: 97:[79, 54], Operations: ['63+68=131', '131-77=54'] Exploring Operation: 79+54=133, Resulting Numbers: [133] 133,97 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 79, 43, 82 ]
47
[ "82-79=3", "30*3=90", "90-43=47" ]
Current State: 47:[30, 79, 43, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [30, 43, 3] Generated Node #2: [30, 43, 3] from Operation: 82-79=3 Current State: 47:[30, 43, 3], Operations: ['82-79=3'] Exploring Operation: 30*3=90, Resulting Numbers: [43, 90] Generated Node #3: [43, 90] from Operation: 30*3=90 Current State: 47:[43, 90], Operations: ['82-79=3', '30*3=90'] Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[30, 79, 43, 82], Operations: [] Exploring Operation: 79-30=49, Resulting Numbers: [43, 82, 49] Generated Node #0,0: 47:[43, 82, 49] Operation: 79-30=49 Exploring Operation: 82-30=52, Resulting Numbers: [79, 43, 52] Generated Node #0,1: 47:[79, 43, 52] Operation: 82-30=52 Exploring Operation: 82-43=39, Resulting Numbers: [30, 79, 39] Generated Node #0,2: 47:[30, 79, 39] Operation: 82-43=39 Moving to Node #0,0 Current State: 47:[43, 82, 49], Operations: ['79-30=49'] Exploring Operation: 82-49=33, Resulting Numbers: [43, 33] Generated Node #0,0,0: 47:[43, 33] Operation: 82-49=33 Exploring Operation: 82-43=39, Resulting Numbers: [49, 39] Generated Node #0,0,1: 47:[49, 39] Operation: 82-43=39 Exploring Operation: 49-43=6, Resulting Numbers: [82, 6] Generated Node #0,0,2: 47:[82, 6] Operation: 49-43=6 Moving to Node #0,1 Current State: 47:[79, 43, 52], Operations: ['82-30=52'] Exploring Operation: 52-43=9, Resulting Numbers: [79, 9] Generated Node #0,1,0: 47:[79, 9] Operation: 52-43=9 Exploring Operation: 79-52=27, Resulting Numbers: [43, 27] Generated Node #0,1,1: 47:[43, 27] Operation: 79-52=27 Exploring Operation: 79-43=36, Resulting Numbers: [52, 36] Generated Node #0,1,2: 47:[52, 36] Operation: 79-43=36 Moving to Node #0,2 Current State: 47:[30, 79, 39], Operations: ['82-43=39'] Exploring Operation: 30+39=69, Resulting Numbers: [79, 69] Generated Node #0,2,0: 47:[79, 69] Operation: 30+39=69 Exploring Operation: 79-30=49, Resulting Numbers: [39, 49] Generated Node #0,2,1: 47:[39, 49] Operation: 79-30=49 Exploring Operation: 79-39=40, Resulting Numbers: [30, 40] Generated Node #0,2,2: 47:[30, 40] Operation: 79-39=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[39, 49], Operations: ['82-43=39', '79-30=49'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 39*49=1911, Resulting Numbers: [1911] 1911,47 unequal: No Solution Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,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:[30, 40], Operations: ['82-43=39', '79-39=40'] Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,47 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,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:[79, 69], Operations: ['82-43=39', '30+39=69'] Exploring Operation: 79+69=148, Resulting Numbers: [148] 148,47 unequal: No Solution Exploring Operation: 79*69=5451, Resulting Numbers: [5451] 5451,47 unequal: No Solution Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 47:[49, 39], Operations: ['79-30=49', '82-43=39'] Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,47 unequal: No Solution Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[52, 36], Operations: ['82-30=52', '79-43=36'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[43, 33], Operations: ['79-30=49', '82-49=33'] Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 43*33=1419, Resulting Numbers: [1419] 1419,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[43, 27], Operations: ['82-30=52', '79-52=27'] Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,47 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[79, 9], Operations: ['82-30=52', '52-43=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[82, 6], Operations: ['79-30=49', '49-43=6'] Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,47 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 18, 6, 96, 33 ]
52
[ "18+96=114", "114/6=19", "33+19=52" ]
Current State: 52:[18, 6, 96, 33], Operations: [] Exploring Operation: 18+96=114, Resulting Numbers: [6, 33, 114] Generated Node #2: [6, 33, 114] from Operation: 18+96=114 Current State: 52:[6, 33, 114], Operations: ['18+96=114'] Exploring Operation: 114/6=19, Resulting Numbers: [33, 19] Generated Node #3: [33, 19] from Operation: 114/6=19 Current State: 52:[33, 19], Operations: ['18+96=114', '114/6=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[18, 6, 96, 33], Operations: [] Exploring Operation: 96-33=63, Resulting Numbers: [18, 6, 63] Generated Node #0,0: 52:[18, 6, 63] Operation: 96-33=63 Exploring Operation: 18+33=51, Resulting Numbers: [6, 96, 51] Generated Node #0,1: 52:[6, 96, 51] Operation: 18+33=51 Exploring Operation: 33-18=15, Resulting Numbers: [6, 96, 15] Generated Node #0,2: 52:[6, 96, 15] Operation: 33-18=15 Exploring Operation: 96-18=78, Resulting Numbers: [6, 33, 78] Generated Node #0,3: 52:[6, 33, 78] Operation: 96-18=78 Exploring Operation: 96/6=16, Resulting Numbers: [18, 33, 16] Generated Node #0,4: 52:[18, 33, 16] Operation: 96/6=16 Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[18, 33, 16], Operations: ['96/6=16'] Exploring Operation: 33-16=17, Resulting Numbers: [18, 17] Generated Node #0,4,0: 52:[18, 17] Operation: 33-16=17 Exploring Operation: 33+16=49, Resulting Numbers: [18, 49] Generated Node #0,4,1: 52:[18, 49] Operation: 33+16=49 Exploring Operation: 18-16=2, Resulting Numbers: [33, 2] Generated Node #0,4,2: 52:[33, 2] Operation: 18-16=2 Exploring Operation: 33-18=15, Resulting Numbers: [16, 15] Generated Node #0,4,3: 52:[16, 15] Operation: 33-18=15 Exploring Operation: 18+33=51, Resulting Numbers: [16, 51] Generated Node #0,4,4: 52:[16, 51] Operation: 18+33=51 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 52:[16, 51], Operations: ['96/6=16', '18+33=51'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 52:[16, 15], Operations: ['96/6=16', '33-18=15'] Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,52 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 52:[33, 2], Operations: ['96/6=16', '18-16=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 52:[18, 49], Operations: ['96/6=16', '33+16=49'] Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,52 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 52:[18, 17], Operations: ['96/6=16', '33-16=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,52 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,52 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: 52:[18, 6, 63], Operations: ['96-33=63'] Exploring Operation: 18+6=24, Resulting Numbers: [63, 24] Generated Node #0,0,0: 52:[63, 24] Operation: 18+6=24 Exploring Operation: 18/6=3, Resulting Numbers: [63, 3] Generated Node #0,0,1: 52:[63, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [63, 12] Generated Node #0,0,2: 52:[63, 12] Operation: 18-6=12 Exploring Operation: 63-18=45, Resulting Numbers: [6, 45] Generated Node #0,0,3: 52:[6, 45] Operation: 63-18=45 Exploring Operation: 63-6=57, Resulting Numbers: [18, 57] Generated Node #0,0,4: 52:[18, 57] Operation: 63-6=57 Moving to Node #0,0,3 Current State: 52:[6, 45], Operations: ['96-33=63', '63-18=45'] Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,52 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[18, 57], Operations: ['96-33=63', '63-6=57'] Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,52 unequal: No Solution Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[63, 3], Operations: ['96-33=63', '18/6=3'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 63*3=189, Resulting Numbers: [189] 189,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[63, 12], Operations: ['96-33=63', '18-6=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[63, 24], Operations: ['96-33=63', '18+6=24'] Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,52 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,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,3 Current State: 52:[6, 33, 78], Operations: ['96-18=78'] Exploring Operation: 78-33=45, Resulting Numbers: [6, 45] Generated Node #0,3,0: 52:[6, 45] Operation: 78-33=45 Exploring Operation: 78-6=72, Resulting Numbers: [33, 72] Generated Node #0,3,1: 52:[33, 72] Operation: 78-6=72 Exploring Operation: 6+33=39, Resulting Numbers: [78, 39] Generated Node #0,3,2: 52:[78, 39] Operation: 6+33=39 Exploring Operation: 78/6=13, Resulting Numbers: [33, 13] Generated Node #0,3,3: 52:[33, 13] Operation: 78/6=13 Exploring Operation: 33-6=27, Resulting Numbers: [78, 27] Generated Node #0,3,4: 52:[78, 27] Operation: 33-6=27 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[33, 13], Operations: ['96-18=78', '78/6=13'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,52 unequal: No Solution Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[6, 45], Operations: ['96-18=78', '78-33=45'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[33, 72], Operations: ['96-18=78', '78-6=72'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 52:[78, 27], Operations: ['96-18=78', '33-6=27'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 52:[78, 39], Operations: ['96-18=78', '6+33=39'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,52 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,52 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: 52:[6, 96, 51], Operations: ['18+33=51'] Exploring Operation: 96-51=45, Resulting Numbers: [6, 45] Generated Node #0,1,0: 52:[6, 45] Operation: 96-51=45 Exploring Operation: 96-6=90, Resulting Numbers: [51, 90] Generated Node #0,1,1: 52:[51, 90] Operation: 96-6=90 Exploring Operation: 96/6=16, Resulting Numbers: [51, 16] Generated Node #0,1,2: 52:[51, 16] Operation: 96/6=16 Exploring Operation: 6+51=57, Resulting Numbers: [96, 57] Generated Node #0,1,3: 52:[96, 57] Operation: 6+51=57 Exploring Operation: 6+96=102, Resulting Numbers: [51, 102] Generated Node #0,1,4: 52:[51, 102] Operation: 6+96=102 Moving to Node #0,1,2 Current State: 52:[51, 16], Operations: ['18+33=51', '96/6=16'] Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,52 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[6, 45], Operations: ['18+33=51', '96-51=45'] Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,52 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[51, 90], Operations: ['18+33=51', '96-6=90'] Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,52 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[96, 57], Operations: ['18+33=51', '6+51=57'] Exploring Operation: 96+57=153, Resulting Numbers: [153] 153,52 unequal: No Solution Exploring Operation: 96*57=5472, Resulting Numbers: [5472] 5472,52 unequal: No Solution Exploring Operation: 96-57=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[51, 102], Operations: ['18+33=51', '6+96=102'] Exploring Operation: 102-51=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 51*102=5202, Resulting Numbers: [5202] 5202,52 unequal: No Solution Exploring Operation: 51+102=153, Resulting Numbers: [153] 153,52 unequal: No Solution Exploring Operation: 102/51=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[6, 96, 15], Operations: ['33-18=15'] Exploring Operation: 96-6=90, Resulting Numbers: [15, 90] Generated Node #0,2,0: 52:[15, 90] Operation: 96-6=90 Exploring Operation: 96/6=16, Resulting Numbers: [15, 16] Generated Node #0,2,1: 52:[15, 16] Operation: 96/6=16 Exploring Operation: 6+15=21, Resulting Numbers: [96, 21] Generated Node #0,2,2: 52:[96, 21] Operation: 6+15=21 Exploring Operation: 15-6=9, Resulting Numbers: [96, 9] Generated Node #0,2,3: 52:[96, 9] Operation: 15-6=9 Exploring Operation: 96-15=81, Resulting Numbers: [6, 81] Generated Node #0,2,4: 52:[6, 81] Operation: 96-15=81 Moving to Node #0,2,1 Current State: 52:[15, 16], Operations: ['33-18=15', '96/6=16'] Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,52 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[6, 81], Operations: ['33-18=15', '96-15=81'] Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,52 unequal: No Solution Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[15, 90], Operations: ['33-18=15', '96-6=90'] Exploring Operation: 15*90=1350, Resulting Numbers: [1350] 1350,52 unequal: No Solution Exploring Operation: 15+90=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[96, 9], Operations: ['33-18=15', '15-6=9'] Exploring Operation: 96+9=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 96*9=864, Resulting Numbers: [864] 864,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[96, 21], Operations: ['33-18=15', '6+15=21'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 96*21=2016, Resulting Numbers: [2016] 2016,52 unequal: No Solution Exploring Operation: 96+21=117, Resulting Numbers: [117] 117,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 79, 29, 92, 31 ]
73
[ "79-29=50", "92+31=123", "123-50=73" ]
Current State: 73:[79, 29, 92, 31], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [92, 31, 50] Generated Node #2: [92, 31, 50] from Operation: 79-29=50 Current State: 73:[92, 31, 50], Operations: ['79-29=50'] Exploring Operation: 92+31=123, Resulting Numbers: [50, 123] Generated Node #3: [50, 123] from Operation: 92+31=123 Current State: 73:[50, 123], Operations: ['79-29=50', '92+31=123'] Exploring Operation: 123-50=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[79, 29, 92, 31], Operations: [] Exploring Operation: 29+31=60, Resulting Numbers: [79, 92, 60] Generated Node #0,0: 73:[79, 92, 60] Operation: 29+31=60 Exploring Operation: 79-29=50, Resulting Numbers: [92, 31, 50] Generated Node #0,1: 73:[92, 31, 50] Operation: 79-29=50 Exploring Operation: 92-31=61, Resulting Numbers: [79, 29, 61] Generated Node #0,2: 73:[79, 29, 61] Operation: 92-31=61 Exploring Operation: 92-29=63, Resulting Numbers: [79, 31, 63] Generated Node #0,3: 73:[79, 31, 63] Operation: 92-29=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[79, 92, 60], Operations: ['29+31=60'] Exploring Operation: 92-79=13, Resulting Numbers: [60, 13] Generated Node #0,0,0: 73:[60, 13] Operation: 92-79=13 Exploring Operation: 79+60=139, Resulting Numbers: [92, 139] Generated Node #0,0,1: 73:[92, 139] Operation: 79+60=139 Exploring Operation: 79-60=19, Resulting Numbers: [92, 19] Generated Node #0,0,2: 73:[92, 19] Operation: 79-60=19 Exploring Operation: 92-60=32, Resulting Numbers: [79, 32] Generated Node #0,0,3: 73:[79, 32] Operation: 92-60=32 Moving to Node #0,0,3 Current State: 73:[79, 32], Operations: ['29+31=60', '92-60=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[92, 19], Operations: ['29+31=60', '79-60=19'] Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,73 unequal: No Solution Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[79, 29, 92, 31], Operations: [] Exploring Operation: 29+31=60, Resulting Numbers: [79, 92, 60] Generated Node #0,0: 73:[79, 92, 60] Operation: 29+31=60 Moving to Node #0,0 Current State: 73:[79, 92, 60], Operations: ['29+31=60'] Exploring Operation: 79-60=19, Resulting Numbers: [92, 19] Generated Node #0,0,2: 73:[92, 19] Operation: 79-60=19 Moving to Node #0,0,2 Current State: 73:[92, 19], Operations: ['29+31=60', '79-60=19'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 20, 8, 77, 13 ]
81
[ "13-8=5", "20/5=4", "77+4=81" ]
Current State: 81:[20, 8, 77, 13], Operations: [] Exploring Operation: 13-8=5, Resulting Numbers: [20, 77, 5] Generated Node #2: [20, 77, 5] from Operation: 13-8=5 Current State: 81:[20, 77, 5], Operations: ['13-8=5'] Exploring Operation: 20/5=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 20/5=4 Current State: 81:[77, 4], Operations: ['13-8=5', '20/5=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[20, 8, 77, 13], Operations: [] Exploring Operation: 20-13=7, Resulting Numbers: [8, 77, 7] Generated Node #0,0: 81:[8, 77, 7] Operation: 20-13=7 Moving to Node #0,0 Current State: 81:[8, 77, 7], Operations: ['20-13=7'] Exploring Operation: 77/7=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 81:[8, 11] Operation: 77/7=11 Moving to Node #0,0,0 Current State: 81:[8, 11], Operations: ['20-13=7', '77/7=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,81 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 39, 28, 85, 12 ]
85
[ "39-28=11", "12-11=1", "85*1=85" ]
Current State: 85:[39, 28, 85, 12], Operations: [] Exploring Operation: 39-28=11, Resulting Numbers: [85, 12, 11] Generated Node #2: [85, 12, 11] from Operation: 39-28=11 Current State: 85:[85, 12, 11], Operations: ['39-28=11'] Exploring Operation: 12-11=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 12-11=1 Current State: 85:[85, 1], Operations: ['39-28=11', '12-11=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[39, 28, 85, 12], Operations: [] Exploring Operation: 39-12=27, Resulting Numbers: [28, 85, 27] Generated Node #0,0: 85:[28, 85, 27] Operation: 39-12=27 Exploring Operation: 39+28=67, Resulting Numbers: [85, 12, 67] Generated Node #0,1: 85:[85, 12, 67] Operation: 39+28=67 Exploring Operation: 39-28=11, Resulting Numbers: [85, 12, 11] Generated Node #0,2: 85:[85, 12, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[85, 12, 11], Operations: ['39-28=11'] Exploring Operation: 85+11=96, Resulting Numbers: [12, 96] Generated Node #0,2,0: 85:[12, 96] Operation: 85+11=96 Exploring Operation: 12-11=1, Resulting Numbers: [85, 1] Generated Node #0,2,1: 85:[85, 1] Operation: 12-11=1 Exploring Operation: 12+11=23, Resulting Numbers: [85, 23] Generated Node #0,2,2: 85:[85, 23] Operation: 12+11=23 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[85, 1], Operations: ['39-28=11', '12-11=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[39, 28, 85, 12], Operations: [] Exploring Operation: 39-28=11, Resulting Numbers: [85, 12, 11] Generated Node #0,2: 85:[85, 12, 11] Operation: 39-28=11 Moving to Node #0,2 Current State: 85:[85, 12, 11], Operations: ['39-28=11'] Exploring Operation: 12-11=1, Resulting Numbers: [85, 1] Generated Node #0,2,1: 85:[85, 1] Operation: 12-11=1 Moving to Node #0,2,1 Current State: 85:[85, 1], Operations: ['39-28=11', '12-11=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 81, 72, 13, 98 ]
76
[ "81-72=9", "98-13=85", "85-9=76" ]
Current State: 76:[81, 72, 13, 98], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [13, 98, 9] Generated Node #2: [13, 98, 9] from Operation: 81-72=9 Current State: 76:[13, 98, 9], Operations: ['81-72=9'] Exploring Operation: 98-13=85, Resulting Numbers: [9, 85] Generated Node #3: [9, 85] from Operation: 98-13=85 Current State: 76:[9, 85], Operations: ['81-72=9', '98-13=85'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[81, 72, 13, 98], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [81, 13, 26] Generated Node #0,0: 76:[81, 13, 26] Operation: 98-72=26 Exploring Operation: 81-13=68, Resulting Numbers: [72, 98, 68] Generated Node #0,1: 76:[72, 98, 68] Operation: 81-13=68 Exploring Operation: 81-72=9, Resulting Numbers: [13, 98, 9] Generated Node #0,2: 76:[13, 98, 9] Operation: 81-72=9 Exploring Operation: 98-13=85, Resulting Numbers: [81, 72, 85] Generated Node #0,3: 76:[81, 72, 85] Operation: 98-13=85 Exploring Operation: 98-81=17, Resulting Numbers: [72, 13, 17] Generated Node #0,4: 76:[72, 13, 17] Operation: 98-81=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[72, 13, 17], Operations: ['98-81=17'] Exploring Operation: 72+13=85, Resulting Numbers: [17, 85] Generated Node #0,4,0: 76:[17, 85] Operation: 72+13=85 Exploring Operation: 72-13=59, Resulting Numbers: [17, 59] Generated Node #0,4,1: 76:[17, 59] Operation: 72-13=59 Exploring Operation: 72+17=89, Resulting Numbers: [13, 89] Generated Node #0,4,2: 76:[13, 89] Operation: 72+17=89 Exploring Operation: 17-13=4, Resulting Numbers: [72, 4] Generated Node #0,4,3: 76:[72, 4] Operation: 17-13=4 Exploring Operation: 13+17=30, Resulting Numbers: [72, 30] Generated Node #0,4,4: 76:[72, 30] Operation: 13+17=30 Moving to Node #0,4,3 Current State: 76:[72, 4], Operations: ['98-81=17', '17-13=4'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[81, 72, 13, 98], Operations: [] Exploring Operation: 98-81=17, Resulting Numbers: [72, 13, 17] Generated Node #0,4: 76:[72, 13, 17] Operation: 98-81=17 Moving to Node #0,4 Current State: 76:[72, 13, 17], Operations: ['98-81=17'] Exploring Operation: 17-13=4, Resulting Numbers: [72, 4] Generated Node #0,4,3: 76:[72, 4] Operation: 17-13=4 Moving to Node #0,4,3 Current State: 76:[72, 4], Operations: ['98-81=17', '17-13=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 20, 31, 25, 19 ]
60
[ "25-20=5", "31-19=12", "5*12=60" ]
Current State: 60:[20, 31, 25, 19], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [31, 19, 5] Generated Node #2: [31, 19, 5] from Operation: 25-20=5 Current State: 60:[31, 19, 5], Operations: ['25-20=5'] Exploring Operation: 31-19=12, Resulting Numbers: [5, 12] Generated Node #3: [5, 12] from Operation: 31-19=12 Current State: 60:[5, 12], Operations: ['25-20=5', '31-19=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[20, 31, 25, 19], Operations: [] Exploring Operation: 31-25=6, Resulting Numbers: [20, 19, 6] Generated Node #0,0: 60:[20, 19, 6] Operation: 31-25=6 Exploring Operation: 31-19=12, Resulting Numbers: [20, 25, 12] Generated Node #0,1: 60:[20, 25, 12] Operation: 31-19=12 Exploring Operation: 31+25=56, Resulting Numbers: [20, 19, 56] Generated Node #0,2: 60:[20, 19, 56] Operation: 31+25=56 Exploring Operation: 25-19=6, Resulting Numbers: [20, 31, 6] Generated Node #0,3: 60:[20, 31, 6] Operation: 25-19=6 Exploring Operation: 25-20=5, Resulting Numbers: [31, 19, 5] Generated Node #0,4: 60:[31, 19, 5] Operation: 25-20=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[20, 19, 6], Operations: ['31-25=6'] Exploring Operation: 19-6=13, Resulting Numbers: [20, 13] Generated Node #0,0,0: 60:[20, 13] Operation: 19-6=13 Exploring Operation: 20+6=26, Resulting Numbers: [19, 26] Generated Node #0,0,1: 60:[19, 26] Operation: 20+6=26 Exploring Operation: 20-19=1, Resulting Numbers: [6, 1] Generated Node #0,0,2: 60:[6, 1] Operation: 20-19=1 Exploring Operation: 20-6=14, Resulting Numbers: [19, 14] Generated Node #0,0,3: 60:[19, 14] Operation: 20-6=14 Exploring Operation: 19+6=25, Resulting Numbers: [20, 25] Generated Node #0,0,4: 60:[20, 25] Operation: 19+6=25 Moving to Node #0,0,0 Current State: 60:[20, 13], Operations: ['31-25=6', '19-6=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,60 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[6, 1], Operations: ['31-25=6', '20-19=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[19, 14], Operations: ['31-25=6', '20-6=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[19, 26], Operations: ['31-25=6', '20+6=26'] Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[20, 25], Operations: ['31-25=6', '19+6=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,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,3 Current State: 60:[20, 31, 6], Operations: ['25-19=6'] Exploring Operation: 20-6=14, Resulting Numbers: [31, 14] Generated Node #0,3,0: 60:[31, 14] Operation: 20-6=14 Exploring Operation: 20+6=26, Resulting Numbers: [31, 26] Generated Node #0,3,1: 60:[31, 26] Operation: 20+6=26 Exploring Operation: 31+6=37, Resulting Numbers: [20, 37] Generated Node #0,3,2: 60:[20, 37] Operation: 31+6=37 Exploring Operation: 31-6=25, Resulting Numbers: [20, 25] Generated Node #0,3,3: 60:[20, 25] Operation: 31-6=25 Exploring Operation: 31-20=11, Resulting Numbers: [6, 11] Generated Node #0,3,4: 60:[6, 11] Operation: 31-20=11 Moving to Node #0,3,4 Current State: 60:[6, 11], Operations: ['25-19=6', '31-20=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[31, 14], Operations: ['25-19=6', '20-6=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,60 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[31, 26], Operations: ['25-19=6', '20+6=26'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,60 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[20, 25], Operations: ['25-19=6', '31-6=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,60 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[20, 37], Operations: ['25-19=6', '31+6=37'] Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,60 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,60 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,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,4 Current State: 60:[31, 19, 5], Operations: ['25-20=5'] Exploring Operation: 31+5=36, Resulting Numbers: [19, 36] Generated Node #0,4,0: 60:[19, 36] Operation: 31+5=36 Exploring Operation: 31-5=26, Resulting Numbers: [19, 26] Generated Node #0,4,1: 60:[19, 26] Operation: 31-5=26 Exploring Operation: 19+5=24, Resulting Numbers: [31, 24] Generated Node #0,4,2: 60:[31, 24] Operation: 19+5=24 Exploring Operation: 31-19=12, Resulting Numbers: [5, 12] Generated Node #0,4,3: 60:[5, 12] Operation: 31-19=12 Exploring Operation: 19-5=14, Resulting Numbers: [31, 14] Generated Node #0,4,4: 60:[31, 14] Operation: 19-5=14 Moving to Node #0,4,3 Current State: 60:[5, 12], Operations: ['25-20=5', '31-19=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[20, 31, 25, 19], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [31, 19, 5] Generated Node #0,4: 60:[31, 19, 5] Operation: 25-20=5 Moving to Node #0,4 Current State: 60:[31, 19, 5], Operations: ['25-20=5'] Exploring Operation: 31-19=12, Resulting Numbers: [5, 12] Generated Node #0,4,3: 60:[5, 12] Operation: 31-19=12 Moving to Node #0,4,3 Current State: 60:[5, 12], Operations: ['25-20=5', '31-19=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 22, 17, 97, 80 ]
12
[ "22-17=5", "97-80=17", "17-5=12" ]
Current State: 12:[22, 17, 97, 80], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [97, 80, 5] Generated Node #2: [97, 80, 5] from Operation: 22-17=5 Current State: 12:[97, 80, 5], Operations: ['22-17=5'] Exploring Operation: 97-80=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 97-80=17 Current State: 12:[5, 17], Operations: ['22-17=5', '97-80=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[22, 17, 97, 80], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [22, 17, 17] Generated Node #0,0: 12:[22, 17, 17] Operation: 97-80=17 Moving to Node #0,0 Current State: 12:[22, 17, 17], Operations: ['97-80=17'] Exploring Operation: 22-17=5, Resulting Numbers: [17, 5] Generated Node #0,0,0: 12:[17, 5] Operation: 22-17=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[17, 5], Operations: ['97-80=17', '22-17=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[22, 17, 97, 80], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [22, 17, 17] Generated Node #0,0: 12:[22, 17, 17] Operation: 97-80=17 Moving to Node #0,0 Current State: 12:[22, 17, 17], Operations: ['97-80=17'] Exploring Operation: 22-17=5, Resulting Numbers: [17, 5] Generated Node #0,0,0: 12:[17, 5] Operation: 22-17=5 Moving to Node #0,0,0 Current State: 12:[17, 5], Operations: ['97-80=17', '22-17=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 3, 22, 21, 66 ]
54
[ "21-3=18", "66/22=3", "18*3=54" ]
Current State: 54:[3, 22, 21, 66], Operations: [] Exploring Operation: 21-3=18, Resulting Numbers: [22, 66, 18] Generated Node #2: [22, 66, 18] from Operation: 21-3=18 Current State: 54:[22, 66, 18], Operations: ['21-3=18'] Exploring Operation: 66/22=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 66/22=3 Current State: 54:[18, 3], Operations: ['21-3=18', '66/22=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[3, 22, 21, 66], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [22, 21, 22] Generated Node #0,0: 54:[22, 21, 22] Operation: 66/3=22 Exploring Operation: 66/22=3, Resulting Numbers: [3, 21, 3] Generated Node #0,1: 54:[3, 21, 3] Operation: 66/22=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[3, 21, 3], Operations: ['66/22=3'] Exploring Operation: 21-3=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 54:[3, 18] Operation: 21-3=18 Exploring Operation: 21-3=18, Resulting Numbers: [3, 18] Generated Node #0,1,1: 54:[3, 18] Operation: 21-3=18 Moving to Node #0,1,0 Current State: 54:[3, 18], Operations: ['66/22=3', '21-3=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[3, 22, 21, 66], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [3, 21, 3] Generated Node #0,1: 54:[3, 21, 3] Operation: 66/22=3 Moving to Node #0,1 Current State: 54:[3, 21, 3], Operations: ['66/22=3'] Exploring Operation: 21-3=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 54:[3, 18] Operation: 21-3=18 Moving to Node #0,1,0 Current State: 54:[3, 18], Operations: ['66/22=3', '21-3=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 51, 11, 51, 84 ]
17
[ "51*11=561", "84-51=33", "561/33=17" ]
Current State: 17:[51, 11, 51, 84], Operations: [] Exploring Operation: 51*11=561, Resulting Numbers: [84, 561] Generated Node #2: [84, 561] from Operation: 51*11=561 Current State: 17:[84, 561], Operations: ['51*11=561'] Exploring Operation: 84-51=33, Resulting Numbers: [561, 33] Generated Node #3: [561, 33] from Operation: 84-51=33 Current State: 17:[561, 33], Operations: ['51*11=561', '84-51=33'] Exploring Operation: 561/33=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[51, 11, 51, 84], Operations: [] Exploring Operation: 84-51=33, Resulting Numbers: [11, 51, 33] Generated Node #0,0: 17:[11, 51, 33] Operation: 84-51=33 Exploring Operation: 84-51=33, Resulting Numbers: [51, 11, 33] Generated Node #0,1: 17:[51, 11, 33] Operation: 84-51=33 Moving to Node #0,0 Current State: 17:[11, 51, 33], Operations: ['84-51=33'] Exploring Operation: 51-33=18, Resulting Numbers: [11, 18] Generated Node #0,0,0: 17:[11, 18] Operation: 51-33=18 Exploring Operation: 51-11=40, Resulting Numbers: [33, 40] Generated Node #0,0,1: 17:[33, 40] Operation: 51-11=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[11, 18], Operations: ['84-51=33', '51-33=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[33, 40], Operations: ['84-51=33', '51-11=40'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 17:[51, 11, 33], Operations: ['84-51=33'] Exploring Operation: 51-11=40, Resulting Numbers: [33, 40] Generated Node #0,1,0: 17:[33, 40] Operation: 51-11=40 Exploring Operation: 51-33=18, Resulting Numbers: [11, 18] Generated Node #0,1,1: 17:[11, 18] Operation: 51-33=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[11, 18], Operations: ['84-51=33', '51-33=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[33, 40], Operations: ['84-51=33', '51-11=40'] Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,17 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,17 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
[ 55, 54, 26, 66 ]
41
[ "55-54=1", "66-26=40", "1+40=41" ]
Current State: 41:[55, 54, 26, 66], Operations: [] Exploring Operation: 55-54=1, Resulting Numbers: [26, 66, 1] Generated Node #2: [26, 66, 1] from Operation: 55-54=1 Current State: 41:[26, 66, 1], Operations: ['55-54=1'] Exploring Operation: 66-26=40, Resulting Numbers: [1, 40] Generated Node #3: [1, 40] from Operation: 66-26=40 Current State: 41:[1, 40], Operations: ['55-54=1', '66-26=40'] Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[55, 54, 26, 66], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [54, 26, 11] Generated Node #0,0: 41:[54, 26, 11] Operation: 66-55=11 Exploring Operation: 55-26=29, Resulting Numbers: [54, 66, 29] Generated Node #0,1: 41:[54, 66, 29] Operation: 55-26=29 Exploring Operation: 66-26=40, Resulting Numbers: [55, 54, 40] Generated Node #0,2: 41:[55, 54, 40] Operation: 66-26=40 Exploring Operation: 54-26=28, Resulting Numbers: [55, 66, 28] Generated Node #0,3: 41:[55, 66, 28] Operation: 54-26=28 Exploring Operation: 66-54=12, Resulting Numbers: [55, 26, 12] Generated Node #0,4: 41:[55, 26, 12] Operation: 66-54=12 Moving to Node #0,2 Current State: 41:[55, 54, 40], Operations: ['66-26=40'] Exploring Operation: 55-40=15, Resulting Numbers: [54, 15] Generated Node #0,2,0: 41:[54, 15] Operation: 55-40=15 Exploring Operation: 54+40=94, Resulting Numbers: [55, 94] Generated Node #0,2,1: 41:[55, 94] Operation: 54+40=94 Exploring Operation: 55+40=95, Resulting Numbers: [54, 95] Generated Node #0,2,2: 41:[54, 95] Operation: 55+40=95 Exploring Operation: 55-54=1, Resulting Numbers: [40, 1] Generated Node #0,2,3: 41:[40, 1] Operation: 55-54=1 Exploring Operation: 54-40=14, Resulting Numbers: [55, 14] Generated Node #0,2,4: 41:[55, 14] Operation: 54-40=14 Moving to Node #0,1 Current State: 41:[54, 66, 29], Operations: ['55-26=29'] Exploring Operation: 54-29=25, Resulting Numbers: [66, 25] Generated Node #0,1,0: 41:[66, 25] Operation: 54-29=25 Exploring Operation: 54+29=83, Resulting Numbers: [66, 83] Generated Node #0,1,1: 41:[66, 83] Operation: 54+29=83 Exploring Operation: 66-54=12, Resulting Numbers: [29, 12] Generated Node #0,1,2: 41:[29, 12] Operation: 66-54=12 Exploring Operation: 66-29=37, Resulting Numbers: [54, 37] Generated Node #0,1,3: 41:[54, 37] Operation: 66-29=37 Exploring Operation: 66+29=95, Resulting Numbers: [54, 95] Generated Node #0,1,4: 41:[54, 95] Operation: 66+29=95 Moving to Node #0,3 Current State: 41:[55, 66, 28], Operations: ['54-26=28'] Exploring Operation: 66+28=94, Resulting Numbers: [55, 94] Generated Node #0,3,0: 41:[55, 94] Operation: 66+28=94 Exploring Operation: 55-28=27, Resulting Numbers: [66, 27] Generated Node #0,3,1: 41:[66, 27] Operation: 55-28=27 Exploring Operation: 55+28=83, Resulting Numbers: [66, 83] Generated Node #0,3,2: 41:[66, 83] Operation: 55+28=83 Exploring Operation: 66-28=38, Resulting Numbers: [55, 38] Generated Node #0,3,3: 41:[55, 38] Operation: 66-28=38 Exploring Operation: 66-55=11, Resulting Numbers: [28, 11] Generated Node #0,3,4: 41:[28, 11] Operation: 66-55=11 Moving to Node #0,0 Current State: 41:[54, 26, 11], Operations: ['66-55=11'] Exploring Operation: 54+11=65, Resulting Numbers: [26, 65] Generated Node #0,0,0: 41:[26, 65] Operation: 54+11=65 Exploring Operation: 54-11=43, Resulting Numbers: [26, 43] Generated Node #0,0,1: 41:[26, 43] Operation: 54-11=43 Exploring Operation: 54-26=28, Resulting Numbers: [11, 28] Generated Node #0,0,2: 41:[11, 28] Operation: 54-26=28 Exploring Operation: 26-11=15, Resulting Numbers: [54, 15] Generated Node #0,0,3: 41:[54, 15] Operation: 26-11=15 Exploring Operation: 26+11=37, Resulting Numbers: [54, 37] Generated Node #0,0,4: 41:[54, 37] Operation: 26+11=37 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[26, 43], Operations: ['66-55=11', '54-11=43'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 26*43=1118, Resulting Numbers: [1118] 1118,41 unequal: No Solution Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,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,4 Current State: 41:[54, 37], Operations: ['66-55=11', '26+11=37'] Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,41 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 54-37=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,0 Current State: 41:[26, 65], Operations: ['66-55=11', '54+11=65'] Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,41 unequal: No Solution Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,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:[54, 15], Operations: ['66-55=11', '26-11=15'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,41 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,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,2 Current State: 41:[11, 28], Operations: ['66-55=11', '54-26=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,41 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,41 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: 41:[55, 26, 12], Operations: ['66-54=12'] Exploring Operation: 55-12=43, Resulting Numbers: [26, 43] Generated Node #0,4,0: 41:[26, 43] Operation: 55-12=43 Exploring Operation: 55-26=29, Resulting Numbers: [12, 29] Generated Node #0,4,1: 41:[12, 29] Operation: 55-26=29 Exploring Operation: 55+12=67, Resulting Numbers: [26, 67] Generated Node #0,4,2: 41:[26, 67] Operation: 55+12=67 Exploring Operation: 26+12=38, Resulting Numbers: [55, 38] Generated Node #0,4,3: 41:[55, 38] Operation: 26+12=38 Exploring Operation: 26-12=14, Resulting Numbers: [55, 14] Generated Node #0,4,4: 41:[55, 14] Operation: 26-12=14 Moving to Node #0,1,3 Current State: 41:[54, 37], Operations: ['55-26=29', '66-29=37'] Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,41 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[55, 38], Operations: ['54-26=28', '66-28=38'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,41 unequal: No Solution Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[26, 43], Operations: ['66-54=12', '55-12=43'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 26*43=1118, Resulting Numbers: [1118] 1118,41 unequal: No Solution Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[55, 38], Operations: ['66-54=12', '26+12=38'] Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,41 unequal: No Solution Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[54, 15], Operations: ['66-26=40', '55-40=15'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,41 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[66, 27], Operations: ['54-26=28', '55-28=27'] Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,41 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[66, 25], Operations: ['55-26=29', '54-29=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[55, 54, 26, 66], Operations: [] Exploring Operation: 55-26=29, Resulting Numbers: [54, 66, 29] Generated Node #0,1: 41:[54, 66, 29] Operation: 55-26=29 Moving to Node #0,1 Current State: 41:[54, 66, 29], Operations: ['55-26=29'] Exploring Operation: 54-29=25, Resulting Numbers: [66, 25] Generated Node #0,1,0: 41:[66, 25] Operation: 54-29=25 Moving to Node #0,1,0 Current State: 41:[66, 25], Operations: ['55-26=29', '54-29=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 69, 2, 94, 78 ]
38
[ "78-69=9", "94/2=47", "47-9=38" ]
Current State: 38:[69, 2, 94, 78], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [2, 94, 9] Generated Node #2: [2, 94, 9] from Operation: 78-69=9 Current State: 38:[2, 94, 9], Operations: ['78-69=9'] Exploring Operation: 94/2=47, Resulting Numbers: [9, 47] Generated Node #3: [9, 47] from Operation: 94/2=47 Current State: 38:[9, 47], Operations: ['78-69=9', '94/2=47'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[69, 2, 94, 78], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [2, 78, 25] Generated Node #0,0: 38:[2, 78, 25] Operation: 94-69=25 Exploring Operation: 78-69=9, Resulting Numbers: [2, 94, 9] Generated Node #0,1: 38:[2, 94, 9] Operation: 78-69=9 Exploring Operation: 94-78=16, Resulting Numbers: [69, 2, 16] Generated Node #0,2: 38:[69, 2, 16] Operation: 94-78=16 Exploring Operation: 94/2=47, Resulting Numbers: [69, 78, 47] Generated Node #0,3: 38:[69, 78, 47] Operation: 94/2=47 Moving to Node #0,2 Current State: 38:[69, 2, 16], Operations: ['94-78=16'] Exploring Operation: 69-16=53, Resulting Numbers: [2, 53] Generated Node #0,2,0: 38:[2, 53] Operation: 69-16=53 Exploring Operation: 2+16=18, Resulting Numbers: [69, 18] Generated Node #0,2,1: 38:[69, 18] Operation: 2+16=18 Exploring Operation: 69-2=67, Resulting Numbers: [16, 67] Generated Node #0,2,2: 38:[16, 67] Operation: 69-2=67 Exploring Operation: 69+2=71, Resulting Numbers: [16, 71] Generated Node #0,2,3: 38:[16, 71] Operation: 69+2=71 Moving to Node #0,0 Current State: 38:[2, 78, 25], Operations: ['94-69=25'] Exploring Operation: 25-2=23, Resulting Numbers: [78, 23] Generated Node #0,0,0: 38:[78, 23] Operation: 25-2=23 Exploring Operation: 78-2=76, Resulting Numbers: [25, 76] Generated Node #0,0,1: 38:[25, 76] Operation: 78-2=76 Exploring Operation: 78-25=53, Resulting Numbers: [2, 53] Generated Node #0,0,2: 38:[2, 53] Operation: 78-25=53 Exploring Operation: 78/2=39, Resulting Numbers: [25, 39] Generated Node #0,0,3: 38:[25, 39] Operation: 78/2=39 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 38:[25, 39], Operations: ['94-69=25', '78/2=39'] Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,38 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[2, 53], Operations: ['94-69=25', '78-25=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,38 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[78, 23], Operations: ['94-69=25', '25-2=23'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,38 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[25, 76], Operations: ['94-69=25', '78-2=76'] Exploring Operation: 25*76=1900, Resulting Numbers: [1900] 1900,38 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 25+76=101, Resulting Numbers: [101] 101,38 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: 38:[2, 94, 9], Operations: ['78-69=9'] Exploring Operation: 94-2=92, Resulting Numbers: [9, 92] Generated Node #0,1,0: 38:[9, 92] Operation: 94-2=92 Exploring Operation: 94-9=85, Resulting Numbers: [2, 85] Generated Node #0,1,1: 38:[2, 85] Operation: 94-9=85 Exploring Operation: 2*9=18, Resulting Numbers: [94, 18] Generated Node #0,1,2: 38:[94, 18] Operation: 2*9=18 Exploring Operation: 94/2=47, Resulting Numbers: [9, 47] Generated Node #0,1,3: 38:[9, 47] Operation: 94/2=47 Moving to Node #0,3 Current State: 38:[69, 78, 47], Operations: ['94/2=47'] Exploring Operation: 69-47=22, Resulting Numbers: [78, 22] Generated Node #0,3,0: 38:[78, 22] Operation: 69-47=22 Exploring Operation: 78-47=31, Resulting Numbers: [69, 31] Generated Node #0,3,1: 38:[69, 31] Operation: 78-47=31 Exploring Operation: 78-69=9, Resulting Numbers: [47, 9] Generated Node #0,3,2: 38:[47, 9] Operation: 78-69=9 Exploring Operation: 69+78=147, Resulting Numbers: [47, 147] Generated Node #0,3,3: 38:[47, 147] Operation: 69+78=147 Moving to Node #0,2,0 Current State: 38:[2, 53], Operations: ['94-78=16', '69-16=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,38 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[9, 47], Operations: ['78-69=9', '94/2=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,38 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,38 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[69, 2, 94, 78], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [2, 94, 9] Generated Node #0,1: 38:[2, 94, 9] Operation: 78-69=9 Moving to Node #0,1 Current State: 38:[2, 94, 9], Operations: ['78-69=9'] Exploring Operation: 94/2=47, Resulting Numbers: [9, 47] Generated Node #0,1,3: 38:[9, 47] Operation: 94/2=47 Moving to Node #0,1,3 Current State: 38:[9, 47], Operations: ['78-69=9', '94/2=47'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.963542
hs_4
sum_heuristic
[ 93, 24, 30, 96 ]
59
[ "93-30=63", "96/24=4", "63-4=59" ]
Current State: 59:[93, 24, 30, 96], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [24, 96, 63] Generated Node #2: [24, 96, 63] from Operation: 93-30=63 Current State: 59:[24, 96, 63], Operations: ['93-30=63'] Exploring Operation: 96/24=4, Resulting Numbers: [63, 4] Generated Node #3: [63, 4] from Operation: 96/24=4 Current State: 59:[63, 4], Operations: ['93-30=63', '96/24=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[93, 24, 30, 96], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [30, 96, 69] Generated Node #0,0: 59:[30, 96, 69] Operation: 93-24=69 Moving to Node #0,0 Current State: 59:[30, 96, 69], Operations: ['93-24=69'] Exploring Operation: 96-30=66, Resulting Numbers: [69, 66] Generated Node #0,0,0: 59:[69, 66] Operation: 96-30=66 Moving to Node #0,0,0 Current State: 59:[69, 66], Operations: ['93-24=69', '96-30=66'] Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,59 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 9, 5, 11, 80 ]
34
[ "9+80=89", "5*11=55", "89-55=34" ]
Current State: 34:[9, 5, 11, 80], Operations: [] Exploring Operation: 9+80=89, Resulting Numbers: [5, 11, 89] Generated Node #2: [5, 11, 89] from Operation: 9+80=89 Current State: 34:[5, 11, 89], Operations: ['9+80=89'] Exploring Operation: 5*11=55, Resulting Numbers: [89, 55] Generated Node #3: [89, 55] from Operation: 5*11=55 Current State: 34:[89, 55], Operations: ['9+80=89', '5*11=55'] Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[9, 5, 11, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [9, 11, 16] Generated Node #0,0: 34:[9, 11, 16] Operation: 80/5=16 Exploring Operation: 80-11=69, Resulting Numbers: [9, 5, 69] Generated Node #0,1: 34:[9, 5, 69] Operation: 80-11=69 Exploring Operation: 80-9=71, Resulting Numbers: [5, 11, 71] Generated Node #0,2: 34:[5, 11, 71] Operation: 80-9=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[9, 11, 16], Operations: ['80/5=16'] Exploring Operation: 11-9=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 34:[16, 2] Operation: 11-9=2 Exploring Operation: 16-11=5, Resulting Numbers: [9, 5] Generated Node #0,0,1: 34:[9, 5] Operation: 16-11=5 Exploring Operation: 9+11=20, Resulting Numbers: [16, 20] Generated Node #0,0,2: 34:[16, 20] Operation: 9+11=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[16, 2], Operations: ['80/5=16', '11-9=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,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,2 Current State: 34:[16, 20], Operations: ['80/5=16', '9+11=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,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:[9, 5], Operations: ['80/5=16', '16-11=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,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,1 Current State: 34:[9, 5, 69], Operations: ['80-11=69'] Exploring Operation: 69-5=64, Resulting Numbers: [9, 64] Generated Node #0,1,0: 34:[9, 64] Operation: 69-5=64 Exploring Operation: 69-9=60, Resulting Numbers: [5, 60] Generated Node #0,1,1: 34:[5, 60] Operation: 69-9=60 Exploring Operation: 9-5=4, Resulting Numbers: [69, 4] Generated Node #0,1,2: 34:[69, 4] Operation: 9-5=4 Moving to Node #0,1,1 Current State: 34:[5, 60], Operations: ['80-11=69', '69-9=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[9, 64], Operations: ['80-11=69', '69-5=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,34 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[69, 4], Operations: ['80-11=69', '9-5=4'] Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,34 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,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,2 Current State: 34:[5, 11, 71], Operations: ['80-9=71'] Exploring Operation: 71-5=66, Resulting Numbers: [11, 66] Generated Node #0,2,0: 34:[11, 66] Operation: 71-5=66 Exploring Operation: 5+11=16, Resulting Numbers: [71, 16] Generated Node #0,2,1: 34:[71, 16] Operation: 5+11=16 Exploring Operation: 71-11=60, Resulting Numbers: [5, 60] Generated Node #0,2,2: 34:[5, 60] Operation: 71-11=60 Moving to Node #0,2,2 Current State: 34:[5, 60], Operations: ['80-9=71', '71-11=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[11, 66], Operations: ['80-9=71', '71-5=66'] Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[71, 16], Operations: ['80-9=71', '5+11=16'] Exploring Operation: 71*16=1136, Resulting Numbers: [1136] 1136,34 unequal: No Solution Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,34 unequal: No Solution Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,34 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
[ 1, 77, 55, 88 ]
43
[ "77-1=76", "88-55=33", "76-33=43" ]
Current State: 43:[1, 77, 55, 88], Operations: [] Exploring Operation: 77-1=76, Resulting Numbers: [55, 88, 76] Generated Node #2: [55, 88, 76] from Operation: 77-1=76 Current State: 43:[55, 88, 76], Operations: ['77-1=76'] Exploring Operation: 88-55=33, Resulting Numbers: [76, 33] Generated Node #3: [76, 33] from Operation: 88-55=33 Current State: 43:[76, 33], Operations: ['77-1=76', '88-55=33'] Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[1, 77, 55, 88], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [1, 55, 11] Generated Node #0,0: 43:[1, 55, 11] Operation: 88-77=11 Exploring Operation: 77-1=76, Resulting Numbers: [55, 88, 76] Generated Node #0,1: 43:[55, 88, 76] Operation: 77-1=76 Exploring Operation: 88-55=33, Resulting Numbers: [1, 77, 33] Generated Node #0,2: 43:[1, 77, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[1, 55, 11], Operations: ['88-77=11'] Exploring Operation: 1+11=12, Resulting Numbers: [55, 12] Generated Node #0,0,0: 43:[55, 12] Operation: 1+11=12 Exploring Operation: 55-11=44, Resulting Numbers: [1, 44] Generated Node #0,0,1: 43:[1, 44] Operation: 55-11=44 Exploring Operation: 55-1=54, Resulting Numbers: [11, 54] Generated Node #0,0,2: 43:[11, 54] Operation: 55-1=54 Moving to Node #0,0,0 Current State: 43:[55, 12], Operations: ['88-77=11', '1+11=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,43 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[1, 77, 55, 88], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [1, 55, 11] Generated Node #0,0: 43:[1, 55, 11] Operation: 88-77=11 Moving to Node #0,0 Current State: 43:[1, 55, 11], Operations: ['88-77=11'] Exploring Operation: 1+11=12, Resulting Numbers: [55, 12] Generated Node #0,0,0: 43:[55, 12] Operation: 1+11=12 Moving to Node #0,0,0 Current State: 43:[55, 12], Operations: ['88-77=11', '1+11=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 96, 6, 46, 23 ]
88
[ "96-6=90", "46/23=2", "90-2=88" ]
Current State: 88:[96, 6, 46, 23], Operations: [] Exploring Operation: 96-6=90, Resulting Numbers: [46, 23, 90] Generated Node #2: [46, 23, 90] from Operation: 96-6=90 Current State: 88:[46, 23, 90], Operations: ['96-6=90'] Exploring Operation: 46/23=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 46/23=2 Current State: 88:[90, 2], Operations: ['96-6=90', '46/23=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[96, 6, 46, 23], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [46, 23, 16] Generated Node #0,0: 88:[46, 23, 16] Operation: 96/6=16 Exploring Operation: 46/23=2, Resulting Numbers: [96, 6, 2] Generated Node #0,1: 88:[96, 6, 2] Operation: 46/23=2 Exploring Operation: 96-46=50, Resulting Numbers: [6, 23, 50] Generated Node #0,2: 88:[6, 23, 50] Operation: 96-46=50 Exploring Operation: 96-6=90, Resulting Numbers: [46, 23, 90] Generated Node #0,3: 88:[46, 23, 90] Operation: 96-6=90 Moving to Node #0,3 Current State: 88:[46, 23, 90], Operations: ['96-6=90'] Exploring Operation: 90-46=44, Resulting Numbers: [23, 44] Generated Node #0,3,0: 88:[23, 44] Operation: 90-46=44 Exploring Operation: 46-23=23, Resulting Numbers: [90, 23] Generated Node #0,3,1: 88:[90, 23] Operation: 46-23=23 Exploring Operation: 46+23=69, Resulting Numbers: [90, 69] Generated Node #0,3,2: 88:[90, 69] Operation: 46+23=69 Exploring Operation: 46/23=2, Resulting Numbers: [90, 2] Generated Node #0,3,3: 88:[90, 2] Operation: 46/23=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[23, 44], Operations: ['96-6=90', '90-46=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,88 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[90, 2], Operations: ['96-6=90', '46/23=2'] Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,88 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[96, 6, 46, 23], Operations: [] Exploring Operation: 96-6=90, Resulting Numbers: [46, 23, 90] Generated Node #0,3: 88:[46, 23, 90] Operation: 96-6=90 Moving to Node #0,3 Current State: 88:[46, 23, 90], Operations: ['96-6=90'] Exploring Operation: 46/23=2, Resulting Numbers: [90, 2] Generated Node #0,3,3: 88:[90, 2] Operation: 46/23=2 Moving to Node #0,3,3 Current State: 88:[90, 2], Operations: ['96-6=90', '46/23=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 8, 15, 3, 21 ]
74
[ "8+21=29", "15*3=45", "29+45=74" ]
Current State: 74:[8, 15, 3, 21], Operations: [] Exploring Operation: 8+21=29, Resulting Numbers: [15, 3, 29] Generated Node #2: [15, 3, 29] from Operation: 8+21=29 Current State: 74:[15, 3, 29], Operations: ['8+21=29'] Exploring Operation: 15*3=45, Resulting Numbers: [29, 45] Generated Node #3: [29, 45] from Operation: 15*3=45 Current State: 74:[29, 45], Operations: ['8+21=29', '15*3=45'] Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[8, 15, 3, 21], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [8, 3, 6] Generated Node #0,0: 74:[8, 3, 6] Operation: 21-15=6 Exploring Operation: 15+21=36, Resulting Numbers: [8, 3, 36] Generated Node #0,1: 74:[8, 3, 36] Operation: 15+21=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[8, 3, 36], Operations: ['15+21=36'] Exploring Operation: 8-3=5, Resulting Numbers: [36, 5] Generated Node #0,1,0: 74:[36, 5] Operation: 8-3=5 Exploring Operation: 8+36=44, Resulting Numbers: [3, 44] Generated Node #0,1,1: 74:[3, 44] Operation: 8+36=44 Moving to Node #0,1,0 Current State: 74:[36, 5], Operations: ['15+21=36', '8-3=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[3, 44], Operations: ['15+21=36', '8+36=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[8, 3, 6], Operations: ['21-15=6'] Exploring Operation: 8-6=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 74:[3, 2] Operation: 8-6=2 Exploring Operation: 6/3=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 74:[8, 2] Operation: 6/3=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[3, 2], Operations: ['21-15=6', '8-6=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[8, 2], Operations: ['21-15=6', '6/3=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,74 unequal: No Solution 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
[ 1, 45, 92, 74 ]
26
[ "45-1=44", "92-74=18", "44-18=26" ]
Current State: 26:[1, 45, 92, 74], Operations: [] Exploring Operation: 45-1=44, Resulting Numbers: [92, 74, 44] Generated Node #2: [92, 74, 44] from Operation: 45-1=44 Current State: 26:[92, 74, 44], Operations: ['45-1=44'] Exploring Operation: 92-74=18, Resulting Numbers: [44, 18] Generated Node #3: [44, 18] from Operation: 92-74=18 Current State: 26:[44, 18], Operations: ['45-1=44', '92-74=18'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[1, 45, 92, 74], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [1, 74, 47] Generated Node #0,0: 26:[1, 74, 47] Operation: 92-45=47 Exploring Operation: 45-1=44, Resulting Numbers: [92, 74, 44] Generated Node #0,1: 26:[92, 74, 44] Operation: 45-1=44 Exploring Operation: 74-45=29, Resulting Numbers: [1, 92, 29] Generated Node #0,2: 26:[1, 92, 29] Operation: 74-45=29 Exploring Operation: 92-74=18, Resulting Numbers: [1, 45, 18] Generated Node #0,3: 26:[1, 45, 18] Operation: 92-74=18 Moving to Node #0,3 Current State: 26:[1, 45, 18], Operations: ['92-74=18'] Exploring Operation: 45-1=44, Resulting Numbers: [18, 44] Generated Node #0,3,0: 26:[18, 44] Operation: 45-1=44 Exploring Operation: 1*45=45, Resulting Numbers: [18, 45] Generated Node #0,3,1: 26:[18, 45] Operation: 1*45=45 Exploring Operation: 45-18=27, Resulting Numbers: [1, 27] Generated Node #0,3,2: 26:[1, 27] Operation: 45-18=27 Exploring Operation: 18-1=17, Resulting Numbers: [45, 17] Generated Node #0,3,3: 26:[45, 17] Operation: 18-1=17 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[1, 27], Operations: ['92-74=18', '45-18=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[1, 45, 92, 74], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [1, 45, 18] Generated Node #0,3: 26:[1, 45, 18] Operation: 92-74=18 Moving to Node #0,3 Current State: 26:[1, 45, 18], Operations: ['92-74=18'] Exploring Operation: 45-18=27, Resulting Numbers: [1, 27] Generated Node #0,3,2: 26:[1, 27] Operation: 45-18=27 Moving to Node #0,3,2 Current State: 26:[1, 27], Operations: ['92-74=18', '45-18=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 79, 48, 96, 9 ]
72
[ "79-9=70", "96/48=2", "70+2=72" ]
Current State: 72:[79, 48, 96, 9], Operations: [] Exploring Operation: 79-9=70, Resulting Numbers: [48, 96, 70] Generated Node #2: [48, 96, 70] from Operation: 79-9=70 Current State: 72:[48, 96, 70], Operations: ['79-9=70'] Exploring Operation: 96/48=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 96/48=2 Current State: 72:[70, 2], Operations: ['79-9=70', '96/48=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[79, 48, 96, 9], Operations: [] Exploring Operation: 48-9=39, Resulting Numbers: [79, 96, 39] Generated Node #0,0: 72:[79, 96, 39] Operation: 48-9=39 Exploring Operation: 96/48=2, Resulting Numbers: [79, 9, 2] Generated Node #0,1: 72:[79, 9, 2] Operation: 96/48=2 Exploring Operation: 79-48=31, Resulting Numbers: [96, 9, 31] Generated Node #0,2: 72:[96, 9, 31] Operation: 79-48=31 Exploring Operation: 96-79=17, Resulting Numbers: [48, 9, 17] Generated Node #0,3: 72:[48, 9, 17] Operation: 96-79=17 Exploring Operation: 96-48=48, Resulting Numbers: [79, 9, 48] Generated Node #0,4: 72:[79, 9, 48] Operation: 96-48=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[79, 9, 2], Operations: ['96/48=2'] Exploring Operation: 9-2=7, Resulting Numbers: [79, 7] Generated Node #0,1,0: 72:[79, 7] Operation: 9-2=7 Exploring Operation: 9+2=11, Resulting Numbers: [79, 11] Generated Node #0,1,1: 72:[79, 11] Operation: 9+2=11 Exploring Operation: 9*2=18, Resulting Numbers: [79, 18] Generated Node #0,1,2: 72:[79, 18] Operation: 9*2=18 Exploring Operation: 79-2=77, Resulting Numbers: [9, 77] Generated Node #0,1,3: 72:[9, 77] Operation: 79-2=77 Exploring Operation: 79-9=70, Resulting Numbers: [2, 70] Generated Node #0,1,4: 72:[2, 70] Operation: 79-9=70 Moving to Node #0,1,4 Current State: 72:[2, 70], Operations: ['96/48=2', '79-9=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,72 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[79, 48, 96, 9], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [79, 9, 2] Generated Node #0,1: 72:[79, 9, 2] Operation: 96/48=2 Moving to Node #0,1 Current State: 72:[79, 9, 2], Operations: ['96/48=2'] Exploring Operation: 79-9=70, Resulting Numbers: [2, 70] Generated Node #0,1,4: 72:[2, 70] Operation: 79-9=70 Moving to Node #0,1,4 Current State: 72:[2, 70], Operations: ['96/48=2', '79-9=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 47, 9, 12, 29 ]
24
[ "47-29=18", "18/9=2", "12*2=24" ]
Current State: 24:[47, 9, 12, 29], Operations: [] Exploring Operation: 47-29=18, Resulting Numbers: [9, 12, 18] Generated Node #2: [9, 12, 18] from Operation: 47-29=18 Current State: 24:[9, 12, 18], Operations: ['47-29=18'] Exploring Operation: 18/9=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 18/9=2 Current State: 24:[12, 2], Operations: ['47-29=18', '18/9=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[47, 9, 12, 29], Operations: [] Exploring Operation: 47-29=18, Resulting Numbers: [9, 12, 18] Generated Node #0,0: 24:[9, 12, 18] Operation: 47-29=18 Moving to Node #0,0 Current State: 24:[9, 12, 18], Operations: ['47-29=18'] Exploring Operation: 18/9=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 24:[12, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[12, 2], Operations: ['47-29=18', '18/9=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[47, 9, 12, 29], Operations: [] Exploring Operation: 47-29=18, Resulting Numbers: [9, 12, 18] Generated Node #0,0: 24:[9, 12, 18] Operation: 47-29=18 Moving to Node #0,0 Current State: 24:[9, 12, 18], Operations: ['47-29=18'] Exploring Operation: 18/9=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 24:[12, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 24:[12, 2], Operations: ['47-29=18', '18/9=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 15, 56, 69 ]
79
[ "51+15=66", "69-56=13", "66+13=79" ]
Current State: 79:[51, 15, 56, 69], Operations: [] Exploring Operation: 51+15=66, Resulting Numbers: [56, 69, 66] Generated Node #2: [56, 69, 66] from Operation: 51+15=66 Current State: 79:[56, 69, 66], Operations: ['51+15=66'] Exploring Operation: 69-56=13, Resulting Numbers: [66, 13] Generated Node #3: [66, 13] from Operation: 69-56=13 Current State: 79:[66, 13], Operations: ['51+15=66', '69-56=13'] Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[51, 15, 56, 69], Operations: [] Exploring Operation: 51+15=66, Resulting Numbers: [56, 69, 66] Generated Node #0,0: 79:[56, 69, 66] Operation: 51+15=66 Moving to Node #0,0 Current State: 79:[56, 69, 66], Operations: ['51+15=66'] Exploring Operation: 56+66=122, Resulting Numbers: [69, 122] Generated Node #0,0,0: 79:[69, 122] Operation: 56+66=122 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[69, 122], Operations: ['51+15=66', '56+66=122'] Exploring Operation: 122-69=53, Resulting Numbers: [53] 53,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 8, 31, 34 ]
87
[ "34-27=7", "8*7=56", "31+56=87" ]
Current State: 87:[27, 8, 31, 34], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [8, 31, 7] Generated Node #2: [8, 31, 7] from Operation: 34-27=7 Current State: 87:[8, 31, 7], Operations: ['34-27=7'] Exploring Operation: 8*7=56, Resulting Numbers: [31, 56] Generated Node #3: [31, 56] from Operation: 8*7=56 Current State: 87:[31, 56], Operations: ['34-27=7', '8*7=56'] Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[27, 8, 31, 34], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [8, 34, 4] Generated Node #0,0: 87:[8, 34, 4] Operation: 31-27=4 Exploring Operation: 34-27=7, Resulting Numbers: [8, 31, 7] Generated Node #0,1: 87:[8, 31, 7] Operation: 34-27=7 Exploring Operation: 34-31=3, Resulting Numbers: [27, 8, 3] Generated Node #0,2: 87:[27, 8, 3] Operation: 34-31=3 Exploring Operation: 34-8=26, Resulting Numbers: [27, 31, 26] Generated Node #0,3: 87:[27, 31, 26] Operation: 34-8=26 Moving to Node #0,2 Current State: 87:[27, 8, 3], Operations: ['34-31=3'] Exploring Operation: 27+3=30, Resulting Numbers: [8, 30] Generated Node #0,2,0: 87:[8, 30] Operation: 27+3=30 Exploring Operation: 8-3=5, Resulting Numbers: [27, 5] Generated Node #0,2,1: 87:[27, 5] Operation: 8-3=5 Exploring Operation: 8*3=24, Resulting Numbers: [27, 24] Generated Node #0,2,2: 87:[27, 24] Operation: 8*3=24 Exploring Operation: 27+8=35, Resulting Numbers: [3, 35] Generated Node #0,2,3: 87:[3, 35] Operation: 27+8=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[27, 5], Operations: ['34-31=3', '8-3=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,87 unequal: No Solution No 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: 87:[8, 30], Operations: ['34-31=3', '27+3=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,87 unequal: No Solution No 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: 87:[3, 35], Operations: ['34-31=3', '27+8=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,87 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,87 unequal: No Solution No 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: 87:[27, 24], Operations: ['34-31=3', '8*3=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,87 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,87 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: 87:[27, 31, 26], Operations: ['34-8=26'] Exploring Operation: 31-27=4, Resulting Numbers: [26, 4] Generated Node #0,3,0: 87:[26, 4] Operation: 31-27=4 Exploring Operation: 31-26=5, Resulting Numbers: [27, 5] Generated Node #0,3,1: 87:[27, 5] Operation: 31-26=5 Exploring Operation: 27+26=53, Resulting Numbers: [31, 53] Generated Node #0,3,2: 87:[31, 53] Operation: 27+26=53 Exploring Operation: 27-26=1, Resulting Numbers: [31, 1] Generated Node #0,3,3: 87:[31, 1] Operation: 27-26=1 Moving to Node #0,1 Current State: 87:[8, 31, 7], Operations: ['34-27=7'] Exploring Operation: 8-7=1, Resulting Numbers: [31, 1] Generated Node #0,1,0: 87:[31, 1] Operation: 8-7=1 Exploring Operation: 8+31=39, Resulting Numbers: [7, 39] Generated Node #0,1,1: 87:[7, 39] Operation: 8+31=39 Exploring Operation: 31-8=23, Resulting Numbers: [7, 23] Generated Node #0,1,2: 87:[7, 23] Operation: 31-8=23 Exploring Operation: 31-7=24, Resulting Numbers: [8, 24] Generated Node #0,1,3: 87:[8, 24] Operation: 31-7=24 Moving to Node #0,0 Current State: 87:[8, 34, 4], Operations: ['31-27=4'] Exploring Operation: 8/4=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 87:[34, 2] Operation: 8/4=2 Exploring Operation: 34-4=30, Resulting Numbers: [8, 30] Generated Node #0,0,1: 87:[8, 30] Operation: 34-4=30 Exploring Operation: 8-4=4, Resulting Numbers: [34, 4] Generated Node #0,0,2: 87:[34, 4] Operation: 8-4=4 Exploring Operation: 34-8=26, Resulting Numbers: [4, 26] Generated Node #0,0,3: 87:[4, 26] Operation: 34-8=26 Moving to Node #0,3,0 Current State: 87:[26, 4], Operations: ['34-8=26', '31-27=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[31, 1], Operations: ['34-8=26', '27-26=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[27, 5], Operations: ['34-8=26', '31-26=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,87 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[31, 1], Operations: ['34-27=7', '8-7=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[4, 26], Operations: ['31-27=4', '34-8=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[34, 4], Operations: ['31-27=4', '8-4=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,87 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[34, 2], Operations: ['31-27=4', '8/4=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[8, 30], Operations: ['31-27=4', '34-4=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,87 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[8, 24], Operations: ['34-27=7', '31-7=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,87 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[7, 23], Operations: ['34-27=7', '31-8=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,87 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[7, 39], Operations: ['34-27=7', '8+31=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,87 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[31, 53], Operations: ['34-8=26', '27+26=53'] Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,87 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,87 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 75, 2, 90, 54 ]
71
[ "75-2=73", "90+54=144", "144-73=71" ]
Current State: 71:[75, 2, 90, 54], Operations: [] Exploring Operation: 75-2=73, Resulting Numbers: [90, 54, 73] Generated Node #2: [90, 54, 73] from Operation: 75-2=73 Current State: 71:[90, 54, 73], Operations: ['75-2=73'] Exploring Operation: 90+54=144, Resulting Numbers: [73, 144] Generated Node #3: [73, 144] from Operation: 90+54=144 Current State: 71:[73, 144], Operations: ['75-2=73', '90+54=144'] Exploring Operation: 144-73=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[75, 2, 90, 54], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [75, 90, 56] Generated Node #0,0: 71:[75, 90, 56] Operation: 2+54=56 Exploring Operation: 90-2=88, Resulting Numbers: [75, 54, 88] Generated Node #0,1: 71:[75, 54, 88] Operation: 90-2=88 Exploring Operation: 75-2=73, Resulting Numbers: [90, 54, 73] Generated Node #0,2: 71:[90, 54, 73] Operation: 75-2=73 Moving to Node #0,0 Current State: 71:[75, 90, 56], Operations: ['2+54=56'] Exploring Operation: 90-75=15, Resulting Numbers: [56, 15] Generated Node #0,0,0: 71:[56, 15] Operation: 90-75=15 Exploring Operation: 90-56=34, Resulting Numbers: [75, 34] Generated Node #0,0,1: 71:[75, 34] Operation: 90-56=34 Exploring Operation: 75-56=19, Resulting Numbers: [90, 19] Generated Node #0,0,2: 71:[90, 19] Operation: 75-56=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[75, 34], Operations: ['2+54=56', '90-56=34'] Exploring Operation: 75+34=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 75-34=41, Resulting Numbers: [41] 41,71 unequal: No Solution Exploring Operation: 75*34=2550, Resulting Numbers: [2550] 2550,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,0,0 Current State: 71:[56, 15], Operations: ['2+54=56', '90-75=15'] Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[75, 2, 90, 54], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [75, 90, 56] Generated Node #0,0: 71:[75, 90, 56] Operation: 2+54=56 Moving to Node #0,0 Current State: 71:[75, 90, 56], Operations: ['2+54=56'] Exploring Operation: 90-75=15, Resulting Numbers: [56, 15] Generated Node #0,0,0: 71:[56, 15] Operation: 90-75=15 Moving to Node #0,0,0 Current State: 71:[56, 15], Operations: ['2+54=56', '90-75=15'] Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 29, 99, 32, 6 ]
24
[ "29+99=128", "128/32=4", "6*4=24" ]
Current State: 24:[29, 99, 32, 6], Operations: [] Exploring Operation: 29+99=128, Resulting Numbers: [32, 6, 128] Generated Node #2: [32, 6, 128] from Operation: 29+99=128 Current State: 24:[32, 6, 128], Operations: ['29+99=128'] Exploring Operation: 128/32=4, Resulting Numbers: [6, 4] Generated Node #3: [6, 4] from Operation: 128/32=4 Current State: 24:[6, 4], Operations: ['29+99=128', '128/32=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[29, 99, 32, 6], Operations: [] Exploring Operation: 99-32=67, Resulting Numbers: [29, 6, 67] Generated Node #0,0: 24:[29, 6, 67] Operation: 99-32=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[29, 6, 67], Operations: ['99-32=67'] Exploring Operation: 67-29=38, Resulting Numbers: [6, 38] Generated Node #0,0,0: 24:[6, 38] Operation: 67-29=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[6, 38], Operations: ['99-32=67', '67-29=38'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 23, 15, 65, 16 ]
11
[ "23+15=38", "65-16=49", "49-38=11" ]
Current State: 11:[23, 15, 65, 16], Operations: [] Exploring Operation: 23+15=38, Resulting Numbers: [65, 16, 38] Generated Node #2: [65, 16, 38] from Operation: 23+15=38 Current State: 11:[65, 16, 38], Operations: ['23+15=38'] Exploring Operation: 65-16=49, Resulting Numbers: [38, 49] Generated Node #3: [38, 49] from Operation: 65-16=49 Current State: 11:[38, 49], Operations: ['23+15=38', '65-16=49'] Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[23, 15, 65, 16], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [65, 16, 8] Generated Node #0,0: 11:[65, 16, 8] Operation: 23-15=8 Exploring Operation: 65-16=49, Resulting Numbers: [23, 15, 49] Generated Node #0,1: 11:[23, 15, 49] Operation: 65-16=49 Exploring Operation: 65-15=50, Resulting Numbers: [23, 16, 50] Generated Node #0,2: 11:[23, 16, 50] Operation: 65-15=50 Exploring Operation: 65-23=42, Resulting Numbers: [15, 16, 42] Generated Node #0,3: 11:[15, 16, 42] Operation: 65-23=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[15, 16, 42], Operations: ['65-23=42'] Exploring Operation: 42-15=27, Resulting Numbers: [16, 27] Generated Node #0,3,0: 11:[16, 27] Operation: 42-15=27 Exploring Operation: 42-16=26, Resulting Numbers: [15, 26] Generated Node #0,3,1: 11:[15, 26] Operation: 42-16=26 Exploring Operation: 15+16=31, Resulting Numbers: [42, 31] Generated Node #0,3,2: 11:[42, 31] Operation: 15+16=31 Exploring Operation: 16-15=1, Resulting Numbers: [42, 1] Generated Node #0,3,3: 11:[42, 1] Operation: 16-15=1 Moving to Node #0,3,1 Current State: 11:[15, 26], Operations: ['65-23=42', '42-16=26'] Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,11 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[23, 15, 65, 16], Operations: [] Exploring Operation: 65-23=42, Resulting Numbers: [15, 16, 42] Generated Node #0,3: 11:[15, 16, 42] Operation: 65-23=42 Moving to Node #0,3 Current State: 11:[15, 16, 42], Operations: ['65-23=42'] Exploring Operation: 42-16=26, Resulting Numbers: [15, 26] Generated Node #0,3,1: 11:[15, 26] Operation: 42-16=26 Moving to Node #0,3,1 Current State: 11:[15, 26], Operations: ['65-23=42', '42-16=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 56, 74, 38, 28 ]
34
[ "56/28=2", "74-38=36", "36-2=34" ]
Current State: 34:[56, 74, 38, 28], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [74, 38, 2] Generated Node #2: [74, 38, 2] from Operation: 56/28=2 Current State: 34:[74, 38, 2], Operations: ['56/28=2'] Exploring Operation: 74-38=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 74-38=36 Current State: 34:[2, 36], Operations: ['56/28=2', '74-38=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[56, 74, 38, 28], Operations: [] Exploring Operation: 74-56=18, Resulting Numbers: [38, 28, 18] Generated Node #0,0: 34:[38, 28, 18] Operation: 74-56=18 Exploring Operation: 74-38=36, Resulting Numbers: [56, 28, 36] Generated Node #0,1: 34:[56, 28, 36] Operation: 74-38=36 Exploring Operation: 74-28=46, Resulting Numbers: [56, 38, 46] Generated Node #0,2: 34:[56, 38, 46] Operation: 74-28=46 Exploring Operation: 56/28=2, Resulting Numbers: [74, 38, 2] Generated Node #0,3: 34:[74, 38, 2] Operation: 56/28=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[38, 28, 18], Operations: ['74-56=18'] Exploring Operation: 38-18=20, Resulting Numbers: [28, 20] Generated Node #0,0,0: 34:[28, 20] Operation: 38-18=20 Exploring Operation: 28-18=10, Resulting Numbers: [38, 10] Generated Node #0,0,1: 34:[38, 10] Operation: 28-18=10 Exploring Operation: 28+18=46, Resulting Numbers: [38, 46] Generated Node #0,0,2: 34:[38, 46] Operation: 28+18=46 Exploring Operation: 38-28=10, Resulting Numbers: [18, 10] Generated Node #0,0,3: 34:[18, 10] Operation: 38-28=10 Moving to Node #0,0,3 Current State: 34:[18, 10], Operations: ['74-56=18', '38-28=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[28, 20], Operations: ['74-56=18', '38-18=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[38, 10], Operations: ['74-56=18', '28-18=10'] Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,34 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[38, 46], Operations: ['74-56=18', '28+18=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,34 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,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,1 Current State: 34:[56, 28, 36], Operations: ['74-38=36'] Exploring Operation: 56-28=28, Resulting Numbers: [36, 28] Generated Node #0,1,0: 34:[36, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [36, 2] Generated Node #0,1,1: 34:[36, 2] Operation: 56/28=2 Exploring Operation: 36-28=8, Resulting Numbers: [56, 8] Generated Node #0,1,2: 34:[56, 8] Operation: 36-28=8 Exploring Operation: 56-36=20, Resulting Numbers: [28, 20] Generated Node #0,1,3: 34:[28, 20] Operation: 56-36=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[36, 2], Operations: ['74-38=36', '56/28=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[56, 74, 38, 28], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [56, 28, 36] Generated Node #0,1: 34:[56, 28, 36] Operation: 74-38=36 Moving to Node #0,1 Current State: 34:[56, 28, 36], Operations: ['74-38=36'] Exploring Operation: 56/28=2, Resulting Numbers: [36, 2] Generated Node #0,1,1: 34:[36, 2] Operation: 56/28=2 Moving to Node #0,1,1 Current State: 34:[36, 2], Operations: ['74-38=36', '56/28=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 47, 28, 45, 20 ]
34
[ "47-45=2", "28/2=14", "20+14=34" ]
Current State: 34:[47, 28, 45, 20], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [28, 20, 2] Generated Node #2: [28, 20, 2] from Operation: 47-45=2 Current State: 34:[28, 20, 2], Operations: ['47-45=2'] Exploring Operation: 28/2=14, Resulting Numbers: [20, 14] Generated Node #3: [20, 14] from Operation: 28/2=14 Current State: 34:[20, 14], Operations: ['47-45=2', '28/2=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[47, 28, 45, 20], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [28, 20, 2] Generated Node #0,0: 34:[28, 20, 2] Operation: 47-45=2 Exploring Operation: 47-28=19, Resulting Numbers: [45, 20, 19] Generated Node #0,1: 34:[45, 20, 19] Operation: 47-28=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[28, 20, 2], Operations: ['47-45=2'] Exploring Operation: 28/2=14, Resulting Numbers: [20, 14] Generated Node #0,0,0: 34:[20, 14] Operation: 28/2=14 Exploring Operation: 28-20=8, Resulting Numbers: [2, 8] Generated Node #0,0,1: 34:[2, 8] Operation: 28-20=8 Moving to Node #0,0,0 Current State: 34:[20, 14], Operations: ['47-45=2', '28/2=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[47, 28, 45, 20], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [28, 20, 2] Generated Node #0,0: 34:[28, 20, 2] Operation: 47-45=2 Moving to Node #0,0 Current State: 34:[28, 20, 2], Operations: ['47-45=2'] Exploring Operation: 28/2=14, Resulting Numbers: [20, 14] Generated Node #0,0,0: 34:[20, 14] Operation: 28/2=14 Moving to Node #0,0,0 Current State: 34:[20, 14], Operations: ['47-45=2', '28/2=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 6, 1, 22, 2 ]
92
[ "6-2=4", "1+22=23", "4*23=92" ]
Current State: 92:[6, 1, 22, 2], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [1, 22, 4] Generated Node #2: [1, 22, 4] from Operation: 6-2=4 Current State: 92:[1, 22, 4], Operations: ['6-2=4'] Exploring Operation: 1+22=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 1+22=23 Current State: 92:[4, 23], Operations: ['6-2=4', '1+22=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[6, 1, 22, 2], Operations: [] Exploring Operation: 1+22=23, Resulting Numbers: [6, 2, 23] Generated Node #0,0: 92:[6, 2, 23] Operation: 1+22=23 Exploring Operation: 6-1=5, Resulting Numbers: [22, 2, 5] Generated Node #0,1: 92:[22, 2, 5] Operation: 6-1=5 Exploring Operation: 6-2=4, Resulting Numbers: [1, 22, 4] Generated Node #0,2: 92:[1, 22, 4] Operation: 6-2=4 Moving to Node #0,0 Current State: 92:[6, 2, 23], Operations: ['1+22=23'] Exploring Operation: 6/2=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 92:[23, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [23, 4] Generated Node #0,0,1: 92:[23, 4] Operation: 6-2=4 Exploring Operation: 2*23=46, Resulting Numbers: [6, 46] Generated Node #0,0,2: 92:[6, 46] Operation: 2*23=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[23, 4], Operations: ['1+22=23', '6-2=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[6, 1, 22, 2], Operations: [] Exploring Operation: 1+22=23, Resulting Numbers: [6, 2, 23] Generated Node #0,0: 92:[6, 2, 23] Operation: 1+22=23 Moving to Node #0,0 Current State: 92:[6, 2, 23], Operations: ['1+22=23'] Exploring Operation: 6-2=4, Resulting Numbers: [23, 4] Generated Node #0,0,1: 92:[23, 4] Operation: 6-2=4 Moving to Node #0,0,1 Current State: 92:[23, 4], Operations: ['1+22=23', '6-2=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 54, 36, 5, 6 ]
89
[ "54+36=90", "6-5=1", "90-1=89" ]
Current State: 89:[54, 36, 5, 6], Operations: [] Exploring Operation: 54+36=90, Resulting Numbers: [5, 6, 90] Generated Node #2: [5, 6, 90] from Operation: 54+36=90 Current State: 89:[5, 6, 90], Operations: ['54+36=90'] Exploring Operation: 6-5=1, Resulting Numbers: [90, 1] Generated Node #3: [90, 1] from Operation: 6-5=1 Current State: 89:[90, 1], Operations: ['54+36=90', '6-5=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[54, 36, 5, 6], Operations: [] Exploring Operation: 36+6=42, Resulting Numbers: [54, 5, 42] Generated Node #0,0: 89:[54, 5, 42] Operation: 36+6=42 Exploring Operation: 54+6=60, Resulting Numbers: [36, 5, 60] Generated Node #0,1: 89:[36, 5, 60] Operation: 54+6=60 Exploring Operation: 54+5=59, Resulting Numbers: [36, 6, 59] Generated Node #0,2: 89:[36, 6, 59] Operation: 54+5=59 Exploring Operation: 36+5=41, Resulting Numbers: [54, 6, 41] Generated Node #0,3: 89:[54, 6, 41] Operation: 36+5=41 Exploring Operation: 5*6=30, Resulting Numbers: [54, 36, 30] Generated Node #0,4: 89:[54, 36, 30] Operation: 5*6=30 Moving to Node #0,4 Current State: 89:[54, 36, 30], Operations: ['5*6=30'] Exploring Operation: 36+30=66, Resulting Numbers: [54, 66] Generated Node #0,4,0: 89:[54, 66] Operation: 36+30=66 Exploring Operation: 54+36=90, Resulting Numbers: [30, 90] Generated Node #0,4,1: 89:[30, 90] Operation: 54+36=90 Exploring Operation: 36-30=6, Resulting Numbers: [54, 6] Generated Node #0,4,2: 89:[54, 6] Operation: 36-30=6 Exploring Operation: 54-30=24, Resulting Numbers: [36, 24] Generated Node #0,4,3: 89:[36, 24] Operation: 54-30=24 Exploring Operation: 54+30=84, Resulting Numbers: [36, 84] Generated Node #0,4,4: 89:[36, 84] Operation: 54+30=84 Moving to Node #0,1 Current State: 89:[36, 5, 60], Operations: ['54+6=60'] Exploring Operation: 36-5=31, Resulting Numbers: [60, 31] Generated Node #0,1,0: 89:[60, 31] Operation: 36-5=31 Exploring Operation: 60-5=55, Resulting Numbers: [36, 55] Generated Node #0,1,1: 89:[36, 55] Operation: 60-5=55 Exploring Operation: 36+60=96, Resulting Numbers: [5, 96] Generated Node #0,1,2: 89:[5, 96] Operation: 36+60=96 Exploring Operation: 5+60=65, Resulting Numbers: [36, 65] Generated Node #0,1,3: 89:[36, 65] Operation: 5+60=65 Exploring Operation: 36+5=41, Resulting Numbers: [60, 41] Generated Node #0,1,4: 89:[60, 41] Operation: 36+5=41 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[36, 65], Operations: ['54+6=60', '5+60=65'] Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,89 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,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,1,4 Current State: 89:[60, 41], Operations: ['54+6=60', '36+5=41'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,89 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,89 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,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,1,0 Current State: 89:[60, 31], Operations: ['54+6=60', '36-5=31'] Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,89 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,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,1,1 Current State: 89:[36, 55], Operations: ['54+6=60', '60-5=55'] Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,89 unequal: No Solution Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,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,1,2 Current State: 89:[5, 96], Operations: ['54+6=60', '36+60=96'] Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,89 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,89 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: 89:[54, 6, 41], Operations: ['36+5=41'] Exploring Operation: 54+41=95, Resulting Numbers: [6, 95] Generated Node #0,3,0: 89:[6, 95] Operation: 54+41=95 Exploring Operation: 54-6=48, Resulting Numbers: [41, 48] Generated Node #0,3,1: 89:[41, 48] Operation: 54-6=48 Exploring Operation: 6+41=47, Resulting Numbers: [54, 47] Generated Node #0,3,2: 89:[54, 47] Operation: 6+41=47 Exploring Operation: 41-6=35, Resulting Numbers: [54, 35] Generated Node #0,3,3: 89:[54, 35] Operation: 41-6=35 Exploring Operation: 54+6=60, Resulting Numbers: [41, 60] Generated Node #0,3,4: 89:[41, 60] Operation: 54+6=60 Moving to Node #0,0 Current State: 89:[54, 5, 42], Operations: ['36+6=42'] Exploring Operation: 54+42=96, Resulting Numbers: [5, 96] Generated Node #0,0,0: 89:[5, 96] Operation: 54+42=96 Exploring Operation: 5+42=47, Resulting Numbers: [54, 47] Generated Node #0,0,1: 89:[54, 47] Operation: 5+42=47 Exploring Operation: 54+5=59, Resulting Numbers: [42, 59] Generated Node #0,0,2: 89:[42, 59] Operation: 54+5=59 Exploring Operation: 42-5=37, Resulting Numbers: [54, 37] Generated Node #0,0,3: 89:[54, 37] Operation: 42-5=37 Exploring Operation: 54-5=49, Resulting Numbers: [42, 49] Generated Node #0,0,4: 89:[42, 49] Operation: 54-5=49 Moving to Node #0,2 Current State: 89:[36, 6, 59], Operations: ['54+5=59'] Exploring Operation: 36+6=42, Resulting Numbers: [59, 42] Generated Node #0,2,0: 89:[59, 42] Operation: 36+6=42 Exploring Operation: 36+59=95, Resulting Numbers: [6, 95] Generated Node #0,2,1: 89:[6, 95] Operation: 36+59=95 Exploring Operation: 36-6=30, Resulting Numbers: [59, 30] Generated Node #0,2,2: 89:[59, 30] Operation: 36-6=30 Exploring Operation: 59-6=53, Resulting Numbers: [36, 53] Generated Node #0,2,3: 89:[36, 53] Operation: 59-6=53 Exploring Operation: 6+59=65, Resulting Numbers: [36, 65] Generated Node #0,2,4: 89:[36, 65] Operation: 6+59=65 Moving to Node #0,4,0 Current State: 89:[54, 66], Operations: ['5*6=30', '36+30=66'] Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,89 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[36, 84], Operations: ['5*6=30', '54+30=84'] Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,89 unequal: No Solution Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[30, 90], Operations: ['5*6=30', '54+36=90'] Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 30+90=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 30*90=2700, Resulting Numbers: [2700] 2700,89 unequal: No Solution Exploring Operation: 90/30=3, Resulting Numbers: [3] 3,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[41, 60], Operations: ['36+5=41', '54+6=60'] Exploring Operation: 41*60=2460, Resulting Numbers: [2460] 2460,89 unequal: No Solution Exploring Operation: 41+60=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[54, 47], Operations: ['36+5=41', '6+41=47'] Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,89 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[42, 59], Operations: ['36+6=42', '54+5=59'] Exploring Operation: 42+59=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 42*59=2478, Resulting Numbers: [2478] 2478,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[54, 47], Operations: ['36+6=42', '5+42=47'] Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[59, 42], Operations: ['54+5=59', '36+6=42'] Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,89 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[36, 65], Operations: ['54+5=59', '6+59=65'] Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,89 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,89 unequal: No Solution Moving to Node #0,0,4 Current State: 89:[42, 49], Operations: ['36+6=42', '54-5=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,89 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[54, 37], Operations: ['36+6=42', '42-5=37'] Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[59, 30], Operations: ['54+5=59', '36-6=30'] Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,89 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,89 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[54, 36, 5, 6], Operations: [] Exploring Operation: 54+5=59, Resulting Numbers: [36, 6, 59] Generated Node #0,2: 89:[36, 6, 59] Operation: 54+5=59 Moving to Node #0,2 Current State: 89:[36, 6, 59], Operations: ['54+5=59'] Exploring Operation: 36-6=30, Resulting Numbers: [59, 30] Generated Node #0,2,2: 89:[59, 30] Operation: 36-6=30 Moving to Node #0,2,2 Current State: 89:[59, 30], Operations: ['54+5=59', '36-6=30'] Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.925347
hs_5
mult_heuristic
[ 45, 78, 80, 50 ]
10
[ "50-45=5", "80-78=2", "5*2=10" ]
Current State: 10:[45, 78, 80, 50], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [78, 80, 5] Generated Node #2: [78, 80, 5] from Operation: 50-45=5 Current State: 10:[78, 80, 5], Operations: ['50-45=5'] Exploring Operation: 80-78=2, Resulting Numbers: [5, 2] Generated Node #3: [5, 2] from Operation: 80-78=2 Current State: 10:[5, 2], Operations: ['50-45=5', '80-78=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[45, 78, 80, 50], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [45, 78, 30] Generated Node #0,0: 10:[45, 78, 30] Operation: 80-50=30 Exploring Operation: 80-45=35, Resulting Numbers: [78, 50, 35] Generated Node #0,1: 10:[78, 50, 35] Operation: 80-45=35 Exploring Operation: 78-45=33, Resulting Numbers: [80, 50, 33] Generated Node #0,2: 10:[80, 50, 33] Operation: 78-45=33 Exploring Operation: 78-50=28, Resulting Numbers: [45, 80, 28] Generated Node #0,3: 10:[45, 80, 28] Operation: 78-50=28 Exploring Operation: 80-78=2, Resulting Numbers: [45, 50, 2] Generated Node #0,4: 10:[45, 50, 2] Operation: 80-78=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 10:[45, 50, 2], Operations: ['80-78=2'] Exploring Operation: 50-45=5, Resulting Numbers: [2, 5] Generated Node #0,4,0: 10:[2, 5] Operation: 50-45=5 Exploring Operation: 50-2=48, Resulting Numbers: [45, 48] Generated Node #0,4,1: 10:[45, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [45, 25] Generated Node #0,4,2: 10:[45, 25] Operation: 50/2=25 Exploring Operation: 45-2=43, Resulting Numbers: [50, 43] Generated Node #0,4,3: 10:[50, 43] Operation: 45-2=43 Exploring Operation: 45+2=47, Resulting Numbers: [50, 47] Generated Node #0,4,4: 10:[50, 47] Operation: 45+2=47 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 10:[2, 5], Operations: ['80-78=2', '50-45=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[45, 78, 80, 50], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [45, 50, 2] Generated Node #0,4: 10:[45, 50, 2] Operation: 80-78=2 Moving to Node #0,4 Current State: 10:[45, 50, 2], Operations: ['80-78=2'] Exploring Operation: 50-45=5, Resulting Numbers: [2, 5] Generated Node #0,4,0: 10:[2, 5] Operation: 50-45=5 Moving to Node #0,4,0 Current State: 10:[2, 5], Operations: ['80-78=2', '50-45=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 12, 79, 58, 25 ]
16
[ "79-12=67", "58+25=83", "83-67=16" ]
Current State: 16:[12, 79, 58, 25], Operations: [] Exploring Operation: 79-12=67, Resulting Numbers: [58, 25, 67] Generated Node #2: [58, 25, 67] from Operation: 79-12=67 Current State: 16:[58, 25, 67], Operations: ['79-12=67'] Exploring Operation: 58+25=83, Resulting Numbers: [67, 83] Generated Node #3: [67, 83] from Operation: 58+25=83 Current State: 16:[67, 83], Operations: ['79-12=67', '58+25=83'] Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[12, 79, 58, 25], Operations: [] Exploring Operation: 79-58=21, Resulting Numbers: [12, 25, 21] Generated Node #0,0: 16:[12, 25, 21] Operation: 79-58=21 Exploring Operation: 58-25=33, Resulting Numbers: [12, 79, 33] Generated Node #0,1: 16:[12, 79, 33] Operation: 58-25=33 Exploring Operation: 79-25=54, Resulting Numbers: [12, 58, 54] Generated Node #0,2: 16:[12, 58, 54] Operation: 79-25=54 Moving to Node #0,0 Current State: 16:[12, 25, 21], Operations: ['79-58=21'] Exploring Operation: 25-12=13, Resulting Numbers: [21, 13] Generated Node #0,0,0: 16:[21, 13] Operation: 25-12=13 Exploring Operation: 21-12=9, Resulting Numbers: [25, 9] Generated Node #0,0,1: 16:[25, 9] Operation: 21-12=9 Exploring Operation: 25-21=4, Resulting Numbers: [12, 4] Generated Node #0,0,2: 16:[12, 4] Operation: 25-21=4 Moving to Node #0,1 Current State: 16:[12, 79, 33], Operations: ['58-25=33'] Exploring Operation: 79-33=46, Resulting Numbers: [12, 46] Generated Node #0,1,0: 16:[12, 46] Operation: 79-33=46 Exploring Operation: 79-12=67, Resulting Numbers: [33, 67] Generated Node #0,1,1: 16:[33, 67] Operation: 79-12=67 Exploring Operation: 33-12=21, Resulting Numbers: [79, 21] Generated Node #0,1,2: 16:[79, 21] Operation: 33-12=21 Moving to Node #0,2 Current State: 16:[12, 58, 54], Operations: ['79-25=54'] Exploring Operation: 58-54=4, Resulting Numbers: [12, 4] Generated Node #0,2,0: 16:[12, 4] Operation: 58-54=4 Exploring Operation: 58-12=46, Resulting Numbers: [54, 46] Generated Node #0,2,1: 16:[54, 46] Operation: 58-12=46 Exploring Operation: 54-12=42, Resulting Numbers: [58, 42] Generated Node #0,2,2: 16:[58, 42] Operation: 54-12=42 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[12, 4], Operations: ['79-25=54', '58-54=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[12, 79, 58, 25], Operations: [] Exploring Operation: 79-25=54, Resulting Numbers: [12, 58, 54] Generated Node #0,2: 16:[12, 58, 54] Operation: 79-25=54 Moving to Node #0,2 Current State: 16:[12, 58, 54], Operations: ['79-25=54'] Exploring Operation: 58-54=4, Resulting Numbers: [12, 4] Generated Node #0,2,0: 16:[12, 4] Operation: 58-54=4 Moving to Node #0,2,0 Current State: 16:[12, 4], Operations: ['79-25=54', '58-54=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 66, 79, 61, 60 ]
12
[ "79-66=13", "61-60=1", "13-1=12" ]
Current State: 12:[66, 79, 61, 60], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [61, 60, 13] Generated Node #2: [61, 60, 13] from Operation: 79-66=13 Current State: 12:[61, 60, 13], Operations: ['79-66=13'] Exploring Operation: 61-60=1, Resulting Numbers: [13, 1] Generated Node #3: [13, 1] from Operation: 61-60=1 Current State: 12:[13, 1], Operations: ['79-66=13', '61-60=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[66, 79, 61, 60], Operations: [] Exploring Operation: 79-61=18, Resulting Numbers: [66, 60, 18] Generated Node #0,0: 12:[66, 60, 18] Operation: 79-61=18 Exploring Operation: 79-66=13, Resulting Numbers: [61, 60, 13] Generated Node #0,1: 12:[61, 60, 13] Operation: 79-66=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[61, 60, 13], Operations: ['79-66=13'] Exploring Operation: 61-60=1, Resulting Numbers: [13, 1] Generated Node #0,1,0: 12:[13, 1] Operation: 61-60=1 Exploring Operation: 61-13=48, Resulting Numbers: [60, 48] Generated Node #0,1,1: 12:[60, 48] Operation: 61-13=48 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[13, 1], Operations: ['79-66=13', '61-60=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[66, 79, 61, 60], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [61, 60, 13] Generated Node #0,1: 12:[61, 60, 13] Operation: 79-66=13 Moving to Node #0,1 Current State: 12:[61, 60, 13], Operations: ['79-66=13'] Exploring Operation: 61-60=1, Resulting Numbers: [13, 1] Generated Node #0,1,0: 12:[13, 1] Operation: 61-60=1 Moving to Node #0,1,0 Current State: 12:[13, 1], Operations: ['79-66=13', '61-60=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 99, 41, 86, 36 ]
64
[ "99-41=58", "86+36=122", "122-58=64" ]
Current State: 64:[99, 41, 86, 36], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [86, 36, 58] Generated Node #2: [86, 36, 58] from Operation: 99-41=58 Current State: 64:[86, 36, 58], Operations: ['99-41=58'] Exploring Operation: 86+36=122, Resulting Numbers: [58, 122] Generated Node #3: [58, 122] from Operation: 86+36=122 Current State: 64:[58, 122], Operations: ['99-41=58', '86+36=122'] Exploring Operation: 122-58=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[99, 41, 86, 36], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [41, 86, 63] Generated Node #0,0: 64:[41, 86, 63] Operation: 99-36=63 Exploring Operation: 99-86=13, Resulting Numbers: [41, 36, 13] Generated Node #0,1: 64:[41, 36, 13] Operation: 99-86=13 Exploring Operation: 99-41=58, Resulting Numbers: [86, 36, 58] Generated Node #0,2: 64:[86, 36, 58] Operation: 99-41=58 Exploring Operation: 41-36=5, Resulting Numbers: [99, 86, 5] Generated Node #0,3: 64:[99, 86, 5] Operation: 41-36=5 Exploring Operation: 86-41=45, Resulting Numbers: [99, 36, 45] Generated Node #0,4: 64:[99, 36, 45] Operation: 86-41=45 Moving to Node #0,1 Current State: 64:[41, 36, 13], Operations: ['99-86=13'] Exploring Operation: 41-13=28, Resulting Numbers: [36, 28] Generated Node #0,1,0: 64:[36, 28] Operation: 41-13=28 Exploring Operation: 41+13=54, Resulting Numbers: [36, 54] Generated Node #0,1,1: 64:[36, 54] Operation: 41+13=54 Exploring Operation: 36-13=23, Resulting Numbers: [41, 23] Generated Node #0,1,2: 64:[41, 23] Operation: 36-13=23 Exploring Operation: 41+36=77, Resulting Numbers: [13, 77] Generated Node #0,1,3: 64:[13, 77] Operation: 41+36=77 Exploring Operation: 41-36=5, Resulting Numbers: [13, 5] Generated Node #0,1,4: 64:[13, 5] Operation: 41-36=5 Moving to Node #0,2 Current State: 64:[86, 36, 58], Operations: ['99-41=58'] Exploring Operation: 86+36=122, Resulting Numbers: [58, 122] Generated Node #0,2,0: 64:[58, 122] Operation: 86+36=122 Exploring Operation: 58-36=22, Resulting Numbers: [86, 22] Generated Node #0,2,1: 64:[86, 22] Operation: 58-36=22 Exploring Operation: 86-36=50, Resulting Numbers: [58, 50] Generated Node #0,2,2: 64:[58, 50] Operation: 86-36=50 Exploring Operation: 36+58=94, Resulting Numbers: [86, 94] Generated Node #0,2,3: 64:[86, 94] Operation: 36+58=94 Exploring Operation: 86-58=28, Resulting Numbers: [36, 28] Generated Node #0,2,4: 64:[36, 28] Operation: 86-58=28 Moving to Node #0,0 Current State: 64:[41, 86, 63], Operations: ['99-36=63'] Exploring Operation: 86-41=45, Resulting Numbers: [63, 45] Generated Node #0,0,0: 64:[63, 45] Operation: 86-41=45 Exploring Operation: 41+63=104, Resulting Numbers: [86, 104] Generated Node #0,0,1: 64:[86, 104] Operation: 41+63=104 Exploring Operation: 63-41=22, Resulting Numbers: [86, 22] Generated Node #0,0,2: 64:[86, 22] Operation: 63-41=22 Exploring Operation: 86-63=23, Resulting Numbers: [41, 23] Generated Node #0,0,3: 64:[41, 23] Operation: 86-63=23 Exploring Operation: 41+86=127, Resulting Numbers: [63, 127] Generated Node #0,0,4: 64:[63, 127] Operation: 41+86=127 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[63, 45], Operations: ['99-36=63', '86-41=45'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,64 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,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,3 Current State: 64:[41, 23], Operations: ['99-36=63', '86-63=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,64 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[99, 41, 86, 36], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [41, 86, 63] Generated Node #0,0: 64:[41, 86, 63] Operation: 99-36=63 Moving to Node #0,0 Current State: 64:[41, 86, 63], Operations: ['99-36=63'] Exploring Operation: 86-63=23, Resulting Numbers: [41, 23] Generated Node #0,0,3: 64:[41, 23] Operation: 86-63=23 Moving to Node #0,0,3 Current State: 64:[41, 23], Operations: ['99-36=63', '86-63=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
sum_heuristic