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
[ 90, 10, 33, 16 ]
58
[ "90/10=9", "33+16=49", "9+49=58" ]
Current State: 58:[90, 10, 33, 16], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [33, 16, 9] Generated Node #2: [33, 16, 9] from Operation: 90/10=9 Current State: 58:[33, 16, 9], Operations: ['90/10=9'] Exploring Operation: 33+16=49, Resulting Numbers: [9, 49] Generated Node #3: [9, 49] from Operation: 33+16=49 Current State: 58:[9, 49], Operations: ['90/10=9', '33+16=49'] Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[90, 10, 33, 16], Operations: [] Exploring Operation: 90-16=74, Resulting Numbers: [10, 33, 74] Generated Node #0,0: 58:[10, 33, 74] Operation: 90-16=74 Exploring Operation: 90/10=9, Resulting Numbers: [33, 16, 9] Generated Node #0,1: 58:[33, 16, 9] Operation: 90/10=9 Exploring Operation: 90-33=57, Resulting Numbers: [10, 16, 57] Generated Node #0,2: 58:[10, 16, 57] Operation: 90-33=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[10, 16, 57], Operations: ['90-33=57'] Exploring Operation: 10+16=26, Resulting Numbers: [57, 26] Generated Node #0,2,0: 58:[57, 26] Operation: 10+16=26 Exploring Operation: 57-16=41, Resulting Numbers: [10, 41] Generated Node #0,2,1: 58:[10, 41] Operation: 57-16=41 Exploring Operation: 16-10=6, Resulting Numbers: [57, 6] Generated Node #0,2,2: 58:[57, 6] Operation: 16-10=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 58:[57, 26], Operations: ['90-33=57', '10+16=26'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,58 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 58:[57, 6], Operations: ['90-33=57', '16-10=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,58 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[10, 41], Operations: ['90-33=57', '57-16=41'] Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,58 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[33, 16, 9], Operations: ['90/10=9'] Exploring Operation: 33+16=49, Resulting Numbers: [9, 49] Generated Node #0,1,0: 58:[9, 49] Operation: 33+16=49 Exploring Operation: 16-9=7, Resulting Numbers: [33, 7] Generated Node #0,1,1: 58:[33, 7] Operation: 16-9=7 Exploring Operation: 16+9=25, Resulting Numbers: [33, 25] Generated Node #0,1,2: 58:[33, 25] Operation: 16+9=25 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 58:[33, 25], Operations: ['90/10=9', '16+9=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[90, 10, 33, 16], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [33, 16, 9] Generated Node #0,1: 58:[33, 16, 9] Operation: 90/10=9 Moving to Node #0,1 Current State: 58:[33, 16, 9], Operations: ['90/10=9'] Exploring Operation: 16+9=25, Resulting Numbers: [33, 25] Generated Node #0,1,2: 58:[33, 25] Operation: 16+9=25 Moving to Node #0,1,2 Current State: 58:[33, 25], Operations: ['90/10=9', '16+9=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 77, 67, 74, 77 ]
74
[ "77-77=0", "67*0=0", "74+0=74" ]
Current State: 74:[77, 67, 74, 77], Operations: [] Exploring Operation: 77-77=0, Resulting Numbers: [67, 74, 0] Generated Node #2: [67, 74, 0] from Operation: 77-77=0 Current State: 74:[67, 74, 0], Operations: ['77-77=0'] Exploring Operation: 67*0=0, Resulting Numbers: [74, 0] Generated Node #3: [74, 0] from Operation: 67*0=0 Current State: 74:[74, 0], Operations: ['77-77=0', '67*0=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[77, 67, 74, 77], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [67, 74, 1] Generated Node #0,0: 74:[67, 74, 1] Operation: 77/77=1 Exploring Operation: 77-77=0, Resulting Numbers: [67, 74, 0] Generated Node #0,1: 74:[67, 74, 0] Operation: 77-77=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[67, 74, 1], Operations: ['77/77=1'] Exploring Operation: 67+1=68, Resulting Numbers: [74, 68] Generated Node #0,0,0: 74:[74, 68] Operation: 67+1=68 Exploring Operation: 74-67=7, Resulting Numbers: [1, 7] Generated Node #0,0,1: 74:[1, 7] Operation: 74-67=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[74, 68], Operations: ['77/77=1', '67+1=68'] Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,74 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,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:[1, 7], Operations: ['77/77=1', '74-67=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[67, 74, 0], Operations: ['77-77=0'] Exploring Operation: 67*0=0, Resulting Numbers: [74, 0] Generated Node #0,1,0: 74:[74, 0] Operation: 67*0=0 Exploring Operation: 74-67=7, Resulting Numbers: [0, 7] Generated Node #0,1,1: 74:[0, 7] Operation: 74-67=7 Moving to Node #0,1,0 Current State: 74:[74, 0], Operations: ['77-77=0', '67*0=0'] Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[77, 67, 74, 77], Operations: [] Exploring Operation: 77-77=0, Resulting Numbers: [67, 74, 0] Generated Node #0,1: 74:[67, 74, 0] Operation: 77-77=0 Moving to Node #0,1 Current State: 74:[67, 74, 0], Operations: ['77-77=0'] Exploring Operation: 67*0=0, Resulting Numbers: [74, 0] Generated Node #0,1,0: 74:[74, 0] Operation: 67*0=0 Moving to Node #0,1,0 Current State: 74:[74, 0], Operations: ['77-77=0', '67*0=0'] Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 99, 77, 14, 97 ]
89
[ "99-77=22", "14+97=111", "111-22=89" ]
Current State: 89:[99, 77, 14, 97], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [14, 97, 22] Generated Node #2: [14, 97, 22] from Operation: 99-77=22 Current State: 89:[14, 97, 22], Operations: ['99-77=22'] Exploring Operation: 14+97=111, Resulting Numbers: [22, 111] Generated Node #3: [22, 111] from Operation: 14+97=111 Current State: 89:[22, 111], Operations: ['99-77=22', '14+97=111'] Exploring Operation: 111-22=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[99, 77, 14, 97], Operations: [] Exploring Operation: 77-14=63, Resulting Numbers: [99, 97, 63] Generated Node #0,0: 89:[99, 97, 63] Operation: 77-14=63 Exploring Operation: 97-14=83, Resulting Numbers: [99, 77, 83] Generated Node #0,1: 89:[99, 77, 83] Operation: 97-14=83 Exploring Operation: 99+14=113, Resulting Numbers: [77, 97, 113] Generated Node #0,2: 89:[77, 97, 113] Operation: 99+14=113 Exploring Operation: 77+14=91, Resulting Numbers: [99, 97, 91] Generated Node #0,3: 89:[99, 97, 91] Operation: 77+14=91 Exploring Operation: 99-14=85, Resulting Numbers: [77, 97, 85] Generated Node #0,4: 89:[77, 97, 85] Operation: 99-14=85 Moving to Node #0,3 Current State: 89:[99, 97, 91], Operations: ['77+14=91'] Exploring Operation: 99+97=196, Resulting Numbers: [91, 196] Generated Node #0,3,0: 89:[91, 196] Operation: 99+97=196 Exploring Operation: 99+91=190, Resulting Numbers: [97, 190] Generated Node #0,3,1: 89:[97, 190] Operation: 99+91=190 Exploring Operation: 99-97=2, Resulting Numbers: [91, 2] Generated Node #0,3,2: 89:[91, 2] Operation: 99-97=2 Exploring Operation: 99-91=8, Resulting Numbers: [97, 8] Generated Node #0,3,3: 89:[97, 8] Operation: 99-91=8 Exploring Operation: 97-91=6, Resulting Numbers: [99, 6] Generated Node #0,3,4: 89:[99, 6] Operation: 97-91=6 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[91, 2], Operations: ['77+14=91', '99-97=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[99, 77, 14, 97], Operations: [] Exploring Operation: 77+14=91, Resulting Numbers: [99, 97, 91] Generated Node #0,3: 89:[99, 97, 91] Operation: 77+14=91 Moving to Node #0,3 Current State: 89:[99, 97, 91], Operations: ['77+14=91'] Exploring Operation: 99-97=2, Resulting Numbers: [91, 2] Generated Node #0,3,2: 89:[91, 2] Operation: 99-97=2 Moving to Node #0,3,2 Current State: 89:[91, 2], Operations: ['77+14=91', '99-97=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 93, 93, 97, 62 ]
62
[ "93-93=0", "97*0=0", "62+0=62" ]
Current State: 62:[93, 93, 97, 62], Operations: [] Exploring Operation: 93-93=0, Resulting Numbers: [97, 62, 0] Generated Node #2: [97, 62, 0] from Operation: 93-93=0 Current State: 62:[97, 62, 0], Operations: ['93-93=0'] Exploring Operation: 97*0=0, Resulting Numbers: [62, 0] Generated Node #3: [62, 0] from Operation: 97*0=0 Current State: 62:[62, 0], Operations: ['93-93=0', '97*0=0'] Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[93, 93, 97, 62], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [93, 62, 4] Generated Node #0,0: 62:[93, 62, 4] Operation: 97-93=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[93, 62, 4], Operations: ['97-93=4'] Exploring Operation: 93-62=31, Resulting Numbers: [4, 31] Generated Node #0,0,0: 62:[4, 31] Operation: 93-62=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[4, 31], Operations: ['97-93=4', '93-62=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 1, 45, 15, 76 ]
17
[ "45-1=44", "76-15=61", "61-44=17" ]
Current State: 17:[1, 45, 15, 76], Operations: [] Exploring Operation: 45-1=44, Resulting Numbers: [15, 76, 44] Generated Node #2: [15, 76, 44] from Operation: 45-1=44 Current State: 17:[15, 76, 44], Operations: ['45-1=44'] Exploring Operation: 76-15=61, Resulting Numbers: [44, 61] Generated Node #3: [44, 61] from Operation: 76-15=61 Current State: 17:[44, 61], Operations: ['45-1=44', '76-15=61'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[1, 45, 15, 76], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [45, 15, 75] Generated Node #0,0: 17:[45, 15, 75] Operation: 76-1=75 Exploring Operation: 1+15=16, Resulting Numbers: [45, 76, 16] Generated Node #0,1: 17:[45, 76, 16] Operation: 1+15=16 Exploring Operation: 45-1=44, Resulting Numbers: [15, 76, 44] Generated Node #0,2: 17:[15, 76, 44] Operation: 45-1=44 Exploring Operation: 45-15=30, Resulting Numbers: [1, 76, 30] Generated Node #0,3: 17:[1, 76, 30] Operation: 45-15=30 Exploring Operation: 76-45=31, Resulting Numbers: [1, 15, 31] Generated Node #0,4: 17:[1, 15, 31] Operation: 76-45=31 Moving to Node #0,4 Current State: 17:[1, 15, 31], Operations: ['76-45=31'] Exploring Operation: 15/1=15, Resulting Numbers: [31, 15] Generated Node #0,4,0: 17:[31, 15] Operation: 15/1=15 Exploring Operation: 1*15=15, Resulting Numbers: [31, 15] Generated Node #0,4,1: 17:[31, 15] Operation: 1*15=15 Exploring Operation: 1*31=31, Resulting Numbers: [15, 31] Generated Node #0,4,2: 17:[15, 31] Operation: 1*31=31 Exploring Operation: 31-1=30, Resulting Numbers: [15, 30] Generated Node #0,4,3: 17:[15, 30] Operation: 31-1=30 Exploring Operation: 1+15=16, Resulting Numbers: [31, 16] Generated Node #0,4,4: 17:[31, 16] Operation: 1+15=16 Moving to Node #0,1 Current State: 17:[45, 76, 16], Operations: ['1+15=16'] Exploring Operation: 76+16=92, Resulting Numbers: [45, 92] Generated Node #0,1,0: 17:[45, 92] Operation: 76+16=92 Exploring Operation: 45-16=29, Resulting Numbers: [76, 29] Generated Node #0,1,1: 17:[76, 29] Operation: 45-16=29 Exploring Operation: 76-45=31, Resulting Numbers: [16, 31] Generated Node #0,1,2: 17:[16, 31] Operation: 76-45=31 Exploring Operation: 45+16=61, Resulting Numbers: [76, 61] Generated Node #0,1,3: 17:[76, 61] Operation: 45+16=61 Exploring Operation: 76-16=60, Resulting Numbers: [45, 60] Generated Node #0,1,4: 17:[45, 60] Operation: 76-16=60 Moving to Node #0,3 Current State: 17:[1, 76, 30], Operations: ['45-15=30'] Exploring Operation: 76-30=46, Resulting Numbers: [1, 46] Generated Node #0,3,0: 17:[1, 46] Operation: 76-30=46 Exploring Operation: 76/1=76, Resulting Numbers: [30, 76] Generated Node #0,3,1: 17:[30, 76] Operation: 76/1=76 Exploring Operation: 76-1=75, Resulting Numbers: [30, 75] Generated Node #0,3,2: 17:[30, 75] Operation: 76-1=75 Exploring Operation: 1*76=76, Resulting Numbers: [30, 76] Generated Node #0,3,3: 17:[30, 76] Operation: 1*76=76 Exploring Operation: 30-1=29, Resulting Numbers: [76, 29] Generated Node #0,3,4: 17:[76, 29] Operation: 30-1=29 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[1, 46], Operations: ['45-15=30', '76-30=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,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,3,2 Current State: 17:[30, 75], Operations: ['45-15=30', '76-1=75'] Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,17 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,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,3,4 Current State: 17:[76, 29], Operations: ['45-15=30', '30-1=29'] Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,17 unequal: No Solution Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,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,3,1 Current State: 17:[30, 76], Operations: ['45-15=30', '76/1=76'] Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 30+76=106, Resulting Numbers: [106] 106,17 unequal: No Solution Exploring Operation: 30*76=2280, Resulting Numbers: [2280] 2280,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,3,3 Current State: 17:[30, 76], Operations: ['45-15=30', '1*76=76'] Exploring Operation: 30*76=2280, Resulting Numbers: [2280] 2280,17 unequal: No Solution Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 30+76=106, Resulting Numbers: [106] 106,17 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: 17:[45, 15, 75], Operations: ['76-1=75'] Exploring Operation: 45/15=3, Resulting Numbers: [75, 3] Generated Node #0,0,0: 17:[75, 3] Operation: 45/15=3 Exploring Operation: 75-15=60, Resulting Numbers: [45, 60] Generated Node #0,0,1: 17:[45, 60] Operation: 75-15=60 Exploring Operation: 45-15=30, Resulting Numbers: [75, 30] Generated Node #0,0,2: 17:[75, 30] Operation: 45-15=30 Exploring Operation: 75-45=30, Resulting Numbers: [15, 30] Generated Node #0,0,3: 17:[15, 30] Operation: 75-45=30 Exploring Operation: 75/15=5, Resulting Numbers: [45, 5] Generated Node #0,0,4: 17:[45, 5] Operation: 75/15=5 Moving to Node #0,2 Current State: 17:[15, 76, 44], Operations: ['45-1=44'] Exploring Operation: 76-44=32, Resulting Numbers: [15, 32] Generated Node #0,2,0: 17:[15, 32] Operation: 76-44=32 Exploring Operation: 44-15=29, Resulting Numbers: [76, 29] Generated Node #0,2,1: 17:[76, 29] Operation: 44-15=29 Exploring Operation: 15+44=59, Resulting Numbers: [76, 59] Generated Node #0,2,2: 17:[76, 59] Operation: 15+44=59 Exploring Operation: 15+76=91, Resulting Numbers: [44, 91] Generated Node #0,2,3: 17:[44, 91] Operation: 15+76=91 Exploring Operation: 76-15=61, Resulting Numbers: [44, 61] Generated Node #0,2,4: 17:[44, 61] Operation: 76-15=61 Moving to Node #0,4,3 Current State: 17:[15, 30], Operations: ['76-45=31', '31-1=30'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[16, 31], Operations: ['1+15=16', '76-45=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[31, 16], Operations: ['76-45=31', '1+15=16'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,17 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[15, 30], Operations: ['76-1=75', '75-45=30'] Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,17 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[31, 15], Operations: ['76-45=31', '15/1=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[15, 31], Operations: ['76-45=31', '1*31=31'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[31, 15], Operations: ['76-45=31', '1*15=15'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,17 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[15, 32], Operations: ['45-1=44', '76-44=32'] Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,17 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[1, 45, 15, 76], Operations: [] Exploring Operation: 45-1=44, Resulting Numbers: [15, 76, 44] Generated Node #0,2: 17:[15, 76, 44] Operation: 45-1=44 Moving to Node #0,2 Current State: 17:[15, 76, 44], Operations: ['45-1=44'] Exploring Operation: 76-44=32, Resulting Numbers: [15, 32] Generated Node #0,2,0: 17:[15, 32] Operation: 76-44=32 Moving to Node #0,2,0 Current State: 17:[15, 32], Operations: ['45-1=44', '76-44=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.934028
hs_5
mult_heuristic
[ 20, 1, 32, 36 ]
48
[ "20*1=20", "32+36=68", "68-20=48" ]
Current State: 48:[20, 1, 32, 36], Operations: [] Exploring Operation: 20*1=20, Resulting Numbers: [32, 36, 20] Generated Node #2: [32, 36, 20] from Operation: 20*1=20 Current State: 48:[32, 36, 20], Operations: ['20*1=20'] Exploring Operation: 32+36=68, Resulting Numbers: [20, 68] Generated Node #3: [20, 68] from Operation: 32+36=68 Current State: 48:[20, 68], Operations: ['20*1=20', '32+36=68'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[20, 1, 32, 36], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [20, 1, 4] Generated Node #0,0: 48:[20, 1, 4] Operation: 36-32=4 Moving to Node #0,0 Current State: 48:[20, 1, 4], Operations: ['36-32=4'] Exploring Operation: 20+4=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 48:[1, 24] Operation: 20+4=24 Moving to Node #0,0,0 Current State: 48:[1, 24], Operations: ['36-32=4', '20+4=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 70, 77, 16, 17 ]
42
[ "70*17=1190", "77*16=1232", "1232-1190=42" ]
Current State: 42:[70, 77, 16, 17], Operations: [] Exploring Operation: 70*17=1190, Resulting Numbers: [77, 16, 1190] Generated Node #2: [77, 16, 1190] from Operation: 70*17=1190 Current State: 42:[77, 16, 1190], Operations: ['70*17=1190'] Exploring Operation: 77*16=1232, Resulting Numbers: [1190, 1232] Generated Node #3: [1190, 1232] from Operation: 77*16=1232 Current State: 42:[1190, 1232], Operations: ['70*17=1190', '77*16=1232'] Exploring Operation: 1232-1190=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[70, 77, 16, 17], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [16, 17, 7] Generated Node #0,0: 42:[16, 17, 7] Operation: 77-70=7 Moving to Node #0,0 Current State: 42:[16, 17, 7], Operations: ['77-70=7'] Exploring Operation: 17-16=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 42:[7, 1] Operation: 17-16=1 Moving to Node #0,0,0 Current State: 42:[7, 1], Operations: ['77-70=7', '17-16=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 3, 38, 99 ]
45
[ "76+38=114", "114-99=15", "3*15=45" ]
Current State: 45:[76, 3, 38, 99], Operations: [] Exploring Operation: 76+38=114, Resulting Numbers: [3, 99, 114] Generated Node #2: [3, 99, 114] from Operation: 76+38=114 Current State: 45:[3, 99, 114], Operations: ['76+38=114'] Exploring Operation: 114-99=15, Resulting Numbers: [3, 15] Generated Node #3: [3, 15] from Operation: 114-99=15 Current State: 45:[3, 15], Operations: ['76+38=114', '114-99=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[76, 3, 38, 99], Operations: [] Exploring Operation: 99-76=23, Resulting Numbers: [3, 38, 23] Generated Node #0,0: 45:[3, 38, 23] Operation: 99-76=23 Exploring Operation: 76-38=38, Resulting Numbers: [3, 99, 38] Generated Node #0,1: 45:[3, 99, 38] Operation: 76-38=38 Exploring Operation: 99-38=61, Resulting Numbers: [76, 3, 61] Generated Node #0,2: 45:[76, 3, 61] Operation: 99-38=61 Exploring Operation: 99/3=33, Resulting Numbers: [76, 38, 33] Generated Node #0,3: 45:[76, 38, 33] Operation: 99/3=33 Exploring Operation: 76/38=2, Resulting Numbers: [3, 99, 2] Generated Node #0,4: 45:[3, 99, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[3, 38, 23], Operations: ['99-76=23'] Exploring Operation: 38+23=61, Resulting Numbers: [3, 61] Generated Node #0,0,0: 45:[3, 61] Operation: 38+23=61 Exploring Operation: 38-3=35, Resulting Numbers: [23, 35] Generated Node #0,0,1: 45:[23, 35] Operation: 38-3=35 Exploring Operation: 38-23=15, Resulting Numbers: [3, 15] Generated Node #0,0,2: 45:[3, 15] Operation: 38-23=15 Exploring Operation: 23-3=20, Resulting Numbers: [38, 20] Generated Node #0,0,3: 45:[38, 20] Operation: 23-3=20 Exploring Operation: 3+38=41, Resulting Numbers: [23, 41] Generated Node #0,0,4: 45:[23, 41] Operation: 3+38=41 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[3, 15], Operations: ['99-76=23', '38-23=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[76, 3, 38, 99], Operations: [] Exploring Operation: 99-76=23, Resulting Numbers: [3, 38, 23] Generated Node #0,0: 45:[3, 38, 23] Operation: 99-76=23 Moving to Node #0,0 Current State: 45:[3, 38, 23], Operations: ['99-76=23'] Exploring Operation: 38-23=15, Resulting Numbers: [3, 15] Generated Node #0,0,2: 45:[3, 15] Operation: 38-23=15 Moving to Node #0,0,2 Current State: 45:[3, 15], Operations: ['99-76=23', '38-23=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 44, 22, 4, 51 ]
19
[ "44+22=66", "51-4=47", "66-47=19" ]
Current State: 19:[44, 22, 4, 51], Operations: [] Exploring Operation: 44+22=66, Resulting Numbers: [4, 51, 66] Generated Node #2: [4, 51, 66] from Operation: 44+22=66 Current State: 19:[4, 51, 66], Operations: ['44+22=66'] Exploring Operation: 51-4=47, Resulting Numbers: [66, 47] Generated Node #3: [66, 47] from Operation: 51-4=47 Current State: 19:[66, 47], Operations: ['44+22=66', '51-4=47'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[44, 22, 4, 51], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [22, 4, 7] Generated Node #0,0: 19:[22, 4, 7] Operation: 51-44=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[22, 4, 7], Operations: ['51-44=7'] Exploring Operation: 4+7=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 19:[22, 11] Operation: 4+7=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[22, 11], Operations: ['51-44=7', '4+7=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,19 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
[ 70, 79, 74, 55 ]
81
[ "79-74=5", "55/5=11", "70+11=81" ]
Current State: 81:[70, 79, 74, 55], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [70, 55, 5] Generated Node #2: [70, 55, 5] from Operation: 79-74=5 Current State: 81:[70, 55, 5], Operations: ['79-74=5'] Exploring Operation: 55/5=11, Resulting Numbers: [70, 11] Generated Node #3: [70, 11] from Operation: 55/5=11 Current State: 81:[70, 11], Operations: ['79-74=5', '55/5=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[70, 79, 74, 55], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [79, 74, 15] Generated Node #0,0: 81:[79, 74, 15] Operation: 70-55=15 Exploring Operation: 79-55=24, Resulting Numbers: [70, 74, 24] Generated Node #0,1: 81:[70, 74, 24] Operation: 79-55=24 Moving to Node #0,0 Current State: 81:[79, 74, 15], Operations: ['70-55=15'] Exploring Operation: 74+15=89, Resulting Numbers: [79, 89] Generated Node #0,0,0: 81:[79, 89] Operation: 74+15=89 Exploring Operation: 79-74=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 81:[15, 5] Operation: 79-74=5 Moving to Node #0,1 Current State: 81:[70, 74, 24], Operations: ['79-55=24'] Exploring Operation: 74-70=4, Resulting Numbers: [24, 4] Generated Node #0,1,0: 81:[24, 4] Operation: 74-70=4 Exploring Operation: 70+24=94, Resulting Numbers: [74, 94] Generated Node #0,1,1: 81:[74, 94] Operation: 70+24=94 Moving to Node #0,1,0 Current State: 81:[24, 4], Operations: ['79-55=24', '74-70=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[15, 5], Operations: ['70-55=15', '79-74=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[79, 89], Operations: ['70-55=15', '74+15=89'] Exploring Operation: 79+89=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[74, 94], Operations: ['79-55=24', '70+24=94'] Exploring Operation: 74+94=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 94-74=20, Resulting Numbers: [20] 20,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 28, 2, 88, 78 ]
69
[ "88-28=60", "78+60=138", "138/2=69" ]
Current State: 69:[28, 2, 88, 78], Operations: [] Exploring Operation: 88-28=60, Resulting Numbers: [2, 78, 60] Generated Node #2: [2, 78, 60] from Operation: 88-28=60 Current State: 69:[2, 78, 60], Operations: ['88-28=60'] Exploring Operation: 78+60=138, Resulting Numbers: [2, 138] Generated Node #3: [2, 138] from Operation: 78+60=138 Current State: 69:[2, 138], Operations: ['88-28=60', '78+60=138'] Exploring Operation: 138/2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[28, 2, 88, 78], Operations: [] Exploring Operation: 78-2=76, Resulting Numbers: [28, 88, 76] Generated Node #0,0: 69:[28, 88, 76] Operation: 78-2=76 Exploring Operation: 88-2=86, Resulting Numbers: [28, 78, 86] Generated Node #0,1: 69:[28, 78, 86] Operation: 88-2=86 Exploring Operation: 88-78=10, Resulting Numbers: [28, 2, 10] Generated Node #0,2: 69:[28, 2, 10] Operation: 88-78=10 Exploring Operation: 88-28=60, Resulting Numbers: [2, 78, 60] Generated Node #0,3: 69:[2, 78, 60] Operation: 88-28=60 Exploring Operation: 28-2=26, Resulting Numbers: [88, 78, 26] Generated Node #0,4: 69:[88, 78, 26] Operation: 28-2=26 Moving to Node #0,2 Current State: 69:[28, 2, 10], Operations: ['88-78=10'] Exploring Operation: 28-2=26, Resulting Numbers: [10, 26] Generated Node #0,2,0: 69:[10, 26] Operation: 28-2=26 Exploring Operation: 10-2=8, Resulting Numbers: [28, 8] Generated Node #0,2,1: 69:[28, 8] Operation: 10-2=8 Exploring Operation: 28-10=18, Resulting Numbers: [2, 18] Generated Node #0,2,2: 69:[2, 18] Operation: 28-10=18 Exploring Operation: 2*10=20, Resulting Numbers: [28, 20] Generated Node #0,2,3: 69:[28, 20] Operation: 2*10=20 Exploring Operation: 10/2=5, Resulting Numbers: [28, 5] Generated Node #0,2,4: 69:[28, 5] Operation: 10/2=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[2, 18], Operations: ['88-78=10', '28-10=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 69:[28, 5], Operations: ['88-78=10', '10/2=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 69:[28, 20], Operations: ['88-78=10', '2*10=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,69 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[10, 26], Operations: ['88-78=10', '28-2=26'] Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[28, 8], Operations: ['88-78=10', '10-2=8'] Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,69 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: 69:[2, 78, 60], Operations: ['88-28=60'] Exploring Operation: 2+60=62, Resulting Numbers: [78, 62] Generated Node #0,3,0: 69:[78, 62] Operation: 2+60=62 Exploring Operation: 78-2=76, Resulting Numbers: [60, 76] Generated Node #0,3,1: 69:[60, 76] Operation: 78-2=76 Exploring Operation: 60/2=30, Resulting Numbers: [78, 30] Generated Node #0,3,2: 69:[78, 30] Operation: 60/2=30 Exploring Operation: 78-60=18, Resulting Numbers: [2, 18] Generated Node #0,3,3: 69:[2, 18] Operation: 78-60=18 Exploring Operation: 2+78=80, Resulting Numbers: [60, 80] Generated Node #0,3,4: 69:[60, 80] Operation: 2+78=80 Moving to Node #0,0 Current State: 69:[28, 88, 76], Operations: ['78-2=76'] Exploring Operation: 28+76=104, Resulting Numbers: [88, 104] Generated Node #0,0,0: 69:[88, 104] Operation: 28+76=104 Exploring Operation: 88-76=12, Resulting Numbers: [28, 12] Generated Node #0,0,1: 69:[28, 12] Operation: 88-76=12 Exploring Operation: 88-28=60, Resulting Numbers: [76, 60] Generated Node #0,0,2: 69:[76, 60] Operation: 88-28=60 Exploring Operation: 28+88=116, Resulting Numbers: [76, 116] Generated Node #0,0,3: 69:[76, 116] Operation: 28+88=116 Exploring Operation: 76-28=48, Resulting Numbers: [88, 48] Generated Node #0,0,4: 69:[88, 48] Operation: 76-28=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[28, 12], Operations: ['78-2=76', '88-76=12'] Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,69 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[76, 60], Operations: ['78-2=76', '88-28=60'] Exploring Operation: 76*60=4560, Resulting Numbers: [4560] 4560,69 unequal: No Solution Exploring Operation: 76+60=136, Resulting Numbers: [136] 136,69 unequal: No Solution Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 69:[88, 48], Operations: ['78-2=76', '76-28=48'] Exploring Operation: 88-48=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 88+48=136, Resulting Numbers: [136] 136,69 unequal: No Solution Exploring Operation: 88*48=4224, Resulting Numbers: [4224] 4224,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[88, 104], Operations: ['78-2=76', '28+76=104'] Exploring Operation: 88*104=9152, Resulting Numbers: [9152] 9152,69 unequal: No Solution Exploring Operation: 88+104=192, Resulting Numbers: [192] 192,69 unequal: No Solution Exploring Operation: 104-88=16, Resulting Numbers: [16] 16,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[76, 116], Operations: ['78-2=76', '28+88=116'] Exploring Operation: 76*116=8816, Resulting Numbers: [8816] 8816,69 unequal: No Solution Exploring Operation: 76+116=192, Resulting Numbers: [192] 192,69 unequal: No Solution Exploring Operation: 116-76=40, Resulting Numbers: [40] 40,69 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: 69:[28, 78, 86], Operations: ['88-2=86'] Exploring Operation: 78-28=50, Resulting Numbers: [86, 50] Generated Node #0,1,0: 69:[86, 50] Operation: 78-28=50 Exploring Operation: 28+86=114, Resulting Numbers: [78, 114] Generated Node #0,1,1: 69:[78, 114] Operation: 28+86=114 Exploring Operation: 86-78=8, Resulting Numbers: [28, 8] Generated Node #0,1,2: 69:[28, 8] Operation: 86-78=8 Exploring Operation: 28+78=106, Resulting Numbers: [86, 106] Generated Node #0,1,3: 69:[86, 106] Operation: 28+78=106 Exploring Operation: 86-28=58, Resulting Numbers: [78, 58] Generated Node #0,1,4: 69:[78, 58] Operation: 86-28=58 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[28, 8], Operations: ['88-2=86', '86-78=8'] Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 69:[78, 58], Operations: ['88-2=86', '86-28=58'] Exploring Operation: 78-58=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 78*58=4524, Resulting Numbers: [4524] 4524,69 unequal: No Solution Exploring Operation: 78+58=136, Resulting Numbers: [136] 136,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[86, 50], Operations: ['88-2=86', '78-28=50'] Exploring Operation: 86*50=4300, Resulting Numbers: [4300] 4300,69 unequal: No Solution Exploring Operation: 86+50=136, Resulting Numbers: [136] 136,69 unequal: No Solution Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[78, 114], Operations: ['88-2=86', '28+86=114'] Exploring Operation: 78*114=8892, Resulting Numbers: [8892] 8892,69 unequal: No Solution Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,69 unequal: No Solution Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 69:[86, 106], Operations: ['88-2=86', '28+78=106'] Exploring Operation: 86+106=192, Resulting Numbers: [192] 192,69 unequal: No Solution Exploring Operation: 86*106=9116, Resulting Numbers: [9116] 9116,69 unequal: No Solution Exploring Operation: 106-86=20, Resulting Numbers: [20] 20,69 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: 69:[88, 78, 26], Operations: ['28-2=26'] Exploring Operation: 88-26=62, Resulting Numbers: [78, 62] Generated Node #0,4,0: 69:[78, 62] Operation: 88-26=62 Exploring Operation: 88-78=10, Resulting Numbers: [26, 10] Generated Node #0,4,1: 69:[26, 10] Operation: 88-78=10 Exploring Operation: 78/26=3, Resulting Numbers: [88, 3] Generated Node #0,4,2: 69:[88, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [88, 52] Generated Node #0,4,3: 69:[88, 52] Operation: 78-26=52 Exploring Operation: 88+26=114, Resulting Numbers: [78, 114] Generated Node #0,4,4: 69:[78, 114] Operation: 88+26=114 Moving to Node #0,3,3 Current State: 69:[2, 18], Operations: ['88-28=60', '78-60=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[26, 10], Operations: ['28-2=26', '88-78=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,69 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[78, 62], Operations: ['28-2=26', '88-26=62'] Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,69 unequal: No Solution Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[60, 76], Operations: ['88-28=60', '78-2=76'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 60+76=136, Resulting Numbers: [136] 136,69 unequal: No Solution Exploring Operation: 60*76=4560, Resulting Numbers: [4560] 4560,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[78, 62], Operations: ['88-28=60', '2+60=62'] Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,69 unequal: No Solution Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[78, 30], Operations: ['88-28=60', '60/2=30'] Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,69 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[88, 3], Operations: ['28-2=26', '78/26=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,69 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[60, 80], Operations: ['88-28=60', '2+78=80'] Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,69 unequal: No Solution Moving to Node #0,4,3 Current State: 69:[88, 52], Operations: ['28-2=26', '78-26=52'] Exploring Operation: 88+52=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 88*52=4576, Resulting Numbers: [4576] 4576,69 unequal: No Solution Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[78, 114], Operations: ['28-2=26', '88+26=114'] Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 78*114=8892, Resulting Numbers: [8892] 8892,69 unequal: No Solution Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,69 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 40, 14, 18, 99 ]
96
[ "40+14=54", "54/18=3", "99-3=96" ]
Current State: 96:[40, 14, 18, 99], Operations: [] Exploring Operation: 40+14=54, Resulting Numbers: [18, 99, 54] Generated Node #2: [18, 99, 54] from Operation: 40+14=54 Current State: 96:[18, 99, 54], Operations: ['40+14=54'] Exploring Operation: 54/18=3, Resulting Numbers: [99, 3] Generated Node #3: [99, 3] from Operation: 54/18=3 Current State: 96:[99, 3], Operations: ['40+14=54', '54/18=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[40, 14, 18, 99], Operations: [] Exploring Operation: 40-14=26, Resulting Numbers: [18, 99, 26] Generated Node #0,0: 96:[18, 99, 26] Operation: 40-14=26 Exploring Operation: 40-18=22, Resulting Numbers: [14, 99, 22] Generated Node #0,1: 96:[14, 99, 22] Operation: 40-18=22 Moving to Node #0,0 Current State: 96:[18, 99, 26], Operations: ['40-14=26'] Exploring Operation: 18+26=44, Resulting Numbers: [99, 44] Generated Node #0,0,0: 96:[99, 44] Operation: 18+26=44 Exploring Operation: 26-18=8, Resulting Numbers: [99, 8] Generated Node #0,0,1: 96:[99, 8] Operation: 26-18=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[99, 8], Operations: ['40-14=26', '26-18=8'] Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,96 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[99, 44], Operations: ['40-14=26', '18+26=44'] Exploring Operation: 99+44=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 99-44=55, Resulting Numbers: [55] 55,96 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: 96:[14, 99, 22], Operations: ['40-18=22'] Exploring Operation: 22-14=8, Resulting Numbers: [99, 8] Generated Node #0,1,0: 96:[99, 8] Operation: 22-14=8 Exploring Operation: 14+22=36, Resulting Numbers: [99, 36] Generated Node #0,1,1: 96:[99, 36] Operation: 14+22=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[99, 8], Operations: ['40-18=22', '22-14=8'] Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,96 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[99, 36], Operations: ['40-18=22', '14+22=36'] Exploring Operation: 99+36=135, Resulting Numbers: [135] 135,96 unequal: No Solution Exploring Operation: 99-36=63, Resulting Numbers: [63] 63,96 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, 50, 8, 30 ]
34
[ "30-28=2", "8*2=16", "50-16=34" ]
Current State: 34:[28, 50, 8, 30], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [50, 8, 2] Generated Node #2: [50, 8, 2] from Operation: 30-28=2 Current State: 34:[50, 8, 2], Operations: ['30-28=2'] Exploring Operation: 8*2=16, Resulting Numbers: [50, 16] Generated Node #3: [50, 16] from Operation: 8*2=16 Current State: 34:[50, 16], Operations: ['30-28=2', '8*2=16'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[28, 50, 8, 30], Operations: [] Exploring Operation: 50-28=22, Resulting Numbers: [8, 30, 22] Generated Node #0,0: 34:[8, 30, 22] Operation: 50-28=22 Exploring Operation: 50-30=20, Resulting Numbers: [28, 8, 20] Generated Node #0,1: 34:[28, 8, 20] Operation: 50-30=20 Moving to Node #0,0 Current State: 34:[8, 30, 22], Operations: ['50-28=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30, 30] Generated Node #0,0,0: 34:[30, 30] Operation: 8+22=30 Exploring Operation: 22-8=14, Resulting Numbers: [30, 14] Generated Node #0,0,1: 34:[30, 14] Operation: 22-8=14 Moving to Node #0,1 Current State: 34:[28, 8, 20], Operations: ['50-30=20'] Exploring Operation: 28+8=36, Resulting Numbers: [20, 36] Generated Node #0,1,0: 34:[20, 36] Operation: 28+8=36 Exploring Operation: 28-8=20, Resulting Numbers: [20, 20] Generated Node #0,1,1: 34:[20, 20] Operation: 28-8=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[20, 36], Operations: ['50-30=20', '28+8=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,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,1 Current State: 34:[20, 20], Operations: ['50-30=20', '28-8=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,34 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: 34:[30, 14], Operations: ['50-28=22', '22-8=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[30, 30], Operations: ['50-28=22', '8+22=30'] Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 14, 60, 39 ]
40
[ "46+14=60", "60/60=1", "39+1=40" ]
Current State: 40:[46, 14, 60, 39], Operations: [] Exploring Operation: 46+14=60, Resulting Numbers: [60, 39, 60] Generated Node #2: [60, 39, 60] from Operation: 46+14=60 Current State: 40:[60, 39, 60], Operations: ['46+14=60'] Exploring Operation: 60/60=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 60/60=1 Current State: 40:[39, 1], Operations: ['46+14=60', '60/60=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[46, 14, 60, 39], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [46, 14, 21] Generated Node #0,0: 40:[46, 14, 21] Operation: 60-39=21 Exploring Operation: 60-46=14, Resulting Numbers: [14, 39, 14] Generated Node #0,1: 40:[14, 39, 14] Operation: 60-46=14 Moving to Node #0,1 Current State: 40:[14, 39, 14], Operations: ['60-46=14'] Exploring Operation: 14-14=0, Resulting Numbers: [39, 0] Generated Node #0,1,0: 40:[39, 0] Operation: 14-14=0 Exploring Operation: 14/14=1, Resulting Numbers: [39, 1] Generated Node #0,1,1: 40:[39, 1] Operation: 14/14=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[39, 1], Operations: ['60-46=14', '14/14=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[46, 14, 60, 39], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [14, 39, 14] Generated Node #0,1: 40:[14, 39, 14] Operation: 60-46=14 Moving to Node #0,1 Current State: 40:[14, 39, 14], Operations: ['60-46=14'] Exploring Operation: 14/14=1, Resulting Numbers: [39, 1] Generated Node #0,1,1: 40:[39, 1] Operation: 14/14=1 Moving to Node #0,1,1 Current State: 40:[39, 1], Operations: ['60-46=14', '14/14=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 52, 9, 12, 3 ]
58
[ "52-9=43", "12+3=15", "43+15=58" ]
Current State: 58:[52, 9, 12, 3], Operations: [] Exploring Operation: 52-9=43, Resulting Numbers: [12, 3, 43] Generated Node #2: [12, 3, 43] from Operation: 52-9=43 Current State: 58:[12, 3, 43], Operations: ['52-9=43'] Exploring Operation: 12+3=15, Resulting Numbers: [43, 15] Generated Node #3: [43, 15] from Operation: 12+3=15 Current State: 58:[43, 15], Operations: ['52-9=43', '12+3=15'] Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[52, 9, 12, 3], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [52, 3, 3] Generated Node #0,0: 58:[52, 3, 3] Operation: 12-9=3 Exploring Operation: 52+9=61, Resulting Numbers: [12, 3, 61] Generated Node #0,1: 58:[12, 3, 61] Operation: 52+9=61 Moving to Node #0,0 Current State: 58:[52, 3, 3], Operations: ['12-9=3'] Exploring Operation: 52+3=55, Resulting Numbers: [3, 55] Generated Node #0,0,0: 58:[3, 55] Operation: 52+3=55 Exploring Operation: 52+3=55, Resulting Numbers: [3, 55] Generated Node #0,0,1: 58:[3, 55] Operation: 52+3=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[3, 55], Operations: ['12-9=3', '52+3=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[52, 9, 12, 3], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [52, 3, 3] Generated Node #0,0: 58:[52, 3, 3] Operation: 12-9=3 Moving to Node #0,0 Current State: 58:[52, 3, 3], Operations: ['12-9=3'] Exploring Operation: 52+3=55, Resulting Numbers: [3, 55] Generated Node #0,0,0: 58:[3, 55] Operation: 52+3=55 Moving to Node #0,0,0 Current State: 58:[3, 55], Operations: ['12-9=3', '52+3=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 9, 68, 17, 32 ]
17
[ "17-9=8", "68*8=544", "544/32=17" ]
Current State: 17:[9, 68, 17, 32], Operations: [] Exploring Operation: 17-9=8, Resulting Numbers: [68, 32, 8] Generated Node #2: [68, 32, 8] from Operation: 17-9=8 Current State: 17:[68, 32, 8], Operations: ['17-9=8'] Exploring Operation: 68*8=544, Resulting Numbers: [32, 544] Generated Node #3: [32, 544] from Operation: 68*8=544 Current State: 17:[32, 544], Operations: ['17-9=8', '68*8=544'] Exploring Operation: 544/32=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[9, 68, 17, 32], Operations: [] Exploring Operation: 32-9=23, Resulting Numbers: [68, 17, 23] Generated Node #0,0: 17:[68, 17, 23] Operation: 32-9=23 Exploring Operation: 68-32=36, Resulting Numbers: [9, 17, 36] Generated Node #0,1: 17:[9, 17, 36] Operation: 68-32=36 Exploring Operation: 68/17=4, Resulting Numbers: [9, 32, 4] Generated Node #0,2: 17:[9, 32, 4] Operation: 68/17=4 Exploring Operation: 68-17=51, Resulting Numbers: [9, 32, 51] Generated Node #0,3: 17:[9, 32, 51] Operation: 68-17=51 Exploring Operation: 68-9=59, Resulting Numbers: [17, 32, 59] Generated Node #0,4: 17:[17, 32, 59] Operation: 68-9=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[9, 17, 36], Operations: ['68-32=36'] Exploring Operation: 36-9=27, Resulting Numbers: [17, 27] Generated Node #0,1,0: 17:[17, 27] Operation: 36-9=27 Exploring Operation: 9+17=26, Resulting Numbers: [36, 26] Generated Node #0,1,1: 17:[36, 26] Operation: 9+17=26 Exploring Operation: 36/9=4, Resulting Numbers: [17, 4] Generated Node #0,1,2: 17:[17, 4] Operation: 36/9=4 Exploring Operation: 17-9=8, Resulting Numbers: [36, 8] Generated Node #0,1,3: 17:[36, 8] Operation: 17-9=8 Exploring Operation: 36-17=19, Resulting Numbers: [9, 19] Generated Node #0,1,4: 17:[9, 19] Operation: 36-17=19 Moving to Node #0,1,0 Current State: 17:[17, 27], Operations: ['68-32=36', '36-9=27'] Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,17 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[9, 19], Operations: ['68-32=36', '36-17=19'] Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,17 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[17, 4], Operations: ['68-32=36', '36/9=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[36, 26], Operations: ['68-32=36', '9+17=26'] Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,17 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[36, 8], Operations: ['68-32=36', '17-9=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,17 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[9, 32, 4], Operations: ['68/17=4'] Exploring Operation: 32-9=23, Resulting Numbers: [4, 23] Generated Node #0,2,0: 17:[4, 23] Operation: 32-9=23 Exploring Operation: 32-4=28, Resulting Numbers: [9, 28] Generated Node #0,2,1: 17:[9, 28] Operation: 32-4=28 Exploring Operation: 9-4=5, Resulting Numbers: [32, 5] Generated Node #0,2,2: 17:[32, 5] Operation: 9-4=5 Exploring Operation: 32/4=8, Resulting Numbers: [9, 8] Generated Node #0,2,3: 17:[9, 8] Operation: 32/4=8 Exploring Operation: 9+4=13, Resulting Numbers: [32, 13] Generated Node #0,2,4: 17:[32, 13] Operation: 9+4=13 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[9, 8], Operations: ['68/17=4', '32/4=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[9, 68, 17, 32], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [9, 32, 4] Generated Node #0,2: 17:[9, 32, 4] Operation: 68/17=4 Moving to Node #0,2 Current State: 17:[9, 32, 4], Operations: ['68/17=4'] Exploring Operation: 32/4=8, Resulting Numbers: [9, 8] Generated Node #0,2,3: 17:[9, 8] Operation: 32/4=8 Moving to Node #0,2,3 Current State: 17:[9, 8], Operations: ['68/17=4', '32/4=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 45, 2, 29, 64 ]
56
[ "45-29=16", "16/2=8", "64-8=56" ]
Current State: 56:[45, 2, 29, 64], Operations: [] Exploring Operation: 45-29=16, Resulting Numbers: [2, 64, 16] Generated Node #2: [2, 64, 16] from Operation: 45-29=16 Current State: 56:[2, 64, 16], Operations: ['45-29=16'] Exploring Operation: 16/2=8, Resulting Numbers: [64, 8] Generated Node #3: [64, 8] from Operation: 16/2=8 Current State: 56:[64, 8], Operations: ['45-29=16', '16/2=8'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[45, 2, 29, 64], Operations: [] Exploring Operation: 45-29=16, Resulting Numbers: [2, 64, 16] Generated Node #0,0: 56:[2, 64, 16] Operation: 45-29=16 Exploring Operation: 64-45=19, Resulting Numbers: [2, 29, 19] Generated Node #0,1: 56:[2, 29, 19] Operation: 64-45=19 Moving to Node #0,1 Current State: 56:[2, 29, 19], Operations: ['64-45=19'] Exploring Operation: 19-2=17, Resulting Numbers: [29, 17] Generated Node #0,1,0: 56:[29, 17] Operation: 19-2=17 Exploring Operation: 29-19=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 56:[2, 10] Operation: 29-19=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[2, 10], Operations: ['64-45=19', '29-19=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[29, 17], Operations: ['64-45=19', '19-2=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 56:[2, 64, 16], Operations: ['45-29=16'] Exploring Operation: 64/2=32, Resulting Numbers: [16, 32] Generated Node #0,0,0: 56:[16, 32] Operation: 64/2=32 Exploring Operation: 64/16=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 56:[2, 4] Operation: 64/16=4 Moving to Node #0,0,1 Current State: 56:[2, 4], Operations: ['45-29=16', '64/16=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[16, 32], Operations: ['45-29=16', '64/2=32'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,56 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 24, 31, 78, 26 ]
52
[ "24+31=55", "78/26=3", "55-3=52" ]
Current State: 52:[24, 31, 78, 26], Operations: [] Exploring Operation: 24+31=55, Resulting Numbers: [78, 26, 55] Generated Node #2: [78, 26, 55] from Operation: 24+31=55 Current State: 52:[78, 26, 55], Operations: ['24+31=55'] Exploring Operation: 78/26=3, Resulting Numbers: [55, 3] Generated Node #3: [55, 3] from Operation: 78/26=3 Current State: 52:[55, 3], Operations: ['24+31=55', '78/26=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[24, 31, 78, 26], Operations: [] Exploring Operation: 24+31=55, Resulting Numbers: [78, 26, 55] Generated Node #0,0: 52:[78, 26, 55] Operation: 24+31=55 Exploring Operation: 78/26=3, Resulting Numbers: [24, 31, 3] Generated Node #0,1: 52:[24, 31, 3] Operation: 78/26=3 Exploring Operation: 78-24=54, Resulting Numbers: [31, 26, 54] Generated Node #0,2: 52:[31, 26, 54] Operation: 78-24=54 Exploring Operation: 78-31=47, Resulting Numbers: [24, 26, 47] Generated Node #0,3: 52:[24, 26, 47] Operation: 78-31=47 Exploring Operation: 78-26=52, Resulting Numbers: [24, 31, 52] Generated Node #0,4: 52:[24, 31, 52] Operation: 78-26=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[31, 26, 54], Operations: ['78-24=54'] Exploring Operation: 31+54=85, Resulting Numbers: [26, 85] Generated Node #0,2,0: 52:[26, 85] Operation: 31+54=85 Exploring Operation: 31+26=57, Resulting Numbers: [54, 57] Generated Node #0,2,1: 52:[54, 57] Operation: 31+26=57 Exploring Operation: 54-31=23, Resulting Numbers: [26, 23] Generated Node #0,2,2: 52:[26, 23] Operation: 54-31=23 Exploring Operation: 31-26=5, Resulting Numbers: [54, 5] Generated Node #0,2,3: 52:[54, 5] Operation: 31-26=5 Exploring Operation: 54-26=28, Resulting Numbers: [31, 28] Generated Node #0,2,4: 52:[31, 28] Operation: 54-26=28 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[26, 23], Operations: ['78-24=54', '54-31=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 52:[54, 5], Operations: ['78-24=54', '31-26=5'] Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,52 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[54, 57], Operations: ['78-24=54', '31+26=57'] Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,52 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 52:[31, 28], Operations: ['78-24=54', '54-26=28'] Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,52 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[26, 85], Operations: ['78-24=54', '31+54=85'] Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,52 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,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,3 Current State: 52:[24, 26, 47], Operations: ['78-31=47'] Exploring Operation: 26-24=2, Resulting Numbers: [47, 2] Generated Node #0,3,0: 52:[47, 2] Operation: 26-24=2 Exploring Operation: 47-26=21, Resulting Numbers: [24, 21] Generated Node #0,3,1: 52:[24, 21] Operation: 47-26=21 Exploring Operation: 24+26=50, Resulting Numbers: [47, 50] Generated Node #0,3,2: 52:[47, 50] Operation: 24+26=50 Exploring Operation: 24+47=71, Resulting Numbers: [26, 71] Generated Node #0,3,3: 52:[26, 71] Operation: 24+47=71 Exploring Operation: 47-24=23, Resulting Numbers: [26, 23] Generated Node #0,3,4: 52:[26, 23] Operation: 47-24=23 Moving to Node #0,3,4 Current State: 52:[26, 23], Operations: ['78-31=47', '47-24=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,52 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[47, 2], Operations: ['78-31=47', '26-24=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[24, 21], Operations: ['78-31=47', '47-26=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,52 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[47, 50], Operations: ['78-31=47', '24+26=50'] Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,52 unequal: No Solution Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,52 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[26, 71], Operations: ['78-31=47', '24+47=71'] Exploring Operation: 26*71=1846, Resulting Numbers: [1846] 1846,52 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 26+71=97, Resulting Numbers: [97] 97,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 Current State: 52:[24, 31, 52], Operations: ['78-26=52'] Exploring Operation: 52-31=21, Resulting Numbers: [24, 21] Generated Node #0,4,0: 52:[24, 21] Operation: 52-31=21 Exploring Operation: 31-24=7, Resulting Numbers: [52, 7] Generated Node #0,4,1: 52:[52, 7] Operation: 31-24=7 Exploring Operation: 24+52=76, Resulting Numbers: [31, 76] Generated Node #0,4,2: 52:[31, 76] Operation: 24+52=76 Exploring Operation: 52-24=28, Resulting Numbers: [31, 28] Generated Node #0,4,3: 52:[31, 28] Operation: 52-24=28 Exploring Operation: 24+31=55, Resulting Numbers: [52, 55] Generated Node #0,4,4: 52:[52, 55] Operation: 24+31=55 Moving to Node #0,4,1 Current State: 52:[52, 7], Operations: ['78-26=52', '31-24=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[52, 55], Operations: ['78-26=52', '24+31=55'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,52 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[24, 21], Operations: ['78-26=52', '52-31=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,52 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[31, 28], Operations: ['78-26=52', '52-24=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,52 unequal: No Solution Moving to Node #0,4,2 Current State: 52:[31, 76], Operations: ['78-26=52', '24+52=76'] Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 31+76=107, Resulting Numbers: [107] 107,52 unequal: No Solution Exploring Operation: 31*76=2356, Resulting Numbers: [2356] 2356,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[24, 31, 3], Operations: ['78/26=3'] Exploring Operation: 24+31=55, Resulting Numbers: [3, 55] Generated Node #0,1,0: 52:[3, 55] Operation: 24+31=55 Exploring Operation: 24+3=27, Resulting Numbers: [31, 27] Generated Node #0,1,1: 52:[31, 27] Operation: 24+3=27 Exploring Operation: 31-24=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 52:[3, 7] Operation: 31-24=7 Exploring Operation: 31-3=28, Resulting Numbers: [24, 28] Generated Node #0,1,3: 52:[24, 28] Operation: 31-3=28 Exploring Operation: 24/3=8, Resulting Numbers: [31, 8] Generated Node #0,1,4: 52:[31, 8] Operation: 24/3=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[3, 55], Operations: ['78/26=3', '24+31=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,52 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[24, 31, 78, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [24, 31, 3] Generated Node #0,1: 52:[24, 31, 3] Operation: 78/26=3 Moving to Node #0,1 Current State: 52:[24, 31, 3], Operations: ['78/26=3'] Exploring Operation: 24+31=55, Resulting Numbers: [3, 55] Generated Node #0,1,0: 52:[3, 55] Operation: 24+31=55 Moving to Node #0,1,0 Current State: 52:[3, 55], Operations: ['78/26=3', '24+31=55'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.93316
hs_5
mult_heuristic
[ 4, 27, 30, 44 ]
44
[ "4+27=31", "31-30=1", "44*1=44" ]
Current State: 44:[4, 27, 30, 44], Operations: [] Exploring Operation: 4+27=31, Resulting Numbers: [30, 44, 31] Generated Node #2: [30, 44, 31] from Operation: 4+27=31 Current State: 44:[30, 44, 31], Operations: ['4+27=31'] Exploring Operation: 31-30=1, Resulting Numbers: [44, 1] Generated Node #3: [44, 1] from Operation: 31-30=1 Current State: 44:[44, 1], Operations: ['4+27=31', '31-30=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[4, 27, 30, 44], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [27, 30, 11] Generated Node #0,0: 44:[27, 30, 11] Operation: 44/4=11 Exploring Operation: 44-30=14, Resulting Numbers: [4, 27, 14] Generated Node #0,1: 44:[4, 27, 14] Operation: 44-30=14 Exploring Operation: 30-4=26, Resulting Numbers: [27, 44, 26] Generated Node #0,2: 44:[27, 44, 26] Operation: 30-4=26 Exploring Operation: 30-27=3, Resulting Numbers: [4, 44, 3] Generated Node #0,3: 44:[4, 44, 3] Operation: 30-27=3 Exploring Operation: 27-4=23, Resulting Numbers: [30, 44, 23] Generated Node #0,4: 44:[30, 44, 23] Operation: 27-4=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[4, 44, 3], Operations: ['30-27=3'] Exploring Operation: 4-3=1, Resulting Numbers: [44, 1] Generated Node #0,3,0: 44:[44, 1] Operation: 4-3=1 Exploring Operation: 44+3=47, Resulting Numbers: [4, 47] Generated Node #0,3,1: 44:[4, 47] Operation: 44+3=47 Exploring Operation: 44/4=11, Resulting Numbers: [3, 11] Generated Node #0,3,2: 44:[3, 11] Operation: 44/4=11 Exploring Operation: 4+3=7, Resulting Numbers: [44, 7] Generated Node #0,3,3: 44:[44, 7] Operation: 4+3=7 Exploring Operation: 4*3=12, Resulting Numbers: [44, 12] Generated Node #0,3,4: 44:[44, 12] Operation: 4*3=12 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 44:[44, 1], Operations: ['30-27=3', '4-3=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[4, 27, 30, 44], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [4, 44, 3] Generated Node #0,3: 44:[4, 44, 3] Operation: 30-27=3 Moving to Node #0,3 Current State: 44:[4, 44, 3], Operations: ['30-27=3'] Exploring Operation: 4-3=1, Resulting Numbers: [44, 1] Generated Node #0,3,0: 44:[44, 1] Operation: 4-3=1 Moving to Node #0,3,0 Current State: 44:[44, 1], Operations: ['30-27=3', '4-3=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 41, 10, 63, 51 ]
19
[ "41-10=31", "63-51=12", "31-12=19" ]
Current State: 19:[41, 10, 63, 51], Operations: [] Exploring Operation: 41-10=31, Resulting Numbers: [63, 51, 31] Generated Node #2: [63, 51, 31] from Operation: 41-10=31 Current State: 19:[63, 51, 31], Operations: ['41-10=31'] Exploring Operation: 63-51=12, Resulting Numbers: [31, 12] Generated Node #3: [31, 12] from Operation: 63-51=12 Current State: 19:[31, 12], Operations: ['41-10=31', '63-51=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[41, 10, 63, 51], Operations: [] Exploring Operation: 63-51=12, Resulting Numbers: [41, 10, 12] Generated Node #0,0: 19:[41, 10, 12] Operation: 63-51=12 Moving to Node #0,0 Current State: 19:[41, 10, 12], Operations: ['63-51=12'] Exploring Operation: 41-10=31, Resulting Numbers: [12, 31] Generated Node #0,0,0: 19:[12, 31] Operation: 41-10=31 Moving to Node #0,0,0 Current State: 19:[12, 31], Operations: ['63-51=12', '41-10=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[41, 10, 63, 51], Operations: [] Exploring Operation: 63-51=12, Resulting Numbers: [41, 10, 12] Generated Node #0,0: 19:[41, 10, 12] Operation: 63-51=12 Moving to Node #0,0 Current State: 19:[41, 10, 12], Operations: ['63-51=12'] Exploring Operation: 41-10=31, Resulting Numbers: [12, 31] Generated Node #0,0,0: 19:[12, 31] Operation: 41-10=31 Moving to Node #0,0,0 Current State: 19:[12, 31], Operations: ['63-51=12', '41-10=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 6, 92, 2, 24 ]
52
[ "92+24=116", "116/2=58", "58-6=52" ]
Current State: 52:[6, 92, 2, 24], Operations: [] Exploring Operation: 92+24=116, Resulting Numbers: [6, 2, 116] Generated Node #2: [6, 2, 116] from Operation: 92+24=116 Current State: 52:[6, 2, 116], Operations: ['92+24=116'] Exploring Operation: 116/2=58, Resulting Numbers: [6, 58] Generated Node #3: [6, 58] from Operation: 116/2=58 Current State: 52:[6, 58], Operations: ['92+24=116', '116/2=58'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[6, 92, 2, 24], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [6, 24, 46] Generated Node #0,0: 52:[6, 24, 46] Operation: 92/2=46 Moving to Node #0,0 Current State: 52:[6, 24, 46], Operations: ['92/2=46'] Exploring Operation: 6+46=52, Resulting Numbers: [24, 52] Generated Node #0,0,0: 52:[24, 52] Operation: 6+46=52 Moving to Node #0,0,0 Current State: 52:[24, 52], Operations: ['92/2=46', '6+46=52'] Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,52 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 6, 10, 47, 54 ]
23
[ "6+10=16", "54-47=7", "16+7=23" ]
Current State: 23:[6, 10, 47, 54], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [47, 54, 16] Generated Node #2: [47, 54, 16] from Operation: 6+10=16 Current State: 23:[47, 54, 16], Operations: ['6+10=16'] Exploring Operation: 54-47=7, Resulting Numbers: [16, 7] Generated Node #3: [16, 7] from Operation: 54-47=7 Current State: 23:[16, 7], Operations: ['6+10=16', '54-47=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[6, 10, 47, 54], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [10, 47, 9] Generated Node #0,0: 23:[10, 47, 9] Operation: 54/6=9 Exploring Operation: 54-47=7, Resulting Numbers: [6, 10, 7] Generated Node #0,1: 23:[6, 10, 7] Operation: 54-47=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[6, 10, 7], Operations: ['54-47=7'] Exploring Operation: 6+7=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 23:[10, 13] Operation: 6+7=13 Exploring Operation: 6+10=16, Resulting Numbers: [7, 16] Generated Node #0,1,1: 23:[7, 16] Operation: 6+10=16 Moving to Node #0,1,0 Current State: 23:[10, 13], Operations: ['54-47=7', '6+7=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[6, 10, 47, 54], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [6, 10, 7] Generated Node #0,1: 23:[6, 10, 7] Operation: 54-47=7 Moving to Node #0,1 Current State: 23:[6, 10, 7], Operations: ['54-47=7'] Exploring Operation: 6+7=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 23:[10, 13] Operation: 6+7=13 Moving to Node #0,1,0 Current State: 23:[10, 13], Operations: ['54-47=7', '6+7=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 33, 72, 68, 92 ]
81
[ "33+72=105", "92-68=24", "105-24=81" ]
Current State: 81:[33, 72, 68, 92], Operations: [] Exploring Operation: 33+72=105, Resulting Numbers: [68, 92, 105] Generated Node #2: [68, 92, 105] from Operation: 33+72=105 Current State: 81:[68, 92, 105], Operations: ['33+72=105'] Exploring Operation: 92-68=24, Resulting Numbers: [105, 24] Generated Node #3: [105, 24] from Operation: 92-68=24 Current State: 81:[105, 24], Operations: ['33+72=105', '92-68=24'] Exploring Operation: 105-24=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[33, 72, 68, 92], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [33, 72, 24] Generated Node #0,0: 81:[33, 72, 24] Operation: 92-68=24 Exploring Operation: 72-68=4, Resulting Numbers: [33, 92, 4] Generated Node #0,1: 81:[33, 92, 4] Operation: 72-68=4 Exploring Operation: 92-72=20, Resulting Numbers: [33, 68, 20] Generated Node #0,2: 81:[33, 68, 20] Operation: 92-72=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[33, 72, 24], Operations: ['92-68=24'] Exploring Operation: 72/24=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 81:[33, 3] Operation: 72/24=3 Exploring Operation: 72-33=39, Resulting Numbers: [24, 39] Generated Node #0,0,1: 81:[24, 39] Operation: 72-33=39 Exploring Operation: 33-24=9, Resulting Numbers: [72, 9] Generated Node #0,0,2: 81:[72, 9] Operation: 33-24=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[33, 3], Operations: ['92-68=24', '72/24=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,81 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,81 unequal: No Solution No 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: 81:[72, 9], Operations: ['92-68=24', '33-24=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[33, 72, 68, 92], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [33, 72, 24] Generated Node #0,0: 81:[33, 72, 24] Operation: 92-68=24 Moving to Node #0,0 Current State: 81:[33, 72, 24], Operations: ['92-68=24'] Exploring Operation: 33-24=9, Resulting Numbers: [72, 9] Generated Node #0,0,2: 81:[72, 9] Operation: 33-24=9 Moving to Node #0,0,2 Current State: 81:[72, 9], Operations: ['92-68=24', '33-24=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 85, 97, 57, 80 ]
35
[ "97-85=12", "80-57=23", "12+23=35" ]
Current State: 35:[85, 97, 57, 80], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [57, 80, 12] Generated Node #2: [57, 80, 12] from Operation: 97-85=12 Current State: 35:[57, 80, 12], Operations: ['97-85=12'] Exploring Operation: 80-57=23, Resulting Numbers: [12, 23] Generated Node #3: [12, 23] from Operation: 80-57=23 Current State: 35:[12, 23], Operations: ['97-85=12', '80-57=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[85, 97, 57, 80], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [85, 57, 17] Generated Node #0,0: 35:[85, 57, 17] Operation: 97-80=17 Exploring Operation: 97-85=12, Resulting Numbers: [57, 80, 12] Generated Node #0,1: 35:[57, 80, 12] Operation: 97-85=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[57, 80, 12], Operations: ['97-85=12'] Exploring Operation: 57-12=45, Resulting Numbers: [80, 45] Generated Node #0,1,0: 35:[80, 45] Operation: 57-12=45 Exploring Operation: 80-57=23, Resulting Numbers: [12, 23] Generated Node #0,1,1: 35:[12, 23] Operation: 80-57=23 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[12, 23], Operations: ['97-85=12', '80-57=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[85, 97, 57, 80], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [57, 80, 12] Generated Node #0,1: 35:[57, 80, 12] Operation: 97-85=12 Moving to Node #0,1 Current State: 35:[57, 80, 12], Operations: ['97-85=12'] Exploring Operation: 80-57=23, Resulting Numbers: [12, 23] Generated Node #0,1,1: 35:[12, 23] Operation: 80-57=23 Moving to Node #0,1,1 Current State: 35:[12, 23], Operations: ['97-85=12', '80-57=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 13, 78, 2, 5 ]
84
[ "13+78=91", "2+5=7", "91-7=84" ]
Current State: 84:[13, 78, 2, 5], Operations: [] Exploring Operation: 13+78=91, Resulting Numbers: [2, 5, 91] Generated Node #2: [2, 5, 91] from Operation: 13+78=91 Current State: 84:[2, 5, 91], Operations: ['13+78=91'] Exploring Operation: 2+5=7, Resulting Numbers: [91, 7] Generated Node #3: [91, 7] from Operation: 2+5=7 Current State: 84:[91, 7], Operations: ['13+78=91', '2+5=7'] Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[13, 78, 2, 5], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [13, 5, 39] Generated Node #0,0: 84:[13, 5, 39] Operation: 78/2=39 Exploring Operation: 78+2=80, Resulting Numbers: [13, 5, 80] Generated Node #0,1: 84:[13, 5, 80] Operation: 78+2=80 Exploring Operation: 13-5=8, Resulting Numbers: [78, 2, 8] Generated Node #0,2: 84:[78, 2, 8] Operation: 13-5=8 Exploring Operation: 78+5=83, Resulting Numbers: [13, 2, 83] Generated Node #0,3: 84:[13, 2, 83] Operation: 78+5=83 Exploring Operation: 78/13=6, Resulting Numbers: [2, 5, 6] Generated Node #0,4: 84:[2, 5, 6] Operation: 78/13=6 Moving to Node #0,4 Current State: 84:[2, 5, 6], Operations: ['78/13=6'] Exploring Operation: 2*6=12, Resulting Numbers: [5, 12] Generated Node #0,4,0: 84:[5, 12] Operation: 2*6=12 Exploring Operation: 5-2=3, Resulting Numbers: [6, 3] Generated Node #0,4,1: 84:[6, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [6, 7] Generated Node #0,4,2: 84:[6, 7] Operation: 2+5=7 Exploring Operation: 6/2=3, Resulting Numbers: [5, 3] Generated Node #0,4,3: 84:[5, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [5, 4] Generated Node #0,4,4: 84:[5, 4] Operation: 6-2=4 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 84:[6, 3], Operations: ['78/13=6', '5-2=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 84:[6, 7], Operations: ['78/13=6', '2+5=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 84:[5, 12], Operations: ['78/13=6', '2*6=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 84:[5, 3], Operations: ['78/13=6', '6/2=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 84:[5, 4], Operations: ['78/13=6', '6-2=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,84 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: 84:[13, 2, 83], Operations: ['78+5=83'] Exploring Operation: 13-2=11, Resulting Numbers: [83, 11] Generated Node #0,3,0: 84:[83, 11] Operation: 13-2=11 Exploring Operation: 13*2=26, Resulting Numbers: [83, 26] Generated Node #0,3,1: 84:[83, 26] Operation: 13*2=26 Exploring Operation: 83-2=81, Resulting Numbers: [13, 81] Generated Node #0,3,2: 84:[13, 81] Operation: 83-2=81 Exploring Operation: 13+2=15, Resulting Numbers: [83, 15] Generated Node #0,3,3: 84:[83, 15] Operation: 13+2=15 Exploring Operation: 2+83=85, Resulting Numbers: [13, 85] Generated Node #0,3,4: 84:[13, 85] Operation: 2+83=85 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[83, 11], Operations: ['78+5=83', '13-2=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,84 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[83, 15], Operations: ['78+5=83', '13+2=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 83*15=1245, Resulting Numbers: [1245] 1245,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 84:[13, 85], Operations: ['78+5=83', '2+83=85'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 13+85=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 13*85=1105, Resulting Numbers: [1105] 1105,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[83, 26], Operations: ['78+5=83', '13*2=26'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,84 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[13, 81], Operations: ['78+5=83', '83-2=81'] Exploring Operation: 13*81=1053, Resulting Numbers: [1053] 1053,84 unequal: No Solution Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,84 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: 84:[13, 5, 39], Operations: ['78/2=39'] Exploring Operation: 13+5=18, Resulting Numbers: [39, 18] Generated Node #0,0,0: 84:[39, 18] Operation: 13+5=18 Exploring Operation: 39/13=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 84:[5, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [5, 26] Generated Node #0,0,2: 84:[5, 26] Operation: 39-13=26 Exploring Operation: 5+39=44, Resulting Numbers: [13, 44] Generated Node #0,0,3: 84:[13, 44] Operation: 5+39=44 Exploring Operation: 13-5=8, Resulting Numbers: [39, 8] Generated Node #0,0,4: 84:[39, 8] Operation: 13-5=8 Moving to Node #0,1 Current State: 84:[13, 5, 80], Operations: ['78+2=80'] Exploring Operation: 5+80=85, Resulting Numbers: [13, 85] Generated Node #0,1,0: 84:[13, 85] Operation: 5+80=85 Exploring Operation: 13-5=8, Resulting Numbers: [80, 8] Generated Node #0,1,1: 84:[80, 8] Operation: 13-5=8 Exploring Operation: 80/5=16, Resulting Numbers: [13, 16] Generated Node #0,1,2: 84:[13, 16] Operation: 80/5=16 Exploring Operation: 13+80=93, Resulting Numbers: [5, 93] Generated Node #0,1,3: 84:[5, 93] Operation: 13+80=93 Exploring Operation: 13+5=18, Resulting Numbers: [80, 18] Generated Node #0,1,4: 84:[80, 18] Operation: 13+5=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[13, 85], Operations: ['78+2=80', '5+80=85'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 13*85=1105, Resulting Numbers: [1105] 1105,84 unequal: No Solution Exploring Operation: 13+85=98, Resulting Numbers: [98] 98,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[13, 16], Operations: ['78+2=80', '80/5=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[80, 8], Operations: ['78+2=80', '13-5=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 84:[80, 18], Operations: ['78+2=80', '13+5=18'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[5, 93], Operations: ['78+2=80', '13+80=93'] Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,84 unequal: No Solution Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[78, 2, 8], Operations: ['13-5=8'] Exploring Operation: 78+8=86, Resulting Numbers: [2, 86] Generated Node #0,2,0: 84:[2, 86] Operation: 78+8=86 Exploring Operation: 78/2=39, Resulting Numbers: [8, 39] Generated Node #0,2,1: 84:[8, 39] Operation: 78/2=39 Exploring Operation: 8-2=6, Resulting Numbers: [78, 6] Generated Node #0,2,2: 84:[78, 6] Operation: 8-2=6 Exploring Operation: 78+2=80, Resulting Numbers: [8, 80] Generated Node #0,2,3: 84:[8, 80] Operation: 78+2=80 Exploring Operation: 8/2=4, Resulting Numbers: [78, 4] Generated Node #0,2,4: 84:[78, 4] Operation: 8/2=4 Moving to Node #0,0,1 Current State: 84:[5, 3], Operations: ['78/2=39', '39/13=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[2, 86], Operations: ['13-5=8', '78+8=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,84 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[13, 78, 2, 5], Operations: [] Exploring Operation: 13-5=8, Resulting Numbers: [78, 2, 8] Generated Node #0,2: 84:[78, 2, 8] Operation: 13-5=8 Moving to Node #0,2 Current State: 84:[78, 2, 8], Operations: ['13-5=8'] Exploring Operation: 78+8=86, Resulting Numbers: [2, 86] Generated Node #0,2,0: 84:[2, 86] Operation: 78+8=86 Moving to Node #0,2,0 Current State: 84:[2, 86], Operations: ['13-5=8', '78+8=86'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.923611
hs_5
mult_heuristic
[ 43, 75, 46, 36 ]
13
[ "46-43=3", "75-36=39", "39/3=13" ]
Current State: 13:[43, 75, 46, 36], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [75, 36, 3] Generated Node #2: [75, 36, 3] from Operation: 46-43=3 Current State: 13:[75, 36, 3], Operations: ['46-43=3'] Exploring Operation: 75-36=39, Resulting Numbers: [3, 39] Generated Node #3: [3, 39] from Operation: 75-36=39 Current State: 13:[3, 39], Operations: ['46-43=3', '75-36=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[43, 75, 46, 36], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [43, 36, 29] Generated Node #0,0: 13:[43, 36, 29] Operation: 75-46=29 Exploring Operation: 46-43=3, Resulting Numbers: [75, 36, 3] Generated Node #0,1: 13:[75, 36, 3] Operation: 46-43=3 Exploring Operation: 75-43=32, Resulting Numbers: [46, 36, 32] Generated Node #0,2: 13:[46, 36, 32] Operation: 75-43=32 Exploring Operation: 75-36=39, Resulting Numbers: [43, 46, 39] Generated Node #0,3: 13:[43, 46, 39] Operation: 75-36=39 Moving to Node #0,0 Current State: 13:[43, 36, 29], Operations: ['75-46=29'] Exploring Operation: 43-36=7, Resulting Numbers: [29, 7] Generated Node #0,0,0: 13:[29, 7] Operation: 43-36=7 Exploring Operation: 36-29=7, Resulting Numbers: [43, 7] Generated Node #0,0,1: 13:[43, 7] Operation: 36-29=7 Exploring Operation: 43-29=14, Resulting Numbers: [36, 14] Generated Node #0,0,2: 13:[36, 14] Operation: 43-29=14 Exploring Operation: 43+36=79, Resulting Numbers: [29, 79] Generated Node #0,0,3: 13:[29, 79] Operation: 43+36=79 Moving to Node #0,2 Current State: 13:[46, 36, 32], Operations: ['75-43=32'] Exploring Operation: 46-32=14, Resulting Numbers: [36, 14] Generated Node #0,2,0: 13:[36, 14] Operation: 46-32=14 Exploring Operation: 46+36=82, Resulting Numbers: [32, 82] Generated Node #0,2,1: 13:[32, 82] Operation: 46+36=82 Exploring Operation: 36-32=4, Resulting Numbers: [46, 4] Generated Node #0,2,2: 13:[46, 4] Operation: 36-32=4 Exploring Operation: 46-36=10, Resulting Numbers: [32, 10] Generated Node #0,2,3: 13:[32, 10] Operation: 46-36=10 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[32, 10], Operations: ['75-43=32', '46-36=10'] Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,13 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[36, 14], Operations: ['75-43=32', '46-32=14'] Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,13 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[46, 4], Operations: ['75-43=32', '36-32=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[32, 82], Operations: ['75-43=32', '46+36=82'] Exploring Operation: 32+82=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 32*82=2624, Resulting Numbers: [2624] 2624,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 13:[43, 46, 39], Operations: ['75-36=39'] Exploring Operation: 43+46=89, Resulting Numbers: [39, 89] Generated Node #0,3,0: 13:[39, 89] Operation: 43+46=89 Exploring Operation: 46-39=7, Resulting Numbers: [43, 7] Generated Node #0,3,1: 13:[43, 7] Operation: 46-39=7 Exploring Operation: 46-43=3, Resulting Numbers: [39, 3] Generated Node #0,3,2: 13:[39, 3] Operation: 46-43=3 Exploring Operation: 43-39=4, Resulting Numbers: [46, 4] Generated Node #0,3,3: 13:[46, 4] Operation: 43-39=4 Moving to Node #0,1 Current State: 13:[75, 36, 3], Operations: ['46-43=3'] Exploring Operation: 75-36=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 13:[3, 39] Operation: 75-36=39 Exploring Operation: 36/3=12, Resulting Numbers: [75, 12] Generated Node #0,1,1: 13:[75, 12] Operation: 36/3=12 Exploring Operation: 75/3=25, Resulting Numbers: [36, 25] Generated Node #0,1,2: 13:[36, 25] Operation: 75/3=25 Exploring Operation: 75-3=72, Resulting Numbers: [36, 72] Generated Node #0,1,3: 13:[36, 72] Operation: 75-3=72 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[36, 25], Operations: ['46-43=3', '75/3=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,13 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[3, 39], Operations: ['46-43=3', '75-36=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[43, 75, 46, 36], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [75, 36, 3] Generated Node #0,1: 13:[75, 36, 3] Operation: 46-43=3 Moving to Node #0,1 Current State: 13:[75, 36, 3], Operations: ['46-43=3'] Exploring Operation: 75-36=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 13:[3, 39] Operation: 75-36=39 Moving to Node #0,1,0 Current State: 13:[3, 39], Operations: ['46-43=3', '75-36=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
sum_heuristic
[ 33, 81, 79, 19 ]
54
[ "33+81=114", "79-19=60", "114-60=54" ]
Current State: 54:[33, 81, 79, 19], Operations: [] Exploring Operation: 33+81=114, Resulting Numbers: [79, 19, 114] Generated Node #2: [79, 19, 114] from Operation: 33+81=114 Current State: 54:[79, 19, 114], Operations: ['33+81=114'] Exploring Operation: 79-19=60, Resulting Numbers: [114, 60] Generated Node #3: [114, 60] from Operation: 79-19=60 Current State: 54:[114, 60], Operations: ['33+81=114', '79-19=60'] Exploring Operation: 114-60=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[33, 81, 79, 19], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [33, 19, 2] Generated Node #0,0: 54:[33, 19, 2] Operation: 81-79=2 Exploring Operation: 81-33=48, Resulting Numbers: [79, 19, 48] Generated Node #0,1: 54:[79, 19, 48] Operation: 81-33=48 Moving to Node #0,0 Current State: 54:[33, 19, 2], Operations: ['81-79=2'] Exploring Operation: 33-19=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 54:[2, 14] Operation: 33-19=14 Exploring Operation: 33+19=52, Resulting Numbers: [2, 52] Generated Node #0,0,1: 54:[2, 52] Operation: 33+19=52 Moving to Node #0,1 Current State: 54:[79, 19, 48], Operations: ['81-33=48'] Exploring Operation: 79-48=31, Resulting Numbers: [19, 31] Generated Node #0,1,0: 54:[19, 31] Operation: 79-48=31 Exploring Operation: 79-19=60, Resulting Numbers: [48, 60] Generated Node #0,1,1: 54:[48, 60] Operation: 79-19=60 Moving to Node #0,0,1 Current State: 54:[2, 52], Operations: ['81-79=2', '33+19=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[33, 81, 79, 19], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [33, 19, 2] Generated Node #0,0: 54:[33, 19, 2] Operation: 81-79=2 Moving to Node #0,0 Current State: 54:[33, 19, 2], Operations: ['81-79=2'] Exploring Operation: 33+19=52, Resulting Numbers: [2, 52] Generated Node #0,0,1: 54:[2, 52] Operation: 33+19=52 Moving to Node #0,0,1 Current State: 54:[2, 52], Operations: ['81-79=2', '33+19=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 7, 16, 39, 65 ]
86
[ "7*16=112", "65-39=26", "112-26=86" ]
Current State: 86:[7, 16, 39, 65], Operations: [] Exploring Operation: 7*16=112, Resulting Numbers: [39, 65, 112] Generated Node #2: [39, 65, 112] from Operation: 7*16=112 Current State: 86:[39, 65, 112], Operations: ['7*16=112'] Exploring Operation: 65-39=26, Resulting Numbers: [112, 26] Generated Node #3: [112, 26] from Operation: 65-39=26 Current State: 86:[112, 26], Operations: ['7*16=112', '65-39=26'] Exploring Operation: 112-26=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[7, 16, 39, 65], Operations: [] Exploring Operation: 16+65=81, Resulting Numbers: [7, 39, 81] Generated Node #0,0: 86:[7, 39, 81] Operation: 16+65=81 Moving to Node #0,0 Current State: 86:[7, 39, 81], Operations: ['16+65=81'] Exploring Operation: 7+81=88, Resulting Numbers: [39, 88] Generated Node #0,0,0: 86:[39, 88] Operation: 7+81=88 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[39, 88], Operations: ['16+65=81', '7+81=88'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 61, 83, 36, 97 ]
66
[ "83+97=180", "180/36=5", "61+5=66" ]
Current State: 66:[61, 83, 36, 97], Operations: [] Exploring Operation: 83+97=180, Resulting Numbers: [61, 36, 180] Generated Node #2: [61, 36, 180] from Operation: 83+97=180 Current State: 66:[61, 36, 180], Operations: ['83+97=180'] Exploring Operation: 180/36=5, Resulting Numbers: [61, 5] Generated Node #3: [61, 5] from Operation: 180/36=5 Current State: 66:[61, 5], Operations: ['83+97=180', '180/36=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[61, 83, 36, 97], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [61, 36, 14] Generated Node #0,0: 66:[61, 36, 14] Operation: 97-83=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[61, 36, 14], Operations: ['97-83=14'] Exploring Operation: 36-14=22, Resulting Numbers: [61, 22] Generated Node #0,0,0: 66:[61, 22] Operation: 36-14=22 Moving to Node #0,0,0 Current State: 66:[61, 22], Operations: ['97-83=14', '36-14=22'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 58, 19, 8 ]
76
[ "60-58=2", "19*8=152", "152/2=76" ]
Current State: 76:[60, 58, 19, 8], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [19, 8, 2] Generated Node #2: [19, 8, 2] from Operation: 60-58=2 Current State: 76:[19, 8, 2], Operations: ['60-58=2'] Exploring Operation: 19*8=152, Resulting Numbers: [2, 152] Generated Node #3: [2, 152] from Operation: 19*8=152 Current State: 76:[2, 152], Operations: ['60-58=2', '19*8=152'] Exploring Operation: 152/2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[60, 58, 19, 8], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [19, 8, 2] Generated Node #0,0: 76:[19, 8, 2] Operation: 60-58=2 Exploring Operation: 58+19=77, Resulting Numbers: [60, 8, 77] Generated Node #0,1: 76:[60, 8, 77] Operation: 58+19=77 Moving to Node #0,0 Current State: 76:[19, 8, 2], Operations: ['60-58=2'] Exploring Operation: 8/2=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 76:[19, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [19, 6] Generated Node #0,0,1: 76:[19, 6] Operation: 8-2=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[19, 4], Operations: ['60-58=2', '8/2=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[60, 58, 19, 8], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [19, 8, 2] Generated Node #0,0: 76:[19, 8, 2] Operation: 60-58=2 Moving to Node #0,0 Current State: 76:[19, 8, 2], Operations: ['60-58=2'] Exploring Operation: 8/2=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 76:[19, 4] Operation: 8/2=4 Moving to Node #0,0,0 Current State: 76:[19, 4], Operations: ['60-58=2', '8/2=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 94, 19, 32, 61 ]
84
[ "94+19=113", "61-32=29", "113-29=84" ]
Current State: 84:[94, 19, 32, 61], Operations: [] Exploring Operation: 94+19=113, Resulting Numbers: [32, 61, 113] Generated Node #2: [32, 61, 113] from Operation: 94+19=113 Current State: 84:[32, 61, 113], Operations: ['94+19=113'] Exploring Operation: 61-32=29, Resulting Numbers: [113, 29] Generated Node #3: [113, 29] from Operation: 61-32=29 Current State: 84:[113, 29], Operations: ['94+19=113', '61-32=29'] Exploring Operation: 113-29=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[94, 19, 32, 61], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [19, 32, 33] Generated Node #0,0: 84:[19, 32, 33] Operation: 94-61=33 Exploring Operation: 61-19=42, Resulting Numbers: [94, 32, 42] Generated Node #0,1: 84:[94, 32, 42] Operation: 61-19=42 Exploring Operation: 61-32=29, Resulting Numbers: [94, 19, 29] Generated Node #0,2: 84:[94, 19, 29] Operation: 61-32=29 Moving to Node #0,0 Current State: 84:[19, 32, 33], Operations: ['94-61=33'] Exploring Operation: 32-19=13, Resulting Numbers: [33, 13] Generated Node #0,0,0: 84:[33, 13] Operation: 32-19=13 Exploring Operation: 33-32=1, Resulting Numbers: [19, 1] Generated Node #0,0,1: 84:[19, 1] Operation: 33-32=1 Exploring Operation: 33-19=14, Resulting Numbers: [32, 14] Generated Node #0,0,2: 84:[32, 14] Operation: 33-19=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[19, 1], Operations: ['94-61=33', '33-32=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,84 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[32, 14], Operations: ['94-61=33', '33-19=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[33, 13], Operations: ['94-61=33', '32-19=13'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,84 unequal: No Solution Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[94, 19, 29], Operations: ['61-32=29'] Exploring Operation: 94-19=75, Resulting Numbers: [29, 75] Generated Node #0,2,0: 84:[29, 75] Operation: 94-19=75 Exploring Operation: 29-19=10, Resulting Numbers: [94, 10] Generated Node #0,2,1: 84:[94, 10] Operation: 29-19=10 Exploring Operation: 19+29=48, Resulting Numbers: [94, 48] Generated Node #0,2,2: 84:[94, 48] Operation: 19+29=48 Moving to Node #0,1 Current State: 84:[94, 32, 42], Operations: ['61-19=42'] Exploring Operation: 94-42=52, Resulting Numbers: [32, 52] Generated Node #0,1,0: 84:[32, 52] Operation: 94-42=52 Exploring Operation: 42-32=10, Resulting Numbers: [94, 10] Generated Node #0,1,1: 84:[94, 10] Operation: 42-32=10 Exploring Operation: 94-32=62, Resulting Numbers: [42, 62] Generated Node #0,1,2: 84:[42, 62] Operation: 94-32=62 Moving to Node #0,2,0 Current State: 84:[29, 75], Operations: ['61-32=29', '94-19=75'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 29+75=104, Resulting Numbers: [104] 104,84 unequal: No Solution Exploring Operation: 29*75=2175, Resulting Numbers: [2175] 2175,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[94, 10], Operations: ['61-32=29', '29-19=10'] Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[94, 19, 32, 61], Operations: [] Exploring Operation: 61-32=29, Resulting Numbers: [94, 19, 29] Generated Node #0,2: 84:[94, 19, 29] Operation: 61-32=29 Moving to Node #0,2 Current State: 84:[94, 19, 29], Operations: ['61-32=29'] Exploring Operation: 29-19=10, Resulting Numbers: [94, 10] Generated Node #0,2,1: 84:[94, 10] Operation: 29-19=10 Moving to Node #0,2,1 Current State: 84:[94, 10], Operations: ['61-32=29', '29-19=10'] Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 97, 82, 64, 66 ]
56
[ "66-64=2", "82/2=41", "97-41=56" ]
Current State: 56:[97, 82, 64, 66], Operations: [] Exploring Operation: 66-64=2, Resulting Numbers: [97, 82, 2] Generated Node #2: [97, 82, 2] from Operation: 66-64=2 Current State: 56:[97, 82, 2], Operations: ['66-64=2'] Exploring Operation: 82/2=41, Resulting Numbers: [97, 41] Generated Node #3: [97, 41] from Operation: 82/2=41 Current State: 56:[97, 41], Operations: ['66-64=2', '82/2=41'] Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[97, 82, 64, 66], Operations: [] Exploring Operation: 82-64=18, Resulting Numbers: [97, 66, 18] Generated Node #0,0: 56:[97, 66, 18] Operation: 82-64=18 Exploring Operation: 97-82=15, Resulting Numbers: [64, 66, 15] Generated Node #0,1: 56:[64, 66, 15] Operation: 97-82=15 Exploring Operation: 97-64=33, Resulting Numbers: [82, 66, 33] Generated Node #0,2: 56:[82, 66, 33] Operation: 97-64=33 Exploring Operation: 82-66=16, Resulting Numbers: [97, 64, 16] Generated Node #0,3: 56:[97, 64, 16] Operation: 82-66=16 Exploring Operation: 97-66=31, Resulting Numbers: [82, 64, 31] Generated Node #0,4: 56:[82, 64, 31] Operation: 97-66=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[64, 66, 15], Operations: ['97-82=15'] Exploring Operation: 64-15=49, Resulting Numbers: [66, 49] Generated Node #0,1,0: 56:[66, 49] Operation: 64-15=49 Exploring Operation: 66-64=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 56:[15, 2] Operation: 66-64=2 Exploring Operation: 64+15=79, Resulting Numbers: [66, 79] Generated Node #0,1,2: 56:[66, 79] Operation: 64+15=79 Exploring Operation: 66+15=81, Resulting Numbers: [64, 81] Generated Node #0,1,3: 56:[64, 81] Operation: 66+15=81 Exploring Operation: 66-15=51, Resulting Numbers: [64, 51] Generated Node #0,1,4: 56:[64, 51] Operation: 66-15=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[15, 2], Operations: ['97-82=15', '66-64=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 56:[64, 51], Operations: ['97-82=15', '66-15=51'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,56 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[66, 49], Operations: ['97-82=15', '64-15=49'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[66, 79], Operations: ['97-82=15', '64+15=79'] Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[64, 81], Operations: ['97-82=15', '66+15=81'] Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,56 unequal: No Solution Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[82, 64, 31], Operations: ['97-66=31'] Exploring Operation: 82-64=18, Resulting Numbers: [31, 18] Generated Node #0,4,0: 56:[31, 18] Operation: 82-64=18 Exploring Operation: 64-31=33, Resulting Numbers: [82, 33] Generated Node #0,4,1: 56:[82, 33] Operation: 64-31=33 Exploring Operation: 82-31=51, Resulting Numbers: [64, 51] Generated Node #0,4,2: 56:[64, 51] Operation: 82-31=51 Exploring Operation: 64+31=95, Resulting Numbers: [82, 95] Generated Node #0,4,3: 56:[82, 95] Operation: 64+31=95 Exploring Operation: 82+31=113, Resulting Numbers: [64, 113] Generated Node #0,4,4: 56:[64, 113] Operation: 82+31=113 Moving to Node #0,4,0 Current State: 56:[31, 18], Operations: ['97-66=31', '82-64=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,56 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[64, 51], Operations: ['97-66=31', '82-31=51'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,56 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,56 unequal: No Solution Moving to Node #0,4,1 Current State: 56:[82, 33], Operations: ['97-66=31', '64-31=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[82, 95], Operations: ['97-66=31', '64+31=95'] Exploring Operation: 82+95=177, Resulting Numbers: [177] 177,56 unequal: No Solution Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 82*95=7790, Resulting Numbers: [7790] 7790,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[64, 113], Operations: ['97-66=31', '82+31=113'] Exploring Operation: 113-64=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 64*113=7232, Resulting Numbers: [7232] 7232,56 unequal: No Solution Exploring Operation: 64+113=177, Resulting Numbers: [177] 177,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[82, 66, 33], Operations: ['97-64=33'] Exploring Operation: 82+33=115, Resulting Numbers: [66, 115] Generated Node #0,2,0: 56:[66, 115] Operation: 82+33=115 Exploring Operation: 66/33=2, Resulting Numbers: [82, 2] Generated Node #0,2,1: 56:[82, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [82, 33] Generated Node #0,2,2: 56:[82, 33] Operation: 66-33=33 Exploring Operation: 82-66=16, Resulting Numbers: [33, 16] Generated Node #0,2,3: 56:[33, 16] Operation: 82-66=16 Exploring Operation: 82-33=49, Resulting Numbers: [66, 49] Generated Node #0,2,4: 56:[66, 49] Operation: 82-33=49 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[33, 16], Operations: ['97-64=33', '82-66=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 56:[66, 49], Operations: ['97-64=33', '82-33=49'] Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,56 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[82, 2], Operations: ['97-64=33', '66/33=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,56 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,56 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[82, 33], Operations: ['97-64=33', '66-33=33'] Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,56 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[66, 115], Operations: ['97-64=33', '82+33=115'] Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,56 unequal: No Solution Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,56 unequal: No Solution Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[97, 64, 16], Operations: ['82-66=16'] Exploring Operation: 64-16=48, Resulting Numbers: [97, 48] Generated Node #0,3,0: 56:[97, 48] Operation: 64-16=48 Exploring Operation: 97+16=113, Resulting Numbers: [64, 113] Generated Node #0,3,1: 56:[64, 113] Operation: 97+16=113 Exploring Operation: 97-16=81, Resulting Numbers: [64, 81] Generated Node #0,3,2: 56:[64, 81] Operation: 97-16=81 Exploring Operation: 64/16=4, Resulting Numbers: [97, 4] Generated Node #0,3,3: 56:[97, 4] Operation: 64/16=4 Exploring Operation: 97-64=33, Resulting Numbers: [16, 33] Generated Node #0,3,4: 56:[16, 33] Operation: 97-64=33 Moving to Node #0,3,4 Current State: 56:[16, 33], Operations: ['82-66=16', '97-64=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,56 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[64, 81], Operations: ['82-66=16', '97-16=81'] Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[97, 4], Operations: ['82-66=16', '64/16=4'] Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,56 unequal: No Solution Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,56 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[97, 48], Operations: ['82-66=16', '64-16=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,56 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[64, 113], Operations: ['82-66=16', '97+16=113'] Exploring Operation: 113-64=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 64*113=7232, Resulting Numbers: [7232] 7232,56 unequal: No Solution Exploring Operation: 64+113=177, Resulting Numbers: [177] 177,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[97, 66, 18], Operations: ['82-64=18'] Exploring Operation: 97+18=115, Resulting Numbers: [66, 115] Generated Node #0,0,0: 56:[66, 115] Operation: 97+18=115 Exploring Operation: 97-18=79, Resulting Numbers: [66, 79] Generated Node #0,0,1: 56:[66, 79] Operation: 97-18=79 Exploring Operation: 66+18=84, Resulting Numbers: [97, 84] Generated Node #0,0,2: 56:[97, 84] Operation: 66+18=84 Exploring Operation: 66-18=48, Resulting Numbers: [97, 48] Generated Node #0,0,3: 56:[97, 48] Operation: 66-18=48 Exploring Operation: 97-66=31, Resulting Numbers: [18, 31] Generated Node #0,0,4: 56:[18, 31] Operation: 97-66=31 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 56:[18, 31], Operations: ['82-64=18', '97-66=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,56 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[66, 79], Operations: ['82-64=18', '97-18=79'] Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,56 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[97, 48], Operations: ['82-64=18', '66-18=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,56 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[66, 115], Operations: ['82-64=18', '97+18=115'] Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,56 unequal: No Solution Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[97, 84], Operations: ['82-64=18', '66+18=84'] Exploring Operation: 97*84=8148, Resulting Numbers: [8148] 8148,56 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 97+84=181, Resulting Numbers: [181] 181,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 46, 54, 17, 3 ]
75
[ "54-46=8", "17+8=25", "3*25=75" ]
Current State: 75:[46, 54, 17, 3], Operations: [] Exploring Operation: 54-46=8, Resulting Numbers: [17, 3, 8] Generated Node #2: [17, 3, 8] from Operation: 54-46=8 Current State: 75:[17, 3, 8], Operations: ['54-46=8'] Exploring Operation: 17+8=25, Resulting Numbers: [3, 25] Generated Node #3: [3, 25] from Operation: 17+8=25 Current State: 75:[3, 25], Operations: ['54-46=8', '17+8=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[46, 54, 17, 3], Operations: [] Exploring Operation: 46-17=29, Resulting Numbers: [54, 3, 29] Generated Node #0,0: 75:[54, 3, 29] Operation: 46-17=29 Exploring Operation: 54-46=8, Resulting Numbers: [17, 3, 8] Generated Node #0,1: 75:[17, 3, 8] Operation: 54-46=8 Exploring Operation: 46+54=100, Resulting Numbers: [17, 3, 100] Generated Node #0,2: 75:[17, 3, 100] Operation: 46+54=100 Exploring Operation: 54+17=71, Resulting Numbers: [46, 3, 71] Generated Node #0,3: 75:[46, 3, 71] Operation: 54+17=71 Exploring Operation: 54/3=18, Resulting Numbers: [46, 17, 18] Generated Node #0,4: 75:[46, 17, 18] Operation: 54/3=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[17, 3, 8], Operations: ['54-46=8'] Exploring Operation: 17-8=9, Resulting Numbers: [3, 9] Generated Node #0,1,0: 75:[3, 9] Operation: 17-8=9 Exploring Operation: 8-3=5, Resulting Numbers: [17, 5] Generated Node #0,1,1: 75:[17, 5] Operation: 8-3=5 Exploring Operation: 17-3=14, Resulting Numbers: [8, 14] Generated Node #0,1,2: 75:[8, 14] Operation: 17-3=14 Exploring Operation: 3*8=24, Resulting Numbers: [17, 24] Generated Node #0,1,3: 75:[17, 24] Operation: 3*8=24 Exploring Operation: 17+8=25, Resulting Numbers: [3, 25] Generated Node #0,1,4: 75:[3, 25] Operation: 17+8=25 Moving to Node #0,1,4 Current State: 75:[3, 25], Operations: ['54-46=8', '17+8=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[46, 54, 17, 3], Operations: [] Exploring Operation: 54-46=8, Resulting Numbers: [17, 3, 8] Generated Node #0,1: 75:[17, 3, 8] Operation: 54-46=8 Moving to Node #0,1 Current State: 75:[17, 3, 8], Operations: ['54-46=8'] Exploring Operation: 17+8=25, Resulting Numbers: [3, 25] Generated Node #0,1,4: 75:[3, 25] Operation: 17+8=25 Moving to Node #0,1,4 Current State: 75:[3, 25], Operations: ['54-46=8', '17+8=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 30, 28, 29, 65 ]
96
[ "30-28=2", "29+65=94", "2+94=96" ]
Current State: 96:[30, 28, 29, 65], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [29, 65, 2] Generated Node #2: [29, 65, 2] from Operation: 30-28=2 Current State: 96:[29, 65, 2], Operations: ['30-28=2'] Exploring Operation: 29+65=94, Resulting Numbers: [2, 94] Generated Node #3: [2, 94] from Operation: 29+65=94 Current State: 96:[2, 94], Operations: ['30-28=2', '29+65=94'] Exploring Operation: 2+94=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[30, 28, 29, 65], Operations: [] Exploring Operation: 28+65=93, Resulting Numbers: [30, 29, 93] Generated Node #0,0: 96:[30, 29, 93] Operation: 28+65=93 Exploring Operation: 65-30=35, Resulting Numbers: [28, 29, 35] Generated Node #0,1: 96:[28, 29, 35] Operation: 65-30=35 Exploring Operation: 65-28=37, Resulting Numbers: [30, 29, 37] Generated Node #0,2: 96:[30, 29, 37] Operation: 65-28=37 Exploring Operation: 29+65=94, Resulting Numbers: [30, 28, 94] Generated Node #0,3: 96:[30, 28, 94] Operation: 29+65=94 Exploring Operation: 30+65=95, Resulting Numbers: [28, 29, 95] Generated Node #0,4: 96:[28, 29, 95] Operation: 30+65=95 Moving to Node #0,0 Current State: 96:[30, 29, 93], Operations: ['28+65=93'] Exploring Operation: 93-29=64, Resulting Numbers: [30, 64] Generated Node #0,0,0: 96:[30, 64] Operation: 93-29=64 Exploring Operation: 30-29=1, Resulting Numbers: [93, 1] Generated Node #0,0,1: 96:[93, 1] Operation: 30-29=1 Exploring Operation: 30+29=59, Resulting Numbers: [93, 59] Generated Node #0,0,2: 96:[93, 59] Operation: 30+29=59 Exploring Operation: 29+93=122, Resulting Numbers: [30, 122] Generated Node #0,0,3: 96:[30, 122] Operation: 29+93=122 Exploring Operation: 93-30=63, Resulting Numbers: [29, 63] Generated Node #0,0,4: 96:[29, 63] Operation: 93-30=63 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[93, 1], Operations: ['28+65=93', '30-29=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[93, 59], Operations: ['28+65=93', '30+29=59'] Exploring Operation: 93+59=152, Resulting Numbers: [152] 152,96 unequal: No Solution Exploring Operation: 93*59=5487, Resulting Numbers: [5487] 5487,96 unequal: No Solution Exploring Operation: 93-59=34, Resulting Numbers: [34] 34,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[30, 64], Operations: ['28+65=93', '93-29=64'] Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,96 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 96:[29, 63], Operations: ['28+65=93', '93-30=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,96 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[30, 122], Operations: ['28+65=93', '29+93=122'] Exploring Operation: 30+122=152, Resulting Numbers: [152] 152,96 unequal: No Solution Exploring Operation: 122-30=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 30*122=3660, Resulting Numbers: [3660] 3660,96 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: 96:[28, 29, 95], Operations: ['30+65=95'] Exploring Operation: 28+29=57, Resulting Numbers: [95, 57] Generated Node #0,4,0: 96:[95, 57] Operation: 28+29=57 Exploring Operation: 95-29=66, Resulting Numbers: [28, 66] Generated Node #0,4,1: 96:[28, 66] Operation: 95-29=66 Exploring Operation: 95-28=67, Resulting Numbers: [29, 67] Generated Node #0,4,2: 96:[29, 67] Operation: 95-28=67 Exploring Operation: 29-28=1, Resulting Numbers: [95, 1] Generated Node #0,4,3: 96:[95, 1] Operation: 29-28=1 Exploring Operation: 28+95=123, Resulting Numbers: [29, 123] Generated Node #0,4,4: 96:[29, 123] Operation: 28+95=123 Moving to Node #0,3 Current State: 96:[30, 28, 94], Operations: ['29+65=94'] Exploring Operation: 28+94=122, Resulting Numbers: [30, 122] Generated Node #0,3,0: 96:[30, 122] Operation: 28+94=122 Exploring Operation: 94-30=64, Resulting Numbers: [28, 64] Generated Node #0,3,1: 96:[28, 64] Operation: 94-30=64 Exploring Operation: 30+28=58, Resulting Numbers: [94, 58] Generated Node #0,3,2: 96:[94, 58] Operation: 30+28=58 Exploring Operation: 30-28=2, Resulting Numbers: [94, 2] Generated Node #0,3,3: 96:[94, 2] Operation: 30-28=2 Exploring Operation: 94-28=66, Resulting Numbers: [30, 66] Generated Node #0,3,4: 96:[30, 66] Operation: 94-28=66 Moving to Node #0,1 Current State: 96:[28, 29, 35], Operations: ['65-30=35'] Exploring Operation: 35-28=7, Resulting Numbers: [29, 7] Generated Node #0,1,0: 96:[29, 7] Operation: 35-28=7 Exploring Operation: 28+29=57, Resulting Numbers: [35, 57] Generated Node #0,1,1: 96:[35, 57] Operation: 28+29=57 Exploring Operation: 28+35=63, Resulting Numbers: [29, 63] Generated Node #0,1,2: 96:[29, 63] Operation: 28+35=63 Exploring Operation: 35-29=6, Resulting Numbers: [28, 6] Generated Node #0,1,3: 96:[28, 6] Operation: 35-29=6 Exploring Operation: 29-28=1, Resulting Numbers: [35, 1] Generated Node #0,1,4: 96:[35, 1] Operation: 29-28=1 Moving to Node #0,2 Current State: 96:[30, 29, 37], Operations: ['65-28=37'] Exploring Operation: 30+29=59, Resulting Numbers: [37, 59] Generated Node #0,2,0: 96:[37, 59] Operation: 30+29=59 Exploring Operation: 29+37=66, Resulting Numbers: [30, 66] Generated Node #0,2,1: 96:[30, 66] Operation: 29+37=66 Exploring Operation: 37-30=7, Resulting Numbers: [29, 7] Generated Node #0,2,2: 96:[29, 7] Operation: 37-30=7 Exploring Operation: 37-29=8, Resulting Numbers: [30, 8] Generated Node #0,2,3: 96:[30, 8] Operation: 37-29=8 Exploring Operation: 30-29=1, Resulting Numbers: [37, 1] Generated Node #0,2,4: 96:[37, 1] Operation: 30-29=1 Moving to Node #0,4,3 Current State: 96:[95, 1], Operations: ['30+65=95', '29-28=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,96 unequal: No Solution Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[30, 28, 29, 65], Operations: [] Exploring Operation: 30+65=95, Resulting Numbers: [28, 29, 95] Generated Node #0,4: 96:[28, 29, 95] Operation: 30+65=95 Moving to Node #0,4 Current State: 96:[28, 29, 95], Operations: ['30+65=95'] Exploring Operation: 29-28=1, Resulting Numbers: [95, 1] Generated Node #0,4,3: 96:[95, 1] Operation: 29-28=1 Moving to Node #0,4,3 Current State: 96:[95, 1], Operations: ['30+65=95', '29-28=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 32, 58, 64, 34 ]
63
[ "32*58=1856", "1856/64=29", "34+29=63" ]
Current State: 63:[32, 58, 64, 34], Operations: [] Exploring Operation: 32*58=1856, Resulting Numbers: [64, 34, 1856] Generated Node #2: [64, 34, 1856] from Operation: 32*58=1856 Current State: 63:[64, 34, 1856], Operations: ['32*58=1856'] Exploring Operation: 1856/64=29, Resulting Numbers: [34, 29] Generated Node #3: [34, 29] from Operation: 1856/64=29 Current State: 63:[34, 29], Operations: ['32*58=1856', '1856/64=29'] Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[32, 58, 64, 34], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [58, 64, 2] Generated Node #0,0: 63:[58, 64, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[58, 64, 2], Operations: ['34-32=2'] Exploring Operation: 64-58=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 63:[2, 6] Operation: 64-58=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[2, 6], Operations: ['34-32=2', '64-58=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 34, 71, 15, 65 ]
60
[ "71+65=136", "136/34=4", "15*4=60" ]
Current State: 60:[34, 71, 15, 65], Operations: [] Exploring Operation: 71+65=136, Resulting Numbers: [34, 15, 136] Generated Node #2: [34, 15, 136] from Operation: 71+65=136 Current State: 60:[34, 15, 136], Operations: ['71+65=136'] Exploring Operation: 136/34=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 136/34=4 Current State: 60:[15, 4], Operations: ['71+65=136', '136/34=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[34, 71, 15, 65], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [34, 15, 6] Generated Node #0,0: 60:[34, 15, 6] Operation: 71-65=6 Exploring Operation: 71-34=37, Resulting Numbers: [15, 65, 37] Generated Node #0,1: 60:[15, 65, 37] Operation: 71-34=37 Moving to Node #0,0 Current State: 60:[34, 15, 6], Operations: ['71-65=6'] Exploring Operation: 34-15=19, Resulting Numbers: [6, 19] Generated Node #0,0,0: 60:[6, 19] Operation: 34-15=19 Exploring Operation: 34-6=28, Resulting Numbers: [15, 28] Generated Node #0,0,1: 60:[15, 28] Operation: 34-6=28 Moving to Node #0,1 Current State: 60:[15, 65, 37], Operations: ['71-34=37'] Exploring Operation: 37-15=22, Resulting Numbers: [65, 22] Generated Node #0,1,0: 60:[65, 22] Operation: 37-15=22 Exploring Operation: 65-37=28, Resulting Numbers: [15, 28] Generated Node #0,1,1: 60:[15, 28] Operation: 65-37=28 Moving to Node #0,0,0 Current State: 60:[6, 19], Operations: ['71-65=6', '34-15=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[15, 28], Operations: ['71-34=37', '65-37=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[15, 28], Operations: ['71-65=6', '34-6=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[65, 22], Operations: ['71-34=37', '37-15=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,60 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 39, 9, 63, 2 ]
57
[ "63-39=24", "2*24=48", "9+48=57" ]
Current State: 57:[39, 9, 63, 2], Operations: [] Exploring Operation: 63-39=24, Resulting Numbers: [9, 2, 24] Generated Node #2: [9, 2, 24] from Operation: 63-39=24 Current State: 57:[9, 2, 24], Operations: ['63-39=24'] Exploring Operation: 2*24=48, Resulting Numbers: [9, 48] Generated Node #3: [9, 48] from Operation: 2*24=48 Current State: 57:[9, 48], Operations: ['63-39=24', '2*24=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[39, 9, 63, 2], Operations: [] Exploring Operation: 39+9=48, Resulting Numbers: [63, 2, 48] Generated Node #0,0: 57:[63, 2, 48] Operation: 39+9=48 Exploring Operation: 63-39=24, Resulting Numbers: [9, 2, 24] Generated Node #0,1: 57:[9, 2, 24] Operation: 63-39=24 Exploring Operation: 39-9=30, Resulting Numbers: [63, 2, 30] Generated Node #0,2: 57:[63, 2, 30] Operation: 39-9=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[9, 2, 24], Operations: ['63-39=24'] Exploring Operation: 24-9=15, Resulting Numbers: [2, 15] Generated Node #0,1,0: 57:[2, 15] Operation: 24-9=15 Exploring Operation: 9-2=7, Resulting Numbers: [24, 7] Generated Node #0,1,1: 57:[24, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [24, 18] Generated Node #0,1,2: 57:[24, 18] Operation: 9*2=18 Moving to Node #0,1,0 Current State: 57:[2, 15], Operations: ['63-39=24', '24-9=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,57 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[24, 18], Operations: ['63-39=24', '9*2=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,57 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[24, 7], Operations: ['63-39=24', '9-2=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[63, 2, 48], Operations: ['39+9=48'] Exploring Operation: 48/2=24, Resulting Numbers: [63, 24] Generated Node #0,0,0: 57:[63, 24] Operation: 48/2=24 Exploring Operation: 63-48=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 57:[2, 15] Operation: 63-48=15 Exploring Operation: 63-2=61, Resulting Numbers: [48, 61] Generated Node #0,0,2: 57:[48, 61] Operation: 63-2=61 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[2, 15], Operations: ['39+9=48', '63-48=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,57 unequal: No Solution No 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: 57:[63, 24], Operations: ['39+9=48', '48/2=24'] Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,57 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,57 unequal: No Solution No 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: 57:[48, 61], Operations: ['39+9=48', '63-2=61'] Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,57 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,57 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,57 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: 57:[63, 2, 30], Operations: ['39-9=30'] Exploring Operation: 63-2=61, Resulting Numbers: [30, 61] Generated Node #0,2,0: 57:[30, 61] Operation: 63-2=61 Exploring Operation: 2*30=60, Resulting Numbers: [63, 60] Generated Node #0,2,1: 57:[63, 60] Operation: 2*30=60 Exploring Operation: 30/2=15, Resulting Numbers: [63, 15] Generated Node #0,2,2: 57:[63, 15] Operation: 30/2=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[63, 60], Operations: ['39-9=30', '2*30=60'] Exploring Operation: 63*60=3780, Resulting Numbers: [3780] 3780,57 unequal: No Solution Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,57 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,57 unequal: No Solution No 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: 57:[63, 15], Operations: ['39-9=30', '30/2=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,57 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,57 unequal: No Solution No 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: 57:[30, 61], Operations: ['39-9=30', '63-2=61'] Exploring Operation: 30*61=1830, Resulting Numbers: [1830] 1830,57 unequal: No Solution Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 82, 44, 22, 89 ]
15
[ "82+44=126", "22+89=111", "126-111=15" ]
Current State: 15:[82, 44, 22, 89], Operations: [] Exploring Operation: 82+44=126, Resulting Numbers: [22, 89, 126] Generated Node #2: [22, 89, 126] from Operation: 82+44=126 Current State: 15:[22, 89, 126], Operations: ['82+44=126'] Exploring Operation: 22+89=111, Resulting Numbers: [126, 111] Generated Node #3: [126, 111] from Operation: 22+89=111 Current State: 15:[126, 111], Operations: ['82+44=126', '22+89=111'] Exploring Operation: 126-111=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[82, 44, 22, 89], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [44, 22, 7] Generated Node #0,0: 15:[44, 22, 7] Operation: 89-82=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[44, 22, 7], Operations: ['89-82=7'] Exploring Operation: 44/22=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 15:[7, 2] Operation: 44/22=2 Moving to Node #0,0,0 Current State: 15:[7, 2], Operations: ['89-82=7', '44/22=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 15, 30, 91, 60 ]
93
[ "60-30=30", "30/15=2", "91+2=93" ]
Current State: 93:[15, 30, 91, 60], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [15, 91, 30] Generated Node #2: [15, 91, 30] from Operation: 60-30=30 Current State: 93:[15, 91, 30], Operations: ['60-30=30'] Exploring Operation: 30/15=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 30/15=2 Current State: 93:[91, 2], Operations: ['60-30=30', '30/15=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[15, 30, 91, 60], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [15, 30, 31] Generated Node #0,0: 93:[15, 30, 31] Operation: 91-60=31 Exploring Operation: 60-30=30, Resulting Numbers: [15, 91, 30] Generated Node #0,1: 93:[15, 91, 30] Operation: 60-30=30 Exploring Operation: 60/15=4, Resulting Numbers: [30, 91, 4] Generated Node #0,2: 93:[30, 91, 4] Operation: 60/15=4 Moving to Node #0,2 Current State: 93:[30, 91, 4], Operations: ['60/15=4'] Exploring Operation: 30-4=26, Resulting Numbers: [91, 26] Generated Node #0,2,0: 93:[91, 26] Operation: 30-4=26 Exploring Operation: 91+4=95, Resulting Numbers: [30, 95] Generated Node #0,2,1: 93:[30, 95] Operation: 91+4=95 Exploring Operation: 30+4=34, Resulting Numbers: [91, 34] Generated Node #0,2,2: 93:[91, 34] Operation: 30+4=34 Moving to Node #0,0 Current State: 93:[15, 30, 31], Operations: ['91-60=31'] Exploring Operation: 30/15=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 93:[31, 2] Operation: 30/15=2 Exploring Operation: 15+30=45, Resulting Numbers: [31, 45] Generated Node #0,0,1: 93:[31, 45] Operation: 15+30=45 Exploring Operation: 30-15=15, Resulting Numbers: [31, 15] Generated Node #0,0,2: 93:[31, 15] Operation: 30-15=15 Moving to Node #0,1 Current State: 93:[15, 91, 30], Operations: ['60-30=30'] Exploring Operation: 15+91=106, Resulting Numbers: [30, 106] Generated Node #0,1,0: 93:[30, 106] Operation: 15+91=106 Exploring Operation: 30-15=15, Resulting Numbers: [91, 15] Generated Node #0,1,1: 93:[91, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [91, 2] Generated Node #0,1,2: 93:[91, 2] Operation: 30/15=2 Moving to Node #0,0,0 Current State: 93:[31, 2], Operations: ['91-60=31', '30/15=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[91, 2], Operations: ['60-30=30', '30/15=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[15, 30, 91, 60], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [15, 91, 30] Generated Node #0,1: 93:[15, 91, 30] Operation: 60-30=30 Moving to Node #0,1 Current State: 93:[15, 91, 30], Operations: ['60-30=30'] Exploring Operation: 30/15=2, Resulting Numbers: [91, 2] Generated Node #0,1,2: 93:[91, 2] Operation: 30/15=2 Moving to Node #0,1,2 Current State: 93:[91, 2], Operations: ['60-30=30', '30/15=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 9, 13, 23, 3 ]
12
[ "9/3=3", "13+23=36", "36/3=12" ]
Current State: 12:[9, 13, 23, 3], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [13, 23, 3] Generated Node #2: [13, 23, 3] from Operation: 9/3=3 Current State: 12:[13, 23, 3], Operations: ['9/3=3'] Exploring Operation: 13+23=36, Resulting Numbers: [3, 36] Generated Node #3: [3, 36] from Operation: 13+23=36 Current State: 12:[3, 36], Operations: ['9/3=3', '13+23=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[9, 13, 23, 3], Operations: [] Exploring Operation: 13-9=4, Resulting Numbers: [23, 3, 4] Generated Node #0,0: 12:[23, 3, 4] Operation: 13-9=4 Exploring Operation: 23-9=14, Resulting Numbers: [13, 3, 14] Generated Node #0,1: 12:[13, 3, 14] Operation: 23-9=14 Exploring Operation: 9+3=12, Resulting Numbers: [13, 23, 12] Generated Node #0,2: 12:[13, 23, 12] Operation: 9+3=12 Exploring Operation: 23-13=10, Resulting Numbers: [9, 3, 10] Generated Node #0,3: 12:[9, 3, 10] Operation: 23-13=10 Moving to Node #0,1 Current State: 12:[13, 3, 14], Operations: ['23-9=14'] Exploring Operation: 14-13=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 12:[3, 1] Operation: 14-13=1 Exploring Operation: 14-3=11, Resulting Numbers: [13, 11] Generated Node #0,1,1: 12:[13, 11] Operation: 14-3=11 Exploring Operation: 13+3=16, Resulting Numbers: [14, 16] Generated Node #0,1,2: 12:[14, 16] Operation: 13+3=16 Exploring Operation: 13-3=10, Resulting Numbers: [14, 10] Generated Node #0,1,3: 12:[14, 10] Operation: 13-3=10 Moving to Node #0,3 Current State: 12:[9, 3, 10], Operations: ['23-13=10'] Exploring Operation: 9-3=6, Resulting Numbers: [10, 6] Generated Node #0,3,0: 12:[10, 6] Operation: 9-3=6 Exploring Operation: 10-9=1, Resulting Numbers: [3, 1] Generated Node #0,3,1: 12:[3, 1] Operation: 10-9=1 Exploring Operation: 9/3=3, Resulting Numbers: [10, 3] Generated Node #0,3,2: 12:[10, 3] Operation: 9/3=3 Exploring Operation: 9+3=12, Resulting Numbers: [10, 12] Generated Node #0,3,3: 12:[10, 12] Operation: 9+3=12 Moving to Node #0,0 Current State: 12:[23, 3, 4], Operations: ['13-9=4'] Exploring Operation: 3+4=7, Resulting Numbers: [23, 7] Generated Node #0,0,0: 12:[23, 7] Operation: 3+4=7 Exploring Operation: 3*4=12, Resulting Numbers: [23, 12] Generated Node #0,0,1: 12:[23, 12] Operation: 3*4=12 Exploring Operation: 23-4=19, Resulting Numbers: [3, 19] Generated Node #0,0,2: 12:[3, 19] Operation: 23-4=19 Exploring Operation: 23-3=20, Resulting Numbers: [4, 20] Generated Node #0,0,3: 12:[4, 20] Operation: 23-3=20 Moving to Node #0,2 Current State: 12:[13, 23, 12], Operations: ['9+3=12'] Exploring Operation: 13+23=36, Resulting Numbers: [12, 36] Generated Node #0,2,0: 12:[12, 36] Operation: 13+23=36 Exploring Operation: 23-12=11, Resulting Numbers: [13, 11] Generated Node #0,2,1: 12:[13, 11] Operation: 23-12=11 Exploring Operation: 13-12=1, Resulting Numbers: [23, 1] Generated Node #0,2,2: 12:[23, 1] Operation: 13-12=1 Exploring Operation: 23-13=10, Resulting Numbers: [12, 10] Generated Node #0,2,3: 12:[12, 10] Operation: 23-13=10 Moving to Node #0,1,0 Current State: 12:[3, 1], Operations: ['23-9=14', '14-13=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[3, 1], Operations: ['23-13=10', '10-9=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[10, 6], Operations: ['23-13=10', '9-3=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,12 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[10, 3], Operations: ['23-13=10', '9/3=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[12, 10], Operations: ['9+3=12', '23-13=10'] Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,12 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[13, 11], Operations: ['9+3=12', '23-12=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[13, 11], Operations: ['23-9=14', '14-3=11'] Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,12 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[10, 12], Operations: ['23-13=10', '9+3=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[14, 10], Operations: ['23-9=14', '13-3=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,12 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[14, 16], Operations: ['23-9=14', '13+3=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,12 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[3, 19], Operations: ['13-9=4', '23-4=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[4, 20], Operations: ['13-9=4', '23-3=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,12 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[23, 12], Operations: ['13-9=4', '3*4=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[23, 1], Operations: ['9+3=12', '13-12=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[23, 7], Operations: ['13-9=4', '3+4=7'] Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,12 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[12, 36], Operations: ['9+3=12', '13+23=36'] Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,12 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 25, 41, 61, 18 ]
95
[ "41-25=16", "61+18=79", "16+79=95" ]
Current State: 95:[25, 41, 61, 18], Operations: [] Exploring Operation: 41-25=16, Resulting Numbers: [61, 18, 16] Generated Node #2: [61, 18, 16] from Operation: 41-25=16 Current State: 95:[61, 18, 16], Operations: ['41-25=16'] Exploring Operation: 61+18=79, Resulting Numbers: [16, 79] Generated Node #3: [16, 79] from Operation: 61+18=79 Current State: 95:[16, 79], Operations: ['41-25=16', '61+18=79'] Exploring Operation: 16+79=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[25, 41, 61, 18], Operations: [] Exploring Operation: 41+61=102, Resulting Numbers: [25, 18, 102] Generated Node #0,0: 95:[25, 18, 102] Operation: 41+61=102 Exploring Operation: 25+61=86, Resulting Numbers: [41, 18, 86] Generated Node #0,1: 95:[41, 18, 86] Operation: 25+61=86 Exploring Operation: 61-41=20, Resulting Numbers: [25, 18, 20] Generated Node #0,2: 95:[25, 18, 20] Operation: 61-41=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[25, 18, 20], Operations: ['61-41=20'] Exploring Operation: 25-20=5, Resulting Numbers: [18, 5] Generated Node #0,2,0: 95:[18, 5] Operation: 25-20=5 Exploring Operation: 25-18=7, Resulting Numbers: [20, 7] Generated Node #0,2,1: 95:[20, 7] Operation: 25-18=7 Exploring Operation: 20-18=2, Resulting Numbers: [25, 2] Generated Node #0,2,2: 95:[25, 2] Operation: 20-18=2 Moving to Node #0,2,0 Current State: 95:[18, 5], Operations: ['61-41=20', '25-20=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[20, 7], Operations: ['61-41=20', '25-18=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[25, 2], Operations: ['61-41=20', '20-18=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,95 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[25, 18, 102], Operations: ['41+61=102'] Exploring Operation: 25-18=7, Resulting Numbers: [102, 7] Generated Node #0,0,0: 95:[102, 7] Operation: 25-18=7 Exploring Operation: 102-25=77, Resulting Numbers: [18, 77] Generated Node #0,0,1: 95:[18, 77] Operation: 102-25=77 Exploring Operation: 102-18=84, Resulting Numbers: [25, 84] Generated Node #0,0,2: 95:[25, 84] Operation: 102-18=84 Moving to Node #0,0,0 Current State: 95:[102, 7], Operations: ['41+61=102', '25-18=7'] Exploring Operation: 102*7=714, Resulting Numbers: [714] 714,95 unequal: No Solution Exploring Operation: 102+7=109, Resulting Numbers: [109] 109,95 unequal: No Solution Exploring Operation: 102-7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[25, 41, 61, 18], Operations: [] Exploring Operation: 41+61=102, Resulting Numbers: [25, 18, 102] Generated Node #0,0: 95:[25, 18, 102] Operation: 41+61=102 Moving to Node #0,0 Current State: 95:[25, 18, 102], Operations: ['41+61=102'] Exploring Operation: 25-18=7, Resulting Numbers: [102, 7] Generated Node #0,0,0: 95:[102, 7] Operation: 25-18=7 Moving to Node #0,0,0 Current State: 95:[102, 7], Operations: ['41+61=102', '25-18=7'] Exploring Operation: 102-7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 36, 43, 21, 95 ]
92
[ "43-36=7", "21/7=3", "95-3=92" ]
Current State: 92:[36, 43, 21, 95], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [21, 95, 7] Generated Node #2: [21, 95, 7] from Operation: 43-36=7 Current State: 92:[21, 95, 7], Operations: ['43-36=7'] Exploring Operation: 21/7=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 21/7=3 Current State: 92:[95, 3], Operations: ['43-36=7', '21/7=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[36, 43, 21, 95], Operations: [] Exploring Operation: 36-21=15, Resulting Numbers: [43, 95, 15] Generated Node #0,0: 92:[43, 95, 15] Operation: 36-21=15 Exploring Operation: 43-36=7, Resulting Numbers: [21, 95, 7] Generated Node #0,1: 92:[21, 95, 7] Operation: 43-36=7 Moving to Node #0,1 Current State: 92:[21, 95, 7], Operations: ['43-36=7'] Exploring Operation: 95-7=88, Resulting Numbers: [21, 88] Generated Node #0,1,0: 92:[21, 88] Operation: 95-7=88 Exploring Operation: 21/7=3, Resulting Numbers: [95, 3] Generated Node #0,1,1: 92:[95, 3] Operation: 21/7=3 Moving to Node #0,0 Current State: 92:[43, 95, 15], Operations: ['36-21=15'] Exploring Operation: 95-43=52, Resulting Numbers: [15, 52] Generated Node #0,0,0: 92:[15, 52] Operation: 95-43=52 Exploring Operation: 43-15=28, Resulting Numbers: [95, 28] Generated Node #0,0,1: 92:[95, 28] Operation: 43-15=28 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[95, 28], Operations: ['36-21=15', '43-15=28'] Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 95+28=123, Resulting Numbers: [123] 123,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[15, 52], Operations: ['36-21=15', '95-43=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 92:[95, 3], Operations: ['43-36=7', '21/7=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[36, 43, 21, 95], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [21, 95, 7] Generated Node #0,1: 92:[21, 95, 7] Operation: 43-36=7 Moving to Node #0,1 Current State: 92:[21, 95, 7], Operations: ['43-36=7'] Exploring Operation: 21/7=3, Resulting Numbers: [95, 3] Generated Node #0,1,1: 92:[95, 3] Operation: 21/7=3 Moving to Node #0,1,1 Current State: 92:[95, 3], Operations: ['43-36=7', '21/7=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 73, 44, 3, 76 ]
35
[ "73-44=29", "76+29=105", "105/3=35" ]
Current State: 35:[73, 44, 3, 76], Operations: [] Exploring Operation: 73-44=29, Resulting Numbers: [3, 76, 29] Generated Node #2: [3, 76, 29] from Operation: 73-44=29 Current State: 35:[3, 76, 29], Operations: ['73-44=29'] Exploring Operation: 76+29=105, Resulting Numbers: [3, 105] Generated Node #3: [3, 105] from Operation: 76+29=105 Current State: 35:[3, 105], Operations: ['73-44=29', '76+29=105'] Exploring Operation: 105/3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[73, 44, 3, 76], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [44, 3, 3] Generated Node #0,0: 35:[44, 3, 3] Operation: 76-73=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[44, 3, 3], Operations: ['76-73=3'] Exploring Operation: 44-3=41, Resulting Numbers: [3, 41] Generated Node #0,0,0: 35:[3, 41] Operation: 44-3=41 Moving to Node #0,0,0 Current State: 35:[3, 41], Operations: ['76-73=3', '44-3=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,35 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
[ 92, 64, 81, 56 ]
72
[ "92*64=5888", "5888-56=5832", "5832/81=72" ]
Current State: 72:[92, 64, 81, 56], Operations: [] Exploring Operation: 92*64=5888, Resulting Numbers: [81, 56, 5888] Generated Node #2: [81, 56, 5888] from Operation: 92*64=5888 Current State: 72:[81, 56, 5888], Operations: ['92*64=5888'] Exploring Operation: 5888-56=5832, Resulting Numbers: [81, 5832] Generated Node #3: [81, 5832] from Operation: 5888-56=5832 Current State: 72:[81, 5832], Operations: ['92*64=5888', '5888-56=5832'] Exploring Operation: 5832/81=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[92, 64, 81, 56], Operations: [] Exploring Operation: 92-64=28, Resulting Numbers: [81, 56, 28] Generated Node #0,0: 72:[81, 56, 28] Operation: 92-64=28 Exploring Operation: 92-56=36, Resulting Numbers: [64, 81, 36] Generated Node #0,1: 72:[64, 81, 36] Operation: 92-56=36 Exploring Operation: 64-56=8, Resulting Numbers: [92, 81, 8] Generated Node #0,2: 72:[92, 81, 8] Operation: 64-56=8 Exploring Operation: 92-81=11, Resulting Numbers: [64, 56, 11] Generated Node #0,3: 72:[64, 56, 11] Operation: 92-81=11 Moving to Node #0,1 Current State: 72:[64, 81, 36], Operations: ['92-56=36'] Exploring Operation: 81-36=45, Resulting Numbers: [64, 45] Generated Node #0,1,0: 72:[64, 45] Operation: 81-36=45 Exploring Operation: 64+36=100, Resulting Numbers: [81, 100] Generated Node #0,1,1: 72:[81, 100] Operation: 64+36=100 Exploring Operation: 81-64=17, Resulting Numbers: [36, 17] Generated Node #0,1,2: 72:[36, 17] Operation: 81-64=17 Exploring Operation: 64-36=28, Resulting Numbers: [81, 28] Generated Node #0,1,3: 72:[81, 28] Operation: 64-36=28 Moving to Node #0,3 Current State: 72:[64, 56, 11], Operations: ['92-81=11'] Exploring Operation: 64+11=75, Resulting Numbers: [56, 75] Generated Node #0,3,0: 72:[56, 75] Operation: 64+11=75 Exploring Operation: 56-11=45, Resulting Numbers: [64, 45] Generated Node #0,3,1: 72:[64, 45] Operation: 56-11=45 Exploring Operation: 64-56=8, Resulting Numbers: [11, 8] Generated Node #0,3,2: 72:[11, 8] Operation: 64-56=8 Exploring Operation: 56+11=67, Resulting Numbers: [64, 67] Generated Node #0,3,3: 72:[64, 67] Operation: 56+11=67 Moving to Node #0,2 Current State: 72:[92, 81, 8], Operations: ['64-56=8'] Exploring Operation: 92-81=11, Resulting Numbers: [8, 11] Generated Node #0,2,0: 72:[8, 11] Operation: 92-81=11 Exploring Operation: 92-8=84, Resulting Numbers: [81, 84] Generated Node #0,2,1: 72:[81, 84] Operation: 92-8=84 Exploring Operation: 81-8=73, Resulting Numbers: [92, 73] Generated Node #0,2,2: 72:[92, 73] Operation: 81-8=73 Exploring Operation: 92+8=100, Resulting Numbers: [81, 100] Generated Node #0,2,3: 72:[81, 100] Operation: 92+8=100 Moving to Node #0,0 Current State: 72:[81, 56, 28], Operations: ['92-64=28'] Exploring Operation: 56-28=28, Resulting Numbers: [81, 28] Generated Node #0,0,0: 72:[81, 28] Operation: 56-28=28 Exploring Operation: 81-56=25, Resulting Numbers: [28, 25] Generated Node #0,0,1: 72:[28, 25] Operation: 81-56=25 Exploring Operation: 56+28=84, Resulting Numbers: [81, 84] Generated Node #0,0,2: 72:[81, 84] Operation: 56+28=84 Exploring Operation: 56/28=2, Resulting Numbers: [81, 2] Generated Node #0,0,3: 72:[81, 2] Operation: 56/28=2 Moving to Node #0,1,2 Current State: 72:[36, 17], Operations: ['92-56=36', '81-64=17'] Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,72 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[11, 8], Operations: ['92-81=11', '64-56=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[8, 11], Operations: ['64-56=8', '92-81=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[28, 25], Operations: ['92-64=28', '81-56=25'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[81, 2], Operations: ['92-64=28', '56/28=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[64, 67], Operations: ['92-81=11', '56+11=67'] Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 64*67=4288, Resulting Numbers: [4288] 4288,72 unequal: No Solution Exploring Operation: 64+67=131, Resulting Numbers: [131] 131,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[81, 28], Operations: ['92-56=36', '64-36=28'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[81, 28], Operations: ['92-64=28', '56-28=28'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[64, 45], Operations: ['92-81=11', '56-11=45'] Exploring Operation: 64+45=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 64*45=2880, Resulting Numbers: [2880] 2880,72 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[64, 45], Operations: ['92-56=36', '81-36=45'] Exploring Operation: 64*45=2880, Resulting Numbers: [2880] 2880,72 unequal: No Solution Exploring Operation: 64+45=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[56, 75], Operations: ['92-81=11', '64+11=75'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 56+75=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 56*75=4200, Resulting Numbers: [4200] 4200,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[92, 73], Operations: ['64-56=8', '81-8=73'] Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,72 unequal: No Solution Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[81, 84], Operations: ['64-56=8', '92-8=84'] Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,72 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,72 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[81, 84], Operations: ['92-64=28', '56+28=84'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,72 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[81, 100], Operations: ['64-56=8', '92+8=100'] Exploring Operation: 81+100=181, Resulting Numbers: [181] 181,72 unequal: No Solution Exploring Operation: 100-81=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 81*100=8100, Resulting Numbers: [8100] 8100,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[81, 100], Operations: ['92-56=36', '64+36=100'] Exploring Operation: 81+100=181, Resulting Numbers: [181] 181,72 unequal: No Solution Exploring Operation: 100-81=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 81*100=8100, Resulting Numbers: [8100] 8100,72 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 98, 51, 21, 70 ]
59
[ "98+70=168", "168/21=8", "51+8=59" ]
Current State: 59:[98, 51, 21, 70], Operations: [] Exploring Operation: 98+70=168, Resulting Numbers: [51, 21, 168] Generated Node #2: [51, 21, 168] from Operation: 98+70=168 Current State: 59:[51, 21, 168], Operations: ['98+70=168'] Exploring Operation: 168/21=8, Resulting Numbers: [51, 8] Generated Node #3: [51, 8] from Operation: 168/21=8 Current State: 59:[51, 8], Operations: ['98+70=168', '168/21=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[98, 51, 21, 70], Operations: [] Exploring Operation: 70-21=49, Resulting Numbers: [98, 51, 49] Generated Node #0,0: 59:[98, 51, 49] Operation: 70-21=49 Exploring Operation: 98-51=47, Resulting Numbers: [21, 70, 47] Generated Node #0,1: 59:[21, 70, 47] Operation: 98-51=47 Exploring Operation: 51+21=72, Resulting Numbers: [98, 70, 72] Generated Node #0,2: 59:[98, 70, 72] Operation: 51+21=72 Exploring Operation: 98-21=77, Resulting Numbers: [51, 70, 77] Generated Node #0,3: 59:[51, 70, 77] Operation: 98-21=77 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[51, 70, 77], Operations: ['98-21=77'] Exploring Operation: 70-51=19, Resulting Numbers: [77, 19] Generated Node #0,3,0: 59:[77, 19] Operation: 70-51=19 Exploring Operation: 77-51=26, Resulting Numbers: [70, 26] Generated Node #0,3,1: 59:[70, 26] Operation: 77-51=26 Exploring Operation: 51+70=121, Resulting Numbers: [77, 121] Generated Node #0,3,2: 59:[77, 121] Operation: 51+70=121 Exploring Operation: 77-70=7, Resulting Numbers: [51, 7] Generated Node #0,3,3: 59:[51, 7] Operation: 77-70=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[70, 26], Operations: ['98-21=77', '77-51=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[77, 19], Operations: ['98-21=77', '70-51=19'] Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,59 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[51, 7], Operations: ['98-21=77', '77-70=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[77, 121], Operations: ['98-21=77', '51+70=121'] Exploring Operation: 77+121=198, Resulting Numbers: [198] 198,59 unequal: No Solution Exploring Operation: 77*121=9317, Resulting Numbers: [9317] 9317,59 unequal: No Solution Exploring Operation: 121-77=44, Resulting Numbers: [44] 44,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[98, 51, 49], Operations: ['70-21=49'] Exploring Operation: 98-51=47, Resulting Numbers: [49, 47] Generated Node #0,0,0: 59:[49, 47] Operation: 98-51=47 Exploring Operation: 98/49=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 59:[51, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [51, 49] Generated Node #0,0,2: 59:[51, 49] Operation: 98-49=49 Exploring Operation: 51+49=100, Resulting Numbers: [98, 100] Generated Node #0,0,3: 59:[98, 100] Operation: 51+49=100 Moving to Node #0,0,2 Current State: 59:[51, 49], Operations: ['70-21=49', '98-49=49'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,59 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[49, 47], Operations: ['70-21=49', '98-51=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,59 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[51, 2], Operations: ['70-21=49', '98/49=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[98, 100], Operations: ['70-21=49', '51+49=100'] Exploring Operation: 100-98=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 98+100=198, Resulting Numbers: [198] 198,59 unequal: No Solution Exploring Operation: 98*100=9800, Resulting Numbers: [9800] 9800,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[21, 70, 47], Operations: ['98-51=47'] Exploring Operation: 70-21=49, Resulting Numbers: [47, 49] Generated Node #0,1,0: 59:[47, 49] Operation: 70-21=49 Exploring Operation: 21+47=68, Resulting Numbers: [70, 68] Generated Node #0,1,1: 59:[70, 68] Operation: 21+47=68 Exploring Operation: 21+70=91, Resulting Numbers: [47, 91] Generated Node #0,1,2: 59:[47, 91] Operation: 21+70=91 Exploring Operation: 47-21=26, Resulting Numbers: [70, 26] Generated Node #0,1,3: 59:[70, 26] Operation: 47-21=26 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[70, 68], Operations: ['98-51=47', '21+47=68'] Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 70+68=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 70*68=4760, Resulting Numbers: [4760] 4760,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[47, 49], Operations: ['98-51=47', '70-21=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[47, 91], Operations: ['98-51=47', '21+70=91'] Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 47+91=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 47*91=4277, Resulting Numbers: [4277] 4277,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[70, 26], Operations: ['98-51=47', '47-21=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,59 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[98, 70, 72], Operations: ['51+21=72'] Exploring Operation: 72-70=2, Resulting Numbers: [98, 2] Generated Node #0,2,0: 59:[98, 2] Operation: 72-70=2 Exploring Operation: 98-70=28, Resulting Numbers: [72, 28] Generated Node #0,2,1: 59:[72, 28] Operation: 98-70=28 Exploring Operation: 98-72=26, Resulting Numbers: [70, 26] Generated Node #0,2,2: 59:[70, 26] Operation: 98-72=26 Exploring Operation: 98+70=168, Resulting Numbers: [72, 168] Generated Node #0,2,3: 59:[72, 168] Operation: 98+70=168 Moving to Node #0,2,1 Current State: 59:[72, 28], Operations: ['51+21=72', '98-70=28'] Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,59 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[70, 26], Operations: ['51+21=72', '98-72=26'] Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[98, 2], Operations: ['51+21=72', '72-70=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,59 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[72, 168], Operations: ['51+21=72', '98+70=168'] Exploring Operation: 168-72=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 72+168=240, Resulting Numbers: [240] 240,59 unequal: No Solution Exploring Operation: 72*168=12096, Resulting Numbers: [12096] 12096,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 4, 1, 6, 10 ]
63
[ "4-1=3", "6*10=60", "3+60=63" ]
Current State: 63:[4, 1, 6, 10], Operations: [] Exploring Operation: 4-1=3, Resulting Numbers: [6, 10, 3] Generated Node #2: [6, 10, 3] from Operation: 4-1=3 Current State: 63:[6, 10, 3], Operations: ['4-1=3'] Exploring Operation: 6*10=60, Resulting Numbers: [3, 60] Generated Node #3: [3, 60] from Operation: 6*10=60 Current State: 63:[3, 60], Operations: ['4-1=3', '6*10=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[4, 1, 6, 10], Operations: [] Exploring Operation: 4-1=3, Resulting Numbers: [6, 10, 3] Generated Node #0,0: 63:[6, 10, 3] Operation: 4-1=3 Exploring Operation: 4*1=4, Resulting Numbers: [6, 10, 4] Generated Node #0,1: 63:[6, 10, 4] Operation: 4*1=4 Exploring Operation: 1+6=7, Resulting Numbers: [4, 10, 7] Generated Node #0,2: 63:[4, 10, 7] Operation: 1+6=7 Exploring Operation: 10-1=9, Resulting Numbers: [4, 6, 9] Generated Node #0,3: 63:[4, 6, 9] Operation: 10-1=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[6, 10, 3], Operations: ['4-1=3'] Exploring Operation: 6-3=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 63:[10, 3] Operation: 6-3=3 Exploring Operation: 6+3=9, Resulting Numbers: [10, 9] Generated Node #0,0,1: 63:[10, 9] Operation: 6+3=9 Exploring Operation: 10-6=4, Resulting Numbers: [3, 4] Generated Node #0,0,2: 63:[3, 4] Operation: 10-6=4 Exploring Operation: 10-3=7, Resulting Numbers: [6, 7] Generated Node #0,0,3: 63:[6, 7] Operation: 10-3=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[10, 3], Operations: ['4-1=3', '6-3=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[10, 9], Operations: ['4-1=3', '6+3=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[3, 4], Operations: ['4-1=3', '10-6=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 63:[6, 7], Operations: ['4-1=3', '10-3=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[4, 10, 7], Operations: ['1+6=7'] Exploring Operation: 4+7=11, Resulting Numbers: [10, 11] Generated Node #0,2,0: 63:[10, 11] Operation: 4+7=11 Exploring Operation: 10-4=6, Resulting Numbers: [7, 6] Generated Node #0,2,1: 63:[7, 6] Operation: 10-4=6 Exploring Operation: 10-7=3, Resulting Numbers: [4, 3] Generated Node #0,2,2: 63:[4, 3] Operation: 10-7=3 Exploring Operation: 7-4=3, Resulting Numbers: [10, 3] Generated Node #0,2,3: 63:[10, 3] Operation: 7-4=3 Moving to Node #0,2,1 Current State: 63:[7, 6], Operations: ['1+6=7', '10-4=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[10, 3], Operations: ['1+6=7', '7-4=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[4, 3], Operations: ['1+6=7', '10-7=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[10, 11], Operations: ['1+6=7', '4+7=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,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:[4, 6, 9], Operations: ['10-1=9'] Exploring Operation: 4*6=24, Resulting Numbers: [9, 24] Generated Node #0,3,0: 63:[9, 24] Operation: 4*6=24 Exploring Operation: 4+6=10, Resulting Numbers: [9, 10] Generated Node #0,3,1: 63:[9, 10] Operation: 4+6=10 Exploring Operation: 9-6=3, Resulting Numbers: [4, 3] Generated Node #0,3,2: 63:[4, 3] Operation: 9-6=3 Exploring Operation: 6-4=2, Resulting Numbers: [9, 2] Generated Node #0,3,3: 63:[9, 2] Operation: 6-4=2 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 63:[9, 10], Operations: ['10-1=9', '4+6=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 63:[4, 3], Operations: ['10-1=9', '9-6=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 63:[9, 2], Operations: ['10-1=9', '6-4=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 63:[9, 24], Operations: ['10-1=9', '4*6=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,63 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[6, 10, 4], Operations: ['4*1=4'] Exploring Operation: 6-4=2, Resulting Numbers: [10, 2] Generated Node #0,1,0: 63:[10, 2] Operation: 6-4=2 Exploring Operation: 10-6=4, Resulting Numbers: [4, 4] Generated Node #0,1,1: 63:[4, 4] Operation: 10-6=4 Exploring Operation: 6+4=10, Resulting Numbers: [10, 10] Generated Node #0,1,2: 63:[10, 10] Operation: 6+4=10 Exploring Operation: 10-4=6, Resulting Numbers: [6, 6] Generated Node #0,1,3: 63:[6, 6] Operation: 10-4=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[10, 2], Operations: ['4*1=4', '6-4=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[4, 4], Operations: ['4*1=4', '10-6=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[10, 10], Operations: ['4*1=4', '6+4=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[6, 6], Operations: ['4*1=4', '10-4=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 71, 43, 19, 80 ]
86
[ "71+43=114", "114/19=6", "80+6=86" ]
Current State: 86:[71, 43, 19, 80], Operations: [] Exploring Operation: 71+43=114, Resulting Numbers: [19, 80, 114] Generated Node #2: [19, 80, 114] from Operation: 71+43=114 Current State: 86:[19, 80, 114], Operations: ['71+43=114'] Exploring Operation: 114/19=6, Resulting Numbers: [80, 6] Generated Node #3: [80, 6] from Operation: 114/19=6 Current State: 86:[80, 6], Operations: ['71+43=114', '114/19=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[71, 43, 19, 80], Operations: [] Exploring Operation: 80-71=9, Resulting Numbers: [43, 19, 9] Generated Node #0,0: 86:[43, 19, 9] Operation: 80-71=9 Exploring Operation: 19+80=99, Resulting Numbers: [71, 43, 99] Generated Node #0,1: 86:[71, 43, 99] Operation: 19+80=99 Exploring Operation: 80-19=61, Resulting Numbers: [71, 43, 61] Generated Node #0,2: 86:[71, 43, 61] Operation: 80-19=61 Exploring Operation: 71-19=52, Resulting Numbers: [43, 80, 52] Generated Node #0,3: 86:[43, 80, 52] Operation: 71-19=52 Exploring Operation: 71+19=90, Resulting Numbers: [43, 80, 90] Generated Node #0,4: 86:[43, 80, 90] Operation: 71+19=90 Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[43, 80, 90], Operations: ['71+19=90'] Exploring Operation: 80-43=37, Resulting Numbers: [90, 37] Generated Node #0,4,0: 86:[90, 37] Operation: 80-43=37 Exploring Operation: 90-43=47, Resulting Numbers: [80, 47] Generated Node #0,4,1: 86:[80, 47] Operation: 90-43=47 Exploring Operation: 43+80=123, Resulting Numbers: [90, 123] Generated Node #0,4,2: 86:[90, 123] Operation: 43+80=123 Exploring Operation: 43+90=133, Resulting Numbers: [80, 133] Generated Node #0,4,3: 86:[80, 133] Operation: 43+90=133 Exploring Operation: 90-80=10, Resulting Numbers: [43, 10] Generated Node #0,4,4: 86:[43, 10] Operation: 90-80=10 Moving to Node #0,4,4 Current State: 86:[43, 10], Operations: ['71+19=90', '90-80=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,86 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[80, 47], Operations: ['71+19=90', '90-43=47'] Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[90, 37], Operations: ['71+19=90', '80-43=37'] Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,86 unequal: No Solution Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[90, 123], Operations: ['71+19=90', '43+80=123'] Exploring Operation: 90*123=11070, Resulting Numbers: [11070] 11070,86 unequal: No Solution Exploring Operation: 123-90=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 90+123=213, Resulting Numbers: [213] 213,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[80, 133], Operations: ['71+19=90', '43+90=133'] Exploring Operation: 80+133=213, Resulting Numbers: [213] 213,86 unequal: No Solution Exploring Operation: 80*133=10640, Resulting Numbers: [10640] 10640,86 unequal: No Solution Exploring Operation: 133-80=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[43, 80, 52], Operations: ['71-19=52'] Exploring Operation: 80-43=37, Resulting Numbers: [52, 37] Generated Node #0,3,0: 86:[52, 37] Operation: 80-43=37 Exploring Operation: 80-52=28, Resulting Numbers: [43, 28] Generated Node #0,3,1: 86:[43, 28] Operation: 80-52=28 Exploring Operation: 43+80=123, Resulting Numbers: [52, 123] Generated Node #0,3,2: 86:[52, 123] Operation: 43+80=123 Exploring Operation: 43+52=95, Resulting Numbers: [80, 95] Generated Node #0,3,3: 86:[80, 95] Operation: 43+52=95 Exploring Operation: 52-43=9, Resulting Numbers: [80, 9] Generated Node #0,3,4: 86:[80, 9] Operation: 52-43=9 Moving to Node #0,3,4 Current State: 86:[80, 9], Operations: ['71-19=52', '52-43=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,86 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[43, 28], Operations: ['71-19=52', '80-52=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[52, 37], Operations: ['71-19=52', '80-43=37'] Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,86 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[80, 95], Operations: ['71-19=52', '43+52=95'] Exploring Operation: 80+95=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 80*95=7600, Resulting Numbers: [7600] 7600,86 unequal: No Solution Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[52, 123], Operations: ['71-19=52', '43+80=123'] Exploring Operation: 52*123=6396, Resulting Numbers: [6396] 6396,86 unequal: No Solution Exploring Operation: 52+123=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 123-52=71, Resulting Numbers: [71] 71,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[43, 19, 9], Operations: ['80-71=9'] Exploring Operation: 19-9=10, Resulting Numbers: [43, 10] Generated Node #0,0,0: 86:[43, 10] Operation: 19-9=10 Exploring Operation: 19+9=28, Resulting Numbers: [43, 28] Generated Node #0,0,1: 86:[43, 28] Operation: 19+9=28 Exploring Operation: 43+19=62, Resulting Numbers: [9, 62] Generated Node #0,0,2: 86:[9, 62] Operation: 43+19=62 Exploring Operation: 43-19=24, Resulting Numbers: [9, 24] Generated Node #0,0,3: 86:[9, 24] Operation: 43-19=24 Exploring Operation: 43+9=52, Resulting Numbers: [19, 52] Generated Node #0,0,4: 86:[19, 52] Operation: 43+9=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[43, 10], Operations: ['80-71=9', '19-9=10'] Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,86 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[43, 28], Operations: ['80-71=9', '19+9=28'] Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,86 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[9, 62], Operations: ['80-71=9', '43+19=62'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,86 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 86:[9, 24], Operations: ['80-71=9', '43-19=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,86 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 86:[19, 52], Operations: ['80-71=9', '43+9=52'] Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,86 unequal: No Solution Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[71, 43, 99], Operations: ['19+80=99'] Exploring Operation: 71+43=114, Resulting Numbers: [99, 114] Generated Node #0,1,0: 86:[99, 114] Operation: 71+43=114 Exploring Operation: 43+99=142, Resulting Numbers: [71, 142] Generated Node #0,1,1: 86:[71, 142] Operation: 43+99=142 Exploring Operation: 99-71=28, Resulting Numbers: [43, 28] Generated Node #0,1,2: 86:[43, 28] Operation: 99-71=28 Exploring Operation: 99-43=56, Resulting Numbers: [71, 56] Generated Node #0,1,3: 86:[71, 56] Operation: 99-43=56 Exploring Operation: 71-43=28, Resulting Numbers: [99, 28] Generated Node #0,1,4: 86:[99, 28] Operation: 71-43=28 Moving to Node #0,1,2 Current State: 86:[43, 28], Operations: ['19+80=99', '99-71=28'] Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,86 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[99, 28], Operations: ['19+80=99', '71-43=28'] Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,86 unequal: No Solution Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[71, 56], Operations: ['19+80=99', '99-43=56'] Exploring Operation: 71+56=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 71*56=3976, Resulting Numbers: [3976] 3976,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[99, 114], Operations: ['19+80=99', '71+43=114'] Exploring Operation: 114-99=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 99+114=213, Resulting Numbers: [213] 213,86 unequal: No Solution Exploring Operation: 99*114=11286, Resulting Numbers: [11286] 11286,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[71, 142], Operations: ['19+80=99', '43+99=142'] Exploring Operation: 71+142=213, Resulting Numbers: [213] 213,86 unequal: No Solution Exploring Operation: 142-71=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 142/71=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 71*142=10082, Resulting Numbers: [10082] 10082,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[71, 43, 61], Operations: ['80-19=61'] Exploring Operation: 71-43=28, Resulting Numbers: [61, 28] Generated Node #0,2,0: 86:[61, 28] Operation: 71-43=28 Exploring Operation: 71-61=10, Resulting Numbers: [43, 10] Generated Node #0,2,1: 86:[43, 10] Operation: 71-61=10 Exploring Operation: 43+61=104, Resulting Numbers: [71, 104] Generated Node #0,2,2: 86:[71, 104] Operation: 43+61=104 Exploring Operation: 71+43=114, Resulting Numbers: [61, 114] Generated Node #0,2,3: 86:[61, 114] Operation: 71+43=114 Exploring Operation: 61-43=18, Resulting Numbers: [71, 18] Generated Node #0,2,4: 86:[71, 18] Operation: 61-43=18 Moving to Node #0,2,1 Current State: 86:[43, 10], Operations: ['80-19=61', '71-61=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[71, 18], Operations: ['80-19=61', '61-43=18'] Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,86 unequal: No Solution Exploring Operation: 71+18=89, Resulting Numbers: [89] 89,86 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[61, 28], Operations: ['80-19=61', '71-43=28'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,86 unequal: No Solution Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[71, 104], Operations: ['80-19=61', '43+61=104'] Exploring Operation: 71*104=7384, Resulting Numbers: [7384] 7384,86 unequal: No Solution Exploring Operation: 71+104=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 104-71=33, Resulting Numbers: [33] 33,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[61, 114], Operations: ['80-19=61', '71+43=114'] Exploring Operation: 61+114=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 114-61=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 61*114=6954, Resulting Numbers: [6954] 6954,86 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
[ 45, 10, 34, 58 ]
96
[ "58-45=13", "10*13=130", "130-34=96" ]
Current State: 96:[45, 10, 34, 58], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [10, 34, 13] Generated Node #2: [10, 34, 13] from Operation: 58-45=13 Current State: 96:[10, 34, 13], Operations: ['58-45=13'] Exploring Operation: 10*13=130, Resulting Numbers: [34, 130] Generated Node #3: [34, 130] from Operation: 10*13=130 Current State: 96:[34, 130], Operations: ['58-45=13', '10*13=130'] Exploring Operation: 130-34=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[45, 10, 34, 58], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [10, 34, 13] Generated Node #0,0: 96:[10, 34, 13] Operation: 58-45=13 Exploring Operation: 34+58=92, Resulting Numbers: [45, 10, 92] Generated Node #0,1: 96:[45, 10, 92] Operation: 34+58=92 Exploring Operation: 58-10=48, Resulting Numbers: [45, 34, 48] Generated Node #0,2: 96:[45, 34, 48] Operation: 58-10=48 Exploring Operation: 58-34=24, Resulting Numbers: [45, 10, 24] Generated Node #0,3: 96:[45, 10, 24] Operation: 58-34=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[10, 34, 13], Operations: ['58-45=13'] Exploring Operation: 34+13=47, Resulting Numbers: [10, 47] Generated Node #0,0,0: 96:[10, 47] Operation: 34+13=47 Exploring Operation: 13-10=3, Resulting Numbers: [34, 3] Generated Node #0,0,1: 96:[34, 3] Operation: 13-10=3 Exploring Operation: 34-10=24, Resulting Numbers: [13, 24] Generated Node #0,0,2: 96:[13, 24] Operation: 34-10=24 Exploring Operation: 10+13=23, Resulting Numbers: [34, 23] Generated Node #0,0,3: 96:[34, 23] Operation: 10+13=23 Moving to Node #0,0,2 Current State: 96:[13, 24], Operations: ['58-45=13', '34-10=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,96 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[34, 3], Operations: ['58-45=13', '13-10=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,96 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[34, 23], Operations: ['58-45=13', '10+13=23'] Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[10, 47], Operations: ['58-45=13', '34+13=47'] Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[45, 34, 48], Operations: ['58-10=48'] Exploring Operation: 48-34=14, Resulting Numbers: [45, 14] Generated Node #0,2,0: 96:[45, 14] Operation: 48-34=14 Exploring Operation: 45+48=93, Resulting Numbers: [34, 93] Generated Node #0,2,1: 96:[34, 93] Operation: 45+48=93 Exploring Operation: 48-45=3, Resulting Numbers: [34, 3] Generated Node #0,2,2: 96:[34, 3] Operation: 48-45=3 Exploring Operation: 45-34=11, Resulting Numbers: [48, 11] Generated Node #0,2,3: 96:[48, 11] Operation: 45-34=11 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 96:[48, 11], Operations: ['58-10=48', '45-34=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,96 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,96 unequal: No Solution No 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: 96:[34, 3], Operations: ['58-10=48', '48-45=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,96 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,96 unequal: No Solution No 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: 96:[45, 14], Operations: ['58-10=48', '48-34=14'] Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,96 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,96 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,96 unequal: No Solution No 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: 96:[34, 93], Operations: ['58-10=48', '45+48=93'] Exploring Operation: 34+93=127, Resulting Numbers: [127] 127,96 unequal: No Solution Exploring Operation: 34*93=3162, Resulting Numbers: [3162] 3162,96 unequal: No Solution Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,96 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: 96:[45, 10, 24], Operations: ['58-34=24'] Exploring Operation: 10+24=34, Resulting Numbers: [45, 34] Generated Node #0,3,0: 96:[45, 34] Operation: 10+24=34 Exploring Operation: 45-10=35, Resulting Numbers: [24, 35] Generated Node #0,3,1: 96:[24, 35] Operation: 45-10=35 Exploring Operation: 45-24=21, Resulting Numbers: [10, 21] Generated Node #0,3,2: 96:[10, 21] Operation: 45-24=21 Exploring Operation: 24-10=14, Resulting Numbers: [45, 14] Generated Node #0,3,3: 96:[45, 14] Operation: 24-10=14 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[24, 35], Operations: ['58-34=24', '45-10=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,96 unequal: No Solution Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,96 unequal: No Solution No 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: 96:[45, 34], Operations: ['58-34=24', '10+24=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,96 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,96 unequal: No Solution No 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: 96:[10, 21], Operations: ['58-34=24', '45-24=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,96 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,96 unequal: No Solution No 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: 96:[45, 14], Operations: ['58-34=24', '24-10=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,96 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,96 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: 96:[45, 10, 92], Operations: ['34+58=92'] Exploring Operation: 45-10=35, Resulting Numbers: [92, 35] Generated Node #0,1,0: 96:[92, 35] Operation: 45-10=35 Exploring Operation: 92-45=47, Resulting Numbers: [10, 47] Generated Node #0,1,1: 96:[10, 47] Operation: 92-45=47 Exploring Operation: 45+10=55, Resulting Numbers: [92, 55] Generated Node #0,1,2: 96:[92, 55] Operation: 45+10=55 Exploring Operation: 10+92=102, Resulting Numbers: [45, 102] Generated Node #0,1,3: 96:[45, 102] Operation: 10+92=102 Moving to Node #0,1,1 Current State: 96:[10, 47], Operations: ['34+58=92', '92-45=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,96 unequal: No Solution Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[92, 35], Operations: ['34+58=92', '45-10=35'] Exploring Operation: 92*35=3220, Resulting Numbers: [3220] 3220,96 unequal: No Solution Exploring Operation: 92-35=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 92+35=127, Resulting Numbers: [127] 127,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[45, 102], Operations: ['34+58=92', '10+92=102'] Exploring Operation: 45+102=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 45*102=4590, Resulting Numbers: [4590] 4590,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[92, 55], Operations: ['34+58=92', '45+10=55'] Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,96 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
[ 13, 30, 18, 92 ]
31
[ "13+30=43", "92-18=74", "74-43=31" ]
Current State: 31:[13, 30, 18, 92], Operations: [] Exploring Operation: 13+30=43, Resulting Numbers: [18, 92, 43] Generated Node #2: [18, 92, 43] from Operation: 13+30=43 Current State: 31:[18, 92, 43], Operations: ['13+30=43'] Exploring Operation: 92-18=74, Resulting Numbers: [43, 74] Generated Node #3: [43, 74] from Operation: 92-18=74 Current State: 31:[43, 74], Operations: ['13+30=43', '92-18=74'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[13, 30, 18, 92], Operations: [] Exploring Operation: 13+18=31, Resulting Numbers: [30, 92, 31] Generated Node #0,0: 31:[30, 92, 31] Operation: 13+18=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[30, 92, 31], Operations: ['13+18=31'] Exploring Operation: 92-30=62, Resulting Numbers: [31, 62] Generated Node #0,0,0: 31:[31, 62] Operation: 92-30=62 Moving to Node #0,0,0 Current State: 31:[31, 62], Operations: ['13+18=31', '92-30=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[13, 30, 18, 92], Operations: [] Exploring Operation: 13+18=31, Resulting Numbers: [30, 92, 31] Generated Node #0,0: 31:[30, 92, 31] Operation: 13+18=31 Moving to Node #0,0 Current State: 31:[30, 92, 31], Operations: ['13+18=31'] Exploring Operation: 92-30=62, Resulting Numbers: [31, 62] Generated Node #0,0,0: 31:[31, 62] Operation: 92-30=62 Moving to Node #0,0,0 Current State: 31:[31, 62], Operations: ['13+18=31', '92-30=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 31, 19, 57, 12 ]
27
[ "57/19=3", "12/3=4", "31-4=27" ]
Current State: 27:[31, 19, 57, 12], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [31, 12, 3] Generated Node #2: [31, 12, 3] from Operation: 57/19=3 Current State: 27:[31, 12, 3], Operations: ['57/19=3'] Exploring Operation: 12/3=4, Resulting Numbers: [31, 4] Generated Node #3: [31, 4] from Operation: 12/3=4 Current State: 27:[31, 4], Operations: ['57/19=3', '12/3=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[31, 19, 57, 12], Operations: [] Exploring Operation: 31-19=12, Resulting Numbers: [57, 12, 12] Generated Node #0,0: 27:[57, 12, 12] Operation: 31-19=12 Exploring Operation: 57/19=3, Resulting Numbers: [31, 12, 3] Generated Node #0,1: 27:[31, 12, 3] Operation: 57/19=3 Exploring Operation: 57-19=38, Resulting Numbers: [31, 12, 38] Generated Node #0,2: 27:[31, 12, 38] Operation: 57-19=38 Exploring Operation: 57-12=45, Resulting Numbers: [31, 19, 45] Generated Node #0,3: 27:[31, 19, 45] Operation: 57-12=45 Exploring Operation: 57-31=26, Resulting Numbers: [19, 12, 26] Generated Node #0,4: 27:[19, 12, 26] Operation: 57-31=26 Moving to Node #0,1 Current State: 27:[31, 12, 3], Operations: ['57/19=3'] Exploring Operation: 12/3=4, Resulting Numbers: [31, 4] Generated Node #0,1,0: 27:[31, 4] Operation: 12/3=4 Exploring Operation: 31-3=28, Resulting Numbers: [12, 28] Generated Node #0,1,1: 27:[12, 28] Operation: 31-3=28 Exploring Operation: 31+3=34, Resulting Numbers: [12, 34] Generated Node #0,1,2: 27:[12, 34] Operation: 31+3=34 Exploring Operation: 12-3=9, Resulting Numbers: [31, 9] Generated Node #0,1,3: 27:[31, 9] Operation: 12-3=9 Exploring Operation: 31-12=19, Resulting Numbers: [3, 19] Generated Node #0,1,4: 27:[3, 19] Operation: 31-12=19 Moving to Node #0,4 Current State: 27:[19, 12, 26], Operations: ['57-31=26'] Exploring Operation: 19+12=31, Resulting Numbers: [26, 31] Generated Node #0,4,0: 27:[26, 31] Operation: 19+12=31 Exploring Operation: 12+26=38, Resulting Numbers: [19, 38] Generated Node #0,4,1: 27:[19, 38] Operation: 12+26=38 Exploring Operation: 26-12=14, Resulting Numbers: [19, 14] Generated Node #0,4,2: 27:[19, 14] Operation: 26-12=14 Exploring Operation: 19-12=7, Resulting Numbers: [26, 7] Generated Node #0,4,3: 27:[26, 7] Operation: 19-12=7 Exploring Operation: 26-19=7, Resulting Numbers: [12, 7] Generated Node #0,4,4: 27:[12, 7] Operation: 26-19=7 Moving to Node #0,2 Current State: 27:[31, 12, 38], Operations: ['57-19=38'] Exploring Operation: 38-31=7, Resulting Numbers: [12, 7] Generated Node #0,2,0: 27:[12, 7] Operation: 38-31=7 Exploring Operation: 31+12=43, Resulting Numbers: [38, 43] Generated Node #0,2,1: 27:[38, 43] Operation: 31+12=43 Exploring Operation: 38-12=26, Resulting Numbers: [31, 26] Generated Node #0,2,2: 27:[31, 26] Operation: 38-12=26 Exploring Operation: 31-12=19, Resulting Numbers: [38, 19] Generated Node #0,2,3: 27:[38, 19] Operation: 31-12=19 Exploring Operation: 12+38=50, Resulting Numbers: [31, 50] Generated Node #0,2,4: 27:[31, 50] Operation: 12+38=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[12, 7], Operations: ['57-19=38', '38-31=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,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,2,2 Current State: 27:[31, 26], Operations: ['57-19=38', '38-12=26'] Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,27 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,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,2,3 Current State: 27:[38, 19], Operations: ['57-19=38', '31-12=19'] Exploring Operation: 38*19=722, Resulting Numbers: [722] 722,27 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,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,2,1 Current State: 27:[38, 43], Operations: ['57-19=38', '31+12=43'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,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,2,4 Current State: 27:[31, 50], Operations: ['57-19=38', '12+38=50'] Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,27 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 27:[31, 19, 45], Operations: ['57-12=45'] Exploring Operation: 31-19=12, Resulting Numbers: [45, 12] Generated Node #0,3,0: 27:[45, 12] Operation: 31-19=12 Exploring Operation: 19+45=64, Resulting Numbers: [31, 64] Generated Node #0,3,1: 27:[31, 64] Operation: 19+45=64 Exploring Operation: 45-31=14, Resulting Numbers: [19, 14] Generated Node #0,3,2: 27:[19, 14] Operation: 45-31=14 Exploring Operation: 31+19=50, Resulting Numbers: [45, 50] Generated Node #0,3,3: 27:[45, 50] Operation: 31+19=50 Exploring Operation: 45-19=26, Resulting Numbers: [31, 26] Generated Node #0,3,4: 27:[31, 26] Operation: 45-19=26 Moving to Node #0,0 Current State: 27:[57, 12, 12], Operations: ['31-19=12'] Exploring Operation: 12-12=0, Resulting Numbers: [57, 0] Generated Node #0,0,0: 27:[57, 0] Operation: 12-12=0 Exploring Operation: 12/12=1, Resulting Numbers: [57, 1] Generated Node #0,0,1: 27:[57, 1] Operation: 12/12=1 Exploring Operation: 57-12=45, Resulting Numbers: [12, 45] Generated Node #0,0,2: 27:[12, 45] Operation: 57-12=45 Exploring Operation: 12+12=24, Resulting Numbers: [57, 24] Generated Node #0,0,3: 27:[57, 24] Operation: 12+12=24 Exploring Operation: 57-12=45, Resulting Numbers: [12, 45] Generated Node #0,0,4: 27:[12, 45] Operation: 57-12=45 Moving to Node #0,4,3 Current State: 27:[26, 7], Operations: ['57-31=26', '19-12=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,27 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[12, 28], Operations: ['57/19=3', '31-3=28'] Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,27 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[31, 9], Operations: ['57/19=3', '12-3=9'] Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,27 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,27 unequal: No Solution Moving to Node #0,4,0 Current State: 27:[26, 31], Operations: ['57-31=26', '19+12=31'] Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,27 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[31, 4], Operations: ['57/19=3', '12/3=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[31, 19, 57, 12], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [31, 12, 3] Generated Node #0,1: 27:[31, 12, 3] Operation: 57/19=3 Moving to Node #0,1 Current State: 27:[31, 12, 3], Operations: ['57/19=3'] Exploring Operation: 12/3=4, Resulting Numbers: [31, 4] Generated Node #0,1,0: 27:[31, 4] Operation: 12/3=4 Moving to Node #0,1,0 Current State: 27:[31, 4], Operations: ['57/19=3', '12/3=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.945313
hs_5
sum_heuristic
[ 51, 89, 2, 68 ]
36
[ "51+89=140", "140-68=72", "72/2=36" ]
Current State: 36:[51, 89, 2, 68], Operations: [] Exploring Operation: 51+89=140, Resulting Numbers: [2, 68, 140] Generated Node #2: [2, 68, 140] from Operation: 51+89=140 Current State: 36:[2, 68, 140], Operations: ['51+89=140'] Exploring Operation: 140-68=72, Resulting Numbers: [2, 72] Generated Node #3: [2, 72] from Operation: 140-68=72 Current State: 36:[2, 72], Operations: ['51+89=140', '140-68=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[51, 89, 2, 68], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [89, 2, 17] Generated Node #0,0: 36:[89, 2, 17] Operation: 68-51=17 Exploring Operation: 89-51=38, Resulting Numbers: [2, 68, 38] Generated Node #0,1: 36:[2, 68, 38] Operation: 89-51=38 Exploring Operation: 89-68=21, Resulting Numbers: [51, 2, 21] Generated Node #0,2: 36:[51, 2, 21] Operation: 89-68=21 Moving to Node #0,2 Current State: 36:[51, 2, 21], Operations: ['89-68=21'] Exploring Operation: 51-2=49, Resulting Numbers: [21, 49] Generated Node #0,2,0: 36:[21, 49] Operation: 51-2=49 Exploring Operation: 21-2=19, Resulting Numbers: [51, 19] Generated Node #0,2,1: 36:[51, 19] Operation: 21-2=19 Exploring Operation: 51-21=30, Resulting Numbers: [2, 30] Generated Node #0,2,2: 36:[2, 30] Operation: 51-21=30 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[2, 30], Operations: ['89-68=21', '51-21=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[21, 49], Operations: ['89-68=21', '51-2=49'] Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,36 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[51, 19], Operations: ['89-68=21', '21-2=19'] Exploring Operation: 51*19=969, Resulting Numbers: [969] 969,36 unequal: No Solution Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,36 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: 36:[2, 68, 38], Operations: ['89-51=38'] Exploring Operation: 68-38=30, Resulting Numbers: [2, 30] Generated Node #0,1,0: 36:[2, 30] Operation: 68-38=30 Exploring Operation: 68-2=66, Resulting Numbers: [38, 66] Generated Node #0,1,1: 36:[38, 66] Operation: 68-2=66 Exploring Operation: 68/2=34, Resulting Numbers: [38, 34] Generated Node #0,1,2: 36:[38, 34] Operation: 68/2=34 Moving to Node #0,0 Current State: 36:[89, 2, 17], Operations: ['68-51=17'] Exploring Operation: 89-17=72, Resulting Numbers: [2, 72] Generated Node #0,0,0: 36:[2, 72] Operation: 89-17=72 Exploring Operation: 89-2=87, Resulting Numbers: [17, 87] Generated Node #0,0,1: 36:[17, 87] Operation: 89-2=87 Exploring Operation: 2+17=19, Resulting Numbers: [89, 19] Generated Node #0,0,2: 36:[89, 19] Operation: 2+17=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[2, 72], Operations: ['68-51=17', '89-17=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[51, 89, 2, 68], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [89, 2, 17] Generated Node #0,0: 36:[89, 2, 17] Operation: 68-51=17 Moving to Node #0,0 Current State: 36:[89, 2, 17], Operations: ['68-51=17'] Exploring Operation: 89-17=72, Resulting Numbers: [2, 72] Generated Node #0,0,0: 36:[2, 72] Operation: 89-17=72 Moving to Node #0,0,0 Current State: 36:[2, 72], Operations: ['68-51=17', '89-17=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 79, 65, 4, 58 ]
18
[ "79-65=14", "58+14=72", "72/4=18" ]
Current State: 18:[79, 65, 4, 58], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [4, 58, 14] Generated Node #2: [4, 58, 14] from Operation: 79-65=14 Current State: 18:[4, 58, 14], Operations: ['79-65=14'] Exploring Operation: 58+14=72, Resulting Numbers: [4, 72] Generated Node #3: [4, 72] from Operation: 58+14=72 Current State: 18:[4, 72], Operations: ['79-65=14', '58+14=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[79, 65, 4, 58], Operations: [] Exploring Operation: 79-58=21, Resulting Numbers: [65, 4, 21] Generated Node #0,0: 18:[65, 4, 21] Operation: 79-58=21 Exploring Operation: 79-65=14, Resulting Numbers: [4, 58, 14] Generated Node #0,1: 18:[4, 58, 14] Operation: 79-65=14 Exploring Operation: 65-58=7, Resulting Numbers: [79, 4, 7] Generated Node #0,2: 18:[79, 4, 7] Operation: 65-58=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[4, 58, 14], Operations: ['79-65=14'] Exploring Operation: 58-4=54, Resulting Numbers: [14, 54] Generated Node #0,1,0: 18:[14, 54] Operation: 58-4=54 Exploring Operation: 58-14=44, Resulting Numbers: [4, 44] Generated Node #0,1,1: 18:[4, 44] Operation: 58-14=44 Exploring Operation: 4+14=18, Resulting Numbers: [58, 18] Generated Node #0,1,2: 18:[58, 18] Operation: 4+14=18 Moving to Node #0,1,1 Current State: 18:[4, 44], Operations: ['79-65=14', '58-14=44'] Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[14, 54], Operations: ['79-65=14', '58-4=54'] Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,18 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[58, 18], Operations: ['79-65=14', '4+14=18'] Exploring Operation: 58*18=1044, Resulting Numbers: [1044] 1044,18 unequal: No Solution Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,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:[65, 4, 21], Operations: ['79-58=21'] Exploring Operation: 65-21=44, Resulting Numbers: [4, 44] Generated Node #0,0,0: 18:[4, 44] Operation: 65-21=44 Exploring Operation: 21-4=17, Resulting Numbers: [65, 17] Generated Node #0,0,1: 18:[65, 17] Operation: 21-4=17 Exploring Operation: 65-4=61, Resulting Numbers: [21, 61] Generated Node #0,0,2: 18:[21, 61] Operation: 65-4=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[4, 44], Operations: ['79-58=21', '65-21=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,18 unequal: No Solution No 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: 18:[21, 61], Operations: ['79-58=21', '65-4=61'] Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,18 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,18 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,18 unequal: No Solution No 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: 18:[65, 17], Operations: ['79-58=21', '21-4=17'] Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,18 unequal: No Solution Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,18 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,18 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: 18:[79, 4, 7], Operations: ['65-58=7'] Exploring Operation: 79-4=75, Resulting Numbers: [7, 75] Generated Node #0,2,0: 18:[7, 75] Operation: 79-4=75 Exploring Operation: 7-4=3, Resulting Numbers: [79, 3] Generated Node #0,2,1: 18:[79, 3] Operation: 7-4=3 Exploring Operation: 79-7=72, Resulting Numbers: [4, 72] Generated Node #0,2,2: 18:[4, 72] Operation: 79-7=72 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 18:[4, 72], Operations: ['65-58=7', '79-7=72'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[79, 65, 4, 58], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [79, 4, 7] Generated Node #0,2: 18:[79, 4, 7] Operation: 65-58=7 Moving to Node #0,2 Current State: 18:[79, 4, 7], Operations: ['65-58=7'] Exploring Operation: 79-7=72, Resulting Numbers: [4, 72] Generated Node #0,2,2: 18:[4, 72] Operation: 79-7=72 Moving to Node #0,2,2 Current State: 18:[4, 72], Operations: ['65-58=7', '79-7=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 28, 42, 38, 96 ]
87
[ "96-38=58", "42*58=2436", "2436/28=87" ]
Current State: 87:[28, 42, 38, 96], Operations: [] Exploring Operation: 96-38=58, Resulting Numbers: [28, 42, 58] Generated Node #2: [28, 42, 58] from Operation: 96-38=58 Current State: 87:[28, 42, 58], Operations: ['96-38=58'] Exploring Operation: 42*58=2436, Resulting Numbers: [28, 2436] Generated Node #3: [28, 2436] from Operation: 42*58=2436 Current State: 87:[28, 2436], Operations: ['96-38=58', '42*58=2436'] Exploring Operation: 2436/28=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[28, 42, 38, 96], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [28, 96, 4] Generated Node #0,0: 87:[28, 96, 4] Operation: 42-38=4 Exploring Operation: 28+42=70, Resulting Numbers: [38, 96, 70] Generated Node #0,1: 87:[38, 96, 70] Operation: 28+42=70 Exploring Operation: 42+38=80, Resulting Numbers: [28, 96, 80] Generated Node #0,2: 87:[28, 96, 80] Operation: 42+38=80 Exploring Operation: 42-28=14, Resulting Numbers: [38, 96, 14] Generated Node #0,3: 87:[38, 96, 14] Operation: 42-28=14 Exploring Operation: 38-28=10, Resulting Numbers: [42, 96, 10] Generated Node #0,4: 87:[42, 96, 10] Operation: 38-28=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[28, 96, 4], Operations: ['42-38=4'] Exploring Operation: 28/4=7, Resulting Numbers: [96, 7] Generated Node #0,0,0: 87:[96, 7] Operation: 28/4=7 Exploring Operation: 96-4=92, Resulting Numbers: [28, 92] Generated Node #0,0,1: 87:[28, 92] Operation: 96-4=92 Exploring Operation: 96/4=24, Resulting Numbers: [28, 24] Generated Node #0,0,2: 87:[28, 24] Operation: 96/4=24 Exploring Operation: 28-4=24, Resulting Numbers: [96, 24] Generated Node #0,0,3: 87:[96, 24] Operation: 28-4=24 Exploring Operation: 28+4=32, Resulting Numbers: [96, 32] Generated Node #0,0,4: 87:[96, 32] Operation: 28+4=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[28, 92], Operations: ['42-38=4', '96-4=92'] Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,87 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,87 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[28, 24], Operations: ['42-38=4', '96/4=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 87:[96, 32], Operations: ['42-38=4', '28+4=32'] Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 96+32=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 96*32=3072, Resulting Numbers: [3072] 3072,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[96, 7], Operations: ['42-38=4', '28/4=7'] Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,87 unequal: No Solution Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[96, 24], Operations: ['42-38=4', '28-4=24'] Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 96*24=2304, Resulting Numbers: [2304] 2304,87 unequal: No Solution Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 96+24=120, Resulting Numbers: [120] 120,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[28, 96, 80], Operations: ['42+38=80'] Exploring Operation: 80-28=52, Resulting Numbers: [96, 52] Generated Node #0,2,0: 87:[96, 52] Operation: 80-28=52 Exploring Operation: 28+80=108, Resulting Numbers: [96, 108] Generated Node #0,2,1: 87:[96, 108] Operation: 28+80=108 Exploring Operation: 96-28=68, Resulting Numbers: [80, 68] Generated Node #0,2,2: 87:[80, 68] Operation: 96-28=68 Exploring Operation: 28+96=124, Resulting Numbers: [80, 124] Generated Node #0,2,3: 87:[80, 124] Operation: 28+96=124 Exploring Operation: 96-80=16, Resulting Numbers: [28, 16] Generated Node #0,2,4: 87:[28, 16] Operation: 96-80=16 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 87:[28, 16], Operations: ['42+38=80', '96-80=16'] Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,87 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[80, 68], Operations: ['42+38=80', '96-28=68'] Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,87 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[96, 108], Operations: ['42+38=80', '28+80=108'] Exploring Operation: 108-96=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 96*108=10368, Resulting Numbers: [10368] 10368,87 unequal: No Solution Exploring Operation: 96+108=204, Resulting Numbers: [204] 204,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[96, 52], Operations: ['42+38=80', '80-28=52'] Exploring Operation: 96+52=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 96*52=4992, Resulting Numbers: [4992] 4992,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 87:[80, 124], Operations: ['42+38=80', '28+96=124'] Exploring Operation: 80*124=9920, Resulting Numbers: [9920] 9920,87 unequal: No Solution Exploring Operation: 80+124=204, Resulting Numbers: [204] 204,87 unequal: No Solution Exploring Operation: 124-80=44, Resulting Numbers: [44] 44,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[38, 96, 14], Operations: ['42-28=14'] Exploring Operation: 96-38=58, Resulting Numbers: [14, 58] Generated Node #0,3,0: 87:[14, 58] Operation: 96-38=58 Exploring Operation: 96-14=82, Resulting Numbers: [38, 82] Generated Node #0,3,1: 87:[38, 82] Operation: 96-14=82 Exploring Operation: 96+14=110, Resulting Numbers: [38, 110] Generated Node #0,3,2: 87:[38, 110] Operation: 96+14=110 Exploring Operation: 38+14=52, Resulting Numbers: [96, 52] Generated Node #0,3,3: 87:[96, 52] Operation: 38+14=52 Exploring Operation: 38-14=24, Resulting Numbers: [96, 24] Generated Node #0,3,4: 87:[96, 24] Operation: 38-14=24 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 87:[38, 82], Operations: ['42-28=14', '96-14=82'] Exploring Operation: 38*82=3116, Resulting Numbers: [3116] 3116,87 unequal: No Solution Exploring Operation: 38+82=120, Resulting Numbers: [120] 120,87 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 87:[96, 24], Operations: ['42-28=14', '38-14=24'] Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 96*24=2304, Resulting Numbers: [2304] 2304,87 unequal: No Solution Exploring Operation: 96+24=120, Resulting Numbers: [120] 120,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 87:[38, 110], Operations: ['42-28=14', '96+14=110'] Exploring Operation: 110-38=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 38+110=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 38*110=4180, Resulting Numbers: [4180] 4180,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 87:[96, 52], Operations: ['42-28=14', '38+14=52'] Exploring Operation: 96+52=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 96*52=4992, Resulting Numbers: [4992] 4992,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 87:[14, 58], Operations: ['42-28=14', '96-38=58'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,87 unequal: No Solution Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[42, 96, 10], Operations: ['38-28=10'] Exploring Operation: 96-10=86, Resulting Numbers: [42, 86] Generated Node #0,4,0: 87:[42, 86] Operation: 96-10=86 Exploring Operation: 96-42=54, Resulting Numbers: [10, 54] Generated Node #0,4,1: 87:[10, 54] Operation: 96-42=54 Exploring Operation: 96+10=106, Resulting Numbers: [42, 106] Generated Node #0,4,2: 87:[42, 106] Operation: 96+10=106 Exploring Operation: 42-10=32, Resulting Numbers: [96, 32] Generated Node #0,4,3: 87:[96, 32] Operation: 42-10=32 Exploring Operation: 42+10=52, Resulting Numbers: [96, 52] Generated Node #0,4,4: 87:[96, 52] Operation: 42+10=52 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 87:[96, 32], Operations: ['38-28=10', '42-10=32'] Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 96*32=3072, Resulting Numbers: [3072] 3072,87 unequal: No Solution Exploring Operation: 96+32=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 87:[42, 86], Operations: ['38-28=10', '96-10=86'] Exploring Operation: 42+86=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 42*86=3612, Resulting Numbers: [3612] 3612,87 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 87:[10, 54], Operations: ['38-28=10', '96-42=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 87:[42, 106], Operations: ['38-28=10', '96+10=106'] Exploring Operation: 106-42=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 42+106=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 42*106=4452, Resulting Numbers: [4452] 4452,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 87:[96, 52], Operations: ['38-28=10', '42+10=52'] Exploring Operation: 96*52=4992, Resulting Numbers: [4992] 4992,87 unequal: No Solution Exploring Operation: 96+52=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[38, 96, 70], Operations: ['28+42=70'] Exploring Operation: 96-70=26, Resulting Numbers: [38, 26] Generated Node #0,1,0: 87:[38, 26] Operation: 96-70=26 Exploring Operation: 70-38=32, Resulting Numbers: [96, 32] Generated Node #0,1,1: 87:[96, 32] Operation: 70-38=32 Exploring Operation: 38+96=134, Resulting Numbers: [70, 134] Generated Node #0,1,2: 87:[70, 134] Operation: 38+96=134 Exploring Operation: 96-38=58, Resulting Numbers: [70, 58] Generated Node #0,1,3: 87:[70, 58] Operation: 96-38=58 Exploring Operation: 38+70=108, Resulting Numbers: [96, 108] Generated Node #0,1,4: 87:[96, 108] Operation: 38+70=108 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[38, 26], Operations: ['28+42=70', '96-70=26'] Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[96, 32], Operations: ['28+42=70', '70-38=32'] Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 96+32=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 96*32=3072, Resulting Numbers: [3072] 3072,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 87:[96, 108], Operations: ['28+42=70', '38+70=108'] Exploring Operation: 96+108=204, Resulting Numbers: [204] 204,87 unequal: No Solution Exploring Operation: 96*108=10368, Resulting Numbers: [10368] 10368,87 unequal: No Solution Exploring Operation: 108-96=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 87:[70, 58], Operations: ['28+42=70', '96-38=58'] Exploring Operation: 70*58=4060, Resulting Numbers: [4060] 4060,87 unequal: No Solution Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[70, 134], Operations: ['28+42=70', '38+96=134'] Exploring Operation: 70*134=9380, Resulting Numbers: [9380] 9380,87 unequal: No Solution Exploring Operation: 70+134=204, Resulting Numbers: [204] 204,87 unequal: No Solution Exploring Operation: 134-70=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 50, 32, 25, 59 ]
48
[ "50+32=82", "59-25=34", "82-34=48" ]
Current State: 48:[50, 32, 25, 59], Operations: [] Exploring Operation: 50+32=82, Resulting Numbers: [25, 59, 82] Generated Node #2: [25, 59, 82] from Operation: 50+32=82 Current State: 48:[25, 59, 82], Operations: ['50+32=82'] Exploring Operation: 59-25=34, Resulting Numbers: [82, 34] Generated Node #3: [82, 34] from Operation: 59-25=34 Current State: 48:[82, 34], Operations: ['50+32=82', '59-25=34'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[50, 32, 25, 59], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [32, 25, 9] Generated Node #0,0: 48:[32, 25, 9] Operation: 59-50=9 Exploring Operation: 59-32=27, Resulting Numbers: [50, 25, 27] Generated Node #0,1: 48:[50, 25, 27] Operation: 59-32=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[50, 25, 27], Operations: ['59-32=27'] Exploring Operation: 50-27=23, Resulting Numbers: [25, 23] Generated Node #0,1,0: 48:[25, 23] Operation: 50-27=23 Exploring Operation: 27-25=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 48:[50, 2] Operation: 27-25=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[25, 23], Operations: ['59-32=27', '50-27=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[50, 32, 25, 59], Operations: [] Exploring Operation: 59-32=27, Resulting Numbers: [50, 25, 27] Generated Node #0,1: 48:[50, 25, 27] Operation: 59-32=27 Moving to Node #0,1 Current State: 48:[50, 25, 27], Operations: ['59-32=27'] Exploring Operation: 50-27=23, Resulting Numbers: [25, 23] Generated Node #0,1,0: 48:[25, 23] Operation: 50-27=23 Moving to Node #0,1,0 Current State: 48:[25, 23], Operations: ['59-32=27', '50-27=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 22, 25, 10, 87 ]
19
[ "25-22=3", "87/3=29", "29-10=19" ]
Current State: 19:[22, 25, 10, 87], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [10, 87, 3] Generated Node #2: [10, 87, 3] from Operation: 25-22=3 Current State: 19:[10, 87, 3], Operations: ['25-22=3'] Exploring Operation: 87/3=29, Resulting Numbers: [10, 29] Generated Node #3: [10, 29] from Operation: 87/3=29 Current State: 19:[10, 29], Operations: ['25-22=3', '87/3=29'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[22, 25, 10, 87], Operations: [] Exploring Operation: 87-25=62, Resulting Numbers: [22, 10, 62] Generated Node #0,0: 19:[22, 10, 62] Operation: 87-25=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[22, 10, 62], Operations: ['87-25=62'] Exploring Operation: 62-22=40, Resulting Numbers: [10, 40] Generated Node #0,0,0: 19:[10, 40] Operation: 62-22=40 Moving to Node #0,0,0 Current State: 19:[10, 40], Operations: ['87-25=62', '62-22=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 52, 25, 58, 80 ]
70
[ "58-52=6", "25*6=150", "150-80=70" ]
Current State: 70:[52, 25, 58, 80], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [25, 80, 6] Generated Node #2: [25, 80, 6] from Operation: 58-52=6 Current State: 70:[25, 80, 6], Operations: ['58-52=6'] Exploring Operation: 25*6=150, Resulting Numbers: [80, 150] Generated Node #3: [80, 150] from Operation: 25*6=150 Current State: 70:[80, 150], Operations: ['58-52=6', '25*6=150'] Exploring Operation: 150-80=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[52, 25, 58, 80], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [25, 80, 6] Generated Node #0,0: 70:[25, 80, 6] Operation: 58-52=6 Exploring Operation: 80-52=28, Resulting Numbers: [25, 58, 28] Generated Node #0,1: 70:[25, 58, 28] Operation: 80-52=28 Exploring Operation: 52+25=77, Resulting Numbers: [58, 80, 77] Generated Node #0,2: 70:[58, 80, 77] Operation: 52+25=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[25, 80, 6], Operations: ['58-52=6'] Exploring Operation: 25+6=31, Resulting Numbers: [80, 31] Generated Node #0,0,0: 70:[80, 31] Operation: 25+6=31 Exploring Operation: 80-6=74, Resulting Numbers: [25, 74] Generated Node #0,0,1: 70:[25, 74] Operation: 80-6=74 Exploring Operation: 25-6=19, Resulting Numbers: [80, 19] Generated Node #0,0,2: 70:[80, 19] Operation: 25-6=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[80, 31], Operations: ['58-52=6', '25+6=31'] Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,70 unequal: No Solution Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,70 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,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,0,1 Current State: 70:[25, 74], Operations: ['58-52=6', '80-6=74'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,70 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,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,0,2 Current State: 70:[80, 19], Operations: ['58-52=6', '25-6=19'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,70 unequal: No Solution Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,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,1 Current State: 70:[25, 58, 28], Operations: ['80-52=28'] Exploring Operation: 28-25=3, Resulting Numbers: [58, 3] Generated Node #0,1,0: 70:[58, 3] Operation: 28-25=3 Exploring Operation: 58-25=33, Resulting Numbers: [28, 33] Generated Node #0,1,1: 70:[28, 33] Operation: 58-25=33 Exploring Operation: 58-28=30, Resulting Numbers: [25, 30] Generated Node #0,1,2: 70:[25, 30] Operation: 58-28=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[28, 33], Operations: ['80-52=28', '58-25=33'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,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:[58, 3], Operations: ['80-52=28', '28-25=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,70 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,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:[25, 30], Operations: ['80-52=28', '58-28=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,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,2 Current State: 70:[58, 80, 77], Operations: ['52+25=77'] Exploring Operation: 80-58=22, Resulting Numbers: [77, 22] Generated Node #0,2,0: 70:[77, 22] Operation: 80-58=22 Exploring Operation: 80-77=3, Resulting Numbers: [58, 3] Generated Node #0,2,1: 70:[58, 3] Operation: 80-77=3 Exploring Operation: 77-58=19, Resulting Numbers: [80, 19] Generated Node #0,2,2: 70:[80, 19] Operation: 77-58=19 Moving to Node #0,2,1 Current State: 70:[58, 3], Operations: ['52+25=77', '80-77=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[77, 22], Operations: ['52+25=77', '80-58=22'] Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,70 unequal: No Solution Exploring Operation: 77*22=1694, Resulting Numbers: [1694] 1694,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[80, 19], Operations: ['52+25=77', '77-58=19'] Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,70 unequal: No Solution Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,70 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 57, 39, 29, 13 ]
89
[ "57+29=86", "39/13=3", "86+3=89" ]
Current State: 89:[57, 39, 29, 13], Operations: [] Exploring Operation: 57+29=86, Resulting Numbers: [39, 13, 86] Generated Node #2: [39, 13, 86] from Operation: 57+29=86 Current State: 89:[39, 13, 86], Operations: ['57+29=86'] Exploring Operation: 39/13=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 39/13=3 Current State: 89:[86, 3], Operations: ['57+29=86', '39/13=3'] Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[57, 39, 29, 13], Operations: [] Exploring Operation: 29+13=42, Resulting Numbers: [57, 39, 42] Generated Node #0,0: 89:[57, 39, 42] Operation: 29+13=42 Exploring Operation: 39+13=52, Resulting Numbers: [57, 29, 52] Generated Node #0,1: 89:[57, 29, 52] Operation: 39+13=52 Exploring Operation: 39+29=68, Resulting Numbers: [57, 13, 68] Generated Node #0,2: 89:[57, 13, 68] Operation: 39+29=68 Exploring Operation: 57+13=70, Resulting Numbers: [39, 29, 70] Generated Node #0,3: 89:[39, 29, 70] Operation: 57+13=70 Exploring Operation: 57+29=86, Resulting Numbers: [39, 13, 86] Generated Node #0,4: 89:[39, 13, 86] Operation: 57+29=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[57, 39, 42], Operations: ['29+13=42'] Exploring Operation: 57-39=18, Resulting Numbers: [42, 18] Generated Node #0,0,0: 89:[42, 18] Operation: 57-39=18 Exploring Operation: 57+42=99, Resulting Numbers: [39, 99] Generated Node #0,0,1: 89:[39, 99] Operation: 57+42=99 Exploring Operation: 42-39=3, Resulting Numbers: [57, 3] Generated Node #0,0,2: 89:[57, 3] Operation: 42-39=3 Exploring Operation: 39+42=81, Resulting Numbers: [57, 81] Generated Node #0,0,3: 89:[57, 81] Operation: 39+42=81 Exploring Operation: 57+39=96, Resulting Numbers: [42, 96] Generated Node #0,0,4: 89:[42, 96] Operation: 57+39=96 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[57, 81], Operations: ['29+13=42', '39+42=81'] Exploring Operation: 57+81=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 57*81=4617, Resulting Numbers: [4617] 4617,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 89:[42, 96], Operations: ['29+13=42', '57+39=96'] Exploring Operation: 42+96=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 42*96=4032, Resulting Numbers: [4032] 4032,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[39, 99], Operations: ['29+13=42', '57+42=99'] Exploring Operation: 39+99=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 39*99=3861, Resulting Numbers: [3861] 3861,89 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[42, 18], Operations: ['29+13=42', '57-39=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[57, 3], Operations: ['29+13=42', '42-39=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[57, 29, 52], Operations: ['39+13=52'] Exploring Operation: 29+52=81, Resulting Numbers: [57, 81] Generated Node #0,1,0: 89:[57, 81] Operation: 29+52=81 Exploring Operation: 57-29=28, Resulting Numbers: [52, 28] Generated Node #0,1,1: 89:[52, 28] Operation: 57-29=28 Exploring Operation: 52-29=23, Resulting Numbers: [57, 23] Generated Node #0,1,2: 89:[57, 23] Operation: 52-29=23 Exploring Operation: 57+29=86, Resulting Numbers: [52, 86] Generated Node #0,1,3: 89:[52, 86] Operation: 57+29=86 Exploring Operation: 57+52=109, Resulting Numbers: [29, 109] Generated Node #0,1,4: 89:[29, 109] Operation: 57+52=109 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[57, 81], Operations: ['39+13=52', '29+52=81'] Exploring Operation: 57*81=4617, Resulting Numbers: [4617] 4617,89 unequal: No Solution Exploring Operation: 57+81=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[52, 86], Operations: ['39+13=52', '57+29=86'] Exploring Operation: 52+86=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 52*86=4472, Resulting Numbers: [4472] 4472,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 89:[29, 109], Operations: ['39+13=52', '57+52=109'] Exploring Operation: 29+109=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 29*109=3161, Resulting Numbers: [3161] 3161,89 unequal: No Solution Exploring Operation: 109-29=80, Resulting Numbers: [80] 80,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[52, 28], Operations: ['39+13=52', '57-29=28'] Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 52*28=1456, Resulting Numbers: [1456] 1456,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[57, 23], Operations: ['39+13=52', '52-29=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,89 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[57, 13, 68], Operations: ['39+29=68'] Exploring Operation: 68-13=55, Resulting Numbers: [57, 55] Generated Node #0,2,0: 89:[57, 55] Operation: 68-13=55 Exploring Operation: 57-13=44, Resulting Numbers: [68, 44] Generated Node #0,2,1: 89:[68, 44] Operation: 57-13=44 Exploring Operation: 13+68=81, Resulting Numbers: [57, 81] Generated Node #0,2,2: 89:[57, 81] Operation: 13+68=81 Exploring Operation: 57+68=125, Resulting Numbers: [13, 125] Generated Node #0,2,3: 89:[13, 125] Operation: 57+68=125 Exploring Operation: 57+13=70, Resulting Numbers: [68, 70] Generated Node #0,2,4: 89:[68, 70] Operation: 57+13=70 Moving to Node #0,2,2 Current State: 89:[57, 81], Operations: ['39+29=68', '13+68=81'] Exploring Operation: 57+81=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 57*81=4617, Resulting Numbers: [4617] 4617,89 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[68, 70], Operations: ['39+29=68', '57+13=70'] Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 68*70=4760, Resulting Numbers: [4760] 4760,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[57, 55], Operations: ['39+29=68', '68-13=55'] Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,89 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[68, 44], Operations: ['39+29=68', '57-13=44'] Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,89 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[13, 125], Operations: ['39+29=68', '57+68=125'] Exploring Operation: 125-13=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 13+125=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 13*125=1625, Resulting Numbers: [1625] 1625,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[39, 29, 70], Operations: ['57+13=70'] Exploring Operation: 29+70=99, Resulting Numbers: [39, 99] Generated Node #0,3,0: 89:[39, 99] Operation: 29+70=99 Exploring Operation: 70-29=41, Resulting Numbers: [39, 41] Generated Node #0,3,1: 89:[39, 41] Operation: 70-29=41 Exploring Operation: 39+70=109, Resulting Numbers: [29, 109] Generated Node #0,3,2: 89:[29, 109] Operation: 39+70=109 Exploring Operation: 39-29=10, Resulting Numbers: [70, 10] Generated Node #0,3,3: 89:[70, 10] Operation: 39-29=10 Exploring Operation: 39+29=68, Resulting Numbers: [70, 68] Generated Node #0,3,4: 89:[70, 68] Operation: 39+29=68 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 89:[70, 68], Operations: ['57+13=70', '39+29=68'] Exploring Operation: 70*68=4760, Resulting Numbers: [4760] 4760,89 unequal: No Solution Exploring Operation: 70+68=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[39, 99], Operations: ['57+13=70', '29+70=99'] Exploring Operation: 39+99=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 39*99=3861, Resulting Numbers: [3861] 3861,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[29, 109], Operations: ['57+13=70', '39+70=109'] Exploring Operation: 29*109=3161, Resulting Numbers: [3161] 3161,89 unequal: No Solution Exploring Operation: 109-29=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 29+109=138, Resulting Numbers: [138] 138,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 89:[39, 41], Operations: ['57+13=70', '70-29=41'] Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,89 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 89:[70, 10], Operations: ['57+13=70', '39-29=10'] Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,89 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 89:[39, 13, 86], Operations: ['57+29=86'] Exploring Operation: 39/13=3, Resulting Numbers: [86, 3] Generated Node #0,4,0: 89:[86, 3] Operation: 39/13=3 Exploring Operation: 86-13=73, Resulting Numbers: [39, 73] Generated Node #0,4,1: 89:[39, 73] Operation: 86-13=73 Exploring Operation: 13+86=99, Resulting Numbers: [39, 99] Generated Node #0,4,2: 89:[39, 99] Operation: 13+86=99 Exploring Operation: 39+13=52, Resulting Numbers: [86, 52] Generated Node #0,4,3: 89:[86, 52] Operation: 39+13=52 Exploring Operation: 39-13=26, Resulting Numbers: [86, 26] Generated Node #0,4,4: 89:[86, 26] Operation: 39-13=26 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 89:[86, 52], Operations: ['57+29=86', '39+13=52'] Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,89 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 89:[39, 99], Operations: ['57+29=86', '13+86=99'] Exploring Operation: 39+99=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 39*99=3861, Resulting Numbers: [3861] 3861,89 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 89:[39, 73], Operations: ['57+29=86', '86-13=73'] Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,89 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 89:[86, 26], Operations: ['57+29=86', '39-13=26'] Exploring Operation: 86+26=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 86*26=2236, Resulting Numbers: [2236] 2236,89 unequal: No Solution Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 89:[86, 3], Operations: ['57+29=86', '39/13=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,89 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[57, 39, 29, 13], Operations: [] Exploring Operation: 57+29=86, Resulting Numbers: [39, 13, 86] Generated Node #0,4: 89:[39, 13, 86] Operation: 57+29=86 Moving to Node #0,4 Current State: 89:[39, 13, 86], Operations: ['57+29=86'] Exploring Operation: 39/13=3, Resulting Numbers: [86, 3] Generated Node #0,4,0: 89:[86, 3] Operation: 39/13=3 Moving to Node #0,4,0 Current State: 89:[86, 3], Operations: ['57+29=86', '39/13=3'] Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.904514
hs_5
mult_heuristic
[ 22, 80, 32, 20 ]
14
[ "32-22=10", "80/20=4", "10+4=14" ]
Current State: 14:[22, 80, 32, 20], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [80, 20, 10] Generated Node #2: [80, 20, 10] from Operation: 32-22=10 Current State: 14:[80, 20, 10], Operations: ['32-22=10'] Exploring Operation: 80/20=4, Resulting Numbers: [10, 4] Generated Node #3: [10, 4] from Operation: 80/20=4 Current State: 14:[10, 4], Operations: ['32-22=10', '80/20=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[22, 80, 32, 20], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [22, 32, 4] Generated Node #0,0: 14:[22, 32, 4] Operation: 80/20=4 Moving to Node #0,0 Current State: 14:[22, 32, 4], Operations: ['80/20=4'] Exploring Operation: 32-22=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 14:[4, 10] Operation: 32-22=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[4, 10], Operations: ['80/20=4', '32-22=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[22, 80, 32, 20], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [22, 32, 4] Generated Node #0,0: 14:[22, 32, 4] Operation: 80/20=4 Moving to Node #0,0 Current State: 14:[22, 32, 4], Operations: ['80/20=4'] Exploring Operation: 32-22=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 14:[4, 10] Operation: 32-22=10 Moving to Node #0,0,0 Current State: 14:[4, 10], Operations: ['80/20=4', '32-22=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 24, 7, 19, 34 ]
46
[ "24+7=31", "34-19=15", "31+15=46" ]
Current State: 46:[24, 7, 19, 34], Operations: [] Exploring Operation: 24+7=31, Resulting Numbers: [19, 34, 31] Generated Node #2: [19, 34, 31] from Operation: 24+7=31 Current State: 46:[19, 34, 31], Operations: ['24+7=31'] Exploring Operation: 34-19=15, Resulting Numbers: [31, 15] Generated Node #3: [31, 15] from Operation: 34-19=15 Current State: 46:[31, 15], Operations: ['24+7=31', '34-19=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[24, 7, 19, 34], Operations: [] Exploring Operation: 34-19=15, Resulting Numbers: [24, 7, 15] Generated Node #0,0: 46:[24, 7, 15] Operation: 34-19=15 Exploring Operation: 19+34=53, Resulting Numbers: [24, 7, 53] Generated Node #0,1: 46:[24, 7, 53] Operation: 19+34=53 Exploring Operation: 34-7=27, Resulting Numbers: [24, 19, 27] Generated Node #0,2: 46:[24, 19, 27] Operation: 34-7=27 Exploring Operation: 7+19=26, Resulting Numbers: [24, 34, 26] Generated Node #0,3: 46:[24, 34, 26] Operation: 7+19=26 Exploring Operation: 7+34=41, Resulting Numbers: [24, 19, 41] Generated Node #0,4: 46:[24, 19, 41] Operation: 7+34=41 Moving to Node #0,2 Current State: 46:[24, 19, 27], Operations: ['34-7=27'] Exploring Operation: 27-19=8, Resulting Numbers: [24, 8] Generated Node #0,2,0: 46:[24, 8] Operation: 27-19=8 Exploring Operation: 24-19=5, Resulting Numbers: [27, 5] Generated Node #0,2,1: 46:[27, 5] Operation: 24-19=5 Exploring Operation: 19+27=46, Resulting Numbers: [24, 46] Generated Node #0,2,2: 46:[24, 46] Operation: 19+27=46 Exploring Operation: 27-24=3, Resulting Numbers: [19, 3] Generated Node #0,2,3: 46:[19, 3] Operation: 27-24=3 Exploring Operation: 24+19=43, Resulting Numbers: [27, 43] Generated Node #0,2,4: 46:[27, 43] Operation: 24+19=43 Moving to Node #0,4 Current State: 46:[24, 19, 41], Operations: ['7+34=41'] Exploring Operation: 19+41=60, Resulting Numbers: [24, 60] Generated Node #0,4,0: 46:[24, 60] Operation: 19+41=60 Exploring Operation: 24-19=5, Resulting Numbers: [41, 5] Generated Node #0,4,1: 46:[41, 5] Operation: 24-19=5 Exploring Operation: 41-19=22, Resulting Numbers: [24, 22] Generated Node #0,4,2: 46:[24, 22] Operation: 41-19=22 Exploring Operation: 24+19=43, Resulting Numbers: [41, 43] Generated Node #0,4,3: 46:[41, 43] Operation: 24+19=43 Exploring Operation: 41-24=17, Resulting Numbers: [19, 17] Generated Node #0,4,4: 46:[19, 17] Operation: 41-24=17 Moving to Node #0,1 Current State: 46:[24, 7, 53], Operations: ['19+34=53'] Exploring Operation: 24-7=17, Resulting Numbers: [53, 17] Generated Node #0,1,0: 46:[53, 17] Operation: 24-7=17 Exploring Operation: 24+7=31, Resulting Numbers: [53, 31] Generated Node #0,1,1: 46:[53, 31] Operation: 24+7=31 Exploring Operation: 53-7=46, Resulting Numbers: [24, 46] Generated Node #0,1,2: 46:[24, 46] Operation: 53-7=46 Exploring Operation: 7+53=60, Resulting Numbers: [24, 60] Generated Node #0,1,3: 46:[24, 60] Operation: 7+53=60 Exploring Operation: 53-24=29, Resulting Numbers: [7, 29] Generated Node #0,1,4: 46:[7, 29] Operation: 53-24=29 Moving to Node #0,0 Current State: 46:[24, 7, 15], Operations: ['34-19=15'] Exploring Operation: 24-15=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 46:[7, 9] Operation: 24-15=9 Exploring Operation: 7+15=22, Resulting Numbers: [24, 22] Generated Node #0,0,1: 46:[24, 22] Operation: 7+15=22 Exploring Operation: 24+15=39, Resulting Numbers: [7, 39] Generated Node #0,0,2: 46:[7, 39] Operation: 24+15=39 Exploring Operation: 15-7=8, Resulting Numbers: [24, 8] Generated Node #0,0,3: 46:[24, 8] Operation: 15-7=8 Exploring Operation: 24-7=17, Resulting Numbers: [15, 17] Generated Node #0,0,4: 46:[15, 17] Operation: 24-7=17 Moving to Node #0,3 Current State: 46:[24, 34, 26], Operations: ['7+19=26'] Exploring Operation: 34-26=8, Resulting Numbers: [24, 8] Generated Node #0,3,0: 46:[24, 8] Operation: 34-26=8 Exploring Operation: 24+26=50, Resulting Numbers: [34, 50] Generated Node #0,3,1: 46:[34, 50] Operation: 24+26=50 Exploring Operation: 24+34=58, Resulting Numbers: [26, 58] Generated Node #0,3,2: 46:[26, 58] Operation: 24+34=58 Exploring Operation: 26-24=2, Resulting Numbers: [34, 2] Generated Node #0,3,3: 46:[34, 2] Operation: 26-24=2 Exploring Operation: 34-24=10, Resulting Numbers: [26, 10] Generated Node #0,3,4: 46:[26, 10] Operation: 34-24=10 Moving to Node #0,2,2 Current State: 46:[24, 46], Operations: ['34-7=27', '19+27=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,46 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[24, 46], Operations: ['19+34=53', '53-7=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,46 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[24, 22], Operations: ['7+34=41', '41-19=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[24, 7, 19, 34], Operations: [] Exploring Operation: 7+34=41, Resulting Numbers: [24, 19, 41] Generated Node #0,4: 46:[24, 19, 41] Operation: 7+34=41 Moving to Node #0,4 Current State: 46:[24, 19, 41], Operations: ['7+34=41'] Exploring Operation: 41-19=22, Resulting Numbers: [24, 22] Generated Node #0,4,2: 46:[24, 22] Operation: 41-19=22 Moving to Node #0,4,2 Current State: 46:[24, 22], Operations: ['7+34=41', '41-19=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.96441
hs_5
mult_heuristic
[ 9, 89, 20, 79 ]
21
[ "89-9=80", "79-20=59", "80-59=21" ]
Current State: 21:[9, 89, 20, 79], Operations: [] Exploring Operation: 89-9=80, Resulting Numbers: [20, 79, 80] Generated Node #2: [20, 79, 80] from Operation: 89-9=80 Current State: 21:[20, 79, 80], Operations: ['89-9=80'] Exploring Operation: 79-20=59, Resulting Numbers: [80, 59] Generated Node #3: [80, 59] from Operation: 79-20=59 Current State: 21:[80, 59], Operations: ['89-9=80', '79-20=59'] Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[9, 89, 20, 79], Operations: [] Exploring Operation: 79-20=59, Resulting Numbers: [9, 89, 59] Generated Node #0,0: 21:[9, 89, 59] Operation: 79-20=59 Exploring Operation: 89-20=69, Resulting Numbers: [9, 79, 69] Generated Node #0,1: 21:[9, 79, 69] Operation: 89-20=69 Exploring Operation: 89-79=10, Resulting Numbers: [9, 20, 10] Generated Node #0,2: 21:[9, 20, 10] Operation: 89-79=10 Moving to Node #0,2 Current State: 21:[9, 20, 10], Operations: ['89-79=10'] Exploring Operation: 20/10=2, Resulting Numbers: [9, 2] Generated Node #0,2,0: 21:[9, 2] Operation: 20/10=2 Exploring Operation: 9+10=19, Resulting Numbers: [20, 19] Generated Node #0,2,1: 21:[20, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [20, 1] Generated Node #0,2,2: 21:[20, 1] Operation: 10-9=1 Moving to Node #0,0 Current State: 21:[9, 89, 59], Operations: ['79-20=59'] Exploring Operation: 59-9=50, Resulting Numbers: [89, 50] Generated Node #0,0,0: 21:[89, 50] Operation: 59-9=50 Exploring Operation: 89-9=80, Resulting Numbers: [59, 80] Generated Node #0,0,1: 21:[59, 80] Operation: 89-9=80 Exploring Operation: 89-59=30, Resulting Numbers: [9, 30] Generated Node #0,0,2: 21:[9, 30] Operation: 89-59=30 Moving to Node #0,1 Current State: 21:[9, 79, 69], Operations: ['89-20=69'] Exploring Operation: 69-9=60, Resulting Numbers: [79, 60] Generated Node #0,1,0: 21:[79, 60] Operation: 69-9=60 Exploring Operation: 79-69=10, Resulting Numbers: [9, 10] Generated Node #0,1,1: 21:[9, 10] Operation: 79-69=10 Exploring Operation: 79-9=70, Resulting Numbers: [69, 70] Generated Node #0,1,2: 21:[69, 70] Operation: 79-9=70 Moving to Node #0,2,0 Current State: 21:[9, 2], Operations: ['89-79=10', '20/10=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[20, 1], Operations: ['89-79=10', '10-9=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[9, 89, 20, 79], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [9, 20, 10] Generated Node #0,2: 21:[9, 20, 10] Operation: 89-79=10 Moving to Node #0,2 Current State: 21:[9, 20, 10], Operations: ['89-79=10'] Exploring Operation: 10-9=1, Resulting Numbers: [20, 1] Generated Node #0,2,2: 21:[20, 1] Operation: 10-9=1 Moving to Node #0,2,2 Current State: 21:[20, 1], Operations: ['89-79=10', '10-9=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 41, 6, 39, 37 ]
52
[ "41+37=78", "78/6=13", "39+13=52" ]
Current State: 52:[41, 6, 39, 37], Operations: [] Exploring Operation: 41+37=78, Resulting Numbers: [6, 39, 78] Generated Node #2: [6, 39, 78] from Operation: 41+37=78 Current State: 52:[6, 39, 78], Operations: ['41+37=78'] Exploring Operation: 78/6=13, Resulting Numbers: [39, 13] Generated Node #3: [39, 13] from Operation: 78/6=13 Current State: 52:[39, 13], Operations: ['41+37=78', '78/6=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[41, 6, 39, 37], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [6, 39, 4] Generated Node #0,0: 52:[6, 39, 4] Operation: 41-37=4 Exploring Operation: 39-37=2, Resulting Numbers: [41, 6, 2] Generated Node #0,1: 52:[41, 6, 2] Operation: 39-37=2 Exploring Operation: 41-39=2, Resulting Numbers: [6, 37, 2] Generated Node #0,2: 52:[6, 37, 2] Operation: 41-39=2 Exploring Operation: 41+6=47, Resulting Numbers: [39, 37, 47] Generated Node #0,3: 52:[39, 37, 47] Operation: 41+6=47 Moving to Node #0,1 Current State: 52:[41, 6, 2], Operations: ['39-37=2'] Exploring Operation: 6-2=4, Resulting Numbers: [41, 4] Generated Node #0,1,0: 52:[41, 4] Operation: 6-2=4 Exploring Operation: 41-6=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 52:[2, 35] Operation: 41-6=35 Exploring Operation: 41+2=43, Resulting Numbers: [6, 43] Generated Node #0,1,2: 52:[6, 43] Operation: 41+2=43 Exploring Operation: 41+6=47, Resulting Numbers: [2, 47] Generated Node #0,1,3: 52:[2, 47] Operation: 41+6=47 Moving to Node #0,2 Current State: 52:[6, 37, 2], Operations: ['41-39=2'] Exploring Operation: 37-6=31, Resulting Numbers: [2, 31] Generated Node #0,2,0: 52:[2, 31] Operation: 37-6=31 Exploring Operation: 6+37=43, Resulting Numbers: [2, 43] Generated Node #0,2,1: 52:[2, 43] Operation: 6+37=43 Exploring Operation: 37-2=35, Resulting Numbers: [6, 35] Generated Node #0,2,2: 52:[6, 35] Operation: 37-2=35 Exploring Operation: 6-2=4, Resulting Numbers: [37, 4] Generated Node #0,2,3: 52:[37, 4] Operation: 6-2=4 Moving to Node #0,0 Current State: 52:[6, 39, 4], Operations: ['41-37=4'] Exploring Operation: 39-6=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 52:[4, 33] Operation: 39-6=33 Exploring Operation: 39-4=35, Resulting Numbers: [6, 35] Generated Node #0,0,1: 52:[6, 35] Operation: 39-4=35 Exploring Operation: 39+4=43, Resulting Numbers: [6, 43] Generated Node #0,0,2: 52:[6, 43] Operation: 39+4=43 Exploring Operation: 6+39=45, Resulting Numbers: [4, 45] Generated Node #0,0,3: 52:[4, 45] Operation: 6+39=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 33], Operations: ['41-37=4', '39-6=33'] Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,52 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,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:[4, 45], Operations: ['41-37=4', '6+39=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,52 unequal: No Solution Exploring Operation: 45-4=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,1 Current State: 52:[6, 35], Operations: ['41-37=4', '39-4=35'] 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 Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,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:[6, 43], Operations: ['41-37=4', '39+4=43'] Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,52 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: 52:[39, 37, 47], Operations: ['41+6=47'] Exploring Operation: 47-37=10, Resulting Numbers: [39, 10] Generated Node #0,3,0: 52:[39, 10] Operation: 47-37=10 Exploring Operation: 39+37=76, Resulting Numbers: [47, 76] Generated Node #0,3,1: 52:[47, 76] Operation: 39+37=76 Exploring Operation: 39-37=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 52:[47, 2] Operation: 39-37=2 Exploring Operation: 47-39=8, Resulting Numbers: [37, 8] Generated Node #0,3,3: 52:[37, 8] Operation: 47-39=8 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[47, 2], Operations: ['41+6=47', '39-37=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,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,3 Current State: 52:[37, 8], Operations: ['41+6=47', '47-39=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,52 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,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,0 Current State: 52:[39, 10], Operations: ['41+6=47', '47-37=10'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,52 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,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,1 Current State: 52:[47, 76], Operations: ['41+6=47', '39+37=76'] Exploring Operation: 47+76=123, Resulting Numbers: [123] 123,52 unequal: No Solution Exploring Operation: 47*76=3572, Resulting Numbers: [3572] 3572,52 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 52:[2, 47], Operations: ['39-37=2', '41+6=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[2, 31], Operations: ['41-39=2', '37-6=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,52 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[2, 43], Operations: ['41-39=2', '6+37=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[2, 35], Operations: ['39-37=2', '41-6=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[41, 4], Operations: ['39-37=2', '6-2=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[6, 35], Operations: ['41-39=2', '37-2=35'] 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 Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[37, 4], Operations: ['41-39=2', '6-2=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[6, 43], Operations: ['39-37=2', '41+2=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,52 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,52 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 50, 97, 3, 2 ]
46
[ "97-50=47", "3-2=1", "47-1=46" ]
Current State: 46:[50, 97, 3, 2], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [3, 2, 47] Generated Node #2: [3, 2, 47] from Operation: 97-50=47 Current State: 46:[3, 2, 47], Operations: ['97-50=47'] Exploring Operation: 3-2=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 3-2=1 Current State: 46:[47, 1], Operations: ['97-50=47', '3-2=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[50, 97, 3, 2], Operations: [] Exploring Operation: 50-3=47, Resulting Numbers: [97, 2, 47] Generated Node #0,0: 46:[97, 2, 47] Operation: 50-3=47 Exploring Operation: 97-3=94, Resulting Numbers: [50, 2, 94] Generated Node #0,1: 46:[50, 2, 94] Operation: 97-3=94 Exploring Operation: 97-50=47, Resulting Numbers: [3, 2, 47] Generated Node #0,2: 46:[3, 2, 47] Operation: 97-50=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[3, 2, 47], Operations: ['97-50=47'] Exploring Operation: 47-3=44, Resulting Numbers: [2, 44] Generated Node #0,2,0: 46:[2, 44] Operation: 47-3=44 Exploring Operation: 3-2=1, Resulting Numbers: [47, 1] Generated Node #0,2,1: 46:[47, 1] Operation: 3-2=1 Exploring Operation: 47-2=45, Resulting Numbers: [3, 45] Generated Node #0,2,2: 46:[3, 45] Operation: 47-2=45 Moving to Node #0,2,0 Current State: 46:[2, 44], Operations: ['97-50=47', '47-3=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[50, 97, 3, 2], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [3, 2, 47] Generated Node #0,2: 46:[3, 2, 47] Operation: 97-50=47 Moving to Node #0,2 Current State: 46:[3, 2, 47], Operations: ['97-50=47'] Exploring Operation: 47-3=44, Resulting Numbers: [2, 44] Generated Node #0,2,0: 46:[2, 44] Operation: 47-3=44 Moving to Node #0,2,0 Current State: 46:[2, 44], Operations: ['97-50=47', '47-3=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 24, 21, 31, 24 ]
38
[ "24+21=45", "31-24=7", "45-7=38" ]
Current State: 38:[24, 21, 31, 24], Operations: [] Exploring Operation: 24+21=45, Resulting Numbers: [31, 45] Generated Node #2: [31, 45] from Operation: 24+21=45 Current State: 38:[31, 45], Operations: ['24+21=45'] Exploring Operation: 31-24=7, Resulting Numbers: [45, 7] Generated Node #3: [45, 7] from Operation: 31-24=7 Current State: 38:[45, 7], Operations: ['24+21=45', '31-24=7'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[24, 21, 31, 24], Operations: [] Exploring Operation: 24/24=1, Resulting Numbers: [21, 31, 1] Generated Node #0,0: 38:[21, 31, 1] Operation: 24/24=1 Exploring Operation: 31-24=7, Resulting Numbers: [21, 24, 7] Generated Node #0,1: 38:[21, 24, 7] Operation: 31-24=7 Exploring Operation: 24-24=0, Resulting Numbers: [21, 31, 0] Generated Node #0,2: 38:[21, 31, 0] Operation: 24-24=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[21, 31, 1], Operations: ['24/24=1'] Exploring Operation: 31+1=32, Resulting Numbers: [21, 32] Generated Node #0,0,0: 38:[21, 32] Operation: 31+1=32 Exploring Operation: 21-1=20, Resulting Numbers: [31, 20] Generated Node #0,0,1: 38:[31, 20] Operation: 21-1=20 Exploring Operation: 31-21=10, Resulting Numbers: [1, 10] Generated Node #0,0,2: 38:[1, 10] Operation: 31-21=10 Moving to Node #0,0,0 Current State: 38:[21, 32], Operations: ['24/24=1', '31+1=32'] Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,38 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[31, 20], Operations: ['24/24=1', '21-1=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[1, 10], Operations: ['24/24=1', '31-21=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[21, 31, 0], Operations: ['24-24=0'] Exploring Operation: 21+0=21, Resulting Numbers: [31, 21] Generated Node #0,2,0: 38:[31, 21] Operation: 21+0=21 Exploring Operation: 31*0=0, Resulting Numbers: [21, 0] Generated Node #0,2,1: 38:[21, 0] Operation: 31*0=0 Exploring Operation: 21*0=0, Resulting Numbers: [31, 0] Generated Node #0,2,2: 38:[31, 0] Operation: 21*0=0 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[21, 0], Operations: ['24-24=0', '31*0=0'] Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,38 unequal: No Solution No 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: 38:[31, 21], Operations: ['24-24=0', '21+0=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,38 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,38 unequal: No Solution No 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: 38:[31, 0], Operations: ['24-24=0', '21*0=0'] Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,38 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: 38:[21, 24, 7], Operations: ['31-24=7'] Exploring Operation: 24-21=3, Resulting Numbers: [7, 3] Generated Node #0,1,0: 38:[7, 3] Operation: 24-21=3 Exploring Operation: 24-7=17, Resulting Numbers: [21, 17] Generated Node #0,1,1: 38:[21, 17] Operation: 24-7=17 Exploring Operation: 21/7=3, Resulting Numbers: [24, 3] Generated Node #0,1,2: 38:[24, 3] Operation: 21/7=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[21, 17], Operations: ['31-24=7', '24-7=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,38 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[24, 21, 31, 24], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [21, 24, 7] Generated Node #0,1: 38:[21, 24, 7] Operation: 31-24=7 Moving to Node #0,1 Current State: 38:[21, 24, 7], Operations: ['31-24=7'] Exploring Operation: 24-7=17, Resulting Numbers: [21, 17] Generated Node #0,1,1: 38:[21, 17] Operation: 24-7=17 Moving to Node #0,1,1 Current State: 38:[21, 17], Operations: ['31-24=7', '24-7=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
mult_heuristic
[ 88, 44, 74, 91 ]
19
[ "88/44=2", "91-74=17", "2+17=19" ]
Current State: 19:[88, 44, 74, 91], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [74, 91, 2] Generated Node #2: [74, 91, 2] from Operation: 88/44=2 Current State: 19:[74, 91, 2], Operations: ['88/44=2'] Exploring Operation: 91-74=17, Resulting Numbers: [2, 17] Generated Node #3: [2, 17] from Operation: 91-74=17 Current State: 19:[2, 17], Operations: ['88/44=2', '91-74=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[88, 44, 74, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [44, 74, 3] Generated Node #0,0: 19:[44, 74, 3] Operation: 91-88=3 Moving to Node #0,0 Current State: 19:[44, 74, 3], Operations: ['91-88=3'] Exploring Operation: 74-44=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 19:[3, 30] Operation: 74-44=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[3, 30], Operations: ['91-88=3', '74-44=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 15, 86, 27, 18 ]
83
[ "27+18=45", "45/15=3", "86-3=83" ]
Current State: 83:[15, 86, 27, 18], Operations: [] Exploring Operation: 27+18=45, Resulting Numbers: [15, 86, 45] Generated Node #2: [15, 86, 45] from Operation: 27+18=45 Current State: 83:[15, 86, 45], Operations: ['27+18=45'] Exploring Operation: 45/15=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 45/15=3 Current State: 83:[86, 3], Operations: ['27+18=45', '45/15=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 86, 27, 18], Operations: [] Exploring Operation: 15+27=42, Resulting Numbers: [86, 18, 42] Generated Node #0,0: 83:[86, 18, 42] Operation: 15+27=42 Exploring Operation: 15+18=33, Resulting Numbers: [86, 27, 33] Generated Node #0,1: 83:[86, 27, 33] Operation: 15+18=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[86, 18, 42], Operations: ['15+27=42'] Exploring Operation: 86-18=68, Resulting Numbers: [42, 68] Generated Node #0,0,0: 83:[42, 68] Operation: 86-18=68 Exploring Operation: 18+42=60, Resulting Numbers: [86, 60] Generated Node #0,0,1: 83:[86, 60] Operation: 18+42=60 Moving to Node #0,0,1 Current State: 83:[86, 60], Operations: ['15+27=42', '18+42=60'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[42, 68], Operations: ['15+27=42', '86-18=68'] Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,83 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[86, 27, 33], Operations: ['15+18=33'] Exploring Operation: 27+33=60, Resulting Numbers: [86, 60] Generated Node #0,1,0: 83:[86, 60] Operation: 27+33=60 Exploring Operation: 86-27=59, Resulting Numbers: [33, 59] Generated Node #0,1,1: 83:[33, 59] Operation: 86-27=59 Moving to Node #0,1,0 Current State: 83:[86, 60], Operations: ['15+18=33', '27+33=60'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[33, 59], Operations: ['15+18=33', '86-27=59'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 54, 59, 30 ]
62
[ "54/2=27", "59+30=89", "89-27=62" ]
Current State: 62:[2, 54, 59, 30], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [59, 30, 27] Generated Node #2: [59, 30, 27] from Operation: 54/2=27 Current State: 62:[59, 30, 27], Operations: ['54/2=27'] Exploring Operation: 59+30=89, Resulting Numbers: [27, 89] Generated Node #3: [27, 89] from Operation: 59+30=89 Current State: 62:[27, 89], Operations: ['54/2=27', '59+30=89'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[2, 54, 59, 30], Operations: [] Exploring Operation: 59-54=5, Resulting Numbers: [2, 30, 5] Generated Node #0,0: 62:[2, 30, 5] Operation: 59-54=5 Moving to Node #0,0 Current State: 62:[2, 30, 5], Operations: ['59-54=5'] Exploring Operation: 5-2=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 62:[30, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[30, 3], Operations: ['59-54=5', '5-2=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,62 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
[ 50, 31, 90, 5 ]
59
[ "50+90=140", "140/5=28", "31+28=59" ]
Current State: 59:[50, 31, 90, 5], Operations: [] Exploring Operation: 50+90=140, Resulting Numbers: [31, 5, 140] Generated Node #2: [31, 5, 140] from Operation: 50+90=140 Current State: 59:[31, 5, 140], Operations: ['50+90=140'] Exploring Operation: 140/5=28, Resulting Numbers: [31, 28] Generated Node #3: [31, 28] from Operation: 140/5=28 Current State: 59:[31, 28], Operations: ['50+90=140', '140/5=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[50, 31, 90, 5], Operations: [] Exploring Operation: 50+5=55, Resulting Numbers: [31, 90, 55] Generated Node #0,0: 59:[31, 90, 55] Operation: 50+5=55 Moving to Node #0,0 Current State: 59:[31, 90, 55], Operations: ['50+5=55'] Exploring Operation: 90-31=59, Resulting Numbers: [55, 59] Generated Node #0,0,0: 59:[55, 59] Operation: 90-31=59 Moving to Node #0,0,0 Current State: 59:[55, 59], Operations: ['50+5=55', '90-31=59'] Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,59 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 71, 3, 2, 88 ]
30
[ "71+3=74", "88/2=44", "74-44=30" ]
Current State: 30:[71, 3, 2, 88], Operations: [] Exploring Operation: 71+3=74, Resulting Numbers: [2, 88, 74] Generated Node #2: [2, 88, 74] from Operation: 71+3=74 Current State: 30:[2, 88, 74], Operations: ['71+3=74'] Exploring Operation: 88/2=44, Resulting Numbers: [74, 44] Generated Node #3: [74, 44] from Operation: 88/2=44 Current State: 30:[74, 44], Operations: ['71+3=74', '88/2=44'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[71, 3, 2, 88], Operations: [] Exploring Operation: 88-3=85, Resulting Numbers: [71, 2, 85] Generated Node #0,0: 30:[71, 2, 85] Operation: 88-3=85 Exploring Operation: 88-71=17, Resulting Numbers: [3, 2, 17] Generated Node #0,1: 30:[3, 2, 17] Operation: 88-71=17 Exploring Operation: 88/2=44, Resulting Numbers: [71, 3, 44] Generated Node #0,2: 30:[71, 3, 44] Operation: 88/2=44 Exploring Operation: 71-2=69, Resulting Numbers: [3, 88, 69] Generated Node #0,3: 30:[3, 88, 69] Operation: 71-2=69 Exploring Operation: 71-3=68, Resulting Numbers: [2, 88, 68] Generated Node #0,4: 30:[2, 88, 68] Operation: 71-3=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[3, 2, 17], Operations: ['88-71=17'] Exploring Operation: 3-2=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 30:[17, 1] Operation: 3-2=1 Exploring Operation: 3*2=6, Resulting Numbers: [17, 6] Generated Node #0,1,1: 30:[17, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [17, 5] Generated Node #0,1,2: 30:[17, 5] Operation: 3+2=5 Exploring Operation: 17-3=14, Resulting Numbers: [2, 14] Generated Node #0,1,3: 30:[2, 14] Operation: 17-3=14 Exploring Operation: 17-2=15, Resulting Numbers: [3, 15] Generated Node #0,1,4: 30:[3, 15] Operation: 17-2=15 Moving to Node #0,1,4 Current State: 30:[3, 15], Operations: ['88-71=17', '17-2=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[2, 14], Operations: ['88-71=17', '17-3=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[17, 6], Operations: ['88-71=17', '3*2=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,30 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[17, 5], Operations: ['88-71=17', '3+2=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[17, 1], Operations: ['88-71=17', '3-2=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[71, 3, 44], Operations: ['88/2=44'] Exploring Operation: 3+44=47, Resulting Numbers: [71, 47] Generated Node #0,2,0: 30:[71, 47] Operation: 3+44=47 Exploring Operation: 44-3=41, Resulting Numbers: [71, 41] Generated Node #0,2,1: 30:[71, 41] Operation: 44-3=41 Exploring Operation: 71+3=74, Resulting Numbers: [44, 74] Generated Node #0,2,2: 30:[44, 74] Operation: 71+3=74 Exploring Operation: 71-44=27, Resulting Numbers: [3, 27] Generated Node #0,2,3: 30:[3, 27] Operation: 71-44=27 Exploring Operation: 71-3=68, Resulting Numbers: [44, 68] Generated Node #0,2,4: 30:[44, 68] Operation: 71-3=68 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 30:[3, 27], Operations: ['88/2=44', '71-44=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[71, 3, 2, 88], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [71, 3, 44] Generated Node #0,2: 30:[71, 3, 44] Operation: 88/2=44 Moving to Node #0,2 Current State: 30:[71, 3, 44], Operations: ['88/2=44'] Exploring Operation: 71-44=27, Resulting Numbers: [3, 27] Generated Node #0,2,3: 30:[3, 27] Operation: 71-44=27 Moving to Node #0,2,3 Current State: 30:[3, 27], Operations: ['88/2=44', '71-44=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 84, 35, 40, 8 ]
72
[ "84-35=49", "49-40=9", "8*9=72" ]
Current State: 72:[84, 35, 40, 8], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [40, 8, 49] Generated Node #2: [40, 8, 49] from Operation: 84-35=49 Current State: 72:[40, 8, 49], Operations: ['84-35=49'] Exploring Operation: 49-40=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 49-40=9 Current State: 72:[8, 9], Operations: ['84-35=49', '49-40=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[84, 35, 40, 8], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [84, 8, 5] Generated Node #0,0: 72:[84, 8, 5] Operation: 40-35=5 Exploring Operation: 84-40=44, Resulting Numbers: [35, 8, 44] Generated Node #0,1: 72:[35, 8, 44] Operation: 84-40=44 Exploring Operation: 84-8=76, Resulting Numbers: [35, 40, 76] Generated Node #0,2: 72:[35, 40, 76] Operation: 84-8=76 Exploring Operation: 40/8=5, Resulting Numbers: [84, 35, 5] Generated Node #0,3: 72:[84, 35, 5] Operation: 40/8=5 Exploring Operation: 35+40=75, Resulting Numbers: [84, 8, 75] Generated Node #0,4: 72:[84, 8, 75] Operation: 35+40=75 Moving to Node #0,1 Current State: 72:[35, 8, 44], Operations: ['84-40=44'] Exploring Operation: 44-35=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 72:[8, 9] Operation: 44-35=9 Exploring Operation: 35+44=79, Resulting Numbers: [8, 79] Generated Node #0,1,1: 72:[8, 79] Operation: 35+44=79 Exploring Operation: 35-8=27, Resulting Numbers: [44, 27] Generated Node #0,1,2: 72:[44, 27] Operation: 35-8=27 Exploring Operation: 44-8=36, Resulting Numbers: [35, 36] Generated Node #0,1,3: 72:[35, 36] Operation: 44-8=36 Exploring Operation: 35+8=43, Resulting Numbers: [44, 43] Generated Node #0,1,4: 72:[44, 43] Operation: 35+8=43 Moving to Node #0,2 Current State: 72:[35, 40, 76], Operations: ['84-8=76'] Exploring Operation: 76-35=41, Resulting Numbers: [40, 41] Generated Node #0,2,0: 72:[40, 41] Operation: 76-35=41 Exploring Operation: 40-35=5, Resulting Numbers: [76, 5] Generated Node #0,2,1: 72:[76, 5] Operation: 40-35=5 Exploring Operation: 35+40=75, Resulting Numbers: [76, 75] Generated Node #0,2,2: 72:[76, 75] Operation: 35+40=75 Exploring Operation: 35+76=111, Resulting Numbers: [40, 111] Generated Node #0,2,3: 72:[40, 111] Operation: 35+76=111 Exploring Operation: 76-40=36, Resulting Numbers: [35, 36] Generated Node #0,2,4: 72:[35, 36] Operation: 76-40=36 Moving to Node #0,0 Current State: 72:[84, 8, 5], Operations: ['40-35=5'] Exploring Operation: 8-5=3, Resulting Numbers: [84, 3] Generated Node #0,0,0: 72:[84, 3] Operation: 8-5=3 Exploring Operation: 8*5=40, Resulting Numbers: [84, 40] Generated Node #0,0,1: 72:[84, 40] Operation: 8*5=40 Exploring Operation: 84-8=76, Resulting Numbers: [5, 76] Generated Node #0,0,2: 72:[5, 76] Operation: 84-8=76 Exploring Operation: 84-5=79, Resulting Numbers: [8, 79] Generated Node #0,0,3: 72:[8, 79] Operation: 84-5=79 Exploring Operation: 8+5=13, Resulting Numbers: [84, 13] Generated Node #0,0,4: 72:[84, 13] Operation: 8+5=13 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[5, 76], Operations: ['40-35=5', '84-8=76'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[8, 79], Operations: ['40-35=5', '84-5=79'] Exploring Operation: 8*79=632, Resulting Numbers: [632] 632,72 unequal: No Solution Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[84, 3], Operations: ['40-35=5', '8-5=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,72 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 72:[84, 13], Operations: ['40-35=5', '8+5=13'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[84, 40], Operations: ['40-35=5', '8*5=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,72 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,72 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,72 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: 72:[84, 35, 5], Operations: ['40/8=5'] Exploring Operation: 84-35=49, Resulting Numbers: [5, 49] Generated Node #0,3,0: 72:[5, 49] Operation: 84-35=49 Exploring Operation: 84-5=79, Resulting Numbers: [35, 79] Generated Node #0,3,1: 72:[35, 79] Operation: 84-5=79 Exploring Operation: 84+5=89, Resulting Numbers: [35, 89] Generated Node #0,3,2: 72:[35, 89] Operation: 84+5=89 Exploring Operation: 35/5=7, Resulting Numbers: [84, 7] Generated Node #0,3,3: 72:[84, 7] Operation: 35/5=7 Exploring Operation: 35+5=40, Resulting Numbers: [84, 40] Generated Node #0,3,4: 72:[84, 40] Operation: 35+5=40 Moving to Node #0,4 Current State: 72:[84, 8, 75], Operations: ['35+40=75'] Exploring Operation: 84+8=92, Resulting Numbers: [75, 92] Generated Node #0,4,0: 72:[75, 92] Operation: 84+8=92 Exploring Operation: 8+75=83, Resulting Numbers: [84, 83] Generated Node #0,4,1: 72:[84, 83] Operation: 8+75=83 Exploring Operation: 75-8=67, Resulting Numbers: [84, 67] Generated Node #0,4,2: 72:[84, 67] Operation: 75-8=67 Exploring Operation: 84-8=76, Resulting Numbers: [75, 76] Generated Node #0,4,3: 72:[75, 76] Operation: 84-8=76 Exploring Operation: 84-75=9, Resulting Numbers: [8, 9] Generated Node #0,4,4: 72:[8, 9] Operation: 84-75=9 Moving to Node #0,1,0 Current State: 72:[8, 9], Operations: ['84-40=44', '44-35=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,72 unequal: No Solution 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:[84, 35, 40, 8], Operations: [] Exploring Operation: 84-40=44, Resulting Numbers: [35, 8, 44] Generated Node #0,1: 72:[35, 8, 44] Operation: 84-40=44 Moving to Node #0,1 Current State: 72:[35, 8, 44], Operations: ['84-40=44'] Exploring Operation: 44-35=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 72:[8, 9] Operation: 44-35=9 Moving to Node #0,1,0 Current State: 72:[8, 9], Operations: ['84-40=44', '44-35=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.953993
hs_5
sum_heuristic
[ 64, 83, 65, 34 ]
80
[ "83-64=19", "65+34=99", "99-19=80" ]
Current State: 80:[64, 83, 65, 34], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [65, 34, 19] Generated Node #2: [65, 34, 19] from Operation: 83-64=19 Current State: 80:[65, 34, 19], Operations: ['83-64=19'] Exploring Operation: 65+34=99, Resulting Numbers: [19, 99] Generated Node #3: [19, 99] from Operation: 65+34=99 Current State: 80:[19, 99], Operations: ['83-64=19', '65+34=99'] Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[64, 83, 65, 34], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [65, 34, 19] Generated Node #0,0: 80:[65, 34, 19] Operation: 83-64=19 Exploring Operation: 64-34=30, Resulting Numbers: [83, 65, 30] Generated Node #0,1: 80:[83, 65, 30] Operation: 64-34=30 Exploring Operation: 65-64=1, Resulting Numbers: [83, 34, 1] Generated Node #0,2: 80:[83, 34, 1] Operation: 65-64=1 Exploring Operation: 83-65=18, Resulting Numbers: [64, 34, 18] Generated Node #0,3: 80:[64, 34, 18] Operation: 83-65=18 Exploring Operation: 65-34=31, Resulting Numbers: [64, 83, 31] Generated Node #0,4: 80:[64, 83, 31] Operation: 65-34=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[83, 34, 1], Operations: ['65-64=1'] Exploring Operation: 34+1=35, Resulting Numbers: [83, 35] Generated Node #0,2,0: 80:[83, 35] Operation: 34+1=35 Exploring Operation: 34*1=34, Resulting Numbers: [83, 34] Generated Node #0,2,1: 80:[83, 34] Operation: 34*1=34 Exploring Operation: 83-1=82, Resulting Numbers: [34, 82] Generated Node #0,2,2: 80:[34, 82] Operation: 83-1=82 Exploring Operation: 83*1=83, Resulting Numbers: [34, 83] Generated Node #0,2,3: 80:[34, 83] Operation: 83*1=83 Exploring Operation: 83/1=83, Resulting Numbers: [34, 83] Generated Node #0,2,4: 80:[34, 83] Operation: 83/1=83 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[83, 35], Operations: ['65-64=1', '34+1=35'] Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 83*35=2905, Resulting Numbers: [2905] 2905,80 unequal: No Solution Exploring Operation: 83+35=118, Resulting Numbers: [118] 118,80 unequal: No Solution No 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: 80:[34, 82], Operations: ['65-64=1', '83-1=82'] Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,80 unequal: No Solution Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,80 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,80 unequal: No Solution No 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: 80:[83, 34], Operations: ['65-64=1', '34*1=34'] Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,80 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,80 unequal: No Solution No 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: 80:[34, 83], Operations: ['65-64=1', '83*1=83'] Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 34*83=2822, Resulting Numbers: [2822] 2822,80 unequal: No Solution Exploring Operation: 34+83=117, Resulting Numbers: [117] 117,80 unequal: No Solution No 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: 80:[34, 83], Operations: ['65-64=1', '83/1=83'] Exploring Operation: 34+83=117, Resulting Numbers: [117] 117,80 unequal: No Solution Exploring Operation: 34*83=2822, Resulting Numbers: [2822] 2822,80 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,80 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: 80:[65, 34, 19], Operations: ['83-64=19'] Exploring Operation: 65+34=99, Resulting Numbers: [19, 99] Generated Node #0,0,0: 80:[19, 99] Operation: 65+34=99 Exploring Operation: 65+19=84, Resulting Numbers: [34, 84] Generated Node #0,0,1: 80:[34, 84] Operation: 65+19=84 Exploring Operation: 34-19=15, Resulting Numbers: [65, 15] Generated Node #0,0,2: 80:[65, 15] Operation: 34-19=15 Exploring Operation: 65-19=46, Resulting Numbers: [34, 46] Generated Node #0,0,3: 80:[34, 46] Operation: 65-19=46 Exploring Operation: 65-34=31, Resulting Numbers: [19, 31] Generated Node #0,0,4: 80:[19, 31] Operation: 65-34=31 Moving to Node #0,0,1 Current State: 80:[34, 84], Operations: ['83-64=19', '65+19=84'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,80 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[19, 31], Operations: ['83-64=19', '65-34=31'] Exploring Operation: 19*31=589, Resulting Numbers: [589] 589,80 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 19+31=50, Resulting Numbers: [50] 50,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[34, 46], Operations: ['83-64=19', '65-19=46'] Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,80 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[64, 83, 65, 34], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [65, 34, 19] Generated Node #0,0: 80:[65, 34, 19] Operation: 83-64=19 Moving to Node #0,0 Current State: 80:[65, 34, 19], Operations: ['83-64=19'] Exploring Operation: 65-19=46, Resulting Numbers: [34, 46] Generated Node #0,0,3: 80:[34, 46] Operation: 65-19=46 Moving to Node #0,0,3 Current State: 80:[34, 46], Operations: ['83-64=19', '65-19=46'] Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 49, 12, 41, 20 ]
64
[ "49-41=8", "20-12=8", "8*8=64" ]
Current State: 64:[49, 12, 41, 20], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [12, 20, 8] Generated Node #2: [12, 20, 8] from Operation: 49-41=8 Current State: 64:[12, 20, 8], Operations: ['49-41=8'] Exploring Operation: 20-12=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 20-12=8 Current State: 64:[8, 8], Operations: ['49-41=8', '20-12=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[49, 12, 41, 20], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [12, 20, 8] Generated Node #0,0: 64:[12, 20, 8] Operation: 49-41=8 Moving to Node #0,0 Current State: 64:[12, 20, 8], Operations: ['49-41=8'] Exploring Operation: 12+20=32, Resulting Numbers: [8, 32] Generated Node #0,0,0: 64:[8, 32] Operation: 12+20=32 Moving to Node #0,0,0 Current State: 64:[8, 32], Operations: ['49-41=8', '12+20=32'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 69, 14, 22, 24 ]
46
[ "69*24=1656", "14+22=36", "1656/36=46" ]
Current State: 46:[69, 14, 22, 24], Operations: [] Exploring Operation: 69*24=1656, Resulting Numbers: [14, 22, 1656] Generated Node #2: [14, 22, 1656] from Operation: 69*24=1656 Current State: 46:[14, 22, 1656], Operations: ['69*24=1656'] Exploring Operation: 14+22=36, Resulting Numbers: [1656, 36] Generated Node #3: [1656, 36] from Operation: 14+22=36 Current State: 46:[1656, 36], Operations: ['69*24=1656', '14+22=36'] Exploring Operation: 1656/36=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[69, 14, 22, 24], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [14, 22, 45] Generated Node #0,0: 46:[14, 22, 45] Operation: 69-24=45 Exploring Operation: 22-14=8, Resulting Numbers: [69, 24, 8] Generated Node #0,1: 46:[69, 24, 8] Operation: 22-14=8 Exploring Operation: 69-22=47, Resulting Numbers: [14, 24, 47] Generated Node #0,2: 46:[14, 24, 47] Operation: 69-22=47 Exploring Operation: 69-14=55, Resulting Numbers: [22, 24, 55] Generated Node #0,3: 46:[22, 24, 55] Operation: 69-14=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[14, 22, 45], Operations: ['69-24=45'] Exploring Operation: 45-22=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 46:[14, 23] Operation: 45-22=23 Exploring Operation: 22-14=8, Resulting Numbers: [45, 8] Generated Node #0,0,1: 46:[45, 8] Operation: 22-14=8 Exploring Operation: 45-14=31, Resulting Numbers: [22, 31] Generated Node #0,0,2: 46:[22, 31] Operation: 45-14=31 Exploring Operation: 14+22=36, Resulting Numbers: [45, 36] Generated Node #0,0,3: 46:[45, 36] Operation: 14+22=36 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[45, 8], Operations: ['69-24=45', '22-14=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,46 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[14, 23], Operations: ['69-24=45', '45-22=23'] Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,46 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[22, 31], Operations: ['69-24=45', '45-14=31'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 46:[45, 36], Operations: ['69-24=45', '14+22=36'] Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,46 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,46 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: 46:[14, 24, 47], Operations: ['69-22=47'] Exploring Operation: 14+24=38, Resulting Numbers: [47, 38] Generated Node #0,2,0: 46:[47, 38] Operation: 14+24=38 Exploring Operation: 47-14=33, Resulting Numbers: [24, 33] Generated Node #0,2,1: 46:[24, 33] Operation: 47-14=33 Exploring Operation: 24-14=10, Resulting Numbers: [47, 10] Generated Node #0,2,2: 46:[47, 10] Operation: 24-14=10 Exploring Operation: 47-24=23, Resulting Numbers: [14, 23] Generated Node #0,2,3: 46:[14, 23] Operation: 47-24=23 Moving to Node #0,2,0 Current State: 46:[47, 38], Operations: ['69-22=47', '14+24=38'] Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,46 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[14, 23], Operations: ['69-22=47', '47-24=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[47, 10], Operations: ['69-22=47', '24-14=10'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,46 unequal: No Solution Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[24, 33], Operations: ['69-22=47', '47-14=33'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,46 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,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 Current State: 46:[22, 24, 55], Operations: ['69-14=55'] Exploring Operation: 22+24=46, Resulting Numbers: [55, 46] Generated Node #0,3,0: 46:[55, 46] Operation: 22+24=46 Exploring Operation: 24-22=2, Resulting Numbers: [55, 2] Generated Node #0,3,1: 46:[55, 2] Operation: 24-22=2 Exploring Operation: 55-24=31, Resulting Numbers: [22, 31] Generated Node #0,3,2: 46:[22, 31] Operation: 55-24=31 Exploring Operation: 55-22=33, Resulting Numbers: [24, 33] Generated Node #0,3,3: 46:[24, 33] Operation: 55-22=33 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[55, 46], Operations: ['69-14=55', '22+24=46'] Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,46 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[55, 2], Operations: ['69-14=55', '24-22=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[22, 31], Operations: ['69-14=55', '55-24=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[24, 33], Operations: ['69-14=55', '55-22=33'] Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,46 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,46 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: 46:[69, 24, 8], Operations: ['22-14=8'] Exploring Operation: 24/8=3, Resulting Numbers: [69, 3] Generated Node #0,1,0: 46:[69, 3] Operation: 24/8=3 Exploring Operation: 24-8=16, Resulting Numbers: [69, 16] Generated Node #0,1,1: 46:[69, 16] Operation: 24-8=16 Exploring Operation: 69-8=61, Resulting Numbers: [24, 61] Generated Node #0,1,2: 46:[24, 61] Operation: 69-8=61 Exploring Operation: 69-24=45, Resulting Numbers: [8, 45] Generated Node #0,1,3: 46:[8, 45] Operation: 69-24=45 Moving to Node #0,1,3 Current State: 46:[8, 45], Operations: ['22-14=8', '69-24=45'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[24, 61], Operations: ['22-14=8', '69-8=61'] Exploring Operation: 24*61=1464, Resulting Numbers: [1464] 1464,46 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[69, 3], Operations: ['22-14=8', '24/8=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,46 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[69, 16], Operations: ['22-14=8', '24-8=16'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,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
[ 84, 72, 94, 22 ]
84
[ "84+72=156", "94-22=72", "156-72=84" ]
Current State: 84:[84, 72, 94, 22], Operations: [] Exploring Operation: 84+72=156, Resulting Numbers: [94, 22, 156] Generated Node #2: [94, 22, 156] from Operation: 84+72=156 Current State: 84:[94, 22, 156], Operations: ['84+72=156'] Exploring Operation: 94-22=72, Resulting Numbers: [156, 72] Generated Node #3: [156, 72] from Operation: 94-22=72 Current State: 84:[156, 72], Operations: ['84+72=156', '94-22=72'] Exploring Operation: 156-72=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[84, 72, 94, 22], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [84, 22, 22] Generated Node #0,0: 84:[84, 22, 22] Operation: 94-72=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[84, 22, 22], Operations: ['94-72=22'] Exploring Operation: 22/22=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 84:[84, 1] Operation: 22/22=1 Moving to Node #0,0,0 Current State: 84:[84, 1], Operations: ['94-72=22', '22/22=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[84, 72, 94, 22], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [84, 22, 22] Generated Node #0,0: 84:[84, 22, 22] Operation: 94-72=22 Moving to Node #0,0 Current State: 84:[84, 22, 22], Operations: ['94-72=22'] Exploring Operation: 22/22=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 84:[84, 1] Operation: 22/22=1 Moving to Node #0,0,0 Current State: 84:[84, 1], Operations: ['94-72=22', '22/22=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 36, 18, 12, 34 ]
88
[ "36*18=648", "648/12=54", "34+54=88" ]
Current State: 88:[36, 18, 12, 34], Operations: [] Exploring Operation: 36*18=648, Resulting Numbers: [12, 34, 648] Generated Node #2: [12, 34, 648] from Operation: 36*18=648 Current State: 88:[12, 34, 648], Operations: ['36*18=648'] Exploring Operation: 648/12=54, Resulting Numbers: [34, 54] Generated Node #3: [34, 54] from Operation: 648/12=54 Current State: 88:[34, 54], Operations: ['36*18=648', '648/12=54'] Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[36, 18, 12, 34], Operations: [] Exploring Operation: 34-12=22, Resulting Numbers: [36, 18, 22] Generated Node #0,0: 88:[36, 18, 22] Operation: 34-12=22 Exploring Operation: 36/18=2, Resulting Numbers: [12, 34, 2] Generated Node #0,1: 88:[12, 34, 2] Operation: 36/18=2 Exploring Operation: 36-34=2, Resulting Numbers: [18, 12, 2] Generated Node #0,2: 88:[18, 12, 2] Operation: 36-34=2 Exploring Operation: 34-18=16, Resulting Numbers: [36, 12, 16] Generated Node #0,3: 88:[36, 12, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[18, 12, 2], Operations: ['36-34=2'] Exploring Operation: 18/2=9, Resulting Numbers: [12, 9] Generated Node #0,2,0: 88:[12, 9] Operation: 18/2=9 Exploring Operation: 18+2=20, Resulting Numbers: [12, 20] Generated Node #0,2,1: 88:[12, 20] Operation: 18+2=20 Exploring Operation: 12-2=10, Resulting Numbers: [18, 10] Generated Node #0,2,2: 88:[18, 10] Operation: 12-2=10 Exploring Operation: 18-12=6, Resulting Numbers: [2, 6] Generated Node #0,2,3: 88:[2, 6] Operation: 18-12=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[12, 9], Operations: ['36-34=2', '18/2=9'] Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,88 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[2, 6], Operations: ['36-34=2', '18-12=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[12, 20], Operations: ['36-34=2', '18+2=20'] Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,88 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[18, 10], Operations: ['36-34=2', '12-2=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[12, 34, 2], Operations: ['36/18=2'] Exploring Operation: 34-12=22, Resulting Numbers: [2, 22] Generated Node #0,1,0: 88:[2, 22] Operation: 34-12=22 Exploring Operation: 12+34=46, Resulting Numbers: [2, 46] Generated Node #0,1,1: 88:[2, 46] Operation: 12+34=46 Exploring Operation: 34/2=17, Resulting Numbers: [12, 17] Generated Node #0,1,2: 88:[12, 17] Operation: 34/2=17 Exploring Operation: 34+2=36, Resulting Numbers: [12, 36] Generated Node #0,1,3: 88:[12, 36] Operation: 34+2=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[2, 22], Operations: ['36/18=2', '34-12=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[2, 46], Operations: ['36/18=2', '12+34=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[12, 17], Operations: ['36/18=2', '34/2=17'] Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,88 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 88:[12, 36], Operations: ['36/18=2', '34+2=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,88 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[36, 18, 22], Operations: ['34-12=22'] Exploring Operation: 36/18=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 88:[22, 2] Operation: 36/18=2 Exploring Operation: 36-22=14, Resulting Numbers: [18, 14] Generated Node #0,0,1: 88:[18, 14] Operation: 36-22=14 Exploring Operation: 22-18=4, Resulting Numbers: [36, 4] Generated Node #0,0,2: 88:[36, 4] Operation: 22-18=4 Exploring Operation: 36-18=18, Resulting Numbers: [22, 18] Generated Node #0,0,3: 88:[22, 18] Operation: 36-18=18 Moving to Node #0,0,0 Current State: 88:[22, 2], Operations: ['34-12=22', '36/18=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[22, 18], Operations: ['34-12=22', '36-18=18'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,88 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[18, 14], Operations: ['34-12=22', '36-22=14'] Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,88 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[36, 4], Operations: ['34-12=22', '22-18=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,88 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[36, 12, 16], Operations: ['34-18=16'] Exploring Operation: 36-16=20, Resulting Numbers: [12, 20] Generated Node #0,3,0: 88:[12, 20] Operation: 36-16=20 Exploring Operation: 16-12=4, Resulting Numbers: [36, 4] Generated Node #0,3,1: 88:[36, 4] Operation: 16-12=4 Exploring Operation: 36-12=24, Resulting Numbers: [16, 24] Generated Node #0,3,2: 88:[16, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [16, 3] Generated Node #0,3,3: 88:[16, 3] Operation: 36/12=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[12, 20], Operations: ['34-18=16', '36-16=20'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,88 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[16, 3], Operations: ['34-18=16', '36/12=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[16, 24], Operations: ['34-18=16', '36-12=24'] Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,88 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[36, 4], Operations: ['34-18=16', '16-12=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,88 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 77, 81, 4, 11 ]
84
[ "77/11=7", "81-4=77", "7+77=84" ]
Current State: 84:[77, 81, 4, 11], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [81, 4, 7] Generated Node #2: [81, 4, 7] from Operation: 77/11=7 Current State: 84:[81, 4, 7], Operations: ['77/11=7'] Exploring Operation: 81-4=77, Resulting Numbers: [7, 77] Generated Node #3: [7, 77] from Operation: 81-4=77 Current State: 84:[7, 77], Operations: ['77/11=7', '81-4=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[77, 81, 4, 11], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [4, 11, 4] Generated Node #0,0: 84:[4, 11, 4] Operation: 81-77=4 Exploring Operation: 77/11=7, Resulting Numbers: [81, 4, 7] Generated Node #0,1: 84:[81, 4, 7] Operation: 77/11=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[4, 11, 4], Operations: ['81-77=4'] Exploring Operation: 11-4=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 84:[4, 7] Operation: 11-4=7 Exploring Operation: 11-4=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 84:[4, 7] Operation: 11-4=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[4, 7], Operations: ['81-77=4', '11-4=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[4, 7], Operations: ['81-77=4', '11-4=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[81, 4, 7], Operations: ['77/11=7'] Exploring Operation: 81+4=85, Resulting Numbers: [7, 85] Generated Node #0,1,0: 84:[7, 85] Operation: 81+4=85 Exploring Operation: 4*7=28, Resulting Numbers: [81, 28] Generated Node #0,1,1: 84:[81, 28] Operation: 4*7=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[7, 85], Operations: ['77/11=7', '81+4=85'] Exploring Operation: 7+85=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[81, 28], Operations: ['77/11=7', '4*7=28'] Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,84 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 99, 3, 28, 32 ]
13
[ "99-28=71", "71-32=39", "39/3=13" ]
Current State: 13:[99, 3, 28, 32], Operations: [] Exploring Operation: 99-28=71, Resulting Numbers: [3, 32, 71] Generated Node #2: [3, 32, 71] from Operation: 99-28=71 Current State: 13:[3, 32, 71], Operations: ['99-28=71'] Exploring Operation: 71-32=39, Resulting Numbers: [3, 39] Generated Node #3: [3, 39] from Operation: 71-32=39 Current State: 13:[3, 39], Operations: ['99-28=71', '71-32=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[99, 3, 28, 32], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [28, 32, 33] Generated Node #0,0: 13:[28, 32, 33] Operation: 99/3=33 Exploring Operation: 99-32=67, Resulting Numbers: [3, 28, 67] Generated Node #0,1: 13:[3, 28, 67] Operation: 99-32=67 Exploring Operation: 99-28=71, Resulting Numbers: [3, 32, 71] Generated Node #0,2: 13:[3, 32, 71] Operation: 99-28=71 Moving to Node #0,0 Current State: 13:[28, 32, 33], Operations: ['99/3=33'] Exploring Operation: 33-32=1, Resulting Numbers: [28, 1] Generated Node #0,0,0: 13:[28, 1] Operation: 33-32=1 Exploring Operation: 32-28=4, Resulting Numbers: [33, 4] Generated Node #0,0,1: 13:[33, 4] Operation: 32-28=4 Exploring Operation: 33-28=5, Resulting Numbers: [32, 5] Generated Node #0,0,2: 13:[32, 5] Operation: 33-28=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[28, 1], Operations: ['99/3=33', '33-32=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[32, 5], Operations: ['99/3=33', '33-28=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,13 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[33, 4], Operations: ['99/3=33', '32-28=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,13 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,13 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: 13:[3, 28, 67], Operations: ['99-32=67'] Exploring Operation: 67-28=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 13:[3, 39] Operation: 67-28=39 Exploring Operation: 28-3=25, Resulting Numbers: [67, 25] Generated Node #0,1,1: 13:[67, 25] Operation: 28-3=25 Exploring Operation: 67-3=64, Resulting Numbers: [28, 64] Generated Node #0,1,2: 13:[28, 64] Operation: 67-3=64 Moving to Node #0,2 Current State: 13:[3, 32, 71], Operations: ['99-28=71'] Exploring Operation: 32-3=29, Resulting Numbers: [71, 29] Generated Node #0,2,0: 13:[71, 29] Operation: 32-3=29 Exploring Operation: 71-32=39, Resulting Numbers: [3, 39] Generated Node #0,2,1: 13:[3, 39] Operation: 71-32=39 Exploring Operation: 71-3=68, Resulting Numbers: [32, 68] Generated Node #0,2,2: 13:[32, 68] Operation: 71-3=68 Moving to Node #0,1,0 Current State: 13:[3, 39], Operations: ['99-32=67', '67-28=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[99, 3, 28, 32], Operations: [] Exploring Operation: 99-32=67, Resulting Numbers: [3, 28, 67] Generated Node #0,1: 13:[3, 28, 67] Operation: 99-32=67 Moving to Node #0,1 Current State: 13:[3, 28, 67], Operations: ['99-32=67'] Exploring Operation: 67-28=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 13:[3, 39] Operation: 67-28=39 Moving to Node #0,1,0 Current State: 13:[3, 39], Operations: ['99-32=67', '67-28=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 28, 3, 35, 52 ]
93
[ "28+35=63", "3*52=156", "156-63=93" ]
Current State: 93:[28, 3, 35, 52], Operations: [] Exploring Operation: 28+35=63, Resulting Numbers: [3, 52, 63] Generated Node #2: [3, 52, 63] from Operation: 28+35=63 Current State: 93:[3, 52, 63], Operations: ['28+35=63'] Exploring Operation: 3*52=156, Resulting Numbers: [63, 156] Generated Node #3: [63, 156] from Operation: 3*52=156 Current State: 93:[63, 156], Operations: ['28+35=63', '3*52=156'] Exploring Operation: 156-63=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[28, 3, 35, 52], Operations: [] Exploring Operation: 28+52=80, Resulting Numbers: [3, 35, 80] Generated Node #0,0: 93:[3, 35, 80] Operation: 28+52=80 Exploring Operation: 35+52=87, Resulting Numbers: [28, 3, 87] Generated Node #0,1: 93:[28, 3, 87] Operation: 35+52=87 Exploring Operation: 28+3=31, Resulting Numbers: [35, 52, 31] Generated Node #0,2: 93:[35, 52, 31] Operation: 28+3=31 Exploring Operation: 52-28=24, Resulting Numbers: [3, 35, 24] Generated Node #0,3: 93:[3, 35, 24] Operation: 52-28=24 Exploring Operation: 52-35=17, Resulting Numbers: [28, 3, 17] Generated Node #0,4: 93:[28, 3, 17] Operation: 52-35=17 Moving to Node #0,1 Current State: 93:[28, 3, 87], Operations: ['35+52=87'] Exploring Operation: 87-3=84, Resulting Numbers: [28, 84] Generated Node #0,1,0: 93:[28, 84] Operation: 87-3=84 Exploring Operation: 28+3=31, Resulting Numbers: [87, 31] Generated Node #0,1,1: 93:[87, 31] Operation: 28+3=31 Exploring Operation: 87/3=29, Resulting Numbers: [28, 29] Generated Node #0,1,2: 93:[28, 29] Operation: 87/3=29 Exploring Operation: 3+87=90, Resulting Numbers: [28, 90] Generated Node #0,1,3: 93:[28, 90] Operation: 3+87=90 Exploring Operation: 28-3=25, Resulting Numbers: [87, 25] Generated Node #0,1,4: 93:[87, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[28, 29], Operations: ['35+52=87', '87/3=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[87, 31], Operations: ['35+52=87', '28+3=31'] Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[28, 90], Operations: ['35+52=87', '3+87=90'] Exploring Operation: 28+90=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 28*90=2520, Resulting Numbers: [2520] 2520,93 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[28, 84], Operations: ['35+52=87', '87-3=84'] Exploring Operation: 28*84=2352, Resulting Numbers: [2352] 2352,93 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 28+84=112, Resulting Numbers: [112] 112,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 93:[87, 25], Operations: ['35+52=87', '28-3=25'] Exploring Operation: 87*25=2175, Resulting Numbers: [2175] 2175,93 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 87+25=112, Resulting Numbers: [112] 112,93 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: 93:[3, 35, 24], Operations: ['52-28=24'] Exploring Operation: 3+35=38, Resulting Numbers: [24, 38] Generated Node #0,3,0: 93:[24, 38] Operation: 3+35=38 Exploring Operation: 3+24=27, Resulting Numbers: [35, 27] Generated Node #0,3,1: 93:[35, 27] Operation: 3+24=27 Exploring Operation: 35-3=32, Resulting Numbers: [24, 32] Generated Node #0,3,2: 93:[24, 32] Operation: 35-3=32 Exploring Operation: 35-24=11, Resulting Numbers: [3, 11] Generated Node #0,3,3: 93:[3, 11] Operation: 35-24=11 Exploring Operation: 24/3=8, Resulting Numbers: [35, 8] Generated Node #0,3,4: 93:[35, 8] Operation: 24/3=8 Moving to Node #0,0 Current State: 93:[3, 35, 80], Operations: ['28+52=80'] Exploring Operation: 35-3=32, Resulting Numbers: [80, 32] Generated Node #0,0,0: 93:[80, 32] Operation: 35-3=32 Exploring Operation: 80-35=45, Resulting Numbers: [3, 45] Generated Node #0,0,1: 93:[3, 45] Operation: 80-35=45 Exploring Operation: 3+80=83, Resulting Numbers: [35, 83] Generated Node #0,0,2: 93:[35, 83] Operation: 3+80=83 Exploring Operation: 3+35=38, Resulting Numbers: [80, 38] Generated Node #0,0,3: 93:[80, 38] Operation: 3+35=38 Exploring Operation: 80-3=77, Resulting Numbers: [35, 77] Generated Node #0,0,4: 93:[35, 77] Operation: 80-3=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[80, 32], Operations: ['28+52=80', '35-3=32'] Exploring Operation: 80*32=2560, Resulting Numbers: [2560] 2560,93 unequal: No Solution Exploring Operation: 80+32=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[3, 45], Operations: ['28+52=80', '80-35=45'] Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[35, 83], Operations: ['28+52=80', '3+80=83'] Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[80, 38], Operations: ['28+52=80', '3+35=38'] Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,93 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 93:[35, 77], Operations: ['28+52=80', '80-3=77'] Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,93 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: 93:[28, 3, 17], Operations: ['52-35=17'] Exploring Operation: 28+17=45, Resulting Numbers: [3, 45] Generated Node #0,4,0: 93:[3, 45] Operation: 28+17=45 Exploring Operation: 28+3=31, Resulting Numbers: [17, 31] Generated Node #0,4,1: 93:[17, 31] Operation: 28+3=31 Exploring Operation: 17-3=14, Resulting Numbers: [28, 14] Generated Node #0,4,2: 93:[28, 14] Operation: 17-3=14 Exploring Operation: 28-17=11, Resulting Numbers: [3, 11] Generated Node #0,4,3: 93:[3, 11] Operation: 28-17=11 Exploring Operation: 3+17=20, Resulting Numbers: [28, 20] Generated Node #0,4,4: 93:[28, 20] Operation: 3+17=20 Moving to Node #0,2 Current State: 93:[35, 52, 31], Operations: ['28+3=31'] Exploring Operation: 35-31=4, Resulting Numbers: [52, 4] Generated Node #0,2,0: 93:[52, 4] Operation: 35-31=4 Exploring Operation: 52-35=17, Resulting Numbers: [31, 17] Generated Node #0,2,1: 93:[31, 17] Operation: 52-35=17 Exploring Operation: 52+31=83, Resulting Numbers: [35, 83] Generated Node #0,2,2: 93:[35, 83] Operation: 52+31=83 Exploring Operation: 35+52=87, Resulting Numbers: [31, 87] Generated Node #0,2,3: 93:[31, 87] Operation: 35+52=87 Exploring Operation: 52-31=21, Resulting Numbers: [35, 21] Generated Node #0,2,4: 93:[35, 21] Operation: 52-31=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[31, 87], Operations: ['28+3=31', '35+52=87'] Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[31, 17], Operations: ['28+3=31', '52-35=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[35, 83], Operations: ['28+3=31', '52+31=83'] Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 93:[35, 21], Operations: ['28+3=31', '52-31=21'] Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,93 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[52, 4], Operations: ['28+3=31', '35-31=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,93 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,93 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: 93:[35, 27], Operations: ['52-28=24', '3+24=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[3, 11], Operations: ['52-28=24', '35-24=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,93 unequal: No Solution Moving to Node #0,4,3 Current State: 93:[3, 11], Operations: ['52-35=17', '28-17=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[24, 32], Operations: ['52-28=24', '35-3=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[35, 8], Operations: ['52-28=24', '24/3=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,93 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[3, 45], Operations: ['52-35=17', '28+17=45'] Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[28, 20], Operations: ['52-35=17', '3+17=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,93 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,93 unequal: No Solution Moving to Node #0,4,2 Current State: 93:[28, 14], Operations: ['52-35=17', '17-3=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,93 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[24, 38], Operations: ['52-28=24', '3+35=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,93 unequal: No Solution Moving to Node #0,4,1 Current State: 93:[17, 31], Operations: ['52-35=17', '28+3=31'] Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,93 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,93 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 8, 40, 87, 1 ]
83
[ "40/8=5", "87+1=88", "88-5=83" ]
Current State: 83:[8, 40, 87, 1], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [87, 1, 5] Generated Node #2: [87, 1, 5] from Operation: 40/8=5 Current State: 83:[87, 1, 5], Operations: ['40/8=5'] Exploring Operation: 87+1=88, Resulting Numbers: [5, 88] Generated Node #3: [5, 88] from Operation: 87+1=88 Current State: 83:[5, 88], Operations: ['40/8=5', '87+1=88'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[8, 40, 87, 1], Operations: [] Exploring Operation: 87-1=86, Resulting Numbers: [8, 40, 86] Generated Node #0,0: 83:[8, 40, 86] Operation: 87-1=86 Exploring Operation: 8*1=8, Resulting Numbers: [40, 87, 8] Generated Node #0,1: 83:[40, 87, 8] Operation: 8*1=8 Exploring Operation: 8+1=9, Resulting Numbers: [40, 87, 9] Generated Node #0,2: 83:[40, 87, 9] Operation: 8+1=9 Exploring Operation: 8+40=48, Resulting Numbers: [87, 1, 48] Generated Node #0,3: 83:[87, 1, 48] Operation: 8+40=48 Exploring Operation: 40+1=41, Resulting Numbers: [8, 87, 41] Generated Node #0,4: 83:[8, 87, 41] Operation: 40+1=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[8, 40, 86], Operations: ['87-1=86'] Exploring Operation: 40-8=32, Resulting Numbers: [86, 32] Generated Node #0,0,0: 83:[86, 32] Operation: 40-8=32 Exploring Operation: 8+86=94, Resulting Numbers: [40, 94] Generated Node #0,0,1: 83:[40, 94] Operation: 8+86=94 Exploring Operation: 8+40=48, Resulting Numbers: [86, 48] Generated Node #0,0,2: 83:[86, 48] Operation: 8+40=48 Exploring Operation: 86-8=78, Resulting Numbers: [40, 78] Generated Node #0,0,3: 83:[40, 78] Operation: 86-8=78 Exploring Operation: 40/8=5, Resulting Numbers: [86, 5] Generated Node #0,0,4: 83:[86, 5] Operation: 40/8=5 Moving to Node #0,0,2 Current State: 83:[86, 48], Operations: ['87-1=86', '8+40=48'] Exploring Operation: 86*48=4128, Resulting Numbers: [4128] 4128,83 unequal: No Solution Exploring Operation: 86+48=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[40, 78], Operations: ['87-1=86', '86-8=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,83 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[86, 32], Operations: ['87-1=86', '40-8=32'] Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,83 unequal: No Solution Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[40, 94], Operations: ['87-1=86', '8+86=94'] Exploring Operation: 40+94=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 40*94=3760, Resulting Numbers: [3760] 3760,83 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[86, 5], Operations: ['87-1=86', '40/8=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,83 unequal: No Solution Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,83 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[40, 87, 9], Operations: ['8+1=9'] Exploring Operation: 87-9=78, Resulting Numbers: [40, 78] Generated Node #0,2,0: 83:[40, 78] Operation: 87-9=78 Exploring Operation: 87+9=96, Resulting Numbers: [40, 96] Generated Node #0,2,1: 83:[40, 96] Operation: 87+9=96 Exploring Operation: 87-40=47, Resulting Numbers: [9, 47] Generated Node #0,2,2: 83:[9, 47] Operation: 87-40=47 Exploring Operation: 40+9=49, Resulting Numbers: [87, 49] Generated Node #0,2,3: 83:[87, 49] Operation: 40+9=49 Exploring Operation: 40-9=31, Resulting Numbers: [87, 31] Generated Node #0,2,4: 83:[87, 31] Operation: 40-9=31 Moving to Node #0,2,3 Current State: 83:[87, 49], Operations: ['8+1=9', '40+9=49'] Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 87*49=4263, Resulting Numbers: [4263] 4263,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[40, 78], Operations: ['8+1=9', '87-9=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[40, 96], Operations: ['8+1=9', '87+9=96'] Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 40*96=3840, Resulting Numbers: [3840] 3840,83 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[87, 31], Operations: ['8+1=9', '40-9=31'] Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,83 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[9, 47], Operations: ['8+1=9', '87-40=47'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,83 unequal: No Solution Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[87, 1, 48], Operations: ['8+40=48'] Exploring Operation: 87/1=87, Resulting Numbers: [48, 87] Generated Node #0,3,0: 83:[48, 87] Operation: 87/1=87 Exploring Operation: 87-1=86, Resulting Numbers: [48, 86] Generated Node #0,3,1: 83:[48, 86] Operation: 87-1=86 Exploring Operation: 1+48=49, Resulting Numbers: [87, 49] Generated Node #0,3,2: 83:[87, 49] Operation: 1+48=49 Exploring Operation: 87*1=87, Resulting Numbers: [48, 87] Generated Node #0,3,3: 83:[48, 87] Operation: 87*1=87 Exploring Operation: 1*48=48, Resulting Numbers: [87, 48] Generated Node #0,3,4: 83:[87, 48] Operation: 1*48=48 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[48, 86], Operations: ['8+40=48', '87-1=86'] Exploring Operation: 48+86=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 48*86=4128, Resulting Numbers: [4128] 4128,83 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[87, 49], Operations: ['8+40=48', '1+48=49'] Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 87*49=4263, Resulting Numbers: [4263] 4263,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[48, 87], Operations: ['8+40=48', '87/1=87'] Exploring Operation: 48*87=4176, Resulting Numbers: [4176] 4176,83 unequal: No Solution Exploring Operation: 48+87=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[48, 87], Operations: ['8+40=48', '87*1=87'] Exploring Operation: 48+87=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 48*87=4176, Resulting Numbers: [4176] 4176,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 83:[87, 48], Operations: ['8+40=48', '1*48=48'] Exploring Operation: 87*48=4176, Resulting Numbers: [4176] 4176,83 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[8, 87, 41], Operations: ['40+1=41'] Exploring Operation: 87-8=79, Resulting Numbers: [41, 79] Generated Node #0,4,0: 83:[41, 79] Operation: 87-8=79 Exploring Operation: 87-41=46, Resulting Numbers: [8, 46] Generated Node #0,4,1: 83:[8, 46] Operation: 87-41=46 Exploring Operation: 8+87=95, Resulting Numbers: [41, 95] Generated Node #0,4,2: 83:[41, 95] Operation: 8+87=95 Exploring Operation: 41-8=33, Resulting Numbers: [87, 33] Generated Node #0,4,3: 83:[87, 33] Operation: 41-8=33 Exploring Operation: 8+41=49, Resulting Numbers: [87, 49] Generated Node #0,4,4: 83:[87, 49] Operation: 8+41=49 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 83:[87, 49], Operations: ['40+1=41', '8+41=49'] Exploring Operation: 87*49=4263, Resulting Numbers: [4263] 4263,83 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 83:[41, 79], Operations: ['40+1=41', '87-8=79'] Exploring Operation: 41+79=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 41*79=3239, Resulting Numbers: [3239] 3239,83 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 83:[41, 95], Operations: ['40+1=41', '8+87=95'] Exploring Operation: 41+95=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 41*95=3895, Resulting Numbers: [3895] 3895,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 83:[87, 33], Operations: ['40+1=41', '41-8=33'] Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 83:[8, 46], Operations: ['40+1=41', '87-41=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[40, 87, 8], Operations: ['8*1=8'] Exploring Operation: 40+8=48, Resulting Numbers: [87, 48] Generated Node #0,1,0: 83:[87, 48] Operation: 40+8=48 Exploring Operation: 40/8=5, Resulting Numbers: [87, 5] Generated Node #0,1,1: 83:[87, 5] Operation: 40/8=5 Exploring Operation: 87-8=79, Resulting Numbers: [40, 79] Generated Node #0,1,2: 83:[40, 79] Operation: 87-8=79 Exploring Operation: 40-8=32, Resulting Numbers: [87, 32] Generated Node #0,1,3: 83:[87, 32] Operation: 40-8=32 Exploring Operation: 87+8=95, Resulting Numbers: [40, 95] Generated Node #0,1,4: 83:[40, 95] Operation: 87+8=95 Moving to Node #0,1,0 Current State: 83:[87, 48], Operations: ['8*1=8', '40+8=48'] Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 87*48=4176, Resulting Numbers: [4176] 4176,83 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[40, 79], Operations: ['8*1=8', '87-8=79'] Exploring Operation: 40*79=3160, Resulting Numbers: [3160] 3160,83 unequal: No Solution Exploring Operation: 40+79=119, Resulting Numbers: [119] 119,83 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[87, 32], Operations: ['8*1=8', '40-8=32'] Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,83 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[40, 95], Operations: ['8*1=8', '87+8=95'] Exploring Operation: 95-40=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 40+95=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 40*95=3800, Resulting Numbers: [3800] 3800,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[87, 5], Operations: ['8*1=8', '40/8=5'] Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 87*5=435, Resulting Numbers: [435] 435,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 94, 15, 69 ]
15
[ "5+94=99", "15+69=84", "99-84=15" ]
Current State: 15:[5, 94, 15, 69], Operations: [] Exploring Operation: 5+94=99, Resulting Numbers: [15, 69, 99] Generated Node #2: [15, 69, 99] from Operation: 5+94=99 Current State: 15:[15, 69, 99], Operations: ['5+94=99'] Exploring Operation: 15+69=84, Resulting Numbers: [99, 84] Generated Node #3: [99, 84] from Operation: 15+69=84 Current State: 15:[99, 84], Operations: ['5+94=99', '15+69=84'] Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[5, 94, 15, 69], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [15, 69, 89] Generated Node #0,0: 15:[15, 69, 89] Operation: 94-5=89 Exploring Operation: 94-69=25, Resulting Numbers: [5, 15, 25] Generated Node #0,1: 15:[5, 15, 25] Operation: 94-69=25 Exploring Operation: 94-15=79, Resulting Numbers: [5, 69, 79] Generated Node #0,2: 15:[5, 69, 79] Operation: 94-15=79 Exploring Operation: 69-15=54, Resulting Numbers: [5, 94, 54] Generated Node #0,3: 15:[5, 94, 54] Operation: 69-15=54 Moving to Node #0,1 Current State: 15:[5, 15, 25], Operations: ['94-69=25'] Exploring Operation: 25-15=10, Resulting Numbers: [5, 10] Generated Node #0,1,0: 15:[5, 10] Operation: 25-15=10 Exploring Operation: 25-5=20, Resulting Numbers: [15, 20] Generated Node #0,1,1: 15:[15, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [15, 5] Generated Node #0,1,2: 15:[15, 5] Operation: 25/5=5 Exploring Operation: 15/5=3, Resulting Numbers: [25, 3] Generated Node #0,1,3: 15:[25, 3] Operation: 15/5=3 Moving to Node #0,3 Current State: 15:[5, 94, 54], Operations: ['69-15=54'] Exploring Operation: 94-5=89, Resulting Numbers: [54, 89] Generated Node #0,3,0: 15:[54, 89] Operation: 94-5=89 Exploring Operation: 94-54=40, Resulting Numbers: [5, 40] Generated Node #0,3,1: 15:[5, 40] Operation: 94-54=40 Exploring Operation: 5+94=99, Resulting Numbers: [54, 99] Generated Node #0,3,2: 15:[54, 99] Operation: 5+94=99 Exploring Operation: 54-5=49, Resulting Numbers: [94, 49] Generated Node #0,3,3: 15:[94, 49] Operation: 54-5=49 Moving to Node #0,2 Current State: 15:[5, 69, 79], Operations: ['94-15=79'] Exploring Operation: 79-69=10, Resulting Numbers: [5, 10] Generated Node #0,2,0: 15:[5, 10] Operation: 79-69=10 Exploring Operation: 5+69=74, Resulting Numbers: [79, 74] Generated Node #0,2,1: 15:[79, 74] Operation: 5+69=74 Exploring Operation: 69-5=64, Resulting Numbers: [79, 64] Generated Node #0,2,2: 15:[79, 64] Operation: 69-5=64 Exploring Operation: 79-5=74, Resulting Numbers: [69, 74] Generated Node #0,2,3: 15:[69, 74] Operation: 79-5=74 Moving to Node #0,0 Current State: 15:[15, 69, 89], Operations: ['94-5=89'] Exploring Operation: 69-15=54, Resulting Numbers: [89, 54] Generated Node #0,0,0: 15:[89, 54] Operation: 69-15=54 Exploring Operation: 15+69=84, Resulting Numbers: [89, 84] Generated Node #0,0,1: 15:[89, 84] Operation: 15+69=84 Exploring Operation: 89-15=74, Resulting Numbers: [69, 74] Generated Node #0,0,2: 15:[69, 74] Operation: 89-15=74 Exploring Operation: 89-69=20, Resulting Numbers: [15, 20] Generated Node #0,0,3: 15:[15, 20] Operation: 89-69=20 Moving to Node #0,1,2 Current State: 15:[15, 5], Operations: ['94-69=25', '25/5=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[15, 20], Operations: ['94-69=25', '25-5=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,15 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[15, 20], Operations: ['94-5=89', '89-69=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,15 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[5, 10], Operations: ['94-69=25', '25-15=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[5, 94, 15, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [5, 15, 25] Generated Node #0,1: 15:[5, 15, 25] Operation: 94-69=25 Moving to Node #0,1 Current State: 15:[5, 15, 25], Operations: ['94-69=25'] Exploring Operation: 25-15=10, Resulting Numbers: [5, 10] Generated Node #0,1,0: 15:[5, 10] Operation: 25-15=10 Moving to Node #0,1,0 Current State: 15:[5, 10], Operations: ['94-69=25', '25-15=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 46, 37, 43, 30 ]
64
[ "46-37=9", "43+30=73", "73-9=64" ]
Current State: 64:[46, 37, 43, 30], Operations: [] Exploring Operation: 46-37=9, Resulting Numbers: [43, 30, 9] Generated Node #2: [43, 30, 9] from Operation: 46-37=9 Current State: 64:[43, 30, 9], Operations: ['46-37=9'] Exploring Operation: 43+30=73, Resulting Numbers: [9, 73] Generated Node #3: [9, 73] from Operation: 43+30=73 Current State: 64:[9, 73], Operations: ['46-37=9', '43+30=73'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[46, 37, 43, 30], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [37, 30, 3] Generated Node #0,0: 64:[37, 30, 3] Operation: 46-43=3 Moving to Node #0,0 Current State: 64:[37, 30, 3], Operations: ['46-43=3'] Exploring Operation: 37-30=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 64:[3, 7] Operation: 37-30=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[3, 7], Operations: ['46-43=3', '37-30=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,64 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
[ 87, 11, 60, 20 ]
54
[ "11*60=660", "660/20=33", "87-33=54" ]
Current State: 54:[87, 11, 60, 20], Operations: [] Exploring Operation: 11*60=660, Resulting Numbers: [87, 20, 660] Generated Node #2: [87, 20, 660] from Operation: 11*60=660 Current State: 54:[87, 20, 660], Operations: ['11*60=660'] Exploring Operation: 660/20=33, Resulting Numbers: [87, 33] Generated Node #3: [87, 33] from Operation: 660/20=33 Current State: 54:[87, 33], Operations: ['11*60=660', '660/20=33'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[87, 11, 60, 20], Operations: [] Exploring Operation: 87-60=27, Resulting Numbers: [11, 20, 27] Generated Node #0,0: 54:[11, 20, 27] Operation: 87-60=27 Exploring Operation: 87-11=76, Resulting Numbers: [60, 20, 76] Generated Node #0,1: 54:[60, 20, 76] Operation: 87-11=76 Exploring Operation: 87-20=67, Resulting Numbers: [11, 60, 67] Generated Node #0,2: 54:[11, 60, 67] Operation: 87-20=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[11, 20, 27], Operations: ['87-60=27'] Exploring Operation: 27-20=7, Resulting Numbers: [11, 7] Generated Node #0,0,0: 54:[11, 7] Operation: 27-20=7 Exploring Operation: 11+20=31, Resulting Numbers: [27, 31] Generated Node #0,0,1: 54:[27, 31] Operation: 11+20=31 Exploring Operation: 20-11=9, Resulting Numbers: [27, 9] Generated Node #0,0,2: 54:[27, 9] Operation: 20-11=9 Moving to Node #0,0,2 Current State: 54:[27, 9], Operations: ['87-60=27', '20-11=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[11, 7], Operations: ['87-60=27', '27-20=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,54 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[27, 31], Operations: ['87-60=27', '11+20=31'] Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,54 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,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 Current State: 54:[11, 60, 67], Operations: ['87-20=67'] Exploring Operation: 67-11=56, Resulting Numbers: [60, 56] Generated Node #0,2,0: 54:[60, 56] Operation: 67-11=56 Exploring Operation: 67-60=7, Resulting Numbers: [11, 7] Generated Node #0,2,1: 54:[11, 7] Operation: 67-60=7 Exploring Operation: 60-11=49, Resulting Numbers: [67, 49] Generated Node #0,2,2: 54:[67, 49] Operation: 60-11=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[11, 7], Operations: ['87-20=67', '67-60=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,54 unequal: No Solution No 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: 54:[60, 56], Operations: ['87-20=67', '67-11=56'] Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,54 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,54 unequal: No Solution No 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: 54:[67, 49], Operations: ['87-20=67', '60-11=49'] Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,54 unequal: No Solution Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,54 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,54 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: 54:[60, 20, 76], Operations: ['87-11=76'] Exploring Operation: 60/20=3, Resulting Numbers: [76, 3] Generated Node #0,1,0: 54:[76, 3] Operation: 60/20=3 Exploring Operation: 76-60=16, Resulting Numbers: [20, 16] Generated Node #0,1,1: 54:[20, 16] Operation: 76-60=16 Exploring Operation: 76-20=56, Resulting Numbers: [60, 56] Generated Node #0,1,2: 54:[60, 56] Operation: 76-20=56 Moving to Node #0,1,1 Current State: 54:[20, 16], Operations: ['87-11=76', '76-60=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,54 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[60, 56], Operations: ['87-11=76', '76-20=56'] Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,54 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[76, 3], Operations: ['87-11=76', '60/20=3'] Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,54 unequal: No Solution Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,54 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
[ 6, 58, 84, 86 ]
38
[ "58+84=142", "86+142=228", "228/6=38" ]
Current State: 38:[6, 58, 84, 86], Operations: [] Exploring Operation: 58+84=142, Resulting Numbers: [6, 86, 142] Generated Node #2: [6, 86, 142] from Operation: 58+84=142 Current State: 38:[6, 86, 142], Operations: ['58+84=142'] Exploring Operation: 86+142=228, Resulting Numbers: [6, 228] Generated Node #3: [6, 228] from Operation: 86+142=228 Current State: 38:[6, 228], Operations: ['58+84=142', '86+142=228'] Exploring Operation: 228/6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[6, 58, 84, 86], Operations: [] Exploring Operation: 84-58=26, Resulting Numbers: [6, 86, 26] Generated Node #0,0: 38:[6, 86, 26] Operation: 84-58=26 Exploring Operation: 86-84=2, Resulting Numbers: [6, 58, 2] Generated Node #0,1: 38:[6, 58, 2] Operation: 86-84=2 Exploring Operation: 86-58=28, Resulting Numbers: [6, 84, 28] Generated Node #0,2: 38:[6, 84, 28] Operation: 86-58=28 Exploring Operation: 84/6=14, Resulting Numbers: [58, 86, 14] Generated Node #0,3: 38:[58, 86, 14] Operation: 84/6=14 Moving to Node #0,1 Current State: 38:[6, 58, 2], Operations: ['86-84=2'] Exploring Operation: 6-2=4, Resulting Numbers: [58, 4] Generated Node #0,1,0: 38:[58, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [58, 3] Generated Node #0,1,1: 38:[58, 3] Operation: 6/2=3 Exploring Operation: 58-6=52, Resulting Numbers: [2, 52] Generated Node #0,1,2: 38:[2, 52] Operation: 58-6=52 Exploring Operation: 58/2=29, Resulting Numbers: [6, 29] Generated Node #0,1,3: 38:[6, 29] Operation: 58/2=29 Moving to Node #0,2 Current State: 38:[6, 84, 28], Operations: ['86-58=28'] Exploring Operation: 84-28=56, Resulting Numbers: [6, 56] Generated Node #0,2,0: 38:[6, 56] Operation: 84-28=56 Exploring Operation: 84-6=78, Resulting Numbers: [28, 78] Generated Node #0,2,1: 38:[28, 78] Operation: 84-6=78 Exploring Operation: 84/6=14, Resulting Numbers: [28, 14] Generated Node #0,2,2: 38:[28, 14] Operation: 84/6=14 Exploring Operation: 84/28=3, Resulting Numbers: [6, 3] Generated Node #0,2,3: 38:[6, 3] Operation: 84/28=3 Moving to Node #0,0 Current State: 38:[6, 86, 26], Operations: ['84-58=26'] Exploring Operation: 26-6=20, Resulting Numbers: [86, 20] Generated Node #0,0,0: 38:[86, 20] Operation: 26-6=20 Exploring Operation: 6+26=32, Resulting Numbers: [86, 32] Generated Node #0,0,1: 38:[86, 32] Operation: 6+26=32 Exploring Operation: 86-6=80, Resulting Numbers: [26, 80] Generated Node #0,0,2: 38:[26, 80] Operation: 86-6=80 Exploring Operation: 86-26=60, Resulting Numbers: [6, 60] Generated Node #0,0,3: 38:[6, 60] Operation: 86-26=60 Moving to Node #0,3 Current State: 38:[58, 86, 14], Operations: ['84/6=14'] Exploring Operation: 58-14=44, Resulting Numbers: [86, 44] Generated Node #0,3,0: 38:[86, 44] Operation: 58-14=44 Exploring Operation: 86-14=72, Resulting Numbers: [58, 72] Generated Node #0,3,1: 38:[58, 72] Operation: 86-14=72 Exploring Operation: 86-58=28, Resulting Numbers: [14, 28] Generated Node #0,3,2: 38:[14, 28] Operation: 86-58=28 Exploring Operation: 58+14=72, Resulting Numbers: [86, 72] Generated Node #0,3,3: 38:[86, 72] Operation: 58+14=72 Moving to Node #0,2,3 Current State: 38:[6, 3], Operations: ['86-58=28', '84/28=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[6, 29], Operations: ['86-84=2', '58/2=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,38 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[28, 14], Operations: ['86-58=28', '84/6=14'] Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,38 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[14, 28], Operations: ['84/6=14', '86-58=28'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,38 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[2, 52], Operations: ['86-84=2', '58-6=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,38 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[58, 3], Operations: ['86-84=2', '6/2=3'] Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,38 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[6, 56], Operations: ['86-58=28', '84-28=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[58, 4], Operations: ['86-84=2', '6-2=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[6, 60], Operations: ['84-58=26', '86-26=60'] Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[26, 80], Operations: ['84-58=26', '86-6=80'] Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,38 unequal: No Solution Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,38 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[28, 78], Operations: ['86-58=28', '84-6=78'] Exploring Operation: 28+78=106, Resulting Numbers: [106] 106,38 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 28*78=2184, Resulting Numbers: [2184] 2184,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[86, 20], Operations: ['84-58=26', '26-6=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,38 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,38 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[86, 32], Operations: ['84-58=26', '6+26=32'] Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,38 unequal: No Solution Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[58, 72], Operations: ['84/6=14', '86-14=72'] Exploring Operation: 58+72=130, Resulting Numbers: [130] 130,38 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 58*72=4176, Resulting Numbers: [4176] 4176,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[86, 44], Operations: ['84/6=14', '58-14=44'] Exploring Operation: 86+44=130, Resulting Numbers: [130] 130,38 unequal: No Solution Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 86*44=3784, Resulting Numbers: [3784] 3784,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[86, 72], Operations: ['84/6=14', '58+14=72'] Exploring Operation: 86+72=158, Resulting Numbers: [158] 158,38 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 86*72=6192, Resulting Numbers: [6192] 6192,38 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 67, 8, 62, 23 ]
69
[ "67-8=59", "62-59=3", "23*3=69" ]
Current State: 69:[67, 8, 62, 23], Operations: [] Exploring Operation: 67-8=59, Resulting Numbers: [62, 23, 59] Generated Node #2: [62, 23, 59] from Operation: 67-8=59 Current State: 69:[62, 23, 59], Operations: ['67-8=59'] Exploring Operation: 62-59=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 62-59=3 Current State: 69:[23, 3], Operations: ['67-8=59', '62-59=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[67, 8, 62, 23], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [8, 23, 5] Generated Node #0,0: 69:[8, 23, 5] Operation: 67-62=5 Exploring Operation: 67-8=59, Resulting Numbers: [62, 23, 59] Generated Node #0,1: 69:[62, 23, 59] Operation: 67-8=59 Exploring Operation: 8+62=70, Resulting Numbers: [67, 23, 70] Generated Node #0,2: 69:[67, 23, 70] Operation: 8+62=70 Exploring Operation: 67+8=75, Resulting Numbers: [62, 23, 75] Generated Node #0,3: 69:[62, 23, 75] Operation: 67+8=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[67, 23, 70], Operations: ['8+62=70'] Exploring Operation: 70-67=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 69:[23, 3] Operation: 70-67=3 Exploring Operation: 67+23=90, Resulting Numbers: [70, 90] Generated Node #0,2,1: 69:[70, 90] Operation: 67+23=90 Exploring Operation: 67-23=44, Resulting Numbers: [70, 44] Generated Node #0,2,2: 69:[70, 44] Operation: 67-23=44 Exploring Operation: 70-23=47, Resulting Numbers: [67, 47] Generated Node #0,2,3: 69:[67, 47] Operation: 70-23=47 Moving to Node #0,2,0 Current State: 69:[23, 3], Operations: ['8+62=70', '70-67=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[67, 8, 62, 23], Operations: [] Exploring Operation: 8+62=70, Resulting Numbers: [67, 23, 70] Generated Node #0,2: 69:[67, 23, 70] Operation: 8+62=70 Moving to Node #0,2 Current State: 69:[67, 23, 70], Operations: ['8+62=70'] Exploring Operation: 70-67=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 69:[23, 3] Operation: 70-67=3 Moving to Node #0,2,0 Current State: 69:[23, 3], Operations: ['8+62=70', '70-67=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 28, 8, 90, 93 ]
41
[ "28*8=224", "90+93=183", "224-183=41" ]
Current State: 41:[28, 8, 90, 93], Operations: [] Exploring Operation: 28*8=224, Resulting Numbers: [90, 93, 224] Generated Node #2: [90, 93, 224] from Operation: 28*8=224 Current State: 41:[90, 93, 224], Operations: ['28*8=224'] Exploring Operation: 90+93=183, Resulting Numbers: [224, 183] Generated Node #3: [224, 183] from Operation: 90+93=183 Current State: 41:[224, 183], Operations: ['28*8=224', '90+93=183'] Exploring Operation: 224-183=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[28, 8, 90, 93], Operations: [] Exploring Operation: 93-28=65, Resulting Numbers: [8, 90, 65] Generated Node #0,0: 41:[8, 90, 65] Operation: 93-28=65 Exploring Operation: 90-28=62, Resulting Numbers: [8, 93, 62] Generated Node #0,1: 41:[8, 93, 62] Operation: 90-28=62 Exploring Operation: 28+8=36, Resulting Numbers: [90, 93, 36] Generated Node #0,2: 41:[90, 93, 36] Operation: 28+8=36 Exploring Operation: 93-90=3, Resulting Numbers: [28, 8, 3] Generated Node #0,3: 41:[28, 8, 3] Operation: 93-90=3 Moving to Node #0,3 Current State: 41:[28, 8, 3], Operations: ['93-90=3'] Exploring Operation: 28+8=36, Resulting Numbers: [3, 36] Generated Node #0,3,0: 41:[3, 36] Operation: 28+8=36 Exploring Operation: 8*3=24, Resulting Numbers: [28, 24] Generated Node #0,3,1: 41:[28, 24] Operation: 8*3=24 Exploring Operation: 28+3=31, Resulting Numbers: [8, 31] Generated Node #0,3,2: 41:[8, 31] Operation: 28+3=31 Exploring Operation: 8+3=11, Resulting Numbers: [28, 11] Generated Node #0,3,3: 41:[28, 11] Operation: 8+3=11 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[28, 24], Operations: ['93-90=3', '8*3=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,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,3,0 Current State: 41:[3, 36], Operations: ['93-90=3', '28+8=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,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,3,2 Current State: 41:[8, 31], Operations: ['93-90=3', '28+3=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,41 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,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,3,3 Current State: 41:[28, 11], Operations: ['93-90=3', '8+3=11'] Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,41 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 41:[8, 93, 62], Operations: ['90-28=62'] Exploring Operation: 8+93=101, Resulting Numbers: [62, 101] Generated Node #0,1,0: 41:[62, 101] Operation: 8+93=101 Exploring Operation: 93-8=85, Resulting Numbers: [62, 85] Generated Node #0,1,1: 41:[62, 85] Operation: 93-8=85 Exploring Operation: 62-8=54, Resulting Numbers: [93, 54] Generated Node #0,1,2: 41:[93, 54] Operation: 62-8=54 Exploring Operation: 93-62=31, Resulting Numbers: [8, 31] Generated Node #0,1,3: 41:[8, 31] Operation: 93-62=31 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[8, 31], Operations: ['90-28=62', '93-62=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,41 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 8+31=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,1,1 Current State: 41:[62, 85], Operations: ['90-28=62', '93-8=85'] Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,41 unequal: No Solution Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[93, 54], Operations: ['90-28=62', '62-8=54'] Exploring Operation: 93+54=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 93*54=5022, Resulting Numbers: [5022] 5022,41 unequal: No Solution Exploring Operation: 93-54=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,1,0 Current State: 41:[62, 101], Operations: ['90-28=62', '8+93=101'] Exploring Operation: 62+101=163, Resulting Numbers: [163] 163,41 unequal: No Solution Exploring Operation: 62*101=6262, Resulting Numbers: [6262] 6262,41 unequal: No Solution Exploring Operation: 101-62=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,0 Current State: 41:[8, 90, 65], Operations: ['93-28=65'] Exploring Operation: 65-8=57, Resulting Numbers: [90, 57] Generated Node #0,0,0: 41:[90, 57] Operation: 65-8=57 Exploring Operation: 90-65=25, Resulting Numbers: [8, 25] Generated Node #0,0,1: 41:[8, 25] Operation: 90-65=25 Exploring Operation: 8+90=98, Resulting Numbers: [65, 98] Generated Node #0,0,2: 41:[65, 98] Operation: 8+90=98 Exploring Operation: 90-8=82, Resulting Numbers: [65, 82] Generated Node #0,0,3: 41:[65, 82] Operation: 90-8=82 Moving to Node #0,2 Current State: 41:[90, 93, 36], Operations: ['28+8=36'] Exploring Operation: 93-36=57, Resulting Numbers: [90, 57] Generated Node #0,2,0: 41:[90, 57] Operation: 93-36=57 Exploring Operation: 90+36=126, Resulting Numbers: [93, 126] Generated Node #0,2,1: 41:[93, 126] Operation: 90+36=126 Exploring Operation: 93-90=3, Resulting Numbers: [36, 3] Generated Node #0,2,2: 41:[36, 3] Operation: 93-90=3 Exploring Operation: 90-36=54, Resulting Numbers: [93, 54] Generated Node #0,2,3: 41:[93, 54] Operation: 90-36=54 Moving to Node #0,2,2 Current State: 41:[36, 3], Operations: ['28+8=36', '93-90=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[8, 25], Operations: ['93-28=65', '90-65=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[65, 82], Operations: ['93-28=65', '90-8=82'] Exploring Operation: 82-65=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 65+82=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 65*82=5330, Resulting Numbers: [5330] 5330,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[90, 57], Operations: ['28+8=36', '93-36=57'] Exploring Operation: 90+57=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 90*57=5130, Resulting Numbers: [5130] 5130,41 unequal: No Solution Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[93, 54], Operations: ['28+8=36', '90-36=54'] Exploring Operation: 93*54=5022, Resulting Numbers: [5022] 5022,41 unequal: No Solution Exploring Operation: 93+54=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[90, 57], Operations: ['93-28=65', '65-8=57'] Exploring Operation: 90*57=5130, Resulting Numbers: [5130] 5130,41 unequal: No Solution Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 90+57=147, Resulting Numbers: [147] 147,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[65, 98], Operations: ['93-28=65', '8+90=98'] Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 65*98=6370, Resulting Numbers: [6370] 6370,41 unequal: No Solution Exploring Operation: 65+98=163, Resulting Numbers: [163] 163,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[93, 126], Operations: ['28+8=36', '90+36=126'] Exploring Operation: 126-93=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 93*126=11718, Resulting Numbers: [11718] 11718,41 unequal: No Solution Exploring Operation: 93+126=219, Resulting Numbers: [219] 219,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 94, 43, 44, 87 ]
80
[ "94-43=51", "44+87=131", "131-51=80" ]
Current State: 80:[94, 43, 44, 87], Operations: [] Exploring Operation: 94-43=51, Resulting Numbers: [44, 87, 51] Generated Node #2: [44, 87, 51] from Operation: 94-43=51 Current State: 80:[44, 87, 51], Operations: ['94-43=51'] Exploring Operation: 44+87=131, Resulting Numbers: [51, 131] Generated Node #3: [51, 131] from Operation: 44+87=131 Current State: 80:[51, 131], Operations: ['94-43=51', '44+87=131'] Exploring Operation: 131-51=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[94, 43, 44, 87], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [43, 44, 7] Generated Node #0,0: 80:[43, 44, 7] Operation: 94-87=7 Exploring Operation: 87-44=43, Resulting Numbers: [94, 43, 43] Generated Node #0,1: 80:[94, 43, 43] Operation: 87-44=43 Exploring Operation: 94-44=50, Resulting Numbers: [43, 87, 50] Generated Node #0,2: 80:[43, 87, 50] Operation: 94-44=50 Moving to Node #0,0 Current State: 80:[43, 44, 7], Operations: ['94-87=7'] Exploring Operation: 44-7=37, Resulting Numbers: [43, 37] Generated Node #0,0,0: 80:[43, 37] Operation: 44-7=37 Exploring Operation: 43+44=87, Resulting Numbers: [7, 87] Generated Node #0,0,1: 80:[7, 87] Operation: 43+44=87 Exploring Operation: 44-43=1, Resulting Numbers: [7, 1] Generated Node #0,0,2: 80:[7, 1] Operation: 44-43=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[7, 1], Operations: ['94-87=7', '44-43=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,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,0 Current State: 80:[43, 37], Operations: ['94-87=7', '44-7=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[94, 43, 44, 87], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [43, 44, 7] Generated Node #0,0: 80:[43, 44, 7] Operation: 94-87=7 Moving to Node #0,0 Current State: 80:[43, 44, 7], Operations: ['94-87=7'] Exploring Operation: 44-7=37, Resulting Numbers: [43, 37] Generated Node #0,0,0: 80:[43, 37] Operation: 44-7=37 Moving to Node #0,0,0 Current State: 80:[43, 37], Operations: ['94-87=7', '44-7=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 87, 21, 55, 36 ]
84
[ "87-55=32", "36-32=4", "21*4=84" ]
Current State: 84:[87, 21, 55, 36], Operations: [] Exploring Operation: 87-55=32, Resulting Numbers: [21, 36, 32] Generated Node #2: [21, 36, 32] from Operation: 87-55=32 Current State: 84:[21, 36, 32], Operations: ['87-55=32'] Exploring Operation: 36-32=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 36-32=4 Current State: 84:[21, 4], Operations: ['87-55=32', '36-32=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[87, 21, 55, 36], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [87, 21, 19] Generated Node #0,0: 84:[87, 21, 19] Operation: 55-36=19 Moving to Node #0,0 Current State: 84:[87, 21, 19], Operations: ['55-36=19'] Exploring Operation: 21-19=2, Resulting Numbers: [87, 2] Generated Node #0,0,0: 84:[87, 2] Operation: 21-19=2 Moving to Node #0,0,0 Current State: 84:[87, 2], Operations: ['55-36=19', '21-19=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,84 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 34, 42, 12, 77 ]
97
[ "42-34=8", "12+77=89", "8+89=97" ]
Current State: 97:[34, 42, 12, 77], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [12, 77, 8] Generated Node #2: [12, 77, 8] from Operation: 42-34=8 Current State: 97:[12, 77, 8], Operations: ['42-34=8'] Exploring Operation: 12+77=89, Resulting Numbers: [8, 89] Generated Node #3: [8, 89] from Operation: 12+77=89 Current State: 97:[8, 89], Operations: ['42-34=8', '12+77=89'] Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[34, 42, 12, 77], Operations: [] Exploring Operation: 12+77=89, Resulting Numbers: [34, 42, 89] Generated Node #0,0: 97:[34, 42, 89] Operation: 12+77=89 Exploring Operation: 34+42=76, Resulting Numbers: [12, 77, 76] Generated Node #0,1: 97:[12, 77, 76] Operation: 34+42=76 Exploring Operation: 34+12=46, Resulting Numbers: [42, 77, 46] Generated Node #0,2: 97:[42, 77, 46] Operation: 34+12=46 Exploring Operation: 42+12=54, Resulting Numbers: [34, 77, 54] Generated Node #0,3: 97:[34, 77, 54] Operation: 42+12=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[34, 42, 89], Operations: ['12+77=89'] Exploring Operation: 34+42=76, Resulting Numbers: [89, 76] Generated Node #0,0,0: 97:[89, 76] Operation: 34+42=76 Exploring Operation: 89-34=55, Resulting Numbers: [42, 55] Generated Node #0,0,1: 97:[42, 55] Operation: 89-34=55 Exploring Operation: 34+89=123, Resulting Numbers: [42, 123] Generated Node #0,0,2: 97:[42, 123] Operation: 34+89=123 Exploring Operation: 42-34=8, Resulting Numbers: [89, 8] Generated Node #0,0,3: 97:[89, 8] Operation: 42-34=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[89, 76], Operations: ['12+77=89', '34+42=76'] Exploring Operation: 89+76=165, Resulting Numbers: [165] 165,97 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 89*76=6764, Resulting Numbers: [6764] 6764,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[42, 123], Operations: ['12+77=89', '34+89=123'] Exploring Operation: 123-42=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 42+123=165, Resulting Numbers: [165] 165,97 unequal: No Solution Exploring Operation: 42*123=5166, Resulting Numbers: [5166] 5166,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[42, 55], Operations: ['12+77=89', '89-34=55'] Exploring Operation: 42*55=2310, Resulting Numbers: [2310] 2310,97 unequal: No Solution Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[34, 42, 12, 77], Operations: [] Exploring Operation: 12+77=89, Resulting Numbers: [34, 42, 89] Generated Node #0,0: 97:[34, 42, 89] Operation: 12+77=89 Moving to Node #0,0 Current State: 97:[34, 42, 89], Operations: ['12+77=89'] Exploring Operation: 89-34=55, Resulting Numbers: [42, 55] Generated Node #0,0,1: 97:[42, 55] Operation: 89-34=55 Moving to Node #0,0,1 Current State: 97:[42, 55], Operations: ['12+77=89', '89-34=55'] Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 23, 83, 70, 9 ]
94
[ "83-70=13", "9*13=117", "117-23=94" ]
Current State: 94:[23, 83, 70, 9], Operations: [] Exploring Operation: 83-70=13, Resulting Numbers: [23, 9, 13] Generated Node #2: [23, 9, 13] from Operation: 83-70=13 Current State: 94:[23, 9, 13], Operations: ['83-70=13'] Exploring Operation: 9*13=117, Resulting Numbers: [23, 117] Generated Node #3: [23, 117] from Operation: 9*13=117 Current State: 94:[23, 117], Operations: ['83-70=13', '9*13=117'] Exploring Operation: 117-23=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[23, 83, 70, 9], Operations: [] Exploring Operation: 23+70=93, Resulting Numbers: [83, 9, 93] Generated Node #0,0: 94:[83, 9, 93] Operation: 23+70=93 Exploring Operation: 70-23=47, Resulting Numbers: [83, 9, 47] Generated Node #0,1: 94:[83, 9, 47] Operation: 70-23=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[83, 9, 47], Operations: ['70-23=47'] Exploring Operation: 83+9=92, Resulting Numbers: [47, 92] Generated Node #0,1,0: 94:[47, 92] Operation: 83+9=92 Exploring Operation: 83-47=36, Resulting Numbers: [9, 36] Generated Node #0,1,1: 94:[9, 36] Operation: 83-47=36 Moving to Node #0,1,0 Current State: 94:[47, 92], Operations: ['70-23=47', '83+9=92'] Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[9, 36], Operations: ['70-23=47', '83-47=36'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[83, 9, 93], Operations: ['23+70=93'] Exploring Operation: 93-83=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 94:[9, 10] Operation: 93-83=10 Exploring Operation: 83+9=92, Resulting Numbers: [93, 92] Generated Node #0,0,1: 94:[93, 92] Operation: 83+9=92 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[93, 92], Operations: ['23+70=93', '83+9=92'] Exploring Operation: 93-92=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 93+92=185, Resulting Numbers: [185] 185,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[9, 10], Operations: ['23+70=93', '93-83=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 24, 14, 68, 7 ]
46
[ "24+68=92", "14/7=2", "92/2=46" ]
Current State: 46:[24, 14, 68, 7], Operations: [] Exploring Operation: 24+68=92, Resulting Numbers: [14, 7, 92] Generated Node #2: [14, 7, 92] from Operation: 24+68=92 Current State: 46:[14, 7, 92], Operations: ['24+68=92'] Exploring Operation: 14/7=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 14/7=2 Current State: 46:[92, 2], Operations: ['24+68=92', '14/7=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[24, 14, 68, 7], Operations: [] Exploring Operation: 68-14=54, Resulting Numbers: [24, 7, 54] Generated Node #0,0: 46:[24, 7, 54] Operation: 68-14=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[24, 7, 54], Operations: ['68-14=54'] Exploring Operation: 54-7=47, Resulting Numbers: [24, 47] Generated Node #0,0,0: 46:[24, 47] Operation: 54-7=47 Moving to Node #0,0,0 Current State: 46:[24, 47], Operations: ['68-14=54', '54-7=47'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,46 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
[ 62, 53, 65, 72 ]
22
[ "62+53=115", "65+72=137", "137-115=22" ]
Current State: 22:[62, 53, 65, 72], Operations: [] Exploring Operation: 62+53=115, Resulting Numbers: [65, 72, 115] Generated Node #2: [65, 72, 115] from Operation: 62+53=115 Current State: 22:[65, 72, 115], Operations: ['62+53=115'] Exploring Operation: 65+72=137, Resulting Numbers: [115, 137] Generated Node #3: [115, 137] from Operation: 65+72=137 Current State: 22:[115, 137], Operations: ['62+53=115', '65+72=137'] Exploring Operation: 137-115=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[62, 53, 65, 72], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [53, 65, 10] Generated Node #0,0: 22:[53, 65, 10] Operation: 72-62=10 Exploring Operation: 72-65=7, Resulting Numbers: [62, 53, 7] Generated Node #0,1: 22:[62, 53, 7] Operation: 72-65=7 Moving to Node #0,0 Current State: 22:[53, 65, 10], Operations: ['72-62=10'] Exploring Operation: 65-53=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 22:[10, 12] Operation: 65-53=12 Exploring Operation: 53-10=43, Resulting Numbers: [65, 43] Generated Node #0,0,1: 22:[65, 43] Operation: 53-10=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[10, 12], Operations: ['72-62=10', '65-53=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[62, 53, 65, 72], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [53, 65, 10] Generated Node #0,0: 22:[53, 65, 10] Operation: 72-62=10 Moving to Node #0,0 Current State: 22:[53, 65, 10], Operations: ['72-62=10'] Exploring Operation: 65-53=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 22:[10, 12] Operation: 65-53=12 Moving to Node #0,0,0 Current State: 22:[10, 12], Operations: ['72-62=10', '65-53=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 70, 77, 33, 92 ]
52
[ "77-70=7", "92-33=59", "59-7=52" ]
Current State: 52:[70, 77, 33, 92], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [33, 92, 7] Generated Node #2: [33, 92, 7] from Operation: 77-70=7 Current State: 52:[33, 92, 7], Operations: ['77-70=7'] Exploring Operation: 92-33=59, Resulting Numbers: [7, 59] Generated Node #3: [7, 59] from Operation: 92-33=59 Current State: 52:[7, 59], Operations: ['77-70=7', '92-33=59'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[70, 77, 33, 92], Operations: [] Exploring Operation: 92-77=15, Resulting Numbers: [70, 33, 15] Generated Node #0,0: 52:[70, 33, 15] Operation: 92-77=15 Exploring Operation: 92-70=22, Resulting Numbers: [77, 33, 22] Generated Node #0,1: 52:[77, 33, 22] Operation: 92-70=22 Moving to Node #0,0 Current State: 52:[70, 33, 15], Operations: ['92-77=15'] Exploring Operation: 70-15=55, Resulting Numbers: [33, 55] Generated Node #0,0,0: 52:[33, 55] Operation: 70-15=55 Exploring Operation: 70-33=37, Resulting Numbers: [15, 37] Generated Node #0,0,1: 52:[15, 37] Operation: 70-33=37 Moving to Node #0,1 Current State: 52:[77, 33, 22], Operations: ['92-70=22'] Exploring Operation: 77-22=55, Resulting Numbers: [33, 55] Generated Node #0,1,0: 52:[33, 55] Operation: 77-22=55 Exploring Operation: 77-33=44, Resulting Numbers: [22, 44] Generated Node #0,1,1: 52:[22, 44] Operation: 77-33=44 Moving to Node #0,0,0 Current State: 52:[33, 55], Operations: ['92-77=15', '70-15=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[33, 55], Operations: ['92-70=22', '77-22=55'] Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,52 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[22, 44], Operations: ['92-70=22', '77-33=44'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[15, 37], Operations: ['92-77=15', '70-33=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[70, 77, 33, 92], Operations: [] Exploring Operation: 92-77=15, Resulting Numbers: [70, 33, 15] Generated Node #0,0: 52:[70, 33, 15] Operation: 92-77=15 Moving to Node #0,0 Current State: 52:[70, 33, 15], Operations: ['92-77=15'] Exploring Operation: 70-33=37, Resulting Numbers: [15, 37] Generated Node #0,0,1: 52:[15, 37] Operation: 70-33=37 Moving to Node #0,0,1 Current State: 52:[15, 37], Operations: ['92-77=15', '70-33=37'] Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 8, 25, 11, 51 ]
42
[ "11-8=3", "51/3=17", "25+17=42" ]
Current State: 42:[8, 25, 11, 51], Operations: [] Exploring Operation: 11-8=3, Resulting Numbers: [25, 51, 3] Generated Node #2: [25, 51, 3] from Operation: 11-8=3 Current State: 42:[25, 51, 3], Operations: ['11-8=3'] Exploring Operation: 51/3=17, Resulting Numbers: [25, 17] Generated Node #3: [25, 17] from Operation: 51/3=17 Current State: 42:[25, 17], Operations: ['11-8=3', '51/3=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[8, 25, 11, 51], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [8, 25, 40] Generated Node #0,0: 42:[8, 25, 40] Operation: 51-11=40 Exploring Operation: 51-8=43, Resulting Numbers: [25, 11, 43] Generated Node #0,1: 42:[25, 11, 43] Operation: 51-8=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[8, 25, 40], Operations: ['51-11=40'] Exploring Operation: 40-25=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 42:[8, 15] Operation: 40-25=15 Exploring Operation: 25-8=17, Resulting Numbers: [40, 17] Generated Node #0,0,1: 42:[40, 17] Operation: 25-8=17 Moving to Node #0,0,0 Current State: 42:[8, 15], Operations: ['51-11=40', '40-25=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[40, 17], Operations: ['51-11=40', '25-8=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[25, 11, 43], Operations: ['51-8=43'] Exploring Operation: 25-11=14, Resulting Numbers: [43, 14] Generated Node #0,1,0: 42:[43, 14] Operation: 25-11=14 Exploring Operation: 43-25=18, Resulting Numbers: [11, 18] Generated Node #0,1,1: 42:[11, 18] Operation: 43-25=18 Moving to Node #0,1,0 Current State: 42:[43, 14], Operations: ['51-8=43', '25-11=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[11, 18], Operations: ['51-8=43', '43-25=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 36, 7, 3, 66 ]
81
[ "36+66=102", "7*3=21", "102-21=81" ]
Current State: 81:[36, 7, 3, 66], Operations: [] Exploring Operation: 36+66=102, Resulting Numbers: [7, 3, 102] Generated Node #2: [7, 3, 102] from Operation: 36+66=102 Current State: 81:[7, 3, 102], Operations: ['36+66=102'] Exploring Operation: 7*3=21, Resulting Numbers: [102, 21] Generated Node #3: [102, 21] from Operation: 7*3=21 Current State: 81:[102, 21], Operations: ['36+66=102', '7*3=21'] Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[36, 7, 3, 66], Operations: [] Exploring Operation: 66-36=30, Resulting Numbers: [7, 3, 30] Generated Node #0,0: 81:[7, 3, 30] Operation: 66-36=30 Exploring Operation: 36-7=29, Resulting Numbers: [3, 66, 29] Generated Node #0,1: 81:[3, 66, 29] Operation: 36-7=29 Exploring Operation: 66/3=22, Resulting Numbers: [36, 7, 22] Generated Node #0,2: 81:[36, 7, 22] Operation: 66/3=22 Exploring Operation: 7+66=73, Resulting Numbers: [36, 3, 73] Generated Node #0,3: 81:[36, 3, 73] Operation: 7+66=73 Moving to Node #0,0 Current State: 81:[7, 3, 30], Operations: ['66-36=30'] Exploring Operation: 7-3=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 81:[30, 4] Operation: 7-3=4 Exploring Operation: 30-3=27, Resulting Numbers: [7, 27] Generated Node #0,0,1: 81:[7, 27] Operation: 30-3=27 Exploring Operation: 7+3=10, Resulting Numbers: [30, 10] Generated Node #0,0,2: 81:[30, 10] Operation: 7+3=10 Exploring Operation: 30/3=10, Resulting Numbers: [7, 10] Generated Node #0,0,3: 81:[7, 10] Operation: 30/3=10 Moving to Node #0,2 Current State: 81:[36, 7, 22], Operations: ['66/3=22'] Exploring Operation: 7+22=29, Resulting Numbers: [36, 29] Generated Node #0,2,0: 81:[36, 29] Operation: 7+22=29 Exploring Operation: 36-7=29, Resulting Numbers: [22, 29] Generated Node #0,2,1: 81:[22, 29] Operation: 36-7=29 Exploring Operation: 36-22=14, Resulting Numbers: [7, 14] Generated Node #0,2,2: 81:[7, 14] Operation: 36-22=14 Exploring Operation: 22-7=15, Resulting Numbers: [36, 15] Generated Node #0,2,3: 81:[36, 15] Operation: 22-7=15 Moving to Node #0,3 Current State: 81:[36, 3, 73], Operations: ['7+66=73'] Exploring Operation: 3+73=76, Resulting Numbers: [36, 76] Generated Node #0,3,0: 81:[36, 76] Operation: 3+73=76 Exploring Operation: 36/3=12, Resulting Numbers: [73, 12] Generated Node #0,3,1: 81:[73, 12] Operation: 36/3=12 Exploring Operation: 36-3=33, Resulting Numbers: [73, 33] Generated Node #0,3,2: 81:[73, 33] Operation: 36-3=33 Exploring Operation: 73-36=37, Resulting Numbers: [3, 37] Generated Node #0,3,3: 81:[3, 37] Operation: 73-36=37 Moving to Node #0,1 Current State: 81:[3, 66, 29], Operations: ['36-7=29'] Exploring Operation: 66/3=22, Resulting Numbers: [29, 22] Generated Node #0,1,0: 81:[29, 22] Operation: 66/3=22 Exploring Operation: 3+66=69, Resulting Numbers: [29, 69] Generated Node #0,1,1: 81:[29, 69] Operation: 3+66=69 Exploring Operation: 66+29=95, Resulting Numbers: [3, 95] Generated Node #0,1,2: 81:[3, 95] Operation: 66+29=95 Exploring Operation: 66-29=37, Resulting Numbers: [3, 37] Generated Node #0,1,3: 81:[3, 37] Operation: 66-29=37 Moving to Node #0,0,1 Current State: 81:[7, 27], Operations: ['66-36=30', '30-3=27'] Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,81 unequal: No Solution Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[7, 10], Operations: ['66-36=30', '30/3=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[30, 4], Operations: ['66-36=30', '7-3=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[30, 10], Operations: ['66-36=30', '7+3=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[7, 14], Operations: ['66/3=22', '36-22=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[29, 22], Operations: ['36-7=29', '66/3=22'] Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,81 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[22, 29], Operations: ['66/3=22', '36-7=29'] Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,81 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[3, 37], Operations: ['36-7=29', '66-29=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[3, 37], Operations: ['7+66=73', '73-36=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,81 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[36, 29], Operations: ['66/3=22', '7+22=29'] Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,81 unequal: No Solution Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[73, 12], Operations: ['7+66=73', '36/3=12'] Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[29, 69], Operations: ['36-7=29', '3+66=69'] Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,81 unequal: No Solution Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[73, 33], Operations: ['7+66=73', '36-3=33'] Exploring Operation: 73*33=2409, Resulting Numbers: [2409] 2409,81 unequal: No Solution Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 73+33=106, Resulting Numbers: [106] 106,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[3, 95], Operations: ['36-7=29', '66+29=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,81 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[36, 76], Operations: ['7+66=73', '3+73=76'] Exploring Operation: 36+76=112, Resulting Numbers: [112] 112,81 unequal: No Solution Exploring Operation: 36*76=2736, Resulting Numbers: [2736] 2736,81 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[36, 15], Operations: ['66/3=22', '22-7=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,81 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 50, 27, 75, 48 ]
51
[ "50-48=2", "27+75=102", "102/2=51" ]
Current State: 51:[50, 27, 75, 48], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [27, 75, 2] Generated Node #2: [27, 75, 2] from Operation: 50-48=2 Current State: 51:[27, 75, 2], Operations: ['50-48=2'] Exploring Operation: 27+75=102, Resulting Numbers: [2, 102] Generated Node #3: [2, 102] from Operation: 27+75=102 Current State: 51:[2, 102], Operations: ['50-48=2', '27+75=102'] Exploring Operation: 102/2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[50, 27, 75, 48], Operations: [] Exploring Operation: 75-27=48, Resulting Numbers: [50, 48, 48] Generated Node #0,0: 51:[50, 48, 48] Operation: 75-27=48 Exploring Operation: 75-48=27, Resulting Numbers: [50, 27, 27] Generated Node #0,1: 51:[50, 27, 27] Operation: 75-48=27 Exploring Operation: 75-50=25, Resulting Numbers: [27, 48, 25] Generated Node #0,2: 51:[27, 48, 25] Operation: 75-50=25 Moving to Node #0,0 Current State: 51:[50, 48, 48], Operations: ['75-27=48'] Exploring Operation: 48/48=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 51:[50, 1] Operation: 48/48=1 Exploring Operation: 50-48=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 51:[48, 2] Operation: 50-48=2 Exploring Operation: 50-48=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 51:[48, 2] Operation: 50-48=2 Moving to Node #0,1 Current State: 51:[50, 27, 27], Operations: ['75-48=27'] Exploring Operation: 27-27=0, Resulting Numbers: [50, 0] Generated Node #0,1,0: 51:[50, 0] Operation: 27-27=0 Exploring Operation: 27/27=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 51:[50, 1] Operation: 27/27=1 Exploring Operation: 27+27=54, Resulting Numbers: [50, 54] Generated Node #0,1,2: 51:[50, 54] Operation: 27+27=54 Moving to Node #0,2 Current State: 51:[27, 48, 25], Operations: ['75-50=25'] Exploring Operation: 48-27=21, Resulting Numbers: [25, 21] Generated Node #0,2,0: 51:[25, 21] Operation: 48-27=21 Exploring Operation: 27+25=52, Resulting Numbers: [48, 52] Generated Node #0,2,1: 51:[48, 52] Operation: 27+25=52 Exploring Operation: 27-25=2, Resulting Numbers: [48, 2] Generated Node #0,2,2: 51:[48, 2] Operation: 27-25=2 Moving to Node #0,0,0 Current State: 51:[50, 1], Operations: ['75-27=48', '48/48=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[50, 27, 75, 48], Operations: [] Exploring Operation: 75-27=48, Resulting Numbers: [50, 48, 48] Generated Node #0,0: 51:[50, 48, 48] Operation: 75-27=48 Moving to Node #0,0 Current State: 51:[50, 48, 48], Operations: ['75-27=48'] Exploring Operation: 48/48=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 51:[50, 1] Operation: 48/48=1 Moving to Node #0,0,0 Current State: 51:[50, 1], Operations: ['75-27=48', '48/48=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 50, 59, 74, 25 ]
11
[ "59-50=9", "74+25=99", "99/9=11" ]
Current State: 11:[50, 59, 74, 25], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [74, 25, 9] Generated Node #2: [74, 25, 9] from Operation: 59-50=9 Current State: 11:[74, 25, 9], Operations: ['59-50=9'] Exploring Operation: 74+25=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 74+25=99 Current State: 11:[9, 99], Operations: ['59-50=9', '74+25=99'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[50, 59, 74, 25], Operations: [] Exploring Operation: 74-50=24, Resulting Numbers: [59, 25, 24] Generated Node #0,0: 11:[59, 25, 24] Operation: 74-50=24 Exploring Operation: 59-50=9, Resulting Numbers: [74, 25, 9] Generated Node #0,1: 11:[74, 25, 9] Operation: 59-50=9 Exploring Operation: 74-59=15, Resulting Numbers: [50, 25, 15] Generated Node #0,2: 11:[50, 25, 15] Operation: 74-59=15 Moving to Node #0,2 Current State: 11:[50, 25, 15], Operations: ['74-59=15'] Exploring Operation: 50/25=2, Resulting Numbers: [15, 2] Generated Node #0,2,0: 11:[15, 2] Operation: 50/25=2 Exploring Operation: 50-25=25, Resulting Numbers: [15, 25] Generated Node #0,2,1: 11:[15, 25] Operation: 50-25=25 Exploring Operation: 50-15=35, Resulting Numbers: [25, 35] Generated Node #0,2,2: 11:[25, 35] Operation: 50-15=35 Moving to Node #0,0 Current State: 11:[59, 25, 24], Operations: ['74-50=24'] Exploring Operation: 25-24=1, Resulting Numbers: [59, 1] Generated Node #0,0,0: 11:[59, 1] Operation: 25-24=1 Exploring Operation: 59-25=34, Resulting Numbers: [24, 34] Generated Node #0,0,1: 11:[24, 34] Operation: 59-25=34 Exploring Operation: 59-24=35, Resulting Numbers: [25, 35] Generated Node #0,0,2: 11:[25, 35] Operation: 59-24=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[24, 34], Operations: ['74-50=24', '59-25=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[25, 35], Operations: ['74-50=24', '59-24=35'] Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,11 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[59, 1], Operations: ['74-50=24', '25-24=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 11:[74, 25, 9], Operations: ['59-50=9'] Exploring Operation: 25-9=16, Resulting Numbers: [74, 16] Generated Node #0,1,0: 11:[74, 16] Operation: 25-9=16 Exploring Operation: 74-25=49, Resulting Numbers: [9, 49] Generated Node #0,1,1: 11:[9, 49] Operation: 74-25=49 Exploring Operation: 74-9=65, Resulting Numbers: [25, 65] Generated Node #0,1,2: 11:[25, 65] Operation: 74-9=65 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[9, 49], Operations: ['59-50=9', '74-25=49'] Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,11 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[74, 16], Operations: ['59-50=9', '25-9=16'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[25, 65], Operations: ['59-50=9', '74-9=65'] Exploring Operation: 25+65=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 25*65=1625, Resulting Numbers: [1625] 1625,11 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 11:[15, 2], Operations: ['74-59=15', '50/25=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[15, 25], Operations: ['74-59=15', '50-25=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 15*25=375, Resulting Numbers: [375] 375,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[25, 35], Operations: ['74-59=15', '50-15=35'] Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,11 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,11 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 62, 88, 42, 44 ]
57
[ "44-42=2", "62/2=31", "88-31=57" ]
Current State: 57:[62, 88, 42, 44], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [62, 88, 2] Generated Node #2: [62, 88, 2] from Operation: 44-42=2 Current State: 57:[62, 88, 2], Operations: ['44-42=2'] Exploring Operation: 62/2=31, Resulting Numbers: [88, 31] Generated Node #3: [88, 31] from Operation: 62/2=31 Current State: 57:[88, 31], Operations: ['44-42=2', '62/2=31'] Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[62, 88, 42, 44], Operations: [] Exploring Operation: 88-42=46, Resulting Numbers: [62, 44, 46] Generated Node #0,0: 57:[62, 44, 46] Operation: 88-42=46 Exploring Operation: 88/44=2, Resulting Numbers: [62, 42, 2] Generated Node #0,1: 57:[62, 42, 2] Operation: 88/44=2 Moving to Node #0,1 Current State: 57:[62, 42, 2], Operations: ['88/44=2'] Exploring Operation: 42/2=21, Resulting Numbers: [62, 21] Generated Node #0,1,0: 57:[62, 21] Operation: 42/2=21 Exploring Operation: 62-42=20, Resulting Numbers: [2, 20] Generated Node #0,1,1: 57:[2, 20] Operation: 62-42=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[2, 20], Operations: ['88/44=2', '62-42=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[62, 21], Operations: ['88/44=2', '42/2=21'] Exploring Operation: 62+21=83, Resulting Numbers: [83] 83,57 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,57 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: 57:[62, 44, 46], Operations: ['88-42=46'] Exploring Operation: 62-44=18, Resulting Numbers: [46, 18] Generated Node #0,0,0: 57:[46, 18] Operation: 62-44=18 Exploring Operation: 46-44=2, Resulting Numbers: [62, 2] Generated Node #0,0,1: 57:[62, 2] Operation: 46-44=2 Moving to Node #0,0,1 Current State: 57:[62, 2], Operations: ['88-42=46', '46-44=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,57 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[46, 18], Operations: ['88-42=46', '62-44=18'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,57 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 56, 49, 92, 84 ]
71
[ "56+49=105", "92+84=176", "176-105=71" ]
Current State: 71:[56, 49, 92, 84], Operations: [] Exploring Operation: 56+49=105, Resulting Numbers: [92, 84, 105] Generated Node #2: [92, 84, 105] from Operation: 56+49=105 Current State: 71:[92, 84, 105], Operations: ['56+49=105'] Exploring Operation: 92+84=176, Resulting Numbers: [105, 176] Generated Node #3: [105, 176] from Operation: 92+84=176 Current State: 71:[105, 176], Operations: ['56+49=105', '92+84=176'] Exploring Operation: 176-105=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[56, 49, 92, 84], Operations: [] Exploring Operation: 56+49=105, Resulting Numbers: [92, 84, 105] Generated Node #0,0: 71:[92, 84, 105] Operation: 56+49=105 Exploring Operation: 92-56=36, Resulting Numbers: [49, 84, 36] Generated Node #0,1: 71:[49, 84, 36] Operation: 92-56=36 Exploring Operation: 92-49=43, Resulting Numbers: [56, 84, 43] Generated Node #0,2: 71:[56, 84, 43] Operation: 92-49=43 Exploring Operation: 84-49=35, Resulting Numbers: [56, 92, 35] Generated Node #0,3: 71:[56, 92, 35] Operation: 84-49=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[56, 84, 43], Operations: ['92-49=43'] Exploring Operation: 56+43=99, Resulting Numbers: [84, 99] Generated Node #0,2,0: 71:[84, 99] Operation: 56+43=99 Exploring Operation: 84-56=28, Resulting Numbers: [43, 28] Generated Node #0,2,1: 71:[43, 28] Operation: 84-56=28 Exploring Operation: 84-43=41, Resulting Numbers: [56, 41] Generated Node #0,2,2: 71:[56, 41] Operation: 84-43=41 Exploring Operation: 56-43=13, Resulting Numbers: [84, 13] Generated Node #0,2,3: 71:[84, 13] Operation: 56-43=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[84, 99], Operations: ['92-49=43', '56+43=99'] Exploring Operation: 84*99=8316, Resulting Numbers: [8316] 8316,71 unequal: No Solution Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 84+99=183, Resulting Numbers: [183] 183,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,2,2 Current State: 71:[56, 41], Operations: ['92-49=43', '84-43=41'] Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 56*41=2296, Resulting Numbers: [2296] 2296,71 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,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,2,1 Current State: 71:[43, 28], Operations: ['92-49=43', '84-56=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[56, 49, 92, 84], Operations: [] Exploring Operation: 92-49=43, Resulting Numbers: [56, 84, 43] Generated Node #0,2: 71:[56, 84, 43] Operation: 92-49=43 Moving to Node #0,2 Current State: 71:[56, 84, 43], Operations: ['92-49=43'] Exploring Operation: 84-56=28, Resulting Numbers: [43, 28] Generated Node #0,2,1: 71:[43, 28] Operation: 84-56=28 Moving to Node #0,2,1 Current State: 71:[43, 28], Operations: ['92-49=43', '84-56=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 10, 13, 71, 14 ]
73
[ "10*13=130", "71-14=57", "130-57=73" ]
Current State: 73:[10, 13, 71, 14], Operations: [] Exploring Operation: 10*13=130, Resulting Numbers: [71, 14, 130] Generated Node #2: [71, 14, 130] from Operation: 10*13=130 Current State: 73:[71, 14, 130], Operations: ['10*13=130'] Exploring Operation: 71-14=57, Resulting Numbers: [130, 57] Generated Node #3: [130, 57] from Operation: 71-14=57 Current State: 73:[130, 57], Operations: ['10*13=130', '71-14=57'] Exploring Operation: 130-57=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 13, 71, 14], Operations: [] Exploring Operation: 10*13=130, Resulting Numbers: [71, 14, 130] Generated Node #0,0: 73:[71, 14, 130] Operation: 10*13=130 Exploring Operation: 13+14=27, Resulting Numbers: [10, 71, 27] Generated Node #0,1: 73:[10, 71, 27] Operation: 13+14=27 Exploring Operation: 10+13=23, Resulting Numbers: [71, 14, 23] Generated Node #0,2: 73:[71, 14, 23] Operation: 10+13=23 Exploring Operation: 10+71=81, Resulting Numbers: [13, 14, 81] Generated Node #0,3: 73:[13, 14, 81] Operation: 10+71=81 Exploring Operation: 10+14=24, Resulting Numbers: [13, 71, 24] Generated Node #0,4: 73:[13, 71, 24] Operation: 10+14=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[10, 71, 27], Operations: ['13+14=27'] Exploring Operation: 10+27=37, Resulting Numbers: [71, 37] Generated Node #0,1,0: 73:[71, 37] Operation: 10+27=37 Exploring Operation: 71-10=61, Resulting Numbers: [27, 61] Generated Node #0,1,1: 73:[27, 61] Operation: 71-10=61 Exploring Operation: 27-10=17, Resulting Numbers: [71, 17] Generated Node #0,1,2: 73:[71, 17] Operation: 27-10=17 Exploring Operation: 71+27=98, Resulting Numbers: [10, 98] Generated Node #0,1,3: 73:[10, 98] Operation: 71+27=98 Exploring Operation: 10+71=81, Resulting Numbers: [27, 81] Generated Node #0,1,4: 73:[27, 81] Operation: 10+71=81 Moving to Node #0,1,0 Current State: 73:[71, 37], Operations: ['13+14=27', '10+27=37'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[27, 81], Operations: ['13+14=27', '10+71=81'] Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 27+81=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 27*81=2187, Resulting Numbers: [2187] 2187,73 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[27, 61], Operations: ['13+14=27', '71-10=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,73 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[71, 17], Operations: ['13+14=27', '27-10=17'] Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[10, 98], Operations: ['13+14=27', '71+27=98'] Exploring Operation: 10*98=980, Resulting Numbers: [980] 980,73 unequal: No Solution Exploring Operation: 10+98=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[71, 14, 23], Operations: ['10+13=23'] Exploring Operation: 71+23=94, Resulting Numbers: [14, 94] Generated Node #0,2,0: 73:[14, 94] Operation: 71+23=94 Exploring Operation: 71+14=85, Resulting Numbers: [23, 85] Generated Node #0,2,1: 73:[23, 85] Operation: 71+14=85 Exploring Operation: 23-14=9, Resulting Numbers: [71, 9] Generated Node #0,2,2: 73:[71, 9] Operation: 23-14=9 Exploring Operation: 14+23=37, Resulting Numbers: [71, 37] Generated Node #0,2,3: 73:[71, 37] Operation: 14+23=37 Exploring Operation: 71-14=57, Resulting Numbers: [23, 57] Generated Node #0,2,4: 73:[23, 57] Operation: 71-14=57 Moving to Node #0,2,3 Current State: 73:[71, 37], Operations: ['10+13=23', '14+23=37'] Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[23, 85], Operations: ['10+13=23', '71+14=85'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,73 unequal: No Solution Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,73 unequal: No Solution Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[71, 9], Operations: ['10+13=23', '23-14=9'] Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,73 unequal: No Solution Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[23, 57], Operations: ['10+13=23', '71-14=57'] Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,73 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[14, 94], Operations: ['10+13=23', '71+23=94'] Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,73 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[13, 71, 24], Operations: ['10+14=24'] Exploring Operation: 71+24=95, Resulting Numbers: [13, 95] Generated Node #0,4,0: 73:[13, 95] Operation: 71+24=95 Exploring Operation: 13+71=84, Resulting Numbers: [24, 84] Generated Node #0,4,1: 73:[24, 84] Operation: 13+71=84 Exploring Operation: 13+24=37, Resulting Numbers: [71, 37] Generated Node #0,4,2: 73:[71, 37] Operation: 13+24=37 Exploring Operation: 24-13=11, Resulting Numbers: [71, 11] Generated Node #0,4,3: 73:[71, 11] Operation: 24-13=11 Exploring Operation: 71-13=58, Resulting Numbers: [24, 58] Generated Node #0,4,4: 73:[24, 58] Operation: 71-13=58 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 73:[71, 37], Operations: ['10+14=24', '13+24=37'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,73 unequal: No Solution No 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: 73:[24, 84], Operations: ['10+14=24', '13+71=84'] Exploring Operation: 24*84=2016, Resulting Numbers: [2016] 2016,73 unequal: No Solution Exploring Operation: 24+84=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,73 unequal: No Solution No 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: 73:[71, 11], Operations: ['10+14=24', '24-13=11'] Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,73 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,73 unequal: No Solution No 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: 73:[24, 58], Operations: ['10+14=24', '71-13=58'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 24*58=1392, Resulting Numbers: [1392] 1392,73 unequal: No Solution No 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: 73:[13, 95], Operations: ['10+14=24', '71+24=95'] Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 13*95=1235, Resulting Numbers: [1235] 1235,73 unequal: No Solution Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,73 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: 73:[71, 14, 130], Operations: ['10*13=130'] Exploring Operation: 130-14=116, Resulting Numbers: [71, 116] Generated Node #0,0,0: 73:[71, 116] Operation: 130-14=116 Exploring Operation: 71-14=57, Resulting Numbers: [130, 57] Generated Node #0,0,1: 73:[130, 57] Operation: 71-14=57 Exploring Operation: 130-71=59, Resulting Numbers: [14, 59] Generated Node #0,0,2: 73:[14, 59] Operation: 130-71=59 Exploring Operation: 71+14=85, Resulting Numbers: [130, 85] Generated Node #0,0,3: 73:[130, 85] Operation: 71+14=85 Exploring Operation: 14+130=144, Resulting Numbers: [71, 144] Generated Node #0,0,4: 73:[71, 144] Operation: 14+130=144 Moving to Node #0,0,0 Current State: 73:[71, 116], Operations: ['10*13=130', '130-14=116'] Exploring Operation: 116-71=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 71*116=8236, Resulting Numbers: [8236] 8236,73 unequal: No Solution Exploring Operation: 71+116=187, Resulting Numbers: [187] 187,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[130, 85], Operations: ['10*13=130', '71+14=85'] Exploring Operation: 130-85=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 130+85=215, Resulting Numbers: [215] 215,73 unequal: No Solution Exploring Operation: 130*85=11050, Resulting Numbers: [11050] 11050,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[130, 57], Operations: ['10*13=130', '71-14=57'] Exploring Operation: 130*57=7410, Resulting Numbers: [7410] 7410,73 unequal: No Solution Exploring Operation: 130+57=187, Resulting Numbers: [187] 187,73 unequal: No Solution Exploring Operation: 130-57=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[10, 13, 71, 14], Operations: [] Exploring Operation: 10*13=130, Resulting Numbers: [71, 14, 130] Generated Node #0,0: 73:[71, 14, 130] Operation: 10*13=130 Moving to Node #0,0 Current State: 73:[71, 14, 130], Operations: ['10*13=130'] Exploring Operation: 71-14=57, Resulting Numbers: [130, 57] Generated Node #0,0,1: 73:[130, 57] Operation: 71-14=57 Moving to Node #0,0,1 Current State: 73:[130, 57], Operations: ['10*13=130', '71-14=57'] Exploring Operation: 130-57=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.927083
hs_5
mult_heuristic
[ 47, 39, 42, 94 ]
83
[ "94/47=2", "39+42=81", "2+81=83" ]
Current State: 83:[47, 39, 42, 94], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [39, 42, 2] Generated Node #2: [39, 42, 2] from Operation: 94/47=2 Current State: 83:[39, 42, 2], Operations: ['94/47=2'] Exploring Operation: 39+42=81, Resulting Numbers: [2, 81] Generated Node #3: [2, 81] from Operation: 39+42=81 Current State: 83:[2, 81], Operations: ['94/47=2', '39+42=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[47, 39, 42, 94], Operations: [] Exploring Operation: 47+42=89, Resulting Numbers: [39, 94, 89] Generated Node #0,0: 83:[39, 94, 89] Operation: 47+42=89 Exploring Operation: 39+42=81, Resulting Numbers: [47, 94, 81] Generated Node #0,1: 83:[47, 94, 81] Operation: 39+42=81 Exploring Operation: 47+39=86, Resulting Numbers: [42, 94, 86] Generated Node #0,2: 83:[42, 94, 86] Operation: 47+39=86 Exploring Operation: 94-39=55, Resulting Numbers: [47, 42, 55] Generated Node #0,3: 83:[47, 42, 55] Operation: 94-39=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[47, 94, 81], Operations: ['39+42=81'] Exploring Operation: 81-47=34, Resulting Numbers: [94, 34] Generated Node #0,1,0: 83:[94, 34] Operation: 81-47=34 Exploring Operation: 47+94=141, Resulting Numbers: [81, 141] Generated Node #0,1,1: 83:[81, 141] Operation: 47+94=141 Exploring Operation: 94-47=47, Resulting Numbers: [81, 47] Generated Node #0,1,2: 83:[81, 47] Operation: 94-47=47 Exploring Operation: 47+81=128, Resulting Numbers: [94, 128] Generated Node #0,1,3: 83:[94, 128] Operation: 47+81=128 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[81, 47], Operations: ['39+42=81', '94-47=47'] Exploring Operation: 81+47=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 81*47=3807, Resulting Numbers: [3807] 3807,83 unequal: No Solution Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[94, 128], Operations: ['39+42=81', '47+81=128'] Exploring Operation: 94+128=222, Resulting Numbers: [222] 222,83 unequal: No Solution Exploring Operation: 94*128=12032, Resulting Numbers: [12032] 12032,83 unequal: No Solution Exploring Operation: 128-94=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[94, 34], Operations: ['39+42=81', '81-47=34'] Exploring Operation: 94-34=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 94+34=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 94*34=3196, Resulting Numbers: [3196] 3196,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[81, 141], Operations: ['39+42=81', '47+94=141'] Exploring Operation: 141-81=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 81+141=222, Resulting Numbers: [222] 222,83 unequal: No Solution Exploring Operation: 81*141=11421, Resulting Numbers: [11421] 11421,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[42, 94, 86], Operations: ['47+39=86'] Exploring Operation: 42+86=128, Resulting Numbers: [94, 128] Generated Node #0,2,0: 83:[94, 128] Operation: 42+86=128 Exploring Operation: 94-42=52, Resulting Numbers: [86, 52] Generated Node #0,2,1: 83:[86, 52] Operation: 94-42=52 Exploring Operation: 86-42=44, Resulting Numbers: [94, 44] Generated Node #0,2,2: 83:[94, 44] Operation: 86-42=44 Exploring Operation: 42+94=136, Resulting Numbers: [86, 136] Generated Node #0,2,3: 83:[86, 136] Operation: 42+94=136 Moving to Node #0,2,1 Current State: 83:[86, 52], Operations: ['47+39=86', '94-42=52'] Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,83 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[94, 44], Operations: ['47+39=86', '86-42=44'] Exploring Operation: 94+44=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 94*44=4136, Resulting Numbers: [4136] 4136,83 unequal: No Solution Exploring Operation: 94-44=50, Resulting Numbers: [50] 50,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[86, 136], Operations: ['47+39=86', '42+94=136'] Exploring Operation: 86*136=11696, Resulting Numbers: [11696] 11696,83 unequal: No Solution Exploring Operation: 86+136=222, Resulting Numbers: [222] 222,83 unequal: No Solution Exploring Operation: 136-86=50, Resulting Numbers: [50] 50,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[94, 128], Operations: ['47+39=86', '42+86=128'] Exploring Operation: 94*128=12032, Resulting Numbers: [12032] 12032,83 unequal: No Solution Exploring Operation: 128-94=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 94+128=222, Resulting Numbers: [222] 222,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[39, 94, 89], Operations: ['47+42=89'] Exploring Operation: 89-39=50, Resulting Numbers: [94, 50] Generated Node #0,0,0: 83:[94, 50] Operation: 89-39=50 Exploring Operation: 94-39=55, Resulting Numbers: [89, 55] Generated Node #0,0,1: 83:[89, 55] Operation: 94-39=55 Exploring Operation: 39+94=133, Resulting Numbers: [89, 133] Generated Node #0,0,2: 83:[89, 133] Operation: 39+94=133 Exploring Operation: 39+89=128, Resulting Numbers: [94, 128] Generated Node #0,0,3: 83:[94, 128] Operation: 39+89=128 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[89, 55], Operations: ['47+42=89', '94-39=55'] Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,83 unequal: No Solution Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[94, 50], Operations: ['47+42=89', '89-39=50'] Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 94+50=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 94*50=4700, Resulting Numbers: [4700] 4700,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[89, 133], Operations: ['47+42=89', '39+94=133'] Exploring Operation: 133-89=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 89*133=11837, Resulting Numbers: [11837] 11837,83 unequal: No Solution Exploring Operation: 89+133=222, Resulting Numbers: [222] 222,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[94, 128], Operations: ['47+42=89', '39+89=128'] Exploring Operation: 94+128=222, Resulting Numbers: [222] 222,83 unequal: No Solution Exploring Operation: 128-94=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 94*128=12032, Resulting Numbers: [12032] 12032,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[47, 42, 55], Operations: ['94-39=55'] Exploring Operation: 42+55=97, Resulting Numbers: [47, 97] Generated Node #0,3,0: 83:[47, 97] Operation: 42+55=97 Exploring Operation: 47+42=89, Resulting Numbers: [55, 89] Generated Node #0,3,1: 83:[55, 89] Operation: 47+42=89 Exploring Operation: 47+55=102, Resulting Numbers: [42, 102] Generated Node #0,3,2: 83:[42, 102] Operation: 47+55=102 Exploring Operation: 47-42=5, Resulting Numbers: [55, 5] Generated Node #0,3,3: 83:[55, 5] Operation: 47-42=5 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[55, 89], Operations: ['94-39=55', '47+42=89'] Exploring Operation: 55+89=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 55*89=4895, Resulting Numbers: [4895] 4895,83 unequal: No Solution Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[47, 97], Operations: ['94-39=55', '42+55=97'] Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 47*97=4559, Resulting Numbers: [4559] 4559,83 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[42, 102], Operations: ['94-39=55', '47+55=102'] Exploring Operation: 42+102=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 102-42=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 42*102=4284, Resulting Numbers: [4284] 4284,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[55, 5], Operations: ['94-39=55', '47-42=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,83 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 46, 47, 46, 58 ]
81
[ "46+47=93", "58-46=12", "93-12=81" ]
Current State: 81:[46, 47, 46, 58], Operations: [] Exploring Operation: 46+47=93, Resulting Numbers: [58, 93] Generated Node #2: [58, 93] from Operation: 46+47=93 Current State: 81:[58, 93], Operations: ['46+47=93'] Exploring Operation: 58-46=12, Resulting Numbers: [93, 12] Generated Node #3: [93, 12] from Operation: 58-46=12 Current State: 81:[93, 12], Operations: ['46+47=93', '58-46=12'] Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[46, 47, 46, 58], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [46, 46, 11] Generated Node #0,0: 81:[46, 46, 11] Operation: 58-47=11 Exploring Operation: 47-46=1, Resulting Numbers: [46, 58, 1] Generated Node #0,1: 81:[46, 58, 1] Operation: 47-46=1 Exploring Operation: 58-46=12, Resulting Numbers: [46, 47, 12] Generated Node #0,2: 81:[46, 47, 12] Operation: 58-46=12 Exploring Operation: 58-46=12, Resulting Numbers: [47, 46, 12] Generated Node #0,3: 81:[47, 46, 12] Operation: 58-46=12 Moving to Node #0,0 Current State: 81:[46, 46, 11], Operations: ['58-47=11'] Exploring Operation: 46/46=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 81:[11, 1] Operation: 46/46=1 Exploring Operation: 46+46=92, Resulting Numbers: [11, 92] Generated Node #0,0,1: 81:[11, 92] Operation: 46+46=92 Exploring Operation: 46-46=0, Resulting Numbers: [11, 0] Generated Node #0,0,2: 81:[11, 0] Operation: 46-46=0 Exploring Operation: 46-11=35, Resulting Numbers: [46, 35] Generated Node #0,0,3: 81:[46, 35] Operation: 46-11=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[11, 1], Operations: ['58-47=11', '46/46=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,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,0,2 Current State: 81:[11, 0], Operations: ['58-47=11', '46-46=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,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,0,1 Current State: 81:[11, 92], Operations: ['58-47=11', '46+46=92'] Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,81 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[46, 47, 46, 58], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [46, 46, 11] Generated Node #0,0: 81:[46, 46, 11] Operation: 58-47=11 Moving to Node #0,0 Current State: 81:[46, 46, 11], Operations: ['58-47=11'] Exploring Operation: 46+46=92, Resulting Numbers: [11, 92] Generated Node #0,0,1: 81:[11, 92] Operation: 46+46=92 Moving to Node #0,0,1 Current State: 81:[11, 92], Operations: ['58-47=11', '46+46=92'] Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic