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
[ 10, 97, 87, 42 ]
62
[ "10+97=107", "87-42=45", "107-45=62" ]
Current State: 62:[10, 97, 87, 42], Operations: [] Exploring Operation: 10+97=107, Resulting Numbers: [87, 42, 107] Generated Node #2: [87, 42, 107] from Operation: 10+97=107 Current State: 62:[87, 42, 107], Operations: ['10+97=107'] Exploring Operation: 87-42=45, Resulting Numbers: [107, 45] Generated Node #3: [107, 45] from Operation: 87-42=45 Current State: 62:[107, 45], Operations: ['10+97=107', '87-42=45'] Exploring Operation: 107-45=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[10, 97, 87, 42], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [10, 87, 55] Generated Node #0,0: 62:[10, 87, 55] Operation: 97-42=55 Exploring Operation: 97-87=10, Resulting Numbers: [10, 42, 10] Generated Node #0,1: 62:[10, 42, 10] Operation: 97-87=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[10, 42, 10], Operations: ['97-87=10'] Exploring Operation: 42-10=32, Resulting Numbers: [10, 32] Generated Node #0,1,0: 62:[10, 32] Operation: 42-10=32 Exploring Operation: 42-10=32, Resulting Numbers: [10, 32] Generated Node #0,1,1: 62:[10, 32] Operation: 42-10=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[10, 32], Operations: ['97-87=10', '42-10=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[10, 32], Operations: ['97-87=10', '42-10=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[10, 87, 55], Operations: ['97-42=55'] Exploring Operation: 87-10=77, Resulting Numbers: [55, 77] Generated Node #0,0,0: 62:[55, 77] Operation: 87-10=77 Exploring Operation: 87-55=32, Resulting Numbers: [10, 32] Generated Node #0,0,1: 62:[10, 32] Operation: 87-55=32 Moving to Node #0,0,1 Current State: 62:[10, 32], Operations: ['97-42=55', '87-55=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[55, 77], Operations: ['97-42=55', '87-10=77'] Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,62 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,62 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
[ 17, 45, 72, 98 ]
40
[ "98-17=81", "45*72=3240", "3240/81=40" ]
Current State: 40:[17, 45, 72, 98], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [45, 72, 81] Generated Node #2: [45, 72, 81] from Operation: 98-17=81 Current State: 40:[45, 72, 81], Operations: ['98-17=81'] Exploring Operation: 45*72=3240, Resulting Numbers: [81, 3240] Generated Node #3: [81, 3240] from Operation: 45*72=3240 Current State: 40:[81, 3240], Operations: ['98-17=81', '45*72=3240'] Exploring Operation: 3240/81=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[17, 45, 72, 98], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [17, 45, 26] Generated Node #0,0: 40:[17, 45, 26] Operation: 98-72=26 Exploring Operation: 98-45=53, Resulting Numbers: [17, 72, 53] Generated Node #0,1: 40:[17, 72, 53] Operation: 98-45=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[17, 45, 26], Operations: ['98-72=26'] Exploring Operation: 45-26=19, Resulting Numbers: [17, 19] Generated Node #0,0,0: 40:[17, 19] Operation: 45-26=19 Exploring Operation: 26-17=9, Resulting Numbers: [45, 9] Generated Node #0,0,1: 40:[45, 9] Operation: 26-17=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[17, 19], Operations: ['98-72=26', '45-26=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,40 unequal: No Solution No 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: 40:[45, 9], Operations: ['98-72=26', '26-17=9'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,40 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: 40:[17, 72, 53], Operations: ['98-45=53'] Exploring Operation: 72-53=19, Resulting Numbers: [17, 19] Generated Node #0,1,0: 40:[17, 19] Operation: 72-53=19 Exploring Operation: 72-17=55, Resulting Numbers: [53, 55] Generated Node #0,1,1: 40:[53, 55] Operation: 72-17=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[17, 19], Operations: ['98-45=53', '72-53=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,40 unequal: No Solution No 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: 40:[53, 55], Operations: ['98-45=53', '72-17=55'] Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,40 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,40 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
[ 7, 50, 16, 34 ]
75
[ "7+50=57", "34-16=18", "57+18=75" ]
Current State: 75:[7, 50, 16, 34], Operations: [] Exploring Operation: 7+50=57, Resulting Numbers: [16, 34, 57] Generated Node #2: [16, 34, 57] from Operation: 7+50=57 Current State: 75:[16, 34, 57], Operations: ['7+50=57'] Exploring Operation: 34-16=18, Resulting Numbers: [57, 18] Generated Node #3: [57, 18] from Operation: 34-16=18 Current State: 75:[57, 18], Operations: ['7+50=57', '34-16=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[7, 50, 16, 34], Operations: [] Exploring Operation: 50+34=84, Resulting Numbers: [7, 16, 84] Generated Node #0,0: 75:[7, 16, 84] Operation: 50+34=84 Exploring Operation: 50-34=16, Resulting Numbers: [7, 16, 16] Generated Node #0,1: 75:[7, 16, 16] Operation: 50-34=16 Exploring Operation: 50-16=34, Resulting Numbers: [7, 34, 34] Generated Node #0,2: 75:[7, 34, 34] Operation: 50-16=34 Exploring Operation: 50+16=66, Resulting Numbers: [7, 34, 66] Generated Node #0,3: 75:[7, 34, 66] Operation: 50+16=66 Moving to Node #0,1 Current State: 75:[7, 16, 16], Operations: ['50-34=16'] Exploring Operation: 7+16=23, Resulting Numbers: [16, 23] Generated Node #0,1,0: 75:[16, 23] Operation: 7+16=23 Exploring Operation: 16/16=1, Resulting Numbers: [7, 1] Generated Node #0,1,1: 75:[7, 1] Operation: 16/16=1 Exploring Operation: 7+16=23, Resulting Numbers: [16, 23] Generated Node #0,1,2: 75:[16, 23] Operation: 7+16=23 Exploring Operation: 16-7=9, Resulting Numbers: [16, 9] Generated Node #0,1,3: 75:[16, 9] Operation: 16-7=9 Moving to Node #0,0 Current State: 75:[7, 16, 84], Operations: ['50+34=84'] Exploring Operation: 7+16=23, Resulting Numbers: [84, 23] Generated Node #0,0,0: 75:[84, 23] Operation: 7+16=23 Exploring Operation: 84-16=68, Resulting Numbers: [7, 68] Generated Node #0,0,1: 75:[7, 68] Operation: 84-16=68 Exploring Operation: 84/7=12, Resulting Numbers: [16, 12] Generated Node #0,0,2: 75:[16, 12] Operation: 84/7=12 Exploring Operation: 84-7=77, Resulting Numbers: [16, 77] Generated Node #0,0,3: 75:[16, 77] Operation: 84-7=77 Moving to Node #0,3 Current State: 75:[7, 34, 66], Operations: ['50+16=66'] Exploring Operation: 66-34=32, Resulting Numbers: [7, 32] Generated Node #0,3,0: 75:[7, 32] Operation: 66-34=32 Exploring Operation: 7+34=41, Resulting Numbers: [66, 41] Generated Node #0,3,1: 75:[66, 41] Operation: 7+34=41 Exploring Operation: 7+66=73, Resulting Numbers: [34, 73] Generated Node #0,3,2: 75:[34, 73] Operation: 7+66=73 Exploring Operation: 34-7=27, Resulting Numbers: [66, 27] Generated Node #0,3,3: 75:[66, 27] Operation: 34-7=27 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 75:[7, 32], Operations: ['50+16=66', '66-34=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,75 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[34, 73], Operations: ['50+16=66', '7+66=73'] Exploring Operation: 34+73=107, Resulting Numbers: [107] 107,75 unequal: No Solution Exploring Operation: 34*73=2482, Resulting Numbers: [2482] 2482,75 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[66, 27], Operations: ['50+16=66', '34-7=27'] Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,75 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 75:[66, 41], Operations: ['50+16=66', '7+34=41'] Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,75 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,75 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 75:[7, 34, 34], Operations: ['50-16=34'] Exploring Operation: 34-34=0, Resulting Numbers: [7, 0] Generated Node #0,2,0: 75:[7, 0] Operation: 34-34=0 Exploring Operation: 34-7=27, Resulting Numbers: [34, 27] Generated Node #0,2,1: 75:[34, 27] Operation: 34-7=27 Exploring Operation: 34/34=1, Resulting Numbers: [7, 1] Generated Node #0,2,2: 75:[7, 1] Operation: 34/34=1 Exploring Operation: 34+34=68, Resulting Numbers: [7, 68] Generated Node #0,2,3: 75:[7, 68] Operation: 34+34=68 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[7, 1], Operations: ['50-16=34', '34/34=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[7, 0], Operations: ['50-16=34', '34-34=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 75:[7, 68], Operations: ['50-16=34', '34+34=68'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,75 unequal: No Solution Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[7, 50, 16, 34], Operations: [] Exploring Operation: 50-16=34, Resulting Numbers: [7, 34, 34] Generated Node #0,2: 75:[7, 34, 34] Operation: 50-16=34 Moving to Node #0,2 Current State: 75:[7, 34, 34], Operations: ['50-16=34'] Exploring Operation: 34+34=68, Resulting Numbers: [7, 68] Generated Node #0,2,3: 75:[7, 68] Operation: 34+34=68 Moving to Node #0,2,3 Current State: 75:[7, 68], Operations: ['50-16=34', '34+34=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 10, 23, 43, 41 ]
71
[ "23-10=13", "43+41=84", "84-13=71" ]
Current State: 71:[10, 23, 43, 41], Operations: [] Exploring Operation: 23-10=13, Resulting Numbers: [43, 41, 13] Generated Node #2: [43, 41, 13] from Operation: 23-10=13 Current State: 71:[43, 41, 13], Operations: ['23-10=13'] Exploring Operation: 43+41=84, Resulting Numbers: [13, 84] Generated Node #3: [13, 84] from Operation: 43+41=84 Current State: 71:[13, 84], Operations: ['23-10=13', '43+41=84'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[10, 23, 43, 41], Operations: [] Exploring Operation: 10+23=33, Resulting Numbers: [43, 41, 33] Generated Node #0,0: 71:[43, 41, 33] Operation: 10+23=33 Exploring Operation: 10+41=51, Resulting Numbers: [23, 43, 51] Generated Node #0,1: 71:[23, 43, 51] Operation: 10+41=51 Exploring Operation: 10+43=53, Resulting Numbers: [23, 41, 53] Generated Node #0,2: 71:[23, 41, 53] Operation: 10+43=53 Moving to Node #0,0 Current State: 71:[43, 41, 33], Operations: ['10+23=33'] Exploring Operation: 43+33=76, Resulting Numbers: [41, 76] Generated Node #0,0,0: 71:[41, 76] Operation: 43+33=76 Exploring Operation: 41+33=74, Resulting Numbers: [43, 74] Generated Node #0,0,1: 71:[43, 74] Operation: 41+33=74 Exploring Operation: 43+41=84, Resulting Numbers: [33, 84] Generated Node #0,0,2: 71:[33, 84] Operation: 43+41=84 Moving to Node #0,1 Current State: 71:[23, 43, 51], Operations: ['10+41=51'] Exploring Operation: 23+43=66, Resulting Numbers: [51, 66] Generated Node #0,1,0: 71:[51, 66] Operation: 23+43=66 Exploring Operation: 23+51=74, Resulting Numbers: [43, 74] Generated Node #0,1,1: 71:[43, 74] Operation: 23+51=74 Exploring Operation: 43-23=20, Resulting Numbers: [51, 20] Generated Node #0,1,2: 71:[51, 20] Operation: 43-23=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[51, 66], Operations: ['10+41=51', '23+43=66'] Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,71 unequal: No Solution Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[43, 74], Operations: ['10+41=51', '23+51=74'] Exploring Operation: 43+74=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 43*74=3182, Resulting Numbers: [3182] 3182,71 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[51, 20], Operations: ['10+41=51', '43-23=20'] Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,71 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[10, 23, 43, 41], Operations: [] Exploring Operation: 10+41=51, Resulting Numbers: [23, 43, 51] Generated Node #0,1: 71:[23, 43, 51] Operation: 10+41=51 Moving to Node #0,1 Current State: 71:[23, 43, 51], Operations: ['10+41=51'] Exploring Operation: 43-23=20, Resulting Numbers: [51, 20] Generated Node #0,1,2: 71:[51, 20] Operation: 43-23=20 Moving to Node #0,1,2 Current State: 71:[51, 20], Operations: ['10+41=51', '43-23=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
sum_heuristic
[ 59, 29, 56, 39 ]
42
[ "59-56=3", "39/3=13", "29+13=42" ]
Current State: 42:[59, 29, 56, 39], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [29, 39, 3] Generated Node #2: [29, 39, 3] from Operation: 59-56=3 Current State: 42:[29, 39, 3], Operations: ['59-56=3'] Exploring Operation: 39/3=13, Resulting Numbers: [29, 13] Generated Node #3: [29, 13] from Operation: 39/3=13 Current State: 42:[29, 13], Operations: ['59-56=3', '39/3=13'] Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[59, 29, 56, 39], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [29, 39, 3] Generated Node #0,0: 42:[29, 39, 3] Operation: 59-56=3 Exploring Operation: 59-39=20, Resulting Numbers: [29, 56, 20] Generated Node #0,1: 42:[29, 56, 20] Operation: 59-39=20 Exploring Operation: 59-29=30, Resulting Numbers: [56, 39, 30] Generated Node #0,2: 42:[56, 39, 30] Operation: 59-29=30 Moving to Node #0,0 Current State: 42:[29, 39, 3], Operations: ['59-56=3'] Exploring Operation: 39-29=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 42:[3, 10] Operation: 39-29=10 Exploring Operation: 39+3=42, Resulting Numbers: [29, 42] Generated Node #0,0,1: 42:[29, 42] Operation: 39+3=42 Exploring Operation: 29-3=26, Resulting Numbers: [39, 26] Generated Node #0,0,2: 42:[39, 26] Operation: 29-3=26 Moving to Node #0,1 Current State: 42:[29, 56, 20], Operations: ['59-39=20'] Exploring Operation: 29-20=9, Resulting Numbers: [56, 9] Generated Node #0,1,0: 42:[56, 9] Operation: 29-20=9 Exploring Operation: 56-29=27, Resulting Numbers: [20, 27] Generated Node #0,1,1: 42:[20, 27] Operation: 56-29=27 Exploring Operation: 56-20=36, Resulting Numbers: [29, 36] Generated Node #0,1,2: 42:[29, 36] Operation: 56-20=36 Moving to Node #0,2 Current State: 42:[56, 39, 30], Operations: ['59-29=30'] Exploring Operation: 39-30=9, Resulting Numbers: [56, 9] Generated Node #0,2,0: 42:[56, 9] Operation: 39-30=9 Exploring Operation: 56-30=26, Resulting Numbers: [39, 26] Generated Node #0,2,1: 42:[39, 26] Operation: 56-30=26 Exploring Operation: 56-39=17, Resulting Numbers: [30, 17] Generated Node #0,2,2: 42:[30, 17] Operation: 56-39=17 Moving to Node #0,0,0 Current State: 42:[3, 10], Operations: ['59-56=3', '39-29=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[20, 27], Operations: ['59-39=20', '56-29=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,42 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[39, 26], Operations: ['59-56=3', '29-3=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[39, 26], Operations: ['59-29=30', '56-30=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,42 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[29, 42], Operations: ['59-56=3', '39+3=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,42 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[30, 17], Operations: ['59-29=30', '56-39=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[29, 36], Operations: ['59-39=20', '56-20=36'] Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,42 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[56, 9], Operations: ['59-29=30', '39-30=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,42 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[56, 9], Operations: ['59-39=20', '29-20=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 20, 82, 61, 82 ]
82
[ "82-20=62", "62-61=1", "82*1=82" ]
Current State: 82:[20, 82, 61, 82], Operations: [] Exploring Operation: 82-20=62, Resulting Numbers: [61, 62] Generated Node #2: [61, 62] from Operation: 82-20=62 Current State: 82:[61, 62], Operations: ['82-20=62'] Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,82 equal: Goal Reached Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[20, 82, 61, 82], Operations: [] Exploring Operation: 61-20=41, Resulting Numbers: [82, 82, 41] Generated Node #0,0: 82:[82, 82, 41] Operation: 61-20=41 Moving to Node #0,0 Current State: 82:[82, 82, 41], Operations: ['61-20=41'] Exploring Operation: 82-41=41, Resulting Numbers: [82, 41] Generated Node #0,0,0: 82:[82, 41] Operation: 82-41=41 Moving to Node #0,0,0 Current State: 82:[82, 41], Operations: ['61-20=41', '82-41=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 57, 23, 39, 35 ]
76
[ "57+23=80", "39-35=4", "80-4=76" ]
Current State: 76:[57, 23, 39, 35], Operations: [] Exploring Operation: 57+23=80, Resulting Numbers: [39, 35, 80] Generated Node #2: [39, 35, 80] from Operation: 57+23=80 Current State: 76:[39, 35, 80], Operations: ['57+23=80'] Exploring Operation: 39-35=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 39-35=4 Current State: 76:[80, 4], Operations: ['57+23=80', '39-35=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[57, 23, 39, 35], Operations: [] Exploring Operation: 57+23=80, Resulting Numbers: [39, 35, 80] Generated Node #0,0: 76:[39, 35, 80] Operation: 57+23=80 Moving to Node #0,0 Current State: 76:[39, 35, 80], Operations: ['57+23=80'] Exploring Operation: 39-35=4, Resulting Numbers: [80, 4] Generated Node #0,0,0: 76:[80, 4] Operation: 39-35=4 Moving to Node #0,0,0 Current State: 76:[80, 4], Operations: ['57+23=80', '39-35=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[57, 23, 39, 35], Operations: [] Exploring Operation: 57+23=80, Resulting Numbers: [39, 35, 80] Generated Node #0,0: 76:[39, 35, 80] Operation: 57+23=80 Moving to Node #0,0 Current State: 76:[39, 35, 80], Operations: ['57+23=80'] Exploring Operation: 39-35=4, Resulting Numbers: [80, 4] Generated Node #0,0,0: 76:[80, 4] Operation: 39-35=4 Moving to Node #0,0,0 Current State: 76:[80, 4], Operations: ['57+23=80', '39-35=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 91, 90, 76, 33 ]
27
[ "91-76=15", "90/15=6", "33-6=27" ]
Current State: 27:[91, 90, 76, 33], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [90, 33, 15] Generated Node #2: [90, 33, 15] from Operation: 91-76=15 Current State: 27:[90, 33, 15], Operations: ['91-76=15'] Exploring Operation: 90/15=6, Resulting Numbers: [33, 6] Generated Node #3: [33, 6] from Operation: 90/15=6 Current State: 27:[33, 6], Operations: ['91-76=15', '90/15=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[91, 90, 76, 33], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [76, 33, 1] Generated Node #0,0: 27:[76, 33, 1] Operation: 91-90=1 Moving to Node #0,0 Current State: 27:[76, 33, 1], Operations: ['91-90=1'] Exploring Operation: 76-33=43, Resulting Numbers: [1, 43] Generated Node #0,0,0: 27:[1, 43] Operation: 76-33=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[1, 43], Operations: ['91-90=1', '76-33=43'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 88, 20, 22, 69 ]
60
[ "88-22=66", "69-66=3", "20*3=60" ]
Current State: 60:[88, 20, 22, 69], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [20, 69, 66] Generated Node #2: [20, 69, 66] from Operation: 88-22=66 Current State: 60:[20, 69, 66], Operations: ['88-22=66'] Exploring Operation: 69-66=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 69-66=3 Current State: 60:[20, 3], Operations: ['88-22=66', '69-66=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[88, 20, 22, 69], Operations: [] Exploring Operation: 88-20=68, Resulting Numbers: [22, 69, 68] Generated Node #0,0: 60:[22, 69, 68] Operation: 88-20=68 Exploring Operation: 88/22=4, Resulting Numbers: [20, 69, 4] Generated Node #0,1: 60:[20, 69, 4] Operation: 88/22=4 Exploring Operation: 88-69=19, Resulting Numbers: [20, 22, 19] Generated Node #0,2: 60:[20, 22, 19] Operation: 88-69=19 Exploring Operation: 88-22=66, Resulting Numbers: [20, 69, 66] Generated Node #0,3: 60:[20, 69, 66] Operation: 88-22=66 Moving to Node #0,2 Current State: 60:[20, 22, 19], Operations: ['88-69=19'] Exploring Operation: 22-19=3, Resulting Numbers: [20, 3] Generated Node #0,2,0: 60:[20, 3] Operation: 22-19=3 Exploring Operation: 22-20=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 60:[19, 2] Operation: 22-20=2 Exploring Operation: 20-19=1, Resulting Numbers: [22, 1] Generated Node #0,2,2: 60:[22, 1] Operation: 20-19=1 Exploring Operation: 20+19=39, Resulting Numbers: [22, 39] Generated Node #0,2,3: 60:[22, 39] Operation: 20+19=39 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[20, 3], Operations: ['88-69=19', '22-19=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[88, 20, 22, 69], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [20, 22, 19] Generated Node #0,2: 60:[20, 22, 19] Operation: 88-69=19 Moving to Node #0,2 Current State: 60:[20, 22, 19], Operations: ['88-69=19'] Exploring Operation: 22-19=3, Resulting Numbers: [20, 3] Generated Node #0,2,0: 60:[20, 3] Operation: 22-19=3 Moving to Node #0,2,0 Current State: 60:[20, 3], Operations: ['88-69=19', '22-19=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 2, 32, 90, 19 ]
96
[ "90/2=45", "32+19=51", "45+51=96" ]
Current State: 96:[2, 32, 90, 19], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [32, 19, 45] Generated Node #2: [32, 19, 45] from Operation: 90/2=45 Current State: 96:[32, 19, 45], Operations: ['90/2=45'] Exploring Operation: 32+19=51, Resulting Numbers: [45, 51] Generated Node #3: [45, 51] from Operation: 32+19=51 Current State: 96:[45, 51], Operations: ['90/2=45', '32+19=51'] Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[2, 32, 90, 19], Operations: [] Exploring Operation: 2+90=92, Resulting Numbers: [32, 19, 92] Generated Node #0,0: 96:[32, 19, 92] Operation: 2+90=92 Exploring Operation: 32-19=13, Resulting Numbers: [2, 90, 13] Generated Node #0,1: 96:[2, 90, 13] Operation: 32-19=13 Exploring Operation: 19-2=17, Resulting Numbers: [32, 90, 17] Generated Node #0,2: 96:[32, 90, 17] Operation: 19-2=17 Exploring Operation: 90/2=45, Resulting Numbers: [32, 19, 45] Generated Node #0,3: 96:[32, 19, 45] Operation: 90/2=45 Moving to Node #0,3 Current State: 96:[32, 19, 45], Operations: ['90/2=45'] Exploring Operation: 45-19=26, Resulting Numbers: [32, 26] Generated Node #0,3,0: 96:[32, 26] Operation: 45-19=26 Exploring Operation: 32+19=51, Resulting Numbers: [45, 51] Generated Node #0,3,1: 96:[45, 51] Operation: 32+19=51 Exploring Operation: 32-19=13, Resulting Numbers: [45, 13] Generated Node #0,3,2: 96:[45, 13] Operation: 32-19=13 Exploring Operation: 45-32=13, Resulting Numbers: [19, 13] Generated Node #0,3,3: 96:[19, 13] Operation: 45-32=13 Moving to Node #0,1 Current State: 96:[2, 90, 13], Operations: ['32-19=13'] Exploring Operation: 13-2=11, Resulting Numbers: [90, 11] Generated Node #0,1,0: 96:[90, 11] Operation: 13-2=11 Exploring Operation: 2+90=92, Resulting Numbers: [13, 92] Generated Node #0,1,1: 96:[13, 92] Operation: 2+90=92 Exploring Operation: 2+13=15, Resulting Numbers: [90, 15] Generated Node #0,1,2: 96:[90, 15] Operation: 2+13=15 Exploring Operation: 90/2=45, Resulting Numbers: [13, 45] Generated Node #0,1,3: 96:[13, 45] Operation: 90/2=45 Moving to Node #0,0 Current State: 96:[32, 19, 92], Operations: ['2+90=92'] Exploring Operation: 32-19=13, Resulting Numbers: [92, 13] Generated Node #0,0,0: 96:[92, 13] Operation: 32-19=13 Exploring Operation: 32+19=51, Resulting Numbers: [92, 51] Generated Node #0,0,1: 96:[92, 51] Operation: 32+19=51 Exploring Operation: 19+92=111, Resulting Numbers: [32, 111] Generated Node #0,0,2: 96:[32, 111] Operation: 19+92=111 Exploring Operation: 92-32=60, Resulting Numbers: [19, 60] Generated Node #0,0,3: 96:[19, 60] Operation: 92-32=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[92, 13], Operations: ['2+90=92', '32-19=13'] Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,96 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[92, 51], Operations: ['2+90=92', '32+19=51'] Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 92+51=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 92*51=4692, Resulting Numbers: [4692] 4692,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:[32, 111], Operations: ['2+90=92', '19+92=111'] Exploring Operation: 32*111=3552, Resulting Numbers: [3552] 3552,96 unequal: No Solution Exploring Operation: 32+111=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 111-32=79, Resulting Numbers: [79] 79,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:[19, 60], Operations: ['2+90=92', '92-32=60'] Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,96 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: 96:[32, 90, 17], Operations: ['19-2=17'] Exploring Operation: 90-32=58, Resulting Numbers: [17, 58] Generated Node #0,2,0: 96:[17, 58] Operation: 90-32=58 Exploring Operation: 32-17=15, Resulting Numbers: [90, 15] Generated Node #0,2,1: 96:[90, 15] Operation: 32-17=15 Exploring Operation: 90+17=107, Resulting Numbers: [32, 107] Generated Node #0,2,2: 96:[32, 107] Operation: 90+17=107 Exploring Operation: 32+17=49, Resulting Numbers: [90, 49] Generated Node #0,2,3: 96:[90, 49] Operation: 32+17=49 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[90, 15], Operations: ['19-2=17', '32-17=15'] Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,96 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,96 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,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,3 Current State: 96:[90, 49], Operations: ['19-2=17', '32+17=49'] Exploring Operation: 90*49=4410, Resulting Numbers: [4410] 4410,96 unequal: No Solution Exploring Operation: 90+49=139, Resulting Numbers: [139] 139,96 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,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,0 Current State: 96:[17, 58], Operations: ['19-2=17', '90-32=58'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,96 unequal: No Solution Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,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,2 Current State: 96:[32, 107], Operations: ['19-2=17', '90+17=107'] Exploring Operation: 107-32=75, Resulting Numbers: [75] 75,96 unequal: No Solution Exploring Operation: 32*107=3424, Resulting Numbers: [3424] 3424,96 unequal: No Solution Exploring Operation: 32+107=139, Resulting Numbers: [139] 139,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 96:[32, 26], Operations: ['90/2=45', '45-19=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,96 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[19, 13], Operations: ['90/2=45', '45-32=13'] Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[45, 13], Operations: ['90/2=45', '32-19=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[13, 45], Operations: ['32-19=13', '90/2=45'] Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,96 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[13, 92], Operations: ['32-19=13', '2+90=92'] Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,96 unequal: No Solution Exploring Operation: 13*92=1196, Resulting Numbers: [1196] 1196,96 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[45, 51], Operations: ['90/2=45', '32+19=51'] Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,96 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[2, 32, 90, 19], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [32, 19, 45] Generated Node #0,3: 96:[32, 19, 45] Operation: 90/2=45 Moving to Node #0,3 Current State: 96:[32, 19, 45], Operations: ['90/2=45'] Exploring Operation: 32+19=51, Resulting Numbers: [45, 51] Generated Node #0,3,1: 96:[45, 51] Operation: 32+19=51 Moving to Node #0,3,1 Current State: 96:[45, 51], Operations: ['90/2=45', '32+19=51'] Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.94184
hs_4
sum_heuristic
[ 27, 35, 2, 72 ]
88
[ "35-27=8", "2*8=16", "72+16=88" ]
Current State: 88:[27, 35, 2, 72], Operations: [] Exploring Operation: 35-27=8, Resulting Numbers: [2, 72, 8] Generated Node #2: [2, 72, 8] from Operation: 35-27=8 Current State: 88:[2, 72, 8], Operations: ['35-27=8'] Exploring Operation: 2*8=16, Resulting Numbers: [72, 16] Generated Node #3: [72, 16] from Operation: 2*8=16 Current State: 88:[72, 16], Operations: ['35-27=8', '2*8=16'] Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[27, 35, 2, 72], Operations: [] Exploring Operation: 72-27=45, Resulting Numbers: [35, 2, 45] Generated Node #0,0: 88:[35, 2, 45] Operation: 72-27=45 Exploring Operation: 72-35=37, Resulting Numbers: [27, 2, 37] Generated Node #0,1: 88:[27, 2, 37] Operation: 72-35=37 Moving to Node #0,0 Current State: 88:[35, 2, 45], Operations: ['72-27=45'] Exploring Operation: 45-35=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 88:[2, 10] Operation: 45-35=10 Exploring Operation: 35+2=37, Resulting Numbers: [45, 37] Generated Node #0,0,1: 88:[45, 37] Operation: 35+2=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[2, 10], Operations: ['72-27=45', '45-35=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[45, 37], Operations: ['72-27=45', '35+2=37'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,88 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: 88:[27, 2, 37], Operations: ['72-35=37'] Exploring Operation: 37-27=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 88:[2, 10] Operation: 37-27=10 Exploring Operation: 27-2=25, Resulting Numbers: [37, 25] Generated Node #0,1,1: 88:[37, 25] Operation: 27-2=25 Moving to Node #0,1,0 Current State: 88:[2, 10], Operations: ['72-35=37', '37-27=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[37, 25], Operations: ['72-35=37', '27-2=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,88 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 52, 12, 14, 7 ]
97
[ "14-12=2", "52*2=104", "104-7=97" ]
Current State: 97:[52, 12, 14, 7], Operations: [] Exploring Operation: 14-12=2, Resulting Numbers: [52, 7, 2] Generated Node #2: [52, 7, 2] from Operation: 14-12=2 Current State: 97:[52, 7, 2], Operations: ['14-12=2'] Exploring Operation: 52*2=104, Resulting Numbers: [7, 104] Generated Node #3: [7, 104] from Operation: 52*2=104 Current State: 97:[7, 104], Operations: ['14-12=2', '52*2=104'] Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[52, 12, 14, 7], Operations: [] Exploring Operation: 52+14=66, Resulting Numbers: [12, 7, 66] Generated Node #0,0: 97:[12, 7, 66] Operation: 52+14=66 Exploring Operation: 12*7=84, Resulting Numbers: [52, 14, 84] Generated Node #0,1: 97:[52, 14, 84] Operation: 12*7=84 Exploring Operation: 52+12=64, Resulting Numbers: [14, 7, 64] Generated Node #0,2: 97:[14, 7, 64] Operation: 52+12=64 Exploring Operation: 14*7=98, Resulting Numbers: [52, 12, 98] Generated Node #0,3: 97:[52, 12, 98] Operation: 14*7=98 Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[52, 12, 98], Operations: ['14*7=98'] Exploring Operation: 52-12=40, Resulting Numbers: [98, 40] Generated Node #0,3,0: 97:[98, 40] Operation: 52-12=40 Exploring Operation: 12+98=110, Resulting Numbers: [52, 110] Generated Node #0,3,1: 97:[52, 110] Operation: 12+98=110 Exploring Operation: 52+12=64, Resulting Numbers: [98, 64] Generated Node #0,3,2: 97:[98, 64] Operation: 52+12=64 Exploring Operation: 98-12=86, Resulting Numbers: [52, 86] Generated Node #0,3,3: 97:[52, 86] Operation: 98-12=86 Moving to Node #0,3,2 Current State: 97:[98, 64], Operations: ['14*7=98', '52+12=64'] Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,97 unequal: No Solution Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[52, 86], Operations: ['14*7=98', '98-12=86'] Exploring Operation: 52+86=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 52*86=4472, Resulting Numbers: [4472] 4472,97 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[52, 110], Operations: ['14*7=98', '12+98=110'] Exploring Operation: 52*110=5720, Resulting Numbers: [5720] 5720,97 unequal: No Solution Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 52+110=162, Resulting Numbers: [162] 162,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[98, 40], Operations: ['14*7=98', '52-12=40'] Exploring Operation: 98*40=3920, Resulting Numbers: [3920] 3920,97 unequal: No Solution Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 98+40=138, Resulting Numbers: [138] 138,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[52, 14, 84], Operations: ['12*7=84'] Exploring Operation: 14+84=98, Resulting Numbers: [52, 98] Generated Node #0,1,0: 97:[52, 98] Operation: 14+84=98 Exploring Operation: 84-14=70, Resulting Numbers: [52, 70] Generated Node #0,1,1: 97:[52, 70] Operation: 84-14=70 Exploring Operation: 52+14=66, Resulting Numbers: [84, 66] Generated Node #0,1,2: 97:[84, 66] Operation: 52+14=66 Exploring Operation: 52-14=38, Resulting Numbers: [84, 38] Generated Node #0,1,3: 97:[84, 38] Operation: 52-14=38 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[84, 66], Operations: ['12*7=84', '52+14=66'] Exploring Operation: 84+66=150, Resulting Numbers: [150] 150,97 unequal: No Solution Exploring Operation: 84*66=5544, Resulting Numbers: [5544] 5544,97 unequal: No Solution Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,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,1,0 Current State: 97:[52, 98], Operations: ['12*7=84', '14+84=98'] Exploring Operation: 52*98=5096, Resulting Numbers: [5096] 5096,97 unequal: No Solution Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,97 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,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,1,1 Current State: 97:[52, 70], Operations: ['12*7=84', '84-14=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,97 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,97 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,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,1,3 Current State: 97:[84, 38], Operations: ['12*7=84', '52-14=38'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,97 unequal: No Solution Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,97 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: 97:[12, 7, 66], Operations: ['52+14=66'] Exploring Operation: 12+66=78, Resulting Numbers: [7, 78] Generated Node #0,0,0: 97:[7, 78] Operation: 12+66=78 Exploring Operation: 12*7=84, Resulting Numbers: [66, 84] Generated Node #0,0,1: 97:[66, 84] Operation: 12*7=84 Exploring Operation: 12+7=19, Resulting Numbers: [66, 19] Generated Node #0,0,2: 97:[66, 19] Operation: 12+7=19 Exploring Operation: 7+66=73, Resulting Numbers: [12, 73] Generated Node #0,0,3: 97:[12, 73] Operation: 7+66=73 Moving to Node #0,0,1 Current State: 97:[66, 84], Operations: ['52+14=66', '12*7=84'] Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,97 unequal: No Solution Exploring Operation: 66*84=5544, Resulting Numbers: [5544] 5544,97 unequal: No Solution Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[66, 19], Operations: ['52+14=66', '12+7=19'] Exploring Operation: 66*19=1254, Resulting Numbers: [1254] 1254,97 unequal: No Solution Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[7, 78], Operations: ['52+14=66', '12+66=78'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 7*78=546, Resulting Numbers: [546] 546,97 unequal: No Solution Exploring Operation: 7+78=85, Resulting Numbers: [85] 85,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[12, 73], Operations: ['52+14=66', '7+66=73'] Exploring Operation: 12*73=876, Resulting Numbers: [876] 876,97 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 12+73=85, Resulting Numbers: [85] 85,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[14, 7, 64], Operations: ['52+12=64'] Exploring Operation: 14+7=21, Resulting Numbers: [64, 21] Generated Node #0,2,0: 97:[64, 21] Operation: 14+7=21 Exploring Operation: 14+64=78, Resulting Numbers: [7, 78] Generated Node #0,2,1: 97:[7, 78] Operation: 14+64=78 Exploring Operation: 7+64=71, Resulting Numbers: [14, 71] Generated Node #0,2,2: 97:[14, 71] Operation: 7+64=71 Exploring Operation: 14*7=98, Resulting Numbers: [64, 98] Generated Node #0,2,3: 97:[64, 98] Operation: 14*7=98 Moving to Node #0,2,3 Current State: 97:[64, 98], Operations: ['52+12=64', '14*7=98'] Exploring Operation: 64+98=162, Resulting Numbers: [162] 162,97 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 64*98=6272, Resulting Numbers: [6272] 6272,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[7, 78], Operations: ['52+12=64', '14+64=78'] Exploring Operation: 7*78=546, Resulting Numbers: [546] 546,97 unequal: No Solution Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 7+78=85, Resulting Numbers: [85] 85,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[64, 21], Operations: ['52+12=64', '14+7=21'] Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,97 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[14, 71], Operations: ['52+12=64', '7+64=71'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 14*71=994, Resulting Numbers: [994] 994,97 unequal: No Solution Exploring Operation: 14+71=85, Resulting Numbers: [85] 85,97 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
[ 43, 45, 44, 15 ]
29
[ "43+45=88", "44+15=59", "88-59=29" ]
Current State: 29:[43, 45, 44, 15], Operations: [] Exploring Operation: 43+45=88, Resulting Numbers: [44, 15, 88] Generated Node #2: [44, 15, 88] from Operation: 43+45=88 Current State: 29:[44, 15, 88], Operations: ['43+45=88'] Exploring Operation: 44+15=59, Resulting Numbers: [88, 59] Generated Node #3: [88, 59] from Operation: 44+15=59 Current State: 29:[88, 59], Operations: ['43+45=88', '44+15=59'] Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[43, 45, 44, 15], Operations: [] Exploring Operation: 45-15=30, Resulting Numbers: [43, 44, 30] Generated Node #0,0: 29:[43, 44, 30] Operation: 45-15=30 Moving to Node #0,0 Current State: 29:[43, 44, 30], Operations: ['45-15=30'] Exploring Operation: 44-43=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 29:[30, 1] Operation: 44-43=1 Moving to Node #0,0,0 Current State: 29:[30, 1], Operations: ['45-15=30', '44-43=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[43, 45, 44, 15], Operations: [] Exploring Operation: 45-15=30, Resulting Numbers: [43, 44, 30] Generated Node #0,0: 29:[43, 44, 30] Operation: 45-15=30 Moving to Node #0,0 Current State: 29:[43, 44, 30], Operations: ['45-15=30'] Exploring Operation: 44-43=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 29:[30, 1] Operation: 44-43=1 Moving to Node #0,0,0 Current State: 29:[30, 1], Operations: ['45-15=30', '44-43=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 70, 50, 36, 51 ]
35
[ "70-50=20", "51-36=15", "20+15=35" ]
Current State: 35:[70, 50, 36, 51], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [36, 51, 20] Generated Node #2: [36, 51, 20] from Operation: 70-50=20 Current State: 35:[36, 51, 20], Operations: ['70-50=20'] Exploring Operation: 51-36=15, Resulting Numbers: [20, 15] Generated Node #3: [20, 15] from Operation: 51-36=15 Current State: 35:[20, 15], Operations: ['70-50=20', '51-36=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[70, 50, 36, 51], Operations: [] Exploring Operation: 70-51=19, Resulting Numbers: [50, 36, 19] Generated Node #0,0: 35:[50, 36, 19] Operation: 70-51=19 Exploring Operation: 70-50=20, Resulting Numbers: [36, 51, 20] Generated Node #0,1: 35:[36, 51, 20] Operation: 70-50=20 Exploring Operation: 70-36=34, Resulting Numbers: [50, 51, 34] Generated Node #0,2: 35:[50, 51, 34] Operation: 70-36=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[50, 36, 19], Operations: ['70-51=19'] Exploring Operation: 50-36=14, Resulting Numbers: [19, 14] Generated Node #0,0,0: 35:[19, 14] Operation: 50-36=14 Exploring Operation: 50-19=31, Resulting Numbers: [36, 31] Generated Node #0,0,1: 35:[36, 31] Operation: 50-19=31 Exploring Operation: 36-19=17, Resulting Numbers: [50, 17] Generated Node #0,0,2: 35:[50, 17] Operation: 36-19=17 Moving to Node #0,0,1 Current State: 35:[36, 31], Operations: ['70-51=19', '50-19=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,35 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[19, 14], Operations: ['70-51=19', '50-36=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,35 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[50, 17], Operations: ['70-51=19', '36-19=17'] Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[36, 51, 20], Operations: ['70-50=20'] Exploring Operation: 36-20=16, Resulting Numbers: [51, 16] Generated Node #0,1,0: 35:[51, 16] Operation: 36-20=16 Exploring Operation: 51-36=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 35:[20, 15] Operation: 51-36=15 Exploring Operation: 51-20=31, Resulting Numbers: [36, 31] Generated Node #0,1,2: 35:[36, 31] Operation: 51-20=31 Moving to Node #0,1,2 Current State: 35:[36, 31], Operations: ['70-50=20', '51-20=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[20, 15], Operations: ['70-50=20', '51-36=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[70, 50, 36, 51], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [36, 51, 20] Generated Node #0,1: 35:[36, 51, 20] Operation: 70-50=20 Moving to Node #0,1 Current State: 35:[36, 51, 20], Operations: ['70-50=20'] Exploring Operation: 51-36=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 35:[20, 15] Operation: 51-36=15 Moving to Node #0,1,1 Current State: 35:[20, 15], Operations: ['70-50=20', '51-36=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 58, 18, 22, 92 ]
94
[ "58-22=36", "36/18=2", "92+2=94" ]
Current State: 94:[58, 18, 22, 92], Operations: [] Exploring Operation: 58-22=36, Resulting Numbers: [18, 92, 36] Generated Node #2: [18, 92, 36] from Operation: 58-22=36 Current State: 94:[18, 92, 36], Operations: ['58-22=36'] Exploring Operation: 36/18=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 36/18=2 Current State: 94:[92, 2], Operations: ['58-22=36', '36/18=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[58, 18, 22, 92], Operations: [] Exploring Operation: 22-18=4, Resulting Numbers: [58, 92, 4] Generated Node #0,0: 94:[58, 92, 4] Operation: 22-18=4 Exploring Operation: 18+22=40, Resulting Numbers: [58, 92, 40] Generated Node #0,1: 94:[58, 92, 40] Operation: 18+22=40 Moving to Node #0,0 Current State: 94:[58, 92, 4], Operations: ['22-18=4'] Exploring Operation: 92+4=96, Resulting Numbers: [58, 96] Generated Node #0,0,0: 94:[58, 96] Operation: 92+4=96 Exploring Operation: 58-4=54, Resulting Numbers: [92, 54] Generated Node #0,0,1: 94:[92, 54] Operation: 58-4=54 Moving to Node #0,1 Current State: 94:[58, 92, 40], Operations: ['18+22=40'] Exploring Operation: 58+40=98, Resulting Numbers: [92, 98] Generated Node #0,1,0: 94:[92, 98] Operation: 58+40=98 Exploring Operation: 92-40=52, Resulting Numbers: [58, 52] Generated Node #0,1,1: 94:[58, 52] Operation: 92-40=52 Moving to Node #0,1,0 Current State: 94:[92, 98], Operations: ['18+22=40', '58+40=98'] Exploring Operation: 92+98=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[92, 54], Operations: ['22-18=4', '58-4=54'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 92+54=146, Resulting Numbers: [146] 146,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[58, 96], Operations: ['22-18=4', '92+4=96'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 58+96=154, Resulting Numbers: [154] 154,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[58, 52], Operations: ['18+22=40', '92-40=52'] Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 44, 29, 22, 38 ]
42
[ "44-38=6", "29-22=7", "6*7=42" ]
Current State: 42:[44, 29, 22, 38], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [29, 22, 6] Generated Node #2: [29, 22, 6] from Operation: 44-38=6 Current State: 42:[29, 22, 6], Operations: ['44-38=6'] Exploring Operation: 29-22=7, Resulting Numbers: [6, 7] Generated Node #3: [6, 7] from Operation: 29-22=7 Current State: 42:[6, 7], Operations: ['44-38=6', '29-22=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[44, 29, 22, 38], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [29, 22, 6] Generated Node #0,0: 42:[29, 22, 6] Operation: 44-38=6 Exploring Operation: 29-22=7, Resulting Numbers: [44, 38, 7] Generated Node #0,1: 42:[44, 38, 7] Operation: 29-22=7 Exploring Operation: 44-29=15, Resulting Numbers: [22, 38, 15] Generated Node #0,2: 42:[22, 38, 15] Operation: 44-29=15 Exploring Operation: 38-29=9, Resulting Numbers: [44, 22, 9] Generated Node #0,3: 42:[44, 22, 9] Operation: 38-29=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[44, 22, 9], Operations: ['38-29=9'] Exploring Operation: 22-9=13, Resulting Numbers: [44, 13] Generated Node #0,3,0: 42:[44, 13] Operation: 22-9=13 Exploring Operation: 44/22=2, Resulting Numbers: [9, 2] Generated Node #0,3,1: 42:[9, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [9, 22] Generated Node #0,3,2: 42:[9, 22] Operation: 44-22=22 Exploring Operation: 44-9=35, Resulting Numbers: [22, 35] Generated Node #0,3,3: 42:[22, 35] Operation: 44-9=35 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[9, 2], Operations: ['38-29=9', '44/22=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[44, 13], Operations: ['38-29=9', '22-9=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,42 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[9, 22], Operations: ['38-29=9', '44-22=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[22, 35], Operations: ['38-29=9', '44-9=35'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,42 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[44, 38, 7], Operations: ['29-22=7'] Exploring Operation: 38+7=45, Resulting Numbers: [44, 45] Generated Node #0,1,0: 42:[44, 45] Operation: 38+7=45 Exploring Operation: 38-7=31, Resulting Numbers: [44, 31] Generated Node #0,1,1: 42:[44, 31] Operation: 38-7=31 Exploring Operation: 44-38=6, Resulting Numbers: [7, 6] Generated Node #0,1,2: 42:[7, 6] Operation: 44-38=6 Exploring Operation: 44-7=37, Resulting Numbers: [38, 37] Generated Node #0,1,3: 42:[38, 37] Operation: 44-7=37 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[7, 6], Operations: ['29-22=7', '44-38=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[44, 29, 22, 38], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [44, 38, 7] Generated Node #0,1: 42:[44, 38, 7] Operation: 29-22=7 Moving to Node #0,1 Current State: 42:[44, 38, 7], Operations: ['29-22=7'] Exploring Operation: 44-38=6, Resulting Numbers: [7, 6] Generated Node #0,1,2: 42:[7, 6] Operation: 44-38=6 Moving to Node #0,1,2 Current State: 42:[7, 6], Operations: ['29-22=7', '44-38=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 42, 25, 54, 59 ]
27
[ "42*54=2268", "25+59=84", "2268/84=27" ]
Current State: 27:[42, 25, 54, 59], Operations: [] Exploring Operation: 42*54=2268, Resulting Numbers: [25, 59, 2268] Generated Node #2: [25, 59, 2268] from Operation: 42*54=2268 Current State: 27:[25, 59, 2268], Operations: ['42*54=2268'] Exploring Operation: 25+59=84, Resulting Numbers: [2268, 84] Generated Node #3: [2268, 84] from Operation: 25+59=84 Current State: 27:[2268, 84], Operations: ['42*54=2268', '25+59=84'] Exploring Operation: 2268/84=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[42, 25, 54, 59], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [25, 59, 12] Generated Node #0,0: 27:[25, 59, 12] Operation: 54-42=12 Exploring Operation: 59-54=5, Resulting Numbers: [42, 25, 5] Generated Node #0,1: 27:[42, 25, 5] Operation: 59-54=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[42, 25, 5], Operations: ['59-54=5'] Exploring Operation: 42-5=37, Resulting Numbers: [25, 37] Generated Node #0,1,0: 27:[25, 37] Operation: 42-5=37 Exploring Operation: 42-25=17, Resulting Numbers: [5, 17] Generated Node #0,1,1: 27:[5, 17] Operation: 42-25=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[5, 17], Operations: ['59-54=5', '42-25=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[25, 37], Operations: ['59-54=5', '42-5=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[25, 59, 12], Operations: ['54-42=12'] Exploring Operation: 59-12=47, Resulting Numbers: [25, 47] Generated Node #0,0,0: 27:[25, 47] Operation: 59-12=47 Exploring Operation: 59-25=34, Resulting Numbers: [12, 34] Generated Node #0,0,1: 27:[12, 34] Operation: 59-25=34 Moving to Node #0,0,1 Current State: 27:[12, 34], Operations: ['54-42=12', '59-25=34'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[25, 47], Operations: ['54-42=12', '59-12=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 24, 58, 27, 1 ]
61
[ "58-24=34", "27*1=27", "34+27=61" ]
Current State: 61:[24, 58, 27, 1], Operations: [] Exploring Operation: 58-24=34, Resulting Numbers: [27, 1, 34] Generated Node #2: [27, 1, 34] from Operation: 58-24=34 Current State: 61:[27, 1, 34], Operations: ['58-24=34'] Exploring Operation: 27*1=27, Resulting Numbers: [34, 27] Generated Node #3: [34, 27] from Operation: 27*1=27 Current State: 61:[34, 27], Operations: ['58-24=34', '27*1=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[24, 58, 27, 1], Operations: [] Exploring Operation: 27+1=28, Resulting Numbers: [24, 58, 28] Generated Node #0,0: 61:[24, 58, 28] Operation: 27+1=28 Exploring Operation: 24+27=51, Resulting Numbers: [58, 1, 51] Generated Node #0,1: 61:[58, 1, 51] Operation: 24+27=51 Exploring Operation: 58+1=59, Resulting Numbers: [24, 27, 59] Generated Node #0,2: 61:[24, 27, 59] Operation: 58+1=59 Exploring Operation: 24*1=24, Resulting Numbers: [58, 27, 24] Generated Node #0,3: 61:[58, 27, 24] Operation: 24*1=24 Exploring Operation: 24+1=25, Resulting Numbers: [58, 27, 25] Generated Node #0,4: 61:[58, 27, 25] Operation: 24+1=25 Moving to Node #0,0 Current State: 61:[24, 58, 28], Operations: ['27+1=28'] Exploring Operation: 24+28=52, Resulting Numbers: [58, 52] Generated Node #0,0,0: 61:[58, 52] Operation: 24+28=52 Exploring Operation: 58+28=86, Resulting Numbers: [24, 86] Generated Node #0,0,1: 61:[24, 86] Operation: 58+28=86 Exploring Operation: 24+58=82, Resulting Numbers: [28, 82] Generated Node #0,0,2: 61:[28, 82] Operation: 24+58=82 Exploring Operation: 28-24=4, Resulting Numbers: [58, 4] Generated Node #0,0,3: 61:[58, 4] Operation: 28-24=4 Exploring Operation: 58-24=34, Resulting Numbers: [28, 34] Generated Node #0,0,4: 61:[28, 34] Operation: 58-24=34 Moving to Node #0,2 Current State: 61:[24, 27, 59], Operations: ['58+1=59'] Exploring Operation: 24+59=83, Resulting Numbers: [27, 83] Generated Node #0,2,0: 61:[27, 83] Operation: 24+59=83 Exploring Operation: 59-24=35, Resulting Numbers: [27, 35] Generated Node #0,2,1: 61:[27, 35] Operation: 59-24=35 Exploring Operation: 24+27=51, Resulting Numbers: [59, 51] Generated Node #0,2,2: 61:[59, 51] Operation: 24+27=51 Exploring Operation: 27+59=86, Resulting Numbers: [24, 86] Generated Node #0,2,3: 61:[24, 86] Operation: 27+59=86 Exploring Operation: 27-24=3, Resulting Numbers: [59, 3] Generated Node #0,2,4: 61:[59, 3] Operation: 27-24=3 Moving to Node #0,1 Current State: 61:[58, 1, 51], Operations: ['24+27=51'] Exploring Operation: 1*51=51, Resulting Numbers: [58, 51] Generated Node #0,1,0: 61:[58, 51] Operation: 1*51=51 Exploring Operation: 58*1=58, Resulting Numbers: [51, 58] Generated Node #0,1,1: 61:[51, 58] Operation: 58*1=58 Exploring Operation: 1+51=52, Resulting Numbers: [58, 52] Generated Node #0,1,2: 61:[58, 52] Operation: 1+51=52 Exploring Operation: 58/1=58, Resulting Numbers: [51, 58] Generated Node #0,1,3: 61:[51, 58] Operation: 58/1=58 Exploring Operation: 58+1=59, Resulting Numbers: [51, 59] Generated Node #0,1,4: 61:[51, 59] Operation: 58+1=59 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[58, 52], Operations: ['24+27=51', '1+51=52'] Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,61 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[51, 59], Operations: ['24+27=51', '58+1=59'] Exploring Operation: 51*59=3009, Resulting Numbers: [3009] 3009,61 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 51+59=110, Resulting Numbers: [110] 110,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[58, 51], Operations: ['24+27=51', '1*51=51'] Exploring Operation: 58+51=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 58*51=2958, Resulting Numbers: [2958] 2958,61 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[51, 58], Operations: ['24+27=51', '58*1=58'] Exploring Operation: 51+58=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 51*58=2958, Resulting Numbers: [2958] 2958,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[51, 58], Operations: ['24+27=51', '58/1=58'] Exploring Operation: 51*58=2958, Resulting Numbers: [2958] 2958,61 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 51+58=109, Resulting Numbers: [109] 109,61 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: 61:[58, 27, 25], Operations: ['24+1=25'] Exploring Operation: 27-25=2, Resulting Numbers: [58, 2] Generated Node #0,4,0: 61:[58, 2] Operation: 27-25=2 Exploring Operation: 58+25=83, Resulting Numbers: [27, 83] Generated Node #0,4,1: 61:[27, 83] Operation: 58+25=83 Exploring Operation: 58+27=85, Resulting Numbers: [25, 85] Generated Node #0,4,2: 61:[25, 85] Operation: 58+27=85 Exploring Operation: 58-25=33, Resulting Numbers: [27, 33] Generated Node #0,4,3: 61:[27, 33] Operation: 58-25=33 Exploring Operation: 27+25=52, Resulting Numbers: [58, 52] Generated Node #0,4,4: 61:[58, 52] Operation: 27+25=52 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 61:[58, 52], Operations: ['24+1=25', '27+25=52'] Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,61 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 61:[27, 83], Operations: ['24+1=25', '58+25=83'] Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,61 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[25, 85], Operations: ['24+1=25', '58+27=85'] Exploring Operation: 25*85=2125, Resulting Numbers: [2125] 2125,61 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 25+85=110, Resulting Numbers: [110] 110,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 61:[58, 2], Operations: ['24+1=25', '27-25=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 61:[27, 33], Operations: ['24+1=25', '58-25=33'] Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,61 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,61 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: 61:[58, 27, 24], Operations: ['24*1=24'] Exploring Operation: 58-24=34, Resulting Numbers: [27, 34] Generated Node #0,3,0: 61:[27, 34] Operation: 58-24=34 Exploring Operation: 27+24=51, Resulting Numbers: [58, 51] Generated Node #0,3,1: 61:[58, 51] Operation: 27+24=51 Exploring Operation: 58+24=82, Resulting Numbers: [27, 82] Generated Node #0,3,2: 61:[27, 82] Operation: 58+24=82 Exploring Operation: 27-24=3, Resulting Numbers: [58, 3] Generated Node #0,3,3: 61:[58, 3] Operation: 27-24=3 Exploring Operation: 58+27=85, Resulting Numbers: [24, 85] Generated Node #0,3,4: 61:[24, 85] Operation: 58+27=85 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[58, 51], Operations: ['24*1=24', '27+24=51'] Exploring Operation: 58+51=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 58*51=2958, Resulting Numbers: [2958] 2958,61 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[27, 82], Operations: ['24*1=24', '58+24=82'] Exploring Operation: 27+82=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 27*82=2214, Resulting Numbers: [2214] 2214,61 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[27, 34], Operations: ['24*1=24', '58-24=34'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,61 unequal: No Solution Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[24, 58, 27, 1], Operations: [] Exploring Operation: 24*1=24, Resulting Numbers: [58, 27, 24] Generated Node #0,3: 61:[58, 27, 24] Operation: 24*1=24 Moving to Node #0,3 Current State: 61:[58, 27, 24], Operations: ['24*1=24'] Exploring Operation: 58-24=34, Resulting Numbers: [27, 34] Generated Node #0,3,0: 61:[27, 34] Operation: 58-24=34 Moving to Node #0,3,0 Current State: 61:[27, 34], Operations: ['24*1=24', '58-24=34'] Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.935764
hs_5
mult_heuristic
[ 57, 5, 80, 4 ]
32
[ "57-5=52", "80+4=84", "84-52=32" ]
Current State: 32:[57, 5, 80, 4], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [80, 4, 52] Generated Node #2: [80, 4, 52] from Operation: 57-5=52 Current State: 32:[80, 4, 52], Operations: ['57-5=52'] Exploring Operation: 80+4=84, Resulting Numbers: [52, 84] Generated Node #3: [52, 84] from Operation: 80+4=84 Current State: 32:[52, 84], Operations: ['57-5=52', '80+4=84'] Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[57, 5, 80, 4], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [80, 4, 52] Generated Node #0,0: 32:[80, 4, 52] Operation: 57-5=52 Exploring Operation: 80/5=16, Resulting Numbers: [57, 4, 16] Generated Node #0,1: 32:[57, 4, 16] Operation: 80/5=16 Exploring Operation: 80-57=23, Resulting Numbers: [5, 4, 23] Generated Node #0,2: 32:[5, 4, 23] Operation: 80-57=23 Exploring Operation: 80/4=20, Resulting Numbers: [57, 5, 20] Generated Node #0,3: 32:[57, 5, 20] Operation: 80/4=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[5, 4, 23], Operations: ['80-57=23'] Exploring Operation: 23-4=19, Resulting Numbers: [5, 19] Generated Node #0,2,0: 32:[5, 19] Operation: 23-4=19 Exploring Operation: 5+23=28, Resulting Numbers: [4, 28] Generated Node #0,2,1: 32:[4, 28] Operation: 5+23=28 Exploring Operation: 23-5=18, Resulting Numbers: [4, 18] Generated Node #0,2,2: 32:[4, 18] Operation: 23-5=18 Exploring Operation: 4+23=27, Resulting Numbers: [5, 27] Generated Node #0,2,3: 32:[5, 27] Operation: 4+23=27 Moving to Node #0,2,2 Current State: 32:[4, 18], Operations: ['80-57=23', '23-5=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[4, 28], Operations: ['80-57=23', '5+23=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[57, 5, 80, 4], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [5, 4, 23] Generated Node #0,2: 32:[5, 4, 23] Operation: 80-57=23 Moving to Node #0,2 Current State: 32:[5, 4, 23], Operations: ['80-57=23'] Exploring Operation: 5+23=28, Resulting Numbers: [4, 28] Generated Node #0,2,1: 32:[4, 28] Operation: 5+23=28 Moving to Node #0,2,1 Current State: 32:[4, 28], Operations: ['80-57=23', '5+23=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 9, 83, 10, 82 ]
100
[ "9+83=92", "92-82=10", "10*10=100" ]
Current State: 100:[9, 83, 10, 82], Operations: [] Exploring Operation: 9+83=92, Resulting Numbers: [10, 82, 92] Generated Node #2: [10, 82, 92] from Operation: 9+83=92 Current State: 100:[10, 82, 92], Operations: ['9+83=92'] Exploring Operation: 92-82=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 92-82=10 Current State: 100:[10, 10], Operations: ['9+83=92', '92-82=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[9, 83, 10, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [9, 10, 1] Generated Node #0,0: 100:[9, 10, 1] Operation: 83-82=1 Exploring Operation: 9+83=92, Resulting Numbers: [10, 82, 92] Generated Node #0,1: 100:[10, 82, 92] Operation: 9+83=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[9, 10, 1], Operations: ['83-82=1'] Exploring Operation: 9*1=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 100:[10, 9] Operation: 9*1=9 Exploring Operation: 9+1=10, Resulting Numbers: [10, 10] Generated Node #0,0,1: 100:[10, 10] Operation: 9+1=10 Moving to Node #0,0,1 Current State: 100:[10, 10], Operations: ['83-82=1', '9+1=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[9, 83, 10, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [9, 10, 1] Generated Node #0,0: 100:[9, 10, 1] Operation: 83-82=1 Moving to Node #0,0 Current State: 100:[9, 10, 1], Operations: ['83-82=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10, 10] Generated Node #0,0,1: 100:[10, 10] Operation: 9+1=10 Moving to Node #0,0,1 Current State: 100:[10, 10], Operations: ['83-82=1', '9+1=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 5, 48, 85, 1 ]
42
[ "48-5=43", "85*1=85", "85-43=42" ]
Current State: 42:[5, 48, 85, 1], Operations: [] Exploring Operation: 48-5=43, Resulting Numbers: [85, 1, 43] Generated Node #2: [85, 1, 43] from Operation: 48-5=43 Current State: 42:[85, 1, 43], Operations: ['48-5=43'] Exploring Operation: 85*1=85, Resulting Numbers: [43, 85] Generated Node #3: [43, 85] from Operation: 85*1=85 Current State: 42:[43, 85], Operations: ['48-5=43', '85*1=85'] Exploring Operation: 85-43=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[5, 48, 85, 1], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [48, 1, 17] Generated Node #0,0: 42:[48, 1, 17] Operation: 85/5=17 Exploring Operation: 85-48=37, Resulting Numbers: [5, 1, 37] Generated Node #0,1: 42:[5, 1, 37] Operation: 85-48=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[5, 1, 37], Operations: ['85-48=37'] Exploring Operation: 5+37=42, Resulting Numbers: [1, 42] Generated Node #0,1,0: 42:[1, 42] Operation: 5+37=42 Exploring Operation: 5+1=6, Resulting Numbers: [37, 6] Generated Node #0,1,1: 42:[37, 6] Operation: 5+1=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[1, 42], Operations: ['85-48=37', '5+37=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[5, 48, 85, 1], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [5, 1, 37] Generated Node #0,1: 42:[5, 1, 37] Operation: 85-48=37 Moving to Node #0,1 Current State: 42:[5, 1, 37], Operations: ['85-48=37'] Exploring Operation: 5+37=42, Resulting Numbers: [1, 42] Generated Node #0,1,0: 42:[1, 42] Operation: 5+37=42 Moving to Node #0,1,0 Current State: 42:[1, 42], Operations: ['85-48=37', '5+37=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 87, 96, 99, 55 ]
96
[ "87-55=32", "99-96=3", "32*3=96" ]
Current State: 96:[87, 96, 99, 55], Operations: [] Exploring Operation: 87-55=32, Resulting Numbers: [96, 99, 32] Generated Node #2: [96, 99, 32] from Operation: 87-55=32 Current State: 96:[96, 99, 32], Operations: ['87-55=32'] Exploring Operation: 99-96=3, Resulting Numbers: [32, 3] Generated Node #3: [32, 3] from Operation: 99-96=3 Current State: 96:[32, 3], Operations: ['87-55=32', '99-96=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[87, 96, 99, 55], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [96, 55, 12] Generated Node #0,0: 96:[96, 55, 12] Operation: 99-87=12 Exploring Operation: 87-55=32, Resulting Numbers: [96, 99, 32] Generated Node #0,1: 96:[96, 99, 32] Operation: 87-55=32 Exploring Operation: 99-55=44, Resulting Numbers: [87, 96, 44] Generated Node #0,2: 96:[87, 96, 44] Operation: 99-55=44 Exploring Operation: 96-87=9, Resulting Numbers: [99, 55, 9] Generated Node #0,3: 96:[99, 55, 9] Operation: 96-87=9 Moving to Node #0,1 Current State: 96:[96, 99, 32], Operations: ['87-55=32'] Exploring Operation: 96-32=64, Resulting Numbers: [99, 64] Generated Node #0,1,0: 96:[99, 64] Operation: 96-32=64 Exploring Operation: 99-32=67, Resulting Numbers: [96, 67] Generated Node #0,1,1: 96:[96, 67] Operation: 99-32=67 Exploring Operation: 99-96=3, Resulting Numbers: [32, 3] Generated Node #0,1,2: 96:[32, 3] Operation: 99-96=3 Exploring Operation: 96/32=3, Resulting Numbers: [99, 3] Generated Node #0,1,3: 96:[99, 3] Operation: 96/32=3 Moving to Node #0,0 Current State: 96:[96, 55, 12], Operations: ['99-87=12'] Exploring Operation: 96+12=108, Resulting Numbers: [55, 108] Generated Node #0,0,0: 96:[55, 108] Operation: 96+12=108 Exploring Operation: 96/12=8, Resulting Numbers: [55, 8] Generated Node #0,0,1: 96:[55, 8] Operation: 96/12=8 Exploring Operation: 55-12=43, Resulting Numbers: [96, 43] Generated Node #0,0,2: 96:[96, 43] Operation: 55-12=43 Exploring Operation: 96-55=41, Resulting Numbers: [12, 41] Generated Node #0,0,3: 96:[12, 41] Operation: 96-55=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[96, 43], Operations: ['99-87=12', '55-12=43'] Exploring Operation: 96+43=139, Resulting Numbers: [139] 139,96 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 96*43=4128, Resulting Numbers: [4128] 4128,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[55, 8], Operations: ['99-87=12', '96/12=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,96 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[12, 41], Operations: ['99-87=12', '96-55=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,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:[55, 108], Operations: ['99-87=12', '96+12=108'] Exploring Operation: 55+108=163, Resulting Numbers: [163] 163,96 unequal: No Solution Exploring Operation: 55*108=5940, Resulting Numbers: [5940] 5940,96 unequal: No Solution Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,96 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: 96:[99, 55, 9], Operations: ['96-87=9'] Exploring Operation: 55-9=46, Resulting Numbers: [99, 46] Generated Node #0,3,0: 96:[99, 46] Operation: 55-9=46 Exploring Operation: 99-55=44, Resulting Numbers: [9, 44] Generated Node #0,3,1: 96:[9, 44] Operation: 99-55=44 Exploring Operation: 99/9=11, Resulting Numbers: [55, 11] Generated Node #0,3,2: 96:[55, 11] Operation: 99/9=11 Exploring Operation: 99-9=90, Resulting Numbers: [55, 90] Generated Node #0,3,3: 96:[55, 90] Operation: 99-9=90 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 96:[99, 46], Operations: ['96-87=9', '55-9=46'] Exploring Operation: 99*46=4554, Resulting Numbers: [4554] 4554,96 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 99+46=145, Resulting Numbers: [145] 145,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,3,1 Current State: 96:[9, 44], Operations: ['96-87=9', '99-55=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,96 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,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,3,2 Current State: 96:[55, 11], Operations: ['96-87=9', '99/9=11'] Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,96 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,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,3,3 Current State: 96:[55, 90], Operations: ['96-87=9', '99-9=90'] Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,96 unequal: No Solution Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,96 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: 96:[87, 96, 44], Operations: ['99-55=44'] Exploring Operation: 87+44=131, Resulting Numbers: [96, 131] Generated Node #0,2,0: 96:[96, 131] Operation: 87+44=131 Exploring Operation: 96-87=9, Resulting Numbers: [44, 9] Generated Node #0,2,1: 96:[44, 9] Operation: 96-87=9 Exploring Operation: 87-44=43, Resulting Numbers: [96, 43] Generated Node #0,2,2: 96:[96, 43] Operation: 87-44=43 Exploring Operation: 96-44=52, Resulting Numbers: [87, 52] Generated Node #0,2,3: 96:[87, 52] Operation: 96-44=52 Moving to Node #0,1,2 Current State: 96:[32, 3], Operations: ['87-55=32', '99-96=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[87, 96, 99, 55], Operations: [] Exploring Operation: 87-55=32, Resulting Numbers: [96, 99, 32] Generated Node #0,1: 96:[96, 99, 32] Operation: 87-55=32 Moving to Node #0,1 Current State: 96:[96, 99, 32], Operations: ['87-55=32'] Exploring Operation: 99-96=3, Resulting Numbers: [32, 3] Generated Node #0,1,2: 96:[32, 3] Operation: 99-96=3 Moving to Node #0,1,2 Current State: 96:[32, 3], Operations: ['87-55=32', '99-96=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.954861
hs_4
sum_heuristic
[ 28, 75, 18, 1 ]
50
[ "28-1=27", "75*18=1350", "1350/27=50" ]
Current State: 50:[28, 75, 18, 1], Operations: [] Exploring Operation: 28-1=27, Resulting Numbers: [75, 18, 27] Generated Node #2: [75, 18, 27] from Operation: 28-1=27 Current State: 50:[75, 18, 27], Operations: ['28-1=27'] Exploring Operation: 75*18=1350, Resulting Numbers: [27, 1350] Generated Node #3: [27, 1350] from Operation: 75*18=1350 Current State: 50:[27, 1350], Operations: ['28-1=27', '75*18=1350'] Exploring Operation: 1350/27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[28, 75, 18, 1], Operations: [] Exploring Operation: 28-18=10, Resulting Numbers: [75, 1, 10] Generated Node #0,0: 50:[75, 1, 10] Operation: 28-18=10 Exploring Operation: 75-28=47, Resulting Numbers: [18, 1, 47] Generated Node #0,1: 50:[18, 1, 47] Operation: 75-28=47 Exploring Operation: 75-18=57, Resulting Numbers: [28, 1, 57] Generated Node #0,2: 50:[28, 1, 57] Operation: 75-18=57 Moving to Node #0,1 Current State: 50:[18, 1, 47], Operations: ['75-28=47'] Exploring Operation: 1+47=48, Resulting Numbers: [18, 48] Generated Node #0,1,0: 50:[18, 48] Operation: 1+47=48 Exploring Operation: 18+1=19, Resulting Numbers: [47, 19] Generated Node #0,1,1: 50:[47, 19] Operation: 18+1=19 Exploring Operation: 47-18=29, Resulting Numbers: [1, 29] Generated Node #0,1,2: 50:[1, 29] Operation: 47-18=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[1, 29], Operations: ['75-28=47', '47-18=29'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,50 unequal: No Solution No 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: 50:[18, 48], Operations: ['75-28=47', '1+47=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,50 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,50 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,50 unequal: No Solution No 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: 50:[47, 19], Operations: ['75-28=47', '18+1=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,50 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,50 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: 50:[28, 1, 57], Operations: ['75-18=57'] Exploring Operation: 57-28=29, Resulting Numbers: [1, 29] Generated Node #0,2,0: 50:[1, 29] Operation: 57-28=29 Exploring Operation: 28-1=27, Resulting Numbers: [57, 27] Generated Node #0,2,1: 50:[57, 27] Operation: 28-1=27 Exploring Operation: 57-1=56, Resulting Numbers: [28, 56] Generated Node #0,2,2: 50:[28, 56] Operation: 57-1=56 Moving to Node #0,0 Current State: 50:[75, 1, 10], Operations: ['28-18=10'] Exploring Operation: 75*1=75, Resulting Numbers: [10, 75] Generated Node #0,0,0: 50:[10, 75] Operation: 75*1=75 Exploring Operation: 75-10=65, Resulting Numbers: [1, 65] Generated Node #0,0,1: 50:[1, 65] Operation: 75-10=65 Exploring Operation: 75-1=74, Resulting Numbers: [10, 74] Generated Node #0,0,2: 50:[10, 74] Operation: 75-1=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[1, 65], Operations: ['28-18=10', '75-10=65'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,50 unequal: No Solution Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,50 unequal: No Solution No 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: 50:[10, 74], Operations: ['28-18=10', '75-1=74'] Exploring Operation: 10*74=740, Resulting Numbers: [740] 740,50 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,50 unequal: No Solution Exploring Operation: 10+74=84, Resulting Numbers: [84] 84,50 unequal: No Solution No 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: 50:[10, 75], Operations: ['28-18=10', '75*1=75'] Exploring Operation: 10*75=750, Resulting Numbers: [750] 750,50 unequal: No Solution Exploring Operation: 10+75=85, Resulting Numbers: [85] 85,50 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,50 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: 50:[1, 29], Operations: ['75-18=57', '57-28=29'] Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[57, 27], Operations: ['75-18=57', '28-1=27'] Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,50 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[28, 56], Operations: ['75-18=57', '57-1=56'] Exploring Operation: 28+56=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,50 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 39, 92, 31, 30 ]
78
[ "92-30=62", "39*62=2418", "2418/31=78" ]
Current State: 78:[39, 92, 31, 30], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [39, 31, 62] Generated Node #2: [39, 31, 62] from Operation: 92-30=62 Current State: 78:[39, 31, 62], Operations: ['92-30=62'] Exploring Operation: 39*62=2418, Resulting Numbers: [31, 2418] Generated Node #3: [31, 2418] from Operation: 39*62=2418 Current State: 78:[31, 2418], Operations: ['92-30=62', '39*62=2418'] Exploring Operation: 2418/31=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[39, 92, 31, 30], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [92, 30, 8] Generated Node #0,0: 78:[92, 30, 8] Operation: 39-31=8 Exploring Operation: 92-31=61, Resulting Numbers: [39, 30, 61] Generated Node #0,1: 78:[39, 30, 61] Operation: 92-31=61 Exploring Operation: 92-30=62, Resulting Numbers: [39, 31, 62] Generated Node #0,2: 78:[39, 31, 62] Operation: 92-30=62 Exploring Operation: 31-30=1, Resulting Numbers: [39, 92, 1] Generated Node #0,3: 78:[39, 92, 1] Operation: 31-30=1 Moving to Node #0,3 Current State: 78:[39, 92, 1], Operations: ['31-30=1'] Exploring Operation: 92*1=92, Resulting Numbers: [39, 92] Generated Node #0,3,0: 78:[39, 92] Operation: 92*1=92 Exploring Operation: 92-1=91, Resulting Numbers: [39, 91] Generated Node #0,3,1: 78:[39, 91] Operation: 92-1=91 Exploring Operation: 39/1=39, Resulting Numbers: [92, 39] Generated Node #0,3,2: 78:[92, 39] Operation: 39/1=39 Exploring Operation: 39*1=39, Resulting Numbers: [92, 39] Generated Node #0,3,3: 78:[92, 39] Operation: 39*1=39 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 78:[39, 91], Operations: ['31-30=1', '92-1=91'] Exploring Operation: 39*91=3549, Resulting Numbers: [3549] 3549,78 unequal: No Solution Exploring Operation: 39+91=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[39, 92], Operations: ['31-30=1', '92*1=92'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 39+92=131, Resulting Numbers: [131] 131,78 unequal: No Solution Exploring Operation: 39*92=3588, Resulting Numbers: [3588] 3588,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[92, 39], Operations: ['31-30=1', '39/1=39'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,78 unequal: No Solution Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[92, 39], Operations: ['31-30=1', '39*1=39'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,78 unequal: No Solution Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,78 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: 78:[92, 30, 8], Operations: ['39-31=8'] Exploring Operation: 30-8=22, Resulting Numbers: [92, 22] Generated Node #0,0,0: 78:[92, 22] Operation: 30-8=22 Exploring Operation: 92-8=84, Resulting Numbers: [30, 84] Generated Node #0,0,1: 78:[30, 84] Operation: 92-8=84 Exploring Operation: 92-30=62, Resulting Numbers: [8, 62] Generated Node #0,0,2: 78:[8, 62] Operation: 92-30=62 Exploring Operation: 30+8=38, Resulting Numbers: [92, 38] Generated Node #0,0,3: 78:[92, 38] Operation: 30+8=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[30, 84], Operations: ['39-31=8', '92-8=84'] Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 30+84=114, Resulting Numbers: [114] 114,78 unequal: No Solution Exploring Operation: 30*84=2520, Resulting Numbers: [2520] 2520,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[92, 38], Operations: ['39-31=8', '30+8=38'] Exploring Operation: 92*38=3496, Resulting Numbers: [3496] 3496,78 unequal: No Solution Exploring Operation: 92+38=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[92, 22], Operations: ['39-31=8', '30-8=22'] Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,78 unequal: No Solution Exploring Operation: 92*22=2024, Resulting Numbers: [2024] 2024,78 unequal: No Solution Exploring Operation: 92+22=114, Resulting Numbers: [114] 114,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[8, 62], Operations: ['39-31=8', '92-30=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,78 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,78 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: 78:[39, 31, 62], Operations: ['92-30=62'] Exploring Operation: 31+62=93, Resulting Numbers: [39, 93] Generated Node #0,2,0: 78:[39, 93] Operation: 31+62=93 Exploring Operation: 62/31=2, Resulting Numbers: [39, 2] Generated Node #0,2,1: 78:[39, 2] Operation: 62/31=2 Exploring Operation: 62-39=23, Resulting Numbers: [31, 23] Generated Node #0,2,2: 78:[31, 23] Operation: 62-39=23 Exploring Operation: 62-31=31, Resulting Numbers: [39, 31] Generated Node #0,2,3: 78:[39, 31] Operation: 62-31=31 Moving to Node #0,1 Current State: 78:[39, 30, 61], Operations: ['92-31=61'] Exploring Operation: 39-30=9, Resulting Numbers: [61, 9] Generated Node #0,1,0: 78:[61, 9] Operation: 39-30=9 Exploring Operation: 61-39=22, Resulting Numbers: [30, 22] Generated Node #0,1,1: 78:[30, 22] Operation: 61-39=22 Exploring Operation: 30+61=91, Resulting Numbers: [39, 91] Generated Node #0,1,2: 78:[39, 91] Operation: 30+61=91 Exploring Operation: 61-30=31, Resulting Numbers: [39, 31] Generated Node #0,1,3: 78:[39, 31] Operation: 61-30=31 Moving to Node #0,2,1 Current State: 78:[39, 2], Operations: ['92-30=62', '62/31=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[39, 92, 31, 30], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [39, 31, 62] Generated Node #0,2: 78:[39, 31, 62] Operation: 92-30=62 Moving to Node #0,2 Current State: 78:[39, 31, 62], Operations: ['92-30=62'] Exploring Operation: 62/31=2, Resulting Numbers: [39, 2] Generated Node #0,2,1: 78:[39, 2] Operation: 62/31=2 Moving to Node #0,2,1 Current State: 78:[39, 2], Operations: ['92-30=62', '62/31=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 54, 76, 47, 31 ]
34
[ "54*31=1674", "1674-76=1598", "1598/47=34" ]
Current State: 34:[54, 76, 47, 31], Operations: [] Exploring Operation: 54*31=1674, Resulting Numbers: [76, 47, 1674] Generated Node #2: [76, 47, 1674] from Operation: 54*31=1674 Current State: 34:[76, 47, 1674], Operations: ['54*31=1674'] Exploring Operation: 1674-76=1598, Resulting Numbers: [47, 1598] Generated Node #3: [47, 1598] from Operation: 1674-76=1598 Current State: 34:[47, 1598], Operations: ['54*31=1674', '1674-76=1598'] Exploring Operation: 1598/47=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[54, 76, 47, 31], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [76, 31, 7] Generated Node #0,0: 34:[76, 31, 7] Operation: 54-47=7 Exploring Operation: 76-54=22, Resulting Numbers: [47, 31, 22] Generated Node #0,1: 34:[47, 31, 22] Operation: 76-54=22 Exploring Operation: 76-31=45, Resulting Numbers: [54, 47, 45] Generated Node #0,2: 34:[54, 47, 45] Operation: 76-31=45 Exploring Operation: 76-47=29, Resulting Numbers: [54, 31, 29] Generated Node #0,3: 34:[54, 31, 29] Operation: 76-47=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[47, 31, 22], Operations: ['76-54=22'] Exploring Operation: 31-22=9, Resulting Numbers: [47, 9] Generated Node #0,1,0: 34:[47, 9] Operation: 31-22=9 Exploring Operation: 47-31=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 34:[22, 16] Operation: 47-31=16 Exploring Operation: 31+22=53, Resulting Numbers: [47, 53] Generated Node #0,1,2: 34:[47, 53] Operation: 31+22=53 Exploring Operation: 47-22=25, Resulting Numbers: [31, 25] Generated Node #0,1,3: 34:[31, 25] Operation: 47-22=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[22, 16], Operations: ['76-54=22', '47-31=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 34:[31, 25], Operations: ['76-54=22', '47-22=25'] Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,34 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[47, 9], Operations: ['76-54=22', '31-22=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[47, 53], Operations: ['76-54=22', '31+22=53'] Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,34 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[54, 31, 29], Operations: ['76-47=29'] Exploring Operation: 31-29=2, Resulting Numbers: [54, 2] Generated Node #0,3,0: 34:[54, 2] Operation: 31-29=2 Exploring Operation: 54-29=25, Resulting Numbers: [31, 25] Generated Node #0,3,1: 34:[31, 25] Operation: 54-29=25 Exploring Operation: 54-31=23, Resulting Numbers: [29, 23] Generated Node #0,3,2: 34:[29, 23] Operation: 54-31=23 Exploring Operation: 31+29=60, Resulting Numbers: [54, 60] Generated Node #0,3,3: 34:[54, 60] Operation: 31+29=60 Moving to Node #0,3,1 Current State: 34:[31, 25], Operations: ['76-47=29', '54-29=25'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[29, 23], Operations: ['76-47=29', '54-31=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,34 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[54, 2], Operations: ['76-47=29', '31-29=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[54, 60], Operations: ['76-47=29', '31+29=60'] Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,34 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[54, 47, 45], Operations: ['76-31=45'] Exploring Operation: 47-45=2, Resulting Numbers: [54, 2] Generated Node #0,2,0: 34:[54, 2] Operation: 47-45=2 Exploring Operation: 54-45=9, Resulting Numbers: [47, 9] Generated Node #0,2,1: 34:[47, 9] Operation: 54-45=9 Exploring Operation: 54-47=7, Resulting Numbers: [45, 7] Generated Node #0,2,2: 34:[45, 7] Operation: 54-47=7 Exploring Operation: 54+47=101, Resulting Numbers: [45, 101] Generated Node #0,2,3: 34:[45, 101] Operation: 54+47=101 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[45, 7], Operations: ['76-31=45', '54-47=7'] Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[54, 2], Operations: ['76-31=45', '47-45=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,34 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[47, 9], Operations: ['76-31=45', '54-45=9'] Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,34 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 34:[45, 101], Operations: ['76-31=45', '54+47=101'] Exploring Operation: 45*101=4545, Resulting Numbers: [4545] 4545,34 unequal: No Solution Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 45+101=146, Resulting Numbers: [146] 146,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[76, 31, 7], Operations: ['54-47=7'] Exploring Operation: 31+7=38, Resulting Numbers: [76, 38] Generated Node #0,0,0: 34:[76, 38] Operation: 31+7=38 Exploring Operation: 76-7=69, Resulting Numbers: [31, 69] Generated Node #0,0,1: 34:[31, 69] Operation: 76-7=69 Exploring Operation: 76-31=45, Resulting Numbers: [7, 45] Generated Node #0,0,2: 34:[7, 45] Operation: 76-31=45 Exploring Operation: 31-7=24, Resulting Numbers: [76, 24] Generated Node #0,0,3: 34:[76, 24] Operation: 31-7=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[7, 45], Operations: ['54-47=7', '76-31=45'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[31, 69], Operations: ['54-47=7', '76-7=69'] Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[76, 38], Operations: ['54-47=7', '31+7=38'] Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 76*38=2888, Resulting Numbers: [2888] 2888,34 unequal: No Solution Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 34:[76, 24], Operations: ['54-47=7', '31-7=24'] Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 16, 27, 63, 73 ]
53
[ "16+27=43", "73-63=10", "43+10=53" ]
Current State: 53:[16, 27, 63, 73], Operations: [] Exploring Operation: 16+27=43, Resulting Numbers: [63, 73, 43] Generated Node #2: [63, 73, 43] from Operation: 16+27=43 Current State: 53:[63, 73, 43], Operations: ['16+27=43'] Exploring Operation: 73-63=10, Resulting Numbers: [43, 10] Generated Node #3: [43, 10] from Operation: 73-63=10 Current State: 53:[43, 10], Operations: ['16+27=43', '73-63=10'] Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[16, 27, 63, 73], Operations: [] Exploring Operation: 73-16=57, Resulting Numbers: [27, 63, 57] Generated Node #0,0: 53:[27, 63, 57] Operation: 73-16=57 Exploring Operation: 16+27=43, Resulting Numbers: [63, 73, 43] Generated Node #0,1: 53:[63, 73, 43] Operation: 16+27=43 Moving to Node #0,0 Current State: 53:[27, 63, 57], Operations: ['73-16=57'] Exploring Operation: 57-27=30, Resulting Numbers: [63, 30] Generated Node #0,0,0: 53:[63, 30] Operation: 57-27=30 Exploring Operation: 63-27=36, Resulting Numbers: [57, 36] Generated Node #0,0,1: 53:[57, 36] Operation: 63-27=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[57, 36], Operations: ['73-16=57', '63-27=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[63, 30], Operations: ['73-16=57', '57-27=30'] Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,53 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: 53:[63, 73, 43], Operations: ['16+27=43'] Exploring Operation: 73-43=30, Resulting Numbers: [63, 30] Generated Node #0,1,0: 53:[63, 30] Operation: 73-43=30 Exploring Operation: 73-63=10, Resulting Numbers: [43, 10] Generated Node #0,1,1: 53:[43, 10] Operation: 73-63=10 Moving to Node #0,1,0 Current State: 53:[63, 30], Operations: ['16+27=43', '73-43=30'] Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[43, 10], Operations: ['16+27=43', '73-63=10'] Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[16, 27, 63, 73], Operations: [] Exploring Operation: 16+27=43, Resulting Numbers: [63, 73, 43] Generated Node #0,1: 53:[63, 73, 43] Operation: 16+27=43 Moving to Node #0,1 Current State: 53:[63, 73, 43], Operations: ['16+27=43'] Exploring Operation: 73-63=10, Resulting Numbers: [43, 10] Generated Node #0,1,1: 53:[43, 10] Operation: 73-63=10 Moving to Node #0,1,1 Current State: 53:[43, 10], Operations: ['16+27=43', '73-63=10'] Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 45, 17, 72, 55 ]
45
[ "45+17=62", "72-55=17", "62-17=45" ]
Current State: 45:[45, 17, 72, 55], Operations: [] Exploring Operation: 45+17=62, Resulting Numbers: [72, 55, 62] Generated Node #2: [72, 55, 62] from Operation: 45+17=62 Current State: 45:[72, 55, 62], Operations: ['45+17=62'] Exploring Operation: 72-55=17, Resulting Numbers: [62, 17] Generated Node #3: [62, 17] from Operation: 72-55=17 Current State: 45:[62, 17], Operations: ['45+17=62', '72-55=17'] Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[45, 17, 72, 55], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [45, 17, 17] Generated Node #0,0: 45:[45, 17, 17] Operation: 72-55=17 Exploring Operation: 72-17=55, Resulting Numbers: [45, 55, 55] Generated Node #0,1: 45:[45, 55, 55] Operation: 72-17=55 Moving to Node #0,0 Current State: 45:[45, 17, 17], Operations: ['72-55=17'] Exploring Operation: 17-17=0, Resulting Numbers: [45, 0] Generated Node #0,0,0: 45:[45, 0] Operation: 17-17=0 Exploring Operation: 17/17=1, Resulting Numbers: [45, 1] Generated Node #0,0,1: 45:[45, 1] Operation: 17/17=1 Moving to Node #0,1 Current State: 45:[45, 55, 55], Operations: ['72-17=55'] Exploring Operation: 55-55=0, Resulting Numbers: [45, 0] Generated Node #0,1,0: 45:[45, 0] Operation: 55-55=0 Exploring Operation: 55/55=1, Resulting Numbers: [45, 1] Generated Node #0,1,1: 45:[45, 1] Operation: 55/55=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[45, 1], Operations: ['72-17=55', '55/55=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[45, 17, 72, 55], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [45, 55, 55] Generated Node #0,1: 45:[45, 55, 55] Operation: 72-17=55 Moving to Node #0,1 Current State: 45:[45, 55, 55], Operations: ['72-17=55'] Exploring Operation: 55/55=1, Resulting Numbers: [45, 1] Generated Node #0,1,1: 45:[45, 1] Operation: 55/55=1 Moving to Node #0,1,1 Current State: 45:[45, 1], Operations: ['72-17=55', '55/55=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 3, 85, 17, 21 ]
13
[ "3*17=51", "85-21=64", "64-51=13" ]
Current State: 13:[3, 85, 17, 21], Operations: [] Exploring Operation: 3*17=51, Resulting Numbers: [85, 21, 51] Generated Node #2: [85, 21, 51] from Operation: 3*17=51 Current State: 13:[85, 21, 51], Operations: ['3*17=51'] Exploring Operation: 85-21=64, Resulting Numbers: [51, 64] Generated Node #3: [51, 64] from Operation: 85-21=64 Current State: 13:[51, 64], Operations: ['3*17=51', '85-21=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[3, 85, 17, 21], Operations: [] Exploring Operation: 85-3=82, Resulting Numbers: [17, 21, 82] Generated Node #0,0: 13:[17, 21, 82] Operation: 85-3=82 Exploring Operation: 85/17=5, Resulting Numbers: [3, 21, 5] Generated Node #0,1: 13:[3, 21, 5] Operation: 85/17=5 Exploring Operation: 85-17=68, Resulting Numbers: [3, 21, 68] Generated Node #0,2: 13:[3, 21, 68] Operation: 85-17=68 Exploring Operation: 85-21=64, Resulting Numbers: [3, 17, 64] Generated Node #0,3: 13:[3, 17, 64] Operation: 85-21=64 Moving to Node #0,1 Current State: 13:[3, 21, 5], Operations: ['85/17=5'] Exploring Operation: 3+5=8, Resulting Numbers: [21, 8] Generated Node #0,1,0: 13:[21, 8] Operation: 3+5=8 Exploring Operation: 3*5=15, Resulting Numbers: [21, 15] Generated Node #0,1,1: 13:[21, 15] Operation: 3*5=15 Exploring Operation: 21-3=18, Resulting Numbers: [5, 18] Generated Node #0,1,2: 13:[5, 18] Operation: 21-3=18 Exploring Operation: 21-5=16, Resulting Numbers: [3, 16] Generated Node #0,1,3: 13:[3, 16] Operation: 21-5=16 Moving to Node #0,3 Current State: 13:[3, 17, 64], Operations: ['85-21=64'] Exploring Operation: 17-3=14, Resulting Numbers: [64, 14] Generated Node #0,3,0: 13:[64, 14] Operation: 17-3=14 Exploring Operation: 3+17=20, Resulting Numbers: [64, 20] Generated Node #0,3,1: 13:[64, 20] Operation: 3+17=20 Exploring Operation: 64-3=61, Resulting Numbers: [17, 61] Generated Node #0,3,2: 13:[17, 61] Operation: 64-3=61 Exploring Operation: 64-17=47, Resulting Numbers: [3, 47] Generated Node #0,3,3: 13:[3, 47] Operation: 64-17=47 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[3, 47], Operations: ['85-21=64', '64-17=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,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,3,0 Current State: 13:[64, 14], Operations: ['85-21=64', '17-3=14'] Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,13 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 64-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,3,2 Current State: 13:[17, 61], Operations: ['85-21=64', '64-3=61'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,13 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,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,3,1 Current State: 13:[64, 20], Operations: ['85-21=64', '3+17=20'] Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,13 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,13 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: 13:[3, 21, 68], Operations: ['85-17=68'] Exploring Operation: 68-21=47, Resulting Numbers: [3, 47] Generated Node #0,2,0: 13:[3, 47] Operation: 68-21=47 Exploring Operation: 21-3=18, Resulting Numbers: [68, 18] Generated Node #0,2,1: 13:[68, 18] Operation: 21-3=18 Exploring Operation: 68-3=65, Resulting Numbers: [21, 65] Generated Node #0,2,2: 13:[21, 65] Operation: 68-3=65 Exploring Operation: 21/3=7, Resulting Numbers: [68, 7] Generated Node #0,2,3: 13:[68, 7] Operation: 21/3=7 Moving to Node #0,0 Current State: 13:[17, 21, 82], Operations: ['85-3=82'] Exploring Operation: 82-21=61, Resulting Numbers: [17, 61] Generated Node #0,0,0: 13:[17, 61] Operation: 82-21=61 Exploring Operation: 21-17=4, Resulting Numbers: [82, 4] Generated Node #0,0,1: 13:[82, 4] Operation: 21-17=4 Exploring Operation: 17+21=38, Resulting Numbers: [82, 38] Generated Node #0,0,2: 13:[82, 38] Operation: 17+21=38 Exploring Operation: 82-17=65, Resulting Numbers: [21, 65] Generated Node #0,0,3: 13:[21, 65] Operation: 82-17=65 Moving to Node #0,1,1 Current State: 13:[21, 15], Operations: ['85/17=5', '3*5=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[5, 18], Operations: ['85/17=5', '21-3=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[3, 85, 17, 21], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [3, 21, 5] Generated Node #0,1: 13:[3, 21, 5] Operation: 85/17=5 Moving to Node #0,1 Current State: 13:[3, 21, 5], Operations: ['85/17=5'] Exploring Operation: 21-3=18, Resulting Numbers: [5, 18] Generated Node #0,1,2: 13:[5, 18] Operation: 21-3=18 Moving to Node #0,1,2 Current State: 13:[5, 18], Operations: ['85/17=5', '21-3=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 87, 4, 26, 29 ]
90
[ "87/29=3", "4+26=30", "3*30=90" ]
Current State: 90:[87, 4, 26, 29], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [4, 26, 3] Generated Node #2: [4, 26, 3] from Operation: 87/29=3 Current State: 90:[4, 26, 3], Operations: ['87/29=3'] Exploring Operation: 4+26=30, Resulting Numbers: [3, 30] Generated Node #3: [3, 30] from Operation: 4+26=30 Current State: 90:[3, 30], Operations: ['87/29=3', '4+26=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[87, 4, 26, 29], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [4, 26, 3] Generated Node #0,0: 90:[4, 26, 3] Operation: 87/29=3 Exploring Operation: 29-26=3, Resulting Numbers: [87, 4, 3] Generated Node #0,1: 90:[87, 4, 3] Operation: 29-26=3 Exploring Operation: 4+26=30, Resulting Numbers: [87, 29, 30] Generated Node #0,2: 90:[87, 29, 30] Operation: 4+26=30 Moving to Node #0,1 Current State: 90:[87, 4, 3], Operations: ['29-26=3'] Exploring Operation: 87/3=29, Resulting Numbers: [4, 29] Generated Node #0,1,0: 90:[4, 29] Operation: 87/3=29 Exploring Operation: 87+3=90, Resulting Numbers: [4, 90] Generated Node #0,1,1: 90:[4, 90] Operation: 87+3=90 Exploring Operation: 87+4=91, Resulting Numbers: [3, 91] Generated Node #0,1,2: 90:[3, 91] Operation: 87+4=91 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[4, 90], Operations: ['29-26=3', '87+3=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,90 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,90 unequal: No Solution Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[3, 91], Operations: ['29-26=3', '87+4=91'] Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,90 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,90 unequal: No Solution Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[4, 29], Operations: ['29-26=3', '87/3=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,90 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: 90:[87, 29, 30], Operations: ['4+26=30'] Exploring Operation: 87-29=58, Resulting Numbers: [30, 58] Generated Node #0,2,0: 90:[30, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 90:[30, 3] Operation: 87/29=3 Exploring Operation: 30-29=1, Resulting Numbers: [87, 1] Generated Node #0,2,2: 90:[87, 1] Operation: 30-29=1 Moving to Node #0,0 Current State: 90:[4, 26, 3], Operations: ['87/29=3'] Exploring Operation: 26+3=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 90:[4, 29] Operation: 26+3=29 Exploring Operation: 26-4=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 90:[3, 22] Operation: 26-4=22 Exploring Operation: 4+26=30, Resulting Numbers: [3, 30] Generated Node #0,0,2: 90:[3, 30] Operation: 4+26=30 Moving to Node #0,2,1 Current State: 90:[30, 3], Operations: ['4+26=30', '87/29=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[87, 4, 26, 29], Operations: [] Exploring Operation: 4+26=30, Resulting Numbers: [87, 29, 30] Generated Node #0,2: 90:[87, 29, 30] Operation: 4+26=30 Moving to Node #0,2 Current State: 90:[87, 29, 30], Operations: ['4+26=30'] Exploring Operation: 87/29=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 90:[30, 3] Operation: 87/29=3 Moving to Node #0,2,1 Current State: 90:[30, 3], Operations: ['4+26=30', '87/29=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 63, 9, 18, 64 ]
27
[ "64-63=1", "9+18=27", "1*27=27" ]
Current State: 27:[63, 9, 18, 64], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [9, 18, 1] Generated Node #2: [9, 18, 1] from Operation: 64-63=1 Current State: 27:[9, 18, 1], Operations: ['64-63=1'] Exploring Operation: 9+18=27, Resulting Numbers: [1, 27] Generated Node #3: [1, 27] from Operation: 9+18=27 Current State: 27:[1, 27], Operations: ['64-63=1', '9+18=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[63, 9, 18, 64], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [9, 18, 1] Generated Node #0,0: 27:[9, 18, 1] Operation: 64-63=1 Exploring Operation: 63/9=7, Resulting Numbers: [18, 64, 7] Generated Node #0,1: 27:[18, 64, 7] Operation: 63/9=7 Moving to Node #0,0 Current State: 27:[9, 18, 1], Operations: ['64-63=1'] Exploring Operation: 9+18=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 27:[1, 27] Operation: 9+18=27 Exploring Operation: 18-9=9, Resulting Numbers: [1, 9] Generated Node #0,0,1: 27:[1, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[1, 27], Operations: ['64-63=1', '9+18=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[63, 9, 18, 64], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [9, 18, 1] Generated Node #0,0: 27:[9, 18, 1] Operation: 64-63=1 Moving to Node #0,0 Current State: 27:[9, 18, 1], Operations: ['64-63=1'] Exploring Operation: 9+18=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 27:[1, 27] Operation: 9+18=27 Moving to Node #0,0,0 Current State: 27:[1, 27], Operations: ['64-63=1', '9+18=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 40, 5, 41, 45 ]
78
[ "40/5=8", "41+45=86", "86-8=78" ]
Current State: 78:[40, 5, 41, 45], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [41, 45, 8] Generated Node #2: [41, 45, 8] from Operation: 40/5=8 Current State: 78:[41, 45, 8], Operations: ['40/5=8'] Exploring Operation: 41+45=86, Resulting Numbers: [8, 86] Generated Node #3: [8, 86] from Operation: 41+45=86 Current State: 78:[8, 86], Operations: ['40/5=8', '41+45=86'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[40, 5, 41, 45], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [5, 41, 5] Generated Node #0,0: 78:[5, 41, 5] Operation: 45-40=5 Exploring Operation: 45-41=4, Resulting Numbers: [40, 5, 4] Generated Node #0,1: 78:[40, 5, 4] Operation: 45-41=4 Exploring Operation: 45-5=40, Resulting Numbers: [40, 41, 40] Generated Node #0,2: 78:[40, 41, 40] Operation: 45-5=40 Moving to Node #0,1 Current State: 78:[40, 5, 4], Operations: ['45-41=4'] Exploring Operation: 40/5=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 78:[4, 8] Operation: 40/5=8 Exploring Operation: 40-4=36, Resulting Numbers: [5, 36] Generated Node #0,1,1: 78:[5, 36] Operation: 40-4=36 Exploring Operation: 5-4=1, Resulting Numbers: [40, 1] Generated Node #0,1,2: 78:[40, 1] Operation: 5-4=1 Moving to Node #0,0 Current State: 78:[5, 41, 5], Operations: ['45-40=5'] Exploring Operation: 5*5=25, Resulting Numbers: [41, 25] Generated Node #0,0,0: 78:[41, 25] Operation: 5*5=25 Exploring Operation: 41-5=36, Resulting Numbers: [5, 36] Generated Node #0,0,1: 78:[5, 36] Operation: 41-5=36 Exploring Operation: 5/5=1, Resulting Numbers: [41, 1] Generated Node #0,0,2: 78:[41, 1] Operation: 5/5=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[41, 25], Operations: ['45-40=5', '5*5=25'] Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[41, 1], Operations: ['45-40=5', '5/5=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[5, 36], Operations: ['45-40=5', '41-5=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,78 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: 78:[40, 41, 40], Operations: ['45-5=40'] Exploring Operation: 41-40=1, Resulting Numbers: [40, 1] Generated Node #0,2,0: 78:[40, 1] Operation: 41-40=1 Exploring Operation: 41-40=1, Resulting Numbers: [40, 1] Generated Node #0,2,1: 78:[40, 1] Operation: 41-40=1 Exploring Operation: 40/40=1, Resulting Numbers: [41, 1] Generated Node #0,2,2: 78:[41, 1] Operation: 40/40=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[40, 1], Operations: ['45-5=40', '41-40=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[40, 1], Operations: ['45-5=40', '41-40=1'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[41, 1], Operations: ['45-5=40', '40/40=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 78:[40, 1], Operations: ['45-41=4', '5-4=1'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[4, 8], Operations: ['45-41=4', '40/5=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[5, 36], Operations: ['45-41=4', '40-4=36'] Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,78 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 92, 40, 10, 24 ]
40
[ "92*10=920", "40*24=960", "960-920=40" ]
Current State: 40:[92, 40, 10, 24], Operations: [] Exploring Operation: 92*10=920, Resulting Numbers: [40, 24, 920] Generated Node #2: [40, 24, 920] from Operation: 92*10=920 Current State: 40:[40, 24, 920], Operations: ['92*10=920'] Exploring Operation: 40*24=960, Resulting Numbers: [920, 960] Generated Node #3: [920, 960] from Operation: 40*24=960 Current State: 40:[920, 960], Operations: ['92*10=920', '40*24=960'] Exploring Operation: 960-920=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[92, 40, 10, 24], Operations: [] Exploring Operation: 92-10=82, Resulting Numbers: [40, 24, 82] Generated Node #0,0: 40:[40, 24, 82] Operation: 92-10=82 Exploring Operation: 92-24=68, Resulting Numbers: [40, 10, 68] Generated Node #0,1: 40:[40, 10, 68] Operation: 92-24=68 Exploring Operation: 92-40=52, Resulting Numbers: [10, 24, 52] Generated Node #0,2: 40:[10, 24, 52] Operation: 92-40=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[10, 24, 52], Operations: ['92-40=52'] Exploring Operation: 52-10=42, Resulting Numbers: [24, 42] Generated Node #0,2,0: 40:[24, 42] Operation: 52-10=42 Exploring Operation: 52-24=28, Resulting Numbers: [10, 28] Generated Node #0,2,1: 40:[10, 28] Operation: 52-24=28 Exploring Operation: 24-10=14, Resulting Numbers: [52, 14] Generated Node #0,2,2: 40:[52, 14] Operation: 24-10=14 Moving to Node #0,2,0 Current State: 40:[24, 42], Operations: ['92-40=52', '52-10=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,40 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[10, 28], Operations: ['92-40=52', '52-24=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[52, 14], Operations: ['92-40=52', '24-10=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,40 unequal: No Solution No 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: 40:[40, 10, 68], Operations: ['92-24=68'] Exploring Operation: 68-10=58, Resulting Numbers: [40, 58] Generated Node #0,1,0: 40:[40, 58] Operation: 68-10=58 Exploring Operation: 68-40=28, Resulting Numbers: [10, 28] Generated Node #0,1,1: 40:[10, 28] Operation: 68-40=28 Exploring Operation: 40/10=4, Resulting Numbers: [68, 4] Generated Node #0,1,2: 40:[68, 4] Operation: 40/10=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[10, 28], Operations: ['92-24=68', '68-40=28'] Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,40 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,40 unequal: No Solution No 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: 40:[40, 58], Operations: ['92-24=68', '68-10=58'] Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,40 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,40 unequal: No Solution No 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: 40:[68, 4], Operations: ['92-24=68', '40/10=4'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,40 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: 40:[40, 24, 82], Operations: ['92-10=82'] Exploring Operation: 82-24=58, Resulting Numbers: [40, 58] Generated Node #0,0,0: 40:[40, 58] Operation: 82-24=58 Exploring Operation: 82-40=42, Resulting Numbers: [24, 42] Generated Node #0,0,1: 40:[24, 42] Operation: 82-40=42 Exploring Operation: 40-24=16, Resulting Numbers: [82, 16] Generated Node #0,0,2: 40:[82, 16] Operation: 40-24=16 Moving to Node #0,0,1 Current State: 40:[24, 42], Operations: ['92-10=82', '82-40=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,40 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[40, 58], Operations: ['92-10=82', '82-24=58'] Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,40 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[82, 16], Operations: ['92-10=82', '40-24=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,40 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,40 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
[ 38, 93, 8, 19 ]
97
[ "93-38=55", "8*19=152", "152-55=97" ]
Current State: 97:[38, 93, 8, 19], Operations: [] Exploring Operation: 93-38=55, Resulting Numbers: [8, 19, 55] Generated Node #2: [8, 19, 55] from Operation: 93-38=55 Current State: 97:[8, 19, 55], Operations: ['93-38=55'] Exploring Operation: 8*19=152, Resulting Numbers: [55, 152] Generated Node #3: [55, 152] from Operation: 8*19=152 Current State: 97:[55, 152], Operations: ['93-38=55', '8*19=152'] Exploring Operation: 152-55=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[38, 93, 8, 19], Operations: [] Exploring Operation: 38+8=46, Resulting Numbers: [93, 19, 46] Generated Node #0,0: 97:[93, 19, 46] Operation: 38+8=46 Exploring Operation: 8*19=152, Resulting Numbers: [38, 93, 152] Generated Node #0,1: 97:[38, 93, 152] Operation: 8*19=152 Exploring Operation: 38+19=57, Resulting Numbers: [93, 8, 57] Generated Node #0,2: 97:[93, 8, 57] Operation: 38+19=57 Moving to Node #0,1 Current State: 97:[38, 93, 152], Operations: ['8*19=152'] Exploring Operation: 93-38=55, Resulting Numbers: [152, 55] Generated Node #0,1,0: 97:[152, 55] Operation: 93-38=55 Exploring Operation: 38+93=131, Resulting Numbers: [152, 131] Generated Node #0,1,1: 97:[152, 131] Operation: 38+93=131 Exploring Operation: 152-38=114, Resulting Numbers: [93, 114] Generated Node #0,1,2: 97:[93, 114] Operation: 152-38=114 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[93, 114], Operations: ['8*19=152', '152-38=114'] Exploring Operation: 114-93=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 93+114=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 93*114=10602, Resulting Numbers: [10602] 10602,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[152, 131], Operations: ['8*19=152', '38+93=131'] Exploring Operation: 152*131=19912, Resulting Numbers: [19912] 19912,97 unequal: No Solution Exploring Operation: 152-131=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 152+131=283, Resulting Numbers: [283] 283,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[152, 55], Operations: ['8*19=152', '93-38=55'] Exploring Operation: 152-55=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[38, 93, 8, 19], Operations: [] Exploring Operation: 8*19=152, Resulting Numbers: [38, 93, 152] Generated Node #0,1: 97:[38, 93, 152] Operation: 8*19=152 Moving to Node #0,1 Current State: 97:[38, 93, 152], Operations: ['8*19=152'] Exploring Operation: 93-38=55, Resulting Numbers: [152, 55] Generated Node #0,1,0: 97:[152, 55] Operation: 93-38=55 Moving to Node #0,1,0 Current State: 97:[152, 55], Operations: ['8*19=152', '93-38=55'] Exploring Operation: 152-55=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 71, 20, 8, 85 ]
26
[ "71-20=51", "85-8=77", "77-51=26" ]
Current State: 26:[71, 20, 8, 85], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [8, 85, 51] Generated Node #2: [8, 85, 51] from Operation: 71-20=51 Current State: 26:[8, 85, 51], Operations: ['71-20=51'] Exploring Operation: 85-8=77, Resulting Numbers: [51, 77] Generated Node #3: [51, 77] from Operation: 85-8=77 Current State: 26:[51, 77], Operations: ['71-20=51', '85-8=77'] Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[71, 20, 8, 85], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [8, 85, 51] Generated Node #0,0: 26:[8, 85, 51] Operation: 71-20=51 Exploring Operation: 85-71=14, Resulting Numbers: [20, 8, 14] Generated Node #0,1: 26:[20, 8, 14] Operation: 85-71=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[20, 8, 14], Operations: ['85-71=14'] Exploring Operation: 20+8=28, Resulting Numbers: [14, 28] Generated Node #0,1,0: 26:[14, 28] Operation: 20+8=28 Exploring Operation: 20-8=12, Resulting Numbers: [14, 12] Generated Node #0,1,1: 26:[14, 12] Operation: 20-8=12 Moving to Node #0,1,1 Current State: 26:[14, 12], Operations: ['85-71=14', '20-8=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[71, 20, 8, 85], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [20, 8, 14] Generated Node #0,1: 26:[20, 8, 14] Operation: 85-71=14 Moving to Node #0,1 Current State: 26:[20, 8, 14], Operations: ['85-71=14'] Exploring Operation: 20-8=12, Resulting Numbers: [14, 12] Generated Node #0,1,1: 26:[14, 12] Operation: 20-8=12 Moving to Node #0,1,1 Current State: 26:[14, 12], Operations: ['85-71=14', '20-8=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 99, 31, 4, 70 ]
45
[ "99+70=169", "31*4=124", "169-124=45" ]
Current State: 45:[99, 31, 4, 70], Operations: [] Exploring Operation: 99+70=169, Resulting Numbers: [31, 4, 169] Generated Node #2: [31, 4, 169] from Operation: 99+70=169 Current State: 45:[31, 4, 169], Operations: ['99+70=169'] Exploring Operation: 31*4=124, Resulting Numbers: [169, 124] Generated Node #3: [169, 124] from Operation: 31*4=124 Current State: 45:[169, 124], Operations: ['99+70=169', '31*4=124'] Exploring Operation: 169-124=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[99, 31, 4, 70], Operations: [] Exploring Operation: 99-31=68, Resulting Numbers: [4, 70, 68] Generated Node #0,0: 45:[4, 70, 68] Operation: 99-31=68 Exploring Operation: 99-70=29, Resulting Numbers: [31, 4, 29] Generated Node #0,1: 45:[31, 4, 29] Operation: 99-70=29 Moving to Node #0,1 Current State: 45:[31, 4, 29], Operations: ['99-70=29'] Exploring Operation: 31-29=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 45:[4, 2] Operation: 31-29=2 Exploring Operation: 31+29=60, Resulting Numbers: [4, 60] Generated Node #0,1,1: 45:[4, 60] Operation: 31+29=60 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[4, 2], Operations: ['99-70=29', '31-29=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[4, 60], Operations: ['99-70=29', '31+29=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 45:[4, 70, 68], Operations: ['99-31=68'] Exploring Operation: 70-68=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 45:[4, 2] Operation: 70-68=2 Exploring Operation: 68/4=17, Resulting Numbers: [70, 17] Generated Node #0,0,1: 45:[70, 17] Operation: 68/4=17 Moving to Node #0,0,0 Current State: 45:[4, 2], Operations: ['99-31=68', '70-68=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[70, 17], Operations: ['99-31=68', '68/4=17'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,45 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 74, 3, 78, 39 ]
43
[ "78-39=39", "3*39=117", "117-74=43" ]
Current State: 43:[74, 3, 78, 39], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [74, 3, 39] Generated Node #2: [74, 3, 39] from Operation: 78-39=39 Current State: 43:[74, 3, 39], Operations: ['78-39=39'] Exploring Operation: 3*39=117, Resulting Numbers: [74, 117] Generated Node #3: [74, 117] from Operation: 3*39=117 Current State: 43:[74, 117], Operations: ['78-39=39', '3*39=117'] Exploring Operation: 117-74=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[74, 3, 78, 39], Operations: [] Exploring Operation: 74+3=77, Resulting Numbers: [78, 39, 77] Generated Node #0,0: 43:[78, 39, 77] Operation: 74+3=77 Exploring Operation: 78-3=75, Resulting Numbers: [74, 39, 75] Generated Node #0,1: 43:[74, 39, 75] Operation: 78-3=75 Exploring Operation: 74-3=71, Resulting Numbers: [78, 39, 71] Generated Node #0,2: 43:[78, 39, 71] Operation: 74-3=71 Exploring Operation: 3+39=42, Resulting Numbers: [74, 78, 42] Generated Node #0,3: 43:[74, 78, 42] Operation: 3+39=42 Exploring Operation: 78/3=26, Resulting Numbers: [74, 39, 26] Generated Node #0,4: 43:[74, 39, 26] Operation: 78/3=26 Moving to Node #0,4 Current State: 43:[74, 39, 26], Operations: ['78/3=26'] Exploring Operation: 39-26=13, Resulting Numbers: [74, 13] Generated Node #0,4,0: 43:[74, 13] Operation: 39-26=13 Exploring Operation: 74-39=35, Resulting Numbers: [26, 35] Generated Node #0,4,1: 43:[26, 35] Operation: 74-39=35 Exploring Operation: 74-26=48, Resulting Numbers: [39, 48] Generated Node #0,4,2: 43:[39, 48] Operation: 74-26=48 Exploring Operation: 74+26=100, Resulting Numbers: [39, 100] Generated Node #0,4,3: 43:[39, 100] Operation: 74+26=100 Exploring Operation: 39+26=65, Resulting Numbers: [74, 65] Generated Node #0,4,4: 43:[74, 65] Operation: 39+26=65 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 43:[39, 48], Operations: ['78/3=26', '74-26=48'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 43:[26, 35], Operations: ['78/3=26', '74-39=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,43 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 43:[74, 65], Operations: ['78/3=26', '39+26=65'] Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 74*65=4810, Resulting Numbers: [4810] 4810,43 unequal: No Solution Exploring Operation: 74+65=139, Resulting Numbers: [139] 139,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 43:[74, 13], Operations: ['78/3=26', '39-26=13'] Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,43 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 43:[39, 100], Operations: ['78/3=26', '74+26=100'] Exploring Operation: 39+100=139, Resulting Numbers: [139] 139,43 unequal: No Solution Exploring Operation: 100-39=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 39*100=3900, Resulting Numbers: [3900] 3900,43 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: 43:[78, 39, 71], Operations: ['74-3=71'] Exploring Operation: 78/39=2, Resulting Numbers: [71, 2] Generated Node #0,2,0: 43:[71, 2] Operation: 78/39=2 Exploring Operation: 78+39=117, Resulting Numbers: [71, 117] Generated Node #0,2,1: 43:[71, 117] Operation: 78+39=117 Exploring Operation: 78-39=39, Resulting Numbers: [71, 39] Generated Node #0,2,2: 43:[71, 39] Operation: 78-39=39 Exploring Operation: 71-39=32, Resulting Numbers: [78, 32] Generated Node #0,2,3: 43:[78, 32] Operation: 71-39=32 Exploring Operation: 78-71=7, Resulting Numbers: [39, 7] Generated Node #0,2,4: 43:[39, 7] Operation: 78-71=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[71, 39], Operations: ['74-3=71', '78-39=39'] Exploring Operation: 71*39=2769, Resulting Numbers: [2769] 2769,43 unequal: No Solution Exploring Operation: 71+39=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 43:[39, 7], Operations: ['74-3=71', '78-71=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 43:[78, 32], Operations: ['74-3=71', '71-39=32'] Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,43 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[71, 2], Operations: ['74-3=71', '78/39=2'] Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,43 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,43 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[71, 117], Operations: ['74-3=71', '78+39=117'] Exploring Operation: 71+117=188, Resulting Numbers: [188] 188,43 unequal: No Solution Exploring Operation: 71*117=8307, Resulting Numbers: [8307] 8307,43 unequal: No Solution Exploring Operation: 117-71=46, Resulting Numbers: [46] 46,43 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: 43:[74, 39, 75], Operations: ['78-3=75'] Exploring Operation: 74-39=35, Resulting Numbers: [75, 35] Generated Node #0,1,0: 43:[75, 35] Operation: 74-39=35 Exploring Operation: 74+39=113, Resulting Numbers: [75, 113] Generated Node #0,1,1: 43:[75, 113] Operation: 74+39=113 Exploring Operation: 75-39=36, Resulting Numbers: [74, 36] Generated Node #0,1,2: 43:[74, 36] Operation: 75-39=36 Exploring Operation: 75-74=1, Resulting Numbers: [39, 1] Generated Node #0,1,3: 43:[39, 1] Operation: 75-74=1 Exploring Operation: 39+75=114, Resulting Numbers: [74, 114] Generated Node #0,1,4: 43:[74, 114] Operation: 39+75=114 Moving to Node #0,3 Current State: 43:[74, 78, 42], Operations: ['3+39=42'] Exploring Operation: 74-42=32, Resulting Numbers: [78, 32] Generated Node #0,3,0: 43:[78, 32] Operation: 74-42=32 Exploring Operation: 74+42=116, Resulting Numbers: [78, 116] Generated Node #0,3,1: 43:[78, 116] Operation: 74+42=116 Exploring Operation: 78-74=4, Resulting Numbers: [42, 4] Generated Node #0,3,2: 43:[42, 4] Operation: 78-74=4 Exploring Operation: 78-42=36, Resulting Numbers: [74, 36] Generated Node #0,3,3: 43:[74, 36] Operation: 78-42=36 Exploring Operation: 78+42=120, Resulting Numbers: [74, 120] Generated Node #0,3,4: 43:[74, 120] Operation: 78+42=120 Moving to Node #0,0 Current State: 43:[78, 39, 77], Operations: ['74+3=77'] Exploring Operation: 78+39=117, Resulting Numbers: [77, 117] Generated Node #0,0,0: 43:[77, 117] Operation: 78+39=117 Exploring Operation: 77-39=38, Resulting Numbers: [78, 38] Generated Node #0,0,1: 43:[78, 38] Operation: 77-39=38 Exploring Operation: 78-77=1, Resulting Numbers: [39, 1] Generated Node #0,0,2: 43:[39, 1] Operation: 78-77=1 Exploring Operation: 78/39=2, Resulting Numbers: [77, 2] Generated Node #0,0,3: 43:[77, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [77, 39] Generated Node #0,0,4: 43:[77, 39] Operation: 78-39=39 Moving to Node #0,1,2 Current State: 43:[74, 36], Operations: ['78-3=75', '75-39=36'] Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,43 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[74, 36], Operations: ['3+39=42', '78-42=36'] Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[77, 39], Operations: ['74+3=77', '78-39=39'] Exploring Operation: 77*39=3003, Resulting Numbers: [3003] 3003,43 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[42, 4], Operations: ['3+39=42', '78-74=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[78, 38], Operations: ['74+3=77', '77-39=38'] Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 78+38=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 78*38=2964, Resulting Numbers: [2964] 2964,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[75, 35], Operations: ['78-3=75', '74-39=35'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[39, 1], Operations: ['78-3=75', '75-74=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[39, 1], Operations: ['74+3=77', '78-77=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[78, 32], Operations: ['3+39=42', '74-42=32'] Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[77, 2], Operations: ['74+3=77', '78/39=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,43 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[74, 114], Operations: ['78-3=75', '39+75=114'] Exploring Operation: 74+114=188, Resulting Numbers: [188] 188,43 unequal: No Solution Exploring Operation: 74*114=8436, Resulting Numbers: [8436] 8436,43 unequal: No Solution Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[75, 113], Operations: ['78-3=75', '74+39=113'] Exploring Operation: 75+113=188, Resulting Numbers: [188] 188,43 unequal: No Solution Exploring Operation: 75*113=8475, Resulting Numbers: [8475] 8475,43 unequal: No Solution Exploring Operation: 113-75=38, Resulting Numbers: [38] 38,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[74, 120], Operations: ['3+39=42', '78+42=120'] Exploring Operation: 120-74=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 74*120=8880, Resulting Numbers: [8880] 8880,43 unequal: No Solution Exploring Operation: 74+120=194, Resulting Numbers: [194] 194,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[78, 116], Operations: ['3+39=42', '74+42=116'] Exploring Operation: 78+116=194, Resulting Numbers: [194] 194,43 unequal: No Solution Exploring Operation: 116-78=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 78*116=9048, Resulting Numbers: [9048] 9048,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[77, 117], Operations: ['74+3=77', '78+39=117'] Exploring Operation: 77+117=194, Resulting Numbers: [194] 194,43 unequal: No Solution Exploring Operation: 117-77=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 77*117=9009, Resulting Numbers: [9009] 9009,43 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 14, 48, 13 ]
81
[ "48-14=34", "2*34=68", "13+68=81" ]
Current State: 81:[2, 14, 48, 13], Operations: [] Exploring Operation: 48-14=34, Resulting Numbers: [2, 13, 34] Generated Node #2: [2, 13, 34] from Operation: 48-14=34 Current State: 81:[2, 13, 34], Operations: ['48-14=34'] Exploring Operation: 2*34=68, Resulting Numbers: [13, 68] Generated Node #3: [13, 68] from Operation: 2*34=68 Current State: 81:[13, 68], Operations: ['48-14=34', '2*34=68'] Exploring Operation: 13+68=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 14, 48, 13], Operations: [] Exploring Operation: 48/2=24, Resulting Numbers: [14, 13, 24] Generated Node #0,0: 81:[14, 13, 24] Operation: 48/2=24 Moving to Node #0,0 Current State: 81:[14, 13, 24], Operations: ['48/2=24'] Exploring Operation: 14+13=27, Resulting Numbers: [24, 27] Generated Node #0,0,0: 81:[24, 27] Operation: 14+13=27 Moving to Node #0,0,0 Current State: 81:[24, 27], Operations: ['48/2=24', '14+13=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,81 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 89, 31, 83, 57 ]
82
[ "89-31=58", "83+57=140", "140-58=82" ]
Current State: 82:[89, 31, 83, 57], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [83, 57, 58] Generated Node #2: [83, 57, 58] from Operation: 89-31=58 Current State: 82:[83, 57, 58], Operations: ['89-31=58'] Exploring Operation: 83+57=140, Resulting Numbers: [58, 140] Generated Node #3: [58, 140] from Operation: 83+57=140 Current State: 82:[58, 140], Operations: ['89-31=58', '83+57=140'] Exploring Operation: 140-58=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[89, 31, 83, 57], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [31, 83, 32] Generated Node #0,0: 82:[31, 83, 32] Operation: 89-57=32 Exploring Operation: 57-31=26, Resulting Numbers: [89, 83, 26] Generated Node #0,1: 82:[89, 83, 26] Operation: 57-31=26 Exploring Operation: 89-83=6, Resulting Numbers: [31, 57, 6] Generated Node #0,2: 82:[31, 57, 6] Operation: 89-83=6 Exploring Operation: 31+57=88, Resulting Numbers: [89, 83, 88] Generated Node #0,3: 82:[89, 83, 88] Operation: 31+57=88 Exploring Operation: 83-57=26, Resulting Numbers: [89, 31, 26] Generated Node #0,4: 82:[89, 31, 26] Operation: 83-57=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[89, 83, 88], Operations: ['31+57=88'] Exploring Operation: 89+88=177, Resulting Numbers: [83, 177] Generated Node #0,3,0: 82:[83, 177] Operation: 89+88=177 Exploring Operation: 89-83=6, Resulting Numbers: [88, 6] Generated Node #0,3,1: 82:[88, 6] Operation: 89-83=6 Exploring Operation: 88-83=5, Resulting Numbers: [89, 5] Generated Node #0,3,2: 82:[89, 5] Operation: 88-83=5 Exploring Operation: 89-88=1, Resulting Numbers: [83, 1] Generated Node #0,3,3: 82:[83, 1] Operation: 89-88=1 Exploring Operation: 89+83=172, Resulting Numbers: [88, 172] Generated Node #0,3,4: 82:[88, 172] Operation: 89+83=172 Moving to Node #0,3,3 Current State: 82:[83, 1], Operations: ['31+57=88', '89-88=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,82 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[89, 31, 83, 57], Operations: [] Exploring Operation: 31+57=88, Resulting Numbers: [89, 83, 88] Generated Node #0,3: 82:[89, 83, 88] Operation: 31+57=88 Moving to Node #0,3 Current State: 82:[89, 83, 88], Operations: ['31+57=88'] Exploring Operation: 89-88=1, Resulting Numbers: [83, 1] Generated Node #0,3,3: 82:[83, 1] Operation: 89-88=1 Moving to Node #0,3,3 Current State: 82:[83, 1], Operations: ['31+57=88', '89-88=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 39, 83, 22, 91 ]
89
[ "83-39=44", "44/22=2", "91-2=89" ]
Current State: 89:[39, 83, 22, 91], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [22, 91, 44] Generated Node #2: [22, 91, 44] from Operation: 83-39=44 Current State: 89:[22, 91, 44], Operations: ['83-39=44'] Exploring Operation: 44/22=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 44/22=2 Current State: 89:[91, 2], Operations: ['83-39=44', '44/22=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[39, 83, 22, 91], Operations: [] Exploring Operation: 39+22=61, Resulting Numbers: [83, 91, 61] Generated Node #0,0: 89:[83, 91, 61] Operation: 39+22=61 Moving to Node #0,0 Current State: 89:[83, 91, 61], Operations: ['39+22=61'] Exploring Operation: 83+61=144, Resulting Numbers: [91, 144] Generated Node #0,0,0: 89:[91, 144] Operation: 83+61=144 Moving to Node #0,0,0 Current State: 89:[91, 144], Operations: ['39+22=61', '83+61=144'] Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,89 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 32, 5, 86, 20 ]
69
[ "32+5=37", "86+20=106", "106-37=69" ]
Current State: 69:[32, 5, 86, 20], Operations: [] Exploring Operation: 32+5=37, Resulting Numbers: [86, 20, 37] Generated Node #2: [86, 20, 37] from Operation: 32+5=37 Current State: 69:[86, 20, 37], Operations: ['32+5=37'] Exploring Operation: 86+20=106, Resulting Numbers: [37, 106] Generated Node #3: [37, 106] from Operation: 86+20=106 Current State: 69:[37, 106], Operations: ['32+5=37', '86+20=106'] Exploring Operation: 106-37=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[32, 5, 86, 20], Operations: [] Exploring Operation: 86-20=66, Resulting Numbers: [32, 5, 66] Generated Node #0,0: 69:[32, 5, 66] Operation: 86-20=66 Moving to Node #0,0 Current State: 69:[32, 5, 66], Operations: ['86-20=66'] Exploring Operation: 32-5=27, Resulting Numbers: [66, 27] Generated Node #0,0,0: 69:[66, 27] Operation: 32-5=27 Moving to Node #0,0,0 Current State: 69:[66, 27], Operations: ['86-20=66', '32-5=27'] Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,69 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 62, 69, 25, 40 ]
22
[ "69-62=7", "40-25=15", "7+15=22" ]
Current State: 22:[62, 69, 25, 40], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [25, 40, 7] Generated Node #2: [25, 40, 7] from Operation: 69-62=7 Current State: 22:[25, 40, 7], Operations: ['69-62=7'] Exploring Operation: 40-25=15, Resulting Numbers: [7, 15] Generated Node #3: [7, 15] from Operation: 40-25=15 Current State: 22:[7, 15], Operations: ['69-62=7', '40-25=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[62, 69, 25, 40], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [25, 40, 7] Generated Node #0,0: 22:[25, 40, 7] Operation: 69-62=7 Exploring Operation: 62-40=22, Resulting Numbers: [69, 25, 22] Generated Node #0,1: 22:[69, 25, 22] Operation: 62-40=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[25, 40, 7], Operations: ['69-62=7'] Exploring Operation: 40-25=15, Resulting Numbers: [7, 15] Generated Node #0,0,0: 22:[7, 15] Operation: 40-25=15 Exploring Operation: 40-7=33, Resulting Numbers: [25, 33] Generated Node #0,0,1: 22:[25, 33] Operation: 40-7=33 Moving to Node #0,0,0 Current State: 22:[7, 15], Operations: ['69-62=7', '40-25=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[62, 69, 25, 40], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [25, 40, 7] Generated Node #0,0: 22:[25, 40, 7] Operation: 69-62=7 Moving to Node #0,0 Current State: 22:[25, 40, 7], Operations: ['69-62=7'] Exploring Operation: 40-25=15, Resulting Numbers: [7, 15] Generated Node #0,0,0: 22:[7, 15] Operation: 40-25=15 Moving to Node #0,0,0 Current State: 22:[7, 15], Operations: ['69-62=7', '40-25=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 14, 19, 73, 30 ]
70
[ "14+19=33", "73+30=103", "103-33=70" ]
Current State: 70:[14, 19, 73, 30], Operations: [] Exploring Operation: 14+19=33, Resulting Numbers: [73, 30, 33] Generated Node #2: [73, 30, 33] from Operation: 14+19=33 Current State: 70:[73, 30, 33], Operations: ['14+19=33'] Exploring Operation: 73+30=103, Resulting Numbers: [33, 103] Generated Node #3: [33, 103] from Operation: 73+30=103 Current State: 70:[33, 103], Operations: ['14+19=33', '73+30=103'] Exploring Operation: 103-33=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[14, 19, 73, 30], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [73, 30, 5] Generated Node #0,0: 70:[73, 30, 5] Operation: 19-14=5 Exploring Operation: 30-19=11, Resulting Numbers: [14, 73, 11] Generated Node #0,1: 70:[14, 73, 11] Operation: 30-19=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[14, 73, 11], Operations: ['30-19=11'] Exploring Operation: 14-11=3, Resulting Numbers: [73, 3] Generated Node #0,1,0: 70:[73, 3] Operation: 14-11=3 Exploring Operation: 73-11=62, Resulting Numbers: [14, 62] Generated Node #0,1,1: 70:[14, 62] Operation: 73-11=62 Moving to Node #0,1,0 Current State: 70:[73, 3], Operations: ['30-19=11', '14-11=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[14, 19, 73, 30], Operations: [] Exploring Operation: 30-19=11, Resulting Numbers: [14, 73, 11] Generated Node #0,1: 70:[14, 73, 11] Operation: 30-19=11 Moving to Node #0,1 Current State: 70:[14, 73, 11], Operations: ['30-19=11'] Exploring Operation: 14-11=3, Resulting Numbers: [73, 3] Generated Node #0,1,0: 70:[73, 3] Operation: 14-11=3 Moving to Node #0,1,0 Current State: 70:[73, 3], Operations: ['30-19=11', '14-11=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 55, 24, 60, 22 ]
69
[ "55-24=31", "60-22=38", "31+38=69" ]
Current State: 69:[55, 24, 60, 22], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [60, 22, 31] Generated Node #2: [60, 22, 31] from Operation: 55-24=31 Current State: 69:[60, 22, 31], Operations: ['55-24=31'] Exploring Operation: 60-22=38, Resulting Numbers: [31, 38] Generated Node #3: [31, 38] from Operation: 60-22=38 Current State: 69:[31, 38], Operations: ['55-24=31', '60-22=38'] Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[55, 24, 60, 22], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [60, 22, 31] Generated Node #0,0: 69:[60, 22, 31] Operation: 55-24=31 Exploring Operation: 60-55=5, Resulting Numbers: [24, 22, 5] Generated Node #0,1: 69:[24, 22, 5] Operation: 60-55=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[24, 22, 5], Operations: ['60-55=5'] Exploring Operation: 24-22=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 69:[5, 2] Operation: 24-22=2 Exploring Operation: 24-5=19, Resulting Numbers: [22, 19] Generated Node #0,1,1: 69:[22, 19] Operation: 24-5=19 Moving to Node #0,1,0 Current State: 69:[5, 2], Operations: ['60-55=5', '24-22=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[22, 19], Operations: ['60-55=5', '24-5=19'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,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 Current State: 69:[60, 22, 31], Operations: ['55-24=31'] Exploring Operation: 60-31=29, Resulting Numbers: [22, 29] Generated Node #0,0,0: 69:[22, 29] Operation: 60-31=29 Exploring Operation: 31-22=9, Resulting Numbers: [60, 9] Generated Node #0,0,1: 69:[60, 9] Operation: 31-22=9 Moving to Node #0,0,0 Current State: 69:[22, 29], Operations: ['55-24=31', '60-31=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[60, 9], Operations: ['55-24=31', '31-22=9'] Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[55, 24, 60, 22], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [60, 22, 31] Generated Node #0,0: 69:[60, 22, 31] Operation: 55-24=31 Moving to Node #0,0 Current State: 69:[60, 22, 31], Operations: ['55-24=31'] Exploring Operation: 31-22=9, Resulting Numbers: [60, 9] Generated Node #0,0,1: 69:[60, 9] Operation: 31-22=9 Moving to Node #0,0,1 Current State: 69:[60, 9], Operations: ['55-24=31', '31-22=9'] Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 78, 64, 18, 67 ]
57
[ "78+64=142", "18+67=85", "142-85=57" ]
Current State: 57:[78, 64, 18, 67], Operations: [] Exploring Operation: 78+64=142, Resulting Numbers: [18, 67, 142] Generated Node #2: [18, 67, 142] from Operation: 78+64=142 Current State: 57:[18, 67, 142], Operations: ['78+64=142'] Exploring Operation: 18+67=85, Resulting Numbers: [142, 85] Generated Node #3: [142, 85] from Operation: 18+67=85 Current State: 57:[142, 85], Operations: ['78+64=142', '18+67=85'] Exploring Operation: 142-85=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[78, 64, 18, 67], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [18, 67, 14] Generated Node #0,0: 57:[18, 67, 14] Operation: 78-64=14 Moving to Node #0,0 Current State: 57:[18, 67, 14], Operations: ['78-64=14'] Exploring Operation: 67-14=53, Resulting Numbers: [18, 53] Generated Node #0,0,0: 57:[18, 53] Operation: 67-14=53 Moving to Node #0,0,0 Current State: 57:[18, 53], Operations: ['78-64=14', '67-14=53'] Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,57 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 12, 3, 50, 45 ]
57
[ "50-45=5", "12*5=60", "60-3=57" ]
Current State: 57:[12, 3, 50, 45], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [12, 3, 5] Generated Node #2: [12, 3, 5] from Operation: 50-45=5 Current State: 57:[12, 3, 5], Operations: ['50-45=5'] Exploring Operation: 12*5=60, Resulting Numbers: [3, 60] Generated Node #3: [3, 60] from Operation: 12*5=60 Current State: 57:[3, 60], Operations: ['50-45=5', '12*5=60'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[12, 3, 50, 45], Operations: [] Exploring Operation: 12+45=57, Resulting Numbers: [3, 50, 57] Generated Node #0,0: 57:[3, 50, 57] Operation: 12+45=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[3, 50, 57], Operations: ['12+45=57'] Exploring Operation: 3+50=53, Resulting Numbers: [57, 53] Generated Node #0,0,0: 57:[57, 53] Operation: 3+50=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[57, 53], Operations: ['12+45=57', '3+50=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,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_1
sum_heuristic
[ 93, 8, 91, 17 ]
42
[ "93-91=2", "17*2=34", "8+34=42" ]
Current State: 42:[93, 8, 91, 17], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [8, 17, 2] Generated Node #2: [8, 17, 2] from Operation: 93-91=2 Current State: 42:[8, 17, 2], Operations: ['93-91=2'] Exploring Operation: 17*2=34, Resulting Numbers: [8, 34] Generated Node #3: [8, 34] from Operation: 17*2=34 Current State: 42:[8, 34], Operations: ['93-91=2', '17*2=34'] Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[93, 8, 91, 17], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [8, 17, 2] Generated Node #0,0: 42:[8, 17, 2] Operation: 93-91=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[8, 17, 2], Operations: ['93-91=2'] Exploring Operation: 17-8=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 42:[2, 9] Operation: 17-8=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[2, 9], Operations: ['93-91=2', '17-8=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 34, 24, 70, 45 ]
52
[ "34-24=10", "70/10=7", "45+7=52" ]
Current State: 52:[34, 24, 70, 45], Operations: [] Exploring Operation: 34-24=10, Resulting Numbers: [70, 45, 10] Generated Node #2: [70, 45, 10] from Operation: 34-24=10 Current State: 52:[70, 45, 10], Operations: ['34-24=10'] Exploring Operation: 70/10=7, Resulting Numbers: [45, 7] Generated Node #3: [45, 7] from Operation: 70/10=7 Current State: 52:[45, 7], Operations: ['34-24=10', '70/10=7'] Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[34, 24, 70, 45], Operations: [] Exploring Operation: 70-24=46, Resulting Numbers: [34, 45, 46] Generated Node #0,0: 52:[34, 45, 46] Operation: 70-24=46 Exploring Operation: 70-34=36, Resulting Numbers: [24, 45, 36] Generated Node #0,1: 52:[24, 45, 36] Operation: 70-34=36 Exploring Operation: 70-45=25, Resulting Numbers: [34, 24, 25] Generated Node #0,2: 52:[34, 24, 25] Operation: 70-45=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[34, 24, 25], Operations: ['70-45=25'] Exploring Operation: 34+24=58, Resulting Numbers: [25, 58] Generated Node #0,2,0: 52:[25, 58] Operation: 34+24=58 Exploring Operation: 34-25=9, Resulting Numbers: [24, 9] Generated Node #0,2,1: 52:[24, 9] Operation: 34-25=9 Exploring Operation: 34-24=10, Resulting Numbers: [25, 10] Generated Node #0,2,2: 52:[25, 10] Operation: 34-24=10 Moving to Node #0,2,2 Current State: 52:[25, 10], Operations: ['70-45=25', '34-24=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,52 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[24, 9], Operations: ['70-45=25', '34-25=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,52 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[25, 58], Operations: ['70-45=25', '34+24=58'] Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,52 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,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, 45, 36], Operations: ['70-34=36'] Exploring Operation: 45-24=21, Resulting Numbers: [36, 21] Generated Node #0,1,0: 52:[36, 21] Operation: 45-24=21 Exploring Operation: 36-24=12, Resulting Numbers: [45, 12] Generated Node #0,1,1: 52:[45, 12] Operation: 36-24=12 Exploring Operation: 45-36=9, Resulting Numbers: [24, 9] Generated Node #0,1,2: 52:[24, 9] Operation: 45-36=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[24, 9], Operations: ['70-34=36', '45-36=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,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,1,1 Current State: 52:[45, 12], Operations: ['70-34=36', '36-24=12'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,52 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,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,1,0 Current State: 52:[36, 21], Operations: ['70-34=36', '45-24=21'] Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,52 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[34, 45, 46], Operations: ['70-24=46'] Exploring Operation: 45-34=11, Resulting Numbers: [46, 11] Generated Node #0,0,0: 52:[46, 11] Operation: 45-34=11 Exploring Operation: 46-34=12, Resulting Numbers: [45, 12] Generated Node #0,0,1: 52:[45, 12] Operation: 46-34=12 Exploring Operation: 46-45=1, Resulting Numbers: [34, 1] Generated Node #0,0,2: 52:[34, 1] Operation: 46-45=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[46, 11], Operations: ['70-24=46', '45-34=11'] Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,52 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,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,0,1 Current State: 52:[45, 12], Operations: ['70-24=46', '46-34=12'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,52 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,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,0,2 Current State: 52:[34, 1], Operations: ['70-24=46', '46-45=1'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,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 No solution found.
0
hs_3
sum_heuristic
[ 53, 47, 12, 27 ]
29
[ "53-47=6", "12/6=2", "27+2=29" ]
Current State: 29:[53, 47, 12, 27], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [12, 27, 6] Generated Node #2: [12, 27, 6] from Operation: 53-47=6 Current State: 29:[12, 27, 6], Operations: ['53-47=6'] Exploring Operation: 12/6=2, Resulting Numbers: [27, 2] Generated Node #3: [27, 2] from Operation: 12/6=2 Current State: 29:[27, 2], Operations: ['53-47=6', '12/6=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[53, 47, 12, 27], Operations: [] Exploring Operation: 47-12=35, Resulting Numbers: [53, 27, 35] Generated Node #0,0: 29:[53, 27, 35] Operation: 47-12=35 Exploring Operation: 53-27=26, Resulting Numbers: [47, 12, 26] Generated Node #0,1: 29:[47, 12, 26] Operation: 53-27=26 Exploring Operation: 53-12=41, Resulting Numbers: [47, 27, 41] Generated Node #0,2: 29:[47, 27, 41] Operation: 53-12=41 Exploring Operation: 53-47=6, Resulting Numbers: [12, 27, 6] Generated Node #0,3: 29:[12, 27, 6] Operation: 53-47=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[53, 27, 35], Operations: ['47-12=35'] Exploring Operation: 35-27=8, Resulting Numbers: [53, 8] Generated Node #0,0,0: 29:[53, 8] Operation: 35-27=8 Exploring Operation: 53+27=80, Resulting Numbers: [35, 80] Generated Node #0,0,1: 29:[35, 80] Operation: 53+27=80 Exploring Operation: 53-27=26, Resulting Numbers: [35, 26] Generated Node #0,0,2: 29:[35, 26] Operation: 53-27=26 Exploring Operation: 53-35=18, Resulting Numbers: [27, 18] Generated Node #0,0,3: 29:[27, 18] Operation: 53-35=18 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[35, 26], Operations: ['47-12=35', '53-27=26'] Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,29 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,29 unequal: No Solution No 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: 29:[27, 18], Operations: ['47-12=35', '53-35=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,29 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,29 unequal: No Solution No 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: 29:[53, 8], Operations: ['47-12=35', '35-27=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,29 unequal: No Solution Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,29 unequal: No Solution No 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: 29:[35, 80], Operations: ['47-12=35', '53+27=80'] Exploring Operation: 35*80=2800, Resulting Numbers: [2800] 2800,29 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 35+80=115, Resulting Numbers: [115] 115,29 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: 29:[47, 27, 41], Operations: ['53-12=41'] Exploring Operation: 47-27=20, Resulting Numbers: [41, 20] Generated Node #0,2,0: 29:[41, 20] Operation: 47-27=20 Exploring Operation: 47-41=6, Resulting Numbers: [27, 6] Generated Node #0,2,1: 29:[27, 6] Operation: 47-41=6 Exploring Operation: 47+27=74, Resulting Numbers: [41, 74] Generated Node #0,2,2: 29:[41, 74] Operation: 47+27=74 Exploring Operation: 41-27=14, Resulting Numbers: [47, 14] Generated Node #0,2,3: 29:[47, 14] Operation: 41-27=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[41, 20], Operations: ['53-12=41', '47-27=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,29 unequal: No Solution No 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: 29:[27, 6], Operations: ['53-12=41', '47-41=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,29 unequal: No Solution No 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: 29:[47, 14], Operations: ['53-12=41', '41-27=14'] Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,29 unequal: No Solution No 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: 29:[41, 74], Operations: ['53-12=41', '47+27=74'] Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,29 unequal: No Solution Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,29 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: 29:[47, 12, 26], Operations: ['53-27=26'] Exploring Operation: 47-12=35, Resulting Numbers: [26, 35] Generated Node #0,1,0: 29:[26, 35] Operation: 47-12=35 Exploring Operation: 47+12=59, Resulting Numbers: [26, 59] Generated Node #0,1,1: 29:[26, 59] Operation: 47+12=59 Exploring Operation: 47-26=21, Resulting Numbers: [12, 21] Generated Node #0,1,2: 29:[12, 21] Operation: 47-26=21 Exploring Operation: 12+26=38, Resulting Numbers: [47, 38] Generated Node #0,1,3: 29:[47, 38] Operation: 12+26=38 Moving to Node #0,1,0 Current State: 29:[26, 35], Operations: ['53-27=26', '47-12=35'] Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,29 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[12, 21], Operations: ['53-27=26', '47-26=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,29 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[47, 38], Operations: ['53-27=26', '12+26=38'] Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,29 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[26, 59], Operations: ['53-27=26', '47+12=59'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 26+59=85, Resulting Numbers: [85] 85,29 unequal: No Solution Exploring Operation: 26*59=1534, Resulting Numbers: [1534] 1534,29 unequal: No Solution No 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: 29:[12, 27, 6], Operations: ['53-47=6'] Exploring Operation: 27+6=33, Resulting Numbers: [12, 33] Generated Node #0,3,0: 29:[12, 33] Operation: 27+6=33 Exploring Operation: 27-6=21, Resulting Numbers: [12, 21] Generated Node #0,3,1: 29:[12, 21] Operation: 27-6=21 Exploring Operation: 12-6=6, Resulting Numbers: [27, 6] Generated Node #0,3,2: 29:[27, 6] Operation: 12-6=6 Exploring Operation: 12+6=18, Resulting Numbers: [27, 18] Generated Node #0,3,3: 29:[27, 18] Operation: 12+6=18 Moving to Node #0,3,3 Current State: 29:[27, 18], Operations: ['53-47=6', '12+6=18'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,29 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[12, 33], Operations: ['53-47=6', '27+6=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,29 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[27, 6], Operations: ['53-47=6', '12-6=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[12, 21], Operations: ['53-47=6', '27-6=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,29 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
[ 16, 89, 60, 91 ]
48
[ "89+91=180", "16*180=2880", "2880/60=48" ]
Current State: 48:[16, 89, 60, 91], Operations: [] Exploring Operation: 89+91=180, Resulting Numbers: [16, 60, 180] Generated Node #2: [16, 60, 180] from Operation: 89+91=180 Current State: 48:[16, 60, 180], Operations: ['89+91=180'] Exploring Operation: 16*180=2880, Resulting Numbers: [60, 2880] Generated Node #3: [60, 2880] from Operation: 16*180=2880 Current State: 48:[60, 2880], Operations: ['89+91=180', '16*180=2880'] Exploring Operation: 2880/60=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[16, 89, 60, 91], Operations: [] Exploring Operation: 89-60=29, Resulting Numbers: [16, 91, 29] Generated Node #0,0: 48:[16, 91, 29] Operation: 89-60=29 Exploring Operation: 91-60=31, Resulting Numbers: [16, 89, 31] Generated Node #0,1: 48:[16, 89, 31] Operation: 91-60=31 Exploring Operation: 91-89=2, Resulting Numbers: [16, 60, 2] Generated Node #0,2: 48:[16, 60, 2] Operation: 91-89=2 Exploring Operation: 91-16=75, Resulting Numbers: [89, 60, 75] Generated Node #0,3: 48:[89, 60, 75] Operation: 91-16=75 Exploring Operation: 89-16=73, Resulting Numbers: [60, 91, 73] Generated Node #0,4: 48:[60, 91, 73] Operation: 89-16=73 Moving to Node #0,2 Current State: 48:[16, 60, 2], Operations: ['91-89=2'] Exploring Operation: 60-2=58, Resulting Numbers: [16, 58] Generated Node #0,2,0: 48:[16, 58] Operation: 60-2=58 Exploring Operation: 60/2=30, Resulting Numbers: [16, 30] Generated Node #0,2,1: 48:[16, 30] Operation: 60/2=30 Exploring Operation: 16/2=8, Resulting Numbers: [60, 8] Generated Node #0,2,2: 48:[60, 8] Operation: 16/2=8 Exploring Operation: 60-16=44, Resulting Numbers: [2, 44] Generated Node #0,2,3: 48:[2, 44] Operation: 60-16=44 Exploring Operation: 16+2=18, Resulting Numbers: [60, 18] Generated Node #0,2,4: 48:[60, 18] Operation: 16+2=18 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[2, 44], Operations: ['91-89=2', '60-16=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,48 unequal: No Solution No 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: 48:[16, 30], Operations: ['91-89=2', '60/2=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,48 unequal: No Solution No 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: 48:[16, 58], Operations: ['91-89=2', '60-2=58'] Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,48 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,48 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,48 unequal: No Solution No 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: 48:[60, 8], Operations: ['91-89=2', '16/2=8'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,48 unequal: No Solution No 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: 48:[60, 18], Operations: ['91-89=2', '16+2=18'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,48 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: 48:[16, 89, 31], Operations: ['91-60=31'] Exploring Operation: 31-16=15, Resulting Numbers: [89, 15] Generated Node #0,1,0: 48:[89, 15] Operation: 31-16=15 Exploring Operation: 89-16=73, Resulting Numbers: [31, 73] Generated Node #0,1,1: 48:[31, 73] Operation: 89-16=73 Exploring Operation: 89-31=58, Resulting Numbers: [16, 58] Generated Node #0,1,2: 48:[16, 58] Operation: 89-31=58 Exploring Operation: 16+89=105, Resulting Numbers: [31, 105] Generated Node #0,1,3: 48:[31, 105] Operation: 16+89=105 Exploring Operation: 16+31=47, Resulting Numbers: [89, 47] Generated Node #0,1,4: 48:[89, 47] Operation: 16+31=47 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[16, 58], Operations: ['91-60=31', '89-31=58'] Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,48 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,48 unequal: No Solution No 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: 48:[31, 73], Operations: ['91-60=31', '89-16=73'] Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,48 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,48 unequal: No Solution No 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: 48:[89, 15], Operations: ['91-60=31', '31-16=15'] Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,48 unequal: No Solution Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,48 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,48 unequal: No Solution No 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: 48:[89, 47], Operations: ['91-60=31', '16+31=47'] Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,48 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,48 unequal: No Solution No 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: 48:[31, 105], Operations: ['91-60=31', '16+89=105'] Exploring Operation: 31+105=136, Resulting Numbers: [136] 136,48 unequal: No Solution Exploring Operation: 105-31=74, Resulting Numbers: [74] 74,48 unequal: No Solution Exploring Operation: 31*105=3255, Resulting Numbers: [3255] 3255,48 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: 48:[16, 91, 29], Operations: ['89-60=29'] Exploring Operation: 16+29=45, Resulting Numbers: [91, 45] Generated Node #0,0,0: 48:[91, 45] Operation: 16+29=45 Exploring Operation: 91-29=62, Resulting Numbers: [16, 62] Generated Node #0,0,1: 48:[16, 62] Operation: 91-29=62 Exploring Operation: 16+91=107, Resulting Numbers: [29, 107] Generated Node #0,0,2: 48:[29, 107] Operation: 16+91=107 Exploring Operation: 29-16=13, Resulting Numbers: [91, 13] Generated Node #0,0,3: 48:[91, 13] Operation: 29-16=13 Exploring Operation: 91-16=75, Resulting Numbers: [29, 75] Generated Node #0,0,4: 48:[29, 75] Operation: 91-16=75 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[16, 62], Operations: ['89-60=29', '91-29=62'] Exploring Operation: 16*62=992, Resulting Numbers: [992] 992,48 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 16+62=78, Resulting Numbers: [78] 78,48 unequal: No Solution No 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: 48:[29, 75], Operations: ['89-60=29', '91-16=75'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 29+75=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 29*75=2175, Resulting Numbers: [2175] 2175,48 unequal: No Solution No 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: 48:[91, 13], Operations: ['89-60=29', '29-16=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,48 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,48 unequal: No Solution No 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: 48:[91, 45], Operations: ['89-60=29', '16+29=45'] Exploring Operation: 91*45=4095, Resulting Numbers: [4095] 4095,48 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 91+45=136, Resulting Numbers: [136] 136,48 unequal: No Solution No 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: 48:[29, 107], Operations: ['89-60=29', '16+91=107'] Exploring Operation: 29*107=3103, Resulting Numbers: [3103] 3103,48 unequal: No Solution Exploring Operation: 29+107=136, Resulting Numbers: [136] 136,48 unequal: No Solution Exploring Operation: 107-29=78, Resulting Numbers: [78] 78,48 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: 48:[89, 60, 75], Operations: ['91-16=75'] Exploring Operation: 89+60=149, Resulting Numbers: [75, 149] Generated Node #0,3,0: 48:[75, 149] Operation: 89+60=149 Exploring Operation: 89-60=29, Resulting Numbers: [75, 29] Generated Node #0,3,1: 48:[75, 29] Operation: 89-60=29 Exploring Operation: 75-60=15, Resulting Numbers: [89, 15] Generated Node #0,3,2: 48:[89, 15] Operation: 75-60=15 Exploring Operation: 89+75=164, Resulting Numbers: [60, 164] Generated Node #0,3,3: 48:[60, 164] Operation: 89+75=164 Exploring Operation: 89-75=14, Resulting Numbers: [60, 14] Generated Node #0,3,4: 48:[60, 14] Operation: 89-75=14 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 48:[60, 14], Operations: ['91-16=75', '89-75=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,48 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,48 unequal: No Solution No 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: 48:[75, 29], Operations: ['91-16=75', '89-60=29'] Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,48 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,48 unequal: No Solution No 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: 48:[89, 15], Operations: ['91-16=75', '75-60=15'] Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,48 unequal: No Solution Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,48 unequal: No Solution No 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: 48:[75, 149], Operations: ['91-16=75', '89+60=149'] Exploring Operation: 75+149=224, Resulting Numbers: [224] 224,48 unequal: No Solution Exploring Operation: 75*149=11175, Resulting Numbers: [11175] 11175,48 unequal: No Solution Exploring Operation: 149-75=74, Resulting Numbers: [74] 74,48 unequal: No Solution No 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: 48:[60, 164], Operations: ['91-16=75', '89+75=164'] Exploring Operation: 164-60=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 60+164=224, Resulting Numbers: [224] 224,48 unequal: No Solution Exploring Operation: 60*164=9840, Resulting Numbers: [9840] 9840,48 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: 48:[60, 91, 73], Operations: ['89-16=73'] Exploring Operation: 73-60=13, Resulting Numbers: [91, 13] Generated Node #0,4,0: 48:[91, 13] Operation: 73-60=13 Exploring Operation: 91-73=18, Resulting Numbers: [60, 18] Generated Node #0,4,1: 48:[60, 18] Operation: 91-73=18 Exploring Operation: 60+91=151, Resulting Numbers: [73, 151] Generated Node #0,4,2: 48:[73, 151] Operation: 60+91=151 Exploring Operation: 91-60=31, Resulting Numbers: [73, 31] Generated Node #0,4,3: 48:[73, 31] Operation: 91-60=31 Exploring Operation: 60+73=133, Resulting Numbers: [91, 133] Generated Node #0,4,4: 48:[91, 133] Operation: 60+73=133 Moving to Node #0,4,1 Current State: 48:[60, 18], Operations: ['89-16=73', '91-73=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[73, 31], Operations: ['89-16=73', '91-60=31'] Exploring Operation: 73*31=2263, Resulting Numbers: [2263] 2263,48 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[91, 13], Operations: ['89-16=73', '73-60=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[73, 151], Operations: ['89-16=73', '60+91=151'] Exploring Operation: 73*151=11023, Resulting Numbers: [11023] 11023,48 unequal: No Solution Exploring Operation: 73+151=224, Resulting Numbers: [224] 224,48 unequal: No Solution Exploring Operation: 151-73=78, Resulting Numbers: [78] 78,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[91, 133], Operations: ['89-16=73', '60+73=133'] Exploring Operation: 91*133=12103, Resulting Numbers: [12103] 12103,48 unequal: No Solution Exploring Operation: 133-91=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 91+133=224, Resulting Numbers: [224] 224,48 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 17, 82, 8, 95 ]
33
[ "82*8=656", "656-95=561", "561/17=33" ]
Current State: 33:[17, 82, 8, 95], Operations: [] Exploring Operation: 82*8=656, Resulting Numbers: [17, 95, 656] Generated Node #2: [17, 95, 656] from Operation: 82*8=656 Current State: 33:[17, 95, 656], Operations: ['82*8=656'] Exploring Operation: 656-95=561, Resulting Numbers: [17, 561] Generated Node #3: [17, 561] from Operation: 656-95=561 Current State: 33:[17, 561], Operations: ['82*8=656', '656-95=561'] Exploring Operation: 561/17=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[17, 82, 8, 95], Operations: [] Exploring Operation: 95-82=13, Resulting Numbers: [17, 8, 13] Generated Node #0,0: 33:[17, 8, 13] Operation: 95-82=13 Exploring Operation: 95-17=78, Resulting Numbers: [82, 8, 78] Generated Node #0,1: 33:[82, 8, 78] Operation: 95-17=78 Exploring Operation: 82-17=65, Resulting Numbers: [8, 95, 65] Generated Node #0,2: 33:[8, 95, 65] Operation: 82-17=65 Moving to Node #0,0 Current State: 33:[17, 8, 13], Operations: ['95-82=13'] Exploring Operation: 17-8=9, Resulting Numbers: [13, 9] Generated Node #0,0,0: 33:[13, 9] Operation: 17-8=9 Exploring Operation: 17+13=30, Resulting Numbers: [8, 30] Generated Node #0,0,1: 33:[8, 30] Operation: 17+13=30 Exploring Operation: 17-13=4, Resulting Numbers: [8, 4] Generated Node #0,0,2: 33:[8, 4] Operation: 17-13=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[13, 9], Operations: ['95-82=13', '17-8=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,33 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[8, 4], Operations: ['95-82=13', '17-13=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[8, 30], Operations: ['95-82=13', '17+13=30'] Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,33 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,33 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: 33:[82, 8, 78], Operations: ['95-17=78'] Exploring Operation: 78-8=70, Resulting Numbers: [82, 70] Generated Node #0,1,0: 33:[82, 70] Operation: 78-8=70 Exploring Operation: 82-8=74, Resulting Numbers: [78, 74] Generated Node #0,1,1: 33:[78, 74] Operation: 82-8=74 Exploring Operation: 82-78=4, Resulting Numbers: [8, 4] Generated Node #0,1,2: 33:[8, 4] Operation: 82-78=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[8, 4], Operations: ['95-17=78', '82-78=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[82, 70], Operations: ['95-17=78', '78-8=70'] Exploring Operation: 82+70=152, Resulting Numbers: [152] 152,33 unequal: No Solution Exploring Operation: 82*70=5740, Resulting Numbers: [5740] 5740,33 unequal: No Solution Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[78, 74], Operations: ['95-17=78', '82-8=74'] Exploring Operation: 78+74=152, Resulting Numbers: [152] 152,33 unequal: No Solution Exploring Operation: 78-74=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 78*74=5772, Resulting Numbers: [5772] 5772,33 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: 33:[8, 95, 65], Operations: ['82-17=65'] Exploring Operation: 65-8=57, Resulting Numbers: [95, 57] Generated Node #0,2,0: 33:[95, 57] Operation: 65-8=57 Exploring Operation: 95-8=87, Resulting Numbers: [65, 87] Generated Node #0,2,1: 33:[65, 87] Operation: 95-8=87 Exploring Operation: 95-65=30, Resulting Numbers: [8, 30] Generated Node #0,2,2: 33:[8, 30] Operation: 95-65=30 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[8, 30], Operations: ['82-17=65', '95-65=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,33 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[95, 57], Operations: ['82-17=65', '65-8=57'] Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,33 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[65, 87], Operations: ['82-17=65', '95-8=87'] Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 65*87=5655, Resulting Numbers: [5655] 5655,33 unequal: No Solution Exploring Operation: 65+87=152, Resulting Numbers: [152] 152,33 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
[ 5, 90, 72, 20 ]
24
[ "90/5=18", "72/18=4", "20+4=24" ]
Current State: 24:[5, 90, 72, 20], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [72, 20, 18] Generated Node #2: [72, 20, 18] from Operation: 90/5=18 Current State: 24:[72, 20, 18], Operations: ['90/5=18'] Exploring Operation: 72/18=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 72/18=4 Current State: 24:[20, 4], Operations: ['90/5=18', '72/18=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[5, 90, 72, 20], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [72, 20, 18] Generated Node #0,0: 24:[72, 20, 18] Operation: 90/5=18 Exploring Operation: 90-20=70, Resulting Numbers: [5, 72, 70] Generated Node #0,1: 24:[5, 72, 70] Operation: 90-20=70 Exploring Operation: 72-20=52, Resulting Numbers: [5, 90, 52] Generated Node #0,2: 24:[5, 90, 52] Operation: 72-20=52 Exploring Operation: 90-72=18, Resulting Numbers: [5, 20, 18] Generated Node #0,3: 24:[5, 20, 18] Operation: 90-72=18 Moving to Node #0,3 Current State: 24:[5, 20, 18], Operations: ['90-72=18'] Exploring Operation: 20-18=2, Resulting Numbers: [5, 2] Generated Node #0,3,0: 24:[5, 2] Operation: 20-18=2 Exploring Operation: 20/5=4, Resulting Numbers: [18, 4] Generated Node #0,3,1: 24:[18, 4] Operation: 20/5=4 Exploring Operation: 5+18=23, Resulting Numbers: [20, 23] Generated Node #0,3,2: 24:[20, 23] Operation: 5+18=23 Exploring Operation: 18-5=13, Resulting Numbers: [20, 13] Generated Node #0,3,3: 24:[20, 13] Operation: 18-5=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[5, 2], Operations: ['90-72=18', '20-18=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[20, 23], Operations: ['90-72=18', '5+18=23'] Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,24 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[20, 13], Operations: ['90-72=18', '18-5=13'] Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 24:[18, 4], Operations: ['90-72=18', '20/5=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,24 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 24:[72, 20, 18], Operations: ['90/5=18'] Exploring Operation: 20-18=2, Resulting Numbers: [72, 2] Generated Node #0,0,0: 24:[72, 2] Operation: 20-18=2 Exploring Operation: 72/18=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 24:[20, 4] Operation: 72/18=4 Exploring Operation: 72-20=52, Resulting Numbers: [18, 52] Generated Node #0,0,2: 24:[18, 52] Operation: 72-20=52 Exploring Operation: 72-18=54, Resulting Numbers: [20, 54] Generated Node #0,0,3: 24:[20, 54] Operation: 72-18=54 Moving to Node #0,2 Current State: 24:[5, 90, 52], Operations: ['72-20=52'] Exploring Operation: 52-5=47, Resulting Numbers: [90, 47] Generated Node #0,2,0: 24:[90, 47] Operation: 52-5=47 Exploring Operation: 90-52=38, Resulting Numbers: [5, 38] Generated Node #0,2,1: 24:[5, 38] Operation: 90-52=38 Exploring Operation: 90-5=85, Resulting Numbers: [52, 85] Generated Node #0,2,2: 24:[52, 85] Operation: 90-5=85 Exploring Operation: 90/5=18, Resulting Numbers: [52, 18] Generated Node #0,2,3: 24:[52, 18] Operation: 90/5=18 Moving to Node #0,1 Current State: 24:[5, 72, 70], Operations: ['90-20=70'] Exploring Operation: 70/5=14, Resulting Numbers: [72, 14] Generated Node #0,1,0: 24:[72, 14] Operation: 70/5=14 Exploring Operation: 72-70=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 24:[5, 2] Operation: 72-70=2 Exploring Operation: 72-5=67, Resulting Numbers: [70, 67] Generated Node #0,1,2: 24:[70, 67] Operation: 72-5=67 Exploring Operation: 70-5=65, Resulting Numbers: [72, 65] Generated Node #0,1,3: 24:[72, 65] Operation: 70-5=65 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[5, 2], Operations: ['90-20=70', '72-70=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[72, 14], Operations: ['90-20=70', '70/5=14'] Exploring Operation: 72*14=1008, Resulting Numbers: [1008] 1008,24 unequal: No Solution Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,24 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[70, 67], Operations: ['90-20=70', '72-5=67'] Exploring Operation: 70+67=137, Resulting Numbers: [137] 137,24 unequal: No Solution Exploring Operation: 70*67=4690, Resulting Numbers: [4690] 4690,24 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[72, 65], Operations: ['90-20=70', '70-5=65'] Exploring Operation: 72*65=4680, Resulting Numbers: [4680] 4680,24 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 72+65=137, Resulting Numbers: [137] 137,24 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: 24:[20, 4], Operations: ['90/5=18', '72/18=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[5, 90, 72, 20], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [72, 20, 18] Generated Node #0,0: 24:[72, 20, 18] Operation: 90/5=18 Moving to Node #0,0 Current State: 24:[72, 20, 18], Operations: ['90/5=18'] Exploring Operation: 72/18=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 24:[20, 4] Operation: 72/18=4 Moving to Node #0,0,1 Current State: 24:[20, 4], Operations: ['90/5=18', '72/18=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 32, 13, 92, 42 ]
69
[ "32-13=19", "92-42=50", "19+50=69" ]
Current State: 69:[32, 13, 92, 42], Operations: [] Exploring Operation: 32-13=19, Resulting Numbers: [92, 42, 19] Generated Node #2: [92, 42, 19] from Operation: 32-13=19 Current State: 69:[92, 42, 19], Operations: ['32-13=19'] Exploring Operation: 92-42=50, Resulting Numbers: [19, 50] Generated Node #3: [19, 50] from Operation: 92-42=50 Current State: 69:[19, 50], Operations: ['32-13=19', '92-42=50'] Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[32, 13, 92, 42], Operations: [] Exploring Operation: 42-13=29, Resulting Numbers: [32, 92, 29] Generated Node #0,0: 69:[32, 92, 29] Operation: 42-13=29 Exploring Operation: 92-13=79, Resulting Numbers: [32, 42, 79] Generated Node #0,1: 69:[32, 42, 79] Operation: 92-13=79 Exploring Operation: 92-42=50, Resulting Numbers: [32, 13, 50] Generated Node #0,2: 69:[32, 13, 50] Operation: 92-42=50 Exploring Operation: 32+42=74, Resulting Numbers: [13, 92, 74] Generated Node #0,3: 69:[13, 92, 74] Operation: 32+42=74 Exploring Operation: 92-32=60, Resulting Numbers: [13, 42, 60] Generated Node #0,4: 69:[13, 42, 60] Operation: 92-32=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[32, 92, 29], Operations: ['42-13=29'] Exploring Operation: 32+29=61, Resulting Numbers: [92, 61] Generated Node #0,0,0: 69:[92, 61] Operation: 32+29=61 Exploring Operation: 92-29=63, Resulting Numbers: [32, 63] Generated Node #0,0,1: 69:[32, 63] Operation: 92-29=63 Exploring Operation: 32-29=3, Resulting Numbers: [92, 3] Generated Node #0,0,2: 69:[92, 3] Operation: 32-29=3 Exploring Operation: 92-32=60, Resulting Numbers: [29, 60] Generated Node #0,0,3: 69:[29, 60] Operation: 92-32=60 Exploring Operation: 32+92=124, Resulting Numbers: [29, 124] Generated Node #0,0,4: 69:[29, 124] Operation: 32+92=124 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[32, 63], Operations: ['42-13=29', '92-29=63'] Exploring Operation: 32+63=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 32*63=2016, Resulting Numbers: [2016] 2016,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[29, 60], Operations: ['42-13=29', '92-32=60'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,69 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[92, 3], Operations: ['42-13=29', '32-29=3'] Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,69 unequal: No Solution Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[92, 61], Operations: ['42-13=29', '32+29=61'] Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,69 unequal: No Solution Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,69 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 69:[29, 124], Operations: ['42-13=29', '32+92=124'] Exploring Operation: 124-29=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 29+124=153, Resulting Numbers: [153] 153,69 unequal: No Solution Exploring Operation: 29*124=3596, Resulting Numbers: [3596] 3596,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[32, 42, 79], Operations: ['92-13=79'] Exploring Operation: 79-32=47, Resulting Numbers: [42, 47] Generated Node #0,1,0: 69:[42, 47] Operation: 79-32=47 Exploring Operation: 32+79=111, Resulting Numbers: [42, 111] Generated Node #0,1,1: 69:[42, 111] Operation: 32+79=111 Exploring Operation: 79-42=37, Resulting Numbers: [32, 37] Generated Node #0,1,2: 69:[32, 37] Operation: 79-42=37 Exploring Operation: 42-32=10, Resulting Numbers: [79, 10] Generated Node #0,1,3: 69:[79, 10] Operation: 42-32=10 Exploring Operation: 32+42=74, Resulting Numbers: [79, 74] Generated Node #0,1,4: 69:[79, 74] Operation: 32+42=74 Moving to Node #0,1,4 Current State: 69:[79, 74], Operations: ['92-13=79', '32+42=74'] Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,69 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[79, 10], Operations: ['92-13=79', '42-32=10'] Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,69 unequal: No Solution Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,69 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[32, 13, 92, 42], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [32, 42, 79] Generated Node #0,1: 69:[32, 42, 79] Operation: 92-13=79 Moving to Node #0,1 Current State: 69:[32, 42, 79], Operations: ['92-13=79'] Exploring Operation: 42-32=10, Resulting Numbers: [79, 10] Generated Node #0,1,3: 69:[79, 10] Operation: 42-32=10 Moving to Node #0,1,3 Current State: 69:[79, 10], Operations: ['92-13=79', '42-32=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 96, 94, 10, 3 ]
26
[ "96-94=2", "10+3=13", "2*13=26" ]
Current State: 26:[96, 94, 10, 3], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [10, 3, 2] Generated Node #2: [10, 3, 2] from Operation: 96-94=2 Current State: 26:[10, 3, 2], Operations: ['96-94=2'] Exploring Operation: 10+3=13, Resulting Numbers: [2, 13] Generated Node #3: [2, 13] from Operation: 10+3=13 Current State: 26:[2, 13], Operations: ['96-94=2', '10+3=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[96, 94, 10, 3], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [10, 3, 2] Generated Node #0,0: 26:[10, 3, 2] Operation: 96-94=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[10, 3, 2], Operations: ['96-94=2'] Exploring Operation: 10+3=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 10+3=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['96-94=2', '10+3=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[96, 94, 10, 3], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [10, 3, 2] Generated Node #0,0: 26:[10, 3, 2] Operation: 96-94=2 Moving to Node #0,0 Current State: 26:[10, 3, 2], Operations: ['96-94=2'] Exploring Operation: 10+3=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 10+3=13 Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['96-94=2', '10+3=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 71, 24, 43, 70 ]
38
[ "71*24=1704", "1704-70=1634", "1634/43=38" ]
Current State: 38:[71, 24, 43, 70], Operations: [] Exploring Operation: 71*24=1704, Resulting Numbers: [43, 70, 1704] Generated Node #2: [43, 70, 1704] from Operation: 71*24=1704 Current State: 38:[43, 70, 1704], Operations: ['71*24=1704'] Exploring Operation: 1704-70=1634, Resulting Numbers: [43, 1634] Generated Node #3: [43, 1634] from Operation: 1704-70=1634 Current State: 38:[43, 1634], Operations: ['71*24=1704', '1704-70=1634'] Exploring Operation: 1634/43=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[71, 24, 43, 70], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [24, 43, 1] Generated Node #0,0: 38:[24, 43, 1] Operation: 71-70=1 Exploring Operation: 71-43=28, Resulting Numbers: [24, 70, 28] Generated Node #0,1: 38:[24, 70, 28] Operation: 71-43=28 Exploring Operation: 71-24=47, Resulting Numbers: [43, 70, 47] Generated Node #0,2: 38:[43, 70, 47] Operation: 71-24=47 Moving to Node #0,0 Current State: 38:[24, 43, 1], Operations: ['71-70=1'] Exploring Operation: 24-1=23, Resulting Numbers: [43, 23] Generated Node #0,0,0: 38:[43, 23] Operation: 24-1=23 Exploring Operation: 43-1=42, Resulting Numbers: [24, 42] Generated Node #0,0,1: 38:[24, 42] Operation: 43-1=42 Exploring Operation: 43-24=19, Resulting Numbers: [1, 19] Generated Node #0,0,2: 38:[1, 19] Operation: 43-24=19 Moving to Node #0,1 Current State: 38:[24, 70, 28], Operations: ['71-43=28'] Exploring Operation: 70-28=42, Resulting Numbers: [24, 42] Generated Node #0,1,0: 38:[24, 42] Operation: 70-28=42 Exploring Operation: 28-24=4, Resulting Numbers: [70, 4] Generated Node #0,1,1: 38:[70, 4] Operation: 28-24=4 Exploring Operation: 70-24=46, Resulting Numbers: [28, 46] Generated Node #0,1,2: 38:[28, 46] Operation: 70-24=46 Moving to Node #0,2 Current State: 38:[43, 70, 47], Operations: ['71-24=47'] Exploring Operation: 47-43=4, Resulting Numbers: [70, 4] Generated Node #0,2,0: 38:[70, 4] Operation: 47-43=4 Exploring Operation: 70-43=27, Resulting Numbers: [47, 27] Generated Node #0,2,1: 38:[47, 27] Operation: 70-43=27 Exploring Operation: 70-47=23, Resulting Numbers: [43, 23] Generated Node #0,2,2: 38:[43, 23] Operation: 70-47=23 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[43, 23], Operations: ['71-24=47', '70-47=23'] Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,38 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,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,1 Current State: 38:[47, 27], Operations: ['71-24=47', '70-43=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,38 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[70, 4], Operations: ['71-24=47', '47-43=4'] Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,38 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 38:[1, 19], Operations: ['71-70=1', '43-24=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[24, 42], Operations: ['71-70=1', '43-1=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,38 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[43, 23], Operations: ['71-70=1', '24-1=23'] Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,38 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[24, 42], Operations: ['71-43=28', '70-28=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,38 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[28, 46], Operations: ['71-43=28', '70-24=46'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,38 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[70, 4], Operations: ['71-43=28', '28-24=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,38 unequal: No Solution Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,38 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 39, 43, 97, 55 ]
68
[ "39*97=3783", "3783-43=3740", "3740/55=68" ]
Current State: 68:[39, 43, 97, 55], Operations: [] Exploring Operation: 39*97=3783, Resulting Numbers: [43, 55, 3783] Generated Node #2: [43, 55, 3783] from Operation: 39*97=3783 Current State: 68:[43, 55, 3783], Operations: ['39*97=3783'] Exploring Operation: 3783-43=3740, Resulting Numbers: [55, 3740] Generated Node #3: [55, 3740] from Operation: 3783-43=3740 Current State: 68:[55, 3740], Operations: ['39*97=3783', '3783-43=3740'] Exploring Operation: 3740/55=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[39, 43, 97, 55], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [39, 43, 42] Generated Node #0,0: 68:[39, 43, 42] Operation: 97-55=42 Moving to Node #0,0 Current State: 68:[39, 43, 42], Operations: ['97-55=42'] Exploring Operation: 43-42=1, Resulting Numbers: [39, 1] Generated Node #0,0,0: 68:[39, 1] Operation: 43-42=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[39, 1], Operations: ['97-55=42', '43-42=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,68 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
[ 63, 35, 54, 57 ]
95
[ "63+35=98", "57-54=3", "98-3=95" ]
Current State: 95:[63, 35, 54, 57], Operations: [] Exploring Operation: 63+35=98, Resulting Numbers: [54, 57, 98] Generated Node #2: [54, 57, 98] from Operation: 63+35=98 Current State: 95:[54, 57, 98], Operations: ['63+35=98'] Exploring Operation: 57-54=3, Resulting Numbers: [98, 3] Generated Node #3: [98, 3] from Operation: 57-54=3 Current State: 95:[98, 3], Operations: ['63+35=98', '57-54=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[63, 35, 54, 57], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [63, 35, 3] Generated Node #0,0: 95:[63, 35, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[63, 35, 3], Operations: ['57-54=3'] Exploring Operation: 63+35=98, Resulting Numbers: [3, 98] Generated Node #0,0,0: 95:[3, 98] Operation: 63+35=98 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[3, 98], Operations: ['57-54=3', '63+35=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[63, 35, 54, 57], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [63, 35, 3] Generated Node #0,0: 95:[63, 35, 3] Operation: 57-54=3 Moving to Node #0,0 Current State: 95:[63, 35, 3], Operations: ['57-54=3'] Exploring Operation: 63+35=98, Resulting Numbers: [3, 98] Generated Node #0,0,0: 95:[3, 98] Operation: 63+35=98 Moving to Node #0,0,0 Current State: 95:[3, 98], Operations: ['57-54=3', '63+35=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 69, 6, 60, 43 ]
97
[ "69-60=9", "6*9=54", "43+54=97" ]
Current State: 97:[69, 6, 60, 43], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [6, 43, 9] Generated Node #2: [6, 43, 9] from Operation: 69-60=9 Current State: 97:[6, 43, 9], Operations: ['69-60=9'] Exploring Operation: 6*9=54, Resulting Numbers: [43, 54] Generated Node #3: [43, 54] from Operation: 6*9=54 Current State: 97:[43, 54], Operations: ['69-60=9', '6*9=54'] Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[69, 6, 60, 43], Operations: [] Exploring Operation: 6+60=66, Resulting Numbers: [69, 43, 66] Generated Node #0,0: 97:[69, 43, 66] Operation: 6+60=66 Exploring Operation: 69+6=75, Resulting Numbers: [60, 43, 75] Generated Node #0,1: 97:[60, 43, 75] Operation: 69+6=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[69, 43, 66], Operations: ['6+60=66'] Exploring Operation: 43+66=109, Resulting Numbers: [69, 109] Generated Node #0,0,0: 97:[69, 109] Operation: 43+66=109 Exploring Operation: 69+43=112, Resulting Numbers: [66, 112] Generated Node #0,0,1: 97:[66, 112] Operation: 69+43=112 Moving to Node #0,0,0 Current State: 97:[69, 109], Operations: ['6+60=66', '43+66=109'] Exploring Operation: 69+109=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 109-69=40, Resulting Numbers: [40] 40,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[66, 112], Operations: ['6+60=66', '69+43=112'] Exploring Operation: 66+112=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 112-66=46, Resulting Numbers: [46] 46,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[60, 43, 75], Operations: ['69+6=75'] Exploring Operation: 43+75=118, Resulting Numbers: [60, 118] Generated Node #0,1,0: 97:[60, 118] Operation: 43+75=118 Exploring Operation: 60+43=103, Resulting Numbers: [75, 103] Generated Node #0,1,1: 97:[75, 103] Operation: 60+43=103 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[75, 103], Operations: ['69+6=75', '60+43=103'] Exploring Operation: 75+103=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 103-75=28, Resulting Numbers: [28] 28,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,1,0 Current State: 97:[60, 118], Operations: ['69+6=75', '43+75=118'] Exploring Operation: 118-60=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 60+118=178, Resulting Numbers: [178] 178,97 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
[ 59, 78, 20, 48 ]
96
[ "59-20=39", "78*48=3744", "3744/39=96" ]
Current State: 96:[59, 78, 20, 48], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [78, 48, 39] Generated Node #2: [78, 48, 39] from Operation: 59-20=39 Current State: 96:[78, 48, 39], Operations: ['59-20=39'] Exploring Operation: 78*48=3744, Resulting Numbers: [39, 3744] Generated Node #3: [39, 3744] from Operation: 78*48=3744 Current State: 96:[39, 3744], Operations: ['59-20=39', '78*48=3744'] Exploring Operation: 3744/39=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[59, 78, 20, 48], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [59, 20, 30] Generated Node #0,0: 96:[59, 20, 30] Operation: 78-48=30 Exploring Operation: 78-59=19, Resulting Numbers: [20, 48, 19] Generated Node #0,1: 96:[20, 48, 19] Operation: 78-59=19 Exploring Operation: 78+20=98, Resulting Numbers: [59, 48, 98] Generated Node #0,2: 96:[59, 48, 98] Operation: 78+20=98 Moving to Node #0,1 Current State: 96:[20, 48, 19], Operations: ['78-59=19'] Exploring Operation: 48-20=28, Resulting Numbers: [19, 28] Generated Node #0,1,0: 96:[19, 28] Operation: 48-20=28 Exploring Operation: 20+19=39, Resulting Numbers: [48, 39] Generated Node #0,1,1: 96:[48, 39] Operation: 20+19=39 Exploring Operation: 20-19=1, Resulting Numbers: [48, 1] Generated Node #0,1,2: 96:[48, 1] Operation: 20-19=1 Moving to Node #0,2 Current State: 96:[59, 48, 98], Operations: ['78+20=98'] Exploring Operation: 59-48=11, Resulting Numbers: [98, 11] Generated Node #0,2,0: 96:[98, 11] Operation: 59-48=11 Exploring Operation: 98-59=39, Resulting Numbers: [48, 39] Generated Node #0,2,1: 96:[48, 39] Operation: 98-59=39 Exploring Operation: 59+48=107, Resulting Numbers: [98, 107] Generated Node #0,2,2: 96:[98, 107] Operation: 59+48=107 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[98, 11], Operations: ['78+20=98', '59-48=11'] Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,96 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,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,1 Current State: 96:[48, 39], Operations: ['78+20=98', '98-59=39'] Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,96 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,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,2 Current State: 96:[98, 107], Operations: ['78+20=98', '59+48=107'] Exploring Operation: 107-98=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 98+107=205, Resulting Numbers: [205] 205,96 unequal: No Solution Exploring Operation: 98*107=10486, Resulting Numbers: [10486] 10486,96 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: 96:[59, 20, 30], Operations: ['78-48=30'] Exploring Operation: 59-20=39, Resulting Numbers: [30, 39] Generated Node #0,0,0: 96:[30, 39] Operation: 59-20=39 Exploring Operation: 59+30=89, Resulting Numbers: [20, 89] Generated Node #0,0,1: 96:[20, 89] Operation: 59+30=89 Exploring Operation: 59-30=29, Resulting Numbers: [20, 29] Generated Node #0,0,2: 96:[20, 29] Operation: 59-30=29 Moving to Node #0,1,2 Current State: 96:[48, 1], Operations: ['78-59=19', '20-19=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[48, 39], Operations: ['78-59=19', '20+19=39'] Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,96 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[19, 28], Operations: ['78-59=19', '48-20=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[20, 29], Operations: ['78-48=30', '59-30=29'] Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,96 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[30, 39], Operations: ['78-48=30', '59-20=39'] Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[20, 89], Operations: ['78-48=30', '59+30=89'] Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 20+89=109, Resulting Numbers: [109] 109,96 unequal: No Solution Exploring Operation: 20*89=1780, Resulting Numbers: [1780] 1780,96 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 53, 4, 69, 48 ]
16
[ "69-53=16", "4*16=64", "64-48=16" ]
Current State: 16:[53, 4, 69, 48], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [4, 48, 16] Generated Node #2: [4, 48, 16] from Operation: 69-53=16 Current State: 16:[4, 48, 16], Operations: ['69-53=16'] Exploring Operation: 4*16=64, Resulting Numbers: [48, 64] Generated Node #3: [48, 64] from Operation: 4*16=64 Current State: 16:[48, 64], Operations: ['69-53=16', '4*16=64'] Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[53, 4, 69, 48], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [53, 4, 21] Generated Node #0,0: 16:[53, 4, 21] Operation: 69-48=21 Exploring Operation: 53-48=5, Resulting Numbers: [4, 69, 5] Generated Node #0,1: 16:[4, 69, 5] Operation: 53-48=5 Exploring Operation: 48/4=12, Resulting Numbers: [53, 69, 12] Generated Node #0,2: 16:[53, 69, 12] Operation: 48/4=12 Exploring Operation: 69-53=16, Resulting Numbers: [4, 48, 16] Generated Node #0,3: 16:[4, 48, 16] Operation: 69-53=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[4, 48, 16], Operations: ['69-53=16'] Exploring Operation: 48/16=3, Resulting Numbers: [4, 3] Generated Node #0,3,0: 16:[4, 3] Operation: 48/16=3 Exploring Operation: 48/4=12, Resulting Numbers: [16, 12] Generated Node #0,3,1: 16:[16, 12] Operation: 48/4=12 Exploring Operation: 48-4=44, Resulting Numbers: [16, 44] Generated Node #0,3,2: 16:[16, 44] Operation: 48-4=44 Exploring Operation: 48-16=32, Resulting Numbers: [4, 32] Generated Node #0,3,3: 16:[4, 32] Operation: 48-16=32 Moving to Node #0,3,0 Current State: 16:[4, 3], Operations: ['69-53=16', '48/16=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[16, 12], Operations: ['69-53=16', '48/4=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[4, 32], Operations: ['69-53=16', '48-16=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,16 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[16, 44], Operations: ['69-53=16', '48-4=44'] Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,16 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[53, 4, 21], Operations: ['69-48=21'] Exploring Operation: 53-4=49, Resulting Numbers: [21, 49] Generated Node #0,0,0: 16:[21, 49] Operation: 53-4=49 Exploring Operation: 21-4=17, Resulting Numbers: [53, 17] Generated Node #0,0,1: 16:[53, 17] Operation: 21-4=17 Exploring Operation: 53-21=32, Resulting Numbers: [4, 32] Generated Node #0,0,2: 16:[4, 32] Operation: 53-21=32 Exploring Operation: 53+4=57, Resulting Numbers: [21, 57] Generated Node #0,0,3: 16:[21, 57] Operation: 53+4=57 Moving to Node #0,0,2 Current State: 16:[4, 32], Operations: ['69-48=21', '53-21=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,16 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[53, 17], Operations: ['69-48=21', '21-4=17'] Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 53*17=901, Resulting Numbers: [901] 901,16 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[21, 49], Operations: ['69-48=21', '53-4=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,16 unequal: No Solution Moving to Node #0,0,3 Current State: 16:[21, 57], Operations: ['69-48=21', '53+4=57'] Exploring Operation: 21*57=1197, Resulting Numbers: [1197] 1197,16 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 21+57=78, Resulting Numbers: [78] 78,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[4, 69, 5], Operations: ['53-48=5'] Exploring Operation: 69-4=65, Resulting Numbers: [5, 65] Generated Node #0,1,0: 16:[5, 65] Operation: 69-4=65 Exploring Operation: 4+5=9, Resulting Numbers: [69, 9] Generated Node #0,1,1: 16:[69, 9] Operation: 4+5=9 Exploring Operation: 5-4=1, Resulting Numbers: [69, 1] Generated Node #0,1,2: 16:[69, 1] Operation: 5-4=1 Exploring Operation: 69-5=64, Resulting Numbers: [4, 64] Generated Node #0,1,3: 16:[4, 64] Operation: 69-5=64 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 16:[4, 64], Operations: ['53-48=5', '69-5=64'] Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,16 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[53, 4, 69, 48], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [4, 69, 5] Generated Node #0,1: 16:[4, 69, 5] Operation: 53-48=5 Moving to Node #0,1 Current State: 16:[4, 69, 5], Operations: ['53-48=5'] Exploring Operation: 69-5=64, Resulting Numbers: [4, 64] Generated Node #0,1,3: 16:[4, 64] Operation: 69-5=64 Moving to Node #0,1,3 Current State: 16:[4, 64], Operations: ['53-48=5', '69-5=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 8, 44, 29, 22 ]
13
[ "8*44=352", "352/22=16", "29-16=13" ]
Current State: 13:[8, 44, 29, 22], Operations: [] Exploring Operation: 8*44=352, Resulting Numbers: [29, 22, 352] Generated Node #2: [29, 22, 352] from Operation: 8*44=352 Current State: 13:[29, 22, 352], Operations: ['8*44=352'] Exploring Operation: 352/22=16, Resulting Numbers: [29, 16] Generated Node #3: [29, 16] from Operation: 352/22=16 Current State: 13:[29, 16], Operations: ['8*44=352', '352/22=16'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[8, 44, 29, 22], Operations: [] Exploring Operation: 44-8=36, Resulting Numbers: [29, 22, 36] Generated Node #0,0: 13:[29, 22, 36] Operation: 44-8=36 Exploring Operation: 29-22=7, Resulting Numbers: [8, 44, 7] Generated Node #0,1: 13:[8, 44, 7] Operation: 29-22=7 Exploring Operation: 44/22=2, Resulting Numbers: [8, 29, 2] Generated Node #0,2: 13:[8, 29, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [8, 29, 22] Generated Node #0,3: 13:[8, 29, 22] Operation: 44-22=22 Exploring Operation: 44-29=15, Resulting Numbers: [8, 22, 15] Generated Node #0,4: 13:[8, 22, 15] Operation: 44-29=15 Moving to Node #0,4 Current State: 13:[8, 22, 15], Operations: ['44-29=15'] Exploring Operation: 8+22=30, Resulting Numbers: [15, 30] Generated Node #0,4,0: 13:[15, 30] Operation: 8+22=30 Exploring Operation: 22-8=14, Resulting Numbers: [15, 14] Generated Node #0,4,1: 13:[15, 14] Operation: 22-8=14 Exploring Operation: 22-15=7, Resulting Numbers: [8, 7] Generated Node #0,4,2: 13:[8, 7] Operation: 22-15=7 Exploring Operation: 15-8=7, Resulting Numbers: [22, 7] Generated Node #0,4,3: 13:[22, 7] Operation: 15-8=7 Exploring Operation: 8+15=23, Resulting Numbers: [22, 23] Generated Node #0,4,4: 13:[22, 23] Operation: 8+15=23 Moving to Node #0,3 Current State: 13:[8, 29, 22], Operations: ['44-22=22'] Exploring Operation: 22-8=14, Resulting Numbers: [29, 14] Generated Node #0,3,0: 13:[29, 14] Operation: 22-8=14 Exploring Operation: 29-22=7, Resulting Numbers: [8, 7] Generated Node #0,3,1: 13:[8, 7] Operation: 29-22=7 Exploring Operation: 29-8=21, Resulting Numbers: [22, 21] Generated Node #0,3,2: 13:[22, 21] Operation: 29-8=21 Exploring Operation: 8+29=37, Resulting Numbers: [22, 37] Generated Node #0,3,3: 13:[22, 37] Operation: 8+29=37 Exploring Operation: 8+22=30, Resulting Numbers: [29, 30] Generated Node #0,3,4: 13:[29, 30] Operation: 8+22=30 Moving to Node #0,2 Current State: 13:[8, 29, 2], Operations: ['44/22=2'] Exploring Operation: 8-2=6, Resulting Numbers: [29, 6] Generated Node #0,2,0: 13:[29, 6] Operation: 8-2=6 Exploring Operation: 29-8=21, Resulting Numbers: [2, 21] Generated Node #0,2,1: 13:[2, 21] Operation: 29-8=21 Exploring Operation: 8*2=16, Resulting Numbers: [29, 16] Generated Node #0,2,2: 13:[29, 16] Operation: 8*2=16 Exploring Operation: 8+2=10, Resulting Numbers: [29, 10] Generated Node #0,2,3: 13:[29, 10] Operation: 8+2=10 Exploring Operation: 29-2=27, Resulting Numbers: [8, 27] Generated Node #0,2,4: 13:[8, 27] Operation: 29-2=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[2, 21], Operations: ['44/22=2', '29-8=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,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:[29, 16], Operations: ['44/22=2', '8*2=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[8, 44, 29, 22], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [8, 29, 2] Generated Node #0,2: 13:[8, 29, 2] Operation: 44/22=2 Moving to Node #0,2 Current State: 13:[8, 29, 2], Operations: ['44/22=2'] Exploring Operation: 8*2=16, Resulting Numbers: [29, 16] Generated Node #0,2,2: 13:[29, 16] Operation: 8*2=16 Moving to Node #0,2,2 Current State: 13:[29, 16], Operations: ['44/22=2', '8*2=16'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 76, 95, 8, 70 ]
59
[ "95-76=19", "8+70=78", "78-19=59" ]
Current State: 59:[76, 95, 8, 70], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [8, 70, 19] Generated Node #2: [8, 70, 19] from Operation: 95-76=19 Current State: 59:[8, 70, 19], Operations: ['95-76=19'] Exploring Operation: 8+70=78, Resulting Numbers: [19, 78] Generated Node #3: [19, 78] from Operation: 8+70=78 Current State: 59:[19, 78], Operations: ['95-76=19', '8+70=78'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[76, 95, 8, 70], Operations: [] Exploring Operation: 76-8=68, Resulting Numbers: [95, 70, 68] Generated Node #0,0: 59:[95, 70, 68] Operation: 76-8=68 Exploring Operation: 95-8=87, Resulting Numbers: [76, 70, 87] Generated Node #0,1: 59:[76, 70, 87] Operation: 95-8=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[95, 70, 68], Operations: ['76-8=68'] Exploring Operation: 95-70=25, Resulting Numbers: [68, 25] Generated Node #0,0,0: 59:[68, 25] Operation: 95-70=25 Exploring Operation: 95-68=27, Resulting Numbers: [70, 27] Generated Node #0,0,1: 59:[70, 27] Operation: 95-68=27 Moving to Node #0,0,0 Current State: 59:[68, 25], Operations: ['76-8=68', '95-70=25'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[70, 27], Operations: ['76-8=68', '95-68=27'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,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:[76, 70, 87], Operations: ['95-8=87'] Exploring Operation: 87-70=17, Resulting Numbers: [76, 17] Generated Node #0,1,0: 59:[76, 17] Operation: 87-70=17 Exploring Operation: 87-76=11, Resulting Numbers: [70, 11] Generated Node #0,1,1: 59:[70, 11] Operation: 87-76=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[76, 17], Operations: ['95-8=87', '87-70=17'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[76, 95, 8, 70], Operations: [] Exploring Operation: 95-8=87, Resulting Numbers: [76, 70, 87] Generated Node #0,1: 59:[76, 70, 87] Operation: 95-8=87 Moving to Node #0,1 Current State: 59:[76, 70, 87], Operations: ['95-8=87'] Exploring Operation: 87-70=17, Resulting Numbers: [76, 17] Generated Node #0,1,0: 59:[76, 17] Operation: 87-70=17 Moving to Node #0,1,0 Current State: 59:[76, 17], Operations: ['95-8=87', '87-70=17'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 96, 51, 16, 57 ]
13
[ "96+57=153", "153/51=3", "16-3=13" ]
Current State: 13:[96, 51, 16, 57], Operations: [] Exploring Operation: 96+57=153, Resulting Numbers: [51, 16, 153] Generated Node #2: [51, 16, 153] from Operation: 96+57=153 Current State: 13:[51, 16, 153], Operations: ['96+57=153'] Exploring Operation: 153/51=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 153/51=3 Current State: 13:[16, 3], Operations: ['96+57=153', '153/51=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[96, 51, 16, 57], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [51, 16, 39] Generated Node #0,0: 13:[51, 16, 39] Operation: 96-57=39 Exploring Operation: 96-51=45, Resulting Numbers: [16, 57, 45] Generated Node #0,1: 13:[16, 57, 45] Operation: 96-51=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[51, 16, 39], Operations: ['96-57=39'] Exploring Operation: 51-16=35, Resulting Numbers: [39, 35] Generated Node #0,0,0: 13:[39, 35] Operation: 51-16=35 Exploring Operation: 51-39=12, Resulting Numbers: [16, 12] Generated Node #0,0,1: 13:[16, 12] Operation: 51-39=12 Moving to Node #0,0,1 Current State: 13:[16, 12], Operations: ['96-57=39', '51-39=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[39, 35], Operations: ['96-57=39', '51-16=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,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 Current State: 13:[16, 57, 45], Operations: ['96-51=45'] Exploring Operation: 57-16=41, Resulting Numbers: [45, 41] Generated Node #0,1,0: 13:[45, 41] Operation: 57-16=41 Exploring Operation: 57-45=12, Resulting Numbers: [16, 12] Generated Node #0,1,1: 13:[16, 12] Operation: 57-45=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[16, 12], Operations: ['96-51=45', '57-45=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,13 unequal: No Solution No 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: 13:[45, 41], Operations: ['96-51=45', '57-16=41'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,13 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
[ 31, 66, 16, 2 ]
48
[ "31-16=15", "66/2=33", "15+33=48" ]
Current State: 48:[31, 66, 16, 2], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [66, 2, 15] Generated Node #2: [66, 2, 15] from Operation: 31-16=15 Current State: 48:[66, 2, 15], Operations: ['31-16=15'] Exploring Operation: 66/2=33, Resulting Numbers: [15, 33] Generated Node #3: [15, 33] from Operation: 66/2=33 Current State: 48:[15, 33], Operations: ['31-16=15', '66/2=33'] Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[31, 66, 16, 2], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [16, 2, 35] Generated Node #0,0: 48:[16, 2, 35] Operation: 66-31=35 Exploring Operation: 66-16=50, Resulting Numbers: [31, 2, 50] Generated Node #0,1: 48:[31, 2, 50] Operation: 66-16=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[31, 2, 50], Operations: ['66-16=50'] Exploring Operation: 50-31=19, Resulting Numbers: [2, 19] Generated Node #0,1,0: 48:[2, 19] Operation: 50-31=19 Exploring Operation: 31-2=29, Resulting Numbers: [50, 29] Generated Node #0,1,1: 48:[50, 29] Operation: 31-2=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[2, 19], Operations: ['66-16=50', '50-31=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,48 unequal: No Solution No 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: 48:[50, 29], Operations: ['66-16=50', '31-2=29'] Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,48 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: 48:[16, 2, 35], Operations: ['66-31=35'] Exploring Operation: 35-16=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 48:[2, 19] Operation: 35-16=19 Exploring Operation: 16+35=51, Resulting Numbers: [2, 51] Generated Node #0,0,1: 48:[2, 51] Operation: 16+35=51 Moving to Node #0,0,0 Current State: 48:[2, 19], Operations: ['66-31=35', '35-16=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[2, 51], Operations: ['66-31=35', '16+35=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 11, 42, 9, 76 ]
73
[ "42-9=33", "33/11=3", "76-3=73" ]
Current State: 73:[11, 42, 9, 76], Operations: [] Exploring Operation: 42-9=33, Resulting Numbers: [11, 76, 33] Generated Node #2: [11, 76, 33] from Operation: 42-9=33 Current State: 73:[11, 76, 33], Operations: ['42-9=33'] Exploring Operation: 33/11=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 33/11=3 Current State: 73:[76, 3], Operations: ['42-9=33', '33/11=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[11, 42, 9, 76], Operations: [] Exploring Operation: 11*9=99, Resulting Numbers: [42, 76, 99] Generated Node #0,0: 73:[42, 76, 99] Operation: 11*9=99 Exploring Operation: 11+42=53, Resulting Numbers: [9, 76, 53] Generated Node #0,1: 73:[9, 76, 53] Operation: 11+42=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[42, 76, 99], Operations: ['11*9=99'] Exploring Operation: 76-42=34, Resulting Numbers: [99, 34] Generated Node #0,0,0: 73:[99, 34] Operation: 76-42=34 Exploring Operation: 99-42=57, Resulting Numbers: [76, 57] Generated Node #0,0,1: 73:[76, 57] Operation: 99-42=57 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[76, 57], Operations: ['11*9=99', '99-42=57'] Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,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,0,0 Current State: 73:[99, 34], Operations: ['11*9=99', '76-42=34'] Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,73 unequal: No Solution Exploring Operation: 99+34=133, Resulting Numbers: [133] 133,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,1 Current State: 73:[9, 76, 53], Operations: ['11+42=53'] Exploring Operation: 9+53=62, Resulting Numbers: [76, 62] Generated Node #0,1,0: 73:[76, 62] Operation: 9+53=62 Exploring Operation: 76-9=67, Resulting Numbers: [53, 67] Generated Node #0,1,1: 73:[53, 67] Operation: 76-9=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[76, 62], Operations: ['11+42=53', '9+53=62'] Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,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,1,1 Current State: 73:[53, 67], Operations: ['11+42=53', '76-9=67'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 53+67=120, Resulting Numbers: [120] 120,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 No solution found.
0
hs_2
sum_heuristic
[ 10, 95, 5, 70 ]
83
[ "70-10=60", "60/5=12", "95-12=83" ]
Current State: 83:[10, 95, 5, 70], Operations: [] Exploring Operation: 70-10=60, Resulting Numbers: [95, 5, 60] Generated Node #2: [95, 5, 60] from Operation: 70-10=60 Current State: 83:[95, 5, 60], Operations: ['70-10=60'] Exploring Operation: 60/5=12, Resulting Numbers: [95, 12] Generated Node #3: [95, 12] from Operation: 60/5=12 Current State: 83:[95, 12], Operations: ['70-10=60', '60/5=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[10, 95, 5, 70], Operations: [] Exploring Operation: 10*5=50, Resulting Numbers: [95, 70, 50] Generated Node #0,0: 83:[95, 70, 50] Operation: 10*5=50 Exploring Operation: 95-10=85, Resulting Numbers: [5, 70, 85] Generated Node #0,1: 83:[5, 70, 85] Operation: 95-10=85 Moving to Node #0,0 Current State: 83:[95, 70, 50], Operations: ['10*5=50'] Exploring Operation: 95-50=45, Resulting Numbers: [70, 45] Generated Node #0,0,0: 83:[70, 45] Operation: 95-50=45 Exploring Operation: 70+50=120, Resulting Numbers: [95, 120] Generated Node #0,0,1: 83:[95, 120] Operation: 70+50=120 Moving to Node #0,1 Current State: 83:[5, 70, 85], Operations: ['95-10=85'] Exploring Operation: 85-5=80, Resulting Numbers: [70, 80] Generated Node #0,1,0: 83:[70, 80] Operation: 85-5=80 Exploring Operation: 5+70=75, Resulting Numbers: [85, 75] Generated Node #0,1,1: 83:[85, 75] Operation: 5+70=75 Moving to Node #0,1,1 Current State: 83:[85, 75], Operations: ['95-10=85', '5+70=75'] Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 85+75=160, Resulting Numbers: [160] 160,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[70, 80], Operations: ['95-10=85', '85-5=80'] Exploring Operation: 70+80=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[95, 120], Operations: ['10*5=50', '70+50=120'] Exploring Operation: 95+120=215, Resulting Numbers: [215] 215,83 unequal: No Solution Exploring Operation: 120-95=25, Resulting Numbers: [25] 25,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[70, 45], Operations: ['10*5=50', '95-50=45'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 70+45=115, Resulting Numbers: [115] 115,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 6, 55, 61, 62 ]
50
[ "55-6=49", "62-61=1", "49+1=50" ]
Current State: 50:[6, 55, 61, 62], Operations: [] Exploring Operation: 55-6=49, Resulting Numbers: [61, 62, 49] Generated Node #2: [61, 62, 49] from Operation: 55-6=49 Current State: 50:[61, 62, 49], Operations: ['55-6=49'] Exploring Operation: 62-61=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 62-61=1 Current State: 50:[49, 1], Operations: ['55-6=49', '62-61=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[6, 55, 61, 62], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [6, 55, 1] Generated Node #0,0: 50:[6, 55, 1] Operation: 62-61=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[6, 55, 1], Operations: ['62-61=1'] Exploring Operation: 55-6=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 50:[1, 49] Operation: 55-6=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[1, 49], Operations: ['62-61=1', '55-6=49'] Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[6, 55, 61, 62], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [6, 55, 1] Generated Node #0,0: 50:[6, 55, 1] Operation: 62-61=1 Moving to Node #0,0 Current State: 50:[6, 55, 1], Operations: ['62-61=1'] Exploring Operation: 55-6=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 50:[1, 49] Operation: 55-6=49 Moving to Node #0,0,0 Current State: 50:[1, 49], Operations: ['62-61=1', '55-6=49'] Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 45, 77, 2, 37 ]
67
[ "77-45=32", "37-2=35", "32+35=67" ]
Current State: 67:[45, 77, 2, 37], Operations: [] Exploring Operation: 77-45=32, Resulting Numbers: [2, 37, 32] Generated Node #2: [2, 37, 32] from Operation: 77-45=32 Current State: 67:[2, 37, 32], Operations: ['77-45=32'] Exploring Operation: 37-2=35, Resulting Numbers: [32, 35] Generated Node #3: [32, 35] from Operation: 37-2=35 Current State: 67:[32, 35], Operations: ['77-45=32', '37-2=35'] Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[45, 77, 2, 37], Operations: [] Exploring Operation: 77-2=75, Resulting Numbers: [45, 37, 75] Generated Node #0,0: 67:[45, 37, 75] Operation: 77-2=75 Exploring Operation: 45+2=47, Resulting Numbers: [77, 37, 47] Generated Node #0,1: 67:[77, 37, 47] Operation: 45+2=47 Exploring Operation: 2*37=74, Resulting Numbers: [45, 77, 74] Generated Node #0,2: 67:[45, 77, 74] Operation: 2*37=74 Moving to Node #0,2 Current State: 67:[45, 77, 74], Operations: ['2*37=74'] Exploring Operation: 77-45=32, Resulting Numbers: [74, 32] Generated Node #0,2,0: 67:[74, 32] Operation: 77-45=32 Exploring Operation: 74-45=29, Resulting Numbers: [77, 29] Generated Node #0,2,1: 67:[77, 29] Operation: 74-45=29 Exploring Operation: 45+77=122, Resulting Numbers: [74, 122] Generated Node #0,2,2: 67:[74, 122] Operation: 45+77=122 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[74, 32], Operations: ['2*37=74', '77-45=32'] Exploring Operation: 74*32=2368, Resulting Numbers: [2368] 2368,67 unequal: No Solution Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 74+32=106, Resulting Numbers: [106] 106,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[77, 29], Operations: ['2*37=74', '74-45=29'] Exploring Operation: 77+29=106, Resulting Numbers: [106] 106,67 unequal: No Solution Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 77*29=2233, Resulting Numbers: [2233] 2233,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[74, 122], Operations: ['2*37=74', '45+77=122'] Exploring Operation: 122-74=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 74*122=9028, Resulting Numbers: [9028] 9028,67 unequal: No Solution Exploring Operation: 74+122=196, Resulting Numbers: [196] 196,67 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: 67:[45, 37, 75], Operations: ['77-2=75'] Exploring Operation: 45+37=82, Resulting Numbers: [75, 82] Generated Node #0,0,0: 67:[75, 82] Operation: 45+37=82 Exploring Operation: 45-37=8, Resulting Numbers: [75, 8] Generated Node #0,0,1: 67:[75, 8] Operation: 45-37=8 Exploring Operation: 75-37=38, Resulting Numbers: [45, 38] Generated Node #0,0,2: 67:[45, 38] Operation: 75-37=38 Moving to Node #0,1 Current State: 67:[77, 37, 47], Operations: ['45+2=47'] Exploring Operation: 77-37=40, Resulting Numbers: [47, 40] Generated Node #0,1,0: 67:[47, 40] Operation: 77-37=40 Exploring Operation: 37+47=84, Resulting Numbers: [77, 84] Generated Node #0,1,1: 67:[77, 84] Operation: 37+47=84 Exploring Operation: 77+37=114, Resulting Numbers: [47, 114] Generated Node #0,1,2: 67:[47, 114] Operation: 77+37=114 Moving to Node #0,0,0 Current State: 67:[75, 82], Operations: ['77-2=75', '45+37=82'] Exploring Operation: 75*82=6150, Resulting Numbers: [6150] 6150,67 unequal: No Solution Exploring Operation: 75+82=157, Resulting Numbers: [157] 157,67 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[77, 84], Operations: ['45+2=47', '37+47=84'] Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 77*84=6468, Resulting Numbers: [6468] 6468,67 unequal: No Solution Exploring Operation: 77+84=161, Resulting Numbers: [161] 161,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[47, 40], Operations: ['45+2=47', '77-37=40'] Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,67 unequal: No Solution Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[45, 38], Operations: ['77-2=75', '75-37=38'] Exploring Operation: 45*38=1710, Resulting Numbers: [1710] 1710,67 unequal: No Solution Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[47, 114], Operations: ['45+2=47', '77+37=114'] Exploring Operation: 114-47=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[45, 77, 2, 37], Operations: [] Exploring Operation: 45+2=47, Resulting Numbers: [77, 37, 47] Generated Node #0,1: 67:[77, 37, 47] Operation: 45+2=47 Moving to Node #0,1 Current State: 67:[77, 37, 47], Operations: ['45+2=47'] Exploring Operation: 77+37=114, Resulting Numbers: [47, 114] Generated Node #0,1,2: 67:[47, 114] Operation: 77+37=114 Moving to Node #0,1,2 Current State: 67:[47, 114], Operations: ['45+2=47', '77+37=114'] Exploring Operation: 114-47=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 72, 96, 89, 32 ]
14
[ "89-72=17", "96/32=3", "17-3=14" ]
Current State: 14:[72, 96, 89, 32], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [96, 32, 17] Generated Node #2: [96, 32, 17] from Operation: 89-72=17 Current State: 14:[96, 32, 17], Operations: ['89-72=17'] Exploring Operation: 96/32=3, Resulting Numbers: [17, 3] Generated Node #3: [17, 3] from Operation: 96/32=3 Current State: 14:[17, 3], Operations: ['89-72=17', '96/32=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[72, 96, 89, 32], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [89, 32, 24] Generated Node #0,0: 14:[89, 32, 24] Operation: 96-72=24 Exploring Operation: 96-89=7, Resulting Numbers: [72, 32, 7] Generated Node #0,1: 14:[72, 32, 7] Operation: 96-89=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[72, 32, 7], Operations: ['96-89=7'] Exploring Operation: 72-32=40, Resulting Numbers: [7, 40] Generated Node #0,1,0: 14:[7, 40] Operation: 72-32=40 Exploring Operation: 72-7=65, Resulting Numbers: [32, 65] Generated Node #0,1,1: 14:[32, 65] Operation: 72-7=65 Moving to Node #0,1,0 Current State: 14:[7, 40], Operations: ['96-89=7', '72-32=40'] Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[32, 65], Operations: ['96-89=7', '72-7=65'] Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,14 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[89, 32, 24], Operations: ['96-72=24'] Exploring Operation: 89-32=57, Resulting Numbers: [24, 57] Generated Node #0,0,0: 14:[24, 57] Operation: 89-32=57 Exploring Operation: 89-24=65, Resulting Numbers: [32, 65] Generated Node #0,0,1: 14:[32, 65] Operation: 89-24=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[24, 57], Operations: ['96-72=24', '89-32=57'] Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,14 unequal: No Solution No 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: 14:[32, 65], Operations: ['96-72=24', '89-24=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,14 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
[ 35, 29, 96, 66 ]
44
[ "35+29=64", "66*64=4224", "4224/96=44" ]
Current State: 44:[35, 29, 96, 66], Operations: [] Exploring Operation: 35+29=64, Resulting Numbers: [96, 66, 64] Generated Node #2: [96, 66, 64] from Operation: 35+29=64 Current State: 44:[96, 66, 64], Operations: ['35+29=64'] Exploring Operation: 66*64=4224, Resulting Numbers: [96, 4224] Generated Node #3: [96, 4224] from Operation: 66*64=4224 Current State: 44:[96, 4224], Operations: ['35+29=64', '66*64=4224'] Exploring Operation: 4224/96=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[35, 29, 96, 66], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [29, 96, 31] Generated Node #0,0: 44:[29, 96, 31] Operation: 66-35=31 Exploring Operation: 66-29=37, Resulting Numbers: [35, 96, 37] Generated Node #0,1: 44:[35, 96, 37] Operation: 66-29=37 Exploring Operation: 96-66=30, Resulting Numbers: [35, 29, 30] Generated Node #0,2: 44:[35, 29, 30] Operation: 96-66=30 Exploring Operation: 96-35=61, Resulting Numbers: [29, 66, 61] Generated Node #0,3: 44:[29, 66, 61] Operation: 96-35=61 Exploring Operation: 96-29=67, Resulting Numbers: [35, 66, 67] Generated Node #0,4: 44:[35, 66, 67] Operation: 96-29=67 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[35, 29, 30], Operations: ['96-66=30'] Exploring Operation: 29+30=59, Resulting Numbers: [35, 59] Generated Node #0,2,0: 44:[35, 59] Operation: 29+30=59 Exploring Operation: 35-29=6, Resulting Numbers: [30, 6] Generated Node #0,2,1: 44:[30, 6] Operation: 35-29=6 Exploring Operation: 35+29=64, Resulting Numbers: [30, 64] Generated Node #0,2,2: 44:[30, 64] Operation: 35+29=64 Exploring Operation: 35-30=5, Resulting Numbers: [29, 5] Generated Node #0,2,3: 44:[29, 5] Operation: 35-30=5 Exploring Operation: 30-29=1, Resulting Numbers: [35, 1] Generated Node #0,2,4: 44:[35, 1] Operation: 30-29=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 44:[29, 5], Operations: ['96-66=30', '35-30=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,44 unequal: No Solution No 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: 44:[30, 6], Operations: ['96-66=30', '35-29=6'] Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,44 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,44 unequal: No Solution No 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: 44:[35, 1], Operations: ['96-66=30', '30-29=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,44 unequal: No Solution No 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: 44:[35, 59], Operations: ['96-66=30', '29+30=59'] Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,44 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,44 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,44 unequal: No Solution No 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: 44:[30, 64], Operations: ['96-66=30', '35+29=64'] Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,44 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,44 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: 44:[29, 66, 61], Operations: ['96-35=61'] Exploring Operation: 66-61=5, Resulting Numbers: [29, 5] Generated Node #0,3,0: 44:[29, 5] Operation: 66-61=5 Exploring Operation: 61-29=32, Resulting Numbers: [66, 32] Generated Node #0,3,1: 44:[66, 32] Operation: 61-29=32 Exploring Operation: 29+66=95, Resulting Numbers: [61, 95] Generated Node #0,3,2: 44:[61, 95] Operation: 29+66=95 Exploring Operation: 29+61=90, Resulting Numbers: [66, 90] Generated Node #0,3,3: 44:[66, 90] Operation: 29+61=90 Exploring Operation: 66-29=37, Resulting Numbers: [61, 37] Generated Node #0,3,4: 44:[61, 37] Operation: 66-29=37 Moving to Node #0,3,0 Current State: 44:[29, 5], Operations: ['96-35=61', '66-61=5'] Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,44 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[61, 37], Operations: ['96-35=61', '66-29=37'] Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,44 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[66, 32], Operations: ['96-35=61', '61-29=32'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[61, 95], Operations: ['96-35=61', '29+66=95'] Exploring Operation: 61*95=5795, Resulting Numbers: [5795] 5795,44 unequal: No Solution Exploring Operation: 61+95=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[66, 90], Operations: ['96-35=61', '29+61=90'] Exploring Operation: 66+90=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 90-66=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 66*90=5940, Resulting Numbers: [5940] 5940,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 44:[35, 66, 67], Operations: ['96-29=67'] Exploring Operation: 67-35=32, Resulting Numbers: [66, 32] Generated Node #0,4,0: 44:[66, 32] Operation: 67-35=32 Exploring Operation: 35+66=101, Resulting Numbers: [67, 101] Generated Node #0,4,1: 44:[67, 101] Operation: 35+66=101 Exploring Operation: 66-35=31, Resulting Numbers: [67, 31] Generated Node #0,4,2: 44:[67, 31] Operation: 66-35=31 Exploring Operation: 67-66=1, Resulting Numbers: [35, 1] Generated Node #0,4,3: 44:[35, 1] Operation: 67-66=1 Exploring Operation: 35+67=102, Resulting Numbers: [66, 102] Generated Node #0,4,4: 44:[66, 102] Operation: 35+67=102 Moving to Node #0,4,3 Current State: 44:[35, 1], Operations: ['96-29=67', '67-66=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,44 unequal: No Solution Moving to Node #0,4,2 Current State: 44:[67, 31], Operations: ['96-29=67', '66-35=31'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,44 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,44 unequal: No Solution Moving to Node #0,4,0 Current State: 44:[66, 32], Operations: ['96-29=67', '67-35=32'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[67, 101], Operations: ['96-29=67', '35+66=101'] Exploring Operation: 101-67=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 67*101=6767, Resulting Numbers: [6767] 6767,44 unequal: No Solution Exploring Operation: 67+101=168, Resulting Numbers: [168] 168,44 unequal: No Solution Moving to Node #0,4,4 Current State: 44:[66, 102], Operations: ['96-29=67', '35+67=102'] Exploring Operation: 102-66=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 66*102=6732, Resulting Numbers: [6732] 6732,44 unequal: No Solution Exploring Operation: 66+102=168, Resulting Numbers: [168] 168,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[29, 96, 31], Operations: ['66-35=31'] Exploring Operation: 29+96=125, Resulting Numbers: [31, 125] Generated Node #0,0,0: 44:[31, 125] Operation: 29+96=125 Exploring Operation: 31-29=2, Resulting Numbers: [96, 2] Generated Node #0,0,1: 44:[96, 2] Operation: 31-29=2 Exploring Operation: 96-31=65, Resulting Numbers: [29, 65] Generated Node #0,0,2: 44:[29, 65] Operation: 96-31=65 Exploring Operation: 96-29=67, Resulting Numbers: [31, 67] Generated Node #0,0,3: 44:[31, 67] Operation: 96-29=67 Exploring Operation: 29+31=60, Resulting Numbers: [96, 60] Generated Node #0,0,4: 44:[96, 60] Operation: 29+31=60 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[29, 65], Operations: ['66-35=31', '96-31=65'] Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,44 unequal: No Solution Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,44 unequal: No Solution No 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: 44:[31, 67], Operations: ['66-35=31', '96-29=67'] Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,44 unequal: No Solution No 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: 44:[96, 2], Operations: ['66-35=31', '31-29=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,44 unequal: No Solution Exploring Operation: 96*2=192, Resulting Numbers: [192] 192,44 unequal: No Solution No 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: 44:[96, 60], Operations: ['66-35=31', '29+31=60'] Exploring Operation: 96+60=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 96*60=5760, Resulting Numbers: [5760] 5760,44 unequal: No Solution Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,44 unequal: No Solution No 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: 44:[31, 125], Operations: ['66-35=31', '29+96=125'] Exploring Operation: 31*125=3875, Resulting Numbers: [3875] 3875,44 unequal: No Solution Exploring Operation: 125-31=94, Resulting Numbers: [94] 94,44 unequal: No Solution Exploring Operation: 31+125=156, Resulting Numbers: [156] 156,44 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: 44:[35, 96, 37], Operations: ['66-29=37'] Exploring Operation: 96-37=59, Resulting Numbers: [35, 59] Generated Node #0,1,0: 44:[35, 59] Operation: 96-37=59 Exploring Operation: 96-35=61, Resulting Numbers: [37, 61] Generated Node #0,1,1: 44:[37, 61] Operation: 96-35=61 Exploring Operation: 35+96=131, Resulting Numbers: [37, 131] Generated Node #0,1,2: 44:[37, 131] Operation: 35+96=131 Exploring Operation: 37-35=2, Resulting Numbers: [96, 2] Generated Node #0,1,3: 44:[96, 2] Operation: 37-35=2 Exploring Operation: 35+37=72, Resulting Numbers: [96, 72] Generated Node #0,1,4: 44:[96, 72] Operation: 35+37=72 Moving to Node #0,1,0 Current State: 44:[35, 59], Operations: ['66-29=37', '96-37=59'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,44 unequal: No Solution Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[37, 61], Operations: ['66-29=37', '96-35=61'] Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,44 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[96, 2], Operations: ['66-29=37', '37-35=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 96*2=192, Resulting Numbers: [192] 192,44 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,44 unequal: No Solution Moving to Node #0,1,4 Current State: 44:[96, 72], Operations: ['66-29=37', '35+37=72'] Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,44 unequal: No Solution Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[37, 131], Operations: ['66-29=37', '35+96=131'] Exploring Operation: 131-37=94, Resulting Numbers: [94] 94,44 unequal: No Solution Exploring Operation: 37+131=168, Resulting Numbers: [168] 168,44 unequal: No Solution Exploring Operation: 37*131=4847, Resulting Numbers: [4847] 4847,44 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
[ 82, 39, 2, 13 ]
73
[ "82-39=43", "2*43=86", "86-13=73" ]
Current State: 73:[82, 39, 2, 13], Operations: [] Exploring Operation: 82-39=43, Resulting Numbers: [2, 13, 43] Generated Node #2: [2, 13, 43] from Operation: 82-39=43 Current State: 73:[2, 13, 43], Operations: ['82-39=43'] Exploring Operation: 2*43=86, Resulting Numbers: [13, 86] Generated Node #3: [13, 86] from Operation: 2*43=86 Current State: 73:[13, 86], Operations: ['82-39=43', '2*43=86'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[82, 39, 2, 13], Operations: [] Exploring Operation: 39*2=78, Resulting Numbers: [82, 13, 78] Generated Node #0,0: 73:[82, 13, 78] Operation: 39*2=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[82, 13, 78], Operations: ['39*2=78'] Exploring Operation: 82-13=69, Resulting Numbers: [78, 69] Generated Node #0,0,0: 73:[78, 69] Operation: 82-13=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[78, 69], Operations: ['39*2=78', '82-13=69'] Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,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 No solution found.
0
hs_1
sum_heuristic
[ 2, 77, 71, 45 ]
48
[ "77-71=6", "6/2=3", "45+3=48" ]
Current State: 48:[2, 77, 71, 45], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [2, 45, 6] Generated Node #2: [2, 45, 6] from Operation: 77-71=6 Current State: 48:[2, 45, 6], Operations: ['77-71=6'] Exploring Operation: 6/2=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 6/2=3 Current State: 48:[45, 3], Operations: ['77-71=6', '6/2=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 77, 71, 45], Operations: [] Exploring Operation: 71-45=26, Resulting Numbers: [2, 77, 26] Generated Node #0,0: 48:[2, 77, 26] Operation: 71-45=26 Exploring Operation: 77-2=75, Resulting Numbers: [71, 45, 75] Generated Node #0,1: 48:[71, 45, 75] Operation: 77-2=75 Exploring Operation: 77-45=32, Resulting Numbers: [2, 71, 32] Generated Node #0,2: 48:[2, 71, 32] Operation: 77-45=32 Exploring Operation: 77-71=6, Resulting Numbers: [2, 45, 6] Generated Node #0,3: 48:[2, 45, 6] Operation: 77-71=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[2, 45, 6], Operations: ['77-71=6'] Exploring Operation: 2+45=47, Resulting Numbers: [6, 47] Generated Node #0,3,0: 48:[6, 47] Operation: 2+45=47 Exploring Operation: 2+6=8, Resulting Numbers: [45, 8] Generated Node #0,3,1: 48:[45, 8] Operation: 2+6=8 Exploring Operation: 2*6=12, Resulting Numbers: [45, 12] Generated Node #0,3,2: 48:[45, 12] Operation: 2*6=12 Exploring Operation: 6-2=4, Resulting Numbers: [45, 4] Generated Node #0,3,3: 48:[45, 4] Operation: 6-2=4 Moving to Node #0,3,0 Current State: 48:[6, 47], Operations: ['77-71=6', '2+45=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,48 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[45, 12], Operations: ['77-71=6', '2*6=12'] Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,48 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[45, 8], Operations: ['77-71=6', '2+6=8'] Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,48 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[45, 4], Operations: ['77-71=6', '6-2=4'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,48 unequal: No Solution No 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: 48:[2, 77, 26], Operations: ['71-45=26'] Exploring Operation: 26-2=24, Resulting Numbers: [77, 24] Generated Node #0,0,0: 48:[77, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [77, 13] Generated Node #0,0,1: 48:[77, 13] Operation: 26/2=13 Exploring Operation: 77-2=75, Resulting Numbers: [26, 75] Generated Node #0,0,2: 48:[26, 75] Operation: 77-2=75 Exploring Operation: 77-26=51, Resulting Numbers: [2, 51] Generated Node #0,0,3: 48:[2, 51] Operation: 77-26=51 Moving to Node #0,0,3 Current State: 48:[2, 51], Operations: ['71-45=26', '77-26=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[26, 75], Operations: ['71-45=26', '77-2=75'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,48 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[77, 24], Operations: ['71-45=26', '26-2=24'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[77, 13], Operations: ['71-45=26', '26/2=13'] Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,48 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,48 unequal: No Solution No 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: 48:[2, 71, 32], Operations: ['77-45=32'] Exploring Operation: 71-32=39, Resulting Numbers: [2, 39] Generated Node #0,2,0: 48:[2, 39] Operation: 71-32=39 Exploring Operation: 71-2=69, Resulting Numbers: [32, 69] Generated Node #0,2,1: 48:[32, 69] Operation: 71-2=69 Exploring Operation: 32/2=16, Resulting Numbers: [71, 16] Generated Node #0,2,2: 48:[71, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [71, 30] Generated Node #0,2,3: 48:[71, 30] Operation: 32-2=30 Moving to Node #0,2,0 Current State: 48:[2, 39], Operations: ['77-45=32', '71-32=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[71, 16], Operations: ['77-45=32', '32/2=16'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 71*16=1136, Resulting Numbers: [1136] 1136,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[71, 30], Operations: ['77-45=32', '32-2=30'] Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[32, 69], Operations: ['77-45=32', '71-2=69'] Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,48 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,48 unequal: No Solution No 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: 48:[71, 45, 75], Operations: ['77-2=75'] Exploring Operation: 75-71=4, Resulting Numbers: [45, 4] Generated Node #0,1,0: 48:[45, 4] Operation: 75-71=4 Exploring Operation: 71+45=116, Resulting Numbers: [75, 116] Generated Node #0,1,1: 48:[75, 116] Operation: 71+45=116 Exploring Operation: 75-45=30, Resulting Numbers: [71, 30] Generated Node #0,1,2: 48:[71, 30] Operation: 75-45=30 Exploring Operation: 71-45=26, Resulting Numbers: [75, 26] Generated Node #0,1,3: 48:[75, 26] Operation: 71-45=26 Moving to Node #0,1,0 Current State: 48:[45, 4], Operations: ['77-2=75', '75-71=4'] Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,48 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[75, 26], Operations: ['77-2=75', '71-45=26'] Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[71, 30], Operations: ['77-2=75', '75-45=30'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,48 unequal: No Solution Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[75, 116], Operations: ['77-2=75', '71+45=116'] Exploring Operation: 116-75=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 75*116=8700, Resulting Numbers: [8700] 8700,48 unequal: No Solution Exploring Operation: 75+116=191, Resulting Numbers: [191] 191,48 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
[ 49, 54, 23, 44 ]
26
[ "54-49=5", "44-23=21", "5+21=26" ]
Current State: 26:[49, 54, 23, 44], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [23, 44, 5] Generated Node #2: [23, 44, 5] from Operation: 54-49=5 Current State: 26:[23, 44, 5], Operations: ['54-49=5'] Exploring Operation: 44-23=21, Resulting Numbers: [5, 21] Generated Node #3: [5, 21] from Operation: 44-23=21 Current State: 26:[5, 21], Operations: ['54-49=5', '44-23=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[49, 54, 23, 44], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [54, 23, 5] Generated Node #0,0: 26:[54, 23, 5] Operation: 49-44=5 Exploring Operation: 49-23=26, Resulting Numbers: [54, 44, 26] Generated Node #0,1: 26:[54, 44, 26] Operation: 49-23=26 Exploring Operation: 54-44=10, Resulting Numbers: [49, 23, 10] Generated Node #0,2: 26:[49, 23, 10] Operation: 54-44=10 Exploring Operation: 54-49=5, Resulting Numbers: [23, 44, 5] Generated Node #0,3: 26:[23, 44, 5] Operation: 54-49=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[23, 44, 5], Operations: ['54-49=5'] Exploring Operation: 44-5=39, Resulting Numbers: [23, 39] Generated Node #0,3,0: 26:[23, 39] Operation: 44-5=39 Exploring Operation: 44-23=21, Resulting Numbers: [5, 21] Generated Node #0,3,1: 26:[5, 21] Operation: 44-23=21 Exploring Operation: 23+5=28, Resulting Numbers: [44, 28] Generated Node #0,3,2: 26:[44, 28] Operation: 23+5=28 Exploring Operation: 23-5=18, Resulting Numbers: [44, 18] Generated Node #0,3,3: 26:[44, 18] Operation: 23-5=18 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 26:[5, 21], Operations: ['54-49=5', '44-23=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[49, 54, 23, 44], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [23, 44, 5] Generated Node #0,3: 26:[23, 44, 5] Operation: 54-49=5 Moving to Node #0,3 Current State: 26:[23, 44, 5], Operations: ['54-49=5'] Exploring Operation: 44-23=21, Resulting Numbers: [5, 21] Generated Node #0,3,1: 26:[5, 21] Operation: 44-23=21 Moving to Node #0,3,1 Current State: 26:[5, 21], Operations: ['54-49=5', '44-23=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 87, 63, 30, 15 ]
10
[ "87+63=150", "30-15=15", "150/15=10" ]
Current State: 10:[87, 63, 30, 15], Operations: [] Exploring Operation: 87+63=150, Resulting Numbers: [30, 15, 150] Generated Node #2: [30, 15, 150] from Operation: 87+63=150 Current State: 10:[30, 15, 150], Operations: ['87+63=150'] Exploring Operation: 30-15=15, Resulting Numbers: [150, 15] Generated Node #3: [150, 15] from Operation: 30-15=15 Current State: 10:[150, 15], Operations: ['87+63=150', '30-15=15'] Exploring Operation: 150/15=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[87, 63, 30, 15], Operations: [] Exploring Operation: 63-30=33, Resulting Numbers: [87, 15, 33] Generated Node #0,0: 10:[87, 15, 33] Operation: 63-30=33 Exploring Operation: 87-63=24, Resulting Numbers: [30, 15, 24] Generated Node #0,1: 10:[30, 15, 24] Operation: 87-63=24 Exploring Operation: 87-30=57, Resulting Numbers: [63, 15, 57] Generated Node #0,2: 10:[63, 15, 57] Operation: 87-30=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[30, 15, 24], Operations: ['87-63=24'] Exploring Operation: 30/15=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 10:[24, 2] Operation: 30/15=2 Exploring Operation: 30-24=6, Resulting Numbers: [15, 6] Generated Node #0,1,1: 10:[15, 6] Operation: 30-24=6 Exploring Operation: 30-15=15, Resulting Numbers: [24, 15] Generated Node #0,1,2: 10:[24, 15] Operation: 30-15=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[15, 6], Operations: ['87-63=24', '30-24=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,10 unequal: No Solution No 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: 10:[24, 2], Operations: ['87-63=24', '30/15=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,10 unequal: No Solution No 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: 10:[24, 15], Operations: ['87-63=24', '30-15=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,10 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: 10:[87, 15, 33], Operations: ['63-30=33'] Exploring Operation: 87-33=54, Resulting Numbers: [15, 54] Generated Node #0,0,0: 10:[15, 54] Operation: 87-33=54 Exploring Operation: 87-15=72, Resulting Numbers: [33, 72] Generated Node #0,0,1: 10:[33, 72] Operation: 87-15=72 Exploring Operation: 33-15=18, Resulting Numbers: [87, 18] Generated Node #0,0,2: 10:[87, 18] Operation: 33-15=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[15, 54], Operations: ['63-30=33', '87-33=54'] Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,10 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,10 unequal: No Solution No 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: 10:[33, 72], Operations: ['63-30=33', '87-15=72'] Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,10 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,10 unequal: No Solution No 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: 10:[87, 18], Operations: ['63-30=33', '33-15=18'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,10 unequal: No Solution Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,10 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,10 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: 10:[63, 15, 57], Operations: ['87-30=57'] Exploring Operation: 63-15=48, Resulting Numbers: [57, 48] Generated Node #0,2,0: 10:[57, 48] Operation: 63-15=48 Exploring Operation: 57-15=42, Resulting Numbers: [63, 42] Generated Node #0,2,1: 10:[63, 42] Operation: 57-15=42 Exploring Operation: 63-57=6, Resulting Numbers: [15, 6] Generated Node #0,2,2: 10:[15, 6] Operation: 63-57=6 Moving to Node #0,2,2 Current State: 10:[15, 6], Operations: ['87-30=57', '63-57=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[57, 48], Operations: ['87-30=57', '63-15=48'] Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,10 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[63, 42], Operations: ['87-30=57', '57-15=42'] Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,10 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
[ 45, 2, 63, 56 ]
80
[ "45*2=90", "56*90=5040", "5040/63=80" ]
Current State: 80:[45, 2, 63, 56], Operations: [] Exploring Operation: 45*2=90, Resulting Numbers: [63, 56, 90] Generated Node #2: [63, 56, 90] from Operation: 45*2=90 Current State: 80:[63, 56, 90], Operations: ['45*2=90'] Exploring Operation: 56*90=5040, Resulting Numbers: [63, 5040] Generated Node #3: [63, 5040] from Operation: 56*90=5040 Current State: 80:[63, 5040], Operations: ['45*2=90', '56*90=5040'] Exploring Operation: 5040/63=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[45, 2, 63, 56], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [45, 2, 7] Generated Node #0,0: 80:[45, 2, 7] Operation: 63-56=7 Exploring Operation: 63-45=18, Resulting Numbers: [2, 56, 18] Generated Node #0,1: 80:[2, 56, 18] Operation: 63-45=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[45, 2, 7], Operations: ['63-56=7'] Exploring Operation: 45-2=43, Resulting Numbers: [7, 43] Generated Node #0,0,0: 80:[7, 43] Operation: 45-2=43 Exploring Operation: 45-7=38, Resulting Numbers: [2, 38] Generated Node #0,0,1: 80:[2, 38] Operation: 45-7=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[2, 38], Operations: ['63-56=7', '45-7=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,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,0,0 Current State: 80:[7, 43], Operations: ['63-56=7', '45-2=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,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,1 Current State: 80:[2, 56, 18], Operations: ['63-45=18'] Exploring Operation: 56+18=74, Resulting Numbers: [2, 74] Generated Node #0,1,0: 80:[2, 74] Operation: 56+18=74 Exploring Operation: 56-18=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 80:[2, 38] Operation: 56-18=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[2, 38], Operations: ['63-45=18', '56-18=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,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,1,0 Current State: 80:[2, 74], Operations: ['63-45=18', '56+18=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,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 No solution found.
0
hs_2
sum_heuristic
[ 92, 21, 9, 33 ]
94
[ "9+33=42", "42/21=2", "92+2=94" ]
Current State: 94:[92, 21, 9, 33], Operations: [] Exploring Operation: 9+33=42, Resulting Numbers: [92, 21, 42] Generated Node #2: [92, 21, 42] from Operation: 9+33=42 Current State: 94:[92, 21, 42], Operations: ['9+33=42'] Exploring Operation: 42/21=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 42/21=2 Current State: 94:[92, 2], Operations: ['9+33=42', '42/21=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[92, 21, 9, 33], Operations: [] Exploring Operation: 21+33=54, Resulting Numbers: [92, 9, 54] Generated Node #0,0: 94:[92, 9, 54] Operation: 21+33=54 Moving to Node #0,0 Current State: 94:[92, 9, 54], Operations: ['21+33=54'] Exploring Operation: 54-9=45, Resulting Numbers: [92, 45] Generated Node #0,0,0: 94:[92, 45] Operation: 54-9=45 Moving to Node #0,0,0 Current State: 94:[92, 45], Operations: ['21+33=54', '54-9=45'] Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,94 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 18, 13, 86, 16 ]
24
[ "18+86=104", "104/13=8", "16+8=24" ]
Current State: 24:[18, 13, 86, 16], Operations: [] Exploring Operation: 18+86=104, Resulting Numbers: [13, 16, 104] Generated Node #2: [13, 16, 104] from Operation: 18+86=104 Current State: 24:[13, 16, 104], Operations: ['18+86=104'] Exploring Operation: 104/13=8, Resulting Numbers: [16, 8] Generated Node #3: [16, 8] from Operation: 104/13=8 Current State: 24:[16, 8], Operations: ['18+86=104', '104/13=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[18, 13, 86, 16], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [18, 13, 70] Generated Node #0,0: 24:[18, 13, 70] Operation: 86-16=70 Exploring Operation: 86-13=73, Resulting Numbers: [18, 16, 73] Generated Node #0,1: 24:[18, 16, 73] Operation: 86-13=73 Exploring Operation: 86-18=68, Resulting Numbers: [13, 16, 68] Generated Node #0,2: 24:[13, 16, 68] Operation: 86-18=68 Moving to Node #0,2 Current State: 24:[13, 16, 68], Operations: ['86-18=68'] Exploring Operation: 16-13=3, Resulting Numbers: [68, 3] Generated Node #0,2,0: 24:[68, 3] Operation: 16-13=3 Exploring Operation: 68-16=52, Resulting Numbers: [13, 52] Generated Node #0,2,1: 24:[13, 52] Operation: 68-16=52 Exploring Operation: 68-13=55, Resulting Numbers: [16, 55] Generated Node #0,2,2: 24:[16, 55] Operation: 68-13=55 Moving to Node #0,0 Current State: 24:[18, 13, 70], Operations: ['86-16=70'] Exploring Operation: 70-13=57, Resulting Numbers: [18, 57] Generated Node #0,0,0: 24:[18, 57] Operation: 70-13=57 Exploring Operation: 70-18=52, Resulting Numbers: [13, 52] Generated Node #0,0,1: 24:[13, 52] Operation: 70-18=52 Exploring Operation: 18-13=5, Resulting Numbers: [70, 5] Generated Node #0,0,2: 24:[70, 5] Operation: 18-13=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[13, 52], Operations: ['86-16=70', '70-18=52'] Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[18, 57], Operations: ['86-16=70', '70-13=57'] Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[70, 5], Operations: ['86-16=70', '18-13=5'] Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 24:[18, 16, 73], Operations: ['86-13=73'] Exploring Operation: 73-18=55, Resulting Numbers: [16, 55] Generated Node #0,1,0: 24:[16, 55] Operation: 73-18=55 Exploring Operation: 18-16=2, Resulting Numbers: [73, 2] Generated Node #0,1,1: 24:[73, 2] Operation: 18-16=2 Exploring Operation: 73-16=57, Resulting Numbers: [18, 57] Generated Node #0,1,2: 24:[18, 57] Operation: 73-16=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[16, 55], Operations: ['86-13=73', '73-18=55'] Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,24 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[18, 57], Operations: ['86-13=73', '73-16=57'] Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[73, 2], Operations: ['86-13=73', '18-16=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,24 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 24:[13, 52], Operations: ['86-18=68', '68-16=52'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[16, 55], Operations: ['86-18=68', '68-13=55'] Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,24 unequal: No Solution Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[68, 3], Operations: ['86-18=68', '16-13=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,24 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 54, 1, 87, 48 ]
93
[ "54*1=54", "87-48=39", "54+39=93" ]
Current State: 93:[54, 1, 87, 48], Operations: [] Exploring Operation: 54*1=54, Resulting Numbers: [87, 48, 54] Generated Node #2: [87, 48, 54] from Operation: 54*1=54 Current State: 93:[87, 48, 54], Operations: ['54*1=54'] Exploring Operation: 87-48=39, Resulting Numbers: [54, 39] Generated Node #3: [54, 39] from Operation: 87-48=39 Current State: 93:[54, 39], Operations: ['54*1=54', '87-48=39'] Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[54, 1, 87, 48], Operations: [] Exploring Operation: 54+48=102, Resulting Numbers: [1, 87, 102] Generated Node #0,0: 93:[1, 87, 102] Operation: 54+48=102 Exploring Operation: 54-48=6, Resulting Numbers: [1, 87, 6] Generated Node #0,1: 93:[1, 87, 6] Operation: 54-48=6 Moving to Node #0,1 Current State: 93:[1, 87, 6], Operations: ['54-48=6'] Exploring Operation: 87+6=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 87+6=93 Exploring Operation: 1+87=88, Resulting Numbers: [6, 88] Generated Node #0,1,1: 93:[6, 88] Operation: 1+87=88 Moving to Node #0,0 Current State: 93:[1, 87, 102], Operations: ['54+48=102'] Exploring Operation: 102-1=101, Resulting Numbers: [87, 101] Generated Node #0,0,0: 93:[87, 101] Operation: 102-1=101 Exploring Operation: 1+87=88, Resulting Numbers: [102, 88] Generated Node #0,0,1: 93:[102, 88] Operation: 1+87=88 Moving to Node #0,1,0 Current State: 93:[1, 93], Operations: ['54-48=6', '87+6=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[54, 1, 87, 48], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [1, 87, 6] Generated Node #0,1: 93:[1, 87, 6] Operation: 54-48=6 Moving to Node #0,1 Current State: 93:[1, 87, 6], Operations: ['54-48=6'] Exploring Operation: 87+6=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 87+6=93 Moving to Node #0,1,0 Current State: 93:[1, 93], Operations: ['54-48=6', '87+6=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 6, 66, 33, 37 ]
80
[ "66/33=2", "37*2=74", "6+74=80" ]
Current State: 80:[6, 66, 33, 37], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [6, 37, 2] Generated Node #2: [6, 37, 2] from Operation: 66/33=2 Current State: 80:[6, 37, 2], Operations: ['66/33=2'] Exploring Operation: 37*2=74, Resulting Numbers: [6, 74] Generated Node #3: [6, 74] from Operation: 37*2=74 Current State: 80:[6, 74], Operations: ['66/33=2', '37*2=74'] Exploring Operation: 6+74=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[6, 66, 33, 37], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [6, 37, 2] Generated Node #0,0: 80:[6, 37, 2] Operation: 66/33=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[6, 37, 2], Operations: ['66/33=2'] Exploring Operation: 37+2=39, Resulting Numbers: [6, 39] Generated Node #0,0,0: 80:[6, 39] Operation: 37+2=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[6, 39], Operations: ['66/33=2', '37+2=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,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 No solution found.
0
hs_1
mult_heuristic
[ 2, 39, 69, 5 ]
59
[ "39+69=108", "108/2=54", "5+54=59" ]
Current State: 59:[2, 39, 69, 5], Operations: [] Exploring Operation: 39+69=108, Resulting Numbers: [2, 5, 108] Generated Node #2: [2, 5, 108] from Operation: 39+69=108 Current State: 59:[2, 5, 108], Operations: ['39+69=108'] Exploring Operation: 108/2=54, Resulting Numbers: [5, 54] Generated Node #3: [5, 54] from Operation: 108/2=54 Current State: 59:[5, 54], Operations: ['39+69=108', '108/2=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 39, 69, 5], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [39, 69, 10] Generated Node #0,0: 59:[39, 69, 10] Operation: 2*5=10 Exploring Operation: 2+39=41, Resulting Numbers: [69, 5, 41] Generated Node #0,1: 59:[69, 5, 41] Operation: 2+39=41 Exploring Operation: 69-2=67, Resulting Numbers: [39, 5, 67] Generated Node #0,2: 59:[39, 5, 67] Operation: 69-2=67 Moving to Node #0,0 Current State: 59:[39, 69, 10], Operations: ['2*5=10'] Exploring Operation: 39+10=49, Resulting Numbers: [69, 49] Generated Node #0,0,0: 59:[69, 49] Operation: 39+10=49 Exploring Operation: 39-10=29, Resulting Numbers: [69, 29] Generated Node #0,0,1: 59:[69, 29] Operation: 39-10=29 Exploring Operation: 69-10=59, Resulting Numbers: [39, 59] Generated Node #0,0,2: 59:[39, 59] Operation: 69-10=59 Moving to Node #0,1 Current State: 59:[69, 5, 41], Operations: ['2+39=41'] Exploring Operation: 69-5=64, Resulting Numbers: [41, 64] Generated Node #0,1,0: 59:[41, 64] Operation: 69-5=64 Exploring Operation: 69+5=74, Resulting Numbers: [41, 74] Generated Node #0,1,1: 59:[41, 74] Operation: 69+5=74 Exploring Operation: 5+41=46, Resulting Numbers: [69, 46] Generated Node #0,1,2: 59:[69, 46] Operation: 5+41=46 Moving to Node #0,2 Current State: 59:[39, 5, 67], Operations: ['69-2=67'] Exploring Operation: 39-5=34, Resulting Numbers: [67, 34] Generated Node #0,2,0: 59:[67, 34] Operation: 39-5=34 Exploring Operation: 67-5=62, Resulting Numbers: [39, 62] Generated Node #0,2,1: 59:[39, 62] Operation: 67-5=62 Exploring Operation: 39+5=44, Resulting Numbers: [67, 44] Generated Node #0,2,2: 59:[67, 44] Operation: 39+5=44 Moving to Node #0,0,0 Current State: 59:[69, 49], Operations: ['2*5=10', '39+10=49'] Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 69*49=3381, Resulting Numbers: [3381] 3381,59 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[39, 59], Operations: ['2*5=10', '69-10=59'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,59 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[39, 62], Operations: ['69-2=67', '67-5=62'] Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,59 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[67, 44], Operations: ['69-2=67', '39+5=44'] Exploring Operation: 67*44=2948, Resulting Numbers: [2948] 2948,59 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 67+44=111, Resulting Numbers: [111] 111,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[69, 46], Operations: ['2+39=41', '5+41=46'] Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[41, 64], Operations: ['2+39=41', '69-5=64'] Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,59 unequal: No Solution Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[41, 74], Operations: ['2+39=41', '69+5=74'] Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,59 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[67, 34], Operations: ['69-2=67', '39-5=34'] Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,59 unequal: No Solution Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[69, 29], Operations: ['2*5=10', '39-10=29'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,59 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 12, 53, 5, 26 ]
75
[ "53-12=41", "41-26=15", "5*15=75" ]
Current State: 75:[12, 53, 5, 26], Operations: [] Exploring Operation: 53-12=41, Resulting Numbers: [5, 26, 41] Generated Node #2: [5, 26, 41] from Operation: 53-12=41 Current State: 75:[5, 26, 41], Operations: ['53-12=41'] Exploring Operation: 41-26=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 41-26=15 Current State: 75:[5, 15], Operations: ['53-12=41', '41-26=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[12, 53, 5, 26], Operations: [] Exploring Operation: 53-26=27, Resulting Numbers: [12, 5, 27] Generated Node #0,0: 75:[12, 5, 27] Operation: 53-26=27 Exploring Operation: 53+26=79, Resulting Numbers: [12, 5, 79] Generated Node #0,1: 75:[12, 5, 79] Operation: 53+26=79 Moving to Node #0,0 Current State: 75:[12, 5, 27], Operations: ['53-26=27'] Exploring Operation: 27-12=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 75:[5, 15] Operation: 27-12=15 Exploring Operation: 12+5=17, Resulting Numbers: [27, 17] Generated Node #0,0,1: 75:[27, 17] Operation: 12+5=17 Moving to Node #0,1 Current State: 75:[12, 5, 79], Operations: ['53+26=79'] Exploring Operation: 79-5=74, Resulting Numbers: [12, 74] Generated Node #0,1,0: 75:[12, 74] Operation: 79-5=74 Exploring Operation: 12+5=17, Resulting Numbers: [79, 17] Generated Node #0,1,1: 75:[79, 17] Operation: 12+5=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[12, 74], Operations: ['53+26=79', '79-5=74'] Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[79, 17], Operations: ['53+26=79', '12+5=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 75:[5, 15], Operations: ['53-26=27', '27-12=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[12, 53, 5, 26], Operations: [] Exploring Operation: 53-26=27, Resulting Numbers: [12, 5, 27] Generated Node #0,0: 75:[12, 5, 27] Operation: 53-26=27 Moving to Node #0,0 Current State: 75:[12, 5, 27], Operations: ['53-26=27'] Exploring Operation: 27-12=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 75:[5, 15] Operation: 27-12=15 Moving to Node #0,0,0 Current State: 75:[5, 15], Operations: ['53-26=27', '27-12=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 60, 35, 47, 15 ]
93
[ "60*35=2100", "2100/15=140", "140-47=93" ]
Current State: 93:[60, 35, 47, 15], Operations: [] Exploring Operation: 60*35=2100, Resulting Numbers: [47, 15, 2100] Generated Node #2: [47, 15, 2100] from Operation: 60*35=2100 Current State: 93:[47, 15, 2100], Operations: ['60*35=2100'] Exploring Operation: 2100/15=140, Resulting Numbers: [47, 140] Generated Node #3: [47, 140] from Operation: 2100/15=140 Current State: 93:[47, 140], Operations: ['60*35=2100', '2100/15=140'] Exploring Operation: 140-47=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[60, 35, 47, 15], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [35, 15, 13] Generated Node #0,0: 93:[35, 15, 13] Operation: 60-47=13 Exploring Operation: 60+35=95, Resulting Numbers: [47, 15, 95] Generated Node #0,1: 93:[47, 15, 95] Operation: 60+35=95 Exploring Operation: 60/15=4, Resulting Numbers: [35, 47, 4] Generated Node #0,2: 93:[35, 47, 4] Operation: 60/15=4 Moving to Node #0,2 Current State: 93:[35, 47, 4], Operations: ['60/15=4'] Exploring Operation: 35-4=31, Resulting Numbers: [47, 31] Generated Node #0,2,0: 93:[47, 31] Operation: 35-4=31 Exploring Operation: 35+47=82, Resulting Numbers: [4, 82] Generated Node #0,2,1: 93:[4, 82] Operation: 35+47=82 Exploring Operation: 47-35=12, Resulting Numbers: [4, 12] Generated Node #0,2,2: 93:[4, 12] Operation: 47-35=12 Moving to Node #0,0 Current State: 93:[35, 15, 13], Operations: ['60-47=13'] Exploring Operation: 35-15=20, Resulting Numbers: [13, 20] Generated Node #0,0,0: 93:[13, 20] Operation: 35-15=20 Exploring Operation: 15+13=28, Resulting Numbers: [35, 28] Generated Node #0,0,1: 93:[35, 28] Operation: 15+13=28 Exploring Operation: 15-13=2, Resulting Numbers: [35, 2] Generated Node #0,0,2: 93:[35, 2] Operation: 15-13=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[35, 2], Operations: ['60-47=13', '15-13=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,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:[35, 28], Operations: ['60-47=13', '15+13=28'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,93 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,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,0 Current State: 93:[13, 20], Operations: ['60-47=13', '35-15=20'] Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,93 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,93 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: 93:[47, 15, 95], Operations: ['60+35=95'] Exploring Operation: 95-15=80, Resulting Numbers: [47, 80] Generated Node #0,1,0: 93:[47, 80] Operation: 95-15=80 Exploring Operation: 95-47=48, Resulting Numbers: [15, 48] Generated Node #0,1,1: 93:[15, 48] Operation: 95-47=48 Exploring Operation: 47-15=32, Resulting Numbers: [95, 32] Generated Node #0,1,2: 93:[95, 32] Operation: 47-15=32 Moving to Node #0,1,2 Current State: 93:[95, 32], Operations: ['60+35=95', '47-15=32'] Exploring Operation: 95+32=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 95*32=3040, Resulting Numbers: [3040] 3040,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[4, 12], Operations: ['60/15=4', '47-35=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[4, 82], Operations: ['60/15=4', '35+47=82'] Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,93 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,93 unequal: No Solution Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[47, 31], Operations: ['60/15=4', '35-4=31'] Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,93 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,93 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[15, 48], Operations: ['60+35=95', '95-47=48'] Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,93 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[47, 80], Operations: ['60+35=95', '95-15=80'] Exploring Operation: 47*80=3760, Resulting Numbers: [3760] 3760,93 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 47+80=127, Resulting Numbers: [127] 127,93 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 70, 78, 87, 98 ]
88
[ "78-70=8", "98-87=11", "8*11=88" ]
Current State: 88:[70, 78, 87, 98], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [87, 98, 8] Generated Node #2: [87, 98, 8] from Operation: 78-70=8 Current State: 88:[87, 98, 8], Operations: ['78-70=8'] Exploring Operation: 98-87=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 98-87=11 Current State: 88:[8, 11], Operations: ['78-70=8', '98-87=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[70, 78, 87, 98], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [78, 87, 28] Generated Node #0,0: 88:[78, 87, 28] Operation: 98-70=28 Exploring Operation: 78-70=8, Resulting Numbers: [87, 98, 8] Generated Node #0,1: 88:[87, 98, 8] Operation: 78-70=8 Exploring Operation: 98-78=20, Resulting Numbers: [70, 87, 20] Generated Node #0,2: 88:[70, 87, 20] Operation: 98-78=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[87, 98, 8], Operations: ['78-70=8'] Exploring Operation: 98-87=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 88:[8, 11] Operation: 98-87=11 Exploring Operation: 98-8=90, Resulting Numbers: [87, 90] Generated Node #0,1,1: 88:[87, 90] Operation: 98-8=90 Exploring Operation: 87+8=95, Resulting Numbers: [98, 95] Generated Node #0,1,2: 88:[98, 95] Operation: 87+8=95 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[8, 11], Operations: ['78-70=8', '98-87=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[70, 78, 87, 98], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [87, 98, 8] Generated Node #0,1: 88:[87, 98, 8] Operation: 78-70=8 Moving to Node #0,1 Current State: 88:[87, 98, 8], Operations: ['78-70=8'] Exploring Operation: 98-87=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 88:[8, 11] Operation: 98-87=11 Moving to Node #0,1,0 Current State: 88:[8, 11], Operations: ['78-70=8', '98-87=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 74, 8, 32, 10 ]
44
[ "74-8=66", "32-10=22", "66-22=44" ]
Current State: 44:[74, 8, 32, 10], Operations: [] Exploring Operation: 74-8=66, Resulting Numbers: [32, 10, 66] Generated Node #2: [32, 10, 66] from Operation: 74-8=66 Current State: 44:[32, 10, 66], Operations: ['74-8=66'] Exploring Operation: 32-10=22, Resulting Numbers: [66, 22] Generated Node #3: [66, 22] from Operation: 32-10=22 Current State: 44:[66, 22], Operations: ['74-8=66', '32-10=22'] Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[74, 8, 32, 10], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [8, 10, 42] Generated Node #0,0: 44:[8, 10, 42] Operation: 74-32=42 Moving to Node #0,0 Current State: 44:[8, 10, 42], Operations: ['74-32=42'] Exploring Operation: 10-8=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 44:[42, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[42, 2], Operations: ['74-32=42', '10-8=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[74, 8, 32, 10], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [8, 10, 42] Generated Node #0,0: 44:[8, 10, 42] Operation: 74-32=42 Moving to Node #0,0 Current State: 44:[8, 10, 42], Operations: ['74-32=42'] Exploring Operation: 10-8=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 44:[42, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 44:[42, 2], Operations: ['74-32=42', '10-8=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 90, 24, 79 ]
74
[ "84*79=6636", "24+6636=6660", "6660/90=74" ]
Current State: 74:[84, 90, 24, 79], Operations: [] Exploring Operation: 84*79=6636, Resulting Numbers: [90, 24, 6636] Generated Node #2: [90, 24, 6636] from Operation: 84*79=6636 Current State: 74:[90, 24, 6636], Operations: ['84*79=6636'] Exploring Operation: 24+6636=6660, Resulting Numbers: [90, 6660] Generated Node #3: [90, 6660] from Operation: 24+6636=6660 Current State: 74:[90, 6660], Operations: ['84*79=6636', '24+6636=6660'] Exploring Operation: 6660/90=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[84, 90, 24, 79], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [84, 24, 11] Generated Node #0,0: 74:[84, 24, 11] Operation: 90-79=11 Exploring Operation: 90-24=66, Resulting Numbers: [84, 79, 66] Generated Node #0,1: 74:[84, 79, 66] Operation: 90-24=66 Exploring Operation: 90-84=6, Resulting Numbers: [24, 79, 6] Generated Node #0,2: 74:[24, 79, 6] Operation: 90-84=6 Exploring Operation: 84-24=60, Resulting Numbers: [90, 79, 60] Generated Node #0,3: 74:[90, 79, 60] Operation: 84-24=60 Exploring Operation: 84-79=5, Resulting Numbers: [90, 24, 5] Generated Node #0,4: 74:[90, 24, 5] Operation: 84-79=5 Moving to Node #0,2 Current State: 74:[24, 79, 6], Operations: ['90-84=6'] Exploring Operation: 24+6=30, Resulting Numbers: [79, 30] Generated Node #0,2,0: 74:[79, 30] Operation: 24+6=30 Exploring Operation: 79-6=73, Resulting Numbers: [24, 73] Generated Node #0,2,1: 74:[24, 73] Operation: 79-6=73 Exploring Operation: 24/6=4, Resulting Numbers: [79, 4] Generated Node #0,2,2: 74:[79, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [79, 18] Generated Node #0,2,3: 74:[79, 18] Operation: 24-6=18 Exploring Operation: 79-24=55, Resulting Numbers: [6, 55] Generated Node #0,2,4: 74:[6, 55] Operation: 79-24=55 Moving to Node #0,1 Current State: 74:[84, 79, 66], Operations: ['90-24=66'] Exploring Operation: 84-66=18, Resulting Numbers: [79, 18] Generated Node #0,1,0: 74:[79, 18] Operation: 84-66=18 Exploring Operation: 84-79=5, Resulting Numbers: [66, 5] Generated Node #0,1,1: 74:[66, 5] Operation: 84-79=5 Exploring Operation: 84+66=150, Resulting Numbers: [79, 150] Generated Node #0,1,2: 74:[79, 150] Operation: 84+66=150 Exploring Operation: 79-66=13, Resulting Numbers: [84, 13] Generated Node #0,1,3: 74:[84, 13] Operation: 79-66=13 Exploring Operation: 79+66=145, Resulting Numbers: [84, 145] Generated Node #0,1,4: 74:[84, 145] Operation: 79+66=145 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[66, 5], Operations: ['90-24=66', '84-79=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[79, 18], Operations: ['90-24=66', '84-66=18'] Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[84, 13], Operations: ['90-24=66', '79-66=13'] Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,74 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[79, 150], Operations: ['90-24=66', '84+66=150'] Exploring Operation: 79+150=229, Resulting Numbers: [229] 229,74 unequal: No Solution Exploring Operation: 150-79=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 79*150=11850, Resulting Numbers: [11850] 11850,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 74:[84, 145], Operations: ['90-24=66', '79+66=145'] Exploring Operation: 84+145=229, Resulting Numbers: [229] 229,74 unequal: No Solution Exploring Operation: 84*145=12180, Resulting Numbers: [12180] 12180,74 unequal: No Solution Exploring Operation: 145-84=61, Resulting Numbers: [61] 61,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[84, 24, 11], Operations: ['90-79=11'] Exploring Operation: 84+11=95, Resulting Numbers: [24, 95] Generated Node #0,0,0: 74:[24, 95] Operation: 84+11=95 Exploring Operation: 24+11=35, Resulting Numbers: [84, 35] Generated Node #0,0,1: 74:[84, 35] Operation: 24+11=35 Exploring Operation: 84-24=60, Resulting Numbers: [11, 60] Generated Node #0,0,2: 74:[11, 60] Operation: 84-24=60 Exploring Operation: 24-11=13, Resulting Numbers: [84, 13] Generated Node #0,0,3: 74:[84, 13] Operation: 24-11=13 Exploring Operation: 84-11=73, Resulting Numbers: [24, 73] Generated Node #0,0,4: 74:[24, 73] Operation: 84-11=73 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[84, 35], Operations: ['90-79=11', '24+11=35'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,74 unequal: No Solution Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[24, 73], Operations: ['90-79=11', '84-11=73'] Exploring Operation: 24+73=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 24*73=1752, Resulting Numbers: [1752] 1752,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[84, 13], Operations: ['90-79=11', '24-11=13'] Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,74 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[11, 60], Operations: ['90-79=11', '84-24=60'] Exploring Operation: 11+60=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 11*60=660, Resulting Numbers: [660] 660,74 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[24, 95], Operations: ['90-79=11', '84+11=95'] Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 24+95=119, Resulting Numbers: [119] 119,74 unequal: No Solution Exploring Operation: 24*95=2280, Resulting Numbers: [2280] 2280,74 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: 74:[90, 24, 5], Operations: ['84-79=5'] Exploring Operation: 24-5=19, Resulting Numbers: [90, 19] Generated Node #0,4,0: 74:[90, 19] Operation: 24-5=19 Exploring Operation: 90-24=66, Resulting Numbers: [5, 66] Generated Node #0,4,1: 74:[5, 66] Operation: 90-24=66 Exploring Operation: 24+5=29, Resulting Numbers: [90, 29] Generated Node #0,4,2: 74:[90, 29] Operation: 24+5=29 Exploring Operation: 90/5=18, Resulting Numbers: [24, 18] Generated Node #0,4,3: 74:[24, 18] Operation: 90/5=18 Exploring Operation: 90-5=85, Resulting Numbers: [24, 85] Generated Node #0,4,4: 74:[24, 85] Operation: 90-5=85 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 74:[5, 66], Operations: ['84-79=5', '90-24=66'] Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,74 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 74:[90, 29], Operations: ['84-79=5', '24+5=29'] Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,74 unequal: No Solution Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 74:[24, 85], Operations: ['84-79=5', '90-5=85'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 24*85=2040, Resulting Numbers: [2040] 2040,74 unequal: No Solution Exploring Operation: 24+85=109, Resulting Numbers: [109] 109,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 74:[24, 18], Operations: ['84-79=5', '90/5=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 74:[90, 19], Operations: ['84-79=5', '24-5=19'] Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,74 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 74:[90, 79, 60], Operations: ['84-24=60'] Exploring Operation: 79+60=139, Resulting Numbers: [90, 139] Generated Node #0,3,0: 74:[90, 139] Operation: 79+60=139 Exploring Operation: 90-79=11, Resulting Numbers: [60, 11] Generated Node #0,3,1: 74:[60, 11] Operation: 90-79=11 Exploring Operation: 79-60=19, Resulting Numbers: [90, 19] Generated Node #0,3,2: 74:[90, 19] Operation: 79-60=19 Exploring Operation: 90-60=30, Resulting Numbers: [79, 30] Generated Node #0,3,3: 74:[79, 30] Operation: 90-60=30 Exploring Operation: 90+60=150, Resulting Numbers: [79, 150] Generated Node #0,3,4: 74:[79, 150] Operation: 90+60=150 Moving to Node #0,2,2 Current State: 74:[79, 4], Operations: ['90-84=6', '24/6=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,74 unequal: No Solution Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[79, 30], Operations: ['84-24=60', '90-60=30'] Exploring Operation: 79*30=2370, Resulting Numbers: [2370] 2370,74 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[79, 30], Operations: ['90-84=6', '24+6=30'] Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 79*30=2370, Resulting Numbers: [2370] 2370,74 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[24, 73], Operations: ['90-84=6', '79-6=73'] Exploring Operation: 24*73=1752, Resulting Numbers: [1752] 1752,74 unequal: No Solution Exploring Operation: 24+73=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[79, 18], Operations: ['90-84=6', '24-6=18'] Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,74 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[6, 55], Operations: ['90-84=6', '79-24=55'] Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[60, 11], Operations: ['84-24=60', '90-79=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[90, 19], Operations: ['84-24=60', '79-60=19'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[79, 150], Operations: ['84-24=60', '90+60=150'] Exploring Operation: 79*150=11850, Resulting Numbers: [11850] 11850,74 unequal: No Solution Exploring Operation: 79+150=229, Resulting Numbers: [229] 229,74 unequal: No Solution Exploring Operation: 150-79=71, Resulting Numbers: [71] 71,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[90, 139], Operations: ['84-24=60', '79+60=139'] Exploring Operation: 90*139=12510, Resulting Numbers: [12510] 12510,74 unequal: No Solution Exploring Operation: 139-90=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 90+139=229, Resulting Numbers: [229] 229,74 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 92, 15, 47, 56 ]
98
[ "92+15=107", "56-47=9", "107-9=98" ]
Current State: 98:[92, 15, 47, 56], Operations: [] Exploring Operation: 92+15=107, Resulting Numbers: [47, 56, 107] Generated Node #2: [47, 56, 107] from Operation: 92+15=107 Current State: 98:[47, 56, 107], Operations: ['92+15=107'] Exploring Operation: 56-47=9, Resulting Numbers: [107, 9] Generated Node #3: [107, 9] from Operation: 56-47=9 Current State: 98:[107, 9], Operations: ['92+15=107', '56-47=9'] Exploring Operation: 107-9=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[92, 15, 47, 56], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [92, 15, 9] Generated Node #0,0: 98:[92, 15, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 98:[92, 15, 9], Operations: ['56-47=9'] Exploring Operation: 92+9=101, Resulting Numbers: [15, 101] Generated Node #0,0,0: 98:[15, 101] Operation: 92+9=101 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[15, 101], Operations: ['56-47=9', '92+9=101'] Exploring Operation: 101-15=86, Resulting Numbers: [86] 86,98 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
[ 65, 93, 54, 76 ]
91
[ "54+76=130", "130/65=2", "93-2=91" ]
Current State: 91:[65, 93, 54, 76], Operations: [] Exploring Operation: 54+76=130, Resulting Numbers: [65, 93, 130] Generated Node #2: [65, 93, 130] from Operation: 54+76=130 Current State: 91:[65, 93, 130], Operations: ['54+76=130'] Exploring Operation: 130/65=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 130/65=2 Current State: 91:[93, 2], Operations: ['54+76=130', '130/65=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[65, 93, 54, 76], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [93, 76, 11] Generated Node #0,0: 91:[93, 76, 11] Operation: 65-54=11 Exploring Operation: 93-65=28, Resulting Numbers: [54, 76, 28] Generated Node #0,1: 91:[54, 76, 28] Operation: 93-65=28 Exploring Operation: 76-65=11, Resulting Numbers: [93, 54, 11] Generated Node #0,2: 91:[93, 54, 11] Operation: 76-65=11 Exploring Operation: 65+54=119, Resulting Numbers: [93, 76, 119] Generated Node #0,3: 91:[93, 76, 119] Operation: 65+54=119 Exploring Operation: 76-54=22, Resulting Numbers: [65, 93, 22] Generated Node #0,4: 91:[65, 93, 22] Operation: 76-54=22 Moving to Node #0,0 Current State: 91:[93, 76, 11], Operations: ['65-54=11'] Exploring Operation: 93+11=104, Resulting Numbers: [76, 104] Generated Node #0,0,0: 91:[76, 104] Operation: 93+11=104 Exploring Operation: 76+11=87, Resulting Numbers: [93, 87] Generated Node #0,0,1: 91:[93, 87] Operation: 76+11=87 Exploring Operation: 93-76=17, Resulting Numbers: [11, 17] Generated Node #0,0,2: 91:[11, 17] Operation: 93-76=17 Exploring Operation: 76-11=65, Resulting Numbers: [93, 65] Generated Node #0,0,3: 91:[93, 65] Operation: 76-11=65 Exploring Operation: 93-11=82, Resulting Numbers: [76, 82] Generated Node #0,0,4: 91:[76, 82] Operation: 93-11=82 Moving to Node #0,4 Current State: 91:[65, 93, 22], Operations: ['76-54=22'] Exploring Operation: 93-65=28, Resulting Numbers: [22, 28] Generated Node #0,4,0: 91:[22, 28] Operation: 93-65=28 Exploring Operation: 93+22=115, Resulting Numbers: [65, 115] Generated Node #0,4,1: 91:[65, 115] Operation: 93+22=115 Exploring Operation: 93-22=71, Resulting Numbers: [65, 71] Generated Node #0,4,2: 91:[65, 71] Operation: 93-22=71 Exploring Operation: 65+22=87, Resulting Numbers: [93, 87] Generated Node #0,4,3: 91:[93, 87] Operation: 65+22=87 Exploring Operation: 65-22=43, Resulting Numbers: [93, 43] Generated Node #0,4,4: 91:[93, 43] Operation: 65-22=43 Moving to Node #0,2 Current State: 91:[93, 54, 11], Operations: ['76-65=11'] Exploring Operation: 93-11=82, Resulting Numbers: [54, 82] Generated Node #0,2,0: 91:[54, 82] Operation: 93-11=82 Exploring Operation: 54+11=65, Resulting Numbers: [93, 65] Generated Node #0,2,1: 91:[93, 65] Operation: 54+11=65 Exploring Operation: 93-54=39, Resulting Numbers: [11, 39] Generated Node #0,2,2: 91:[11, 39] Operation: 93-54=39 Exploring Operation: 93+11=104, Resulting Numbers: [54, 104] Generated Node #0,2,3: 91:[54, 104] Operation: 93+11=104 Exploring Operation: 54-11=43, Resulting Numbers: [93, 43] Generated Node #0,2,4: 91:[93, 43] Operation: 54-11=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[93, 65], Operations: ['76-65=11', '54+11=65'] Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,91 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[11, 39], Operations: ['76-65=11', '93-54=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 91:[93, 43], Operations: ['76-65=11', '54-11=43'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,91 unequal: No Solution Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[54, 82], Operations: ['76-65=11', '93-11=82'] Exploring Operation: 54*82=4428, Resulting Numbers: [4428] 4428,91 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 54+82=136, Resulting Numbers: [136] 136,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[54, 104], Operations: ['76-65=11', '93+11=104'] Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 54*104=5616, Resulting Numbers: [5616] 5616,91 unequal: No Solution Exploring Operation: 54+104=158, Resulting Numbers: [158] 158,91 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: 91:[93, 76, 119], Operations: ['65+54=119'] Exploring Operation: 93-76=17, Resulting Numbers: [119, 17] Generated Node #0,3,0: 91:[119, 17] Operation: 93-76=17 Exploring Operation: 119-93=26, Resulting Numbers: [76, 26] Generated Node #0,3,1: 91:[76, 26] Operation: 119-93=26 Exploring Operation: 119-76=43, Resulting Numbers: [93, 43] Generated Node #0,3,2: 91:[93, 43] Operation: 119-76=43 Exploring Operation: 93+76=169, Resulting Numbers: [119, 169] Generated Node #0,3,3: 91:[119, 169] Operation: 93+76=169 Exploring Operation: 76+119=195, Resulting Numbers: [93, 195] Generated Node #0,3,4: 91:[93, 195] Operation: 76+119=195 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[76, 26], Operations: ['65+54=119', '119-93=26'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,91 unequal: No Solution Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[119, 17], Operations: ['65+54=119', '93-76=17'] Exploring Operation: 119-17=102, Resulting Numbers: [102] 102,91 unequal: No Solution Exploring Operation: 119/17=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 119+17=136, Resulting Numbers: [136] 136,91 unequal: No Solution Exploring Operation: 119*17=2023, Resulting Numbers: [2023] 2023,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[93, 43], Operations: ['65+54=119', '119-76=43'] Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,91 unequal: No Solution Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[119, 169], Operations: ['65+54=119', '93+76=169'] Exploring Operation: 169-119=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 119+169=288, Resulting Numbers: [288] 288,91 unequal: No Solution Exploring Operation: 119*169=20111, Resulting Numbers: [20111] 20111,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 91:[93, 195], Operations: ['65+54=119', '76+119=195'] Exploring Operation: 93*195=18135, Resulting Numbers: [18135] 18135,91 unequal: No Solution Exploring Operation: 93+195=288, Resulting Numbers: [288] 288,91 unequal: No Solution Exploring Operation: 195-93=102, Resulting Numbers: [102] 102,91 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: 91:[54, 76, 28], Operations: ['93-65=28'] Exploring Operation: 54-28=26, Resulting Numbers: [76, 26] Generated Node #0,1,0: 91:[76, 26] Operation: 54-28=26 Exploring Operation: 54+76=130, Resulting Numbers: [28, 130] Generated Node #0,1,1: 91:[28, 130] Operation: 54+76=130 Exploring Operation: 76+28=104, Resulting Numbers: [54, 104] Generated Node #0,1,2: 91:[54, 104] Operation: 76+28=104 Exploring Operation: 76-54=22, Resulting Numbers: [28, 22] Generated Node #0,1,3: 91:[28, 22] Operation: 76-54=22 Exploring Operation: 54+28=82, Resulting Numbers: [76, 82] Generated Node #0,1,4: 91:[76, 82] Operation: 54+28=82 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[28, 22], Operations: ['93-65=28', '76-54=22'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 91:[76, 82], Operations: ['93-65=28', '54+28=82'] Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,91 unequal: No Solution Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[76, 26], Operations: ['93-65=28', '54-28=26'] Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,91 unequal: No Solution Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,91 unequal: No Solution Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[54, 104], Operations: ['93-65=28', '76+28=104'] Exploring Operation: 54*104=5616, Resulting Numbers: [5616] 5616,91 unequal: No Solution Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 54+104=158, Resulting Numbers: [158] 158,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[28, 130], Operations: ['93-65=28', '54+76=130'] Exploring Operation: 28*130=3640, Resulting Numbers: [3640] 3640,91 unequal: No Solution Exploring Operation: 130-28=102, Resulting Numbers: [102] 102,91 unequal: No Solution Exploring Operation: 28+130=158, Resulting Numbers: [158] 158,91 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: 91:[93, 87], Operations: ['65-54=11', '76+11=87'] Exploring Operation: 93-87=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 93*87=8091, Resulting Numbers: [8091] 8091,91 unequal: No Solution Exploring Operation: 93+87=180, Resulting Numbers: [180] 180,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[93, 87], Operations: ['76-54=22', '65+22=87'] Exploring Operation: 93-87=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 93*87=8091, Resulting Numbers: [8091] 8091,91 unequal: No Solution Exploring Operation: 93+87=180, Resulting Numbers: [180] 180,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[11, 17], Operations: ['65-54=11', '93-76=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,91 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[22, 28], Operations: ['76-54=22', '93-65=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,91 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,91 unequal: No Solution Moving to Node #0,0,4 Current State: 91:[76, 82], Operations: ['65-54=11', '93-11=82'] Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,91 unequal: No Solution Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[93, 65], Operations: ['65-54=11', '76-11=65'] Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,91 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[76, 104], Operations: ['65-54=11', '93+11=104'] Exploring Operation: 76+104=180, Resulting Numbers: [180] 180,91 unequal: No Solution Exploring Operation: 104-76=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 76*104=7904, Resulting Numbers: [7904] 7904,91 unequal: No Solution Moving to Node #0,4,4 Current State: 91:[93, 43], Operations: ['76-54=22', '65-22=43'] Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,91 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,91 unequal: No Solution Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[65, 71], Operations: ['76-54=22', '93-22=71'] Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,91 unequal: No Solution Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,91 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,91 unequal: No Solution Moving to Node #0,4,1 Current State: 91:[65, 115], Operations: ['76-54=22', '93+22=115'] Exploring Operation: 115-65=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 65+115=180, Resulting Numbers: [180] 180,91 unequal: No Solution Exploring Operation: 65*115=7475, Resulting Numbers: [7475] 7475,91 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 14, 3, 51, 6 ]
22
[ "51-3=48", "48/6=8", "14+8=22" ]
Current State: 22:[14, 3, 51, 6], Operations: [] Exploring Operation: 51-3=48, Resulting Numbers: [14, 6, 48] Generated Node #2: [14, 6, 48] from Operation: 51-3=48 Current State: 22:[14, 6, 48], Operations: ['51-3=48'] Exploring Operation: 48/6=8, Resulting Numbers: [14, 8] Generated Node #3: [14, 8] from Operation: 48/6=8 Current State: 22:[14, 8], Operations: ['51-3=48', '48/6=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[14, 3, 51, 6], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [14, 6, 17] Generated Node #0,0: 22:[14, 6, 17] Operation: 51/3=17 Exploring Operation: 51-6=45, Resulting Numbers: [14, 3, 45] Generated Node #0,1: 22:[14, 3, 45] Operation: 51-6=45 Exploring Operation: 51-14=37, Resulting Numbers: [3, 6, 37] Generated Node #0,2: 22:[3, 6, 37] Operation: 51-14=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[14, 6, 17], Operations: ['51/3=17'] Exploring Operation: 6+17=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 22:[14, 23] Operation: 6+17=23 Exploring Operation: 17-14=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 22:[6, 3] Operation: 17-14=3 Exploring Operation: 17-6=11, Resulting Numbers: [14, 11] Generated Node #0,0,2: 22:[14, 11] Operation: 17-6=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 22:[14, 11], Operations: ['51/3=17', '17-6=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,22 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[14, 23], Operations: ['51/3=17', '6+17=23'] Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,22 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,22 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[6, 3], Operations: ['51/3=17', '17-14=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[3, 6, 37], Operations: ['51-14=37'] Exploring Operation: 37-6=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 22:[3, 31] Operation: 37-6=31 Exploring Operation: 6/3=2, Resulting Numbers: [37, 2] Generated Node #0,2,1: 22:[37, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [37, 3] Generated Node #0,2,2: 22:[37, 3] Operation: 6-3=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 22:[3, 31], Operations: ['51-14=37', '37-6=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 22:[37, 2], Operations: ['51-14=37', '6/3=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,22 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 22:[37, 3], Operations: ['51-14=37', '6-3=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,22 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[14, 3, 45], Operations: ['51-6=45'] Exploring Operation: 45-14=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 22:[3, 31] Operation: 45-14=31 Exploring Operation: 45/3=15, Resulting Numbers: [14, 15] Generated Node #0,1,1: 22:[14, 15] Operation: 45/3=15 Exploring Operation: 14-3=11, Resulting Numbers: [45, 11] Generated Node #0,1,2: 22:[45, 11] Operation: 14-3=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[14, 15], Operations: ['51-6=45', '45/3=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[3, 31], Operations: ['51-6=45', '45-14=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 22:[45, 11], Operations: ['51-6=45', '14-3=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,22 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 29, 22, 40, 26 ]
32
[ "40+26=66", "66/22=3", "29+3=32" ]
Current State: 32:[29, 22, 40, 26], Operations: [] Exploring Operation: 40+26=66, Resulting Numbers: [29, 22, 66] Generated Node #2: [29, 22, 66] from Operation: 40+26=66 Current State: 32:[29, 22, 66], Operations: ['40+26=66'] Exploring Operation: 66/22=3, Resulting Numbers: [29, 3] Generated Node #3: [29, 3] from Operation: 66/22=3 Current State: 32:[29, 3], Operations: ['40+26=66', '66/22=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[29, 22, 40, 26], Operations: [] Exploring Operation: 40-22=18, Resulting Numbers: [29, 26, 18] Generated Node #0,0: 32:[29, 26, 18] Operation: 40-22=18 Exploring Operation: 26-22=4, Resulting Numbers: [29, 40, 4] Generated Node #0,1: 32:[29, 40, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[29, 26, 18], Operations: ['40-22=18'] Exploring Operation: 29-26=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 32:[18, 3] Operation: 29-26=3 Exploring Operation: 26-18=8, Resulting Numbers: [29, 8] Generated Node #0,0,1: 32:[29, 8] Operation: 26-18=8 Moving to Node #0,0,0 Current State: 32:[18, 3], Operations: ['40-22=18', '29-26=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[29, 8], Operations: ['40-22=18', '26-18=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[29, 40, 4], Operations: ['26-22=4'] Exploring Operation: 40/4=10, Resulting Numbers: [29, 10] Generated Node #0,1,0: 32:[29, 10] Operation: 40/4=10 Exploring Operation: 40-29=11, Resulting Numbers: [4, 11] Generated Node #0,1,1: 32:[4, 11] Operation: 40-29=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[4, 11], Operations: ['26-22=4', '40-29=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,32 unequal: No Solution No 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: 32:[29, 10], Operations: ['26-22=4', '40/4=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,32 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
[ 76, 91, 19, 34 ]
45
[ "76/19=4", "34*4=136", "136-91=45" ]
Current State: 45:[76, 91, 19, 34], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [91, 34, 4] Generated Node #2: [91, 34, 4] from Operation: 76/19=4 Current State: 45:[91, 34, 4], Operations: ['76/19=4'] Exploring Operation: 34*4=136, Resulting Numbers: [91, 136] Generated Node #3: [91, 136] from Operation: 34*4=136 Current State: 45:[91, 136], Operations: ['76/19=4', '34*4=136'] Exploring Operation: 136-91=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[76, 91, 19, 34], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [91, 34, 4] Generated Node #0,0: 45:[91, 34, 4] Operation: 76/19=4 Exploring Operation: 76-34=42, Resulting Numbers: [91, 19, 42] Generated Node #0,1: 45:[91, 19, 42] Operation: 76-34=42 Exploring Operation: 91-76=15, Resulting Numbers: [19, 34, 15] Generated Node #0,2: 45:[19, 34, 15] Operation: 91-76=15 Exploring Operation: 91-34=57, Resulting Numbers: [76, 19, 57] Generated Node #0,3: 45:[76, 19, 57] Operation: 91-34=57 Moving to Node #0,2 Current State: 45:[19, 34, 15], Operations: ['91-76=15'] Exploring Operation: 19+34=53, Resulting Numbers: [15, 53] Generated Node #0,2,0: 45:[15, 53] Operation: 19+34=53 Exploring Operation: 34+15=49, Resulting Numbers: [19, 49] Generated Node #0,2,1: 45:[19, 49] Operation: 34+15=49 Exploring Operation: 34-15=19, Resulting Numbers: [19, 19] Generated Node #0,2,2: 45:[19, 19] Operation: 34-15=19 Exploring Operation: 34-19=15, Resulting Numbers: [15, 15] Generated Node #0,2,3: 45:[15, 15] Operation: 34-19=15 Moving to Node #0,3 Current State: 45:[76, 19, 57], Operations: ['91-34=57'] Exploring Operation: 76/19=4, Resulting Numbers: [57, 4] Generated Node #0,3,0: 45:[57, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [57, 57] Generated Node #0,3,1: 45:[57, 57] Operation: 76-19=57 Exploring Operation: 57/19=3, Resulting Numbers: [76, 3] Generated Node #0,3,2: 45:[76, 3] Operation: 57/19=3 Exploring Operation: 76-57=19, Resulting Numbers: [19, 19] Generated Node #0,3,3: 45:[19, 19] Operation: 76-57=19 Moving to Node #0,1 Current State: 45:[91, 19, 42], Operations: ['76-34=42'] Exploring Operation: 91-19=72, Resulting Numbers: [42, 72] Generated Node #0,1,0: 45:[42, 72] Operation: 91-19=72 Exploring Operation: 19+42=61, Resulting Numbers: [91, 61] Generated Node #0,1,1: 45:[91, 61] Operation: 19+42=61 Exploring Operation: 42-19=23, Resulting Numbers: [91, 23] Generated Node #0,1,2: 45:[91, 23] Operation: 42-19=23 Exploring Operation: 91-42=49, Resulting Numbers: [19, 49] Generated Node #0,1,3: 45:[19, 49] Operation: 91-42=49 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[19, 49], Operations: ['76-34=42', '91-42=49'] Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,45 unequal: No Solution Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[42, 72], Operations: ['76-34=42', '91-19=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[91, 23], Operations: ['76-34=42', '42-19=23'] Exploring Operation: 91*23=2093, Resulting Numbers: [2093] 2093,45 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[91, 61], Operations: ['76-34=42', '19+42=61'] Exploring Operation: 91+61=152, Resulting Numbers: [152] 152,45 unequal: No Solution Exploring Operation: 91*61=5551, Resulting Numbers: [5551] 5551,45 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,45 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: 45:[91, 34, 4], Operations: ['76/19=4'] Exploring Operation: 91-34=57, Resulting Numbers: [4, 57] Generated Node #0,0,0: 45:[4, 57] Operation: 91-34=57 Exploring Operation: 91-4=87, Resulting Numbers: [34, 87] Generated Node #0,0,1: 45:[34, 87] Operation: 91-4=87 Exploring Operation: 91+4=95, Resulting Numbers: [34, 95] Generated Node #0,0,2: 45:[34, 95] Operation: 91+4=95 Exploring Operation: 34+4=38, Resulting Numbers: [91, 38] Generated Node #0,0,3: 45:[91, 38] Operation: 34+4=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[4, 57], Operations: ['76/19=4', '91-34=57'] Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,45 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[34, 87], Operations: ['76/19=4', '91-4=87'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 34*87=2958, Resulting Numbers: [2958] 2958,45 unequal: No Solution Exploring Operation: 34+87=121, Resulting Numbers: [121] 121,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[91, 38], Operations: ['76/19=4', '34+4=38'] Exploring Operation: 91*38=3458, Resulting Numbers: [3458] 3458,45 unequal: No Solution Exploring Operation: 91+38=129, Resulting Numbers: [129] 129,45 unequal: No Solution Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[34, 95], Operations: ['76/19=4', '91+4=95'] Exploring Operation: 34*95=3230, Resulting Numbers: [3230] 3230,45 unequal: No Solution Exploring Operation: 34+95=129, Resulting Numbers: [129] 129,45 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 45:[15, 15], Operations: ['91-76=15', '34-19=15'] Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,45 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[19, 49], Operations: ['91-76=15', '34+15=49'] Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[15, 53], Operations: ['91-76=15', '19+34=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,45 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[19, 19], Operations: ['91-34=57', '76-57=19'] Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,45 unequal: No Solution Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,45 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[19, 19], Operations: ['91-76=15', '34-15=19'] Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,45 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[57, 4], Operations: ['91-34=57', '76/19=4'] Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,45 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,45 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[57, 57], Operations: ['91-34=57', '76-19=57'] Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,45 unequal: No Solution Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[76, 3], Operations: ['91-34=57', '57/19=3'] Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,45 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 77, 73, 2, 77 ]
83
[ "77-73=4", "2+77=79", "4+79=83" ]
Current State: 83:[77, 73, 2, 77], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [2, 4] Generated Node #2: [2, 4] from Operation: 77-73=4 Current State: 83:[2, 4], Operations: ['77-73=4'] Exploring Operation: 2+77=79, Resulting Numbers: [4, 79] Generated Node #3: [4, 79] from Operation: 2+77=79 Current State: 83:[4, 79], Operations: ['77-73=4', '2+77=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[77, 73, 2, 77], Operations: [] Exploring Operation: 2+77=79, Resulting Numbers: [77, 73, 79] Generated Node #0,0: 83:[77, 73, 79] Operation: 2+77=79 Exploring Operation: 77+2=79, Resulting Numbers: [73, 77, 79] Generated Node #0,1: 83:[73, 77, 79] Operation: 77+2=79 Exploring Operation: 73+2=75, Resulting Numbers: [77, 77, 75] Generated Node #0,2: 83:[77, 77, 75] Operation: 73+2=75 Moving to Node #0,0 Current State: 83:[77, 73, 79], Operations: ['2+77=79'] Exploring Operation: 73+79=152, Resulting Numbers: [77, 152] Generated Node #0,0,0: 83:[77, 152] Operation: 73+79=152 Exploring Operation: 77+73=150, Resulting Numbers: [79, 150] Generated Node #0,0,1: 83:[79, 150] Operation: 77+73=150 Exploring Operation: 77-73=4, Resulting Numbers: [79, 4] Generated Node #0,0,2: 83:[79, 4] Operation: 77-73=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[79, 150], Operations: ['2+77=79', '77+73=150'] Exploring Operation: 79*150=11850, Resulting Numbers: [11850] 11850,83 unequal: No Solution Exploring Operation: 150-79=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 79+150=229, Resulting Numbers: [229] 229,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,0 Current State: 83:[77, 152], Operations: ['2+77=79', '73+79=152'] Exploring Operation: 77+152=229, Resulting Numbers: [229] 229,83 unequal: No Solution Exploring Operation: 152-77=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 77*152=11704, Resulting Numbers: [11704] 11704,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[79, 4], Operations: ['2+77=79', '77-73=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,83 unequal: No Solution Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[77, 73, 2, 77], Operations: [] Exploring Operation: 2+77=79, Resulting Numbers: [77, 73, 79] Generated Node #0,0: 83:[77, 73, 79] Operation: 2+77=79 Moving to Node #0,0 Current State: 83:[77, 73, 79], Operations: ['2+77=79'] Exploring Operation: 77-73=4, Resulting Numbers: [79, 4] Generated Node #0,0,2: 83:[79, 4] Operation: 77-73=4 Moving to Node #0,0,2 Current State: 83:[79, 4], Operations: ['2+77=79', '77-73=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 9, 48, 3, 10 ]
80
[ "9-3=6", "48*10=480", "480/6=80" ]
Current State: 80:[9, 48, 3, 10], Operations: [] Exploring Operation: 9-3=6, Resulting Numbers: [48, 10, 6] Generated Node #2: [48, 10, 6] from Operation: 9-3=6 Current State: 80:[48, 10, 6], Operations: ['9-3=6'] Exploring Operation: 48*10=480, Resulting Numbers: [6, 480] Generated Node #3: [6, 480] from Operation: 48*10=480 Current State: 80:[6, 480], Operations: ['9-3=6', '48*10=480'] Exploring Operation: 480/6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[9, 48, 3, 10], Operations: [] Exploring Operation: 48-3=45, Resulting Numbers: [9, 10, 45] Generated Node #0,0: 80:[9, 10, 45] Operation: 48-3=45 Exploring Operation: 48-10=38, Resulting Numbers: [9, 3, 38] Generated Node #0,1: 80:[9, 3, 38] Operation: 48-10=38 Exploring Operation: 48/3=16, Resulting Numbers: [9, 10, 16] Generated Node #0,2: 80:[9, 10, 16] Operation: 48/3=16 Exploring Operation: 48-9=39, Resulting Numbers: [3, 10, 39] Generated Node #0,3: 80:[3, 10, 39] Operation: 48-9=39 Moving to Node #0,2 Current State: 80:[9, 10, 16], Operations: ['48/3=16'] Exploring Operation: 9+10=19, Resulting Numbers: [16, 19] Generated Node #0,2,0: 80:[16, 19] Operation: 9+10=19 Exploring Operation: 16-9=7, Resulting Numbers: [10, 7] Generated Node #0,2,1: 80:[10, 7] Operation: 16-9=7 Exploring Operation: 16-10=6, Resulting Numbers: [9, 6] Generated Node #0,2,2: 80:[9, 6] Operation: 16-10=6 Exploring Operation: 10-9=1, Resulting Numbers: [16, 1] Generated Node #0,2,3: 80:[16, 1] Operation: 10-9=1 Moving to Node #0,3 Current State: 80:[3, 10, 39], Operations: ['48-9=39'] Exploring Operation: 10-3=7, Resulting Numbers: [39, 7] Generated Node #0,3,0: 80:[39, 7] Operation: 10-3=7 Exploring Operation: 3+39=42, Resulting Numbers: [10, 42] Generated Node #0,3,1: 80:[10, 42] Operation: 3+39=42 Exploring Operation: 39/3=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 80:[10, 13] Operation: 39/3=13 Exploring Operation: 3+10=13, Resulting Numbers: [39, 13] Generated Node #0,3,3: 80:[39, 13] Operation: 3+10=13 Moving to Node #0,1 Current State: 80:[9, 3, 38], Operations: ['48-10=38'] Exploring Operation: 9/3=3, Resulting Numbers: [38, 3] Generated Node #0,1,0: 80:[38, 3] Operation: 9/3=3 Exploring Operation: 9+3=12, Resulting Numbers: [38, 12] Generated Node #0,1,1: 80:[38, 12] Operation: 9+3=12 Exploring Operation: 9-3=6, Resulting Numbers: [38, 6] Generated Node #0,1,2: 80:[38, 6] Operation: 9-3=6 Exploring Operation: 3+38=41, Resulting Numbers: [9, 41] Generated Node #0,1,3: 80:[9, 41] Operation: 3+38=41 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[9, 41], Operations: ['48-10=38', '3+38=41'] Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,80 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[38, 3], Operations: ['48-10=38', '9/3=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[38, 6], Operations: ['48-10=38', '9-3=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[38, 12], Operations: ['48-10=38', '9+3=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,80 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: 80:[9, 10, 45], Operations: ['48-3=45'] Exploring Operation: 45/9=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 80:[10, 5] Operation: 45/9=5 Exploring Operation: 10-9=1, Resulting Numbers: [45, 1] Generated Node #0,0,1: 80:[45, 1] Operation: 10-9=1 Exploring Operation: 9+10=19, Resulting Numbers: [45, 19] Generated Node #0,0,2: 80:[45, 19] Operation: 9+10=19 Exploring Operation: 45-9=36, Resulting Numbers: [10, 36] Generated Node #0,0,3: 80:[10, 36] Operation: 45-9=36 Moving to Node #0,0,0 Current State: 80:[10, 5], Operations: ['48-3=45', '45/9=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[16, 1], Operations: ['48/3=16', '10-9=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[16, 19], Operations: ['48/3=16', '9+10=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,80 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[10, 7], Operations: ['48/3=16', '16-9=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[10, 42], Operations: ['48-9=39', '3+39=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,80 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[39, 7], Operations: ['48-9=39', '10-3=7'] Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,80 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[9, 6], Operations: ['48/3=16', '16-10=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[10, 13], Operations: ['48-9=39', '39/3=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,80 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[10, 36], Operations: ['48-3=45', '45-9=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,80 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[39, 13], Operations: ['48-9=39', '3+10=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[45, 1], Operations: ['48-3=45', '10-9=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[45, 19], Operations: ['48-3=45', '9+10=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,80 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 11, 2, 20, 29 ]
40
[ "11-2=9", "20+29=49", "49-9=40" ]
Current State: 40:[11, 2, 20, 29], Operations: [] Exploring Operation: 11-2=9, Resulting Numbers: [20, 29, 9] Generated Node #2: [20, 29, 9] from Operation: 11-2=9 Current State: 40:[20, 29, 9], Operations: ['11-2=9'] Exploring Operation: 20+29=49, Resulting Numbers: [9, 49] Generated Node #3: [9, 49] from Operation: 20+29=49 Current State: 40:[9, 49], Operations: ['11-2=9', '20+29=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[11, 2, 20, 29], Operations: [] Exploring Operation: 11+29=40, Resulting Numbers: [2, 20, 40] Generated Node #0,0: 40:[2, 20, 40] Operation: 11+29=40 Moving to Node #0,0 Current State: 40:[2, 20, 40], Operations: ['11+29=40'] Exploring Operation: 2*20=40, Resulting Numbers: [40, 40] Generated Node #0,0,0: 40:[40, 40] Operation: 2*20=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[40, 40], Operations: ['11+29=40', '2*20=40'] Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 89, 58, 54, 43 ]
83
[ "58-54=4", "43*4=172", "172-89=83" ]
Current State: 83:[89, 58, 54, 43], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [89, 43, 4] Generated Node #2: [89, 43, 4] from Operation: 58-54=4 Current State: 83:[89, 43, 4], Operations: ['58-54=4'] Exploring Operation: 43*4=172, Resulting Numbers: [89, 172] Generated Node #3: [89, 172] from Operation: 43*4=172 Current State: 83:[89, 172], Operations: ['58-54=4', '43*4=172'] Exploring Operation: 172-89=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[89, 58, 54, 43], Operations: [] Exploring Operation: 54+43=97, Resulting Numbers: [89, 58, 97] Generated Node #0,0: 83:[89, 58, 97] Operation: 54+43=97 Exploring Operation: 89-43=46, Resulting Numbers: [58, 54, 46] Generated Node #0,1: 83:[58, 54, 46] Operation: 89-43=46 Exploring Operation: 58+43=101, Resulting Numbers: [89, 54, 101] Generated Node #0,2: 83:[89, 54, 101] Operation: 58+43=101 Exploring Operation: 58+54=112, Resulting Numbers: [89, 43, 112] Generated Node #0,3: 83:[89, 43, 112] Operation: 58+54=112 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[89, 58, 97], Operations: ['54+43=97'] Exploring Operation: 97-58=39, Resulting Numbers: [89, 39] Generated Node #0,0,0: 83:[89, 39] Operation: 97-58=39 Exploring Operation: 89+58=147, Resulting Numbers: [97, 147] Generated Node #0,0,1: 83:[97, 147] Operation: 89+58=147 Exploring Operation: 89-58=31, Resulting Numbers: [97, 31] Generated Node #0,0,2: 83:[97, 31] Operation: 89-58=31 Exploring Operation: 58+97=155, Resulting Numbers: [89, 155] Generated Node #0,0,3: 83:[89, 155] Operation: 58+97=155 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[89, 39], Operations: ['54+43=97', '97-58=39'] Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,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:[97, 31], Operations: ['54+43=97', '89-58=31'] Exploring Operation: 97+31=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 97*31=3007, Resulting Numbers: [3007] 3007,83 unequal: No Solution Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,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,1 Current State: 83:[97, 147], Operations: ['54+43=97', '89+58=147'] Exploring Operation: 147-97=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 97*147=14259, Resulting Numbers: [14259] 14259,83 unequal: No Solution Exploring Operation: 97+147=244, Resulting Numbers: [244] 244,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:[89, 155], Operations: ['54+43=97', '58+97=155'] Exploring Operation: 89+155=244, Resulting Numbers: [244] 244,83 unequal: No Solution Exploring Operation: 89*155=13795, Resulting Numbers: [13795] 13795,83 unequal: No Solution Exploring Operation: 155-89=66, Resulting Numbers: [66] 66,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:[89, 54, 101], Operations: ['58+43=101'] Exploring Operation: 101-54=47, Resulting Numbers: [89, 47] Generated Node #0,2,0: 83:[89, 47] Operation: 101-54=47 Exploring Operation: 89+54=143, Resulting Numbers: [101, 143] Generated Node #0,2,1: 83:[101, 143] Operation: 89+54=143 Exploring Operation: 89-54=35, Resulting Numbers: [101, 35] Generated Node #0,2,2: 83:[101, 35] Operation: 89-54=35 Exploring Operation: 54+101=155, Resulting Numbers: [89, 155] Generated Node #0,2,3: 83:[89, 155] Operation: 54+101=155 Moving to Node #0,2,0 Current State: 83:[89, 47], Operations: ['58+43=101', '101-54=47'] Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[101, 35], Operations: ['58+43=101', '89-54=35'] Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 101*35=3535, Resulting Numbers: [3535] 3535,83 unequal: No Solution Exploring Operation: 101+35=136, Resulting Numbers: [136] 136,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[89, 155], Operations: ['58+43=101', '54+101=155'] Exploring Operation: 89+155=244, Resulting Numbers: [244] 244,83 unequal: No Solution Exploring Operation: 155-89=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 89*155=13795, Resulting Numbers: [13795] 13795,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[101, 143], Operations: ['58+43=101', '89+54=143'] Exploring Operation: 143-101=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 101*143=14443, Resulting Numbers: [14443] 14443,83 unequal: No Solution Exploring Operation: 101+143=244, Resulting Numbers: [244] 244,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:[89, 43, 112], Operations: ['58+54=112'] Exploring Operation: 112-43=69, Resulting Numbers: [89, 69] Generated Node #0,3,0: 83:[89, 69] Operation: 112-43=69 Exploring Operation: 89+43=132, Resulting Numbers: [112, 132] Generated Node #0,3,1: 83:[112, 132] Operation: 89+43=132 Exploring Operation: 43+112=155, Resulting Numbers: [89, 155] Generated Node #0,3,2: 83:[89, 155] Operation: 43+112=155 Exploring Operation: 89-43=46, Resulting Numbers: [112, 46] Generated Node #0,3,3: 83:[112, 46] Operation: 89-43=46 Moving to Node #0,3,0 Current State: 83:[89, 69], Operations: ['58+54=112', '112-43=69'] Exploring Operation: 89+69=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 89*69=6141, Resulting Numbers: [6141] 6141,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[112, 46], Operations: ['58+54=112', '89-43=46'] Exploring Operation: 112*46=5152, Resulting Numbers: [5152] 5152,83 unequal: No Solution Exploring Operation: 112-46=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 112+46=158, Resulting Numbers: [158] 158,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[89, 155], Operations: ['58+54=112', '43+112=155'] Exploring Operation: 155-89=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 89*155=13795, Resulting Numbers: [13795] 13795,83 unequal: No Solution Exploring Operation: 89+155=244, Resulting Numbers: [244] 244,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[112, 132], Operations: ['58+54=112', '89+43=132'] Exploring Operation: 112*132=14784, Resulting Numbers: [14784] 14784,83 unequal: No Solution Exploring Operation: 132-112=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 112+132=244, Resulting Numbers: [244] 244,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:[58, 54, 46], Operations: ['89-43=46'] Exploring Operation: 58+46=104, Resulting Numbers: [54, 104] Generated Node #0,1,0: 83:[54, 104] Operation: 58+46=104 Exploring Operation: 58+54=112, Resulting Numbers: [46, 112] Generated Node #0,1,1: 83:[46, 112] Operation: 58+54=112 Exploring Operation: 54+46=100, Resulting Numbers: [58, 100] Generated Node #0,1,2: 83:[58, 100] Operation: 54+46=100 Exploring Operation: 58-46=12, Resulting Numbers: [54, 12] Generated Node #0,1,3: 83:[54, 12] Operation: 58-46=12 Moving to Node #0,1,2 Current State: 83:[58, 100], Operations: ['89-43=46', '54+46=100'] Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,83 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[54, 104], Operations: ['89-43=46', '58+46=104'] Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 54*104=5616, Resulting Numbers: [5616] 5616,83 unequal: No Solution Exploring Operation: 54+104=158, Resulting Numbers: [158] 158,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[46, 112], Operations: ['89-43=46', '58+54=112'] Exploring Operation: 46+112=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 46*112=5152, Resulting Numbers: [5152] 5152,83 unequal: No Solution Exploring Operation: 112-46=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[54, 12], Operations: ['89-43=46', '58-46=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,83 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,83 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
[ 85, 96, 31, 47 ]
91
[ "47-31=16", "96/16=6", "85+6=91" ]
Current State: 91:[85, 96, 31, 47], Operations: [] Exploring Operation: 47-31=16, Resulting Numbers: [85, 96, 16] Generated Node #2: [85, 96, 16] from Operation: 47-31=16 Current State: 91:[85, 96, 16], Operations: ['47-31=16'] Exploring Operation: 96/16=6, Resulting Numbers: [85, 6] Generated Node #3: [85, 6] from Operation: 96/16=6 Current State: 91:[85, 6], Operations: ['47-31=16', '96/16=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[85, 96, 31, 47], Operations: [] Exploring Operation: 31+47=78, Resulting Numbers: [85, 96, 78] Generated Node #0,0: 91:[85, 96, 78] Operation: 31+47=78 Exploring Operation: 85-47=38, Resulting Numbers: [96, 31, 38] Generated Node #0,1: 91:[96, 31, 38] Operation: 85-47=38 Exploring Operation: 47-31=16, Resulting Numbers: [85, 96, 16] Generated Node #0,2: 91:[85, 96, 16] Operation: 47-31=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[85, 96, 16], Operations: ['47-31=16'] Exploring Operation: 96-85=11, Resulting Numbers: [16, 11] Generated Node #0,2,0: 91:[16, 11] Operation: 96-85=11 Exploring Operation: 96/16=6, Resulting Numbers: [85, 6] Generated Node #0,2,1: 91:[85, 6] Operation: 96/16=6 Exploring Operation: 85+16=101, Resulting Numbers: [96, 101] Generated Node #0,2,2: 91:[96, 101] Operation: 85+16=101 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[16, 11], Operations: ['47-31=16', '96-85=11'] Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,91 unequal: No Solution No 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: 91:[85, 6], Operations: ['47-31=16', '96/16=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[85, 96, 31, 47], Operations: [] Exploring Operation: 47-31=16, Resulting Numbers: [85, 96, 16] Generated Node #0,2: 91:[85, 96, 16] Operation: 47-31=16 Moving to Node #0,2 Current State: 91:[85, 96, 16], Operations: ['47-31=16'] Exploring Operation: 96/16=6, Resulting Numbers: [85, 6] Generated Node #0,2,1: 91:[85, 6] Operation: 96/16=6 Moving to Node #0,2,1 Current State: 91:[85, 6], Operations: ['47-31=16', '96/16=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 8, 27, 23, 50 ]
18
[ "27-23=4", "8*4=32", "50-32=18" ]
Current State: 18:[8, 27, 23, 50], Operations: [] Exploring Operation: 27-23=4, Resulting Numbers: [8, 50, 4] Generated Node #2: [8, 50, 4] from Operation: 27-23=4 Current State: 18:[8, 50, 4], Operations: ['27-23=4'] Exploring Operation: 8*4=32, Resulting Numbers: [50, 32] Generated Node #3: [50, 32] from Operation: 8*4=32 Current State: 18:[50, 32], Operations: ['27-23=4', '8*4=32'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[8, 27, 23, 50], Operations: [] Exploring Operation: 50-27=23, Resulting Numbers: [8, 23, 23] Generated Node #0,0: 18:[8, 23, 23] Operation: 50-27=23 Exploring Operation: 50-23=27, Resulting Numbers: [8, 27, 27] Generated Node #0,1: 18:[8, 27, 27] Operation: 50-23=27 Moving to Node #0,0 Current State: 18:[8, 23, 23], Operations: ['50-27=23'] Exploring Operation: 23/23=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 18:[8, 1] Operation: 23/23=1 Exploring Operation: 23-23=0, Resulting Numbers: [8, 0] Generated Node #0,0,1: 18:[8, 0] Operation: 23-23=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[8, 1], Operations: ['50-27=23', '23/23=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[8, 0], Operations: ['50-27=23', '23-23=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[8, 27, 27], Operations: ['50-23=27'] Exploring Operation: 27/27=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 18:[8, 1] Operation: 27/27=1 Exploring Operation: 27-27=0, Resulting Numbers: [8, 0] Generated Node #0,1,1: 18:[8, 0] Operation: 27-27=0 Moving to Node #0,1,0 Current State: 18:[8, 1], Operations: ['50-23=27', '27/27=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[8, 0], Operations: ['50-23=27', '27-27=0'] Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 73, 86, 53, 86 ]
19
[ "73-53=20", "86/86=1", "20-1=19" ]
Current State: 19:[73, 86, 53, 86], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [86, 86, 20] Generated Node #2: [86, 86, 20] from Operation: 73-53=20 Current State: 19:[86, 86, 20], Operations: ['73-53=20'] Exploring Operation: 86/86=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 86/86=1 Current State: 19:[20, 1], Operations: ['73-53=20', '86/86=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[73, 86, 53, 86], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [53, 86, 13] Generated Node #0,0: 19:[53, 86, 13] Operation: 86-73=13 Exploring Operation: 86/86=1, Resulting Numbers: [73, 53, 1] Generated Node #0,1: 19:[73, 53, 1] Operation: 86/86=1 Moving to Node #0,1 Current State: 19:[73, 53, 1], Operations: ['86/86=1'] Exploring Operation: 73-1=72, Resulting Numbers: [53, 72] Generated Node #0,1,0: 19:[53, 72] Operation: 73-1=72 Exploring Operation: 73-53=20, Resulting Numbers: [1, 20] Generated Node #0,1,1: 19:[1, 20] Operation: 73-53=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[1, 20], Operations: ['86/86=1', '73-53=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[73, 86, 53, 86], Operations: [] Exploring Operation: 86/86=1, Resulting Numbers: [73, 53, 1] Generated Node #0,1: 19:[73, 53, 1] Operation: 86/86=1 Moving to Node #0,1 Current State: 19:[73, 53, 1], Operations: ['86/86=1'] Exploring Operation: 73-53=20, Resulting Numbers: [1, 20] Generated Node #0,1,1: 19:[1, 20] Operation: 73-53=20 Moving to Node #0,1,1 Current State: 19:[1, 20], Operations: ['86/86=1', '73-53=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 78, 1, 65, 3 ]
52
[ "78-65=13", "1+3=4", "13*4=52" ]
Current State: 52:[78, 1, 65, 3], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [1, 3, 13] Generated Node #2: [1, 3, 13] from Operation: 78-65=13 Current State: 52:[1, 3, 13], Operations: ['78-65=13'] Exploring Operation: 1+3=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 1+3=4 Current State: 52:[13, 4], Operations: ['78-65=13', '1+3=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[78, 1, 65, 3], Operations: [] Exploring Operation: 65-3=62, Resulting Numbers: [78, 1, 62] Generated Node #0,0: 52:[78, 1, 62] Operation: 65-3=62 Exploring Operation: 78-1=77, Resulting Numbers: [65, 3, 77] Generated Node #0,1: 52:[65, 3, 77] Operation: 78-1=77 Exploring Operation: 78-3=75, Resulting Numbers: [1, 65, 75] Generated Node #0,2: 52:[1, 65, 75] Operation: 78-3=75 Exploring Operation: 78-65=13, Resulting Numbers: [1, 3, 13] Generated Node #0,3: 52:[1, 3, 13] Operation: 78-65=13 Exploring Operation: 78/3=26, Resulting Numbers: [1, 65, 26] Generated Node #0,4: 52:[1, 65, 26] Operation: 78/3=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[1, 3, 13], Operations: ['78-65=13'] Exploring Operation: 1*13=13, Resulting Numbers: [3, 13] Generated Node #0,3,0: 52:[3, 13] Operation: 1*13=13 Exploring Operation: 1*3=3, Resulting Numbers: [13, 3] Generated Node #0,3,1: 52:[13, 3] Operation: 1*3=3 Exploring Operation: 3-1=2, Resulting Numbers: [13, 2] Generated Node #0,3,2: 52:[13, 2] Operation: 3-1=2 Exploring Operation: 1+3=4, Resulting Numbers: [13, 4] Generated Node #0,3,3: 52:[13, 4] Operation: 1+3=4 Exploring Operation: 3/1=3, Resulting Numbers: [13, 3] Generated Node #0,3,4: 52:[13, 3] Operation: 3/1=3 Moving to Node #0,3,2 Current State: 52:[13, 2], Operations: ['78-65=13', '3-1=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[13, 4], Operations: ['78-65=13', '1+3=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[78, 1, 65, 3], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [1, 3, 13] Generated Node #0,3: 52:[1, 3, 13] Operation: 78-65=13 Moving to Node #0,3 Current State: 52:[1, 3, 13], Operations: ['78-65=13'] Exploring Operation: 1+3=4, Resulting Numbers: [13, 4] Generated Node #0,3,3: 52:[13, 4] Operation: 1+3=4 Moving to Node #0,3,3 Current State: 52:[13, 4], Operations: ['78-65=13', '1+3=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 42, 66, 52, 98 ]
70
[ "66-42=24", "98-52=46", "24+46=70" ]
Current State: 70:[42, 66, 52, 98], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [52, 98, 24] Generated Node #2: [52, 98, 24] from Operation: 66-42=24 Current State: 70:[52, 98, 24], Operations: ['66-42=24'] Exploring Operation: 98-52=46, Resulting Numbers: [24, 46] Generated Node #3: [24, 46] from Operation: 98-52=46 Current State: 70:[24, 46], Operations: ['66-42=24', '98-52=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[42, 66, 52, 98], Operations: [] Exploring Operation: 98-42=56, Resulting Numbers: [66, 52, 56] Generated Node #0,0: 70:[66, 52, 56] Operation: 98-42=56 Exploring Operation: 66-52=14, Resulting Numbers: [42, 98, 14] Generated Node #0,1: 70:[42, 98, 14] Operation: 66-52=14 Exploring Operation: 98-66=32, Resulting Numbers: [42, 52, 32] Generated Node #0,2: 70:[42, 52, 32] Operation: 98-66=32 Exploring Operation: 52-42=10, Resulting Numbers: [66, 98, 10] Generated Node #0,3: 70:[66, 98, 10] Operation: 52-42=10 Exploring Operation: 98-52=46, Resulting Numbers: [42, 66, 46] Generated Node #0,4: 70:[42, 66, 46] Operation: 98-52=46 Start Sub Search at level 1: Moving to Node #0,4 Current State: 70:[42, 66, 46], Operations: ['98-52=46'] Exploring Operation: 66-42=24, Resulting Numbers: [46, 24] Generated Node #0,4,0: 70:[46, 24] Operation: 66-42=24 Exploring Operation: 46-42=4, Resulting Numbers: [66, 4] Generated Node #0,4,1: 70:[66, 4] Operation: 46-42=4 Exploring Operation: 42+66=108, Resulting Numbers: [46, 108] Generated Node #0,4,2: 70:[46, 108] Operation: 42+66=108 Exploring Operation: 66-46=20, Resulting Numbers: [42, 20] Generated Node #0,4,3: 70:[42, 20] Operation: 66-46=20 Exploring Operation: 42+46=88, Resulting Numbers: [66, 88] Generated Node #0,4,4: 70:[66, 88] Operation: 42+46=88 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 70:[66, 4], Operations: ['98-52=46', '46-42=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,70 unequal: No Solution Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[42, 66, 52, 98], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [42, 66, 46] Generated Node #0,4: 70:[42, 66, 46] Operation: 98-52=46 Moving to Node #0,4 Current State: 70:[42, 66, 46], Operations: ['98-52=46'] Exploring Operation: 46-42=4, Resulting Numbers: [66, 4] Generated Node #0,4,1: 70:[66, 4] Operation: 46-42=4 Moving to Node #0,4,1 Current State: 70:[66, 4], Operations: ['98-52=46', '46-42=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 34, 30, 44, 50 ]
53
[ "44-34=10", "30/10=3", "50+3=53" ]
Current State: 53:[34, 30, 44, 50], Operations: [] Exploring Operation: 44-34=10, Resulting Numbers: [30, 50, 10] Generated Node #2: [30, 50, 10] from Operation: 44-34=10 Current State: 53:[30, 50, 10], Operations: ['44-34=10'] Exploring Operation: 30/10=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 30/10=3 Current State: 53:[50, 3], Operations: ['44-34=10', '30/10=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[34, 30, 44, 50], Operations: [] Exploring Operation: 34+44=78, Resulting Numbers: [30, 50, 78] Generated Node #0,0: 53:[30, 50, 78] Operation: 34+44=78 Exploring Operation: 30+44=74, Resulting Numbers: [34, 50, 74] Generated Node #0,1: 53:[34, 50, 74] Operation: 30+44=74 Exploring Operation: 34+30=64, Resulting Numbers: [44, 50, 64] Generated Node #0,2: 53:[44, 50, 64] Operation: 34+30=64 Moving to Node #0,2 Current State: 53:[44, 50, 64], Operations: ['34+30=64'] Exploring Operation: 64-44=20, Resulting Numbers: [50, 20] Generated Node #0,2,0: 53:[50, 20] Operation: 64-44=20 Exploring Operation: 44+50=94, Resulting Numbers: [64, 94] Generated Node #0,2,1: 53:[64, 94] Operation: 44+50=94 Exploring Operation: 64-50=14, Resulting Numbers: [44, 14] Generated Node #0,2,2: 53:[44, 14] Operation: 64-50=14 Moving to Node #0,1 Current State: 53:[34, 50, 74], Operations: ['30+44=74'] Exploring Operation: 74-34=40, Resulting Numbers: [50, 40] Generated Node #0,1,0: 53:[50, 40] Operation: 74-34=40 Exploring Operation: 74-50=24, Resulting Numbers: [34, 24] Generated Node #0,1,1: 53:[34, 24] Operation: 74-50=24 Exploring Operation: 34+50=84, Resulting Numbers: [74, 84] Generated Node #0,1,2: 53:[74, 84] Operation: 34+50=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[50, 40], Operations: ['30+44=74', '74-34=40'] Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,53 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[34, 24], Operations: ['30+44=74', '74-50=24'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 34*24=816, Resulting Numbers: [816] 816,53 unequal: No Solution Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[74, 84], Operations: ['30+44=74', '34+50=84'] Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,53 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,53 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: 53:[30, 50, 78], Operations: ['34+44=78'] Exploring Operation: 30+50=80, Resulting Numbers: [78, 80] Generated Node #0,0,0: 53:[78, 80] Operation: 30+50=80 Exploring Operation: 78-50=28, Resulting Numbers: [30, 28] Generated Node #0,0,1: 53:[30, 28] Operation: 78-50=28 Exploring Operation: 78-30=48, Resulting Numbers: [50, 48] Generated Node #0,0,2: 53:[50, 48] Operation: 78-30=48 Moving to Node #0,0,2 Current State: 53:[50, 48], Operations: ['34+44=78', '78-30=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[50, 20], Operations: ['34+30=64', '64-44=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,53 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[30, 28], Operations: ['34+44=78', '78-50=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[44, 14], Operations: ['34+30=64', '64-50=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,53 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[78, 80], Operations: ['34+44=78', '30+50=80'] Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,53 unequal: No Solution Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[64, 94], Operations: ['34+30=64', '44+50=94'] Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 64*94=6016, Resulting Numbers: [6016] 6016,53 unequal: No Solution Exploring Operation: 64+94=158, Resulting Numbers: [158] 158,53 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 45, 72, 68, 25 ]
34
[ "72-45=27", "27-25=2", "68/2=34" ]
Current State: 34:[45, 72, 68, 25], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [68, 25, 27] Generated Node #2: [68, 25, 27] from Operation: 72-45=27 Current State: 34:[68, 25, 27], Operations: ['72-45=27'] Exploring Operation: 27-25=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 27-25=2 Current State: 34:[68, 2], Operations: ['72-45=27', '27-25=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[45, 72, 68, 25], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [45, 25, 4] Generated Node #0,0: 34:[45, 25, 4] Operation: 72-68=4 Exploring Operation: 68-45=23, Resulting Numbers: [72, 25, 23] Generated Node #0,1: 34:[72, 25, 23] Operation: 68-45=23 Exploring Operation: 72-45=27, Resulting Numbers: [68, 25, 27] Generated Node #0,2: 34:[68, 25, 27] Operation: 72-45=27 Exploring Operation: 72-25=47, Resulting Numbers: [45, 68, 47] Generated Node #0,3: 34:[45, 68, 47] Operation: 72-25=47 Moving to Node #0,0 Current State: 34:[45, 25, 4], Operations: ['72-68=4'] Exploring Operation: 25-4=21, Resulting Numbers: [45, 21] Generated Node #0,0,0: 34:[45, 21] Operation: 25-4=21 Exploring Operation: 45-25=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 34:[4, 20] Operation: 45-25=20 Exploring Operation: 45-4=41, Resulting Numbers: [25, 41] Generated Node #0,0,2: 34:[25, 41] Operation: 45-4=41 Exploring Operation: 25+4=29, Resulting Numbers: [45, 29] Generated Node #0,0,3: 34:[45, 29] Operation: 25+4=29 Moving to Node #0,2 Current State: 34:[68, 25, 27], Operations: ['72-45=27'] Exploring Operation: 27-25=2, Resulting Numbers: [68, 2] Generated Node #0,2,0: 34:[68, 2] Operation: 27-25=2 Exploring Operation: 25+27=52, Resulting Numbers: [68, 52] Generated Node #0,2,1: 34:[68, 52] Operation: 25+27=52 Exploring Operation: 68-25=43, Resulting Numbers: [27, 43] Generated Node #0,2,2: 34:[27, 43] Operation: 68-25=43 Exploring Operation: 68-27=41, Resulting Numbers: [25, 41] Generated Node #0,2,3: 34:[25, 41] Operation: 68-27=41 Moving to Node #0,1 Current State: 34:[72, 25, 23], Operations: ['68-45=23'] Exploring Operation: 72-25=47, Resulting Numbers: [23, 47] Generated Node #0,1,0: 34:[23, 47] Operation: 72-25=47 Exploring Operation: 25+23=48, Resulting Numbers: [72, 48] Generated Node #0,1,1: 34:[72, 48] Operation: 25+23=48 Exploring Operation: 25-23=2, Resulting Numbers: [72, 2] Generated Node #0,1,2: 34:[72, 2] Operation: 25-23=2 Exploring Operation: 72-23=49, Resulting Numbers: [25, 49] Generated Node #0,1,3: 34:[25, 49] Operation: 72-23=49 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[23, 47], Operations: ['68-45=23', '72-25=47'] Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 23*47=1081, Resulting Numbers: [1081] 1081,34 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,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,3 Current State: 34:[25, 49], Operations: ['68-45=23', '72-23=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,34 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,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,2 Current State: 34:[72, 2], Operations: ['68-45=23', '25-23=2'] Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,34 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,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:[72, 48], Operations: ['68-45=23', '25+23=48'] Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 72+48=120, Resulting Numbers: [120] 120,34 unequal: No Solution Exploring Operation: 72*48=3456, Resulting Numbers: [3456] 3456,34 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: 34:[45, 68, 47], Operations: ['72-25=47'] Exploring Operation: 45+68=113, Resulting Numbers: [47, 113] Generated Node #0,3,0: 34:[47, 113] Operation: 45+68=113 Exploring Operation: 68-47=21, Resulting Numbers: [45, 21] Generated Node #0,3,1: 34:[45, 21] Operation: 68-47=21 Exploring Operation: 68-45=23, Resulting Numbers: [47, 23] Generated Node #0,3,2: 34:[47, 23] Operation: 68-45=23 Exploring Operation: 47-45=2, Resulting Numbers: [68, 2] Generated Node #0,3,3: 34:[68, 2] Operation: 47-45=2 Moving to Node #0,0,1 Current State: 34:[4, 20], Operations: ['72-68=4', '45-25=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[25, 41], Operations: ['72-68=4', '45-4=41'] Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,34 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[45, 21], Operations: ['72-68=4', '25-4=21'] Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[25, 41], Operations: ['72-45=27', '68-27=41'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,34 unequal: No Solution Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[45, 21], Operations: ['72-25=47', '68-47=21'] Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,34 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[27, 43], Operations: ['72-45=27', '68-25=43'] Exploring Operation: 27*43=1161, Resulting Numbers: [1161] 1161,34 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 27+43=70, Resulting Numbers: [70] 70,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[45, 29], Operations: ['72-68=4', '25+4=29'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[47, 23], Operations: ['72-25=47', '68-45=23'] Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,34 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[68, 2], Operations: ['72-45=27', '27-25=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,34 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[45, 72, 68, 25], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [68, 25, 27] Generated Node #0,2: 34:[68, 25, 27] Operation: 72-45=27 Moving to Node #0,2 Current State: 34:[68, 25, 27], Operations: ['72-45=27'] Exploring Operation: 27-25=2, Resulting Numbers: [68, 2] Generated Node #0,2,0: 34:[68, 2] Operation: 27-25=2 Moving to Node #0,2,0 Current State: 34:[68, 2], Operations: ['72-45=27', '27-25=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.942708
hs_4
sum_heuristic