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
[ 42, 34, 40, 6 ]
60
[ "42*40=1680", "34-6=28", "1680/28=60" ]
Current State: 60:[42, 34, 40, 6], Operations: [] Exploring Operation: 42*40=1680, Resulting Numbers: [34, 6, 1680] Generated Node #2: [34, 6, 1680] from Operation: 42*40=1680 Current State: 60:[34, 6, 1680], Operations: ['42*40=1680'] Exploring Operation: 34-6=28, Resulting Numbers: [1680, 28] Generated Node #3: [1680, 28] from Operation: 34-6=28 Current State: 60:[1680, 28], Operations: ['42*40=1680', '34-6=28'] Exploring Operation: 1680/28=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[42, 34, 40, 6], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [42, 6, 6] Generated Node #0,0: 60:[42, 6, 6] Operation: 40-34=6 Exploring Operation: 42-34=8, Resulting Numbers: [40, 6, 8] Generated Node #0,1: 60:[40, 6, 8] Operation: 42-34=8 Exploring Operation: 42-40=2, Resulting Numbers: [34, 6, 2] Generated Node #0,2: 60:[34, 6, 2] Operation: 42-40=2 Moving to Node #0,2 Current State: 60:[34, 6, 2], Operations: ['42-40=2'] Exploring Operation: 34/2=17, Resulting Numbers: [6, 17] Generated Node #0,2,0: 60:[6, 17] Operation: 34/2=17 Exploring Operation: 34-6=28, Resulting Numbers: [2, 28] Generated Node #0,2,1: 60:[2, 28] Operation: 34-6=28 Exploring Operation: 34-2=32, Resulting Numbers: [6, 32] Generated Node #0,2,2: 60:[6, 32] Operation: 34-2=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[6, 17], Operations: ['42-40=2', '34/2=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[2, 28], Operations: ['42-40=2', '34-6=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[6, 32], Operations: ['42-40=2', '34-2=32'] Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,60 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,60 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: 60:[42, 6, 6], Operations: ['40-34=6'] Exploring Operation: 42/6=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 60:[6, 7] Operation: 42/6=7 Exploring Operation: 42-6=36, Resulting Numbers: [6, 36] Generated Node #0,0,1: 60:[6, 36] Operation: 42-6=36 Exploring Operation: 42/6=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 60:[6, 7] Operation: 42/6=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[6, 7], Operations: ['40-34=6', '42/6=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[6, 7], Operations: ['40-34=6', '42/6=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[6, 36], Operations: ['40-34=6', '42-6=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 60:[40, 6, 8], Operations: ['42-34=8'] Exploring Operation: 40-6=34, Resulting Numbers: [8, 34] Generated Node #0,1,0: 60:[8, 34] Operation: 40-6=34 Exploring Operation: 40/8=5, Resulting Numbers: [6, 5] Generated Node #0,1,1: 60:[6, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [6, 32] Generated Node #0,1,2: 60:[6, 32] Operation: 40-8=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[6, 5], Operations: ['42-34=8', '40/8=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[6, 32], Operations: ['42-34=8', '40-8=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,60 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[8, 34], Operations: ['42-34=8', '40-6=34'] Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,60 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 24, 72, 9, 18 ]
15
[ "72/24=3", "9/3=3", "18-3=15" ]
Current State: 15:[24, 72, 9, 18], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [9, 18, 3] Generated Node #2: [9, 18, 3] from Operation: 72/24=3 Current State: 15:[9, 18, 3], Operations: ['72/24=3'] Exploring Operation: 9/3=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 9/3=3 Current State: 15:[18, 3], Operations: ['72/24=3', '9/3=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[24, 72, 9, 18], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [9, 18, 3] Generated Node #0,0: 15:[9, 18, 3] Operation: 72/24=3 Exploring Operation: 72/9=8, Resulting Numbers: [24, 18, 8] Generated Node #0,1: 15:[24, 18, 8] Operation: 72/9=8 Exploring Operation: 72-24=48, Resulting Numbers: [9, 18, 48] Generated Node #0,2: 15:[9, 18, 48] Operation: 72-24=48 Exploring Operation: 72/18=4, Resulting Numbers: [24, 9, 4] Generated Node #0,3: 15:[24, 9, 4] Operation: 72/18=4 Moving to Node #0,0 Current State: 15:[9, 18, 3], Operations: ['72/24=3'] Exploring Operation: 9-3=6, Resulting Numbers: [18, 6] Generated Node #0,0,0: 15:[18, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [18, 3] Generated Node #0,0,1: 15:[18, 3] Operation: 9/3=3 Exploring Operation: 18/9=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 15:[3, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [3, 9] Generated Node #0,0,3: 15:[3, 9] Operation: 18-9=9 Moving to Node #0,3 Current State: 15:[24, 9, 4], Operations: ['72/18=4'] Exploring Operation: 24-4=20, Resulting Numbers: [9, 20] Generated Node #0,3,0: 15:[9, 20] Operation: 24-4=20 Exploring Operation: 9-4=5, Resulting Numbers: [24, 5] Generated Node #0,3,1: 15:[24, 5] Operation: 9-4=5 Exploring Operation: 24/4=6, Resulting Numbers: [9, 6] Generated Node #0,3,2: 15:[9, 6] Operation: 24/4=6 Exploring Operation: 24-9=15, Resulting Numbers: [4, 15] Generated Node #0,3,3: 15:[4, 15] Operation: 24-9=15 Moving to Node #0,1 Current State: 15:[24, 18, 8], Operations: ['72/9=8'] Exploring Operation: 18-8=10, Resulting Numbers: [24, 10] Generated Node #0,1,0: 15:[24, 10] Operation: 18-8=10 Exploring Operation: 24-18=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 15:[8, 6] Operation: 24-18=6 Exploring Operation: 24/8=3, Resulting Numbers: [18, 3] Generated Node #0,1,2: 15:[18, 3] Operation: 24/8=3 Exploring Operation: 24-8=16, Resulting Numbers: [18, 16] Generated Node #0,1,3: 15:[18, 16] Operation: 24-8=16 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[18, 3], Operations: ['72/9=8', '24/8=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[24, 72, 9, 18], Operations: [] Exploring Operation: 72/9=8, Resulting Numbers: [24, 18, 8] Generated Node #0,1: 15:[24, 18, 8] Operation: 72/9=8 Moving to Node #0,1 Current State: 15:[24, 18, 8], Operations: ['72/9=8'] Exploring Operation: 24/8=3, Resulting Numbers: [18, 3] Generated Node #0,1,2: 15:[18, 3] Operation: 24/8=3 Moving to Node #0,1,2 Current State: 15:[18, 3], Operations: ['72/9=8', '24/8=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 44, 70, 10, 75 ]
91
[ "70-44=26", "75-10=65", "26+65=91" ]
Current State: 91:[44, 70, 10, 75], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [10, 75, 26] Generated Node #2: [10, 75, 26] from Operation: 70-44=26 Current State: 91:[10, 75, 26], Operations: ['70-44=26'] Exploring Operation: 75-10=65, Resulting Numbers: [26, 65] Generated Node #3: [26, 65] from Operation: 75-10=65 Current State: 91:[26, 65], Operations: ['70-44=26', '75-10=65'] Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[44, 70, 10, 75], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [44, 10, 5] Generated Node #0,0: 91:[44, 10, 5] Operation: 75-70=5 Exploring Operation: 44+70=114, Resulting Numbers: [10, 75, 114] Generated Node #0,1: 91:[10, 75, 114] Operation: 44+70=114 Exploring Operation: 70-44=26, Resulting Numbers: [10, 75, 26] Generated Node #0,2: 91:[10, 75, 26] Operation: 70-44=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[10, 75, 26], Operations: ['70-44=26'] Exploring Operation: 75+26=101, Resulting Numbers: [10, 101] Generated Node #0,2,0: 91:[10, 101] Operation: 75+26=101 Exploring Operation: 10+75=85, Resulting Numbers: [26, 85] Generated Node #0,2,1: 91:[26, 85] Operation: 10+75=85 Exploring Operation: 26-10=16, Resulting Numbers: [75, 16] Generated Node #0,2,2: 91:[75, 16] Operation: 26-10=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[10, 101], Operations: ['70-44=26', '75+26=101'] Exploring Operation: 10+101=111, Resulting Numbers: [111] 111,91 unequal: No Solution Exploring Operation: 101-10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[44, 70, 10, 75], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [10, 75, 26] Generated Node #0,2: 91:[10, 75, 26] Operation: 70-44=26 Moving to Node #0,2 Current State: 91:[10, 75, 26], Operations: ['70-44=26'] Exploring Operation: 75+26=101, Resulting Numbers: [10, 101] Generated Node #0,2,0: 91:[10, 101] Operation: 75+26=101 Moving to Node #0,2,0 Current State: 91:[10, 101], Operations: ['70-44=26', '75+26=101'] Exploring Operation: 101-10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 2, 94, 63, 22 ]
84
[ "94-63=31", "2*31=62", "22+62=84" ]
Current State: 84:[2, 94, 63, 22], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [2, 22, 31] Generated Node #2: [2, 22, 31] from Operation: 94-63=31 Current State: 84:[2, 22, 31], Operations: ['94-63=31'] Exploring Operation: 2*31=62, Resulting Numbers: [22, 62] Generated Node #3: [22, 62] from Operation: 2*31=62 Current State: 84:[22, 62], Operations: ['94-63=31', '2*31=62'] Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[2, 94, 63, 22], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [2, 22, 31] Generated Node #0,0: 84:[2, 22, 31] Operation: 94-63=31 Exploring Operation: 94/2=47, Resulting Numbers: [63, 22, 47] Generated Node #0,1: 84:[63, 22, 47] Operation: 94/2=47 Exploring Operation: 63-22=41, Resulting Numbers: [2, 94, 41] Generated Node #0,2: 84:[2, 94, 41] Operation: 63-22=41 Exploring Operation: 63+22=85, Resulting Numbers: [2, 94, 85] Generated Node #0,3: 84:[2, 94, 85] Operation: 63+22=85 Moving to Node #0,0 Current State: 84:[2, 22, 31], Operations: ['94-63=31'] Exploring Operation: 22-2=20, Resulting Numbers: [31, 20] Generated Node #0,0,0: 84:[31, 20] Operation: 22-2=20 Exploring Operation: 31-2=29, Resulting Numbers: [22, 29] Generated Node #0,0,1: 84:[22, 29] Operation: 31-2=29 Exploring Operation: 22/2=11, Resulting Numbers: [31, 11] Generated Node #0,0,2: 84:[31, 11] Operation: 22/2=11 Exploring Operation: 31-22=9, Resulting Numbers: [2, 9] Generated Node #0,0,3: 84:[2, 9] Operation: 31-22=9 Moving to Node #0,3 Current State: 84:[2, 94, 85], Operations: ['63+22=85'] Exploring Operation: 94-85=9, Resulting Numbers: [2, 9] Generated Node #0,3,0: 84:[2, 9] Operation: 94-85=9 Exploring Operation: 85-2=83, Resulting Numbers: [94, 83] Generated Node #0,3,1: 84:[94, 83] Operation: 85-2=83 Exploring Operation: 94/2=47, Resulting Numbers: [85, 47] Generated Node #0,3,2: 84:[85, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [85, 92] Generated Node #0,3,3: 84:[85, 92] Operation: 94-2=92 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[2, 9], Operations: ['63+22=85', '94-85=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[85, 47], Operations: ['63+22=85', '94/2=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,84 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[85, 92], Operations: ['63+22=85', '94-2=92'] Exploring Operation: 85*92=7820, Resulting Numbers: [7820] 7820,84 unequal: No Solution Exploring Operation: 92-85=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 85+92=177, Resulting Numbers: [177] 177,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[94, 83], Operations: ['63+22=85', '85-2=83'] Exploring Operation: 94+83=177, Resulting Numbers: [177] 177,84 unequal: No Solution Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 94*83=7802, Resulting Numbers: [7802] 7802,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[2, 94, 41], Operations: ['63-22=41'] Exploring Operation: 94/2=47, Resulting Numbers: [41, 47] Generated Node #0,2,0: 84:[41, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [41, 92] Generated Node #0,2,1: 84:[41, 92] Operation: 94-2=92 Exploring Operation: 2+41=43, Resulting Numbers: [94, 43] Generated Node #0,2,2: 84:[94, 43] Operation: 2+41=43 Exploring Operation: 94-41=53, Resulting Numbers: [2, 53] Generated Node #0,2,3: 84:[2, 53] Operation: 94-41=53 Moving to Node #0,1 Current State: 84:[63, 22, 47], Operations: ['94/2=47'] Exploring Operation: 63-47=16, Resulting Numbers: [22, 16] Generated Node #0,1,0: 84:[22, 16] Operation: 63-47=16 Exploring Operation: 63+22=85, Resulting Numbers: [47, 85] Generated Node #0,1,1: 84:[47, 85] Operation: 63+22=85 Exploring Operation: 47-22=25, Resulting Numbers: [63, 25] Generated Node #0,1,2: 84:[63, 25] Operation: 47-22=25 Exploring Operation: 63-22=41, Resulting Numbers: [47, 41] Generated Node #0,1,3: 84:[47, 41] Operation: 63-22=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[22, 16], Operations: ['94/2=47', '63-47=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,84 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[47, 85], Operations: ['94/2=47', '63+22=85'] Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,84 unequal: No Solution Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[47, 41], Operations: ['94/2=47', '63-22=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,84 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[63, 25], Operations: ['94/2=47', '47-22=25'] Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,84 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,84 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: 84:[22, 29], Operations: ['94-63=31', '31-2=29'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[2, 9], Operations: ['94-63=31', '31-22=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[31, 20], Operations: ['94-63=31', '22-2=20'] Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,84 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[31, 11], Operations: ['94-63=31', '22/2=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,84 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[41, 47], Operations: ['63-22=41', '94/2=47'] Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,84 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[41, 92], Operations: ['63-22=41', '94-2=92'] Exploring Operation: 41+92=133, Resulting Numbers: [133] 133,84 unequal: No Solution Exploring Operation: 41*92=3772, Resulting Numbers: [3772] 3772,84 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[2, 53], Operations: ['63-22=41', '94-41=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[94, 43], Operations: ['63-22=41', '2+41=43'] Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,84 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,84 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,84 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 91, 89, 78, 59 ]
21
[ "91-89=2", "78-59=19", "2+19=21" ]
Current State: 21:[91, 89, 78, 59], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [78, 59, 2] Generated Node #2: [78, 59, 2] from Operation: 91-89=2 Current State: 21:[78, 59, 2], Operations: ['91-89=2'] Exploring Operation: 78-59=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 78-59=19 Current State: 21:[2, 19], Operations: ['91-89=2', '78-59=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[91, 89, 78, 59], Operations: [] Exploring Operation: 91-59=32, Resulting Numbers: [89, 78, 32] Generated Node #0,0: 21:[89, 78, 32] Operation: 91-59=32 Exploring Operation: 91-78=13, Resulting Numbers: [89, 59, 13] Generated Node #0,1: 21:[89, 59, 13] Operation: 91-78=13 Exploring Operation: 89-78=11, Resulting Numbers: [91, 59, 11] Generated Node #0,2: 21:[91, 59, 11] Operation: 89-78=11 Exploring Operation: 91-89=2, Resulting Numbers: [78, 59, 2] Generated Node #0,3: 21:[78, 59, 2] Operation: 91-89=2 Moving to Node #0,3 Current State: 21:[78, 59, 2], Operations: ['91-89=2'] Exploring Operation: 78-59=19, Resulting Numbers: [2, 19] Generated Node #0,3,0: 21:[2, 19] Operation: 78-59=19 Exploring Operation: 59-2=57, Resulting Numbers: [78, 57] Generated Node #0,3,1: 21:[78, 57] Operation: 59-2=57 Exploring Operation: 78-2=76, Resulting Numbers: [59, 76] Generated Node #0,3,2: 21:[59, 76] Operation: 78-2=76 Exploring Operation: 78/2=39, Resulting Numbers: [59, 39] Generated Node #0,3,3: 21:[59, 39] Operation: 78/2=39 Moving to Node #0,2 Current State: 21:[91, 59, 11], Operations: ['89-78=11'] Exploring Operation: 91-59=32, Resulting Numbers: [11, 32] Generated Node #0,2,0: 21:[11, 32] Operation: 91-59=32 Exploring Operation: 91+11=102, Resulting Numbers: [59, 102] Generated Node #0,2,1: 21:[59, 102] Operation: 91+11=102 Exploring Operation: 91-11=80, Resulting Numbers: [59, 80] Generated Node #0,2,2: 21:[59, 80] Operation: 91-11=80 Exploring Operation: 59-11=48, Resulting Numbers: [91, 48] Generated Node #0,2,3: 21:[91, 48] Operation: 59-11=48 Moving to Node #0,1 Current State: 21:[89, 59, 13], Operations: ['91-78=13'] Exploring Operation: 59-13=46, Resulting Numbers: [89, 46] Generated Node #0,1,0: 21:[89, 46] Operation: 59-13=46 Exploring Operation: 89+13=102, Resulting Numbers: [59, 102] Generated Node #0,1,1: 21:[59, 102] Operation: 89+13=102 Exploring Operation: 89-13=76, Resulting Numbers: [59, 76] Generated Node #0,1,2: 21:[59, 76] Operation: 89-13=76 Exploring Operation: 89-59=30, Resulting Numbers: [13, 30] Generated Node #0,1,3: 21:[13, 30] Operation: 89-59=30 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 21:[13, 30], Operations: ['91-78=13', '89-59=30'] Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,21 unequal: No Solution No 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: 21:[89, 46], Operations: ['91-78=13', '59-13=46'] Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,21 unequal: No Solution Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,21 unequal: No Solution No 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: 21:[59, 76], Operations: ['91-78=13', '89-13=76'] Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 59+76=135, Resulting Numbers: [135] 135,21 unequal: No Solution Exploring Operation: 59*76=4484, Resulting Numbers: [4484] 4484,21 unequal: No Solution No 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: 21:[59, 102], Operations: ['91-78=13', '89+13=102'] Exploring Operation: 59*102=6018, Resulting Numbers: [6018] 6018,21 unequal: No Solution Exploring Operation: 59+102=161, Resulting Numbers: [161] 161,21 unequal: No Solution Exploring Operation: 102-59=43, Resulting Numbers: [43] 43,21 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: 21:[89, 78, 32], Operations: ['91-59=32'] Exploring Operation: 89+78=167, Resulting Numbers: [32, 167] Generated Node #0,0,0: 21:[32, 167] Operation: 89+78=167 Exploring Operation: 78-32=46, Resulting Numbers: [89, 46] Generated Node #0,0,1: 21:[89, 46] Operation: 78-32=46 Exploring Operation: 89-78=11, Resulting Numbers: [32, 11] Generated Node #0,0,2: 21:[32, 11] Operation: 89-78=11 Exploring Operation: 89-32=57, Resulting Numbers: [78, 57] Generated Node #0,0,3: 21:[78, 57] Operation: 89-32=57 Moving to Node #0,3,0 Current State: 21:[2, 19], Operations: ['91-89=2', '78-59=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[91, 89, 78, 59], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [78, 59, 2] Generated Node #0,3: 21:[78, 59, 2] Operation: 91-89=2 Moving to Node #0,3 Current State: 21:[78, 59, 2], Operations: ['91-89=2'] Exploring Operation: 78-59=19, Resulting Numbers: [2, 19] Generated Node #0,3,0: 21:[2, 19] Operation: 78-59=19 Moving to Node #0,3,0 Current State: 21:[2, 19], Operations: ['91-89=2', '78-59=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 1, 44, 42, 67 ]
67
[ "44-1=43", "43-42=1", "67*1=67" ]
Current State: 67:[1, 44, 42, 67], Operations: [] Exploring Operation: 44-1=43, Resulting Numbers: [42, 67, 43] Generated Node #2: [42, 67, 43] from Operation: 44-1=43 Current State: 67:[42, 67, 43], Operations: ['44-1=43'] Exploring Operation: 43-42=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 43-42=1 Current State: 67:[67, 1], Operations: ['44-1=43', '43-42=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[1, 44, 42, 67], Operations: [] Exploring Operation: 1+42=43, Resulting Numbers: [44, 67, 43] Generated Node #0,0: 67:[44, 67, 43] Operation: 1+42=43 Exploring Operation: 1*44=44, Resulting Numbers: [42, 67, 44] Generated Node #0,1: 67:[42, 67, 44] Operation: 1*44=44 Exploring Operation: 1+44=45, Resulting Numbers: [42, 67, 45] Generated Node #0,2: 67:[42, 67, 45] Operation: 1+44=45 Moving to Node #0,0 Current State: 67:[44, 67, 43], Operations: ['1+42=43'] Exploring Operation: 44+43=87, Resulting Numbers: [67, 87] Generated Node #0,0,0: 67:[67, 87] Operation: 44+43=87 Exploring Operation: 44-43=1, Resulting Numbers: [67, 1] Generated Node #0,0,1: 67:[67, 1] Operation: 44-43=1 Exploring Operation: 67+43=110, Resulting Numbers: [44, 110] Generated Node #0,0,2: 67:[44, 110] Operation: 67+43=110 Moving to Node #0,2 Current State: 67:[42, 67, 45], Operations: ['1+44=45'] Exploring Operation: 67-42=25, Resulting Numbers: [45, 25] Generated Node #0,2,0: 67:[45, 25] Operation: 67-42=25 Exploring Operation: 42+67=109, Resulting Numbers: [45, 109] Generated Node #0,2,1: 67:[45, 109] Operation: 42+67=109 Exploring Operation: 42+45=87, Resulting Numbers: [67, 87] Generated Node #0,2,2: 67:[67, 87] Operation: 42+45=87 Moving to Node #0,1 Current State: 67:[42, 67, 44], Operations: ['1*44=44'] Exploring Operation: 42+44=86, Resulting Numbers: [67, 86] Generated Node #0,1,0: 67:[67, 86] Operation: 42+44=86 Exploring Operation: 42+67=109, Resulting Numbers: [44, 109] Generated Node #0,1,1: 67:[44, 109] Operation: 42+67=109 Exploring Operation: 67-42=25, Resulting Numbers: [44, 25] Generated Node #0,1,2: 67:[44, 25] Operation: 67-42=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[67, 86], Operations: ['1*44=44', '42+44=86'] Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 67+86=153, Resulting Numbers: [153] 153,67 unequal: No Solution Exploring Operation: 67*86=5762, Resulting Numbers: [5762] 5762,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[44, 109], Operations: ['1*44=44', '42+67=109'] Exploring Operation: 109-44=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 44+109=153, Resulting Numbers: [153] 153,67 unequal: No Solution Exploring Operation: 44*109=4796, Resulting Numbers: [4796] 4796,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[44, 25], Operations: ['1*44=44', '67-42=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,67 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: 67:[67, 87], Operations: ['1+42=43', '44+43=87'] Exploring Operation: 67+87=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 67*87=5829, Resulting Numbers: [5829] 5829,67 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[67, 87], Operations: ['1+44=45', '42+45=87'] Exploring Operation: 67*87=5829, Resulting Numbers: [5829] 5829,67 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 67+87=154, Resulting Numbers: [154] 154,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[45, 109], Operations: ['1+44=45', '42+67=109'] Exploring Operation: 45*109=4905, Resulting Numbers: [4905] 4905,67 unequal: No Solution Exploring Operation: 109-45=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 45+109=154, Resulting Numbers: [154] 154,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[45, 25], Operations: ['1+44=45', '67-42=25'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,67 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[67, 1], Operations: ['1+42=43', '44-43=1'] Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,67 unequal: No Solution Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[1, 44, 42, 67], Operations: [] Exploring Operation: 1+42=43, Resulting Numbers: [44, 67, 43] Generated Node #0,0: 67:[44, 67, 43] Operation: 1+42=43 Moving to Node #0,0 Current State: 67:[44, 67, 43], Operations: ['1+42=43'] Exploring Operation: 44-43=1, Resulting Numbers: [67, 1] Generated Node #0,0,1: 67:[67, 1] Operation: 44-43=1 Moving to Node #0,0,1 Current State: 67:[67, 1], Operations: ['1+42=43', '44-43=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.966146
hs_3
sum_heuristic
[ 64, 14, 74, 54 ]
66
[ "64-54=10", "14*10=140", "140-74=66" ]
Current State: 66:[64, 14, 74, 54], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [14, 74, 10] Generated Node #2: [14, 74, 10] from Operation: 64-54=10 Current State: 66:[14, 74, 10], Operations: ['64-54=10'] Exploring Operation: 14*10=140, Resulting Numbers: [74, 140] Generated Node #3: [74, 140] from Operation: 14*10=140 Current State: 66:[74, 140], Operations: ['64-54=10', '14*10=140'] Exploring Operation: 140-74=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[64, 14, 74, 54], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [14, 74, 10] Generated Node #0,0: 66:[14, 74, 10] Operation: 64-54=10 Exploring Operation: 74-54=20, Resulting Numbers: [64, 14, 20] Generated Node #0,1: 66:[64, 14, 20] Operation: 74-54=20 Moving to Node #0,1 Current State: 66:[64, 14, 20], Operations: ['74-54=20'] Exploring Operation: 20-14=6, Resulting Numbers: [64, 6] Generated Node #0,1,0: 66:[64, 6] Operation: 20-14=6 Exploring Operation: 14+20=34, Resulting Numbers: [64, 34] Generated Node #0,1,1: 66:[64, 34] Operation: 14+20=34 Moving to Node #0,0 Current State: 66:[14, 74, 10], Operations: ['64-54=10'] Exploring Operation: 74-14=60, Resulting Numbers: [10, 60] Generated Node #0,0,0: 66:[10, 60] Operation: 74-14=60 Exploring Operation: 74-10=64, Resulting Numbers: [14, 64] Generated Node #0,0,1: 66:[14, 64] Operation: 74-10=64 Moving to Node #0,1,0 Current State: 66:[64, 6], Operations: ['74-54=20', '20-14=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,66 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[64, 34], Operations: ['74-54=20', '14+20=34'] Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[14, 64], Operations: ['64-54=10', '74-10=64'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[10, 60], Operations: ['64-54=10', '74-14=60'] Exploring Operation: 10+60=70, Resulting Numbers: [70] 70,66 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 56, 56, 83, 77 ]
83
[ "56-56=0", "77*0=0", "83+0=83" ]
Current State: 83:[56, 56, 83, 77], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [83, 77, 0] Generated Node #2: [83, 77, 0] from Operation: 56-56=0 Current State: 83:[83, 77, 0], Operations: ['56-56=0'] Exploring Operation: 77*0=0, Resulting Numbers: [83, 0] Generated Node #3: [83, 0] from Operation: 77*0=0 Current State: 83:[83, 0], Operations: ['56-56=0', '77*0=0'] Exploring Operation: 83+0=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[56, 56, 83, 77], Operations: [] Exploring Operation: 56+56=112, Resulting Numbers: [83, 77, 112] Generated Node #0,0: 83:[83, 77, 112] Operation: 56+56=112 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[83, 77, 112], Operations: ['56+56=112'] Exploring Operation: 112-77=35, Resulting Numbers: [83, 35] Generated Node #0,0,0: 83:[83, 35] Operation: 112-77=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[83, 35], Operations: ['56+56=112', '112-77=35'] Exploring Operation: 83+35=118, Resulting Numbers: [118] 118,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 24, 44, 13, 64 ]
52
[ "24+44=68", "68-64=4", "13*4=52" ]
Current State: 52:[24, 44, 13, 64], Operations: [] Exploring Operation: 24+44=68, Resulting Numbers: [13, 64, 68] Generated Node #2: [13, 64, 68] from Operation: 24+44=68 Current State: 52:[13, 64, 68], Operations: ['24+44=68'] Exploring Operation: 68-64=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 68-64=4 Current State: 52:[13, 4], Operations: ['24+44=68', '68-64=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[24, 44, 13, 64], Operations: [] Exploring Operation: 64-13=51, Resulting Numbers: [24, 44, 51] Generated Node #0,0: 52:[24, 44, 51] Operation: 64-13=51 Exploring Operation: 44-24=20, Resulting Numbers: [13, 64, 20] Generated Node #0,1: 52:[13, 64, 20] Operation: 44-24=20 Exploring Operation: 64-44=20, Resulting Numbers: [24, 13, 20] Generated Node #0,2: 52:[24, 13, 20] Operation: 64-44=20 Exploring Operation: 44+13=57, Resulting Numbers: [24, 64, 57] Generated Node #0,3: 52:[24, 64, 57] Operation: 44+13=57 Moving to Node #0,2 Current State: 52:[24, 13, 20], Operations: ['64-44=20'] Exploring Operation: 20-13=7, Resulting Numbers: [24, 7] Generated Node #0,2,0: 52:[24, 7] Operation: 20-13=7 Exploring Operation: 24+20=44, Resulting Numbers: [13, 44] Generated Node #0,2,1: 52:[13, 44] Operation: 24+20=44 Exploring Operation: 24-13=11, Resulting Numbers: [20, 11] Generated Node #0,2,2: 52:[20, 11] Operation: 24-13=11 Exploring Operation: 24-20=4, Resulting Numbers: [13, 4] Generated Node #0,2,3: 52:[13, 4] Operation: 24-20=4 Moving to Node #0,0 Current State: 52:[24, 44, 51], Operations: ['64-13=51'] Exploring Operation: 44-24=20, Resulting Numbers: [51, 20] Generated Node #0,0,0: 52:[51, 20] Operation: 44-24=20 Exploring Operation: 51-44=7, Resulting Numbers: [24, 7] Generated Node #0,0,1: 52:[24, 7] Operation: 51-44=7 Exploring Operation: 24+44=68, Resulting Numbers: [51, 68] Generated Node #0,0,2: 52:[51, 68] Operation: 24+44=68 Exploring Operation: 51-24=27, Resulting Numbers: [44, 27] Generated Node #0,0,3: 52:[44, 27] Operation: 51-24=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[24, 7], Operations: ['64-13=51', '51-44=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[51, 20], Operations: ['64-13=51', '44-24=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[44, 27], Operations: ['64-13=51', '51-24=27'] Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,52 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[51, 68], Operations: ['64-13=51', '24+44=68'] Exploring Operation: 51+68=119, Resulting Numbers: [119] 119,52 unequal: No Solution Exploring Operation: 51*68=3468, Resulting Numbers: [3468] 3468,52 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 52:[13, 64, 20], Operations: ['44-24=20'] Exploring Operation: 13+20=33, Resulting Numbers: [64, 33] Generated Node #0,1,0: 52:[64, 33] Operation: 13+20=33 Exploring Operation: 64-13=51, Resulting Numbers: [20, 51] Generated Node #0,1,1: 52:[20, 51] Operation: 64-13=51 Exploring Operation: 64-20=44, Resulting Numbers: [13, 44] Generated Node #0,1,2: 52:[13, 44] Operation: 64-20=44 Exploring Operation: 20-13=7, Resulting Numbers: [64, 7] Generated Node #0,1,3: 52:[64, 7] Operation: 20-13=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[20, 51], Operations: ['44-24=20', '64-13=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 20*51=1020, Resulting Numbers: [1020] 1020,52 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[13, 44], Operations: ['44-24=20', '64-20=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,52 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[64, 7], Operations: ['44-24=20', '20-13=7'] Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,52 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[64, 33], Operations: ['44-24=20', '13+20=33'] Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,52 unequal: No Solution Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,52 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 52:[24, 64, 57], Operations: ['44+13=57'] Exploring Operation: 64-24=40, Resulting Numbers: [57, 40] Generated Node #0,3,0: 52:[57, 40] Operation: 64-24=40 Exploring Operation: 57-24=33, Resulting Numbers: [64, 33] Generated Node #0,3,1: 52:[64, 33] Operation: 57-24=33 Exploring Operation: 64-57=7, Resulting Numbers: [24, 7] Generated Node #0,3,2: 52:[24, 7] Operation: 64-57=7 Exploring Operation: 24+64=88, Resulting Numbers: [57, 88] Generated Node #0,3,3: 52:[57, 88] Operation: 24+64=88 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[24, 7], Operations: ['44+13=57', '64-57=7'] Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,52 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[57, 40], Operations: ['44+13=57', '64-24=40'] Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,52 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[64, 33], Operations: ['44+13=57', '57-24=33'] Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,52 unequal: No Solution Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[57, 88], Operations: ['44+13=57', '24+64=88'] Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,52 unequal: No Solution Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,52 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: 52:[13, 4], Operations: ['64-44=20', '24-20=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[24, 44, 13, 64], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [24, 13, 20] Generated Node #0,2: 52:[24, 13, 20] Operation: 64-44=20 Moving to Node #0,2 Current State: 52:[24, 13, 20], Operations: ['64-44=20'] Exploring Operation: 24-20=4, Resulting Numbers: [13, 4] Generated Node #0,2,3: 52:[13, 4] Operation: 24-20=4 Moving to Node #0,2,3 Current State: 52:[13, 4], Operations: ['64-44=20', '24-20=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.945313
hs_4
sum_heuristic
[ 5, 7, 47, 48 ]
11
[ "5+7=12", "48-47=1", "12-1=11" ]
Current State: 11:[5, 7, 47, 48], Operations: [] Exploring Operation: 5+7=12, Resulting Numbers: [47, 48, 12] Generated Node #2: [47, 48, 12] from Operation: 5+7=12 Current State: 11:[47, 48, 12], Operations: ['5+7=12'] Exploring Operation: 48-47=1, Resulting Numbers: [12, 1] Generated Node #3: [12, 1] from Operation: 48-47=1 Current State: 11:[12, 1], Operations: ['5+7=12', '48-47=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[5, 7, 47, 48], Operations: [] Exploring Operation: 48-47=1, Resulting Numbers: [5, 7, 1] Generated Node #0,0: 11:[5, 7, 1] Operation: 48-47=1 Exploring Operation: 47-5=42, Resulting Numbers: [7, 48, 42] Generated Node #0,1: 11:[7, 48, 42] Operation: 47-5=42 Moving to Node #0,0 Current State: 11:[5, 7, 1], Operations: ['48-47=1'] Exploring Operation: 7+1=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 11:[5, 8] Operation: 7+1=8 Exploring Operation: 5+1=6, Resulting Numbers: [7, 6] Generated Node #0,0,1: 11:[7, 6] Operation: 5+1=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[5, 8], Operations: ['48-47=1', '7+1=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[7, 6], Operations: ['48-47=1', '5+1=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 11:[7, 48, 42], Operations: ['47-5=42'] Exploring Operation: 42/7=6, Resulting Numbers: [48, 6] Generated Node #0,1,0: 11:[48, 6] Operation: 42/7=6 Exploring Operation: 48-42=6, Resulting Numbers: [7, 6] Generated Node #0,1,1: 11:[7, 6] Operation: 48-42=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[7, 6], Operations: ['47-5=42', '48-42=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[48, 6], Operations: ['47-5=42', '42/7=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,11 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
[ 67, 45, 55, 80 ]
23
[ "67+45=112", "55+80=135", "135-112=23" ]
Current State: 23:[67, 45, 55, 80], Operations: [] Exploring Operation: 67+45=112, Resulting Numbers: [55, 80, 112] Generated Node #2: [55, 80, 112] from Operation: 67+45=112 Current State: 23:[55, 80, 112], Operations: ['67+45=112'] Exploring Operation: 55+80=135, Resulting Numbers: [112, 135] Generated Node #3: [112, 135] from Operation: 55+80=135 Current State: 23:[112, 135], Operations: ['67+45=112', '55+80=135'] Exploring Operation: 135-112=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[67, 45, 55, 80], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [67, 45, 25] Generated Node #0,0: 23:[67, 45, 25] Operation: 80-55=25 Exploring Operation: 80-67=13, Resulting Numbers: [45, 55, 13] Generated Node #0,1: 23:[45, 55, 13] Operation: 80-67=13 Moving to Node #0,1 Current State: 23:[45, 55, 13], Operations: ['80-67=13'] Exploring Operation: 55-45=10, Resulting Numbers: [13, 10] Generated Node #0,1,0: 23:[13, 10] Operation: 55-45=10 Exploring Operation: 45-13=32, Resulting Numbers: [55, 32] Generated Node #0,1,1: 23:[55, 32] Operation: 45-13=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[13, 10], Operations: ['80-67=13', '55-45=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[67, 45, 55, 80], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [45, 55, 13] Generated Node #0,1: 23:[45, 55, 13] Operation: 80-67=13 Moving to Node #0,1 Current State: 23:[45, 55, 13], Operations: ['80-67=13'] Exploring Operation: 55-45=10, Resulting Numbers: [13, 10] Generated Node #0,1,0: 23:[13, 10] Operation: 55-45=10 Moving to Node #0,1,0 Current State: 23:[13, 10], Operations: ['80-67=13', '55-45=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 36, 33, 53, 95 ]
39
[ "36-33=3", "95-53=42", "42-3=39" ]
Current State: 39:[36, 33, 53, 95], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [53, 95, 3] Generated Node #2: [53, 95, 3] from Operation: 36-33=3 Current State: 39:[53, 95, 3], Operations: ['36-33=3'] Exploring Operation: 95-53=42, Resulting Numbers: [3, 42] Generated Node #3: [3, 42] from Operation: 95-53=42 Current State: 39:[3, 42], Operations: ['36-33=3', '95-53=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[36, 33, 53, 95], Operations: [] Exploring Operation: 53-36=17, Resulting Numbers: [33, 95, 17] Generated Node #0,0: 39:[33, 95, 17] Operation: 53-36=17 Exploring Operation: 95-36=59, Resulting Numbers: [33, 53, 59] Generated Node #0,1: 39:[33, 53, 59] Operation: 95-36=59 Exploring Operation: 95-53=42, Resulting Numbers: [36, 33, 42] Generated Node #0,2: 39:[36, 33, 42] Operation: 95-53=42 Exploring Operation: 95-33=62, Resulting Numbers: [36, 53, 62] Generated Node #0,3: 39:[36, 53, 62] Operation: 95-33=62 Moving to Node #0,2 Current State: 39:[36, 33, 42], Operations: ['95-53=42'] Exploring Operation: 36-33=3, Resulting Numbers: [42, 3] Generated Node #0,2,0: 39:[42, 3] Operation: 36-33=3 Exploring Operation: 42-36=6, Resulting Numbers: [33, 6] Generated Node #0,2,1: 39:[33, 6] Operation: 42-36=6 Exploring Operation: 42-33=9, Resulting Numbers: [36, 9] Generated Node #0,2,2: 39:[36, 9] Operation: 42-33=9 Exploring Operation: 36+33=69, Resulting Numbers: [42, 69] Generated Node #0,2,3: 39:[42, 69] Operation: 36+33=69 Moving to Node #0,3 Current State: 39:[36, 53, 62], Operations: ['95-33=62'] Exploring Operation: 53-36=17, Resulting Numbers: [62, 17] Generated Node #0,3,0: 39:[62, 17] Operation: 53-36=17 Exploring Operation: 62-36=26, Resulting Numbers: [53, 26] Generated Node #0,3,1: 39:[53, 26] Operation: 62-36=26 Exploring Operation: 36+53=89, Resulting Numbers: [62, 89] Generated Node #0,3,2: 39:[62, 89] Operation: 36+53=89 Exploring Operation: 62-53=9, Resulting Numbers: [36, 9] Generated Node #0,3,3: 39:[36, 9] Operation: 62-53=9 Moving to Node #0,1 Current State: 39:[33, 53, 59], Operations: ['95-36=59'] Exploring Operation: 33+53=86, Resulting Numbers: [59, 86] Generated Node #0,1,0: 39:[59, 86] Operation: 33+53=86 Exploring Operation: 59-33=26, Resulting Numbers: [53, 26] Generated Node #0,1,1: 39:[53, 26] Operation: 59-33=26 Exploring Operation: 53-33=20, Resulting Numbers: [59, 20] Generated Node #0,1,2: 39:[59, 20] Operation: 53-33=20 Exploring Operation: 59-53=6, Resulting Numbers: [33, 6] Generated Node #0,1,3: 39:[33, 6] Operation: 59-53=6 Moving to Node #0,0 Current State: 39:[33, 95, 17], Operations: ['53-36=17'] Exploring Operation: 33-17=16, Resulting Numbers: [95, 16] Generated Node #0,0,0: 39:[95, 16] Operation: 33-17=16 Exploring Operation: 33+17=50, Resulting Numbers: [95, 50] Generated Node #0,0,1: 39:[95, 50] Operation: 33+17=50 Exploring Operation: 95-33=62, Resulting Numbers: [17, 62] Generated Node #0,0,2: 39:[17, 62] Operation: 95-33=62 Exploring Operation: 95-17=78, Resulting Numbers: [33, 78] Generated Node #0,0,3: 39:[33, 78] Operation: 95-17=78 Moving to Node #0,2,0 Current State: 39:[42, 3], Operations: ['95-53=42', '36-33=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[36, 33, 53, 95], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [36, 33, 42] Generated Node #0,2: 39:[36, 33, 42] Operation: 95-53=42 Moving to Node #0,2 Current State: 39:[36, 33, 42], Operations: ['95-53=42'] Exploring Operation: 36-33=3, Resulting Numbers: [42, 3] Generated Node #0,2,0: 39:[42, 3] Operation: 36-33=3 Moving to Node #0,2,0 Current State: 39:[42, 3], Operations: ['95-53=42', '36-33=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.978299
hs_4
mult_heuristic
[ 82, 43, 2, 54 ]
91
[ "82-43=39", "54-2=52", "39+52=91" ]
Current State: 91:[82, 43, 2, 54], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [2, 54, 39] Generated Node #2: [2, 54, 39] from Operation: 82-43=39 Current State: 91:[2, 54, 39], Operations: ['82-43=39'] Exploring Operation: 54-2=52, Resulting Numbers: [39, 52] Generated Node #3: [39, 52] from Operation: 54-2=52 Current State: 91:[39, 52], Operations: ['82-43=39', '54-2=52'] Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[82, 43, 2, 54], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [82, 2, 11] Generated Node #0,0: 91:[82, 2, 11] Operation: 54-43=11 Moving to Node #0,0 Current State: 91:[82, 2, 11], Operations: ['54-43=11'] Exploring Operation: 82+11=93, Resulting Numbers: [2, 93] Generated Node #0,0,0: 91:[2, 93] Operation: 82+11=93 Moving to Node #0,0,0 Current State: 91:[2, 93], Operations: ['54-43=11', '82+11=93'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[82, 43, 2, 54], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [82, 2, 11] Generated Node #0,0: 91:[82, 2, 11] Operation: 54-43=11 Moving to Node #0,0 Current State: 91:[82, 2, 11], Operations: ['54-43=11'] Exploring Operation: 82+11=93, Resulting Numbers: [2, 93] Generated Node #0,0,0: 91:[2, 93] Operation: 82+11=93 Moving to Node #0,0,0 Current State: 91:[2, 93], Operations: ['54-43=11', '82+11=93'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 88, 91, 91, 18 ]
18
[ "91-91=0", "88*0=0", "18+0=18" ]
Current State: 18:[88, 91, 91, 18], Operations: [] Exploring Operation: 91-91=0, Resulting Numbers: [88, 18, 0] Generated Node #2: [88, 18, 0] from Operation: 91-91=0 Current State: 18:[88, 18, 0], Operations: ['91-91=0'] Exploring Operation: 88*0=0, Resulting Numbers: [18, 0] Generated Node #3: [18, 0] from Operation: 88*0=0 Current State: 18:[18, 0], Operations: ['91-91=0', '88*0=0'] Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[88, 91, 91, 18], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [91, 18, 3] Generated Node #0,0: 18:[91, 18, 3] Operation: 91-88=3 Exploring Operation: 91-91=0, Resulting Numbers: [88, 18, 0] Generated Node #0,1: 18:[88, 18, 0] Operation: 91-91=0 Exploring Operation: 91/91=1, Resulting Numbers: [88, 18, 1] Generated Node #0,2: 18:[88, 18, 1] Operation: 91/91=1 Moving to Node #0,2 Current State: 18:[88, 18, 1], Operations: ['91/91=1'] Exploring Operation: 88-18=70, Resulting Numbers: [1, 70] Generated Node #0,2,0: 18:[1, 70] Operation: 88-18=70 Exploring Operation: 88-1=87, Resulting Numbers: [18, 87] Generated Node #0,2,1: 18:[18, 87] Operation: 88-1=87 Exploring Operation: 88*1=88, Resulting Numbers: [18, 88] Generated Node #0,2,2: 18:[18, 88] Operation: 88*1=88 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[1, 70], Operations: ['91/91=1', '88-18=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,18 unequal: No Solution Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,18 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[18, 87], Operations: ['91/91=1', '88-1=87'] Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,18 unequal: No Solution Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,18 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[18, 88], Operations: ['91/91=1', '88*1=88'] Exploring Operation: 18*88=1584, Resulting Numbers: [1584] 1584,18 unequal: No Solution Exploring Operation: 18+88=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[88, 18, 0], Operations: ['91-91=0'] Exploring Operation: 88-18=70, Resulting Numbers: [0, 70] Generated Node #0,1,0: 18:[0, 70] Operation: 88-18=70 Exploring Operation: 88+0=88, Resulting Numbers: [18, 88] Generated Node #0,1,1: 18:[18, 88] Operation: 88+0=88 Exploring Operation: 88*0=0, Resulting Numbers: [18, 0] Generated Node #0,1,2: 18:[18, 0] Operation: 88*0=0 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[18, 0], Operations: ['91-91=0', '88*0=0'] Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[88, 91, 91, 18], Operations: [] Exploring Operation: 91-91=0, Resulting Numbers: [88, 18, 0] Generated Node #0,1: 18:[88, 18, 0] Operation: 91-91=0 Moving to Node #0,1 Current State: 18:[88, 18, 0], Operations: ['91-91=0'] Exploring Operation: 88*0=0, Resulting Numbers: [18, 0] Generated Node #0,1,2: 18:[18, 0] Operation: 88*0=0 Moving to Node #0,1,2 Current State: 18:[18, 0], Operations: ['91-91=0', '88*0=0'] Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 85, 22, 95, 2 ]
61
[ "95-22=73", "2*73=146", "146-85=61" ]
Current State: 61:[85, 22, 95, 2], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [85, 2, 73] Generated Node #2: [85, 2, 73] from Operation: 95-22=73 Current State: 61:[85, 2, 73], Operations: ['95-22=73'] Exploring Operation: 2*73=146, Resulting Numbers: [85, 146] Generated Node #3: [85, 146] from Operation: 2*73=146 Current State: 61:[85, 146], Operations: ['95-22=73', '2*73=146'] Exploring Operation: 146-85=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[85, 22, 95, 2], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [85, 2, 73] Generated Node #0,0: 61:[85, 2, 73] Operation: 95-22=73 Exploring Operation: 22+2=24, Resulting Numbers: [85, 95, 24] Generated Node #0,1: 61:[85, 95, 24] Operation: 22+2=24 Exploring Operation: 85-2=83, Resulting Numbers: [22, 95, 83] Generated Node #0,2: 61:[22, 95, 83] Operation: 85-2=83 Exploring Operation: 22*2=44, Resulting Numbers: [85, 95, 44] Generated Node #0,3: 61:[85, 95, 44] Operation: 22*2=44 Exploring Operation: 85-22=63, Resulting Numbers: [95, 2, 63] Generated Node #0,4: 61:[95, 2, 63] Operation: 85-22=63 Moving to Node #0,3 Current State: 61:[85, 95, 44], Operations: ['22*2=44'] Exploring Operation: 95-85=10, Resulting Numbers: [44, 10] Generated Node #0,3,0: 61:[44, 10] Operation: 95-85=10 Exploring Operation: 95-44=51, Resulting Numbers: [85, 51] Generated Node #0,3,1: 61:[85, 51] Operation: 95-44=51 Exploring Operation: 85+44=129, Resulting Numbers: [95, 129] Generated Node #0,3,2: 61:[95, 129] Operation: 85+44=129 Exploring Operation: 85-44=41, Resulting Numbers: [95, 41] Generated Node #0,3,3: 61:[95, 41] Operation: 85-44=41 Exploring Operation: 95+44=139, Resulting Numbers: [85, 139] Generated Node #0,3,4: 61:[85, 139] Operation: 95+44=139 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[85, 51], Operations: ['22*2=44', '95-44=51'] Exploring Operation: 85+51=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 85*51=4335, Resulting Numbers: [4335] 4335,61 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[95, 41], Operations: ['22*2=44', '85-44=41'] Exploring Operation: 95*41=3895, Resulting Numbers: [3895] 3895,61 unequal: No Solution Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 95+41=136, Resulting Numbers: [136] 136,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:[44, 10], Operations: ['22*2=44', '95-85=10'] Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,61 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,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:[95, 129], Operations: ['22*2=44', '85+44=129'] Exploring Operation: 95*129=12255, Resulting Numbers: [12255] 12255,61 unequal: No Solution Exploring Operation: 95+129=224, Resulting Numbers: [224] 224,61 unequal: No Solution Exploring Operation: 129-95=34, Resulting Numbers: [34] 34,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,4 Current State: 61:[85, 139], Operations: ['22*2=44', '95+44=139'] Exploring Operation: 139-85=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 85+139=224, Resulting Numbers: [224] 224,61 unequal: No Solution Exploring Operation: 85*139=11815, Resulting Numbers: [11815] 11815,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[85, 95, 24], Operations: ['22+2=24'] Exploring Operation: 95-24=71, Resulting Numbers: [85, 71] Generated Node #0,1,0: 61:[85, 71] Operation: 95-24=71 Exploring Operation: 95-85=10, Resulting Numbers: [24, 10] Generated Node #0,1,1: 61:[24, 10] Operation: 95-85=10 Exploring Operation: 95+24=119, Resulting Numbers: [85, 119] Generated Node #0,1,2: 61:[85, 119] Operation: 95+24=119 Exploring Operation: 85+24=109, Resulting Numbers: [95, 109] Generated Node #0,1,3: 61:[95, 109] Operation: 85+24=109 Exploring Operation: 85-24=61, Resulting Numbers: [95, 61] Generated Node #0,1,4: 61:[95, 61] Operation: 85-24=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[85, 71], Operations: ['22+2=24', '95-24=71'] Exploring Operation: 85-71=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 85*71=6035, Resulting Numbers: [6035] 6035,61 unequal: No Solution Exploring Operation: 85+71=156, Resulting Numbers: [156] 156,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:[95, 61], Operations: ['22+2=24', '85-24=61'] Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,61 unequal: No Solution Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,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,2 Current State: 61:[85, 119], Operations: ['22+2=24', '95+24=119'] Exploring Operation: 85*119=10115, Resulting Numbers: [10115] 10115,61 unequal: No Solution Exploring Operation: 85+119=204, Resulting Numbers: [204] 204,61 unequal: No Solution Exploring Operation: 119-85=34, Resulting Numbers: [34] 34,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:[95, 109], Operations: ['22+2=24', '85+24=109'] Exploring Operation: 95*109=10355, Resulting Numbers: [10355] 10355,61 unequal: No Solution Exploring Operation: 95+109=204, Resulting Numbers: [204] 204,61 unequal: No Solution Exploring Operation: 109-95=14, Resulting Numbers: [14] 14,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:[24, 10], Operations: ['22+2=24', '95-85=10'] Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,61 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,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:[95, 2, 63], Operations: ['85-22=63'] Exploring Operation: 95-2=93, Resulting Numbers: [63, 93] Generated Node #0,4,0: 61:[63, 93] Operation: 95-2=93 Exploring Operation: 95+2=97, Resulting Numbers: [63, 97] Generated Node #0,4,1: 61:[63, 97] Operation: 95+2=97 Exploring Operation: 2+63=65, Resulting Numbers: [95, 65] Generated Node #0,4,2: 61:[95, 65] Operation: 2+63=65 Exploring Operation: 63-2=61, Resulting Numbers: [95, 61] Generated Node #0,4,3: 61:[95, 61] Operation: 63-2=61 Exploring Operation: 95-63=32, Resulting Numbers: [2, 32] Generated Node #0,4,4: 61:[2, 32] Operation: 95-63=32 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 61:[63, 93], Operations: ['85-22=63', '95-2=93'] Exploring Operation: 63+93=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 63*93=5859, Resulting Numbers: [5859] 5859,61 unequal: No Solution Exploring Operation: 93-63=30, Resulting Numbers: [30] 30,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:[95, 61], Operations: ['85-22=63', '63-2=61'] Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,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:[63, 97], Operations: ['85-22=63', '95+2=97'] Exploring Operation: 63+97=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 97-63=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 63*97=6111, Resulting Numbers: [6111] 6111,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:[95, 65], Operations: ['85-22=63', '2+63=65'] Exploring Operation: 95+65=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 95*65=6175, Resulting Numbers: [6175] 6175,61 unequal: No Solution Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,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,4 Current State: 61:[2, 32], Operations: ['85-22=63', '95-63=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,61 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: 61:[85, 2, 73], Operations: ['95-22=73'] Exploring Operation: 85-2=83, Resulting Numbers: [73, 83] Generated Node #0,0,0: 61:[73, 83] Operation: 85-2=83 Exploring Operation: 73-2=71, Resulting Numbers: [85, 71] Generated Node #0,0,1: 61:[85, 71] Operation: 73-2=71 Exploring Operation: 85+2=87, Resulting Numbers: [73, 87] Generated Node #0,0,2: 61:[73, 87] Operation: 85+2=87 Exploring Operation: 2+73=75, Resulting Numbers: [85, 75] Generated Node #0,0,3: 61:[85, 75] Operation: 2+73=75 Exploring Operation: 85-73=12, Resulting Numbers: [2, 12] Generated Node #0,0,4: 61:[2, 12] Operation: 85-73=12 Moving to Node #0,2 Current State: 61:[22, 95, 83], Operations: ['85-2=83'] Exploring Operation: 83-22=61, Resulting Numbers: [95, 61] Generated Node #0,2,0: 61:[95, 61] Operation: 83-22=61 Exploring Operation: 95-83=12, Resulting Numbers: [22, 12] Generated Node #0,2,1: 61:[22, 12] Operation: 95-83=12 Exploring Operation: 22+83=105, Resulting Numbers: [95, 105] Generated Node #0,2,2: 61:[95, 105] Operation: 22+83=105 Exploring Operation: 22+95=117, Resulting Numbers: [83, 117] Generated Node #0,2,3: 61:[83, 117] Operation: 22+95=117 Exploring Operation: 95-22=73, Resulting Numbers: [83, 73] Generated Node #0,2,4: 61:[83, 73] Operation: 95-22=73 Moving to Node #0,0,0 Current State: 61:[73, 83], Operations: ['95-22=73', '85-2=83'] Exploring Operation: 73+83=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 83-73=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 73*83=6059, Resulting Numbers: [6059] 6059,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[95, 61], Operations: ['85-2=83', '83-22=61'] Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,61 unequal: No Solution Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[83, 73], Operations: ['85-2=83', '95-22=73'] Exploring Operation: 83*73=6059, Resulting Numbers: [6059] 6059,61 unequal: No Solution Exploring Operation: 83+73=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 83-73=10, Resulting Numbers: [10] 10,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[85, 71], Operations: ['95-22=73', '73-2=71'] Exploring Operation: 85-71=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 85*71=6035, Resulting Numbers: [6035] 6035,61 unequal: No Solution Exploring Operation: 85+71=156, Resulting Numbers: [156] 156,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[73, 87], Operations: ['95-22=73', '85+2=87'] Exploring Operation: 73+87=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 73*87=6351, Resulting Numbers: [6351] 6351,61 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[85, 75], Operations: ['95-22=73', '2+73=75'] Exploring Operation: 85*75=6375, Resulting Numbers: [6375] 6375,61 unequal: No Solution Exploring Operation: 85+75=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[83, 117], Operations: ['85-2=83', '22+95=117'] Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,61 unequal: No Solution Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[95, 105], Operations: ['85-2=83', '22+83=105'] Exploring Operation: 105-95=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 95+105=200, Resulting Numbers: [200] 200,61 unequal: No Solution Exploring Operation: 95*105=9975, Resulting Numbers: [9975] 9975,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[22, 12], Operations: ['85-2=83', '95-83=12'] Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,61 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[2, 12], Operations: ['95-22=73', '85-73=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,61 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 29, 64, 85, 32 ]
28
[ "85-29=56", "64/32=2", "56/2=28" ]
Current State: 28:[29, 64, 85, 32], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [64, 32, 56] Generated Node #2: [64, 32, 56] from Operation: 85-29=56 Current State: 28:[64, 32, 56], Operations: ['85-29=56'] Exploring Operation: 64/32=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 64/32=2 Current State: 28:[56, 2], Operations: ['85-29=56', '64/32=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[29, 64, 85, 32], Operations: [] Exploring Operation: 85-32=53, Resulting Numbers: [29, 64, 53] Generated Node #0,0: 28:[29, 64, 53] Operation: 85-32=53 Exploring Operation: 64/32=2, Resulting Numbers: [29, 85, 2] Generated Node #0,1: 28:[29, 85, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [29, 85, 32] Generated Node #0,2: 28:[29, 85, 32] Operation: 64-32=32 Exploring Operation: 85-64=21, Resulting Numbers: [29, 32, 21] Generated Node #0,3: 28:[29, 32, 21] Operation: 85-64=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[29, 32, 21], Operations: ['85-64=21'] Exploring Operation: 29+21=50, Resulting Numbers: [32, 50] Generated Node #0,3,0: 28:[32, 50] Operation: 29+21=50 Exploring Operation: 29-21=8, Resulting Numbers: [32, 8] Generated Node #0,3,1: 28:[32, 8] Operation: 29-21=8 Exploring Operation: 32-21=11, Resulting Numbers: [29, 11] Generated Node #0,3,2: 28:[29, 11] Operation: 32-21=11 Exploring Operation: 32-29=3, Resulting Numbers: [21, 3] Generated Node #0,3,3: 28:[21, 3] Operation: 32-29=3 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[29, 11], Operations: ['85-64=21', '32-21=11'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,28 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[32, 8], Operations: ['85-64=21', '29-21=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,28 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[21, 3], Operations: ['85-64=21', '32-29=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,28 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[32, 50], Operations: ['85-64=21', '29+21=50'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,28 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: 28:[29, 85, 2], Operations: ['64/32=2'] Exploring Operation: 85-29=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 28:[2, 56] Operation: 85-29=56 Exploring Operation: 85-2=83, Resulting Numbers: [29, 83] Generated Node #0,1,1: 28:[29, 83] Operation: 85-2=83 Exploring Operation: 29+2=31, Resulting Numbers: [85, 31] Generated Node #0,1,2: 28:[85, 31] Operation: 29+2=31 Exploring Operation: 29-2=27, Resulting Numbers: [85, 27] Generated Node #0,1,3: 28:[85, 27] Operation: 29-2=27 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[2, 56], Operations: ['64/32=2', '85-29=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[29, 64, 85, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [29, 85, 2] Generated Node #0,1: 28:[29, 85, 2] Operation: 64/32=2 Moving to Node #0,1 Current State: 28:[29, 85, 2], Operations: ['64/32=2'] Exploring Operation: 85-29=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 28:[2, 56] Operation: 85-29=56 Moving to Node #0,1,0 Current State: 28:[2, 56], Operations: ['64/32=2', '85-29=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 4, 53, 94, 82 ]
56
[ "94-82=12", "12/4=3", "53+3=56" ]
Current State: 56:[4, 53, 94, 82], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [4, 53, 12] Generated Node #2: [4, 53, 12] from Operation: 94-82=12 Current State: 56:[4, 53, 12], Operations: ['94-82=12'] Exploring Operation: 12/4=3, Resulting Numbers: [53, 3] Generated Node #3: [53, 3] from Operation: 12/4=3 Current State: 56:[53, 3], Operations: ['94-82=12', '12/4=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[4, 53, 94, 82], Operations: [] Exploring Operation: 94-4=90, Resulting Numbers: [53, 82, 90] Generated Node #0,0: 56:[53, 82, 90] Operation: 94-4=90 Exploring Operation: 82-53=29, Resulting Numbers: [4, 94, 29] Generated Node #0,1: 56:[4, 94, 29] Operation: 82-53=29 Exploring Operation: 94-82=12, Resulting Numbers: [4, 53, 12] Generated Node #0,2: 56:[4, 53, 12] Operation: 94-82=12 Exploring Operation: 94-53=41, Resulting Numbers: [4, 82, 41] Generated Node #0,3: 56:[4, 82, 41] Operation: 94-53=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[4, 53, 12], Operations: ['94-82=12'] Exploring Operation: 4+53=57, Resulting Numbers: [12, 57] Generated Node #0,2,0: 56:[12, 57] Operation: 4+53=57 Exploring Operation: 4+12=16, Resulting Numbers: [53, 16] Generated Node #0,2,1: 56:[53, 16] Operation: 4+12=16 Exploring Operation: 12/4=3, Resulting Numbers: [53, 3] Generated Node #0,2,2: 56:[53, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [53, 8] Generated Node #0,2,3: 56:[53, 8] Operation: 12-4=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[12, 57], Operations: ['94-82=12', '4+53=57'] Exploring Operation: 12*57=684, Resulting Numbers: [684] 684,56 unequal: No Solution Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[53, 8], Operations: ['94-82=12', '12-4=8'] Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,56 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[53, 3], Operations: ['94-82=12', '12/4=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,56 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[4, 53, 94, 82], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [4, 53, 12] Generated Node #0,2: 56:[4, 53, 12] Operation: 94-82=12 Moving to Node #0,2 Current State: 56:[4, 53, 12], Operations: ['94-82=12'] Exploring Operation: 12/4=3, Resulting Numbers: [53, 3] Generated Node #0,2,2: 56:[53, 3] Operation: 12/4=3 Moving to Node #0,2,2 Current State: 56:[53, 3], Operations: ['94-82=12', '12/4=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 8, 32, 48, 42 ]
35
[ "8+32=40", "42*40=1680", "1680/48=35" ]
Current State: 35:[8, 32, 48, 42], Operations: [] Exploring Operation: 8+32=40, Resulting Numbers: [48, 42, 40] Generated Node #2: [48, 42, 40] from Operation: 8+32=40 Current State: 35:[48, 42, 40], Operations: ['8+32=40'] Exploring Operation: 42*40=1680, Resulting Numbers: [48, 1680] Generated Node #3: [48, 1680] from Operation: 42*40=1680 Current State: 35:[48, 1680], Operations: ['8+32=40', '42*40=1680'] Exploring Operation: 1680/48=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[8, 32, 48, 42], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [8, 42, 16] Generated Node #0,0: 35:[8, 42, 16] Operation: 48-32=16 Exploring Operation: 48-42=6, Resulting Numbers: [8, 32, 6] Generated Node #0,1: 35:[8, 32, 6] Operation: 48-42=6 Exploring Operation: 48-8=40, Resulting Numbers: [32, 42, 40] Generated Node #0,2: 35:[32, 42, 40] Operation: 48-8=40 Exploring Operation: 42-8=34, Resulting Numbers: [32, 48, 34] Generated Node #0,3: 35:[32, 48, 34] Operation: 42-8=34 Exploring Operation: 48/8=6, Resulting Numbers: [32, 42, 6] Generated Node #0,4: 35:[32, 42, 6] Operation: 48/8=6 Moving to Node #0,1 Current State: 35:[8, 32, 6], Operations: ['48-42=6'] Exploring Operation: 32/8=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 35:[6, 4] Operation: 32/8=4 Exploring Operation: 32+6=38, Resulting Numbers: [8, 38] Generated Node #0,1,1: 35:[8, 38] Operation: 32+6=38 Exploring Operation: 8+6=14, Resulting Numbers: [32, 14] Generated Node #0,1,2: 35:[32, 14] Operation: 8+6=14 Exploring Operation: 8-6=2, Resulting Numbers: [32, 2] Generated Node #0,1,3: 35:[32, 2] Operation: 8-6=2 Exploring Operation: 8+32=40, Resulting Numbers: [6, 40] Generated Node #0,1,4: 35:[6, 40] Operation: 8+32=40 Moving to Node #0,4 Current State: 35:[32, 42, 6], Operations: ['48/8=6'] Exploring Operation: 42-32=10, Resulting Numbers: [6, 10] Generated Node #0,4,0: 35:[6, 10] Operation: 42-32=10 Exploring Operation: 42-6=36, Resulting Numbers: [32, 36] Generated Node #0,4,1: 35:[32, 36] Operation: 42-6=36 Exploring Operation: 32-6=26, Resulting Numbers: [42, 26] Generated Node #0,4,2: 35:[42, 26] Operation: 32-6=26 Exploring Operation: 32+6=38, Resulting Numbers: [42, 38] Generated Node #0,4,3: 35:[42, 38] Operation: 32+6=38 Exploring Operation: 42/6=7, Resulting Numbers: [32, 7] Generated Node #0,4,4: 35:[32, 7] Operation: 42/6=7 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 35:[32, 7], Operations: ['48/8=6', '42/6=7'] Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,35 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,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,4,0 Current State: 35:[6, 10], Operations: ['48/8=6', '42-32=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,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,4,1 Current State: 35:[32, 36], Operations: ['48/8=6', '42-6=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,35 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,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,4,3 Current State: 35:[42, 38], Operations: ['48/8=6', '32+6=38'] Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,35 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,35 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,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,4,2 Current State: 35:[42, 26], Operations: ['48/8=6', '32-6=26'] Exploring Operation: 42*26=1092, Resulting Numbers: [1092] 1092,35 unequal: No Solution Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,35 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: 35:[32, 42, 40], Operations: ['48-8=40'] Exploring Operation: 32+42=74, Resulting Numbers: [40, 74] Generated Node #0,2,0: 35:[40, 74] Operation: 32+42=74 Exploring Operation: 42-32=10, Resulting Numbers: [40, 10] Generated Node #0,2,1: 35:[40, 10] Operation: 42-32=10 Exploring Operation: 32+40=72, Resulting Numbers: [42, 72] Generated Node #0,2,2: 35:[42, 72] Operation: 32+40=72 Exploring Operation: 40-32=8, Resulting Numbers: [42, 8] Generated Node #0,2,3: 35:[42, 8] Operation: 40-32=8 Exploring Operation: 42-40=2, Resulting Numbers: [32, 2] Generated Node #0,2,4: 35:[32, 2] Operation: 42-40=2 Moving to Node #0,0 Current State: 35:[8, 42, 16], Operations: ['48-32=16'] Exploring Operation: 8+16=24, Resulting Numbers: [42, 24] Generated Node #0,0,0: 35:[42, 24] Operation: 8+16=24 Exploring Operation: 42-8=34, Resulting Numbers: [16, 34] Generated Node #0,0,1: 35:[16, 34] Operation: 42-8=34 Exploring Operation: 42-16=26, Resulting Numbers: [8, 26] Generated Node #0,0,2: 35:[8, 26] Operation: 42-16=26 Exploring Operation: 16/8=2, Resulting Numbers: [42, 2] Generated Node #0,0,3: 35:[42, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [42, 8] Generated Node #0,0,4: 35:[42, 8] Operation: 16-8=8 Moving to Node #0,3 Current State: 35:[32, 48, 34], Operations: ['42-8=34'] Exploring Operation: 32+48=80, Resulting Numbers: [34, 80] Generated Node #0,3,0: 35:[34, 80] Operation: 32+48=80 Exploring Operation: 34-32=2, Resulting Numbers: [48, 2] Generated Node #0,3,1: 35:[48, 2] Operation: 34-32=2 Exploring Operation: 48-32=16, Resulting Numbers: [34, 16] Generated Node #0,3,2: 35:[34, 16] Operation: 48-32=16 Exploring Operation: 32+34=66, Resulting Numbers: [48, 66] Generated Node #0,3,3: 35:[48, 66] Operation: 32+34=66 Exploring Operation: 48-34=14, Resulting Numbers: [32, 14] Generated Node #0,3,4: 35:[32, 14] Operation: 48-34=14 Moving to Node #0,1,0 Current State: 35:[6, 4], Operations: ['48-42=6', '32/8=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[8, 38], Operations: ['48-42=6', '32+6=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,35 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[32, 2], Operations: ['48-42=6', '8-6=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[32, 2], Operations: ['48-8=40', '42-40=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,35 unequal: No Solution Moving to Node #0,1,4 Current State: 35:[6, 40], Operations: ['48-42=6', '8+32=40'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,35 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[40, 10], Operations: ['48-8=40', '42-32=10'] Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,35 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[42, 8], Operations: ['48-32=16', '16-8=8'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,35 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[42, 8], Operations: ['48-8=40', '40-32=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,35 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[42, 2], Operations: ['48-32=16', '16/8=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[34, 16], Operations: ['42-8=34', '48-32=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[8, 26], Operations: ['48-32=16', '42-16=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[16, 34], Operations: ['48-32=16', '42-8=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,35 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[32, 14], Operations: ['48-42=6', '8+6=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,35 unequal: No Solution Moving to Node #0,3,4 Current State: 35:[32, 14], Operations: ['42-8=34', '48-34=14'] Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,35 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[48, 2], Operations: ['42-8=34', '34-32=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[42, 24], Operations: ['48-32=16', '8+16=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,35 unequal: No Solution Moving to Node #0,3,3 Current State: 35:[48, 66], Operations: ['42-8=34', '32+34=66'] Exploring Operation: 48*66=3168, Resulting Numbers: [3168] 3168,35 unequal: No Solution Exploring Operation: 48+66=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[42, 72], Operations: ['48-8=40', '32+40=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[40, 74], Operations: ['48-8=40', '32+42=74'] Exploring Operation: 40*74=2960, Resulting Numbers: [2960] 2960,35 unequal: No Solution Exploring Operation: 40+74=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[34, 80], Operations: ['42-8=34', '32+48=80'] Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 34*80=2720, Resulting Numbers: [2720] 2720,35 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 60, 65, 2, 66 ]
22
[ "65-60=5", "5-2=3", "66/3=22" ]
Current State: 22:[60, 65, 2, 66], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [2, 66, 5] Generated Node #2: [2, 66, 5] from Operation: 65-60=5 Current State: 22:[2, 66, 5], Operations: ['65-60=5'] Exploring Operation: 5-2=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 5-2=3 Current State: 22:[66, 3], Operations: ['65-60=5', '5-2=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[60, 65, 2, 66], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [60, 2, 1] Generated Node #0,0: 22:[60, 2, 1] Operation: 66-65=1 Exploring Operation: 60/2=30, Resulting Numbers: [65, 66, 30] Generated Node #0,1: 22:[65, 66, 30] Operation: 60/2=30 Exploring Operation: 65-60=5, Resulting Numbers: [2, 66, 5] Generated Node #0,2: 22:[2, 66, 5] Operation: 65-60=5 Exploring Operation: 66-60=6, Resulting Numbers: [65, 2, 6] Generated Node #0,3: 22:[65, 2, 6] Operation: 66-60=6 Exploring Operation: 66/2=33, Resulting Numbers: [60, 65, 33] Generated Node #0,4: 22:[60, 65, 33] Operation: 66/2=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[60, 2, 1], Operations: ['66-65=1'] Exploring Operation: 60-1=59, Resulting Numbers: [2, 59] Generated Node #0,0,0: 22:[2, 59] Operation: 60-1=59 Exploring Operation: 60*1=60, Resulting Numbers: [2, 60] Generated Node #0,0,1: 22:[2, 60] Operation: 60*1=60 Exploring Operation: 60-2=58, Resulting Numbers: [1, 58] Generated Node #0,0,2: 22:[1, 58] Operation: 60-2=58 Exploring Operation: 60/1=60, Resulting Numbers: [2, 60] Generated Node #0,0,3: 22:[2, 60] Operation: 60/1=60 Exploring Operation: 60/2=30, Resulting Numbers: [1, 30] Generated Node #0,0,4: 22:[1, 30] Operation: 60/2=30 Moving to Node #0,0,4 Current State: 22:[1, 30], Operations: ['66-65=1', '60/2=30'] Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[1, 58], Operations: ['66-65=1', '60-2=58'] Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,22 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[2, 59], Operations: ['66-65=1', '60-1=59'] Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[2, 60], Operations: ['66-65=1', '60*1=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,22 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,22 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[2, 60], Operations: ['66-65=1', '60/1=60'] Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,22 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,22 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,22 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[2, 66, 5], Operations: ['65-60=5'] Exploring Operation: 2*5=10, Resulting Numbers: [66, 10] Generated Node #0,2,0: 22:[66, 10] Operation: 2*5=10 Exploring Operation: 5-2=3, Resulting Numbers: [66, 3] Generated Node #0,2,1: 22:[66, 3] Operation: 5-2=3 Exploring Operation: 66-5=61, Resulting Numbers: [2, 61] Generated Node #0,2,2: 22:[2, 61] Operation: 66-5=61 Exploring Operation: 66/2=33, Resulting Numbers: [5, 33] Generated Node #0,2,3: 22:[5, 33] Operation: 66/2=33 Exploring Operation: 66-2=64, Resulting Numbers: [5, 64] Generated Node #0,2,4: 22:[5, 64] Operation: 66-2=64 Moving to Node #0,2,3 Current State: 22:[5, 33], Operations: ['65-60=5', '66/2=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,22 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[2, 61], Operations: ['65-60=5', '66-5=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,22 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[66, 10], Operations: ['65-60=5', '2*5=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,22 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,22 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[66, 3], Operations: ['65-60=5', '5-2=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[60, 65, 2, 66], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [2, 66, 5] Generated Node #0,2: 22:[2, 66, 5] Operation: 65-60=5 Moving to Node #0,2 Current State: 22:[2, 66, 5], Operations: ['65-60=5'] Exploring Operation: 5-2=3, Resulting Numbers: [66, 3] Generated Node #0,2,1: 22:[66, 3] Operation: 5-2=3 Moving to Node #0,2,1 Current State: 22:[66, 3], Operations: ['65-60=5', '5-2=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
mult_heuristic
[ 64, 3, 38, 28 ]
77
[ "64+3=67", "38-28=10", "67+10=77" ]
Current State: 77:[64, 3, 38, 28], Operations: [] Exploring Operation: 64+3=67, Resulting Numbers: [38, 28, 67] Generated Node #2: [38, 28, 67] from Operation: 64+3=67 Current State: 77:[38, 28, 67], Operations: ['64+3=67'] Exploring Operation: 38-28=10, Resulting Numbers: [67, 10] Generated Node #3: [67, 10] from Operation: 38-28=10 Current State: 77:[67, 10], Operations: ['64+3=67', '38-28=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[64, 3, 38, 28], Operations: [] Exploring Operation: 38-28=10, Resulting Numbers: [64, 3, 10] Generated Node #0,0: 77:[64, 3, 10] Operation: 38-28=10 Exploring Operation: 64-38=26, Resulting Numbers: [3, 28, 26] Generated Node #0,1: 77:[3, 28, 26] Operation: 64-38=26 Exploring Operation: 64+38=102, Resulting Numbers: [3, 28, 102] Generated Node #0,2: 77:[3, 28, 102] Operation: 64+38=102 Exploring Operation: 38+28=66, Resulting Numbers: [64, 3, 66] Generated Node #0,3: 77:[64, 3, 66] Operation: 38+28=66 Exploring Operation: 64+28=92, Resulting Numbers: [3, 38, 92] Generated Node #0,4: 77:[3, 38, 92] Operation: 64+28=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[64, 3, 10], Operations: ['38-28=10'] Exploring Operation: 10-3=7, Resulting Numbers: [64, 7] Generated Node #0,0,0: 77:[64, 7] Operation: 10-3=7 Exploring Operation: 64+3=67, Resulting Numbers: [10, 67] Generated Node #0,0,1: 77:[10, 67] Operation: 64+3=67 Exploring Operation: 64+10=74, Resulting Numbers: [3, 74] Generated Node #0,0,2: 77:[3, 74] Operation: 64+10=74 Exploring Operation: 3+10=13, Resulting Numbers: [64, 13] Generated Node #0,0,3: 77:[64, 13] Operation: 3+10=13 Exploring Operation: 64-3=61, Resulting Numbers: [10, 61] Generated Node #0,0,4: 77:[10, 61] Operation: 64-3=61 Moving to Node #0,0,2 Current State: 77:[3, 74], Operations: ['38-28=10', '64+10=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[64, 3, 38, 28], Operations: [] Exploring Operation: 38-28=10, Resulting Numbers: [64, 3, 10] Generated Node #0,0: 77:[64, 3, 10] Operation: 38-28=10 Moving to Node #0,0 Current State: 77:[64, 3, 10], Operations: ['38-28=10'] Exploring Operation: 64+10=74, Resulting Numbers: [3, 74] Generated Node #0,0,2: 77:[3, 74] Operation: 64+10=74 Moving to Node #0,0,2 Current State: 77:[3, 74], Operations: ['38-28=10', '64+10=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 39, 34, 27, 73 ]
95
[ "39-34=5", "27+73=100", "100-5=95" ]
Current State: 95:[39, 34, 27, 73], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [27, 73, 5] Generated Node #2: [27, 73, 5] from Operation: 39-34=5 Current State: 95:[27, 73, 5], Operations: ['39-34=5'] Exploring Operation: 27+73=100, Resulting Numbers: [5, 100] Generated Node #3: [5, 100] from Operation: 27+73=100 Current State: 95:[5, 100], Operations: ['39-34=5', '27+73=100'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[39, 34, 27, 73], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [27, 73, 5] Generated Node #0,0: 95:[27, 73, 5] Operation: 39-34=5 Exploring Operation: 39+73=112, Resulting Numbers: [34, 27, 112] Generated Node #0,1: 95:[34, 27, 112] Operation: 39+73=112 Exploring Operation: 73-39=34, Resulting Numbers: [34, 27, 34] Generated Node #0,2: 95:[34, 27, 34] Operation: 73-39=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[27, 73, 5], Operations: ['39-34=5'] Exploring Operation: 73+5=78, Resulting Numbers: [27, 78] Generated Node #0,0,0: 95:[27, 78] Operation: 73+5=78 Exploring Operation: 27+73=100, Resulting Numbers: [5, 100] Generated Node #0,0,1: 95:[5, 100] Operation: 27+73=100 Exploring Operation: 27-5=22, Resulting Numbers: [73, 22] Generated Node #0,0,2: 95:[73, 22] Operation: 27-5=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[5, 100], Operations: ['39-34=5', '27+73=100'] Exploring Operation: 5+100=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[39, 34, 27, 73], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [27, 73, 5] Generated Node #0,0: 95:[27, 73, 5] Operation: 39-34=5 Moving to Node #0,0 Current State: 95:[27, 73, 5], Operations: ['39-34=5'] Exploring Operation: 27+73=100, Resulting Numbers: [5, 100] Generated Node #0,0,1: 95:[5, 100] Operation: 27+73=100 Moving to Node #0,0,1 Current State: 95:[5, 100], Operations: ['39-34=5', '27+73=100'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 28, 6, 92, 77 ]
57
[ "28+92=120", "120/6=20", "77-20=57" ]
Current State: 57:[28, 6, 92, 77], Operations: [] Exploring Operation: 28+92=120, Resulting Numbers: [6, 77, 120] Generated Node #2: [6, 77, 120] from Operation: 28+92=120 Current State: 57:[6, 77, 120], Operations: ['28+92=120'] Exploring Operation: 120/6=20, Resulting Numbers: [77, 20] Generated Node #3: [77, 20] from Operation: 120/6=20 Current State: 57:[77, 20], Operations: ['28+92=120', '120/6=20'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[28, 6, 92, 77], Operations: [] Exploring Operation: 28-6=22, Resulting Numbers: [92, 77, 22] Generated Node #0,0: 57:[92, 77, 22] Operation: 28-6=22 Exploring Operation: 92-77=15, Resulting Numbers: [28, 6, 15] Generated Node #0,1: 57:[28, 6, 15] Operation: 92-77=15 Exploring Operation: 77-28=49, Resulting Numbers: [6, 92, 49] Generated Node #0,2: 57:[6, 92, 49] Operation: 77-28=49 Exploring Operation: 92-28=64, Resulting Numbers: [6, 77, 64] Generated Node #0,3: 57:[6, 77, 64] Operation: 92-28=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[28, 6, 15], Operations: ['92-77=15'] Exploring Operation: 6+15=21, Resulting Numbers: [28, 21] Generated Node #0,1,0: 57:[28, 21] Operation: 6+15=21 Exploring Operation: 28-6=22, Resulting Numbers: [15, 22] Generated Node #0,1,1: 57:[15, 22] Operation: 28-6=22 Exploring Operation: 15-6=9, Resulting Numbers: [28, 9] Generated Node #0,1,2: 57:[28, 9] Operation: 15-6=9 Exploring Operation: 28-15=13, Resulting Numbers: [6, 13] Generated Node #0,1,3: 57:[6, 13] Operation: 28-15=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[15, 22], Operations: ['92-77=15', '28-6=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 57:[6, 13], Operations: ['92-77=15', '28-15=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[28, 21], Operations: ['92-77=15', '6+15=21'] Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[28, 9], Operations: ['92-77=15', '15-6=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,57 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[6, 77, 64], Operations: ['92-28=64'] Exploring Operation: 77-64=13, Resulting Numbers: [6, 13] Generated Node #0,3,0: 57:[6, 13] Operation: 77-64=13 Exploring Operation: 77-6=71, Resulting Numbers: [64, 71] Generated Node #0,3,1: 57:[64, 71] Operation: 77-6=71 Exploring Operation: 64-6=58, Resulting Numbers: [77, 58] Generated Node #0,3,2: 57:[77, 58] Operation: 64-6=58 Exploring Operation: 6+77=83, Resulting Numbers: [64, 83] Generated Node #0,3,3: 57:[64, 83] Operation: 6+77=83 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 57:[6, 13], Operations: ['92-28=64', '77-64=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[64, 71], Operations: ['92-28=64', '77-6=71'] Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 64*71=4544, Resulting Numbers: [4544] 4544,57 unequal: No Solution Exploring Operation: 64+71=135, Resulting Numbers: [135] 135,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 57:[77, 58], Operations: ['92-28=64', '64-6=58'] Exploring Operation: 77*58=4466, Resulting Numbers: [4466] 4466,57 unequal: No Solution Exploring Operation: 77+58=135, Resulting Numbers: [135] 135,57 unequal: No Solution Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 57:[64, 83], Operations: ['92-28=64', '6+77=83'] Exploring Operation: 64*83=5312, Resulting Numbers: [5312] 5312,57 unequal: No Solution Exploring Operation: 64+83=147, Resulting Numbers: [147] 147,57 unequal: No Solution Exploring Operation: 83-64=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[6, 92, 49], Operations: ['77-28=49'] Exploring Operation: 92-6=86, Resulting Numbers: [49, 86] Generated Node #0,2,0: 57:[49, 86] Operation: 92-6=86 Exploring Operation: 92-49=43, Resulting Numbers: [6, 43] Generated Node #0,2,1: 57:[6, 43] Operation: 92-49=43 Exploring Operation: 6+49=55, Resulting Numbers: [92, 55] Generated Node #0,2,2: 57:[92, 55] Operation: 6+49=55 Exploring Operation: 6+92=98, Resulting Numbers: [49, 98] Generated Node #0,2,3: 57:[49, 98] Operation: 6+92=98 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[6, 43], Operations: ['77-28=49', '92-49=43'] Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,57 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[49, 86], Operations: ['77-28=49', '92-6=86'] Exploring Operation: 49*86=4214, Resulting Numbers: [4214] 4214,57 unequal: No Solution Exploring Operation: 49+86=135, Resulting Numbers: [135] 135,57 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[92, 55], Operations: ['77-28=49', '6+49=55'] Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,57 unequal: No Solution Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 57:[49, 98], Operations: ['77-28=49', '6+92=98'] Exploring Operation: 49*98=4802, Resulting Numbers: [4802] 4802,57 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 49+98=147, Resulting Numbers: [147] 147,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[92, 77, 22], Operations: ['28-6=22'] Exploring Operation: 92-22=70, Resulting Numbers: [77, 70] Generated Node #0,0,0: 57:[77, 70] Operation: 92-22=70 Exploring Operation: 92-77=15, Resulting Numbers: [22, 15] Generated Node #0,0,1: 57:[22, 15] Operation: 92-77=15 Exploring Operation: 92+22=114, Resulting Numbers: [77, 114] Generated Node #0,0,2: 57:[77, 114] Operation: 92+22=114 Exploring Operation: 77-22=55, Resulting Numbers: [92, 55] Generated Node #0,0,3: 57:[92, 55] Operation: 77-22=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[22, 15], Operations: ['28-6=22', '92-77=15'] Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,57 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[77, 70], Operations: ['28-6=22', '92-22=70'] Exploring Operation: 77-70=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 77*70=5390, Resulting Numbers: [5390] 5390,57 unequal: No Solution Exploring Operation: 77+70=147, Resulting Numbers: [147] 147,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 57:[92, 55], Operations: ['28-6=22', '77-22=55'] Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,57 unequal: No Solution Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 57:[77, 114], Operations: ['28-6=22', '92+22=114'] Exploring Operation: 77+114=191, Resulting Numbers: [191] 191,57 unequal: No Solution Exploring Operation: 114-77=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 77*114=8778, Resulting Numbers: [8778] 8778,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_4
sum_heuristic
[ 33, 85, 87, 80 ]
24
[ "33+87=120", "85-80=5", "120/5=24" ]
Current State: 24:[33, 85, 87, 80], Operations: [] Exploring Operation: 33+87=120, Resulting Numbers: [85, 80, 120] Generated Node #2: [85, 80, 120] from Operation: 33+87=120 Current State: 24:[85, 80, 120], Operations: ['33+87=120'] Exploring Operation: 85-80=5, Resulting Numbers: [120, 5] Generated Node #3: [120, 5] from Operation: 85-80=5 Current State: 24:[120, 5], Operations: ['33+87=120', '85-80=5'] Exploring Operation: 120/5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[33, 85, 87, 80], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [33, 87, 5] Generated Node #0,0: 24:[33, 87, 5] Operation: 85-80=5 Exploring Operation: 87-85=2, Resulting Numbers: [33, 80, 2] Generated Node #0,1: 24:[33, 80, 2] Operation: 87-85=2 Exploring Operation: 87-80=7, Resulting Numbers: [33, 85, 7] Generated Node #0,2: 24:[33, 85, 7] Operation: 87-80=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[33, 80, 2], Operations: ['87-85=2'] Exploring Operation: 33-2=31, Resulting Numbers: [80, 31] Generated Node #0,1,0: 24:[80, 31] Operation: 33-2=31 Exploring Operation: 80-33=47, Resulting Numbers: [2, 47] Generated Node #0,1,1: 24:[2, 47] Operation: 80-33=47 Exploring Operation: 80/2=40, Resulting Numbers: [33, 40] Generated Node #0,1,2: 24:[33, 40] Operation: 80/2=40 Moving to Node #0,1,1 Current State: 24:[2, 47], Operations: ['87-85=2', '80-33=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[33, 40], Operations: ['87-85=2', '80/2=40'] Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,24 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[80, 31], Operations: ['87-85=2', '33-2=31'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,24 unequal: No Solution Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,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,2 Current State: 24:[33, 85, 7], Operations: ['87-80=7'] Exploring Operation: 85-7=78, Resulting Numbers: [33, 78] Generated Node #0,2,0: 24:[33, 78] Operation: 85-7=78 Exploring Operation: 85-33=52, Resulting Numbers: [7, 52] Generated Node #0,2,1: 24:[7, 52] Operation: 85-33=52 Exploring Operation: 33-7=26, Resulting Numbers: [85, 26] Generated Node #0,2,2: 24:[85, 26] Operation: 33-7=26 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[7, 52], Operations: ['87-80=7', '85-33=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,24 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,24 unequal: No Solution No 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: 24:[33, 78], Operations: ['87-80=7', '85-7=78'] Exploring Operation: 33*78=2574, Resulting Numbers: [2574] 2574,24 unequal: No Solution Exploring Operation: 33+78=111, Resulting Numbers: [111] 111,24 unequal: No Solution Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,24 unequal: No Solution No 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: 24:[85, 26], Operations: ['87-80=7', '33-7=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,24 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,24 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[33, 87, 5], Operations: ['85-80=5'] Exploring Operation: 87-33=54, Resulting Numbers: [5, 54] Generated Node #0,0,0: 24:[5, 54] Operation: 87-33=54 Exploring Operation: 87-5=82, Resulting Numbers: [33, 82] Generated Node #0,0,1: 24:[33, 82] Operation: 87-5=82 Exploring Operation: 33-5=28, Resulting Numbers: [87, 28] Generated Node #0,0,2: 24:[87, 28] Operation: 33-5=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[5, 54], Operations: ['85-80=5', '87-33=54'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,24 unequal: No Solution No 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: 24:[33, 82], Operations: ['85-80=5', '87-5=82'] Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,24 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,24 unequal: No Solution No 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: 24:[87, 28], Operations: ['85-80=5', '33-5=28'] Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,24 unequal: No Solution Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,24 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 53, 92, 13, 4 ]
56
[ "92-53=39", "13+4=17", "39+17=56" ]
Current State: 56:[53, 92, 13, 4], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [13, 4, 39] Generated Node #2: [13, 4, 39] from Operation: 92-53=39 Current State: 56:[13, 4, 39], Operations: ['92-53=39'] Exploring Operation: 13+4=17, Resulting Numbers: [39, 17] Generated Node #3: [39, 17] from Operation: 13+4=17 Current State: 56:[39, 17], Operations: ['92-53=39', '13+4=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[53, 92, 13, 4], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [53, 4, 79] Generated Node #0,0: 56:[53, 4, 79] Operation: 92-13=79 Exploring Operation: 92/4=23, Resulting Numbers: [53, 13, 23] Generated Node #0,1: 56:[53, 13, 23] Operation: 92/4=23 Exploring Operation: 92-53=39, Resulting Numbers: [13, 4, 39] Generated Node #0,2: 56:[13, 4, 39] Operation: 92-53=39 Moving to Node #0,1 Current State: 56:[53, 13, 23], Operations: ['92/4=23'] Exploring Operation: 53-23=30, Resulting Numbers: [13, 30] Generated Node #0,1,0: 56:[13, 30] Operation: 53-23=30 Exploring Operation: 23-13=10, Resulting Numbers: [53, 10] Generated Node #0,1,1: 56:[53, 10] Operation: 23-13=10 Exploring Operation: 13+23=36, Resulting Numbers: [53, 36] Generated Node #0,1,2: 56:[53, 36] Operation: 13+23=36 Moving to Node #0,2 Current State: 56:[13, 4, 39], Operations: ['92-53=39'] Exploring Operation: 39-13=26, Resulting Numbers: [4, 26] Generated Node #0,2,0: 56:[4, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [4, 3] Generated Node #0,2,1: 56:[4, 3] Operation: 39/13=3 Exploring Operation: 13+39=52, Resulting Numbers: [4, 52] Generated Node #0,2,2: 56:[4, 52] Operation: 13+39=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[4, 3], Operations: ['92-53=39', '39/13=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[4, 26], Operations: ['92-53=39', '39-13=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[4, 52], Operations: ['92-53=39', '13+39=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[53, 92, 13, 4], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [13, 4, 39] Generated Node #0,2: 56:[13, 4, 39] Operation: 92-53=39 Moving to Node #0,2 Current State: 56:[13, 4, 39], Operations: ['92-53=39'] Exploring Operation: 13+39=52, Resulting Numbers: [4, 52] Generated Node #0,2,2: 56:[4, 52] Operation: 13+39=52 Moving to Node #0,2,2 Current State: 56:[4, 52], Operations: ['92-53=39', '13+39=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 70, 40, 14, 5 ]
50
[ "70/14=5", "40+5=45", "5+45=50" ]
Current State: 50:[70, 40, 14, 5], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [40, 5, 5] Generated Node #2: [40, 5, 5] from Operation: 70/14=5 Current State: 50:[40, 5, 5], Operations: ['70/14=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,50 equal: Goal Reached Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[70, 40, 14, 5], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [40, 14, 14] Generated Node #0,0: 50:[40, 14, 14] Operation: 70/5=14 Exploring Operation: 40-14=26, Resulting Numbers: [70, 5, 26] Generated Node #0,1: 50:[70, 5, 26] Operation: 40-14=26 Exploring Operation: 70-40=30, Resulting Numbers: [14, 5, 30] Generated Node #0,2: 50:[14, 5, 30] Operation: 70-40=30 Exploring Operation: 70/14=5, Resulting Numbers: [40, 5, 5] Generated Node #0,3: 50:[40, 5, 5] Operation: 70/14=5 Exploring Operation: 70-14=56, Resulting Numbers: [40, 5, 56] Generated Node #0,4: 50:[40, 5, 56] Operation: 70-14=56 Moving to Node #0,2 Current State: 50:[14, 5, 30], Operations: ['70-40=30'] Exploring Operation: 30-5=25, Resulting Numbers: [14, 25] Generated Node #0,2,0: 50:[14, 25] Operation: 30-5=25 Exploring Operation: 30-14=16, Resulting Numbers: [5, 16] Generated Node #0,2,1: 50:[5, 16] Operation: 30-14=16 Exploring Operation: 14+30=44, Resulting Numbers: [5, 44] Generated Node #0,2,2: 50:[5, 44] Operation: 14+30=44 Exploring Operation: 30/5=6, Resulting Numbers: [14, 6] Generated Node #0,2,3: 50:[14, 6] Operation: 30/5=6 Exploring Operation: 14-5=9, Resulting Numbers: [30, 9] Generated Node #0,2,4: 50:[30, 9] Operation: 14-5=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[14, 25], Operations: ['70-40=30', '30-5=25'] Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,50 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,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,2,3 Current State: 50:[14, 6], Operations: ['70-40=30', '30/5=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,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,2,1 Current State: 50:[5, 16], Operations: ['70-40=30', '30-14=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,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,2,2 Current State: 50:[5, 44], Operations: ['70-40=30', '14+30=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,50 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,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,2,4 Current State: 50:[30, 9], Operations: ['70-40=30', '14-5=9'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,50 unequal: No Solution Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,50 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: 50:[40, 5, 5], Operations: ['70/14=5'] Exploring Operation: 40/5=8, Resulting Numbers: [5, 8] Generated Node #0,3,0: 50:[5, 8] Operation: 40/5=8 Exploring Operation: 40/5=8, Resulting Numbers: [5, 8] Generated Node #0,3,1: 50:[5, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [5, 35] Generated Node #0,3,2: 50:[5, 35] Operation: 40-5=35 Exploring Operation: 40+5=45, Resulting Numbers: [5, 45] Generated Node #0,3,3: 50:[5, 45] Operation: 40+5=45 Exploring Operation: 40+5=45, Resulting Numbers: [5, 45] Generated Node #0,3,4: 50:[5, 45] Operation: 40+5=45 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[5, 8], Operations: ['70/14=5', '40/5=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,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,3,1 Current State: 50:[5, 8], Operations: ['70/14=5', '40/5=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,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,3,3 Current State: 50:[5, 45], Operations: ['70/14=5', '40+5=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[70, 40, 14, 5], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [40, 5, 5] Generated Node #0,3: 50:[40, 5, 5] Operation: 70/14=5 Moving to Node #0,3 Current State: 50:[40, 5, 5], Operations: ['70/14=5'] Exploring Operation: 40+5=45, Resulting Numbers: [5, 45] Generated Node #0,3,3: 50:[5, 45] Operation: 40+5=45 Moving to Node #0,3,3 Current State: 50:[5, 45], Operations: ['70/14=5', '40+5=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 47, 23, 25, 93 ]
70
[ "47+93=140", "25-23=2", "140/2=70" ]
Current State: 70:[47, 23, 25, 93], Operations: [] Exploring Operation: 47+93=140, Resulting Numbers: [23, 25, 140] Generated Node #2: [23, 25, 140] from Operation: 47+93=140 Current State: 70:[23, 25, 140], Operations: ['47+93=140'] Exploring Operation: 25-23=2, Resulting Numbers: [140, 2] Generated Node #3: [140, 2] from Operation: 25-23=2 Current State: 70:[140, 2], Operations: ['47+93=140', '25-23=2'] Exploring Operation: 140/2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[47, 23, 25, 93], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [47, 25, 70] Generated Node #0,0: 70:[47, 25, 70] Operation: 93-23=70 Exploring Operation: 93-25=68, Resulting Numbers: [47, 23, 68] Generated Node #0,1: 70:[47, 23, 68] Operation: 93-25=68 Exploring Operation: 47+25=72, Resulting Numbers: [23, 93, 72] Generated Node #0,2: 70:[23, 93, 72] Operation: 47+25=72 Exploring Operation: 47+23=70, Resulting Numbers: [25, 93, 70] Generated Node #0,3: 70:[25, 93, 70] Operation: 47+23=70 Exploring Operation: 93-47=46, Resulting Numbers: [23, 25, 46] Generated Node #0,4: 70:[23, 25, 46] Operation: 93-47=46 Moving to Node #0,0 Current State: 70:[47, 25, 70], Operations: ['93-23=70'] Exploring Operation: 25+70=95, Resulting Numbers: [47, 95] Generated Node #0,0,0: 70:[47, 95] Operation: 25+70=95 Exploring Operation: 70-25=45, Resulting Numbers: [47, 45] Generated Node #0,0,1: 70:[47, 45] Operation: 70-25=45 Exploring Operation: 47+25=72, Resulting Numbers: [70, 72] Generated Node #0,0,2: 70:[70, 72] Operation: 47+25=72 Exploring Operation: 70-47=23, Resulting Numbers: [25, 23] Generated Node #0,0,3: 70:[25, 23] Operation: 70-47=23 Exploring Operation: 47-25=22, Resulting Numbers: [70, 22] Generated Node #0,0,4: 70:[70, 22] Operation: 47-25=22 Moving to Node #0,1 Current State: 70:[47, 23, 68], Operations: ['93-25=68'] Exploring Operation: 23+68=91, Resulting Numbers: [47, 91] Generated Node #0,1,0: 70:[47, 91] Operation: 23+68=91 Exploring Operation: 47+23=70, Resulting Numbers: [68, 70] Generated Node #0,1,1: 70:[68, 70] Operation: 47+23=70 Exploring Operation: 47-23=24, Resulting Numbers: [68, 24] Generated Node #0,1,2: 70:[68, 24] Operation: 47-23=24 Exploring Operation: 68-23=45, Resulting Numbers: [47, 45] Generated Node #0,1,3: 70:[47, 45] Operation: 68-23=45 Exploring Operation: 68-47=21, Resulting Numbers: [23, 21] Generated Node #0,1,4: 70:[23, 21] Operation: 68-47=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[68, 70], Operations: ['93-25=68', '47+23=70'] Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,70 unequal: No Solution Exploring Operation: 68*70=4760, Resulting Numbers: [4760] 4760,70 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[68, 24], Operations: ['93-25=68', '47-23=24'] Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 70:[23, 21], Operations: ['93-25=68', '68-47=21'] Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,70 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 70:[47, 45], Operations: ['93-25=68', '68-23=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,70 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[47, 91], Operations: ['93-25=68', '23+68=91'] Exploring Operation: 47*91=4277, Resulting Numbers: [4277] 4277,70 unequal: No Solution Exploring Operation: 47+91=138, Resulting Numbers: [138] 138,70 unequal: No Solution Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 70:[23, 25, 46], Operations: ['93-47=46'] Exploring Operation: 46/23=2, Resulting Numbers: [25, 2] Generated Node #0,4,0: 70:[25, 2] Operation: 46/23=2 Exploring Operation: 46-25=21, Resulting Numbers: [23, 21] Generated Node #0,4,1: 70:[23, 21] Operation: 46-25=21 Exploring Operation: 25+46=71, Resulting Numbers: [23, 71] Generated Node #0,4,2: 70:[23, 71] Operation: 25+46=71 Exploring Operation: 25-23=2, Resulting Numbers: [46, 2] Generated Node #0,4,3: 70:[46, 2] Operation: 25-23=2 Exploring Operation: 23+46=69, Resulting Numbers: [25, 69] Generated Node #0,4,4: 70:[25, 69] Operation: 23+46=69 Moving to Node #0,3 Current State: 70:[25, 93, 70], Operations: ['47+23=70'] Exploring Operation: 25+70=95, Resulting Numbers: [93, 95] Generated Node #0,3,0: 70:[93, 95] Operation: 25+70=95 Exploring Operation: 25+93=118, Resulting Numbers: [70, 118] Generated Node #0,3,1: 70:[70, 118] Operation: 25+93=118 Exploring Operation: 70-25=45, Resulting Numbers: [93, 45] Generated Node #0,3,2: 70:[93, 45] Operation: 70-25=45 Exploring Operation: 93-25=68, Resulting Numbers: [70, 68] Generated Node #0,3,3: 70:[70, 68] Operation: 93-25=68 Exploring Operation: 93-70=23, Resulting Numbers: [25, 23] Generated Node #0,3,4: 70:[25, 23] Operation: 93-70=23 Moving to Node #0,2 Current State: 70:[23, 93, 72], Operations: ['47+25=72'] Exploring Operation: 23+72=95, Resulting Numbers: [93, 95] Generated Node #0,2,0: 70:[93, 95] Operation: 23+72=95 Exploring Operation: 93-72=21, Resulting Numbers: [23, 21] Generated Node #0,2,1: 70:[23, 21] Operation: 93-72=21 Exploring Operation: 93-23=70, Resulting Numbers: [72, 70] Generated Node #0,2,2: 70:[72, 70] Operation: 93-23=70 Exploring Operation: 23+93=116, Resulting Numbers: [72, 116] Generated Node #0,2,3: 70:[72, 116] Operation: 23+93=116 Exploring Operation: 72-23=49, Resulting Numbers: [93, 49] Generated Node #0,2,4: 70:[93, 49] Operation: 72-23=49 Moving to Node #0,0,2 Current State: 70:[70, 72], Operations: ['93-23=70', '47+25=72'] Exploring Operation: 70*72=5040, Resulting Numbers: [5040] 5040,70 unequal: No Solution Exploring Operation: 70+72=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[70, 68], Operations: ['47+23=70', '93-25=68'] Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 70+68=138, Resulting Numbers: [138] 138,70 unequal: No Solution Exploring Operation: 70*68=4760, Resulting Numbers: [4760] 4760,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[72, 70], Operations: ['47+25=72', '93-23=70'] Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 72+70=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 72*70=5040, Resulting Numbers: [5040] 5040,70 unequal: No Solution Moving to Node #0,0,4 Current State: 70:[70, 22], Operations: ['93-23=70', '47-25=22'] Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,70 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,4,0 Current State: 70:[25, 2], Operations: ['93-47=46', '46/23=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,4,2 Current State: 70:[23, 71], Operations: ['93-47=46', '25+46=71'] Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,70 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[25, 69], Operations: ['93-47=46', '23+46=69'] Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,70 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,70 unequal: No Solution Moving to Node #0,4,3 Current State: 70:[46, 2], Operations: ['93-47=46', '25-23=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,4,1 Current State: 70:[23, 21], Operations: ['93-47=46', '46-25=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[23, 21], Operations: ['47+25=72', '93-72=21'] Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,70 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[25, 23], Operations: ['93-23=70', '70-47=23'] Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,70 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,3,4 Current State: 70:[25, 23], Operations: ['47+23=70', '93-70=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[47, 45], Operations: ['93-23=70', '70-25=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[93, 45], Operations: ['47+23=70', '70-25=45'] Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,70 unequal: No Solution Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,70 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[47, 95], Operations: ['93-23=70', '25+70=95'] Exploring Operation: 47*95=4465, Resulting Numbers: [4465] 4465,70 unequal: No Solution Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 47+95=142, Resulting Numbers: [142] 142,70 unequal: No Solution Moving to Node #0,2,4 Current State: 70:[93, 49], Operations: ['47+25=72', '72-23=49'] Exploring Operation: 93+49=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 93-49=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 93*49=4557, Resulting Numbers: [4557] 4557,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[70, 118], Operations: ['47+23=70', '25+93=118'] Exploring Operation: 70+118=188, Resulting Numbers: [188] 188,70 unequal: No Solution Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 70*118=8260, Resulting Numbers: [8260] 8260,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[93, 95], Operations: ['47+25=72', '23+72=95'] Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 93*95=8835, Resulting Numbers: [8835] 8835,70 unequal: No Solution Exploring Operation: 93+95=188, Resulting Numbers: [188] 188,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[72, 116], Operations: ['47+25=72', '23+93=116'] Exploring Operation: 72+116=188, Resulting Numbers: [188] 188,70 unequal: No Solution Exploring Operation: 116-72=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 72*116=8352, Resulting Numbers: [8352] 8352,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[93, 95], Operations: ['47+23=70', '25+70=95'] Exploring Operation: 93*95=8835, Resulting Numbers: [8835] 8835,70 unequal: No Solution Exploring Operation: 93+95=188, Resulting Numbers: [188] 188,70 unequal: No Solution Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 84, 91, 90 ]
88
[ "90-84=6", "6/2=3", "91-3=88" ]
Current State: 88:[2, 84, 91, 90], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [2, 91, 6] Generated Node #2: [2, 91, 6] from Operation: 90-84=6 Current State: 88:[2, 91, 6], Operations: ['90-84=6'] Exploring Operation: 6/2=3, Resulting Numbers: [91, 3] Generated Node #3: [91, 3] from Operation: 6/2=3 Current State: 88:[91, 3], Operations: ['90-84=6', '6/2=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[2, 84, 91, 90], Operations: [] Exploring Operation: 91-84=7, Resulting Numbers: [2, 90, 7] Generated Node #0,0: 88:[2, 90, 7] Operation: 91-84=7 Moving to Node #0,0 Current State: 88:[2, 90, 7], Operations: ['91-84=7'] Exploring Operation: 90-2=88, Resulting Numbers: [7, 88] Generated Node #0,0,0: 88:[7, 88] Operation: 90-2=88 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[7, 88], Operations: ['91-84=7', '90-2=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 66, 64, 63 ]
96
[ "31+66=97", "64-63=1", "97-1=96" ]
Current State: 96:[31, 66, 64, 63], Operations: [] Exploring Operation: 31+66=97, Resulting Numbers: [64, 63, 97] Generated Node #2: [64, 63, 97] from Operation: 31+66=97 Current State: 96:[64, 63, 97], Operations: ['31+66=97'] Exploring Operation: 64-63=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 64-63=1 Current State: 96:[97, 1], Operations: ['31+66=97', '64-63=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[31, 66, 64, 63], Operations: [] Exploring Operation: 31+66=97, Resulting Numbers: [64, 63, 97] Generated Node #0,0: 96:[64, 63, 97] Operation: 31+66=97 Exploring Operation: 66-63=3, Resulting Numbers: [31, 64, 3] Generated Node #0,1: 96:[31, 64, 3] Operation: 66-63=3 Exploring Operation: 64-63=1, Resulting Numbers: [31, 66, 1] Generated Node #0,2: 96:[31, 66, 1] Operation: 64-63=1 Exploring Operation: 66-64=2, Resulting Numbers: [31, 63, 2] Generated Node #0,3: 96:[31, 63, 2] Operation: 66-64=2 Moving to Node #0,3 Current State: 96:[31, 63, 2], Operations: ['66-64=2'] Exploring Operation: 31+2=33, Resulting Numbers: [63, 33] Generated Node #0,3,0: 96:[63, 33] Operation: 31+2=33 Exploring Operation: 63-2=61, Resulting Numbers: [31, 61] Generated Node #0,3,1: 96:[31, 61] Operation: 63-2=61 Exploring Operation: 63-31=32, Resulting Numbers: [2, 32] Generated Node #0,3,2: 96:[2, 32] Operation: 63-31=32 Exploring Operation: 31+63=94, Resulting Numbers: [2, 94] Generated Node #0,3,3: 96:[2, 94] Operation: 31+63=94 Moving to Node #0,1 Current State: 96:[31, 64, 3], Operations: ['66-63=3'] Exploring Operation: 31+3=34, Resulting Numbers: [64, 34] Generated Node #0,1,0: 96:[64, 34] Operation: 31+3=34 Exploring Operation: 64-3=61, Resulting Numbers: [31, 61] Generated Node #0,1,1: 96:[31, 61] Operation: 64-3=61 Exploring Operation: 31+64=95, Resulting Numbers: [3, 95] Generated Node #0,1,2: 96:[3, 95] Operation: 31+64=95 Exploring Operation: 64-31=33, Resulting Numbers: [3, 33] Generated Node #0,1,3: 96:[3, 33] Operation: 64-31=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[3, 95], Operations: ['66-63=3', '31+64=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[3, 33], Operations: ['66-63=3', '64-31=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,96 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,96 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[31, 61], Operations: ['66-63=3', '64-3=61'] Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,96 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[64, 34], Operations: ['66-63=3', '31+3=34'] Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,96 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,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:[31, 66, 1], Operations: ['64-63=1'] Exploring Operation: 31+1=32, Resulting Numbers: [66, 32] Generated Node #0,2,0: 96:[66, 32] Operation: 31+1=32 Exploring Operation: 66-1=65, Resulting Numbers: [31, 65] Generated Node #0,2,1: 96:[31, 65] Operation: 66-1=65 Exploring Operation: 31+66=97, Resulting Numbers: [1, 97] Generated Node #0,2,2: 96:[1, 97] Operation: 31+66=97 Exploring Operation: 66-31=35, Resulting Numbers: [1, 35] Generated Node #0,2,3: 96:[1, 35] Operation: 66-31=35 Moving to Node #0,0 Current State: 96:[64, 63, 97], Operations: ['31+66=97'] Exploring Operation: 64-63=1, Resulting Numbers: [97, 1] Generated Node #0,0,0: 96:[97, 1] Operation: 64-63=1 Exploring Operation: 97-64=33, Resulting Numbers: [63, 33] Generated Node #0,0,1: 96:[63, 33] Operation: 97-64=33 Exploring Operation: 97-63=34, Resulting Numbers: [64, 34] Generated Node #0,0,2: 96:[64, 34] Operation: 97-63=34 Exploring Operation: 64+63=127, Resulting Numbers: [97, 127] Generated Node #0,0,3: 96:[97, 127] Operation: 64+63=127 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[97, 1], Operations: ['31+66=97', '64-63=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[31, 66, 64, 63], Operations: [] Exploring Operation: 31+66=97, Resulting Numbers: [64, 63, 97] Generated Node #0,0: 96:[64, 63, 97] Operation: 31+66=97 Moving to Node #0,0 Current State: 96:[64, 63, 97], Operations: ['31+66=97'] Exploring Operation: 64-63=1, Resulting Numbers: [97, 1] Generated Node #0,0,0: 96:[97, 1] Operation: 64-63=1 Moving to Node #0,0,0 Current State: 96:[97, 1], Operations: ['31+66=97', '64-63=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
mult_heuristic
[ 12, 82, 81, 83 ]
95
[ "12+83=95", "82-81=1", "95*1=95" ]
Current State: 95:[12, 82, 81, 83], Operations: [] Exploring Operation: 12+83=95, Resulting Numbers: [82, 81, 95] Generated Node #2: [82, 81, 95] from Operation: 12+83=95 Current State: 95:[82, 81, 95], Operations: ['12+83=95'] Exploring Operation: 82-81=1, Resulting Numbers: [95, 1] Generated Node #3: [95, 1] from Operation: 82-81=1 Current State: 95:[95, 1], Operations: ['12+83=95', '82-81=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[12, 82, 81, 83], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [12, 83, 1] Generated Node #0,0: 95:[12, 83, 1] Operation: 82-81=1 Moving to Node #0,0 Current State: 95:[12, 83, 1], Operations: ['82-81=1'] Exploring Operation: 12+83=95, Resulting Numbers: [1, 95] Generated Node #0,0,0: 95:[1, 95] Operation: 12+83=95 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[1, 95], Operations: ['82-81=1', '12+83=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[12, 82, 81, 83], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [12, 83, 1] Generated Node #0,0: 95:[12, 83, 1] Operation: 82-81=1 Moving to Node #0,0 Current State: 95:[12, 83, 1], Operations: ['82-81=1'] Exploring Operation: 12+83=95, Resulting Numbers: [1, 95] Generated Node #0,0,0: 95:[1, 95] Operation: 12+83=95 Moving to Node #0,0,0 Current State: 95:[1, 95], Operations: ['82-81=1', '12+83=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 88, 73, 5 ]
74
[ "88-73=15", "5*15=75", "75-1=74" ]
Current State: 74:[1, 88, 73, 5], Operations: [] Exploring Operation: 88-73=15, Resulting Numbers: [1, 5, 15] Generated Node #2: [1, 5, 15] from Operation: 88-73=15 Current State: 74:[1, 5, 15], Operations: ['88-73=15'] Exploring Operation: 5*15=75, Resulting Numbers: [1, 75] Generated Node #3: [1, 75] from Operation: 5*15=75 Current State: 74:[1, 75], Operations: ['88-73=15', '5*15=75'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[1, 88, 73, 5], Operations: [] Exploring Operation: 88-5=83, Resulting Numbers: [1, 73, 83] Generated Node #0,0: 74:[1, 73, 83] Operation: 88-5=83 Exploring Operation: 1+73=74, Resulting Numbers: [88, 5, 74] Generated Node #0,1: 74:[88, 5, 74] Operation: 1+73=74 Exploring Operation: 88-1=87, Resulting Numbers: [73, 5, 87] Generated Node #0,2: 74:[73, 5, 87] Operation: 88-1=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[1, 73, 83], Operations: ['88-5=83'] Exploring Operation: 1+73=74, Resulting Numbers: [83, 74] Generated Node #0,0,0: 74:[83, 74] Operation: 1+73=74 Exploring Operation: 83-1=82, Resulting Numbers: [73, 82] Generated Node #0,0,1: 74:[73, 82] Operation: 83-1=82 Exploring Operation: 83-73=10, Resulting Numbers: [1, 10] Generated Node #0,0,2: 74:[1, 10] Operation: 83-73=10 Moving to Node #0,0,0 Current State: 74:[83, 74], Operations: ['88-5=83', '1+73=74'] Exploring Operation: 83+74=157, Resulting Numbers: [157] 157,74 unequal: No Solution Exploring Operation: 83*74=6142, Resulting Numbers: [6142] 6142,74 unequal: No Solution Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[73, 82], Operations: ['88-5=83', '83-1=82'] Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 73+82=155, Resulting Numbers: [155] 155,74 unequal: No Solution Exploring Operation: 73*82=5986, Resulting Numbers: [5986] 5986,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[1, 10], Operations: ['88-5=83', '83-73=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,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 Current State: 74:[88, 5, 74], Operations: ['1+73=74'] Exploring Operation: 88+5=93, Resulting Numbers: [74, 93] Generated Node #0,1,0: 74:[74, 93] Operation: 88+5=93 Exploring Operation: 88-5=83, Resulting Numbers: [74, 83] Generated Node #0,1,1: 74:[74, 83] Operation: 88-5=83 Exploring Operation: 88-74=14, Resulting Numbers: [5, 14] Generated Node #0,1,2: 74:[5, 14] Operation: 88-74=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[74, 83], Operations: ['1+73=74', '88-5=83'] Exploring Operation: 74*83=6142, Resulting Numbers: [6142] 6142,74 unequal: No Solution Exploring Operation: 74+83=157, Resulting Numbers: [157] 157,74 unequal: No Solution Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[5, 14], Operations: ['1+73=74', '88-74=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[74, 93], Operations: ['1+73=74', '88+5=93'] Exploring Operation: 74*93=6882, Resulting Numbers: [6882] 6882,74 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 74+93=167, Resulting Numbers: [167] 167,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[73, 5, 87], Operations: ['88-1=87'] Exploring Operation: 87-73=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 74:[5, 14] Operation: 87-73=14 Exploring Operation: 73+5=78, Resulting Numbers: [87, 78] Generated Node #0,2,1: 74:[87, 78] Operation: 73+5=78 Exploring Operation: 87-5=82, Resulting Numbers: [73, 82] Generated Node #0,2,2: 74:[73, 82] Operation: 87-5=82 Moving to Node #0,2,2 Current State: 74:[73, 82], Operations: ['88-1=87', '87-5=82'] Exploring Operation: 73*82=5986, Resulting Numbers: [5986] 5986,74 unequal: No Solution Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 73+82=155, Resulting Numbers: [155] 155,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[5, 14], Operations: ['88-1=87', '87-73=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[87, 78], Operations: ['88-1=87', '73+5=78'] Exploring Operation: 87+78=165, Resulting Numbers: [165] 165,74 unequal: No Solution Exploring Operation: 87*78=6786, Resulting Numbers: [6786] 6786,74 unequal: No Solution Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,74 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
[ 14, 17, 30, 86 ]
96
[ "17-14=3", "30/3=10", "86+10=96" ]
Current State: 96:[14, 17, 30, 86], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [30, 86, 3] Generated Node #2: [30, 86, 3] from Operation: 17-14=3 Current State: 96:[30, 86, 3], Operations: ['17-14=3'] Exploring Operation: 30/3=10, Resulting Numbers: [86, 10] Generated Node #3: [86, 10] from Operation: 30/3=10 Current State: 96:[86, 10], Operations: ['17-14=3', '30/3=10'] Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[14, 17, 30, 86], Operations: [] Exploring Operation: 14+86=100, Resulting Numbers: [17, 30, 100] Generated Node #0,0: 96:[17, 30, 100] Operation: 14+86=100 Exploring Operation: 30-14=16, Resulting Numbers: [17, 86, 16] Generated Node #0,1: 96:[17, 86, 16] Operation: 30-14=16 Exploring Operation: 86-30=56, Resulting Numbers: [14, 17, 56] Generated Node #0,2: 96:[14, 17, 56] Operation: 86-30=56 Exploring Operation: 17+86=103, Resulting Numbers: [14, 30, 103] Generated Node #0,3: 96:[14, 30, 103] Operation: 17+86=103 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[17, 30, 100], Operations: ['14+86=100'] Exploring Operation: 17+100=117, Resulting Numbers: [30, 117] Generated Node #0,0,0: 96:[30, 117] Operation: 17+100=117 Exploring Operation: 17+30=47, Resulting Numbers: [100, 47] Generated Node #0,0,1: 96:[100, 47] Operation: 17+30=47 Exploring Operation: 100-17=83, Resulting Numbers: [30, 83] Generated Node #0,0,2: 96:[30, 83] Operation: 100-17=83 Exploring Operation: 30-17=13, Resulting Numbers: [100, 13] Generated Node #0,0,3: 96:[100, 13] Operation: 30-17=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[100, 47], Operations: ['14+86=100', '17+30=47'] Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 100*47=4700, Resulting Numbers: [4700] 4700,96 unequal: No Solution Exploring Operation: 100+47=147, Resulting Numbers: [147] 147,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[100, 13], Operations: ['14+86=100', '30-17=13'] Exploring Operation: 100-13=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 100+13=113, Resulting Numbers: [113] 113,96 unequal: No Solution Exploring Operation: 100*13=1300, Resulting Numbers: [1300] 1300,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[30, 83], Operations: ['14+86=100', '100-17=83'] Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,96 unequal: No Solution Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,96 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[30, 117], Operations: ['14+86=100', '17+100=117'] Exploring Operation: 117-30=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 30+117=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 30*117=3510, Resulting Numbers: [3510] 3510,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[17, 86, 16], Operations: ['30-14=16'] Exploring Operation: 86+16=102, Resulting Numbers: [17, 102] Generated Node #0,1,0: 96:[17, 102] Operation: 86+16=102 Exploring Operation: 17+86=103, Resulting Numbers: [16, 103] Generated Node #0,1,1: 96:[16, 103] Operation: 17+86=103 Exploring Operation: 17-16=1, Resulting Numbers: [86, 1] Generated Node #0,1,2: 96:[86, 1] Operation: 17-16=1 Exploring Operation: 17+16=33, Resulting Numbers: [86, 33] Generated Node #0,1,3: 96:[86, 33] Operation: 17+16=33 Moving to Node #0,1,0 Current State: 96:[17, 102], Operations: ['30-14=16', '86+16=102'] Exploring Operation: 102-17=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 102/17=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 17+102=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 17*102=1734, Resulting Numbers: [1734] 1734,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[16, 103], Operations: ['30-14=16', '17+86=103'] Exploring Operation: 16*103=1648, Resulting Numbers: [1648] 1648,96 unequal: No Solution Exploring Operation: 103-16=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 16+103=119, Resulting Numbers: [119] 119,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[86, 33], Operations: ['30-14=16', '17+16=33'] Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,96 unequal: No Solution Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[86, 1], Operations: ['30-14=16', '17-16=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,96 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[14, 17, 56], Operations: ['86-30=56'] Exploring Operation: 56-14=42, Resulting Numbers: [17, 42] Generated Node #0,2,0: 96:[17, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [17, 4] Generated Node #0,2,1: 96:[17, 4] Operation: 56/14=4 Exploring Operation: 17-14=3, Resulting Numbers: [56, 3] Generated Node #0,2,2: 96:[56, 3] Operation: 17-14=3 Exploring Operation: 14+17=31, Resulting Numbers: [56, 31] Generated Node #0,2,3: 96:[56, 31] Operation: 14+17=31 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[17, 4], Operations: ['86-30=56', '56/14=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[17, 42], Operations: ['86-30=56', '56-14=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,96 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[56, 3], Operations: ['86-30=56', '17-14=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,96 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 96:[56, 31], Operations: ['86-30=56', '14+17=31'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[14, 30, 103], Operations: ['17+86=103'] Exploring Operation: 14+103=117, Resulting Numbers: [30, 117] Generated Node #0,3,0: 96:[30, 117] Operation: 14+103=117 Exploring Operation: 30-14=16, Resulting Numbers: [103, 16] Generated Node #0,3,1: 96:[103, 16] Operation: 30-14=16 Exploring Operation: 14+30=44, Resulting Numbers: [103, 44] Generated Node #0,3,2: 96:[103, 44] Operation: 14+30=44 Exploring Operation: 103-14=89, Resulting Numbers: [30, 89] Generated Node #0,3,3: 96:[30, 89] Operation: 103-14=89 Moving to Node #0,3,1 Current State: 96:[103, 16], Operations: ['17+86=103', '30-14=16'] Exploring Operation: 103+16=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 103*16=1648, Resulting Numbers: [1648] 1648,96 unequal: No Solution Exploring Operation: 103-16=87, Resulting Numbers: [87] 87,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[30, 89], Operations: ['17+86=103', '103-14=89'] Exploring Operation: 30+89=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 30*89=2670, Resulting Numbers: [2670] 2670,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[103, 44], Operations: ['17+86=103', '14+30=44'] Exploring Operation: 103+44=147, Resulting Numbers: [147] 147,96 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 103*44=4532, Resulting Numbers: [4532] 4532,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[30, 117], Operations: ['17+86=103', '14+103=117'] Exploring Operation: 117-30=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 30*117=3510, Resulting Numbers: [3510] 3510,96 unequal: No Solution Exploring Operation: 30+117=147, Resulting Numbers: [147] 147,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 98, 30, 79, 69 ]
78
[ "98-30=68", "79-69=10", "68+10=78" ]
Current State: 78:[98, 30, 79, 69], Operations: [] Exploring Operation: 98-30=68, Resulting Numbers: [79, 69, 68] Generated Node #2: [79, 69, 68] from Operation: 98-30=68 Current State: 78:[79, 69, 68], Operations: ['98-30=68'] Exploring Operation: 79-69=10, Resulting Numbers: [68, 10] Generated Node #3: [68, 10] from Operation: 79-69=10 Current State: 78:[68, 10], Operations: ['98-30=68', '79-69=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[98, 30, 79, 69], Operations: [] Exploring Operation: 98-69=29, Resulting Numbers: [30, 79, 29] Generated Node #0,0: 78:[30, 79, 29] Operation: 98-69=29 Exploring Operation: 69-30=39, Resulting Numbers: [98, 79, 39] Generated Node #0,1: 78:[98, 79, 39] Operation: 69-30=39 Exploring Operation: 79-69=10, Resulting Numbers: [98, 30, 10] Generated Node #0,2: 78:[98, 30, 10] Operation: 79-69=10 Exploring Operation: 98-79=19, Resulting Numbers: [30, 69, 19] Generated Node #0,3: 78:[30, 69, 19] Operation: 98-79=19 Exploring Operation: 98-30=68, Resulting Numbers: [79, 69, 68] Generated Node #0,4: 78:[79, 69, 68] Operation: 98-30=68 Moving to Node #0,0 Current State: 78:[30, 79, 29], Operations: ['98-69=29'] Exploring Operation: 30+79=109, Resulting Numbers: [29, 109] Generated Node #0,0,0: 78:[29, 109] Operation: 30+79=109 Exploring Operation: 30-29=1, Resulting Numbers: [79, 1] Generated Node #0,0,1: 78:[79, 1] Operation: 30-29=1 Exploring Operation: 79-29=50, Resulting Numbers: [30, 50] Generated Node #0,0,2: 78:[30, 50] Operation: 79-29=50 Exploring Operation: 79-30=49, Resulting Numbers: [29, 49] Generated Node #0,0,3: 78:[29, 49] Operation: 79-30=49 Exploring Operation: 30+29=59, Resulting Numbers: [79, 59] Generated Node #0,0,4: 78:[79, 59] Operation: 30+29=59 Moving to Node #0,3 Current State: 78:[30, 69, 19], Operations: ['98-79=19'] Exploring Operation: 69+19=88, Resulting Numbers: [30, 88] Generated Node #0,3,0: 78:[30, 88] Operation: 69+19=88 Exploring Operation: 30-19=11, Resulting Numbers: [69, 11] Generated Node #0,3,1: 78:[69, 11] Operation: 30-19=11 Exploring Operation: 69-30=39, Resulting Numbers: [19, 39] Generated Node #0,3,2: 78:[19, 39] Operation: 69-30=39 Exploring Operation: 69-19=50, Resulting Numbers: [30, 50] Generated Node #0,3,3: 78:[30, 50] Operation: 69-19=50 Exploring Operation: 30+19=49, Resulting Numbers: [69, 49] Generated Node #0,3,4: 78:[69, 49] Operation: 30+19=49 Moving to Node #0,4 Current State: 78:[79, 69, 68], Operations: ['98-30=68'] Exploring Operation: 79-69=10, Resulting Numbers: [68, 10] Generated Node #0,4,0: 78:[68, 10] Operation: 79-69=10 Exploring Operation: 69+68=137, Resulting Numbers: [79, 137] Generated Node #0,4,1: 78:[79, 137] Operation: 69+68=137 Exploring Operation: 79-68=11, Resulting Numbers: [69, 11] Generated Node #0,4,2: 78:[69, 11] Operation: 79-68=11 Exploring Operation: 69-68=1, Resulting Numbers: [79, 1] Generated Node #0,4,3: 78:[79, 1] Operation: 69-68=1 Exploring Operation: 79+68=147, Resulting Numbers: [69, 147] Generated Node #0,4,4: 78:[69, 147] Operation: 79+68=147 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[79, 1], Operations: ['98-30=68', '69-68=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[98, 30, 79, 69], Operations: [] Exploring Operation: 98-30=68, Resulting Numbers: [79, 69, 68] Generated Node #0,4: 78:[79, 69, 68] Operation: 98-30=68 Moving to Node #0,4 Current State: 78:[79, 69, 68], Operations: ['98-30=68'] Exploring Operation: 69-68=1, Resulting Numbers: [79, 1] Generated Node #0,4,3: 78:[79, 1] Operation: 69-68=1 Moving to Node #0,4,3 Current State: 78:[79, 1], Operations: ['98-30=68', '69-68=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 51, 90, 82, 53 ]
98
[ "53-51=2", "90*2=180", "180-82=98" ]
Current State: 98:[51, 90, 82, 53], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [90, 82, 2] Generated Node #2: [90, 82, 2] from Operation: 53-51=2 Current State: 98:[90, 82, 2], Operations: ['53-51=2'] Exploring Operation: 90*2=180, Resulting Numbers: [82, 180] Generated Node #3: [82, 180] from Operation: 90*2=180 Current State: 98:[82, 180], Operations: ['53-51=2', '90*2=180'] Exploring Operation: 180-82=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[51, 90, 82, 53], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [51, 53, 8] Generated Node #0,0: 98:[51, 53, 8] Operation: 90-82=8 Exploring Operation: 53-51=2, Resulting Numbers: [90, 82, 2] Generated Node #0,1: 98:[90, 82, 2] Operation: 53-51=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[51, 53, 8], Operations: ['90-82=8'] Exploring Operation: 53-8=45, Resulting Numbers: [51, 45] Generated Node #0,0,0: 98:[51, 45] Operation: 53-8=45 Exploring Operation: 53-51=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 98:[8, 2] Operation: 53-51=2 Moving to Node #0,0,1 Current State: 98:[8, 2], Operations: ['90-82=8', '53-51=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[51, 45], Operations: ['90-82=8', '53-8=45'] Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[90, 82, 2], Operations: ['53-51=2'] Exploring Operation: 82/2=41, Resulting Numbers: [90, 41] Generated Node #0,1,0: 98:[90, 41] Operation: 82/2=41 Exploring Operation: 90-82=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 98:[2, 8] Operation: 90-82=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[2, 8], Operations: ['53-51=2', '90-82=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[90, 41], Operations: ['53-51=2', '82/2=41'] Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 90+41=131, Resulting Numbers: [131] 131,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 26, 95, 87, 17 ]
90
[ "95-17=78", "78/26=3", "87+3=90" ]
Current State: 90:[26, 95, 87, 17], Operations: [] Exploring Operation: 95-17=78, Resulting Numbers: [26, 87, 78] Generated Node #2: [26, 87, 78] from Operation: 95-17=78 Current State: 90:[26, 87, 78], Operations: ['95-17=78'] Exploring Operation: 78/26=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 78/26=3 Current State: 90:[87, 3], Operations: ['95-17=78', '78/26=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[26, 95, 87, 17], Operations: [] Exploring Operation: 26-17=9, Resulting Numbers: [95, 87, 9] Generated Node #0,0: 90:[95, 87, 9] Operation: 26-17=9 Exploring Operation: 26+17=43, Resulting Numbers: [95, 87, 43] Generated Node #0,1: 90:[95, 87, 43] Operation: 26+17=43 Exploring Operation: 95-87=8, Resulting Numbers: [26, 17, 8] Generated Node #0,2: 90:[26, 17, 8] Operation: 95-87=8 Exploring Operation: 95-17=78, Resulting Numbers: [26, 87, 78] Generated Node #0,3: 90:[26, 87, 78] Operation: 95-17=78 Moving to Node #0,2 Current State: 90:[26, 17, 8], Operations: ['95-87=8'] Exploring Operation: 26+17=43, Resulting Numbers: [8, 43] Generated Node #0,2,0: 90:[8, 43] Operation: 26+17=43 Exploring Operation: 17-8=9, Resulting Numbers: [26, 9] Generated Node #0,2,1: 90:[26, 9] Operation: 17-8=9 Exploring Operation: 26-8=18, Resulting Numbers: [17, 18] Generated Node #0,2,2: 90:[17, 18] Operation: 26-8=18 Exploring Operation: 26-17=9, Resulting Numbers: [8, 9] Generated Node #0,2,3: 90:[8, 9] Operation: 26-17=9 Moving to Node #0,0 Current State: 90:[95, 87, 9], Operations: ['26-17=9'] Exploring Operation: 95-87=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 90:[9, 8] Operation: 95-87=8 Exploring Operation: 95+9=104, Resulting Numbers: [87, 104] Generated Node #0,0,1: 90:[87, 104] Operation: 95+9=104 Exploring Operation: 87+9=96, Resulting Numbers: [95, 96] Generated Node #0,0,2: 90:[95, 96] Operation: 87+9=96 Exploring Operation: 95-9=86, Resulting Numbers: [87, 86] Generated Node #0,0,3: 90:[87, 86] Operation: 95-9=86 Moving to Node #0,1 Current State: 90:[95, 87, 43], Operations: ['26+17=43'] Exploring Operation: 95-43=52, Resulting Numbers: [87, 52] Generated Node #0,1,0: 90:[87, 52] Operation: 95-43=52 Exploring Operation: 87+43=130, Resulting Numbers: [95, 130] Generated Node #0,1,1: 90:[95, 130] Operation: 87+43=130 Exploring Operation: 87-43=44, Resulting Numbers: [95, 44] Generated Node #0,1,2: 90:[95, 44] Operation: 87-43=44 Exploring Operation: 95-87=8, Resulting Numbers: [43, 8] Generated Node #0,1,3: 90:[43, 8] Operation: 95-87=8 Moving to Node #0,3 Current State: 90:[26, 87, 78], Operations: ['95-17=78'] Exploring Operation: 26+78=104, Resulting Numbers: [87, 104] Generated Node #0,3,0: 90:[87, 104] Operation: 26+78=104 Exploring Operation: 78/26=3, Resulting Numbers: [87, 3] Generated Node #0,3,1: 90:[87, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [87, 52] Generated Node #0,3,2: 90:[87, 52] Operation: 78-26=52 Exploring Operation: 87-78=9, Resulting Numbers: [26, 9] Generated Node #0,3,3: 90:[26, 9] Operation: 87-78=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[87, 3], Operations: ['95-17=78', '78/26=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,90 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[26, 95, 87, 17], Operations: [] Exploring Operation: 95-17=78, Resulting Numbers: [26, 87, 78] Generated Node #0,3: 90:[26, 87, 78] Operation: 95-17=78 Moving to Node #0,3 Current State: 90:[26, 87, 78], Operations: ['95-17=78'] Exploring Operation: 78/26=3, Resulting Numbers: [87, 3] Generated Node #0,3,1: 90:[87, 3] Operation: 78/26=3 Moving to Node #0,3,1 Current State: 90:[87, 3], Operations: ['95-17=78', '78/26=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
sum_heuristic
[ 28, 23, 56, 71 ]
10
[ "28-23=5", "71-56=15", "15-5=10" ]
Current State: 10:[28, 23, 56, 71], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [56, 71, 5] Generated Node #2: [56, 71, 5] from Operation: 28-23=5 Current State: 10:[56, 71, 5], Operations: ['28-23=5'] Exploring Operation: 71-56=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 71-56=15 Current State: 10:[5, 15], Operations: ['28-23=5', '71-56=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[28, 23, 56, 71], Operations: [] Exploring Operation: 71-56=15, Resulting Numbers: [28, 23, 15] Generated Node #0,0: 10:[28, 23, 15] Operation: 71-56=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[28, 23, 15], Operations: ['71-56=15'] Exploring Operation: 28-23=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 10:[15, 5] Operation: 28-23=5 Moving to Node #0,0,0 Current State: 10:[15, 5], Operations: ['71-56=15', '28-23=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[28, 23, 56, 71], Operations: [] Exploring Operation: 71-56=15, Resulting Numbers: [28, 23, 15] Generated Node #0,0: 10:[28, 23, 15] Operation: 71-56=15 Moving to Node #0,0 Current State: 10:[28, 23, 15], Operations: ['71-56=15'] Exploring Operation: 28-23=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 10:[15, 5] Operation: 28-23=5 Moving to Node #0,0,0 Current State: 10:[15, 5], Operations: ['71-56=15', '28-23=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 40, 13, 25, 43 ]
88
[ "43-40=3", "25*3=75", "13+75=88" ]
Current State: 88:[40, 13, 25, 43], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [13, 25, 3] Generated Node #2: [13, 25, 3] from Operation: 43-40=3 Current State: 88:[13, 25, 3], Operations: ['43-40=3'] Exploring Operation: 25*3=75, Resulting Numbers: [13, 75] Generated Node #3: [13, 75] from Operation: 25*3=75 Current State: 88:[13, 75], Operations: ['43-40=3', '25*3=75'] Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[40, 13, 25, 43], Operations: [] Exploring Operation: 40+43=83, Resulting Numbers: [13, 25, 83] Generated Node #0,0: 88:[13, 25, 83] Operation: 40+43=83 Exploring Operation: 40-13=27, Resulting Numbers: [25, 43, 27] Generated Node #0,1: 88:[25, 43, 27] Operation: 40-13=27 Exploring Operation: 25-13=12, Resulting Numbers: [40, 43, 12] Generated Node #0,2: 88:[40, 43, 12] Operation: 25-13=12 Exploring Operation: 40-25=15, Resulting Numbers: [13, 43, 15] Generated Node #0,3: 88:[13, 43, 15] Operation: 40-25=15 Exploring Operation: 43-40=3, Resulting Numbers: [13, 25, 3] Generated Node #0,4: 88:[13, 25, 3] Operation: 43-40=3 Moving to Node #0,2 Current State: 88:[40, 43, 12], Operations: ['25-13=12'] Exploring Operation: 43-12=31, Resulting Numbers: [40, 31] Generated Node #0,2,0: 88:[40, 31] Operation: 43-12=31 Exploring Operation: 40+43=83, Resulting Numbers: [12, 83] Generated Node #0,2,1: 88:[12, 83] Operation: 40+43=83 Exploring Operation: 43-40=3, Resulting Numbers: [12, 3] Generated Node #0,2,2: 88:[12, 3] Operation: 43-40=3 Exploring Operation: 40+12=52, Resulting Numbers: [43, 52] Generated Node #0,2,3: 88:[43, 52] Operation: 40+12=52 Exploring Operation: 40-12=28, Resulting Numbers: [43, 28] Generated Node #0,2,4: 88:[43, 28] Operation: 40-12=28 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[12, 3], Operations: ['25-13=12', '43-40=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[12, 83], Operations: ['25-13=12', '40+43=83'] Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 88:[43, 28], Operations: ['25-13=12', '40-12=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[43, 52], Operations: ['25-13=12', '40+12=52'] Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,88 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[40, 31], Operations: ['25-13=12', '43-12=31'] Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,88 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,88 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: 88:[13, 25, 3], Operations: ['43-40=3'] Exploring Operation: 25-3=22, Resulting Numbers: [13, 22] Generated Node #0,4,0: 88:[13, 22] Operation: 25-3=22 Exploring Operation: 13+25=38, Resulting Numbers: [3, 38] Generated Node #0,4,1: 88:[3, 38] Operation: 13+25=38 Exploring Operation: 25-13=12, Resulting Numbers: [3, 12] Generated Node #0,4,2: 88:[3, 12] Operation: 25-13=12 Exploring Operation: 13-3=10, Resulting Numbers: [25, 10] Generated Node #0,4,3: 88:[25, 10] Operation: 13-3=10 Exploring Operation: 13+3=16, Resulting Numbers: [25, 16] Generated Node #0,4,4: 88:[25, 16] Operation: 13+3=16 Moving to Node #0,3 Current State: 88:[13, 43, 15], Operations: ['40-25=15'] Exploring Operation: 43-15=28, Resulting Numbers: [13, 28] Generated Node #0,3,0: 88:[13, 28] Operation: 43-15=28 Exploring Operation: 13+15=28, Resulting Numbers: [43, 28] Generated Node #0,3,1: 88:[43, 28] Operation: 13+15=28 Exploring Operation: 13+43=56, Resulting Numbers: [15, 56] Generated Node #0,3,2: 88:[15, 56] Operation: 13+43=56 Exploring Operation: 43-13=30, Resulting Numbers: [15, 30] Generated Node #0,3,3: 88:[15, 30] Operation: 43-13=30 Exploring Operation: 15-13=2, Resulting Numbers: [43, 2] Generated Node #0,3,4: 88:[43, 2] Operation: 15-13=2 Moving to Node #0,1 Current State: 88:[25, 43, 27], Operations: ['40-13=27'] Exploring Operation: 43-27=16, Resulting Numbers: [25, 16] Generated Node #0,1,0: 88:[25, 16] Operation: 43-27=16 Exploring Operation: 43-25=18, Resulting Numbers: [27, 18] Generated Node #0,1,1: 88:[27, 18] Operation: 43-25=18 Exploring Operation: 25+27=52, Resulting Numbers: [43, 52] Generated Node #0,1,2: 88:[43, 52] Operation: 25+27=52 Exploring Operation: 27-25=2, Resulting Numbers: [43, 2] Generated Node #0,1,3: 88:[43, 2] Operation: 27-25=2 Exploring Operation: 43+27=70, Resulting Numbers: [25, 70] Generated Node #0,1,4: 88:[25, 70] Operation: 43+27=70 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[43, 2], Operations: ['40-13=27', '27-25=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,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,1,0 Current State: 88:[25, 16], Operations: ['40-13=27', '43-27=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,88 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,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,1,1 Current State: 88:[27, 18], Operations: ['40-13=27', '43-25=18'] Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,88 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[43, 52], Operations: ['40-13=27', '25+27=52'] Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,88 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 88:[25, 70], Operations: ['40-13=27', '43+27=70'] Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 25*70=1750, Resulting Numbers: [1750] 1750,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 88:[13, 25, 83], Operations: ['40+43=83'] Exploring Operation: 83-13=70, Resulting Numbers: [25, 70] Generated Node #0,0,0: 88:[25, 70] Operation: 83-13=70 Exploring Operation: 13+83=96, Resulting Numbers: [25, 96] Generated Node #0,0,1: 88:[25, 96] Operation: 13+83=96 Exploring Operation: 13+25=38, Resulting Numbers: [83, 38] Generated Node #0,0,2: 88:[83, 38] Operation: 13+25=38 Exploring Operation: 25-13=12, Resulting Numbers: [83, 12] Generated Node #0,0,3: 88:[83, 12] Operation: 25-13=12 Exploring Operation: 83-25=58, Resulting Numbers: [13, 58] Generated Node #0,0,4: 88:[13, 58] Operation: 83-25=58 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[83, 12], Operations: ['40+43=83', '25-13=12'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,88 unequal: No Solution Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,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:[25, 96], Operations: ['40+43=83', '13+83=96'] Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,88 unequal: No Solution Exploring Operation: 25*96=2400, Resulting Numbers: [2400] 2400,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,2 Current State: 88:[83, 38], Operations: ['40+43=83', '13+25=38'] Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,88 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,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,4 Current State: 88:[13, 58], Operations: ['40+43=83', '83-25=58'] Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,88 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,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,0 Current State: 88:[25, 70], Operations: ['40+43=83', '83-13=70'] Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 25*70=1750, Resulting Numbers: [1750] 1750,88 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 88:[43, 2], Operations: ['40-25=15', '15-13=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[13, 22], Operations: ['43-40=3', '25-3=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[3, 12], Operations: ['43-40=3', '25-13=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[25, 10], Operations: ['43-40=3', '13-3=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,88 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[43, 28], Operations: ['40-25=15', '13+15=28'] Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,88 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,88 unequal: No Solution Moving to Node #0,4,1 Current State: 88:[3, 38], Operations: ['43-40=3', '13+25=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,88 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[25, 16], Operations: ['43-40=3', '13+3=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,88 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[13, 28], Operations: ['40-25=15', '43-15=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,88 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[15, 30], Operations: ['40-25=15', '43-13=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[15, 56], Operations: ['40-25=15', '13+43=56'] Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,88 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 4, 22, 67, 92 ]
63
[ "4*22=88", "92-67=25", "88-25=63" ]
Current State: 63:[4, 22, 67, 92], Operations: [] Exploring Operation: 4*22=88, Resulting Numbers: [67, 92, 88] Generated Node #2: [67, 92, 88] from Operation: 4*22=88 Current State: 63:[67, 92, 88], Operations: ['4*22=88'] Exploring Operation: 92-67=25, Resulting Numbers: [88, 25] Generated Node #3: [88, 25] from Operation: 92-67=25 Current State: 63:[88, 25], Operations: ['4*22=88', '92-67=25'] Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[4, 22, 67, 92], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [4, 22, 25] Generated Node #0,0: 63:[4, 22, 25] Operation: 92-67=25 Moving to Node #0,0 Current State: 63:[4, 22, 25], Operations: ['92-67=25'] Exploring Operation: 25-4=21, Resulting Numbers: [22, 21] Generated Node #0,0,0: 63:[22, 21] Operation: 25-4=21 Moving to Node #0,0,0 Current State: 63:[22, 21], Operations: ['92-67=25', '25-4=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 97, 45, 23, 40 ]
48
[ "97+23=120", "120/40=3", "45+3=48" ]
Current State: 48:[97, 45, 23, 40], Operations: [] Exploring Operation: 97+23=120, Resulting Numbers: [45, 40, 120] Generated Node #2: [45, 40, 120] from Operation: 97+23=120 Current State: 48:[45, 40, 120], Operations: ['97+23=120'] Exploring Operation: 120/40=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 120/40=3 Current State: 48:[45, 3], Operations: ['97+23=120', '120/40=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[97, 45, 23, 40], Operations: [] Exploring Operation: 40-23=17, Resulting Numbers: [97, 45, 17] Generated Node #0,0: 48:[97, 45, 17] Operation: 40-23=17 Exploring Operation: 97-45=52, Resulting Numbers: [23, 40, 52] Generated Node #0,1: 48:[23, 40, 52] Operation: 97-45=52 Exploring Operation: 97-23=74, Resulting Numbers: [45, 40, 74] Generated Node #0,2: 48:[45, 40, 74] Operation: 97-23=74 Exploring Operation: 45-40=5, Resulting Numbers: [97, 23, 5] Generated Node #0,3: 48:[97, 23, 5] Operation: 45-40=5 Exploring Operation: 97-40=57, Resulting Numbers: [45, 23, 57] Generated Node #0,4: 48:[45, 23, 57] Operation: 97-40=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[23, 40, 52], Operations: ['97-45=52'] Exploring Operation: 23+52=75, Resulting Numbers: [40, 75] Generated Node #0,1,0: 48:[40, 75] Operation: 23+52=75 Exploring Operation: 40-23=17, Resulting Numbers: [52, 17] Generated Node #0,1,1: 48:[52, 17] Operation: 40-23=17 Exploring Operation: 52-23=29, Resulting Numbers: [40, 29] Generated Node #0,1,2: 48:[40, 29] Operation: 52-23=29 Exploring Operation: 23+40=63, Resulting Numbers: [52, 63] Generated Node #0,1,3: 48:[52, 63] Operation: 23+40=63 Exploring Operation: 52-40=12, Resulting Numbers: [23, 12] Generated Node #0,1,4: 48:[23, 12] Operation: 52-40=12 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 48:[23, 12], Operations: ['97-45=52', '52-40=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,48 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,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:[52, 17], Operations: ['97-45=52', '40-23=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,48 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,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,2 Current State: 48:[40, 29], Operations: ['97-45=52', '52-23=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,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,3 Current State: 48:[52, 63], Operations: ['97-45=52', '23+40=63'] Exploring Operation: 52*63=3276, Resulting Numbers: [3276] 3276,48 unequal: No Solution Exploring Operation: 52+63=115, Resulting Numbers: [115] 115,48 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,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,0 Current State: 48:[40, 75], Operations: ['97-45=52', '23+52=75'] Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,48 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,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,4 Current State: 48:[45, 23, 57], Operations: ['97-40=57'] Exploring Operation: 45+23=68, Resulting Numbers: [57, 68] Generated Node #0,4,0: 48:[57, 68] Operation: 45+23=68 Exploring Operation: 57-45=12, Resulting Numbers: [23, 12] Generated Node #0,4,1: 48:[23, 12] Operation: 57-45=12 Exploring Operation: 23+57=80, Resulting Numbers: [45, 80] Generated Node #0,4,2: 48:[45, 80] Operation: 23+57=80 Exploring Operation: 57-23=34, Resulting Numbers: [45, 34] Generated Node #0,4,3: 48:[45, 34] Operation: 57-23=34 Exploring Operation: 45-23=22, Resulting Numbers: [57, 22] Generated Node #0,4,4: 48:[57, 22] Operation: 45-23=22 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 48:[23, 12], Operations: ['97-40=57', '57-45=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,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,4,4 Current State: 48:[57, 22], Operations: ['97-40=57', '45-23=22'] Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,48 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,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,4,3 Current State: 48:[45, 34], Operations: ['97-40=57', '57-23=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,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,4,0 Current State: 48:[57, 68], Operations: ['97-40=57', '45+23=68'] Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,48 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,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,4,2 Current State: 48:[45, 80], Operations: ['97-40=57', '23+57=80'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 45*80=3600, Resulting Numbers: [3600] 3600,48 unequal: No Solution Exploring Operation: 45+80=125, Resulting Numbers: [125] 125,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,2 Current State: 48:[45, 40, 74], Operations: ['97-23=74'] Exploring Operation: 74-40=34, Resulting Numbers: [45, 34] Generated Node #0,2,0: 48:[45, 34] Operation: 74-40=34 Exploring Operation: 45+40=85, Resulting Numbers: [74, 85] Generated Node #0,2,1: 48:[74, 85] Operation: 45+40=85 Exploring Operation: 40+74=114, Resulting Numbers: [45, 114] Generated Node #0,2,2: 48:[45, 114] Operation: 40+74=114 Exploring Operation: 74-45=29, Resulting Numbers: [40, 29] Generated Node #0,2,3: 48:[40, 29] Operation: 74-45=29 Exploring Operation: 45-40=5, Resulting Numbers: [74, 5] Generated Node #0,2,4: 48:[74, 5] Operation: 45-40=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[45, 34], Operations: ['97-23=74', '74-40=34'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,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,2,3 Current State: 48:[40, 29], Operations: ['97-23=74', '74-45=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,48 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,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,2,4 Current State: 48:[74, 5], Operations: ['97-23=74', '45-40=5'] Exploring Operation: 74*5=370, Resulting Numbers: [370] 370,48 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,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,2,1 Current State: 48:[74, 85], Operations: ['97-23=74', '45+40=85'] Exploring Operation: 74+85=159, Resulting Numbers: [159] 159,48 unequal: No Solution Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 74*85=6290, Resulting Numbers: [6290] 6290,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,2,2 Current State: 48:[45, 114], Operations: ['97-23=74', '40+74=114'] Exploring Operation: 45+114=159, Resulting Numbers: [159] 159,48 unequal: No Solution Exploring Operation: 45*114=5130, Resulting Numbers: [5130] 5130,48 unequal: No Solution Exploring Operation: 114-45=69, Resulting Numbers: [69] 69,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,3 Current State: 48:[97, 23, 5], Operations: ['45-40=5'] Exploring Operation: 97-5=92, Resulting Numbers: [23, 92] Generated Node #0,3,0: 48:[23, 92] Operation: 97-5=92 Exploring Operation: 23-5=18, Resulting Numbers: [97, 18] Generated Node #0,3,1: 48:[97, 18] Operation: 23-5=18 Exploring Operation: 23+5=28, Resulting Numbers: [97, 28] Generated Node #0,3,2: 48:[97, 28] Operation: 23+5=28 Exploring Operation: 97+5=102, Resulting Numbers: [23, 102] Generated Node #0,3,3: 48:[23, 102] Operation: 97+5=102 Exploring Operation: 97-23=74, Resulting Numbers: [5, 74] Generated Node #0,3,4: 48:[5, 74] Operation: 97-23=74 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 48:[5, 74], Operations: ['45-40=5', '97-23=74'] Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,48 unequal: No Solution Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,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,3,0 Current State: 48:[23, 92], Operations: ['45-40=5', '97-5=92'] Exploring Operation: 23+92=115, Resulting Numbers: [115] 115,48 unequal: No Solution Exploring Operation: 23*92=2116, Resulting Numbers: [2116] 2116,48 unequal: No Solution Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,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,3,1 Current State: 48:[97, 18], Operations: ['45-40=5', '23-5=18'] Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,48 unequal: No Solution Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,48 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,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,3,2 Current State: 48:[97, 28], Operations: ['45-40=5', '23+5=28'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 97*28=2716, Resulting Numbers: [2716] 2716,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,3,3 Current State: 48:[23, 102], Operations: ['45-40=5', '97+5=102'] Exploring Operation: 23*102=2346, Resulting Numbers: [2346] 2346,48 unequal: No Solution Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 23+102=125, Resulting Numbers: [125] 125,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:[97, 45, 17], Operations: ['40-23=17'] Exploring Operation: 97-45=52, Resulting Numbers: [17, 52] Generated Node #0,0,0: 48:[17, 52] Operation: 97-45=52 Exploring Operation: 97-17=80, Resulting Numbers: [45, 80] Generated Node #0,0,1: 48:[45, 80] Operation: 97-17=80 Exploring Operation: 45-17=28, Resulting Numbers: [97, 28] Generated Node #0,0,2: 48:[97, 28] Operation: 45-17=28 Exploring Operation: 97+17=114, Resulting Numbers: [45, 114] Generated Node #0,0,3: 48:[45, 114] Operation: 97+17=114 Exploring Operation: 45+17=62, Resulting Numbers: [97, 62] Generated Node #0,0,4: 48:[97, 62] Operation: 45+17=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[17, 52], Operations: ['40-23=17', '97-45=52'] Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,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,0,1 Current State: 48:[45, 80], Operations: ['40-23=17', '97-17=80'] Exploring Operation: 45+80=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 45*80=3600, Resulting Numbers: [3600] 3600,48 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,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,0,2 Current State: 48:[97, 28], Operations: ['40-23=17', '45-17=28'] Exploring Operation: 97*28=2716, Resulting Numbers: [2716] 2716,48 unequal: No Solution Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,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,0,4 Current State: 48:[97, 62], Operations: ['40-23=17', '45+17=62'] Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 97*62=6014, Resulting Numbers: [6014] 6014,48 unequal: No Solution Exploring Operation: 97+62=159, Resulting Numbers: [159] 159,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,0,3 Current State: 48:[45, 114], Operations: ['40-23=17', '97+17=114'] Exploring Operation: 45*114=5130, Resulting Numbers: [5130] 5130,48 unequal: No Solution Exploring Operation: 114-45=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 45+114=159, Resulting Numbers: [159] 159,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 No solution found.
0
hs_5
sum_heuristic
[ 81, 18, 12, 13 ]
98
[ "81+18=99", "13-12=1", "99-1=98" ]
Current State: 98:[81, 18, 12, 13], Operations: [] Exploring Operation: 81+18=99, Resulting Numbers: [12, 13, 99] Generated Node #2: [12, 13, 99] from Operation: 81+18=99 Current State: 98:[12, 13, 99], Operations: ['81+18=99'] Exploring Operation: 13-12=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 13-12=1 Current State: 98:[99, 1], Operations: ['81+18=99', '13-12=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[81, 18, 12, 13], Operations: [] Exploring Operation: 81+12=93, Resulting Numbers: [18, 13, 93] Generated Node #0,0: 98:[18, 13, 93] Operation: 81+12=93 Exploring Operation: 81-18=63, Resulting Numbers: [12, 13, 63] Generated Node #0,1: 98:[12, 13, 63] Operation: 81-18=63 Exploring Operation: 81+13=94, Resulting Numbers: [18, 12, 94] Generated Node #0,2: 98:[18, 12, 94] Operation: 81+13=94 Exploring Operation: 81+18=99, Resulting Numbers: [12, 13, 99] Generated Node #0,3: 98:[12, 13, 99] Operation: 81+18=99 Moving to Node #0,3 Current State: 98:[12, 13, 99], Operations: ['81+18=99'] Exploring Operation: 99-12=87, Resulting Numbers: [13, 87] Generated Node #0,3,0: 98:[13, 87] Operation: 99-12=87 Exploring Operation: 13-12=1, Resulting Numbers: [99, 1] Generated Node #0,3,1: 98:[99, 1] Operation: 13-12=1 Exploring Operation: 12+99=111, Resulting Numbers: [13, 111] Generated Node #0,3,2: 98:[13, 111] Operation: 12+99=111 Exploring Operation: 12+13=25, Resulting Numbers: [99, 25] Generated Node #0,3,3: 98:[99, 25] Operation: 12+13=25 Moving to Node #0,2 Current State: 98:[18, 12, 94], Operations: ['81+13=94'] Exploring Operation: 12+94=106, Resulting Numbers: [18, 106] Generated Node #0,2,0: 98:[18, 106] Operation: 12+94=106 Exploring Operation: 18-12=6, Resulting Numbers: [94, 6] Generated Node #0,2,1: 98:[94, 6] Operation: 18-12=6 Exploring Operation: 18+12=30, Resulting Numbers: [94, 30] Generated Node #0,2,2: 98:[94, 30] Operation: 18+12=30 Exploring Operation: 18+94=112, Resulting Numbers: [12, 112] Generated Node #0,2,3: 98:[12, 112] Operation: 18+94=112 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[94, 6], Operations: ['81+13=94', '18-12=6'] Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,98 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,98 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,98 unequal: No Solution No 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: 98:[18, 106], Operations: ['81+13=94', '12+94=106'] Exploring Operation: 18+106=124, Resulting Numbers: [124] 124,98 unequal: No Solution Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,98 unequal: No Solution Exploring Operation: 18*106=1908, Resulting Numbers: [1908] 1908,98 unequal: No Solution No 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: 98:[12, 112], Operations: ['81+13=94', '18+94=112'] Exploring Operation: 112-12=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 12*112=1344, Resulting Numbers: [1344] 1344,98 unequal: No Solution Exploring Operation: 12+112=124, Resulting Numbers: [124] 124,98 unequal: No Solution No 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: 98:[94, 30], Operations: ['81+13=94', '18+12=30'] Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,98 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,98 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,98 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: 98:[18, 13, 93], Operations: ['81+12=93'] Exploring Operation: 13+93=106, Resulting Numbers: [18, 106] Generated Node #0,0,0: 98:[18, 106] Operation: 13+93=106 Exploring Operation: 18-13=5, Resulting Numbers: [93, 5] Generated Node #0,0,1: 98:[93, 5] Operation: 18-13=5 Exploring Operation: 18+13=31, Resulting Numbers: [93, 31] Generated Node #0,0,2: 98:[93, 31] Operation: 18+13=31 Exploring Operation: 18+93=111, Resulting Numbers: [13, 111] Generated Node #0,0,3: 98:[13, 111] Operation: 18+93=111 Moving to Node #0,1 Current State: 98:[12, 13, 63], Operations: ['81-18=63'] Exploring Operation: 12+63=75, Resulting Numbers: [13, 75] Generated Node #0,1,0: 98:[13, 75] Operation: 12+63=75 Exploring Operation: 13-12=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 98:[63, 1] Operation: 13-12=1 Exploring Operation: 63-13=50, Resulting Numbers: [12, 50] Generated Node #0,1,2: 98:[12, 50] Operation: 63-13=50 Exploring Operation: 63-12=51, Resulting Numbers: [13, 51] Generated Node #0,1,3: 98:[13, 51] Operation: 63-12=51 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[12, 50], Operations: ['81-18=63', '63-13=50'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,98 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,98 unequal: No Solution No 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: 98:[13, 51], Operations: ['81-18=63', '63-12=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,98 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,98 unequal: No Solution No 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: 98:[63, 1], Operations: ['81-18=63', '13-12=1'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,98 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,98 unequal: No Solution Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,98 unequal: No Solution No 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: 98:[13, 75], Operations: ['81-18=63', '12+63=75'] Exploring Operation: 13*75=975, Resulting Numbers: [975] 975,98 unequal: No Solution Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,98 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 98:[99, 1], Operations: ['81+18=99', '13-12=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[81, 18, 12, 13], Operations: [] Exploring Operation: 81+18=99, Resulting Numbers: [12, 13, 99] Generated Node #0,3: 98:[12, 13, 99] Operation: 81+18=99 Moving to Node #0,3 Current State: 98:[12, 13, 99], Operations: ['81+18=99'] Exploring Operation: 13-12=1, Resulting Numbers: [99, 1] Generated Node #0,3,1: 98:[99, 1] Operation: 13-12=1 Moving to Node #0,3,1 Current State: 98:[99, 1], Operations: ['81+18=99', '13-12=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 75, 16, 88, 37 ]
40
[ "75+16=91", "88-37=51", "91-51=40" ]
Current State: 40:[75, 16, 88, 37], Operations: [] Exploring Operation: 75+16=91, Resulting Numbers: [88, 37, 91] Generated Node #2: [88, 37, 91] from Operation: 75+16=91 Current State: 40:[88, 37, 91], Operations: ['75+16=91'] Exploring Operation: 88-37=51, Resulting Numbers: [91, 51] Generated Node #3: [91, 51] from Operation: 88-37=51 Current State: 40:[91, 51], Operations: ['75+16=91', '88-37=51'] Exploring Operation: 91-51=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[75, 16, 88, 37], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [75, 16, 51] Generated Node #0,0: 40:[75, 16, 51] Operation: 88-37=51 Exploring Operation: 88-16=72, Resulting Numbers: [75, 37, 72] Generated Node #0,1: 40:[75, 37, 72] Operation: 88-16=72 Exploring Operation: 75-16=59, Resulting Numbers: [88, 37, 59] Generated Node #0,2: 40:[88, 37, 59] Operation: 75-16=59 Exploring Operation: 88-75=13, Resulting Numbers: [16, 37, 13] Generated Node #0,3: 40:[16, 37, 13] Operation: 88-75=13 Exploring Operation: 75-37=38, Resulting Numbers: [16, 88, 38] Generated Node #0,4: 40:[16, 88, 38] Operation: 75-37=38 Moving to Node #0,3 Current State: 40:[16, 37, 13], Operations: ['88-75=13'] Exploring Operation: 37-13=24, Resulting Numbers: [16, 24] Generated Node #0,3,0: 40:[16, 24] Operation: 37-13=24 Exploring Operation: 16+13=29, Resulting Numbers: [37, 29] Generated Node #0,3,1: 40:[37, 29] Operation: 16+13=29 Exploring Operation: 16-13=3, Resulting Numbers: [37, 3] Generated Node #0,3,2: 40:[37, 3] Operation: 16-13=3 Exploring Operation: 37+13=50, Resulting Numbers: [16, 50] Generated Node #0,3,3: 40:[16, 50] Operation: 37+13=50 Exploring Operation: 37-16=21, Resulting Numbers: [13, 21] Generated Node #0,3,4: 40:[13, 21] Operation: 37-16=21 Moving to Node #0,0 Current State: 40:[75, 16, 51], Operations: ['88-37=51'] Exploring Operation: 51-16=35, Resulting Numbers: [75, 35] Generated Node #0,0,0: 40:[75, 35] Operation: 51-16=35 Exploring Operation: 75-16=59, Resulting Numbers: [51, 59] Generated Node #0,0,1: 40:[51, 59] Operation: 75-16=59 Exploring Operation: 75-51=24, Resulting Numbers: [16, 24] Generated Node #0,0,2: 40:[16, 24] Operation: 75-51=24 Exploring Operation: 75+16=91, Resulting Numbers: [51, 91] Generated Node #0,0,3: 40:[51, 91] Operation: 75+16=91 Exploring Operation: 16+51=67, Resulting Numbers: [75, 67] Generated Node #0,0,4: 40:[75, 67] Operation: 16+51=67 Moving to Node #0,4 Current State: 40:[16, 88, 38], Operations: ['75-37=38'] Exploring Operation: 16+38=54, Resulting Numbers: [88, 54] Generated Node #0,4,0: 40:[88, 54] Operation: 16+38=54 Exploring Operation: 16+88=104, Resulting Numbers: [38, 104] Generated Node #0,4,1: 40:[38, 104] Operation: 16+88=104 Exploring Operation: 88-16=72, Resulting Numbers: [38, 72] Generated Node #0,4,2: 40:[38, 72] Operation: 88-16=72 Exploring Operation: 38-16=22, Resulting Numbers: [88, 22] Generated Node #0,4,3: 40:[88, 22] Operation: 38-16=22 Exploring Operation: 88-38=50, Resulting Numbers: [16, 50] Generated Node #0,4,4: 40:[16, 50] Operation: 88-38=50 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 40:[16, 50], Operations: ['75-37=38', '88-38=50'] Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 16*50=800, Resulting Numbers: [800] 800,40 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,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,4,2 Current State: 40:[38, 72], Operations: ['75-37=38', '88-16=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,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,4,3 Current State: 40:[88, 22], Operations: ['75-37=38', '38-16=22'] Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 88+22=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 88*22=1936, Resulting Numbers: [1936] 1936,40 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,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,4,0 Current State: 40:[88, 54], Operations: ['75-37=38', '16+38=54'] Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 88+54=142, Resulting Numbers: [142] 142,40 unequal: No Solution Exploring Operation: 88*54=4752, Resulting Numbers: [4752] 4752,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,4,1 Current State: 40:[38, 104], Operations: ['75-37=38', '16+88=104'] Exploring Operation: 104-38=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 38+104=142, Resulting Numbers: [142] 142,40 unequal: No Solution Exploring Operation: 38*104=3952, Resulting Numbers: [3952] 3952,40 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: 40:[75, 37, 72], Operations: ['88-16=72'] Exploring Operation: 37+72=109, Resulting Numbers: [75, 109] Generated Node #0,1,0: 40:[75, 109] Operation: 37+72=109 Exploring Operation: 75-37=38, Resulting Numbers: [72, 38] Generated Node #0,1,1: 40:[72, 38] Operation: 75-37=38 Exploring Operation: 75-72=3, Resulting Numbers: [37, 3] Generated Node #0,1,2: 40:[37, 3] Operation: 75-72=3 Exploring Operation: 75+37=112, Resulting Numbers: [72, 112] Generated Node #0,1,3: 40:[72, 112] Operation: 75+37=112 Exploring Operation: 72-37=35, Resulting Numbers: [75, 35] Generated Node #0,1,4: 40:[75, 35] Operation: 72-37=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[37, 3], Operations: ['88-16=72', '75-72=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[75, 16, 88, 37], Operations: [] Exploring Operation: 88-16=72, Resulting Numbers: [75, 37, 72] Generated Node #0,1: 40:[75, 37, 72] Operation: 88-16=72 Moving to Node #0,1 Current State: 40:[75, 37, 72], Operations: ['88-16=72'] Exploring Operation: 75-72=3, Resulting Numbers: [37, 3] Generated Node #0,1,2: 40:[37, 3] Operation: 75-72=3 Moving to Node #0,1,2 Current State: 40:[37, 3], Operations: ['88-16=72', '75-72=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 28, 41, 86, 3 ]
13
[ "86-41=45", "45/3=15", "28-15=13" ]
Current State: 13:[28, 41, 86, 3], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [28, 3, 45] Generated Node #2: [28, 3, 45] from Operation: 86-41=45 Current State: 13:[28, 3, 45], Operations: ['86-41=45'] Exploring Operation: 45/3=15, Resulting Numbers: [28, 15] Generated Node #3: [28, 15] from Operation: 45/3=15 Current State: 13:[28, 15], Operations: ['86-41=45', '45/3=15'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[28, 41, 86, 3], Operations: [] Exploring Operation: 86-28=58, Resulting Numbers: [41, 3, 58] Generated Node #0,0: 13:[41, 3, 58] Operation: 86-28=58 Exploring Operation: 86-41=45, Resulting Numbers: [28, 3, 45] Generated Node #0,1: 13:[28, 3, 45] Operation: 86-41=45 Exploring Operation: 41-28=13, Resulting Numbers: [86, 3, 13] Generated Node #0,2: 13:[86, 3, 13] Operation: 41-28=13 Exploring Operation: 28-3=25, Resulting Numbers: [41, 86, 25] Generated Node #0,3: 13:[41, 86, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[28, 3, 45], Operations: ['86-41=45'] Exploring Operation: 45-3=42, Resulting Numbers: [28, 42] Generated Node #0,1,0: 13:[28, 42] Operation: 45-3=42 Exploring Operation: 45/3=15, Resulting Numbers: [28, 15] Generated Node #0,1,1: 13:[28, 15] Operation: 45/3=15 Exploring Operation: 45-28=17, Resulting Numbers: [3, 17] Generated Node #0,1,2: 13:[3, 17] Operation: 45-28=17 Exploring Operation: 28-3=25, Resulting Numbers: [45, 25] Generated Node #0,1,3: 13:[45, 25] Operation: 28-3=25 Moving to Node #0,1,2 Current State: 13:[3, 17], Operations: ['86-41=45', '45-28=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[28, 15], Operations: ['86-41=45', '45/3=15'] Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,13 unequal: No Solution Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[28, 41, 86, 3], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [28, 3, 45] Generated Node #0,1: 13:[28, 3, 45] Operation: 86-41=45 Moving to Node #0,1 Current State: 13:[28, 3, 45], Operations: ['86-41=45'] Exploring Operation: 45/3=15, Resulting Numbers: [28, 15] Generated Node #0,1,1: 13:[28, 15] Operation: 45/3=15 Moving to Node #0,1,1 Current State: 13:[28, 15], Operations: ['86-41=45', '45/3=15'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 48, 30, 27, 96 ]
33
[ "96/48=2", "30*2=60", "60-27=33" ]
Current State: 33:[48, 30, 27, 96], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [30, 27, 2] Generated Node #2: [30, 27, 2] from Operation: 96/48=2 Current State: 33:[30, 27, 2], Operations: ['96/48=2'] Exploring Operation: 30*2=60, Resulting Numbers: [27, 60] Generated Node #3: [27, 60] from Operation: 30*2=60 Current State: 33:[27, 60], Operations: ['96/48=2', '30*2=60'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[48, 30, 27, 96], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [30, 27, 48] Generated Node #0,0: 33:[30, 27, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [30, 27, 2] Generated Node #0,1: 33:[30, 27, 2] Operation: 96/48=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[30, 27, 2], Operations: ['96/48=2'] Exploring Operation: 30+2=32, Resulting Numbers: [27, 32] Generated Node #0,1,0: 33:[27, 32] Operation: 30+2=32 Exploring Operation: 30-27=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 33:[2, 3] Operation: 30-27=3 Moving to Node #0,1,1 Current State: 33:[2, 3], Operations: ['96/48=2', '30-27=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[27, 32], Operations: ['96/48=2', '30+2=32'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[30, 27, 48], Operations: ['96-48=48'] Exploring Operation: 48-27=21, Resulting Numbers: [30, 21] Generated Node #0,0,0: 33:[30, 21] Operation: 48-27=21 Exploring Operation: 48-30=18, Resulting Numbers: [27, 18] Generated Node #0,0,1: 33:[27, 18] Operation: 48-30=18 Moving to Node #0,0,0 Current State: 33:[30, 21], Operations: ['96-48=48', '48-27=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[27, 18], Operations: ['96-48=48', '48-30=18'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,33 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
[ 70, 3, 7, 71 ]
11
[ "70-3=67", "7+71=78", "78-67=11" ]
Current State: 11:[70, 3, 7, 71], Operations: [] Exploring Operation: 70-3=67, Resulting Numbers: [7, 71, 67] Generated Node #2: [7, 71, 67] from Operation: 70-3=67 Current State: 11:[7, 71, 67], Operations: ['70-3=67'] Exploring Operation: 7+71=78, Resulting Numbers: [67, 78] Generated Node #3: [67, 78] from Operation: 7+71=78 Current State: 11:[67, 78], Operations: ['70-3=67', '7+71=78'] Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[70, 3, 7, 71], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [3, 71, 10] Generated Node #0,0: 11:[3, 71, 10] Operation: 70/7=10 Exploring Operation: 70-3=67, Resulting Numbers: [7, 71, 67] Generated Node #0,1: 11:[7, 71, 67] Operation: 70-3=67 Exploring Operation: 71-70=1, Resulting Numbers: [3, 7, 1] Generated Node #0,2: 11:[3, 7, 1] Operation: 71-70=1 Exploring Operation: 70-7=63, Resulting Numbers: [3, 71, 63] Generated Node #0,3: 11:[3, 71, 63] Operation: 70-7=63 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[3, 7, 1], Operations: ['71-70=1'] Exploring Operation: 3*1=3, Resulting Numbers: [7, 3] Generated Node #0,2,0: 11:[7, 3] Operation: 3*1=3 Exploring Operation: 3+1=4, Resulting Numbers: [7, 4] Generated Node #0,2,1: 11:[7, 4] Operation: 3+1=4 Exploring Operation: 3+7=10, Resulting Numbers: [1, 10] Generated Node #0,2,2: 11:[1, 10] Operation: 3+7=10 Exploring Operation: 7+1=8, Resulting Numbers: [3, 8] Generated Node #0,2,3: 11:[3, 8] Operation: 7+1=8 Moving to Node #0,2,1 Current State: 11:[7, 4], Operations: ['71-70=1', '3+1=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[70, 3, 7, 71], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [3, 7, 1] Generated Node #0,2: 11:[3, 7, 1] Operation: 71-70=1 Moving to Node #0,2 Current State: 11:[3, 7, 1], Operations: ['71-70=1'] Exploring Operation: 3+1=4, Resulting Numbers: [7, 4] Generated Node #0,2,1: 11:[7, 4] Operation: 3+1=4 Moving to Node #0,2,1 Current State: 11:[7, 4], Operations: ['71-70=1', '3+1=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 13, 4, 2, 28 ]
89
[ "13*28=364", "364/4=91", "91-2=89" ]
Current State: 89:[13, 4, 2, 28], Operations: [] Exploring Operation: 13*28=364, Resulting Numbers: [4, 2, 364] Generated Node #2: [4, 2, 364] from Operation: 13*28=364 Current State: 89:[4, 2, 364], Operations: ['13*28=364'] Exploring Operation: 364/4=91, Resulting Numbers: [2, 91] Generated Node #3: [2, 91] from Operation: 364/4=91 Current State: 89:[2, 91], Operations: ['13*28=364', '364/4=91'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[13, 4, 2, 28], Operations: [] Exploring Operation: 13*4=52, Resulting Numbers: [2, 28, 52] Generated Node #0,0: 89:[2, 28, 52] Operation: 13*4=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[2, 28, 52], Operations: ['13*4=52'] Exploring Operation: 2*28=56, Resulting Numbers: [52, 56] Generated Node #0,0,0: 89:[52, 56] Operation: 2*28=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[52, 56], Operations: ['13*4=52', '2*28=56'] Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 29, 3, 35, 74 ]
48
[ "29*3=87", "74-35=39", "87-39=48" ]
Current State: 48:[29, 3, 35, 74], Operations: [] Exploring Operation: 29*3=87, Resulting Numbers: [35, 74, 87] Generated Node #2: [35, 74, 87] from Operation: 29*3=87 Current State: 48:[35, 74, 87], Operations: ['29*3=87'] Exploring Operation: 74-35=39, Resulting Numbers: [87, 39] Generated Node #3: [87, 39] from Operation: 74-35=39 Current State: 48:[87, 39], Operations: ['29*3=87', '74-35=39'] Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[29, 3, 35, 74], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [29, 3, 39] Generated Node #0,0: 48:[29, 3, 39] Operation: 74-35=39 Exploring Operation: 74-29=45, Resulting Numbers: [3, 35, 45] Generated Node #0,1: 48:[3, 35, 45] Operation: 74-29=45 Moving to Node #0,0 Current State: 48:[29, 3, 39], Operations: ['74-35=39'] Exploring Operation: 39/3=13, Resulting Numbers: [29, 13] Generated Node #0,0,0: 48:[29, 13] Operation: 39/3=13 Exploring Operation: 39-29=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 48:[3, 10] Operation: 39-29=10 Moving to Node #0,1 Current State: 48:[3, 35, 45], Operations: ['74-29=45'] Exploring Operation: 35-3=32, Resulting Numbers: [45, 32] Generated Node #0,1,0: 48:[45, 32] Operation: 35-3=32 Exploring Operation: 45-35=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 48:[3, 10] Operation: 45-35=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[3, 10], Operations: ['74-29=45', '45-35=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,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:[45, 32], Operations: ['74-29=45', '35-3=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,48 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: 48:[3, 10], Operations: ['74-35=39', '39-29=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[29, 13], Operations: ['74-35=39', '39/3=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,48 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 62, 32, 3 ]
28
[ "63-62=1", "32-3=29", "29-1=28" ]
Current State: 28:[63, 62, 32, 3], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [32, 3, 1] Generated Node #2: [32, 3, 1] from Operation: 63-62=1 Current State: 28:[32, 3, 1], Operations: ['63-62=1'] Exploring Operation: 32-3=29, Resulting Numbers: [1, 29] Generated Node #3: [1, 29] from Operation: 32-3=29 Current State: 28:[1, 29], Operations: ['63-62=1', '32-3=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[63, 62, 32, 3], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [32, 3, 1] Generated Node #0,0: 28:[32, 3, 1] Operation: 63-62=1 Moving to Node #0,0 Current State: 28:[32, 3, 1], Operations: ['63-62=1'] Exploring Operation: 32-3=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 28:[1, 29] Operation: 32-3=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[1, 29], Operations: ['63-62=1', '32-3=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[63, 62, 32, 3], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [32, 3, 1] Generated Node #0,0: 28:[32, 3, 1] Operation: 63-62=1 Moving to Node #0,0 Current State: 28:[32, 3, 1], Operations: ['63-62=1'] Exploring Operation: 32-3=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 28:[1, 29] Operation: 32-3=29 Moving to Node #0,0,0 Current State: 28:[1, 29], Operations: ['63-62=1', '32-3=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 86, 91, 18, 82 ]
77
[ "86+91=177", "18+82=100", "177-100=77" ]
Current State: 77:[86, 91, 18, 82], Operations: [] Exploring Operation: 86+91=177, Resulting Numbers: [18, 82, 177] Generated Node #2: [18, 82, 177] from Operation: 86+91=177 Current State: 77:[18, 82, 177], Operations: ['86+91=177'] Exploring Operation: 18+82=100, Resulting Numbers: [177, 100] Generated Node #3: [177, 100] from Operation: 18+82=100 Current State: 77:[177, 100], Operations: ['86+91=177', '18+82=100'] Exploring Operation: 177-100=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[86, 91, 18, 82], Operations: [] Exploring Operation: 91-18=73, Resulting Numbers: [86, 82, 73] Generated Node #0,0: 77:[86, 82, 73] Operation: 91-18=73 Exploring Operation: 91-86=5, Resulting Numbers: [18, 82, 5] Generated Node #0,1: 77:[18, 82, 5] Operation: 91-86=5 Exploring Operation: 91-82=9, Resulting Numbers: [86, 18, 9] Generated Node #0,2: 77:[86, 18, 9] Operation: 91-82=9 Moving to Node #0,1 Current State: 77:[18, 82, 5], Operations: ['91-86=5'] Exploring Operation: 82-5=77, Resulting Numbers: [18, 77] Generated Node #0,1,0: 77:[18, 77] Operation: 82-5=77 Exploring Operation: 18-5=13, Resulting Numbers: [82, 13] Generated Node #0,1,1: 77:[82, 13] Operation: 18-5=13 Exploring Operation: 82-18=64, Resulting Numbers: [5, 64] Generated Node #0,1,2: 77:[5, 64] Operation: 82-18=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[18, 77], Operations: ['91-86=5', '82-5=77'] Exploring Operation: 18*77=1386, Resulting Numbers: [1386] 1386,77 unequal: No Solution Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,77 unequal: No Solution Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[82, 13], Operations: ['91-86=5', '18-5=13'] Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,77 unequal: No Solution Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,77 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[5, 64], Operations: ['91-86=5', '82-18=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 5*64=320, Resulting Numbers: [320] 320,77 unequal: No Solution Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 77:[86, 82, 73], Operations: ['91-18=73'] Exploring Operation: 86-73=13, Resulting Numbers: [82, 13] Generated Node #0,0,0: 77:[82, 13] Operation: 86-73=13 Exploring Operation: 82-73=9, Resulting Numbers: [86, 9] Generated Node #0,0,1: 77:[86, 9] Operation: 82-73=9 Exploring Operation: 86-82=4, Resulting Numbers: [73, 4] Generated Node #0,0,2: 77:[73, 4] Operation: 86-82=4 Moving to Node #0,2 Current State: 77:[86, 18, 9], Operations: ['91-82=9'] Exploring Operation: 86-9=77, Resulting Numbers: [18, 77] Generated Node #0,2,0: 77:[18, 77] Operation: 86-9=77 Exploring Operation: 86-18=68, Resulting Numbers: [9, 68] Generated Node #0,2,1: 77:[9, 68] Operation: 86-18=68 Exploring Operation: 18-9=9, Resulting Numbers: [86, 9] Generated Node #0,2,2: 77:[86, 9] Operation: 18-9=9 Moving to Node #0,0,0 Current State: 77:[82, 13], Operations: ['91-18=73', '86-73=13'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,77 unequal: No Solution Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[73, 4], Operations: ['91-18=73', '86-82=4'] Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,77 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[86, 91, 18, 82], Operations: [] Exploring Operation: 91-18=73, Resulting Numbers: [86, 82, 73] Generated Node #0,0: 77:[86, 82, 73] Operation: 91-18=73 Moving to Node #0,0 Current State: 77:[86, 82, 73], Operations: ['91-18=73'] Exploring Operation: 86-82=4, Resulting Numbers: [73, 4] Generated Node #0,0,2: 77:[73, 4] Operation: 86-82=4 Moving to Node #0,0,2 Current State: 77:[73, 4], Operations: ['91-18=73', '86-82=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 87, 33, 31, 25 ]
66
[ "87-25=62", "33*62=2046", "2046/31=66" ]
Current State: 66:[87, 33, 31, 25], Operations: [] Exploring Operation: 87-25=62, Resulting Numbers: [33, 31, 62] Generated Node #2: [33, 31, 62] from Operation: 87-25=62 Current State: 66:[33, 31, 62], Operations: ['87-25=62'] Exploring Operation: 33*62=2046, Resulting Numbers: [31, 2046] Generated Node #3: [31, 2046] from Operation: 33*62=2046 Current State: 66:[31, 2046], Operations: ['87-25=62', '33*62=2046'] Exploring Operation: 2046/31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[87, 33, 31, 25], Operations: [] Exploring Operation: 87-25=62, Resulting Numbers: [33, 31, 62] Generated Node #0,0: 66:[33, 31, 62] Operation: 87-25=62 Exploring Operation: 31-25=6, Resulting Numbers: [87, 33, 6] Generated Node #0,1: 66:[87, 33, 6] Operation: 31-25=6 Exploring Operation: 87-31=56, Resulting Numbers: [33, 25, 56] Generated Node #0,2: 66:[33, 25, 56] Operation: 87-31=56 Exploring Operation: 33-31=2, Resulting Numbers: [87, 25, 2] Generated Node #0,3: 66:[87, 25, 2] Operation: 33-31=2 Exploring Operation: 87-33=54, Resulting Numbers: [31, 25, 54] Generated Node #0,4: 66:[31, 25, 54] Operation: 87-33=54 Moving to Node #0,0 Current State: 66:[33, 31, 62], Operations: ['87-25=62'] Exploring Operation: 62-33=29, Resulting Numbers: [31, 29] Generated Node #0,0,0: 66:[31, 29] Operation: 62-33=29 Exploring Operation: 33+31=64, Resulting Numbers: [62, 64] Generated Node #0,0,1: 66:[62, 64] Operation: 33+31=64 Exploring Operation: 62/31=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 66:[33, 2] Operation: 62/31=2 Exploring Operation: 33-31=2, Resulting Numbers: [62, 2] Generated Node #0,0,3: 66:[62, 2] Operation: 33-31=2 Exploring Operation: 62-31=31, Resulting Numbers: [33, 31] Generated Node #0,0,4: 66:[33, 31] Operation: 62-31=31 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[33, 2], Operations: ['87-25=62', '62/31=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[87, 33, 31, 25], Operations: [] Exploring Operation: 87-25=62, Resulting Numbers: [33, 31, 62] Generated Node #0,0: 66:[33, 31, 62] Operation: 87-25=62 Moving to Node #0,0 Current State: 66:[33, 31, 62], Operations: ['87-25=62'] Exploring Operation: 62/31=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 66:[33, 2] Operation: 62/31=2 Moving to Node #0,0,2 Current State: 66:[33, 2], Operations: ['87-25=62', '62/31=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 3, 19, 72, 94 ]
47
[ "94-19=75", "75/3=25", "72-25=47" ]
Current State: 47:[3, 19, 72, 94], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [3, 72, 75] Generated Node #2: [3, 72, 75] from Operation: 94-19=75 Current State: 47:[3, 72, 75], Operations: ['94-19=75'] Exploring Operation: 75/3=25, Resulting Numbers: [72, 25] Generated Node #3: [72, 25] from Operation: 75/3=25 Current State: 47:[72, 25], Operations: ['94-19=75', '75/3=25'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[3, 19, 72, 94], Operations: [] Exploring Operation: 3*19=57, Resulting Numbers: [72, 94, 57] Generated Node #0,0: 47:[72, 94, 57] Operation: 3*19=57 Exploring Operation: 3+19=22, Resulting Numbers: [72, 94, 22] Generated Node #0,1: 47:[72, 94, 22] Operation: 3+19=22 Exploring Operation: 94-3=91, Resulting Numbers: [19, 72, 91] Generated Node #0,2: 47:[19, 72, 91] Operation: 94-3=91 Exploring Operation: 72-3=69, Resulting Numbers: [19, 94, 69] Generated Node #0,3: 47:[19, 94, 69] Operation: 72-3=69 Moving to Node #0,0 Current State: 47:[72, 94, 57], Operations: ['3*19=57'] Exploring Operation: 72+94=166, Resulting Numbers: [57, 166] Generated Node #0,0,0: 47:[57, 166] Operation: 72+94=166 Exploring Operation: 94-57=37, Resulting Numbers: [72, 37] Generated Node #0,0,1: 47:[72, 37] Operation: 94-57=37 Exploring Operation: 72-57=15, Resulting Numbers: [94, 15] Generated Node #0,0,2: 47:[94, 15] Operation: 72-57=15 Exploring Operation: 94-72=22, Resulting Numbers: [57, 22] Generated Node #0,0,3: 47:[57, 22] Operation: 94-72=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[72, 37], Operations: ['3*19=57', '94-57=37'] Exploring Operation: 72*37=2664, Resulting Numbers: [2664] 2664,47 unequal: No Solution Exploring Operation: 72+37=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[57, 22], Operations: ['3*19=57', '94-72=22'] Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[94, 15], Operations: ['3*19=57', '72-57=15'] Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,47 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[57, 166], Operations: ['3*19=57', '72+94=166'] Exploring Operation: 166-57=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 57*166=9462, Resulting Numbers: [9462] 9462,47 unequal: No Solution Exploring Operation: 57+166=223, Resulting Numbers: [223] 223,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 47:[19, 72, 91], Operations: ['94-3=91'] Exploring Operation: 19+72=91, Resulting Numbers: [91, 91] Generated Node #0,2,0: 47:[91, 91] Operation: 19+72=91 Exploring Operation: 91-72=19, Resulting Numbers: [19, 19] Generated Node #0,2,1: 47:[19, 19] Operation: 91-72=19 Exploring Operation: 72-19=53, Resulting Numbers: [91, 53] Generated Node #0,2,2: 47:[91, 53] Operation: 72-19=53 Exploring Operation: 91-19=72, Resulting Numbers: [72, 72] Generated Node #0,2,3: 47:[72, 72] Operation: 91-19=72 Moving to Node #0,1 Current State: 47:[72, 94, 22], Operations: ['3+19=22'] Exploring Operation: 94-22=72, Resulting Numbers: [72, 72] Generated Node #0,1,0: 47:[72, 72] Operation: 94-22=72 Exploring Operation: 72-22=50, Resulting Numbers: [94, 50] Generated Node #0,1,1: 47:[94, 50] Operation: 72-22=50 Exploring Operation: 72+22=94, Resulting Numbers: [94, 94] Generated Node #0,1,2: 47:[94, 94] Operation: 72+22=94 Exploring Operation: 94-72=22, Resulting Numbers: [22, 22] Generated Node #0,1,3: 47:[22, 22] Operation: 94-72=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[72, 72], Operations: ['3+19=22', '94-22=72'] Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 72*72=5184, Resulting Numbers: [5184] 5184,47 unequal: No Solution Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[94, 50], Operations: ['3+19=22', '72-22=50'] Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 94*50=4700, Resulting Numbers: [4700] 4700,47 unequal: No Solution Exploring Operation: 94+50=144, Resulting Numbers: [144] 144,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[22, 22], Operations: ['3+19=22', '94-72=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,47 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[94, 94], Operations: ['3+19=22', '72+22=94'] Exploring Operation: 94/94=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 94*94=8836, Resulting Numbers: [8836] 8836,47 unequal: No Solution Exploring Operation: 94-94=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 94+94=188, Resulting Numbers: [188] 188,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 47:[19, 94, 69], Operations: ['72-3=69'] Exploring Operation: 94-69=25, Resulting Numbers: [19, 25] Generated Node #0,3,0: 47:[19, 25] Operation: 94-69=25 Exploring Operation: 94-19=75, Resulting Numbers: [69, 75] Generated Node #0,3,1: 47:[69, 75] Operation: 94-19=75 Exploring Operation: 69-19=50, Resulting Numbers: [94, 50] Generated Node #0,3,2: 47:[94, 50] Operation: 69-19=50 Exploring Operation: 19+94=113, Resulting Numbers: [69, 113] Generated Node #0,3,3: 47:[69, 113] Operation: 19+94=113 Moving to Node #0,2,2 Current State: 47:[91, 53], Operations: ['94-3=91', '72-19=53'] Exploring Operation: 91*53=4823, Resulting Numbers: [4823] 4823,47 unequal: No Solution Exploring Operation: 91+53=144, Resulting Numbers: [144] 144,47 unequal: No Solution Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[69, 75], Operations: ['72-3=69', '94-19=75'] Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 69+75=144, Resulting Numbers: [144] 144,47 unequal: No Solution Exploring Operation: 69*75=5175, Resulting Numbers: [5175] 5175,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[94, 50], Operations: ['72-3=69', '69-19=50'] Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 94*50=4700, Resulting Numbers: [4700] 4700,47 unequal: No Solution Exploring Operation: 94+50=144, Resulting Numbers: [144] 144,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[72, 72], Operations: ['94-3=91', '91-19=72'] Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,47 unequal: No Solution Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 72*72=5184, Resulting Numbers: [5184] 5184,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[19, 25], Operations: ['72-3=69', '94-69=25'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,47 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[19, 19], Operations: ['94-3=91', '91-72=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,47 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[91, 91], Operations: ['94-3=91', '19+72=91'] Exploring Operation: 91*91=8281, Resulting Numbers: [8281] 8281,47 unequal: No Solution Exploring Operation: 91/91=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 91-91=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 91+91=182, Resulting Numbers: [182] 182,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[69, 113], Operations: ['72-3=69', '19+94=113'] Exploring Operation: 69*113=7797, Resulting Numbers: [7797] 7797,47 unequal: No Solution Exploring Operation: 113-69=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 69+113=182, Resulting Numbers: [182] 182,47 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 53, 41, 29, 26 ]
91
[ "53+41=94", "29-26=3", "94-3=91" ]
Current State: 91:[53, 41, 29, 26], Operations: [] Exploring Operation: 53+41=94, Resulting Numbers: [29, 26, 94] Generated Node #2: [29, 26, 94] from Operation: 53+41=94 Current State: 91:[29, 26, 94], Operations: ['53+41=94'] Exploring Operation: 29-26=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 29-26=3 Current State: 91:[94, 3], Operations: ['53+41=94', '29-26=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[53, 41, 29, 26], Operations: [] Exploring Operation: 41-29=12, Resulting Numbers: [53, 26, 12] Generated Node #0,0: 91:[53, 26, 12] Operation: 41-29=12 Exploring Operation: 53+41=94, Resulting Numbers: [29, 26, 94] Generated Node #0,1: 91:[29, 26, 94] Operation: 53+41=94 Exploring Operation: 53-41=12, Resulting Numbers: [29, 26, 12] Generated Node #0,2: 91:[29, 26, 12] Operation: 53-41=12 Exploring Operation: 53-29=24, Resulting Numbers: [41, 26, 24] Generated Node #0,3: 91:[41, 26, 24] Operation: 53-29=24 Exploring Operation: 53+29=82, Resulting Numbers: [41, 26, 82] Generated Node #0,4: 91:[41, 26, 82] Operation: 53+29=82 Moving to Node #0,2 Current State: 91:[29, 26, 12], Operations: ['53-41=12'] Exploring Operation: 29-26=3, Resulting Numbers: [12, 3] Generated Node #0,2,0: 91:[12, 3] Operation: 29-26=3 Exploring Operation: 29+12=41, Resulting Numbers: [26, 41] Generated Node #0,2,1: 91:[26, 41] Operation: 29+12=41 Exploring Operation: 29-12=17, Resulting Numbers: [26, 17] Generated Node #0,2,2: 91:[26, 17] Operation: 29-12=17 Exploring Operation: 29+26=55, Resulting Numbers: [12, 55] Generated Node #0,2,3: 91:[12, 55] Operation: 29+26=55 Exploring Operation: 26-12=14, Resulting Numbers: [29, 14] Generated Node #0,2,4: 91:[29, 14] Operation: 26-12=14 Moving to Node #0,1 Current State: 91:[29, 26, 94], Operations: ['53+41=94'] Exploring Operation: 29+94=123, Resulting Numbers: [26, 123] Generated Node #0,1,0: 91:[26, 123] Operation: 29+94=123 Exploring Operation: 29+26=55, Resulting Numbers: [94, 55] Generated Node #0,1,1: 91:[94, 55] Operation: 29+26=55 Exploring Operation: 94-26=68, Resulting Numbers: [29, 68] Generated Node #0,1,2: 91:[29, 68] Operation: 94-26=68 Exploring Operation: 94-29=65, Resulting Numbers: [26, 65] Generated Node #0,1,3: 91:[26, 65] Operation: 94-29=65 Exploring Operation: 29-26=3, Resulting Numbers: [94, 3] Generated Node #0,1,4: 91:[94, 3] Operation: 29-26=3 Moving to Node #0,4 Current State: 91:[41, 26, 82], Operations: ['53+29=82'] Exploring Operation: 41+82=123, Resulting Numbers: [26, 123] Generated Node #0,4,0: 91:[26, 123] Operation: 41+82=123 Exploring Operation: 41-26=15, Resulting Numbers: [82, 15] Generated Node #0,4,1: 91:[82, 15] Operation: 41-26=15 Exploring Operation: 82/41=2, Resulting Numbers: [26, 2] Generated Node #0,4,2: 91:[26, 2] Operation: 82/41=2 Exploring Operation: 41+26=67, Resulting Numbers: [82, 67] Generated Node #0,4,3: 91:[82, 67] Operation: 41+26=67 Exploring Operation: 82-41=41, Resulting Numbers: [26, 41] Generated Node #0,4,4: 91:[26, 41] Operation: 82-41=41 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 91:[82, 15], Operations: ['53+29=82', '41-26=15'] Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,91 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,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,4,2 Current State: 91:[26, 2], Operations: ['53+29=82', '82/41=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,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,4,3 Current State: 91:[82, 67], Operations: ['53+29=82', '41+26=67'] Exploring Operation: 82*67=5494, Resulting Numbers: [5494] 5494,91 unequal: No Solution Exploring Operation: 82+67=149, Resulting Numbers: [149] 149,91 unequal: No Solution Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,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,4,4 Current State: 91:[26, 41], Operations: ['53+29=82', '82-41=41'] Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,91 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,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,4,0 Current State: 91:[26, 123], Operations: ['53+29=82', '41+82=123'] Exploring Operation: 26+123=149, Resulting Numbers: [149] 149,91 unequal: No Solution Exploring Operation: 26*123=3198, Resulting Numbers: [3198] 3198,91 unequal: No Solution Exploring Operation: 123-26=97, Resulting Numbers: [97] 97,91 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: 91:[53, 26, 12], Operations: ['41-29=12'] Exploring Operation: 53-26=27, Resulting Numbers: [12, 27] Generated Node #0,0,0: 91:[12, 27] Operation: 53-26=27 Exploring Operation: 26-12=14, Resulting Numbers: [53, 14] Generated Node #0,0,1: 91:[53, 14] Operation: 26-12=14 Exploring Operation: 53+12=65, Resulting Numbers: [26, 65] Generated Node #0,0,2: 91:[26, 65] Operation: 53+12=65 Exploring Operation: 53+26=79, Resulting Numbers: [12, 79] Generated Node #0,0,3: 91:[12, 79] Operation: 53+26=79 Exploring Operation: 53-12=41, Resulting Numbers: [26, 41] Generated Node #0,0,4: 91:[26, 41] Operation: 53-12=41 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[12, 79], Operations: ['41-29=12', '53+26=79'] Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,91 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[53, 41, 29, 26], Operations: [] Exploring Operation: 41-29=12, Resulting Numbers: [53, 26, 12] Generated Node #0,0: 91:[53, 26, 12] Operation: 41-29=12 Moving to Node #0,0 Current State: 91:[53, 26, 12], Operations: ['41-29=12'] Exploring Operation: 53+26=79, Resulting Numbers: [12, 79] Generated Node #0,0,3: 91:[12, 79] Operation: 53+26=79 Moving to Node #0,0,3 Current State: 91:[12, 79], Operations: ['41-29=12', '53+26=79'] Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 63, 15, 99, 40 ]
61
[ "63+15=78", "99+40=139", "139-78=61" ]
Current State: 61:[63, 15, 99, 40], Operations: [] Exploring Operation: 63+15=78, Resulting Numbers: [99, 40, 78] Generated Node #2: [99, 40, 78] from Operation: 63+15=78 Current State: 61:[99, 40, 78], Operations: ['63+15=78'] Exploring Operation: 99+40=139, Resulting Numbers: [78, 139] Generated Node #3: [78, 139] from Operation: 99+40=139 Current State: 61:[78, 139], Operations: ['63+15=78', '99+40=139'] Exploring Operation: 139-78=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[63, 15, 99, 40], Operations: [] Exploring Operation: 99-40=59, Resulting Numbers: [63, 15, 59] Generated Node #0,0: 61:[63, 15, 59] Operation: 99-40=59 Exploring Operation: 99-15=84, Resulting Numbers: [63, 40, 84] Generated Node #0,1: 61:[63, 40, 84] Operation: 99-15=84 Exploring Operation: 15+40=55, Resulting Numbers: [63, 99, 55] Generated Node #0,2: 61:[63, 99, 55] Operation: 15+40=55 Exploring Operation: 63+15=78, Resulting Numbers: [99, 40, 78] Generated Node #0,3: 61:[99, 40, 78] Operation: 63+15=78 Exploring Operation: 63-15=48, Resulting Numbers: [99, 40, 48] Generated Node #0,4: 61:[99, 40, 48] Operation: 63-15=48 Moving to Node #0,1 Current State: 61:[63, 40, 84], Operations: ['99-15=84'] Exploring Operation: 84-63=21, Resulting Numbers: [40, 21] Generated Node #0,1,0: 61:[40, 21] Operation: 84-63=21 Exploring Operation: 84-40=44, Resulting Numbers: [63, 44] Generated Node #0,1,1: 61:[63, 44] Operation: 84-40=44 Exploring Operation: 40+84=124, Resulting Numbers: [63, 124] Generated Node #0,1,2: 61:[63, 124] Operation: 40+84=124 Exploring Operation: 63+40=103, Resulting Numbers: [84, 103] Generated Node #0,1,3: 61:[84, 103] Operation: 63+40=103 Exploring Operation: 63-40=23, Resulting Numbers: [84, 23] Generated Node #0,1,4: 61:[84, 23] Operation: 63-40=23 Moving to Node #0,2 Current State: 61:[63, 99, 55], Operations: ['15+40=55'] Exploring Operation: 99-55=44, Resulting Numbers: [63, 44] Generated Node #0,2,0: 61:[63, 44] Operation: 99-55=44 Exploring Operation: 63+55=118, Resulting Numbers: [99, 118] Generated Node #0,2,1: 61:[99, 118] Operation: 63+55=118 Exploring Operation: 99-63=36, Resulting Numbers: [55, 36] Generated Node #0,2,2: 61:[55, 36] Operation: 99-63=36 Exploring Operation: 63-55=8, Resulting Numbers: [99, 8] Generated Node #0,2,3: 61:[99, 8] Operation: 63-55=8 Exploring Operation: 99+55=154, Resulting Numbers: [63, 154] Generated Node #0,2,4: 61:[63, 154] Operation: 99+55=154 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[63, 44], Operations: ['15+40=55', '99-55=44'] Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 63+44=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 63*44=2772, Resulting Numbers: [2772] 2772,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[55, 36], Operations: ['15+40=55', '99-63=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 55*36=1980, Resulting Numbers: [1980] 1980,61 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[99, 8], Operations: ['15+40=55', '63-55=8'] Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 99*8=792, Resulting Numbers: [792] 792,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[99, 118], Operations: ['15+40=55', '63+55=118'] Exploring Operation: 99*118=11682, Resulting Numbers: [11682] 11682,61 unequal: No Solution Exploring Operation: 118-99=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 99+118=217, Resulting Numbers: [217] 217,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 61:[63, 154], Operations: ['15+40=55', '99+55=154'] Exploring Operation: 63*154=9702, Resulting Numbers: [9702] 9702,61 unequal: No Solution Exploring Operation: 63+154=217, Resulting Numbers: [217] 217,61 unequal: No Solution Exploring Operation: 154-63=91, Resulting Numbers: [91] 91,61 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: 61:[63, 15, 59], Operations: ['99-40=59'] Exploring Operation: 63-15=48, Resulting Numbers: [59, 48] Generated Node #0,0,0: 61:[59, 48] Operation: 63-15=48 Exploring Operation: 15+59=74, Resulting Numbers: [63, 74] Generated Node #0,0,1: 61:[63, 74] Operation: 15+59=74 Exploring Operation: 63-59=4, Resulting Numbers: [15, 4] Generated Node #0,0,2: 61:[15, 4] Operation: 63-59=4 Exploring Operation: 59-15=44, Resulting Numbers: [63, 44] Generated Node #0,0,3: 61:[63, 44] Operation: 59-15=44 Exploring Operation: 63+15=78, Resulting Numbers: [59, 78] Generated Node #0,0,4: 61:[59, 78] Operation: 63+15=78 Moving to Node #0,4 Current State: 61:[99, 40, 48], Operations: ['63-15=48'] Exploring Operation: 99-48=51, Resulting Numbers: [40, 51] Generated Node #0,4,0: 61:[40, 51] Operation: 99-48=51 Exploring Operation: 48-40=8, Resulting Numbers: [99, 8] Generated Node #0,4,1: 61:[99, 8] Operation: 48-40=8 Exploring Operation: 99+40=139, Resulting Numbers: [48, 139] Generated Node #0,4,2: 61:[48, 139] Operation: 99+40=139 Exploring Operation: 99-40=59, Resulting Numbers: [48, 59] Generated Node #0,4,3: 61:[48, 59] Operation: 99-40=59 Exploring Operation: 40+48=88, Resulting Numbers: [99, 88] Generated Node #0,4,4: 61:[99, 88] Operation: 40+48=88 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 61:[48, 59], Operations: ['63-15=48', '99-40=59'] Exploring Operation: 48*59=2832, Resulting Numbers: [2832] 2832,61 unequal: No Solution Exploring Operation: 48+59=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,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:[40, 51], Operations: ['63-15=48', '99-48=51'] Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 40*51=2040, Resulting Numbers: [2040] 2040,61 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,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,4 Current State: 61:[99, 88], Operations: ['63-15=48', '40+48=88'] Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,61 unequal: No Solution Exploring Operation: 99*88=8712, Resulting Numbers: [8712] 8712,61 unequal: No Solution Exploring Operation: 99+88=187, Resulting Numbers: [187] 187,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:[99, 8], Operations: ['63-15=48', '48-40=8'] Exploring Operation: 99*8=792, Resulting Numbers: [792] 792,61 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,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:[48, 139], Operations: ['63-15=48', '99+40=139'] Exploring Operation: 48*139=6672, Resulting Numbers: [6672] 6672,61 unequal: No Solution Exploring Operation: 139-48=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 48+139=187, Resulting Numbers: [187] 187,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:[99, 40, 78], Operations: ['63+15=78'] Exploring Operation: 40+78=118, Resulting Numbers: [99, 118] Generated Node #0,3,0: 61:[99, 118] Operation: 40+78=118 Exploring Operation: 99+40=139, Resulting Numbers: [78, 139] Generated Node #0,3,1: 61:[78, 139] Operation: 99+40=139 Exploring Operation: 99-40=59, Resulting Numbers: [78, 59] Generated Node #0,3,2: 61:[78, 59] Operation: 99-40=59 Exploring Operation: 99-78=21, Resulting Numbers: [40, 21] Generated Node #0,3,3: 61:[40, 21] Operation: 99-78=21 Exploring Operation: 78-40=38, Resulting Numbers: [99, 38] Generated Node #0,3,4: 61:[99, 38] Operation: 78-40=38 Moving to Node #0,0,0 Current State: 61:[59, 48], Operations: ['99-40=59', '63-15=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,61 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[63, 74], Operations: ['99-40=59', '15+59=74'] Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,61 unequal: No Solution Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 63*74=4662, Resulting Numbers: [4662] 4662,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[63, 44], Operations: ['99-15=84', '84-40=44'] Exploring Operation: 63+44=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 63*44=2772, Resulting Numbers: [2772] 2772,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[63, 44], Operations: ['99-40=59', '59-15=44'] Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 63+44=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 63*44=2772, Resulting Numbers: [2772] 2772,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[78, 59], Operations: ['63+15=78', '99-40=59'] Exploring Operation: 78*59=4602, Resulting Numbers: [4602] 4602,61 unequal: No Solution Exploring Operation: 78+59=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[59, 78], Operations: ['99-40=59', '63+15=78'] Exploring Operation: 59+78=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 59*78=4602, Resulting Numbers: [4602] 4602,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[84, 23], Operations: ['99-15=84', '63-40=23'] Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[63, 15, 99, 40], Operations: [] Exploring Operation: 99-15=84, Resulting Numbers: [63, 40, 84] Generated Node #0,1: 61:[63, 40, 84] Operation: 99-15=84 Moving to Node #0,1 Current State: 61:[63, 40, 84], Operations: ['99-15=84'] Exploring Operation: 63-40=23, Resulting Numbers: [84, 23] Generated Node #0,1,4: 61:[84, 23] Operation: 63-40=23 Moving to Node #0,1,4 Current State: 61:[84, 23], Operations: ['99-15=84', '63-40=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.927083
hs_5
mult_heuristic
[ 40, 81, 7, 70 ]
77
[ "40*7=280", "280/70=4", "81-4=77" ]
Current State: 77:[40, 81, 7, 70], Operations: [] Exploring Operation: 40*7=280, Resulting Numbers: [81, 70, 280] Generated Node #2: [81, 70, 280] from Operation: 40*7=280 Current State: 77:[81, 70, 280], Operations: ['40*7=280'] Exploring Operation: 280/70=4, Resulting Numbers: [81, 4] Generated Node #3: [81, 4] from Operation: 280/70=4 Current State: 77:[81, 4], Operations: ['40*7=280', '280/70=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[40, 81, 7, 70], Operations: [] Exploring Operation: 7+70=77, Resulting Numbers: [40, 81, 77] Generated Node #0,0: 77:[40, 81, 77] Operation: 7+70=77 Exploring Operation: 81-70=11, Resulting Numbers: [40, 7, 11] Generated Node #0,1: 77:[40, 7, 11] Operation: 81-70=11 Exploring Operation: 70-40=30, Resulting Numbers: [81, 7, 30] Generated Node #0,2: 77:[81, 7, 30] Operation: 70-40=30 Exploring Operation: 70/7=10, Resulting Numbers: [40, 81, 10] Generated Node #0,3: 77:[40, 81, 10] Operation: 70/7=10 Exploring Operation: 40-7=33, Resulting Numbers: [81, 70, 33] Generated Node #0,4: 77:[81, 70, 33] Operation: 40-7=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[81, 7, 30], Operations: ['70-40=30'] Exploring Operation: 81+7=88, Resulting Numbers: [30, 88] Generated Node #0,2,0: 77:[30, 88] Operation: 81+7=88 Exploring Operation: 30-7=23, Resulting Numbers: [81, 23] Generated Node #0,2,1: 77:[81, 23] Operation: 30-7=23 Exploring Operation: 81-7=74, Resulting Numbers: [30, 74] Generated Node #0,2,2: 77:[30, 74] Operation: 81-7=74 Exploring Operation: 81-30=51, Resulting Numbers: [7, 51] Generated Node #0,2,3: 77:[7, 51] Operation: 81-30=51 Exploring Operation: 7+30=37, Resulting Numbers: [81, 37] Generated Node #0,2,4: 77:[81, 37] Operation: 7+30=37 Moving to Node #0,2,1 Current State: 77:[81, 23], Operations: ['70-40=30', '30-7=23'] Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,77 unequal: No Solution Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[30, 74], Operations: ['70-40=30', '81-7=74'] Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[7, 51], Operations: ['70-40=30', '81-30=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,77 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[30, 88], Operations: ['70-40=30', '81+7=88'] Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,77 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[81, 37], Operations: ['70-40=30', '7+30=37'] Exploring Operation: 81*37=2997, Resulting Numbers: [2997] 2997,77 unequal: No Solution Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 81+37=118, Resulting Numbers: [118] 118,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[40, 7, 11], Operations: ['81-70=11'] Exploring Operation: 40+7=47, Resulting Numbers: [11, 47] Generated Node #0,1,0: 77:[11, 47] Operation: 40+7=47 Exploring Operation: 40-7=33, Resulting Numbers: [11, 33] Generated Node #0,1,1: 77:[11, 33] Operation: 40-7=33 Exploring Operation: 7*11=77, Resulting Numbers: [40, 77] Generated Node #0,1,2: 77:[40, 77] Operation: 7*11=77 Exploring Operation: 40-11=29, Resulting Numbers: [7, 29] Generated Node #0,1,3: 77:[7, 29] Operation: 40-11=29 Exploring Operation: 40+11=51, Resulting Numbers: [7, 51] Generated Node #0,1,4: 77:[7, 51] Operation: 40+11=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 77:[7, 29], Operations: ['81-70=11', '40-11=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[11, 33], Operations: ['81-70=11', '40-7=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,77 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 77:[7, 51], Operations: ['81-70=11', '40+11=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,77 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[40, 77], Operations: ['81-70=11', '7*11=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,77 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[11, 47], Operations: ['81-70=11', '40+7=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[40, 81, 77], Operations: ['7+70=77'] Exploring Operation: 77-40=37, Resulting Numbers: [81, 37] Generated Node #0,0,0: 77:[81, 37] Operation: 77-40=37 Exploring Operation: 40+81=121, Resulting Numbers: [77, 121] Generated Node #0,0,1: 77:[77, 121] Operation: 40+81=121 Exploring Operation: 81-40=41, Resulting Numbers: [77, 41] Generated Node #0,0,2: 77:[77, 41] Operation: 81-40=41 Exploring Operation: 81-77=4, Resulting Numbers: [40, 4] Generated Node #0,0,3: 77:[40, 4] Operation: 81-77=4 Exploring Operation: 40+77=117, Resulting Numbers: [81, 117] Generated Node #0,0,4: 77:[81, 117] Operation: 40+77=117 Moving to Node #0,0,0 Current State: 77:[81, 37], Operations: ['7+70=77', '77-40=37'] Exploring Operation: 81*37=2997, Resulting Numbers: [2997] 2997,77 unequal: No Solution Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 81+37=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[77, 41], Operations: ['7+70=77', '81-40=41'] Exploring Operation: 77+41=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 77*41=3157, Resulting Numbers: [3157] 3157,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[40, 4], Operations: ['7+70=77', '81-77=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,77 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[77, 121], Operations: ['7+70=77', '40+81=121'] Exploring Operation: 77*121=9317, Resulting Numbers: [9317] 9317,77 unequal: No Solution Exploring Operation: 121-77=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 77+121=198, Resulting Numbers: [198] 198,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[81, 117], Operations: ['7+70=77', '40+77=117'] Exploring Operation: 117-81=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 81+117=198, Resulting Numbers: [198] 198,77 unequal: No Solution Exploring Operation: 81*117=9477, Resulting Numbers: [9477] 9477,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 77:[81, 70, 33], Operations: ['40-7=33'] Exploring Operation: 70+33=103, Resulting Numbers: [81, 103] Generated Node #0,4,0: 77:[81, 103] Operation: 70+33=103 Exploring Operation: 81+33=114, Resulting Numbers: [70, 114] Generated Node #0,4,1: 77:[70, 114] Operation: 81+33=114 Exploring Operation: 70-33=37, Resulting Numbers: [81, 37] Generated Node #0,4,2: 77:[81, 37] Operation: 70-33=37 Exploring Operation: 81-70=11, Resulting Numbers: [33, 11] Generated Node #0,4,3: 77:[33, 11] Operation: 81-70=11 Exploring Operation: 81-33=48, Resulting Numbers: [70, 48] Generated Node #0,4,4: 77:[70, 48] Operation: 81-33=48 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 77:[33, 11], Operations: ['40-7=33', '81-70=11'] Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,77 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 77:[81, 103], Operations: ['40-7=33', '70+33=103'] Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 81*103=8343, Resulting Numbers: [8343] 8343,77 unequal: No Solution Exploring Operation: 81+103=184, Resulting Numbers: [184] 184,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 77:[81, 37], Operations: ['40-7=33', '70-33=37'] Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 81*37=2997, Resulting Numbers: [2997] 2997,77 unequal: No Solution Exploring Operation: 81+37=118, Resulting Numbers: [118] 118,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 77:[70, 48], Operations: ['40-7=33', '81-33=48'] Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 77:[70, 114], Operations: ['40-7=33', '81+33=114'] Exploring Operation: 114-70=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 70*114=7980, Resulting Numbers: [7980] 7980,77 unequal: No Solution Exploring Operation: 70+114=184, Resulting Numbers: [184] 184,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[40, 81, 10], Operations: ['70/7=10'] Exploring Operation: 40+10=50, Resulting Numbers: [81, 50] Generated Node #0,3,0: 77:[81, 50] Operation: 40+10=50 Exploring Operation: 81-40=41, Resulting Numbers: [10, 41] Generated Node #0,3,1: 77:[10, 41] Operation: 81-40=41 Exploring Operation: 81-10=71, Resulting Numbers: [40, 71] Generated Node #0,3,2: 77:[40, 71] Operation: 81-10=71 Exploring Operation: 40-10=30, Resulting Numbers: [81, 30] Generated Node #0,3,3: 77:[81, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [81, 4] Generated Node #0,3,4: 77:[81, 4] Operation: 40/10=4 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 77:[81, 4], Operations: ['70/7=10', '40/10=4'] Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,77 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[40, 81, 7, 70], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [40, 81, 10] Generated Node #0,3: 77:[40, 81, 10] Operation: 70/7=10 Moving to Node #0,3 Current State: 77:[40, 81, 10], Operations: ['70/7=10'] Exploring Operation: 40/10=4, Resulting Numbers: [81, 4] Generated Node #0,3,4: 77:[81, 4] Operation: 40/10=4 Moving to Node #0,3,4 Current State: 77:[81, 4], Operations: ['70/7=10', '40/10=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.914063
hs_5
sum_heuristic
[ 61, 21, 97, 65 ]
50
[ "61+21=82", "97-65=32", "82-32=50" ]
Current State: 50:[61, 21, 97, 65], Operations: [] Exploring Operation: 61+21=82, Resulting Numbers: [97, 65, 82] Generated Node #2: [97, 65, 82] from Operation: 61+21=82 Current State: 50:[97, 65, 82], Operations: ['61+21=82'] Exploring Operation: 97-65=32, Resulting Numbers: [82, 32] Generated Node #3: [82, 32] from Operation: 97-65=32 Current State: 50:[82, 32], Operations: ['61+21=82', '97-65=32'] Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[61, 21, 97, 65], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [61, 21, 32] Generated Node #0,0: 50:[61, 21, 32] Operation: 97-65=32 Moving to Node #0,0 Current State: 50:[61, 21, 32], Operations: ['97-65=32'] Exploring Operation: 61-32=29, Resulting Numbers: [21, 29] Generated Node #0,0,0: 50:[21, 29] Operation: 61-32=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[21, 29], Operations: ['97-65=32', '61-32=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[61, 21, 97, 65], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [61, 21, 32] Generated Node #0,0: 50:[61, 21, 32] Operation: 97-65=32 Moving to Node #0,0 Current State: 50:[61, 21, 32], Operations: ['97-65=32'] Exploring Operation: 61-32=29, Resulting Numbers: [21, 29] Generated Node #0,0,0: 50:[21, 29] Operation: 61-32=29 Moving to Node #0,0,0 Current State: 50:[21, 29], Operations: ['97-65=32', '61-32=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 43, 91, 33, 79 ]
22
[ "43+91=134", "33+79=112", "134-112=22" ]
Current State: 22:[43, 91, 33, 79], Operations: [] Exploring Operation: 43+91=134, Resulting Numbers: [33, 79, 134] Generated Node #2: [33, 79, 134] from Operation: 43+91=134 Current State: 22:[33, 79, 134], Operations: ['43+91=134'] Exploring Operation: 33+79=112, Resulting Numbers: [134, 112] Generated Node #3: [134, 112] from Operation: 33+79=112 Current State: 22:[134, 112], Operations: ['43+91=134', '33+79=112'] Exploring Operation: 134-112=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[43, 91, 33, 79], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [43, 33, 12] Generated Node #0,0: 22:[43, 33, 12] Operation: 91-79=12 Exploring Operation: 79-43=36, Resulting Numbers: [91, 33, 36] Generated Node #0,1: 22:[91, 33, 36] Operation: 79-43=36 Exploring Operation: 91-43=48, Resulting Numbers: [33, 79, 48] Generated Node #0,2: 22:[33, 79, 48] Operation: 91-43=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[43, 33, 12], Operations: ['91-79=12'] Exploring Operation: 43-12=31, Resulting Numbers: [33, 31] Generated Node #0,0,0: 22:[33, 31] Operation: 43-12=31 Exploring Operation: 43-33=10, Resulting Numbers: [12, 10] Generated Node #0,0,1: 22:[12, 10] Operation: 43-33=10 Exploring Operation: 33-12=21, Resulting Numbers: [43, 21] Generated Node #0,0,2: 22:[43, 21] Operation: 33-12=21 Moving to Node #0,0,1 Current State: 22:[12, 10], Operations: ['91-79=12', '43-33=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[43, 91, 33, 79], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [43, 33, 12] Generated Node #0,0: 22:[43, 33, 12] Operation: 91-79=12 Moving to Node #0,0 Current State: 22:[43, 33, 12], Operations: ['91-79=12'] Exploring Operation: 43-33=10, Resulting Numbers: [12, 10] Generated Node #0,0,1: 22:[12, 10] Operation: 43-33=10 Moving to Node #0,0,1 Current State: 22:[12, 10], Operations: ['91-79=12', '43-33=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 57, 51, 42, 44 ]
92
[ "57-51=6", "42+44=86", "6+86=92" ]
Current State: 92:[57, 51, 42, 44], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [42, 44, 6] Generated Node #2: [42, 44, 6] from Operation: 57-51=6 Current State: 92:[42, 44, 6], Operations: ['57-51=6'] Exploring Operation: 42+44=86, Resulting Numbers: [6, 86] Generated Node #3: [6, 86] from Operation: 42+44=86 Current State: 92:[6, 86], Operations: ['57-51=6', '42+44=86'] Exploring Operation: 6+86=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[57, 51, 42, 44], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [42, 44, 6] Generated Node #0,0: 92:[42, 44, 6] Operation: 57-51=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[42, 44, 6], Operations: ['57-51=6'] Exploring Operation: 44-42=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 92:[6, 2] Operation: 44-42=2 Moving to Node #0,0,0 Current State: 92:[6, 2], Operations: ['57-51=6', '44-42=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,92 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
[ 7, 25, 90, 37 ]
28
[ "37-7=30", "90/30=3", "25+3=28" ]
Current State: 28:[7, 25, 90, 37], Operations: [] Exploring Operation: 37-7=30, Resulting Numbers: [25, 90, 30] Generated Node #2: [25, 90, 30] from Operation: 37-7=30 Current State: 28:[25, 90, 30], Operations: ['37-7=30'] Exploring Operation: 90/30=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 90/30=3 Current State: 28:[25, 3], Operations: ['37-7=30', '90/30=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 25, 90, 37], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [7, 37, 65] Generated Node #0,0: 28:[7, 37, 65] Operation: 90-25=65 Exploring Operation: 37-25=12, Resulting Numbers: [7, 90, 12] Generated Node #0,1: 28:[7, 90, 12] Operation: 37-25=12 Exploring Operation: 90-7=83, Resulting Numbers: [25, 37, 83] Generated Node #0,2: 28:[25, 37, 83] Operation: 90-7=83 Exploring Operation: 90-37=53, Resulting Numbers: [7, 25, 53] Generated Node #0,3: 28:[7, 25, 53] Operation: 90-37=53 Moving to Node #0,3 Current State: 28:[7, 25, 53], Operations: ['90-37=53'] Exploring Operation: 7+25=32, Resulting Numbers: [53, 32] Generated Node #0,3,0: 28:[53, 32] Operation: 7+25=32 Exploring Operation: 25-7=18, Resulting Numbers: [53, 18] Generated Node #0,3,1: 28:[53, 18] Operation: 25-7=18 Exploring Operation: 53-7=46, Resulting Numbers: [25, 46] Generated Node #0,3,2: 28:[25, 46] Operation: 53-7=46 Exploring Operation: 53-25=28, Resulting Numbers: [7, 28] Generated Node #0,3,3: 28:[7, 28] Operation: 53-25=28 Moving to Node #0,0 Current State: 28:[7, 37, 65], Operations: ['90-25=65'] Exploring Operation: 37-7=30, Resulting Numbers: [65, 30] Generated Node #0,0,0: 28:[65, 30] Operation: 37-7=30 Exploring Operation: 65-7=58, Resulting Numbers: [37, 58] Generated Node #0,0,1: 28:[37, 58] Operation: 65-7=58 Exploring Operation: 7+37=44, Resulting Numbers: [65, 44] Generated Node #0,0,2: 28:[65, 44] Operation: 7+37=44 Exploring Operation: 65-37=28, Resulting Numbers: [7, 28] Generated Node #0,0,3: 28:[7, 28] Operation: 65-37=28 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[7, 28], Operations: ['90-25=65', '65-37=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[65, 30], Operations: ['90-25=65', '37-7=30'] Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,28 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[37, 58], Operations: ['90-25=65', '65-7=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,28 unequal: No Solution Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,28 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[65, 44], Operations: ['90-25=65', '7+37=44'] Exploring Operation: 65*44=2860, Resulting Numbers: [2860] 2860,28 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 65+44=109, Resulting Numbers: [109] 109,28 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: 28:[7, 90, 12], Operations: ['37-25=12'] Exploring Operation: 90-12=78, Resulting Numbers: [7, 78] Generated Node #0,1,0: 28:[7, 78] Operation: 90-12=78 Exploring Operation: 12-7=5, Resulting Numbers: [90, 5] Generated Node #0,1,1: 28:[90, 5] Operation: 12-7=5 Exploring Operation: 90-7=83, Resulting Numbers: [12, 83] Generated Node #0,1,2: 28:[12, 83] Operation: 90-7=83 Exploring Operation: 7+12=19, Resulting Numbers: [90, 19] Generated Node #0,1,3: 28:[90, 19] Operation: 7+12=19 Moving to Node #0,2 Current State: 28:[25, 37, 83], Operations: ['90-7=83'] Exploring Operation: 25+37=62, Resulting Numbers: [83, 62] Generated Node #0,2,0: 28:[83, 62] Operation: 25+37=62 Exploring Operation: 83-25=58, Resulting Numbers: [37, 58] Generated Node #0,2,1: 28:[37, 58] Operation: 83-25=58 Exploring Operation: 83-37=46, Resulting Numbers: [25, 46] Generated Node #0,2,2: 28:[25, 46] Operation: 83-37=46 Exploring Operation: 37-25=12, Resulting Numbers: [83, 12] Generated Node #0,2,3: 28:[83, 12] Operation: 37-25=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[25, 46], Operations: ['90-7=83', '83-37=46'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,28 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[37, 58], Operations: ['90-7=83', '83-25=58'] Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,28 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[83, 12], Operations: ['90-7=83', '37-25=12'] Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,28 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[83, 62], Operations: ['90-7=83', '25+37=62'] Exploring Operation: 83+62=145, Resulting Numbers: [145] 145,28 unequal: No Solution Exploring Operation: 83*62=5146, Resulting Numbers: [5146] 5146,28 unequal: No Solution Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 28:[7, 28], Operations: ['90-37=53', '53-25=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,28 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[25, 46], Operations: ['90-37=53', '53-7=46'] Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,28 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[53, 32], Operations: ['90-37=53', '7+25=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,28 unequal: No Solution Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,28 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[53, 18], Operations: ['90-37=53', '25-7=18'] Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,28 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[7, 78], Operations: ['37-25=12', '90-12=78'] Exploring Operation: 7+78=85, Resulting Numbers: [85] 85,28 unequal: No Solution Exploring Operation: 7*78=546, Resulting Numbers: [546] 546,28 unequal: No Solution Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[12, 83], Operations: ['37-25=12', '90-7=83'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,28 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[90, 5], Operations: ['37-25=12', '12-7=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,28 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,28 unequal: No Solution Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[90, 19], Operations: ['37-25=12', '7+12=19'] Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,28 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,28 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 41, 72, 20, 67 ]
16
[ "72-41=31", "67-20=47", "47-31=16" ]
Current State: 16:[41, 72, 20, 67], Operations: [] Exploring Operation: 72-41=31, Resulting Numbers: [20, 67, 31] Generated Node #2: [20, 67, 31] from Operation: 72-41=31 Current State: 16:[20, 67, 31], Operations: ['72-41=31'] Exploring Operation: 67-20=47, Resulting Numbers: [31, 47] Generated Node #3: [31, 47] from Operation: 67-20=47 Current State: 16:[31, 47], Operations: ['72-41=31', '67-20=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[41, 72, 20, 67], Operations: [] Exploring Operation: 72-41=31, Resulting Numbers: [20, 67, 31] Generated Node #0,0: 16:[20, 67, 31] Operation: 72-41=31 Exploring Operation: 41-20=21, Resulting Numbers: [72, 67, 21] Generated Node #0,1: 16:[72, 67, 21] Operation: 41-20=21 Exploring Operation: 72-67=5, Resulting Numbers: [41, 20, 5] Generated Node #0,2: 16:[41, 20, 5] Operation: 72-67=5 Exploring Operation: 67-41=26, Resulting Numbers: [72, 20, 26] Generated Node #0,3: 16:[72, 20, 26] Operation: 67-41=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[41, 20, 5], Operations: ['72-67=5'] Exploring Operation: 41-20=21, Resulting Numbers: [5, 21] Generated Node #0,2,0: 16:[5, 21] Operation: 41-20=21 Exploring Operation: 41-5=36, Resulting Numbers: [20, 36] Generated Node #0,2,1: 16:[20, 36] Operation: 41-5=36 Exploring Operation: 20/5=4, Resulting Numbers: [41, 4] Generated Node #0,2,2: 16:[41, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [41, 15] Generated Node #0,2,3: 16:[41, 15] Operation: 20-5=15 Moving to Node #0,2,0 Current State: 16:[5, 21], Operations: ['72-67=5', '41-20=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[41, 72, 20, 67], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [41, 20, 5] Generated Node #0,2: 16:[41, 20, 5] Operation: 72-67=5 Moving to Node #0,2 Current State: 16:[41, 20, 5], Operations: ['72-67=5'] Exploring Operation: 41-20=21, Resulting Numbers: [5, 21] Generated Node #0,2,0: 16:[5, 21] Operation: 41-20=21 Moving to Node #0,2,0 Current State: 16:[5, 21], Operations: ['72-67=5', '41-20=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 88, 44, 22, 20 ]
42
[ "88-44=44", "22-20=2", "44-2=42" ]
Current State: 42:[88, 44, 22, 20], Operations: [] Exploring Operation: 88-44=44, Resulting Numbers: [22, 20, 44] Generated Node #2: [22, 20, 44] from Operation: 88-44=44 Current State: 42:[22, 20, 44], Operations: ['88-44=44'] Exploring Operation: 22-20=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 22-20=2 Current State: 42:[44, 2], Operations: ['88-44=44', '22-20=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[88, 44, 22, 20], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [44, 20, 4] Generated Node #0,0: 42:[44, 20, 4] Operation: 88/22=4 Exploring Operation: 88-44=44, Resulting Numbers: [22, 20, 44] Generated Node #0,1: 42:[22, 20, 44] Operation: 88-44=44 Exploring Operation: 88/44=2, Resulting Numbers: [22, 20, 2] Generated Node #0,2: 42:[22, 20, 2] Operation: 88/44=2 Exploring Operation: 88-20=68, Resulting Numbers: [44, 22, 68] Generated Node #0,3: 42:[44, 22, 68] Operation: 88-20=68 Exploring Operation: 88-22=66, Resulting Numbers: [44, 20, 66] Generated Node #0,4: 42:[44, 20, 66] Operation: 88-22=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[22, 20, 2], Operations: ['88/44=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22, 22] Generated Node #0,2,0: 42:[22, 22] Operation: 20+2=22 Exploring Operation: 22+20=42, Resulting Numbers: [2, 42] Generated Node #0,2,1: 42:[2, 42] Operation: 22+20=42 Exploring Operation: 22-2=20, Resulting Numbers: [20, 20] Generated Node #0,2,2: 42:[20, 20] Operation: 22-2=20 Exploring Operation: 22-20=2, Resulting Numbers: [2, 2] Generated Node #0,2,3: 42:[2, 2] Operation: 22-20=2 Exploring Operation: 22*2=44, Resulting Numbers: [20, 44] Generated Node #0,2,4: 42:[20, 44] Operation: 22*2=44 Moving to Node #0,2,1 Current State: 42:[2, 42], Operations: ['88/44=2', '22+20=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[2, 2], Operations: ['88/44=2', '22-20=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[22, 22], Operations: ['88/44=2', '20+2=22'] Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,42 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[20, 20], Operations: ['88/44=2', '22-2=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,42 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,42 unequal: No Solution Moving to Node #0,2,4 Current State: 42:[20, 44], Operations: ['88/44=2', '22*2=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[44, 20, 4], Operations: ['88/22=4'] Exploring Operation: 44-20=24, Resulting Numbers: [4, 24] Generated Node #0,0,0: 42:[4, 24] Operation: 44-20=24 Exploring Operation: 20/4=5, Resulting Numbers: [44, 5] Generated Node #0,0,1: 42:[44, 5] Operation: 20/4=5 Exploring Operation: 20-4=16, Resulting Numbers: [44, 16] Generated Node #0,0,2: 42:[44, 16] Operation: 20-4=16 Exploring Operation: 44-4=40, Resulting Numbers: [20, 40] Generated Node #0,0,3: 42:[20, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [20, 11] Generated Node #0,0,4: 42:[20, 11] Operation: 44/4=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[44, 5], Operations: ['88/22=4', '20/4=5'] Exploring Operation: 44*5=220, Resulting Numbers: [220] 220,42 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,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,0,3 Current State: 42:[20, 40], Operations: ['88/22=4', '44-4=40'] Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,42 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,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,0,0 Current State: 42:[4, 24], Operations: ['88/22=4', '44-20=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,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,0,2 Current State: 42:[44, 16], Operations: ['88/22=4', '20-4=16'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,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,0,4 Current State: 42:[20, 11], Operations: ['88/22=4', '44/4=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,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:[22, 20, 44], Operations: ['88-44=44'] Exploring Operation: 44/22=2, Resulting Numbers: [20, 2] Generated Node #0,1,0: 42:[20, 2] Operation: 44/22=2 Exploring Operation: 44-20=24, Resulting Numbers: [22, 24] Generated Node #0,1,1: 42:[22, 24] Operation: 44-20=24 Exploring Operation: 22+20=42, Resulting Numbers: [44, 42] Generated Node #0,1,2: 42:[44, 42] Operation: 22+20=42 Exploring Operation: 22-20=2, Resulting Numbers: [44, 2] Generated Node #0,1,3: 42:[44, 2] Operation: 22-20=2 Exploring Operation: 44-22=22, Resulting Numbers: [20, 22] Generated Node #0,1,4: 42:[20, 22] Operation: 44-22=22 Moving to Node #0,1,0 Current State: 42:[20, 2], Operations: ['88-44=44', '44/22=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[44, 2], Operations: ['88-44=44', '22-20=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[88, 44, 22, 20], Operations: [] Exploring Operation: 88-44=44, Resulting Numbers: [22, 20, 44] Generated Node #0,1: 42:[22, 20, 44] Operation: 88-44=44 Moving to Node #0,1 Current State: 42:[22, 20, 44], Operations: ['88-44=44'] Exploring Operation: 22-20=2, Resulting Numbers: [44, 2] Generated Node #0,1,3: 42:[44, 2] Operation: 22-20=2 Moving to Node #0,1,3 Current State: 42:[44, 2], Operations: ['88-44=44', '22-20=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_5
mult_heuristic
[ 61, 63, 43, 87 ]
42
[ "63-61=2", "87-43=44", "44-2=42" ]
Current State: 42:[61, 63, 43, 87], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [43, 87, 2] Generated Node #2: [43, 87, 2] from Operation: 63-61=2 Current State: 42:[43, 87, 2], Operations: ['63-61=2'] Exploring Operation: 87-43=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 87-43=44 Current State: 42:[2, 44], Operations: ['63-61=2', '87-43=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[61, 63, 43, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [61, 43, 24] Generated Node #0,0: 42:[61, 43, 24] Operation: 87-63=24 Exploring Operation: 87-43=44, Resulting Numbers: [61, 63, 44] Generated Node #0,1: 42:[61, 63, 44] Operation: 87-43=44 Exploring Operation: 87-61=26, Resulting Numbers: [63, 43, 26] Generated Node #0,2: 42:[63, 43, 26] Operation: 87-61=26 Exploring Operation: 63-61=2, Resulting Numbers: [43, 87, 2] Generated Node #0,3: 42:[43, 87, 2] Operation: 63-61=2 Moving to Node #0,0 Current State: 42:[61, 43, 24], Operations: ['87-63=24'] Exploring Operation: 43-24=19, Resulting Numbers: [61, 19] Generated Node #0,0,0: 42:[61, 19] Operation: 43-24=19 Exploring Operation: 61+24=85, Resulting Numbers: [43, 85] Generated Node #0,0,1: 42:[43, 85] Operation: 61+24=85 Exploring Operation: 61-43=18, Resulting Numbers: [24, 18] Generated Node #0,0,2: 42:[24, 18] Operation: 61-43=18 Exploring Operation: 61-24=37, Resulting Numbers: [43, 37] Generated Node #0,0,3: 42:[43, 37] Operation: 61-24=37 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[24, 18], Operations: ['87-63=24', '61-43=18'] Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,42 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[61, 63, 43, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [61, 43, 24] Generated Node #0,0: 42:[61, 43, 24] Operation: 87-63=24 Moving to Node #0,0 Current State: 42:[61, 43, 24], Operations: ['87-63=24'] Exploring Operation: 61-43=18, Resulting Numbers: [24, 18] Generated Node #0,0,2: 42:[24, 18] Operation: 61-43=18 Moving to Node #0,0,2 Current State: 42:[24, 18], Operations: ['87-63=24', '61-43=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 40, 14, 42, 48 ]
17
[ "42-40=2", "48-14=34", "34/2=17" ]
Current State: 17:[40, 14, 42, 48], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [14, 48, 2] Generated Node #2: [14, 48, 2] from Operation: 42-40=2 Current State: 17:[14, 48, 2], Operations: ['42-40=2'] Exploring Operation: 48-14=34, Resulting Numbers: [2, 34] Generated Node #3: [2, 34] from Operation: 48-14=34 Current State: 17:[2, 34], Operations: ['42-40=2', '48-14=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 14, 42, 48], Operations: [] Exploring Operation: 40-14=26, Resulting Numbers: [42, 48, 26] Generated Node #0,0: 17:[42, 48, 26] Operation: 40-14=26 Exploring Operation: 42-14=28, Resulting Numbers: [40, 48, 28] Generated Node #0,1: 17:[40, 48, 28] Operation: 42-14=28 Exploring Operation: 48-40=8, Resulting Numbers: [14, 42, 8] Generated Node #0,2: 17:[14, 42, 8] Operation: 48-40=8 Exploring Operation: 48-42=6, Resulting Numbers: [40, 14, 6] Generated Node #0,3: 17:[40, 14, 6] Operation: 48-42=6 Exploring Operation: 42-40=2, Resulting Numbers: [14, 48, 2] Generated Node #0,4: 17:[14, 48, 2] Operation: 42-40=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[14, 42, 8], Operations: ['48-40=8'] Exploring Operation: 42-8=34, Resulting Numbers: [14, 34] Generated Node #0,2,0: 17:[14, 34] Operation: 42-8=34 Exploring Operation: 42-14=28, Resulting Numbers: [8, 28] Generated Node #0,2,1: 17:[8, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [8, 3] Generated Node #0,2,2: 17:[8, 3] Operation: 42/14=3 Exploring Operation: 14-8=6, Resulting Numbers: [42, 6] Generated Node #0,2,3: 17:[42, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [42, 22] Generated Node #0,2,4: 17:[42, 22] Operation: 14+8=22 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[14, 34], Operations: ['48-40=8', '42-8=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,17 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,17 unequal: No Solution No 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: 17:[8, 28], Operations: ['48-40=8', '42-14=28'] Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,17 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,17 unequal: No Solution No 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: 17:[8, 3], Operations: ['48-40=8', '42/14=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,17 unequal: No Solution No 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: 17:[42, 22], Operations: ['48-40=8', '14+8=22'] Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,17 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,17 unequal: No Solution No 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: 17:[42, 6], Operations: ['48-40=8', '14-8=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,17 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,17 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: 17:[40, 14, 6], Operations: ['48-42=6'] Exploring Operation: 14+6=20, Resulting Numbers: [40, 20] Generated Node #0,3,0: 17:[40, 20] Operation: 14+6=20 Exploring Operation: 40+6=46, Resulting Numbers: [14, 46] Generated Node #0,3,1: 17:[14, 46] Operation: 40+6=46 Exploring Operation: 40-6=34, Resulting Numbers: [14, 34] Generated Node #0,3,2: 17:[14, 34] Operation: 40-6=34 Exploring Operation: 14-6=8, Resulting Numbers: [40, 8] Generated Node #0,3,3: 17:[40, 8] Operation: 14-6=8 Exploring Operation: 40-14=26, Resulting Numbers: [6, 26] Generated Node #0,3,4: 17:[6, 26] Operation: 40-14=26 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[14, 34], Operations: ['48-42=6', '40-6=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,17 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 17:[6, 26], Operations: ['48-42=6', '40-14=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,17 unequal: No Solution No 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: 17:[40, 20], Operations: ['48-42=6', '14+6=20'] Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,17 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[14, 46], Operations: ['48-42=6', '40+6=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,17 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,17 unequal: No Solution No 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: 17:[40, 8], Operations: ['48-42=6', '14-6=8'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,17 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[14, 48, 2], Operations: ['42-40=2'] Exploring Operation: 48-2=46, Resulting Numbers: [14, 46] Generated Node #0,4,0: 17:[14, 46] Operation: 48-2=46 Exploring Operation: 14+2=16, Resulting Numbers: [48, 16] Generated Node #0,4,1: 17:[48, 16] Operation: 14+2=16 Exploring Operation: 48-14=34, Resulting Numbers: [2, 34] Generated Node #0,4,2: 17:[2, 34] Operation: 48-14=34 Exploring Operation: 14-2=12, Resulting Numbers: [48, 12] Generated Node #0,4,3: 17:[48, 12] Operation: 14-2=12 Exploring Operation: 48/2=24, Resulting Numbers: [14, 24] Generated Node #0,4,4: 17:[14, 24] Operation: 48/2=24 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 17:[14, 24], Operations: ['42-40=2', '48/2=24'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,17 unequal: No Solution Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 17:[14, 46], Operations: ['42-40=2', '48-2=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,17 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 17:[48, 16], Operations: ['42-40=2', '14+2=16'] Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,17 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 17:[2, 34], Operations: ['42-40=2', '48-14=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[40, 14, 42, 48], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [14, 48, 2] Generated Node #0,4: 17:[14, 48, 2] Operation: 42-40=2 Moving to Node #0,4 Current State: 17:[14, 48, 2], Operations: ['42-40=2'] Exploring Operation: 48-14=34, Resulting Numbers: [2, 34] Generated Node #0,4,2: 17:[2, 34] Operation: 48-14=34 Moving to Node #0,4,2 Current State: 17:[2, 34], Operations: ['42-40=2', '48-14=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940972
hs_5
sum_heuristic
[ 92, 14, 15, 48 ]
73
[ "92+14=106", "48-15=33", "106-33=73" ]
Current State: 73:[92, 14, 15, 48], Operations: [] Exploring Operation: 92+14=106, Resulting Numbers: [15, 48, 106] Generated Node #2: [15, 48, 106] from Operation: 92+14=106 Current State: 73:[15, 48, 106], Operations: ['92+14=106'] Exploring Operation: 48-15=33, Resulting Numbers: [106, 33] Generated Node #3: [106, 33] from Operation: 48-15=33 Current State: 73:[106, 33], Operations: ['92+14=106', '48-15=33'] Exploring Operation: 106-33=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[92, 14, 15, 48], Operations: [] Exploring Operation: 92-14=78, Resulting Numbers: [15, 48, 78] Generated Node #0,0: 73:[15, 48, 78] Operation: 92-14=78 Moving to Node #0,0 Current State: 73:[15, 48, 78], Operations: ['92-14=78'] Exploring Operation: 15+48=63, Resulting Numbers: [78, 63] Generated Node #0,0,0: 73:[78, 63] Operation: 15+48=63 Moving to Node #0,0,0 Current State: 73:[78, 63], Operations: ['92-14=78', '15+48=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,73 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 21, 27, 93, 58 ]
83
[ "21+27=48", "93-58=35", "48+35=83" ]
Current State: 83:[21, 27, 93, 58], Operations: [] Exploring Operation: 21+27=48, Resulting Numbers: [93, 58, 48] Generated Node #2: [93, 58, 48] from Operation: 21+27=48 Current State: 83:[93, 58, 48], Operations: ['21+27=48'] Exploring Operation: 93-58=35, Resulting Numbers: [48, 35] Generated Node #3: [48, 35] from Operation: 93-58=35 Current State: 83:[48, 35], Operations: ['21+27=48', '93-58=35'] Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[21, 27, 93, 58], Operations: [] Exploring Operation: 21+58=79, Resulting Numbers: [27, 93, 79] Generated Node #0,0: 83:[27, 93, 79] Operation: 21+58=79 Exploring Operation: 21+27=48, Resulting Numbers: [93, 58, 48] Generated Node #0,1: 83:[93, 58, 48] Operation: 21+27=48 Exploring Operation: 27+58=85, Resulting Numbers: [21, 93, 85] Generated Node #0,2: 83:[21, 93, 85] Operation: 27+58=85 Moving to Node #0,0 Current State: 83:[27, 93, 79], Operations: ['21+58=79'] Exploring Operation: 27+93=120, Resulting Numbers: [79, 120] Generated Node #0,0,0: 83:[79, 120] Operation: 27+93=120 Exploring Operation: 93-27=66, Resulting Numbers: [79, 66] Generated Node #0,0,1: 83:[79, 66] Operation: 93-27=66 Exploring Operation: 27+79=106, Resulting Numbers: [93, 106] Generated Node #0,0,2: 83:[93, 106] Operation: 27+79=106 Moving to Node #0,1 Current State: 83:[93, 58, 48], Operations: ['21+27=48'] Exploring Operation: 93-58=35, Resulting Numbers: [48, 35] Generated Node #0,1,0: 83:[48, 35] Operation: 93-58=35 Exploring Operation: 93-48=45, Resulting Numbers: [58, 45] Generated Node #0,1,1: 83:[58, 45] Operation: 93-48=45 Exploring Operation: 58+48=106, Resulting Numbers: [93, 106] Generated Node #0,1,2: 83:[93, 106] Operation: 58+48=106 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[93, 106], Operations: ['21+27=48', '58+48=106'] Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,83 unequal: No Solution Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[58, 45], Operations: ['21+27=48', '93-48=45'] Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,83 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[48, 35], Operations: ['21+27=48', '93-58=35'] Exploring Operation: 48*35=1680, Resulting Numbers: [1680] 1680,83 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[21, 27, 93, 58], Operations: [] Exploring Operation: 21+27=48, Resulting Numbers: [93, 58, 48] Generated Node #0,1: 83:[93, 58, 48] Operation: 21+27=48 Moving to Node #0,1 Current State: 83:[93, 58, 48], Operations: ['21+27=48'] Exploring Operation: 93-58=35, Resulting Numbers: [48, 35] Generated Node #0,1,0: 83:[48, 35] Operation: 93-58=35 Moving to Node #0,1,0 Current State: 83:[48, 35], Operations: ['21+27=48', '93-58=35'] Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
mult_heuristic
[ 2, 93, 61, 50 ]
66
[ "93-61=32", "32/2=16", "50+16=66" ]
Current State: 66:[2, 93, 61, 50], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [2, 50, 32] Generated Node #2: [2, 50, 32] from Operation: 93-61=32 Current State: 66:[2, 50, 32], Operations: ['93-61=32'] Exploring Operation: 32/2=16, Resulting Numbers: [50, 16] Generated Node #3: [50, 16] from Operation: 32/2=16 Current State: 66:[50, 16], Operations: ['93-61=32', '32/2=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[2, 93, 61, 50], Operations: [] Exploring Operation: 93-2=91, Resulting Numbers: [61, 50, 91] Generated Node #0,0: 66:[61, 50, 91] Operation: 93-2=91 Exploring Operation: 93-61=32, Resulting Numbers: [2, 50, 32] Generated Node #0,1: 66:[2, 50, 32] Operation: 93-61=32 Exploring Operation: 61-50=11, Resulting Numbers: [2, 93, 11] Generated Node #0,2: 66:[2, 93, 11] Operation: 61-50=11 Exploring Operation: 50/2=25, Resulting Numbers: [93, 61, 25] Generated Node #0,3: 66:[93, 61, 25] Operation: 50/2=25 Exploring Operation: 93-50=43, Resulting Numbers: [2, 61, 43] Generated Node #0,4: 66:[2, 61, 43] Operation: 93-50=43 Start Sub Search at level 1: Moving to Node #0,4 Current State: 66:[2, 61, 43], Operations: ['93-50=43'] Exploring Operation: 61-2=59, Resulting Numbers: [43, 59] Generated Node #0,4,0: 66:[43, 59] Operation: 61-2=59 Exploring Operation: 61-43=18, Resulting Numbers: [2, 18] Generated Node #0,4,1: 66:[2, 18] Operation: 61-43=18 Exploring Operation: 43-2=41, Resulting Numbers: [61, 41] Generated Node #0,4,2: 66:[61, 41] Operation: 43-2=41 Exploring Operation: 2+43=45, Resulting Numbers: [61, 45] Generated Node #0,4,3: 66:[61, 45] Operation: 2+43=45 Exploring Operation: 2+61=63, Resulting Numbers: [43, 63] Generated Node #0,4,4: 66:[43, 63] Operation: 2+61=63 Moving to Node #0,4,1 Current State: 66:[2, 18], Operations: ['93-50=43', '61-43=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,66 unequal: No Solution Moving to Node #0,4,4 Current State: 66:[43, 63], Operations: ['93-50=43', '2+61=63'] Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[61, 41], Operations: ['93-50=43', '43-2=41'] Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 61+41=102, Resulting Numbers: [102] 102,66 unequal: No Solution Exploring Operation: 61*41=2501, Resulting Numbers: [2501] 2501,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[43, 59], Operations: ['93-50=43', '61-2=59'] Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,66 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[61, 45], Operations: ['93-50=43', '2+43=45'] Exploring Operation: 61+45=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 61*45=2745, Resulting Numbers: [2745] 2745,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[2, 50, 32], Operations: ['93-61=32'] Exploring Operation: 50+32=82, Resulting Numbers: [2, 82] Generated Node #0,1,0: 66:[2, 82] Operation: 50+32=82 Exploring Operation: 50-2=48, Resulting Numbers: [32, 48] Generated Node #0,1,1: 66:[32, 48] Operation: 50-2=48 Exploring Operation: 2+50=52, Resulting Numbers: [32, 52] Generated Node #0,1,2: 66:[32, 52] Operation: 2+50=52 Exploring Operation: 50-32=18, Resulting Numbers: [2, 18] Generated Node #0,1,3: 66:[2, 18] Operation: 50-32=18 Exploring Operation: 50/2=25, Resulting Numbers: [32, 25] Generated Node #0,1,4: 66:[32, 25] Operation: 50/2=25 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 66:[2, 18], Operations: ['93-61=32', '50-32=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 66:[32, 25], Operations: ['93-61=32', '50/2=25'] Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,66 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,66 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,66 unequal: No Solution No 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: 66:[32, 52], Operations: ['93-61=32', '2+50=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,66 unequal: No Solution No 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: 66:[2, 82], Operations: ['93-61=32', '50+32=82'] Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,66 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,66 unequal: No Solution No 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: 66:[32, 48], Operations: ['93-61=32', '50-2=48'] Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,66 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,66 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: 66:[2, 93, 11], Operations: ['61-50=11'] Exploring Operation: 2+11=13, Resulting Numbers: [93, 13] Generated Node #0,2,0: 66:[93, 13] Operation: 2+11=13 Exploring Operation: 93-2=91, Resulting Numbers: [11, 91] Generated Node #0,2,1: 66:[11, 91] Operation: 93-2=91 Exploring Operation: 2*11=22, Resulting Numbers: [93, 22] Generated Node #0,2,2: 66:[93, 22] Operation: 2*11=22 Exploring Operation: 93-11=82, Resulting Numbers: [2, 82] Generated Node #0,2,3: 66:[2, 82] Operation: 93-11=82 Exploring Operation: 2+93=95, Resulting Numbers: [11, 95] Generated Node #0,2,4: 66:[11, 95] Operation: 2+93=95 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 66:[2, 82], Operations: ['61-50=11', '93-11=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,66 unequal: No Solution No 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: 66:[11, 91], Operations: ['61-50=11', '93-2=91'] Exploring Operation: 11+91=102, Resulting Numbers: [102] 102,66 unequal: No Solution Exploring Operation: 11*91=1001, Resulting Numbers: [1001] 1001,66 unequal: No Solution Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,66 unequal: No Solution No 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: 66:[93, 22], Operations: ['61-50=11', '2*11=22'] Exploring Operation: 93*22=2046, Resulting Numbers: [2046] 2046,66 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 93+22=115, Resulting Numbers: [115] 115,66 unequal: No Solution No 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: 66:[93, 13], Operations: ['61-50=11', '2+11=13'] Exploring Operation: 93*13=1209, Resulting Numbers: [1209] 1209,66 unequal: No Solution Exploring Operation: 93+13=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,66 unequal: No Solution No 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: 66:[11, 95], Operations: ['61-50=11', '2+93=95'] Exploring Operation: 11*95=1045, Resulting Numbers: [1045] 1045,66 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 11+95=106, Resulting Numbers: [106] 106,66 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: 66:[93, 61, 25], Operations: ['50/2=25'] Exploring Operation: 61+25=86, Resulting Numbers: [93, 86] Generated Node #0,3,0: 66:[93, 86] Operation: 61+25=86 Exploring Operation: 93-25=68, Resulting Numbers: [61, 68] Generated Node #0,3,1: 66:[61, 68] Operation: 93-25=68 Exploring Operation: 93-61=32, Resulting Numbers: [25, 32] Generated Node #0,3,2: 66:[25, 32] Operation: 93-61=32 Exploring Operation: 61-25=36, Resulting Numbers: [93, 36] Generated Node #0,3,3: 66:[93, 36] Operation: 61-25=36 Exploring Operation: 93+25=118, Resulting Numbers: [61, 118] Generated Node #0,3,4: 66:[61, 118] Operation: 93+25=118 Moving to Node #0,3,2 Current State: 66:[25, 32], Operations: ['50/2=25', '93-61=32'] Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,66 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[61, 68], Operations: ['50/2=25', '93-25=68'] Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,66 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[93, 36], Operations: ['50/2=25', '61-25=36'] Exploring Operation: 93+36=129, Resulting Numbers: [129] 129,66 unequal: No Solution Exploring Operation: 93*36=3348, Resulting Numbers: [3348] 3348,66 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[93, 86], Operations: ['50/2=25', '61+25=86'] Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 93*86=7998, Resulting Numbers: [7998] 7998,66 unequal: No Solution Exploring Operation: 93+86=179, Resulting Numbers: [179] 179,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[61, 118], Operations: ['50/2=25', '93+25=118'] Exploring Operation: 118-61=57, Resulting Numbers: [57] 57,66 unequal: No Solution Exploring Operation: 61+118=179, Resulting Numbers: [179] 179,66 unequal: No Solution Exploring Operation: 61*118=7198, Resulting Numbers: [7198] 7198,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[61, 50, 91], Operations: ['93-2=91'] Exploring Operation: 91-50=41, Resulting Numbers: [61, 41] Generated Node #0,0,0: 66:[61, 41] Operation: 91-50=41 Exploring Operation: 91-61=30, Resulting Numbers: [50, 30] Generated Node #0,0,1: 66:[50, 30] Operation: 91-61=30 Exploring Operation: 61-50=11, Resulting Numbers: [91, 11] Generated Node #0,0,2: 66:[91, 11] Operation: 61-50=11 Exploring Operation: 61+50=111, Resulting Numbers: [91, 111] Generated Node #0,0,3: 66:[91, 111] Operation: 61+50=111 Exploring Operation: 50+91=141, Resulting Numbers: [61, 141] Generated Node #0,0,4: 66:[61, 141] Operation: 50+91=141 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[61, 41], Operations: ['93-2=91', '91-50=41'] Exploring Operation: 61+41=102, Resulting Numbers: [102] 102,66 unequal: No Solution Exploring Operation: 61*41=2501, Resulting Numbers: [2501] 2501,66 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,66 unequal: No Solution No 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: 66:[50, 30], Operations: ['93-2=91', '91-61=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,66 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,66 unequal: No Solution No 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: 66:[91, 11], Operations: ['93-2=91', '61-50=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 91*11=1001, Resulting Numbers: [1001] 1001,66 unequal: No Solution Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,66 unequal: No Solution No 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: 66:[91, 111], Operations: ['93-2=91', '61+50=111'] Exploring Operation: 91+111=202, Resulting Numbers: [202] 202,66 unequal: No Solution Exploring Operation: 111-91=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 91*111=10101, Resulting Numbers: [10101] 10101,66 unequal: No Solution No 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: 66:[61, 141], Operations: ['93-2=91', '50+91=141'] Exploring Operation: 61*141=8601, Resulting Numbers: [8601] 8601,66 unequal: No Solution Exploring Operation: 61+141=202, Resulting Numbers: [202] 202,66 unequal: No Solution Exploring Operation: 141-61=80, Resulting Numbers: [80] 80,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 25, 29, 28, 34 ]
58
[ "29-25=4", "28+34=62", "62-4=58" ]
Current State: 58:[25, 29, 28, 34], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [28, 34, 4] Generated Node #2: [28, 34, 4] from Operation: 29-25=4 Current State: 58:[28, 34, 4], Operations: ['29-25=4'] Exploring Operation: 28+34=62, Resulting Numbers: [4, 62] Generated Node #3: [4, 62] from Operation: 28+34=62 Current State: 58:[4, 62], Operations: ['29-25=4', '28+34=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[25, 29, 28, 34], Operations: [] Exploring Operation: 25+34=59, Resulting Numbers: [29, 28, 59] Generated Node #0,0: 58:[29, 28, 59] Operation: 25+34=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[29, 28, 59], Operations: ['25+34=59'] Exploring Operation: 29+28=57, Resulting Numbers: [59, 57] Generated Node #0,0,0: 58:[59, 57] Operation: 29+28=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[59, 57], Operations: ['25+34=59', '29+28=57'] Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 33, 52, 26, 23 ]
89
[ "33*52=1716", "1716/26=66", "23+66=89" ]
Current State: 89:[33, 52, 26, 23], Operations: [] Exploring Operation: 33*52=1716, Resulting Numbers: [26, 23, 1716] Generated Node #2: [26, 23, 1716] from Operation: 33*52=1716 Current State: 89:[26, 23, 1716], Operations: ['33*52=1716'] Exploring Operation: 1716/26=66, Resulting Numbers: [23, 66] Generated Node #3: [23, 66] from Operation: 1716/26=66 Current State: 89:[23, 66], Operations: ['33*52=1716', '1716/26=66'] Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[33, 52, 26, 23], Operations: [] Exploring Operation: 33+52=85, Resulting Numbers: [26, 23, 85] Generated Node #0,0: 89:[26, 23, 85] Operation: 33+52=85 Exploring Operation: 33+26=59, Resulting Numbers: [52, 23, 59] Generated Node #0,1: 89:[52, 23, 59] Operation: 33+26=59 Exploring Operation: 33+23=56, Resulting Numbers: [52, 26, 56] Generated Node #0,2: 89:[52, 26, 56] Operation: 33+23=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[26, 23, 85], Operations: ['33+52=85'] Exploring Operation: 26+85=111, Resulting Numbers: [23, 111] Generated Node #0,0,0: 89:[23, 111] Operation: 26+85=111 Exploring Operation: 26+23=49, Resulting Numbers: [85, 49] Generated Node #0,0,1: 89:[85, 49] Operation: 26+23=49 Exploring Operation: 23+85=108, Resulting Numbers: [26, 108] Generated Node #0,0,2: 89:[26, 108] Operation: 23+85=108 Moving to Node #0,0,1 Current State: 89:[85, 49], Operations: ['33+52=85', '26+23=49'] Exploring Operation: 85*49=4165, Resulting Numbers: [4165] 4165,89 unequal: No Solution Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,89 unequal: No Solution Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[26, 108], Operations: ['33+52=85', '23+85=108'] Exploring Operation: 26+108=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 108-26=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 26*108=2808, Resulting Numbers: [2808] 2808,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[23, 111], Operations: ['33+52=85', '26+85=111'] Exploring Operation: 23+111=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 111-23=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 23*111=2553, Resulting Numbers: [2553] 2553,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[52, 23, 59], Operations: ['33+26=59'] Exploring Operation: 52+59=111, Resulting Numbers: [23, 111] Generated Node #0,1,0: 89:[23, 111] Operation: 52+59=111 Exploring Operation: 52+23=75, Resulting Numbers: [59, 75] Generated Node #0,1,1: 89:[59, 75] Operation: 52+23=75 Exploring Operation: 23+59=82, Resulting Numbers: [52, 82] Generated Node #0,1,2: 89:[52, 82] Operation: 23+59=82 Moving to Node #0,1,1 Current State: 89:[59, 75], Operations: ['33+26=59', '52+23=75'] Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,89 unequal: No Solution Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[52, 82], Operations: ['33+26=59', '23+59=82'] Exploring Operation: 52*82=4264, Resulting Numbers: [4264] 4264,89 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 52+82=134, Resulting Numbers: [134] 134,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[23, 111], Operations: ['33+26=59', '52+59=111'] Exploring Operation: 23*111=2553, Resulting Numbers: [2553] 2553,89 unequal: No Solution Exploring Operation: 111-23=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 23+111=134, Resulting Numbers: [134] 134,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[52, 26, 56], Operations: ['33+23=56'] Exploring Operation: 52+56=108, Resulting Numbers: [26, 108] Generated Node #0,2,0: 89:[26, 108] Operation: 52+56=108 Exploring Operation: 26+56=82, Resulting Numbers: [52, 82] Generated Node #0,2,1: 89:[52, 82] Operation: 26+56=82 Exploring Operation: 52+26=78, Resulting Numbers: [56, 78] Generated Node #0,2,2: 89:[56, 78] Operation: 52+26=78 Moving to Node #0,2,1 Current State: 89:[52, 82], Operations: ['33+23=56', '26+56=82'] Exploring Operation: 52*82=4264, Resulting Numbers: [4264] 4264,89 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 52+82=134, Resulting Numbers: [134] 134,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[56, 78], Operations: ['33+23=56', '52+26=78'] Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 56+78=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 56*78=4368, Resulting Numbers: [4368] 4368,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[26, 108], Operations: ['33+23=56', '52+56=108'] Exploring Operation: 108-26=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 26*108=2808, Resulting Numbers: [2808] 2808,89 unequal: No Solution Exploring Operation: 26+108=134, Resulting Numbers: [134] 134,89 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
[ 59, 40, 42, 41 ]
23
[ "42-40=2", "41*2=82", "82-59=23" ]
Current State: 23:[59, 40, 42, 41], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [59, 41, 2] Generated Node #2: [59, 41, 2] from Operation: 42-40=2 Current State: 23:[59, 41, 2], Operations: ['42-40=2'] Exploring Operation: 41*2=82, Resulting Numbers: [59, 82] Generated Node #3: [59, 82] from Operation: 41*2=82 Current State: 23:[59, 82], Operations: ['42-40=2', '41*2=82'] Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[59, 40, 42, 41], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [42, 41, 19] Generated Node #0,0: 23:[42, 41, 19] Operation: 59-40=19 Exploring Operation: 59-42=17, Resulting Numbers: [40, 41, 17] Generated Node #0,1: 23:[40, 41, 17] Operation: 59-42=17 Exploring Operation: 42-40=2, Resulting Numbers: [59, 41, 2] Generated Node #0,2: 23:[59, 41, 2] Operation: 42-40=2 Exploring Operation: 59-41=18, Resulting Numbers: [40, 42, 18] Generated Node #0,3: 23:[40, 42, 18] Operation: 59-41=18 Exploring Operation: 42-41=1, Resulting Numbers: [59, 40, 1] Generated Node #0,4: 23:[59, 40, 1] Operation: 42-41=1 Moving to Node #0,0 Current State: 23:[42, 41, 19], Operations: ['59-40=19'] Exploring Operation: 41-19=22, Resulting Numbers: [42, 22] Generated Node #0,0,0: 23:[42, 22] Operation: 41-19=22 Exploring Operation: 42+19=61, Resulting Numbers: [41, 61] Generated Node #0,0,1: 23:[41, 61] Operation: 42+19=61 Exploring Operation: 42-41=1, Resulting Numbers: [19, 1] Generated Node #0,0,2: 23:[19, 1] Operation: 42-41=1 Exploring Operation: 41+19=60, Resulting Numbers: [42, 60] Generated Node #0,0,3: 23:[42, 60] Operation: 41+19=60 Exploring Operation: 42-19=23, Resulting Numbers: [41, 23] Generated Node #0,0,4: 23:[41, 23] Operation: 42-19=23 Moving to Node #0,3 Current State: 23:[40, 42, 18], Operations: ['59-41=18'] Exploring Operation: 42-18=24, Resulting Numbers: [40, 24] Generated Node #0,3,0: 23:[40, 24] Operation: 42-18=24 Exploring Operation: 42-40=2, Resulting Numbers: [18, 2] Generated Node #0,3,1: 23:[18, 2] Operation: 42-40=2 Exploring Operation: 42+18=60, Resulting Numbers: [40, 60] Generated Node #0,3,2: 23:[40, 60] Operation: 42+18=60 Exploring Operation: 40+18=58, Resulting Numbers: [42, 58] Generated Node #0,3,3: 23:[42, 58] Operation: 40+18=58 Exploring Operation: 40-18=22, Resulting Numbers: [42, 22] Generated Node #0,3,4: 23:[42, 22] Operation: 40-18=22 Moving to Node #0,1 Current State: 23:[40, 41, 17], Operations: ['59-42=17'] Exploring Operation: 40-17=23, Resulting Numbers: [41, 23] Generated Node #0,1,0: 23:[41, 23] Operation: 40-17=23 Exploring Operation: 41+17=58, Resulting Numbers: [40, 58] Generated Node #0,1,1: 23:[40, 58] Operation: 41+17=58 Exploring Operation: 41-40=1, Resulting Numbers: [17, 1] Generated Node #0,1,2: 23:[17, 1] Operation: 41-40=1 Exploring Operation: 40+17=57, Resulting Numbers: [41, 57] Generated Node #0,1,3: 23:[41, 57] Operation: 40+17=57 Exploring Operation: 41-17=24, Resulting Numbers: [40, 24] Generated Node #0,1,4: 23:[40, 24] Operation: 41-17=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[41, 23], Operations: ['59-42=17', '40-17=23'] Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,23 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 23:[40, 24], Operations: ['59-42=17', '41-17=24'] Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[17, 1], Operations: ['59-42=17', '41-40=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[40, 58], Operations: ['59-42=17', '41+17=58'] Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,23 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[41, 57], Operations: ['59-42=17', '40+17=57'] Exploring Operation: 41*57=2337, Resulting Numbers: [2337] 2337,23 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,23 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: 23:[59, 41, 2], Operations: ['42-40=2'] Exploring Operation: 41-2=39, Resulting Numbers: [59, 39] Generated Node #0,2,0: 23:[59, 39] Operation: 41-2=39 Exploring Operation: 59+2=61, Resulting Numbers: [41, 61] Generated Node #0,2,1: 23:[41, 61] Operation: 59+2=61 Exploring Operation: 41+2=43, Resulting Numbers: [59, 43] Generated Node #0,2,2: 23:[59, 43] Operation: 41+2=43 Exploring Operation: 59-41=18, Resulting Numbers: [2, 18] Generated Node #0,2,3: 23:[2, 18] Operation: 59-41=18 Exploring Operation: 59-2=57, Resulting Numbers: [41, 57] Generated Node #0,2,4: 23:[41, 57] Operation: 59-2=57 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[2, 18], Operations: ['42-40=2', '59-41=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[59, 39], Operations: ['42-40=2', '41-2=39'] Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,23 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,23 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 23:[41, 57], Operations: ['42-40=2', '59-2=57'] Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,23 unequal: No Solution Exploring Operation: 41*57=2337, Resulting Numbers: [2337] 2337,23 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[41, 61], Operations: ['42-40=2', '59+2=61'] Exploring Operation: 41*61=2501, Resulting Numbers: [2501] 2501,23 unequal: No Solution Exploring Operation: 41+61=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[59, 43], Operations: ['42-40=2', '41+2=43'] Exploring Operation: 59+43=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 59*43=2537, Resulting Numbers: [2537] 2537,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 23:[59, 40, 1], Operations: ['42-41=1'] Exploring Operation: 59*1=59, Resulting Numbers: [40, 59] Generated Node #0,4,0: 23:[40, 59] Operation: 59*1=59 Exploring Operation: 59-1=58, Resulting Numbers: [40, 58] Generated Node #0,4,1: 23:[40, 58] Operation: 59-1=58 Exploring Operation: 59-40=19, Resulting Numbers: [1, 19] Generated Node #0,4,2: 23:[1, 19] Operation: 59-40=19 Exploring Operation: 59/1=59, Resulting Numbers: [40, 59] Generated Node #0,4,3: 23:[40, 59] Operation: 59/1=59 Exploring Operation: 40-1=39, Resulting Numbers: [59, 39] Generated Node #0,4,4: 23:[59, 39] Operation: 40-1=39 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 23:[1, 19], Operations: ['42-41=1', '59-40=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 23:[40, 58], Operations: ['42-41=1', '59-1=58'] Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,23 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,23 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 23:[59, 39], Operations: ['42-41=1', '40-1=39'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,23 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 23:[40, 59], Operations: ['42-41=1', '59*1=59'] Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,23 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 23:[40, 59], Operations: ['42-41=1', '59/1=59'] Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,23 unequal: No Solution Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,23 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 23:[41, 23], Operations: ['59-40=19', '42-19=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,23 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[40, 24], Operations: ['59-41=18', '42-18=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,23 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[42, 22], Operations: ['59-41=18', '40-18=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,23 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[42, 22], Operations: ['59-40=19', '41-19=22'] Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[19, 1], Operations: ['59-40=19', '42-41=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[18, 2], Operations: ['59-41=18', '42-40=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[40, 60], Operations: ['59-41=18', '42+18=60'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,23 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[42, 58], Operations: ['59-41=18', '40+18=58'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,23 unequal: No Solution Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[41, 61], Operations: ['59-40=19', '42+19=61'] Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 41+61=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 41*61=2501, Resulting Numbers: [2501] 2501,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[42, 60], Operations: ['59-40=19', '41+19=60'] Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,23 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,23 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 1, 77, 38, 23 ]
46
[ "77-1=76", "76/38=2", "23*2=46" ]
Current State: 46:[1, 77, 38, 23], Operations: [] Exploring Operation: 77-1=76, Resulting Numbers: [38, 23, 76] Generated Node #2: [38, 23, 76] from Operation: 77-1=76 Current State: 46:[38, 23, 76], Operations: ['77-1=76'] Exploring Operation: 76/38=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 76/38=2 Current State: 46:[23, 2], Operations: ['77-1=76', '76/38=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[1, 77, 38, 23], Operations: [] Exploring Operation: 77-38=39, Resulting Numbers: [1, 23, 39] Generated Node #0,0: 46:[1, 23, 39] Operation: 77-38=39 Exploring Operation: 77-1=76, Resulting Numbers: [38, 23, 76] Generated Node #0,1: 46:[38, 23, 76] Operation: 77-1=76 Exploring Operation: 1+38=39, Resulting Numbers: [77, 23, 39] Generated Node #0,2: 46:[77, 23, 39] Operation: 1+38=39 Exploring Operation: 77-23=54, Resulting Numbers: [1, 38, 54] Generated Node #0,3: 46:[1, 38, 54] Operation: 77-23=54 Moving to Node #0,0 Current State: 46:[1, 23, 39], Operations: ['77-38=39'] Exploring Operation: 1*39=39, Resulting Numbers: [23, 39] Generated Node #0,0,0: 46:[23, 39] Operation: 1*39=39 Exploring Operation: 1+39=40, Resulting Numbers: [23, 40] Generated Node #0,0,1: 46:[23, 40] Operation: 1+39=40 Exploring Operation: 1*23=23, Resulting Numbers: [39, 23] Generated Node #0,0,2: 46:[39, 23] Operation: 1*23=23 Exploring Operation: 23/1=23, Resulting Numbers: [39, 23] Generated Node #0,0,3: 46:[39, 23] Operation: 23/1=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[23, 40], Operations: ['77-38=39', '1+39=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[23, 39], Operations: ['77-38=39', '1*39=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[39, 23], Operations: ['77-38=39', '1*23=23'] Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,46 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[39, 23], Operations: ['77-38=39', '23/1=23'] Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,46 unequal: No Solution Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 46:[1, 38, 54], Operations: ['77-23=54'] Exploring Operation: 1+38=39, Resulting Numbers: [54, 39] Generated Node #0,3,0: 46:[54, 39] Operation: 1+38=39 Exploring Operation: 1*38=38, Resulting Numbers: [54, 38] Generated Node #0,3,1: 46:[54, 38] Operation: 1*38=38 Exploring Operation: 54-38=16, Resulting Numbers: [1, 16] Generated Node #0,3,2: 46:[1, 16] Operation: 54-38=16 Exploring Operation: 54-1=53, Resulting Numbers: [38, 53] Generated Node #0,3,3: 46:[38, 53] Operation: 54-1=53 Moving to Node #0,2 Current State: 46:[77, 23, 39], Operations: ['1+38=39'] Exploring Operation: 39-23=16, Resulting Numbers: [77, 16] Generated Node #0,2,0: 46:[77, 16] Operation: 39-23=16 Exploring Operation: 77-23=54, Resulting Numbers: [39, 54] Generated Node #0,2,1: 46:[39, 54] Operation: 77-23=54 Exploring Operation: 23+39=62, Resulting Numbers: [77, 62] Generated Node #0,2,2: 46:[77, 62] Operation: 23+39=62 Exploring Operation: 77-39=38, Resulting Numbers: [23, 38] Generated Node #0,2,3: 46:[23, 38] Operation: 77-39=38 Moving to Node #0,1 Current State: 46:[38, 23, 76], Operations: ['77-1=76'] Exploring Operation: 76-38=38, Resulting Numbers: [23, 38] Generated Node #0,1,0: 46:[23, 38] Operation: 76-38=38 Exploring Operation: 76-23=53, Resulting Numbers: [38, 53] Generated Node #0,1,1: 46:[38, 53] Operation: 76-23=53 Exploring Operation: 38-23=15, Resulting Numbers: [76, 15] Generated Node #0,1,2: 46:[76, 15] Operation: 38-23=15 Exploring Operation: 76/38=2, Resulting Numbers: [23, 2] Generated Node #0,1,3: 46:[23, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[23, 2], Operations: ['77-1=76', '76/38=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[1, 77, 38, 23], Operations: [] Exploring Operation: 77-1=76, Resulting Numbers: [38, 23, 76] Generated Node #0,1: 46:[38, 23, 76] Operation: 77-1=76 Moving to Node #0,1 Current State: 46:[38, 23, 76], Operations: ['77-1=76'] Exploring Operation: 76/38=2, Resulting Numbers: [23, 2] Generated Node #0,1,3: 46:[23, 2] Operation: 76/38=2 Moving to Node #0,1,3 Current State: 46:[23, 2], Operations: ['77-1=76', '76/38=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 46, 74, 51, 21 ]
48
[ "46+74=120", "51+21=72", "120-72=48" ]
Current State: 48:[46, 74, 51, 21], Operations: [] Exploring Operation: 46+74=120, Resulting Numbers: [51, 21, 120] Generated Node #2: [51, 21, 120] from Operation: 46+74=120 Current State: 48:[51, 21, 120], Operations: ['46+74=120'] Exploring Operation: 51+21=72, Resulting Numbers: [120, 72] Generated Node #3: [120, 72] from Operation: 51+21=72 Current State: 48:[120, 72], Operations: ['46+74=120', '51+21=72'] Exploring Operation: 120-72=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[46, 74, 51, 21], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [46, 21, 23] Generated Node #0,0: 48:[46, 21, 23] Operation: 74-51=23 Exploring Operation: 74-46=28, Resulting Numbers: [51, 21, 28] Generated Node #0,1: 48:[51, 21, 28] Operation: 74-46=28 Moving to Node #0,0 Current State: 48:[46, 21, 23], Operations: ['74-51=23'] Exploring Operation: 46-21=25, Resulting Numbers: [23, 25] Generated Node #0,0,0: 48:[23, 25] Operation: 46-21=25 Exploring Operation: 23-21=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 48:[46, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[23, 25], Operations: ['74-51=23', '46-21=25'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[46, 74, 51, 21], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [46, 21, 23] Generated Node #0,0: 48:[46, 21, 23] Operation: 74-51=23 Moving to Node #0,0 Current State: 48:[46, 21, 23], Operations: ['74-51=23'] Exploring Operation: 46-21=25, Resulting Numbers: [23, 25] Generated Node #0,0,0: 48:[23, 25] Operation: 46-21=25 Moving to Node #0,0,0 Current State: 48:[23, 25], Operations: ['74-51=23', '46-21=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 25, 86, 68, 92 ]
87
[ "25+86=111", "92-68=24", "111-24=87" ]
Current State: 87:[25, 86, 68, 92], Operations: [] Exploring Operation: 25+86=111, Resulting Numbers: [68, 92, 111] Generated Node #2: [68, 92, 111] from Operation: 25+86=111 Current State: 87:[68, 92, 111], Operations: ['25+86=111'] Exploring Operation: 92-68=24, Resulting Numbers: [111, 24] Generated Node #3: [111, 24] from Operation: 92-68=24 Current State: 87:[111, 24], Operations: ['25+86=111', '92-68=24'] Exploring Operation: 111-24=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[25, 86, 68, 92], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [25, 86, 24] Generated Node #0,0: 87:[25, 86, 24] Operation: 92-68=24 Exploring Operation: 25+68=93, Resulting Numbers: [86, 92, 93] Generated Node #0,1: 87:[86, 92, 93] Operation: 25+68=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[25, 86, 24], Operations: ['92-68=24'] Exploring Operation: 25+24=49, Resulting Numbers: [86, 49] Generated Node #0,0,0: 87:[86, 49] Operation: 25+24=49 Exploring Operation: 25-24=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 87:[86, 1] Operation: 25-24=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[86, 1], Operations: ['92-68=24', '25-24=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[25, 86, 68, 92], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [25, 86, 24] Generated Node #0,0: 87:[25, 86, 24] Operation: 92-68=24 Moving to Node #0,0 Current State: 87:[25, 86, 24], Operations: ['92-68=24'] Exploring Operation: 25-24=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 87:[86, 1] Operation: 25-24=1 Moving to Node #0,0,1 Current State: 87:[86, 1], Operations: ['92-68=24', '25-24=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 6, 47, 76, 55 ]
38
[ "6+47=53", "55-53=2", "76/2=38" ]
Current State: 38:[6, 47, 76, 55], Operations: [] Exploring Operation: 6+47=53, Resulting Numbers: [76, 55, 53] Generated Node #2: [76, 55, 53] from Operation: 6+47=53 Current State: 38:[76, 55, 53], Operations: ['6+47=53'] Exploring Operation: 55-53=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 55-53=2 Current State: 38:[76, 2], Operations: ['6+47=53', '55-53=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[6, 47, 76, 55], Operations: [] Exploring Operation: 76-55=21, Resulting Numbers: [6, 47, 21] Generated Node #0,0: 38:[6, 47, 21] Operation: 76-55=21 Exploring Operation: 76-47=29, Resulting Numbers: [6, 55, 29] Generated Node #0,1: 38:[6, 55, 29] Operation: 76-47=29 Moving to Node #0,0 Current State: 38:[6, 47, 21], Operations: ['76-55=21'] Exploring Operation: 47-6=41, Resulting Numbers: [21, 41] Generated Node #0,0,0: 38:[21, 41] Operation: 47-6=41 Exploring Operation: 47-21=26, Resulting Numbers: [6, 26] Generated Node #0,0,1: 38:[6, 26] Operation: 47-21=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[21, 41], Operations: ['76-55=21', '47-6=41'] Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 41-21=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,0,1 Current State: 38:[6, 26], Operations: ['76-55=21', '47-21=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 38:[6, 55, 29], Operations: ['76-47=29'] Exploring Operation: 55-6=49, Resulting Numbers: [29, 49] Generated Node #0,1,0: 38:[29, 49] Operation: 55-6=49 Exploring Operation: 55-29=26, Resulting Numbers: [6, 26] Generated Node #0,1,1: 38:[6, 26] Operation: 55-29=26 Moving to Node #0,1,1 Current State: 38:[6, 26], Operations: ['76-47=29', '55-29=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[29, 49], Operations: ['76-47=29', '55-6=49'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,38 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 69, 4, 39, 10 ]
80
[ "69-39=30", "30-10=20", "4*20=80" ]
Current State: 80:[69, 4, 39, 10], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [4, 10, 30] Generated Node #2: [4, 10, 30] from Operation: 69-39=30 Current State: 80:[4, 10, 30], Operations: ['69-39=30'] Exploring Operation: 30-10=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 30-10=20 Current State: 80:[4, 20], Operations: ['69-39=30', '30-10=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[69, 4, 39, 10], Operations: [] Exploring Operation: 10-4=6, Resulting Numbers: [69, 39, 6] Generated Node #0,0: 80:[69, 39, 6] Operation: 10-4=6 Exploring Operation: 4*10=40, Resulting Numbers: [69, 39, 40] Generated Node #0,1: 80:[69, 39, 40] Operation: 4*10=40 Exploring Operation: 69+10=79, Resulting Numbers: [4, 39, 79] Generated Node #0,2: 80:[4, 39, 79] Operation: 69+10=79 Exploring Operation: 69+4=73, Resulting Numbers: [39, 10, 73] Generated Node #0,3: 80:[39, 10, 73] Operation: 69+4=73 Exploring Operation: 69-39=30, Resulting Numbers: [4, 10, 30] Generated Node #0,4: 80:[4, 10, 30] Operation: 69-39=30 Moving to Node #0,2 Current State: 80:[4, 39, 79], Operations: ['69+10=79'] Exploring Operation: 4+39=43, Resulting Numbers: [79, 43] Generated Node #0,2,0: 80:[79, 43] Operation: 4+39=43 Exploring Operation: 79-4=75, Resulting Numbers: [39, 75] Generated Node #0,2,1: 80:[39, 75] Operation: 79-4=75 Exploring Operation: 4+79=83, Resulting Numbers: [39, 83] Generated Node #0,2,2: 80:[39, 83] Operation: 4+79=83 Exploring Operation: 39-4=35, Resulting Numbers: [79, 35] Generated Node #0,2,3: 80:[79, 35] Operation: 39-4=35 Exploring Operation: 79-39=40, Resulting Numbers: [4, 40] Generated Node #0,2,4: 80:[4, 40] Operation: 79-39=40 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 80:[4, 40], Operations: ['69+10=79', '79-39=40'] Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,80 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,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,2,0 Current State: 80:[79, 43], Operations: ['69+10=79', '4+39=43'] Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,80 unequal: No Solution Exploring Operation: 79*43=3397, Resulting Numbers: [3397] 3397,80 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,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,2,2 Current State: 80:[39, 83], Operations: ['69+10=79', '4+79=83'] Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,80 unequal: No Solution Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,80 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,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,2,1 Current State: 80:[39, 75], Operations: ['69+10=79', '79-4=75'] Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 39*75=2925, Resulting Numbers: [2925] 2925,80 unequal: No Solution Exploring Operation: 39+75=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,2,3 Current State: 80:[79, 35], Operations: ['69+10=79', '39-4=35'] Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,80 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,80 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: 80:[39, 10, 73], Operations: ['69+4=73'] Exploring Operation: 73-39=34, Resulting Numbers: [10, 34] Generated Node #0,3,0: 80:[10, 34] Operation: 73-39=34 Exploring Operation: 39-10=29, Resulting Numbers: [73, 29] Generated Node #0,3,1: 80:[73, 29] Operation: 39-10=29 Exploring Operation: 10+73=83, Resulting Numbers: [39, 83] Generated Node #0,3,2: 80:[39, 83] Operation: 10+73=83 Exploring Operation: 39+10=49, Resulting Numbers: [73, 49] Generated Node #0,3,3: 80:[73, 49] Operation: 39+10=49 Exploring Operation: 73-10=63, Resulting Numbers: [39, 63] Generated Node #0,3,4: 80:[39, 63] Operation: 73-10=63 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[39, 83], Operations: ['69+4=73', '10+73=83'] Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,80 unequal: No Solution Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,80 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,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,3,0 Current State: 80:[10, 34], Operations: ['69+4=73', '73-39=34'] Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,80 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,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,3,1 Current State: 80:[73, 29], Operations: ['69+4=73', '39-10=29'] Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,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,3,3 Current State: 80:[73, 49], Operations: ['69+4=73', '39+10=49'] Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,80 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,80 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,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,3,4 Current State: 80:[39, 63], Operations: ['69+4=73', '73-10=63'] Exploring Operation: 39*63=2457, Resulting Numbers: [2457] 2457,80 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,80 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: 80:[4, 10, 30], Operations: ['69-39=30'] Exploring Operation: 30-10=20, Resulting Numbers: [4, 20] Generated Node #0,4,0: 80:[4, 20] Operation: 30-10=20 Exploring Operation: 10+30=40, Resulting Numbers: [4, 40] Generated Node #0,4,1: 80:[4, 40] Operation: 10+30=40 Exploring Operation: 30-4=26, Resulting Numbers: [10, 26] Generated Node #0,4,2: 80:[10, 26] Operation: 30-4=26 Exploring Operation: 30/10=3, Resulting Numbers: [4, 3] Generated Node #0,4,3: 80:[4, 3] Operation: 30/10=3 Exploring Operation: 4+30=34, Resulting Numbers: [10, 34] Generated Node #0,4,4: 80:[10, 34] Operation: 4+30=34 Moving to Node #0,1 Current State: 80:[69, 39, 40], Operations: ['4*10=40'] Exploring Operation: 69-39=30, Resulting Numbers: [40, 30] Generated Node #0,1,0: 80:[40, 30] Operation: 69-39=30 Exploring Operation: 69-40=29, Resulting Numbers: [39, 29] Generated Node #0,1,1: 80:[39, 29] Operation: 69-40=29 Exploring Operation: 40-39=1, Resulting Numbers: [69, 1] Generated Node #0,1,2: 80:[69, 1] Operation: 40-39=1 Exploring Operation: 69+39=108, Resulting Numbers: [40, 108] Generated Node #0,1,3: 80:[40, 108] Operation: 69+39=108 Exploring Operation: 39+40=79, Resulting Numbers: [69, 79] Generated Node #0,1,4: 80:[69, 79] Operation: 39+40=79 Moving to Node #0,0 Current State: 80:[69, 39, 6], Operations: ['10-4=6'] Exploring Operation: 39-6=33, Resulting Numbers: [69, 33] Generated Node #0,0,0: 80:[69, 33] Operation: 39-6=33 Exploring Operation: 69-39=30, Resulting Numbers: [6, 30] Generated Node #0,0,1: 80:[6, 30] Operation: 69-39=30 Exploring Operation: 39+6=45, Resulting Numbers: [69, 45] Generated Node #0,0,2: 80:[69, 45] Operation: 39+6=45 Exploring Operation: 69-6=63, Resulting Numbers: [39, 63] Generated Node #0,0,3: 80:[39, 63] Operation: 69-6=63 Exploring Operation: 69+6=75, Resulting Numbers: [39, 75] Generated Node #0,0,4: 80:[39, 75] Operation: 69+6=75 Moving to Node #0,4,0 Current State: 80:[4, 20], Operations: ['69-39=30', '30-10=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[69, 4, 39, 10], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [4, 10, 30] Generated Node #0,4: 80:[4, 10, 30] Operation: 69-39=30 Moving to Node #0,4 Current State: 80:[4, 10, 30], Operations: ['69-39=30'] Exploring Operation: 30-10=20, Resulting Numbers: [4, 20] Generated Node #0,4,0: 80:[4, 20] Operation: 30-10=20 Moving to Node #0,4,0 Current State: 80:[4, 20], Operations: ['69-39=30', '30-10=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 91, 76, 3, 61 ]
76
[ "91+76=167", "61+167=228", "228/3=76" ]
Current State: 76:[91, 76, 3, 61], Operations: [] Exploring Operation: 91+76=167, Resulting Numbers: [3, 61, 167] Generated Node #2: [3, 61, 167] from Operation: 91+76=167 Current State: 76:[3, 61, 167], Operations: ['91+76=167'] Exploring Operation: 61+167=228, Resulting Numbers: [3, 228] Generated Node #3: [3, 228] from Operation: 61+167=228 Current State: 76:[3, 228], Operations: ['91+76=167', '61+167=228'] Exploring Operation: 228/3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[91, 76, 3, 61], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [76, 3, 30] Generated Node #0,0: 76:[76, 3, 30] Operation: 91-61=30 Exploring Operation: 91-3=88, Resulting Numbers: [76, 61, 88] Generated Node #0,1: 76:[76, 61, 88] Operation: 91-3=88 Exploring Operation: 76-61=15, Resulting Numbers: [91, 3, 15] Generated Node #0,2: 76:[91, 3, 15] Operation: 76-61=15 Exploring Operation: 91-76=15, Resulting Numbers: [3, 61, 15] Generated Node #0,3: 76:[3, 61, 15] Operation: 91-76=15 Moving to Node #0,0 Current State: 76:[76, 3, 30], Operations: ['91-61=30'] Exploring Operation: 3+30=33, Resulting Numbers: [76, 33] Generated Node #0,0,0: 76:[76, 33] Operation: 3+30=33 Exploring Operation: 30/3=10, Resulting Numbers: [76, 10] Generated Node #0,0,1: 76:[76, 10] Operation: 30/3=10 Exploring Operation: 76-30=46, Resulting Numbers: [3, 46] Generated Node #0,0,2: 76:[3, 46] Operation: 76-30=46 Exploring Operation: 30-3=27, Resulting Numbers: [76, 27] Generated Node #0,0,3: 76:[76, 27] Operation: 30-3=27 Moving to Node #0,3 Current State: 76:[3, 61, 15], Operations: ['91-76=15'] Exploring Operation: 3+61=64, Resulting Numbers: [15, 64] Generated Node #0,3,0: 76:[15, 64] Operation: 3+61=64 Exploring Operation: 61+15=76, Resulting Numbers: [3, 76] Generated Node #0,3,1: 76:[3, 76] Operation: 61+15=76 Exploring Operation: 61-15=46, Resulting Numbers: [3, 46] Generated Node #0,3,2: 76:[3, 46] Operation: 61-15=46 Exploring Operation: 3+15=18, Resulting Numbers: [61, 18] Generated Node #0,3,3: 76:[61, 18] Operation: 3+15=18 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[3, 76], Operations: ['91-76=15', '61+15=76'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 3*76=228, Resulting Numbers: [228] 228,76 unequal: No Solution Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,76 unequal: No Solution No 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: 76:[3, 46], Operations: ['91-76=15', '61-15=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,76 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,76 unequal: No Solution No 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: 76:[15, 64], Operations: ['91-76=15', '3+61=64'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,76 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,76 unequal: No Solution No 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: 76:[61, 18], Operations: ['91-76=15', '3+15=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,76 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: 76:[91, 3, 15], Operations: ['76-61=15'] Exploring Operation: 15/3=5, Resulting Numbers: [91, 5] Generated Node #0,2,0: 76:[91, 5] Operation: 15/3=5 Exploring Operation: 3+15=18, Resulting Numbers: [91, 18] Generated Node #0,2,1: 76:[91, 18] Operation: 3+15=18 Exploring Operation: 91-15=76, Resulting Numbers: [3, 76] Generated Node #0,2,2: 76:[3, 76] Operation: 91-15=76 Exploring Operation: 91-3=88, Resulting Numbers: [15, 88] Generated Node #0,2,3: 76:[15, 88] Operation: 91-3=88 Moving to Node #0,1 Current State: 76:[76, 61, 88], Operations: ['91-3=88'] Exploring Operation: 76+61=137, Resulting Numbers: [88, 137] Generated Node #0,1,0: 76:[88, 137] Operation: 76+61=137 Exploring Operation: 88-76=12, Resulting Numbers: [61, 12] Generated Node #0,1,1: 76:[61, 12] Operation: 88-76=12 Exploring Operation: 88-61=27, Resulting Numbers: [76, 27] Generated Node #0,1,2: 76:[76, 27] Operation: 88-61=27 Exploring Operation: 76-61=15, Resulting Numbers: [88, 15] Generated Node #0,1,3: 76:[88, 15] Operation: 76-61=15 Moving to Node #0,2,2 Current State: 76:[3, 76], Operations: ['76-61=15', '91-15=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 3*76=228, Resulting Numbers: [228] 228,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[76, 33], Operations: ['91-61=30', '3+30=33'] Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,76 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[76, 10], Operations: ['91-61=30', '30/3=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,76 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[76, 27], Operations: ['91-61=30', '30-3=27'] Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,76 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[76, 27], Operations: ['91-3=88', '88-61=27'] Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,76 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[3, 46], Operations: ['91-61=30', '76-30=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[91, 18], Operations: ['76-61=15', '3+15=18'] Exploring Operation: 91*18=1638, Resulting Numbers: [1638] 1638,76 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 91+18=109, Resulting Numbers: [109] 109,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[91, 5], Operations: ['76-61=15', '15/3=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[88, 15], Operations: ['91-3=88', '76-61=15'] Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,76 unequal: No Solution Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[15, 88], Operations: ['76-61=15', '91-3=88'] Exploring Operation: 15+88=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 15*88=1320, Resulting Numbers: [1320] 1320,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[61, 12], Operations: ['91-3=88', '88-76=12'] Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,76 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[88, 137], Operations: ['91-3=88', '76+61=137'] Exploring Operation: 137-88=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 88+137=225, Resulting Numbers: [225] 225,76 unequal: No Solution Exploring Operation: 88*137=12056, Resulting Numbers: [12056] 12056,76 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 3, 96, 14, 12 ]
40
[ "12/3=4", "14*4=56", "96-56=40" ]
Current State: 40:[3, 96, 14, 12], Operations: [] Exploring Operation: 12/3=4, Resulting Numbers: [96, 14, 4] Generated Node #2: [96, 14, 4] from Operation: 12/3=4 Current State: 40:[96, 14, 4], Operations: ['12/3=4'] Exploring Operation: 14*4=56, Resulting Numbers: [96, 56] Generated Node #3: [96, 56] from Operation: 14*4=56 Current State: 40:[96, 56], Operations: ['12/3=4', '14*4=56'] Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[3, 96, 14, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [3, 14, 8] Generated Node #0,0: 40:[3, 14, 8] Operation: 96/12=8 Exploring Operation: 96/3=32, Resulting Numbers: [14, 12, 32] Generated Node #0,1: 40:[14, 12, 32] Operation: 96/3=32 Exploring Operation: 96-14=82, Resulting Numbers: [3, 12, 82] Generated Node #0,2: 40:[3, 12, 82] Operation: 96-14=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[3, 14, 8], Operations: ['96/12=8'] Exploring Operation: 14-8=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 40:[3, 6] Operation: 14-8=6 Exploring Operation: 14-3=11, Resulting Numbers: [8, 11] Generated Node #0,0,1: 40:[8, 11] Operation: 14-3=11 Exploring Operation: 3*14=42, Resulting Numbers: [8, 42] Generated Node #0,0,2: 40:[8, 42] Operation: 3*14=42 Moving to Node #0,0,1 Current State: 40:[8, 11], Operations: ['96/12=8', '14-3=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,40 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[3, 6], Operations: ['96/12=8', '14-8=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[8, 42], Operations: ['96/12=8', '3*14=42'] Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,40 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,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:[14, 12, 32], Operations: ['96/3=32'] Exploring Operation: 32-12=20, Resulting Numbers: [14, 20] Generated Node #0,1,0: 40:[14, 20] Operation: 32-12=20 Exploring Operation: 14-12=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 40:[32, 2] Operation: 14-12=2 Exploring Operation: 32-14=18, Resulting Numbers: [12, 18] Generated Node #0,1,2: 40:[12, 18] Operation: 32-14=18 Moving to Node #0,1,0 Current State: 40:[14, 20], Operations: ['96/3=32', '32-12=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,40 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[12, 18], Operations: ['96/3=32', '32-14=18'] Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,40 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[32, 2], Operations: ['96/3=32', '14-12=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,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,2 Current State: 40:[3, 12, 82], Operations: ['96-14=82'] Exploring Operation: 82-12=70, Resulting Numbers: [3, 70] Generated Node #0,2,0: 40:[3, 70] Operation: 82-12=70 Exploring Operation: 12/3=4, Resulting Numbers: [82, 4] Generated Node #0,2,1: 40:[82, 4] Operation: 12/3=4 Exploring Operation: 82-3=79, Resulting Numbers: [12, 79] Generated Node #0,2,2: 40:[12, 79] Operation: 82-3=79 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[3, 70], Operations: ['96-14=82', '82-12=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,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,2,2 Current State: 40:[12, 79], Operations: ['96-14=82', '82-3=79'] Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,40 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,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,2,1 Current State: 40:[82, 4], Operations: ['96-14=82', '12/3=4'] Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,40 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,40 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,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_3
sum_heuristic
[ 90, 49, 2, 69 ]
97
[ "90-49=41", "2*69=138", "138-41=97" ]
Current State: 97:[90, 49, 2, 69], Operations: [] Exploring Operation: 90-49=41, Resulting Numbers: [2, 69, 41] Generated Node #2: [2, 69, 41] from Operation: 90-49=41 Current State: 97:[2, 69, 41], Operations: ['90-49=41'] Exploring Operation: 2*69=138, Resulting Numbers: [41, 138] Generated Node #3: [41, 138] from Operation: 2*69=138 Current State: 97:[41, 138], Operations: ['90-49=41', '2*69=138'] Exploring Operation: 138-41=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[90, 49, 2, 69], Operations: [] Exploring Operation: 90+2=92, Resulting Numbers: [49, 69, 92] Generated Node #0,0: 97:[49, 69, 92] Operation: 90+2=92 Exploring Operation: 49*2=98, Resulting Numbers: [90, 69, 98] Generated Node #0,1: 97:[90, 69, 98] Operation: 49*2=98 Exploring Operation: 2+69=71, Resulting Numbers: [90, 49, 71] Generated Node #0,2: 97:[90, 49, 71] Operation: 2+69=71 Exploring Operation: 49+2=51, Resulting Numbers: [90, 69, 51] Generated Node #0,3: 97:[90, 69, 51] Operation: 49+2=51 Moving to Node #0,1 Current State: 97:[90, 69, 98], Operations: ['49*2=98'] Exploring Operation: 98-69=29, Resulting Numbers: [90, 29] Generated Node #0,1,0: 97:[90, 29] Operation: 98-69=29 Exploring Operation: 90+69=159, Resulting Numbers: [98, 159] Generated Node #0,1,1: 97:[98, 159] Operation: 90+69=159 Exploring Operation: 69+98=167, Resulting Numbers: [90, 167] Generated Node #0,1,2: 97:[90, 167] Operation: 69+98=167 Exploring Operation: 90-69=21, Resulting Numbers: [98, 21] Generated Node #0,1,3: 97:[98, 21] Operation: 90-69=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[98, 159], Operations: ['49*2=98', '90+69=159'] Exploring Operation: 98+159=257, Resulting Numbers: [257] 257,97 unequal: No Solution Exploring Operation: 98*159=15582, Resulting Numbers: [15582] 15582,97 unequal: No Solution Exploring Operation: 159-98=61, Resulting Numbers: [61] 61,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:[90, 29], Operations: ['49*2=98', '98-69=29'] Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,97 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[90, 167], Operations: ['49*2=98', '69+98=167'] Exploring Operation: 90*167=15030, Resulting Numbers: [15030] 15030,97 unequal: No Solution Exploring Operation: 90+167=257, Resulting Numbers: [257] 257,97 unequal: No Solution Exploring Operation: 167-90=77, Resulting Numbers: [77] 77,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[98, 21], Operations: ['49*2=98', '90-69=21'] Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,97 unequal: No Solution Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,97 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: 97:[90, 49, 71], Operations: ['2+69=71'] Exploring Operation: 90+49=139, Resulting Numbers: [71, 139] Generated Node #0,2,0: 97:[71, 139] Operation: 90+49=139 Exploring Operation: 71-49=22, Resulting Numbers: [90, 22] Generated Node #0,2,1: 97:[90, 22] Operation: 71-49=22 Exploring Operation: 90-49=41, Resulting Numbers: [71, 41] Generated Node #0,2,2: 97:[71, 41] Operation: 90-49=41 Exploring Operation: 49+71=120, Resulting Numbers: [90, 120] Generated Node #0,2,3: 97:[90, 120] Operation: 49+71=120 Moving to Node #0,0 Current State: 97:[49, 69, 92], Operations: ['90+2=92'] Exploring Operation: 49+92=141, Resulting Numbers: [69, 141] Generated Node #0,0,0: 97:[69, 141] Operation: 49+92=141 Exploring Operation: 49+69=118, Resulting Numbers: [92, 118] Generated Node #0,0,1: 97:[92, 118] Operation: 49+69=118 Exploring Operation: 69-49=20, Resulting Numbers: [92, 20] Generated Node #0,0,2: 97:[92, 20] Operation: 69-49=20 Exploring Operation: 92-49=43, Resulting Numbers: [69, 43] Generated Node #0,0,3: 97:[69, 43] Operation: 92-49=43 Moving to Node #0,3 Current State: 97:[90, 69, 51], Operations: ['49+2=51'] Exploring Operation: 90+51=141, Resulting Numbers: [69, 141] Generated Node #0,3,0: 97:[69, 141] Operation: 90+51=141 Exploring Operation: 69+51=120, Resulting Numbers: [90, 120] Generated Node #0,3,1: 97:[90, 120] Operation: 69+51=120 Exploring Operation: 90-51=39, Resulting Numbers: [69, 39] Generated Node #0,3,2: 97:[69, 39] Operation: 90-51=39 Exploring Operation: 69-51=18, Resulting Numbers: [90, 18] Generated Node #0,3,3: 97:[90, 18] Operation: 69-51=18 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[90, 120], Operations: ['49+2=51', '69+51=120'] Exploring Operation: 90+120=210, Resulting Numbers: [210] 210,97 unequal: No Solution Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 90*120=10800, Resulting Numbers: [10800] 10800,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[69, 141], Operations: ['49+2=51', '90+51=141'] Exploring Operation: 141-69=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 69+141=210, Resulting Numbers: [210] 210,97 unequal: No Solution Exploring Operation: 69*141=9729, Resulting Numbers: [9729] 9729,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[69, 39], Operations: ['49+2=51', '90-51=39'] Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,97 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[90, 18], Operations: ['49+2=51', '69-51=18'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,97 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,97 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,97 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: 97:[92, 118], Operations: ['90+2=92', '49+69=118'] Exploring Operation: 92*118=10856, Resulting Numbers: [10856] 10856,97 unequal: No Solution Exploring Operation: 118-92=26, Resulting Numbers: [26] 26,97 unequal: No Solution Exploring Operation: 92+118=210, Resulting Numbers: [210] 210,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[90, 120], Operations: ['2+69=71', '49+71=120'] Exploring Operation: 90*120=10800, Resulting Numbers: [10800] 10800,97 unequal: No Solution Exploring Operation: 90+120=210, Resulting Numbers: [210] 210,97 unequal: No Solution Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[71, 139], Operations: ['2+69=71', '90+49=139'] Exploring Operation: 71*139=9869, Resulting Numbers: [9869] 9869,97 unequal: No Solution Exploring Operation: 139-71=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 71+139=210, Resulting Numbers: [210] 210,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[69, 141], Operations: ['90+2=92', '49+92=141'] Exploring Operation: 69*141=9729, Resulting Numbers: [9729] 9729,97 unequal: No Solution Exploring Operation: 141-69=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 69+141=210, Resulting Numbers: [210] 210,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[90, 22], Operations: ['2+69=71', '71-49=22'] Exploring Operation: 90+22=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 90*22=1980, Resulting Numbers: [1980] 1980,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[92, 20], Operations: ['90+2=92', '69-49=20'] Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 92+20=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 92*20=1840, Resulting Numbers: [1840] 1840,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[69, 43], Operations: ['90+2=92', '92-49=43'] Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,97 unequal: No Solution Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[71, 41], Operations: ['2+69=71', '90-49=41'] Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,97 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,97 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 65, 2, 70, 81 ]
56
[ "65+2=67", "81-70=11", "67-11=56" ]
Current State: 56:[65, 2, 70, 81], Operations: [] Exploring Operation: 65+2=67, Resulting Numbers: [70, 81, 67] Generated Node #2: [70, 81, 67] from Operation: 65+2=67 Current State: 56:[70, 81, 67], Operations: ['65+2=67'] Exploring Operation: 81-70=11, Resulting Numbers: [67, 11] Generated Node #3: [67, 11] from Operation: 81-70=11 Current State: 56:[67, 11], Operations: ['65+2=67', '81-70=11'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[65, 2, 70, 81], Operations: [] Exploring Operation: 81-65=16, Resulting Numbers: [2, 70, 16] Generated Node #0,0: 56:[2, 70, 16] Operation: 81-65=16 Exploring Operation: 81-70=11, Resulting Numbers: [65, 2, 11] Generated Node #0,1: 56:[65, 2, 11] Operation: 81-70=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[65, 2, 11], Operations: ['81-70=11'] Exploring Operation: 65-2=63, Resulting Numbers: [11, 63] Generated Node #0,1,0: 56:[11, 63] Operation: 65-2=63 Exploring Operation: 65-11=54, Resulting Numbers: [2, 54] Generated Node #0,1,1: 56:[2, 54] Operation: 65-11=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[2, 54], Operations: ['81-70=11', '65-11=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[65, 2, 70, 81], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [65, 2, 11] Generated Node #0,1: 56:[65, 2, 11] Operation: 81-70=11 Moving to Node #0,1 Current State: 56:[65, 2, 11], Operations: ['81-70=11'] Exploring Operation: 65-11=54, Resulting Numbers: [2, 54] Generated Node #0,1,1: 56:[2, 54] Operation: 65-11=54 Moving to Node #0,1,1 Current State: 56:[2, 54], Operations: ['81-70=11', '65-11=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 1, 20, 48, 76 ]
12
[ "20-1=19", "48*19=912", "912/76=12" ]
Current State: 12:[1, 20, 48, 76], Operations: [] Exploring Operation: 20-1=19, Resulting Numbers: [48, 76, 19] Generated Node #2: [48, 76, 19] from Operation: 20-1=19 Current State: 12:[48, 76, 19], Operations: ['20-1=19'] Exploring Operation: 48*19=912, Resulting Numbers: [76, 912] Generated Node #3: [76, 912] from Operation: 48*19=912 Current State: 12:[76, 912], Operations: ['20-1=19', '48*19=912'] Exploring Operation: 912/76=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[1, 20, 48, 76], Operations: [] Exploring Operation: 76-48=28, Resulting Numbers: [1, 20, 28] Generated Node #0,0: 12:[1, 20, 28] Operation: 76-48=28 Exploring Operation: 48-20=28, Resulting Numbers: [1, 76, 28] Generated Node #0,1: 12:[1, 76, 28] Operation: 48-20=28 Exploring Operation: 76-20=56, Resulting Numbers: [1, 48, 56] Generated Node #0,2: 12:[1, 48, 56] Operation: 76-20=56 Moving to Node #0,0 Current State: 12:[1, 20, 28], Operations: ['76-48=28'] Exploring Operation: 20-1=19, Resulting Numbers: [28, 19] Generated Node #0,0,0: 12:[28, 19] Operation: 20-1=19 Exploring Operation: 28-1=27, Resulting Numbers: [20, 27] Generated Node #0,0,1: 12:[20, 27] Operation: 28-1=27 Exploring Operation: 28-20=8, Resulting Numbers: [1, 8] Generated Node #0,0,2: 12:[1, 8] Operation: 28-20=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[1, 8], Operations: ['76-48=28', '28-20=8'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,12 unequal: No Solution No 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: 12:[28, 19], Operations: ['76-48=28', '20-1=19'] Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,12 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,12 unequal: No Solution No 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: 12:[20, 27], Operations: ['76-48=28', '28-1=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,12 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,12 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: 12:[1, 76, 28], Operations: ['48-20=28'] Exploring Operation: 76-1=75, Resulting Numbers: [28, 75] Generated Node #0,1,0: 12:[28, 75] Operation: 76-1=75 Exploring Operation: 76-28=48, Resulting Numbers: [1, 48] Generated Node #0,1,1: 12:[1, 48] Operation: 76-28=48 Exploring Operation: 28-1=27, Resulting Numbers: [76, 27] Generated Node #0,1,2: 12:[76, 27] Operation: 28-1=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[1, 48], Operations: ['48-20=28', '76-28=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,12 unequal: No Solution No 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: 12:[28, 75], Operations: ['48-20=28', '76-1=75'] Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,12 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,12 unequal: No Solution No 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: 12:[76, 27], Operations: ['48-20=28', '28-1=27'] Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,12 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,12 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: 12:[1, 48, 56], Operations: ['76-20=56'] Exploring Operation: 56-1=55, Resulting Numbers: [48, 55] Generated Node #0,2,0: 12:[48, 55] Operation: 56-1=55 Exploring Operation: 48-1=47, Resulting Numbers: [56, 47] Generated Node #0,2,1: 12:[56, 47] Operation: 48-1=47 Exploring Operation: 56-48=8, Resulting Numbers: [1, 8] Generated Node #0,2,2: 12:[1, 8] Operation: 56-48=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[1, 8], Operations: ['76-20=56', '56-48=8'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,12 unequal: No Solution No 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: 12:[48, 55], Operations: ['76-20=56', '56-1=55'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,12 unequal: No Solution Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,12 unequal: No Solution No 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: 12:[56, 47], Operations: ['76-20=56', '48-1=47'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,12 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 84, 48, 79, 44 ]
20
[ "84-79=5", "48-44=4", "5*4=20" ]
Current State: 20:[84, 48, 79, 44], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [48, 44, 5] Generated Node #2: [48, 44, 5] from Operation: 84-79=5 Current State: 20:[48, 44, 5], Operations: ['84-79=5'] Exploring Operation: 48-44=4, Resulting Numbers: [5, 4] Generated Node #3: [5, 4] from Operation: 48-44=4 Current State: 20:[5, 4], Operations: ['84-79=5', '48-44=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[84, 48, 79, 44], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [48, 44, 5] Generated Node #0,0: 20:[48, 44, 5] Operation: 84-79=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[48, 44, 5], Operations: ['84-79=5'] Exploring Operation: 48-44=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 20:[5, 4] Operation: 48-44=4 Moving to Node #0,0,0 Current State: 20:[5, 4], Operations: ['84-79=5', '48-44=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[84, 48, 79, 44], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [48, 44, 5] Generated Node #0,0: 20:[48, 44, 5] Operation: 84-79=5 Moving to Node #0,0 Current State: 20:[48, 44, 5], Operations: ['84-79=5'] Exploring Operation: 48-44=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 20:[5, 4] Operation: 48-44=4 Moving to Node #0,0,0 Current State: 20:[5, 4], Operations: ['84-79=5', '48-44=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 18, 78, 47, 9 ]
29
[ "18/9=2", "78-47=31", "31-2=29" ]
Current State: 29:[18, 78, 47, 9], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [78, 47, 2] Generated Node #2: [78, 47, 2] from Operation: 18/9=2 Current State: 29:[78, 47, 2], Operations: ['18/9=2'] Exploring Operation: 78-47=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 78-47=31 Current State: 29:[2, 31], Operations: ['18/9=2', '78-47=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[18, 78, 47, 9], Operations: [] Exploring Operation: 47-18=29, Resulting Numbers: [78, 9, 29] Generated Node #0,0: 29:[78, 9, 29] Operation: 47-18=29 Exploring Operation: 78-9=69, Resulting Numbers: [18, 47, 69] Generated Node #0,1: 29:[18, 47, 69] Operation: 78-9=69 Exploring Operation: 78-18=60, Resulting Numbers: [47, 9, 60] Generated Node #0,2: 29:[47, 9, 60] Operation: 78-18=60 Exploring Operation: 18+9=27, Resulting Numbers: [78, 47, 27] Generated Node #0,3: 29:[78, 47, 27] Operation: 18+9=27 Exploring Operation: 78-47=31, Resulting Numbers: [18, 9, 31] Generated Node #0,4: 29:[18, 9, 31] Operation: 78-47=31 Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[18, 9, 31], Operations: ['78-47=31'] Exploring Operation: 31-9=22, Resulting Numbers: [18, 22] Generated Node #0,4,0: 29:[18, 22] Operation: 31-9=22 Exploring Operation: 9+31=40, Resulting Numbers: [18, 40] Generated Node #0,4,1: 29:[18, 40] Operation: 9+31=40 Exploring Operation: 18+9=27, Resulting Numbers: [31, 27] Generated Node #0,4,2: 29:[31, 27] Operation: 18+9=27 Exploring Operation: 18/9=2, Resulting Numbers: [31, 2] Generated Node #0,4,3: 29:[31, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [31, 9] Generated Node #0,4,4: 29:[31, 9] Operation: 18-9=9 Moving to Node #0,4,2 Current State: 29:[31, 27], Operations: ['78-47=31', '18+9=27'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,29 unequal: No Solution Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[18, 22], Operations: ['78-47=31', '31-9=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,29 unequal: No Solution Moving to Node #0,4,1 Current State: 29:[18, 40], Operations: ['78-47=31', '9+31=40'] Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,29 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[31, 9], Operations: ['78-47=31', '18-9=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,29 unequal: No Solution Moving to Node #0,4,3 Current State: 29:[31, 2], Operations: ['78-47=31', '18/9=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[18, 78, 47, 9], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [18, 9, 31] Generated Node #0,4: 29:[18, 9, 31] Operation: 78-47=31 Moving to Node #0,4 Current State: 29:[18, 9, 31], Operations: ['78-47=31'] Exploring Operation: 18/9=2, Resulting Numbers: [31, 2] Generated Node #0,4,3: 29:[31, 2] Operation: 18/9=2 Moving to Node #0,4,3 Current State: 29:[31, 2], Operations: ['78-47=31', '18/9=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 38, 32, 70, 46 ]
47
[ "38+32=70", "70/70=1", "46+1=47" ]
Current State: 47:[38, 32, 70, 46], Operations: [] Exploring Operation: 38+32=70, Resulting Numbers: [70, 46, 70] Generated Node #2: [70, 46, 70] from Operation: 38+32=70 Current State: 47:[70, 46, 70], Operations: ['38+32=70'] Exploring Operation: 70/70=1, Resulting Numbers: [46, 1] Generated Node #3: [46, 1] from Operation: 70/70=1 Current State: 47:[46, 1], Operations: ['38+32=70', '70/70=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[38, 32, 70, 46], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [32, 46, 32] Generated Node #0,0: 47:[32, 46, 32] Operation: 70-38=32 Exploring Operation: 70-32=38, Resulting Numbers: [38, 46, 38] Generated Node #0,1: 47:[38, 46, 38] Operation: 70-32=38 Exploring Operation: 38+32=70, Resulting Numbers: [70, 46, 70] Generated Node #0,2: 47:[70, 46, 70] Operation: 38+32=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[38, 46, 38], Operations: ['70-32=38'] Exploring Operation: 38+38=76, Resulting Numbers: [46, 76] Generated Node #0,1,0: 47:[46, 76] Operation: 38+38=76 Exploring Operation: 38+46=84, Resulting Numbers: [38, 84] Generated Node #0,1,1: 47:[38, 84] Operation: 38+46=84 Exploring Operation: 46+38=84, Resulting Numbers: [38, 84] Generated Node #0,1,2: 47:[38, 84] Operation: 46+38=84 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[46, 76], Operations: ['70-32=38', '38+38=76'] Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,47 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,47 unequal: No Solution No 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: 47:[38, 84], Operations: ['70-32=38', '38+46=84'] Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,47 unequal: No Solution Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,47 unequal: No Solution No 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: 47:[38, 84], Operations: ['70-32=38', '46+38=84'] Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,47 unequal: No Solution Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[32, 46, 32], Operations: ['70-38=32'] Exploring Operation: 46+32=78, Resulting Numbers: [32, 78] Generated Node #0,0,0: 47:[32, 78] Operation: 46+32=78 Exploring Operation: 32+32=64, Resulting Numbers: [46, 64] Generated Node #0,0,1: 47:[46, 64] Operation: 32+32=64 Exploring Operation: 32+46=78, Resulting Numbers: [32, 78] Generated Node #0,0,2: 47:[32, 78] Operation: 32+46=78 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[46, 64], Operations: ['70-38=32', '32+32=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,47 unequal: No Solution No 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: 47:[32, 78], Operations: ['70-38=32', '46+32=78'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,47 unequal: No Solution No 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: 47:[32, 78], Operations: ['70-38=32', '32+46=78'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,47 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[70, 46, 70], Operations: ['38+32=70'] Exploring Operation: 70/70=1, Resulting Numbers: [46, 1] Generated Node #0,2,0: 47:[46, 1] Operation: 70/70=1 Exploring Operation: 70-46=24, Resulting Numbers: [70, 24] Generated Node #0,2,1: 47:[70, 24] Operation: 70-46=24 Exploring Operation: 70-46=24, Resulting Numbers: [70, 24] Generated Node #0,2,2: 47:[70, 24] Operation: 70-46=24 Moving to Node #0,2,1 Current State: 47:[70, 24], Operations: ['38+32=70', '70-46=24'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[70, 24], Operations: ['38+32=70', '70-46=24'] Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,47 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[46, 1], Operations: ['38+32=70', '70/70=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[38, 32, 70, 46], Operations: [] Exploring Operation: 38+32=70, Resulting Numbers: [70, 46, 70] Generated Node #0,2: 47:[70, 46, 70] Operation: 38+32=70 Moving to Node #0,2 Current State: 47:[70, 46, 70], Operations: ['38+32=70'] Exploring Operation: 70/70=1, Resulting Numbers: [46, 1] Generated Node #0,2,0: 47:[46, 1] Operation: 70/70=1 Moving to Node #0,2,0 Current State: 47:[46, 1], Operations: ['38+32=70', '70/70=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
sum_heuristic
[ 60, 85, 29, 27 ]
32
[ "60+85=145", "145/29=5", "27+5=32" ]
Current State: 32:[60, 85, 29, 27], Operations: [] Exploring Operation: 60+85=145, Resulting Numbers: [29, 27, 145] Generated Node #2: [29, 27, 145] from Operation: 60+85=145 Current State: 32:[29, 27, 145], Operations: ['60+85=145'] Exploring Operation: 145/29=5, Resulting Numbers: [27, 5] Generated Node #3: [27, 5] from Operation: 145/29=5 Current State: 32:[27, 5], Operations: ['60+85=145', '145/29=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[60, 85, 29, 27], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [60, 27, 56] Generated Node #0,0: 32:[60, 27, 56] Operation: 85-29=56 Exploring Operation: 85-60=25, Resulting Numbers: [29, 27, 25] Generated Node #0,1: 32:[29, 27, 25] Operation: 85-60=25 Exploring Operation: 60-29=31, Resulting Numbers: [85, 27, 31] Generated Node #0,2: 32:[85, 27, 31] Operation: 60-29=31 Exploring Operation: 60-27=33, Resulting Numbers: [85, 29, 33] Generated Node #0,3: 32:[85, 29, 33] Operation: 60-27=33 Exploring Operation: 85-27=58, Resulting Numbers: [60, 29, 58] Generated Node #0,4: 32:[60, 29, 58] Operation: 85-27=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[29, 27, 25], Operations: ['85-60=25'] Exploring Operation: 27+25=52, Resulting Numbers: [29, 52] Generated Node #0,1,0: 32:[29, 52] Operation: 27+25=52 Exploring Operation: 29+25=54, Resulting Numbers: [27, 54] Generated Node #0,1,1: 32:[27, 54] Operation: 29+25=54 Exploring Operation: 29-25=4, Resulting Numbers: [27, 4] Generated Node #0,1,2: 32:[27, 4] Operation: 29-25=4 Exploring Operation: 29-27=2, Resulting Numbers: [25, 2] Generated Node #0,1,3: 32:[25, 2] Operation: 29-27=2 Exploring Operation: 27-25=2, Resulting Numbers: [29, 2] Generated Node #0,1,4: 32:[29, 2] Operation: 27-25=2 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[29, 2], Operations: ['85-60=25', '27-25=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,32 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,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,2 Current State: 32:[27, 4], Operations: ['85-60=25', '29-25=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,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,3 Current State: 32:[25, 2], Operations: ['85-60=25', '29-27=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,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, 52], Operations: ['85-60=25', '27+25=52'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,32 unequal: No Solution Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,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,1 Current State: 32:[27, 54], Operations: ['85-60=25', '29+25=54'] Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 27*54=1458, Resulting Numbers: [1458] 1458,32 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[60, 27, 56], Operations: ['85-29=56'] Exploring Operation: 60-27=33, Resulting Numbers: [56, 33] Generated Node #0,0,0: 32:[56, 33] Operation: 60-27=33 Exploring Operation: 56-27=29, Resulting Numbers: [60, 29] Generated Node #0,0,1: 32:[60, 29] Operation: 56-27=29 Exploring Operation: 60+27=87, Resulting Numbers: [56, 87] Generated Node #0,0,2: 32:[56, 87] Operation: 60+27=87 Exploring Operation: 27+56=83, Resulting Numbers: [60, 83] Generated Node #0,0,3: 32:[60, 83] Operation: 27+56=83 Exploring Operation: 60-56=4, Resulting Numbers: [27, 4] Generated Node #0,0,4: 32:[27, 4] Operation: 60-56=4 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 32:[27, 4], Operations: ['85-29=56', '60-56=4'] Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,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,0,0 Current State: 32:[56, 33], Operations: ['85-29=56', '60-27=33'] Exploring Operation: 56*33=1848, Resulting Numbers: [1848] 1848,32 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 56+33=89, Resulting Numbers: [89] 89,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,0,1 Current State: 32:[60, 29], Operations: ['85-29=56', '56-27=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,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,0,2 Current State: 32:[56, 87], Operations: ['85-29=56', '60+27=87'] Exploring Operation: 56+87=143, Resulting Numbers: [143] 143,32 unequal: No Solution Exploring Operation: 56*87=4872, Resulting Numbers: [4872] 4872,32 unequal: No Solution Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,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,0,3 Current State: 32:[60, 83], Operations: ['85-29=56', '27+56=83'] Exploring Operation: 60*83=4980, Resulting Numbers: [4980] 4980,32 unequal: No Solution Exploring Operation: 60+83=143, Resulting Numbers: [143] 143,32 unequal: No Solution Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[85, 29, 33], Operations: ['60-27=33'] Exploring Operation: 85-29=56, Resulting Numbers: [33, 56] Generated Node #0,3,0: 32:[33, 56] Operation: 85-29=56 Exploring Operation: 85+29=114, Resulting Numbers: [33, 114] Generated Node #0,3,1: 32:[33, 114] Operation: 85+29=114 Exploring Operation: 29+33=62, Resulting Numbers: [85, 62] Generated Node #0,3,2: 32:[85, 62] Operation: 29+33=62 Exploring Operation: 33-29=4, Resulting Numbers: [85, 4] Generated Node #0,3,3: 32:[85, 4] Operation: 33-29=4 Exploring Operation: 85-33=52, Resulting Numbers: [29, 52] Generated Node #0,3,4: 32:[29, 52] Operation: 85-33=52 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 32:[29, 52], Operations: ['60-27=33', '85-33=52'] Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,32 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,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,3,0 Current State: 32:[33, 56], Operations: ['60-27=33', '85-29=56'] Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,32 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,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,3,3 Current State: 32:[85, 4], Operations: ['60-27=33', '33-29=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,32 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,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,3,1 Current State: 32:[33, 114], Operations: ['60-27=33', '85+29=114'] Exploring Operation: 33+114=147, Resulting Numbers: [147] 147,32 unequal: No Solution Exploring Operation: 114-33=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 33*114=3762, Resulting Numbers: [3762] 3762,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,3,2 Current State: 32:[85, 62], Operations: ['60-27=33', '29+33=62'] Exploring Operation: 85+62=147, Resulting Numbers: [147] 147,32 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 85*62=5270, Resulting Numbers: [5270] 5270,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 32:[60, 29, 58], Operations: ['85-27=58'] Exploring Operation: 60-58=2, Resulting Numbers: [29, 2] Generated Node #0,4,0: 32:[29, 2] Operation: 60-58=2 Exploring Operation: 60-29=31, Resulting Numbers: [58, 31] Generated Node #0,4,1: 32:[58, 31] Operation: 60-29=31 Exploring Operation: 60+29=89, Resulting Numbers: [58, 89] Generated Node #0,4,2: 32:[58, 89] Operation: 60+29=89 Exploring Operation: 58/29=2, Resulting Numbers: [60, 2] Generated Node #0,4,3: 32:[60, 2] Operation: 58/29=2 Exploring Operation: 58-29=29, Resulting Numbers: [60, 29] Generated Node #0,4,4: 32:[60, 29] Operation: 58-29=29 Moving to Node #0,4,0 Current State: 32:[29, 2], Operations: ['85-27=58', '60-58=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,32 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[58, 31], Operations: ['85-27=58', '60-29=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,32 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[60, 2], Operations: ['85-27=58', '58/29=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[60, 29], Operations: ['85-27=58', '58-29=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[58, 89], Operations: ['85-27=58', '60+29=89'] Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,32 unequal: No Solution Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[85, 27, 31], Operations: ['60-29=31'] Exploring Operation: 85-31=54, Resulting Numbers: [27, 54] Generated Node #0,2,0: 32:[27, 54] Operation: 85-31=54 Exploring Operation: 85+27=112, Resulting Numbers: [31, 112] Generated Node #0,2,1: 32:[31, 112] Operation: 85+27=112 Exploring Operation: 31-27=4, Resulting Numbers: [85, 4] Generated Node #0,2,2: 32:[85, 4] Operation: 31-27=4 Exploring Operation: 27+31=58, Resulting Numbers: [85, 58] Generated Node #0,2,3: 32:[85, 58] Operation: 27+31=58 Exploring Operation: 85-27=58, Resulting Numbers: [31, 58] Generated Node #0,2,4: 32:[31, 58] Operation: 85-27=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 32:[27, 54], Operations: ['60-29=31', '85-31=54'] Exploring Operation: 27*54=1458, Resulting Numbers: [1458] 1458,32 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,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,2,4 Current State: 32:[31, 58], Operations: ['60-29=31', '85-27=58'] Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 31*58=1798, Resulting Numbers: [1798] 1798,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,2,2 Current State: 32:[85, 4], Operations: ['60-29=31', '31-27=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,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,2,3 Current State: 32:[85, 58], Operations: ['60-29=31', '27+31=58'] Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 85+58=143, Resulting Numbers: [143] 143,32 unequal: No Solution Exploring Operation: 85*58=4930, Resulting Numbers: [4930] 4930,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,2,1 Current State: 32:[31, 112], Operations: ['60-29=31', '85+27=112'] Exploring Operation: 112-31=81, Resulting Numbers: [81] 81,32 unequal: No Solution Exploring Operation: 31+112=143, Resulting Numbers: [143] 143,32 unequal: No Solution Exploring Operation: 31*112=3472, Resulting Numbers: [3472] 3472,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_5
mult_heuristic
[ 78, 21, 77, 76 ]
55
[ "78-77=1", "76-21=55", "1*55=55" ]
Current State: 55:[78, 21, 77, 76], Operations: [] Exploring Operation: 78-77=1, Resulting Numbers: [21, 76, 1] Generated Node #2: [21, 76, 1] from Operation: 78-77=1 Current State: 55:[21, 76, 1], Operations: ['78-77=1'] Exploring Operation: 76-21=55, Resulting Numbers: [1, 55] Generated Node #3: [1, 55] from Operation: 76-21=55 Current State: 55:[1, 55], Operations: ['78-77=1', '76-21=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[78, 21, 77, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [21, 77, 2] Generated Node #0,0: 55:[21, 77, 2] Operation: 78-76=2 Exploring Operation: 77-76=1, Resulting Numbers: [78, 21, 1] Generated Node #0,1: 55:[78, 21, 1] Operation: 77-76=1 Exploring Operation: 77-21=56, Resulting Numbers: [78, 76, 56] Generated Node #0,2: 55:[78, 76, 56] Operation: 77-21=56 Exploring Operation: 78-21=57, Resulting Numbers: [77, 76, 57] Generated Node #0,3: 55:[77, 76, 57] Operation: 78-21=57 Exploring Operation: 78-77=1, Resulting Numbers: [21, 76, 1] Generated Node #0,4: 55:[21, 76, 1] Operation: 78-77=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[21, 77, 2], Operations: ['78-76=2'] Exploring Operation: 77-2=75, Resulting Numbers: [21, 75] Generated Node #0,0,0: 55:[21, 75] Operation: 77-2=75 Exploring Operation: 77+2=79, Resulting Numbers: [21, 79] Generated Node #0,0,1: 55:[21, 79] Operation: 77+2=79 Exploring Operation: 21-2=19, Resulting Numbers: [77, 19] Generated Node #0,0,2: 55:[77, 19] Operation: 21-2=19 Exploring Operation: 21+2=23, Resulting Numbers: [77, 23] Generated Node #0,0,3: 55:[77, 23] Operation: 21+2=23 Exploring Operation: 77-21=56, Resulting Numbers: [2, 56] Generated Node #0,0,4: 55:[2, 56] Operation: 77-21=56 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 55:[2, 56], Operations: ['78-76=2', '77-21=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,55 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,55 unequal: No Solution No 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: 55:[21, 75], Operations: ['78-76=2', '77-2=75'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 21+75=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 21*75=1575, Resulting Numbers: [1575] 1575,55 unequal: No Solution No 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: 55:[77, 19], Operations: ['78-76=2', '21-2=19'] Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,55 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,55 unequal: No Solution No 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: 55:[21, 79], Operations: ['78-76=2', '77+2=79'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,55 unequal: No Solution No 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: 55:[77, 23], Operations: ['78-76=2', '21+2=23'] Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[21, 76, 1], Operations: ['78-77=1'] Exploring Operation: 76-21=55, Resulting Numbers: [1, 55] Generated Node #0,4,0: 55:[1, 55] Operation: 76-21=55 Exploring Operation: 21*1=21, Resulting Numbers: [76, 21] Generated Node #0,4,1: 55:[76, 21] Operation: 21*1=21 Exploring Operation: 21/1=21, Resulting Numbers: [76, 21] Generated Node #0,4,2: 55:[76, 21] Operation: 21/1=21 Exploring Operation: 21-1=20, Resulting Numbers: [76, 20] Generated Node #0,4,3: 55:[76, 20] Operation: 21-1=20 Exploring Operation: 76-1=75, Resulting Numbers: [21, 75] Generated Node #0,4,4: 55:[21, 75] Operation: 76-1=75 Moving to Node #0,4,0 Current State: 55:[1, 55], Operations: ['78-77=1', '76-21=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[78, 21, 77, 76], Operations: [] Exploring Operation: 78-77=1, Resulting Numbers: [21, 76, 1] Generated Node #0,4: 55:[21, 76, 1] Operation: 78-77=1 Moving to Node #0,4 Current State: 55:[21, 76, 1], Operations: ['78-77=1'] Exploring Operation: 76-21=55, Resulting Numbers: [1, 55] Generated Node #0,4,0: 55:[1, 55] Operation: 76-21=55 Moving to Node #0,4,0 Current State: 55:[1, 55], Operations: ['78-77=1', '76-21=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 86, 99, 66, 76 ]
15
[ "86-76=10", "99*10=990", "990/66=15" ]
Current State: 15:[86, 99, 66, 76], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [99, 66, 10] Generated Node #2: [99, 66, 10] from Operation: 86-76=10 Current State: 15:[99, 66, 10], Operations: ['86-76=10'] Exploring Operation: 99*10=990, Resulting Numbers: [66, 990] Generated Node #3: [66, 990] from Operation: 99*10=990 Current State: 15:[66, 990], Operations: ['86-76=10', '99*10=990'] Exploring Operation: 990/66=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[86, 99, 66, 76], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [99, 66, 10] Generated Node #0,0: 15:[99, 66, 10] Operation: 86-76=10 Exploring Operation: 99-76=23, Resulting Numbers: [86, 66, 23] Generated Node #0,1: 15:[86, 66, 23] Operation: 99-76=23 Exploring Operation: 99-86=13, Resulting Numbers: [66, 76, 13] Generated Node #0,2: 15:[66, 76, 13] Operation: 99-86=13 Moving to Node #0,2 Current State: 15:[66, 76, 13], Operations: ['99-86=13'] Exploring Operation: 66-13=53, Resulting Numbers: [76, 53] Generated Node #0,2,0: 15:[76, 53] Operation: 66-13=53 Exploring Operation: 76-66=10, Resulting Numbers: [13, 10] Generated Node #0,2,1: 15:[13, 10] Operation: 76-66=10 Exploring Operation: 76-13=63, Resulting Numbers: [66, 63] Generated Node #0,2,2: 15:[66, 63] Operation: 76-13=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[13, 10], Operations: ['99-86=13', '76-66=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,15 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[76, 53], Operations: ['99-86=13', '66-13=53'] Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,15 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,15 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[66, 63], Operations: ['99-86=13', '76-13=63'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 66+63=129, Resulting Numbers: [129] 129,15 unequal: No Solution Exploring Operation: 66*63=4158, Resulting Numbers: [4158] 4158,15 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: 15:[86, 66, 23], Operations: ['99-76=23'] Exploring Operation: 86-66=20, Resulting Numbers: [23, 20] Generated Node #0,1,0: 15:[23, 20] Operation: 86-66=20 Exploring Operation: 86-23=63, Resulting Numbers: [66, 63] Generated Node #0,1,1: 15:[66, 63] Operation: 86-23=63 Exploring Operation: 66-23=43, Resulting Numbers: [86, 43] Generated Node #0,1,2: 15:[86, 43] Operation: 66-23=43 Moving to Node #0,0 Current State: 15:[99, 66, 10], Operations: ['86-76=10'] Exploring Operation: 99-10=89, Resulting Numbers: [66, 89] Generated Node #0,0,0: 15:[66, 89] Operation: 99-10=89 Exploring Operation: 66-10=56, Resulting Numbers: [99, 56] Generated Node #0,0,1: 15:[99, 56] Operation: 66-10=56 Exploring Operation: 99-66=33, Resulting Numbers: [10, 33] Generated Node #0,0,2: 15:[10, 33] Operation: 99-66=33 Moving to Node #0,1,0 Current State: 15:[23, 20], Operations: ['99-76=23', '86-66=20'] Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,15 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[10, 33], Operations: ['86-76=10', '99-66=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,15 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[86, 43], Operations: ['99-76=23', '66-23=43'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[66, 63], Operations: ['99-76=23', '86-23=63'] Exploring Operation: 66+63=129, Resulting Numbers: [129] 129,15 unequal: No Solution Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 66*63=4158, Resulting Numbers: [4158] 4158,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[99, 56], Operations: ['86-76=10', '66-10=56'] Exploring Operation: 99+56=155, Resulting Numbers: [155] 155,15 unequal: No Solution Exploring Operation: 99*56=5544, Resulting Numbers: [5544] 5544,15 unequal: No Solution Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[66, 89], Operations: ['86-76=10', '99-10=89'] Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,15 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,15 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 2, 12, 44, 46 ]
80
[ "12-2=10", "44+46=90", "90-10=80" ]
Current State: 80:[2, 12, 44, 46], Operations: [] Exploring Operation: 12-2=10, Resulting Numbers: [44, 46, 10] Generated Node #2: [44, 46, 10] from Operation: 12-2=10 Current State: 80:[44, 46, 10], Operations: ['12-2=10'] Exploring Operation: 44+46=90, Resulting Numbers: [10, 90] Generated Node #3: [10, 90] from Operation: 44+46=90 Current State: 80:[10, 90], Operations: ['12-2=10', '44+46=90'] Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[2, 12, 44, 46], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [2, 12, 2] Generated Node #0,0: 80:[2, 12, 2] Operation: 46-44=2 Exploring Operation: 44-2=42, Resulting Numbers: [12, 46, 42] Generated Node #0,1: 80:[12, 46, 42] Operation: 44-2=42 Exploring Operation: 46/2=23, Resulting Numbers: [12, 44, 23] Generated Node #0,2: 80:[12, 44, 23] Operation: 46/2=23 Exploring Operation: 12-2=10, Resulting Numbers: [44, 46, 10] Generated Node #0,3: 80:[44, 46, 10] Operation: 12-2=10 Moving to Node #0,0 Current State: 80:[2, 12, 2], Operations: ['46-44=2'] Exploring Operation: 12-2=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 80:[2, 10] Operation: 12-2=10 Exploring Operation: 12-2=10, Resulting Numbers: [2, 10] Generated Node #0,0,1: 80:[2, 10] Operation: 12-2=10 Exploring Operation: 12/2=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 80:[2, 6] Operation: 12/2=6 Exploring Operation: 12/2=6, Resulting Numbers: [2, 6] Generated Node #0,0,3: 80:[2, 6] Operation: 12/2=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[2, 10], Operations: ['46-44=2', '12-2=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[2, 10], Operations: ['46-44=2', '12-2=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[2, 6], Operations: ['46-44=2', '12/2=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[2, 6], Operations: ['46-44=2', '12/2=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,80 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: 80:[12, 44, 23], Operations: ['46/2=23'] Exploring Operation: 12+23=35, Resulting Numbers: [44, 35] Generated Node #0,2,0: 80:[44, 35] Operation: 12+23=35 Exploring Operation: 23-12=11, Resulting Numbers: [44, 11] Generated Node #0,2,1: 80:[44, 11] Operation: 23-12=11 Exploring Operation: 44-12=32, Resulting Numbers: [23, 32] Generated Node #0,2,2: 80:[23, 32] Operation: 44-12=32 Exploring Operation: 44-23=21, Resulting Numbers: [12, 21] Generated Node #0,2,3: 80:[12, 21] Operation: 44-23=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[12, 21], Operations: ['46/2=23', '44-23=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,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,2,1 Current State: 80:[44, 11], Operations: ['46/2=23', '23-12=11'] Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,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,2,0 Current State: 80:[44, 35], Operations: ['46/2=23', '12+23=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,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,2,2 Current State: 80:[23, 32], Operations: ['46/2=23', '44-12=32'] Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,80 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,80 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: 80:[44, 46, 10], Operations: ['12-2=10'] Exploring Operation: 46-10=36, Resulting Numbers: [44, 36] Generated Node #0,3,0: 80:[44, 36] Operation: 46-10=36 Exploring Operation: 44-10=34, Resulting Numbers: [46, 34] Generated Node #0,3,1: 80:[46, 34] Operation: 44-10=34 Exploring Operation: 44+46=90, Resulting Numbers: [10, 90] Generated Node #0,3,2: 80:[10, 90] Operation: 44+46=90 Exploring Operation: 46-44=2, Resulting Numbers: [10, 2] Generated Node #0,3,3: 80:[10, 2] Operation: 46-44=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[10, 2], Operations: ['12-2=10', '46-44=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,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,3,0 Current State: 80:[44, 36], Operations: ['12-2=10', '46-10=36'] Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,80 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[2, 12, 44, 46], Operations: [] Exploring Operation: 12-2=10, Resulting Numbers: [44, 46, 10] Generated Node #0,3: 80:[44, 46, 10] Operation: 12-2=10 Moving to Node #0,3 Current State: 80:[44, 46, 10], Operations: ['12-2=10'] Exploring Operation: 46-10=36, Resulting Numbers: [44, 36] Generated Node #0,3,0: 80:[44, 36] Operation: 46-10=36 Moving to Node #0,3,0 Current State: 80:[44, 36], Operations: ['12-2=10', '46-10=36'] Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_4
mult_heuristic
[ 10, 16, 64, 27 ]
14
[ "64-10=54", "54/27=2", "16-2=14" ]
Current State: 14:[10, 16, 64, 27], Operations: [] Exploring Operation: 64-10=54, Resulting Numbers: [16, 27, 54] Generated Node #2: [16, 27, 54] from Operation: 64-10=54 Current State: 14:[16, 27, 54], Operations: ['64-10=54'] Exploring Operation: 54/27=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 54/27=2 Current State: 14:[16, 2], Operations: ['64-10=54', '54/27=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[10, 16, 64, 27], Operations: [] Exploring Operation: 64-10=54, Resulting Numbers: [16, 27, 54] Generated Node #0,0: 14:[16, 27, 54] Operation: 64-10=54 Exploring Operation: 64-27=37, Resulting Numbers: [10, 16, 37] Generated Node #0,1: 14:[10, 16, 37] Operation: 64-27=37 Exploring Operation: 64-16=48, Resulting Numbers: [10, 27, 48] Generated Node #0,2: 14:[10, 27, 48] Operation: 64-16=48 Exploring Operation: 64/16=4, Resulting Numbers: [10, 27, 4] Generated Node #0,3: 14:[10, 27, 4] Operation: 64/16=4 Exploring Operation: 27-10=17, Resulting Numbers: [16, 64, 17] Generated Node #0,4: 14:[16, 64, 17] Operation: 27-10=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[10, 27, 4], Operations: ['64/16=4'] Exploring Operation: 10-4=6, Resulting Numbers: [27, 6] Generated Node #0,3,0: 14:[27, 6] Operation: 10-4=6 Exploring Operation: 27+4=31, Resulting Numbers: [10, 31] Generated Node #0,3,1: 14:[10, 31] Operation: 27+4=31 Exploring Operation: 10+4=14, Resulting Numbers: [27, 14] Generated Node #0,3,2: 14:[27, 14] Operation: 10+4=14 Exploring Operation: 27-10=17, Resulting Numbers: [4, 17] Generated Node #0,3,3: 14:[4, 17] Operation: 27-10=17 Exploring Operation: 27-4=23, Resulting Numbers: [10, 23] Generated Node #0,3,4: 14:[10, 23] Operation: 27-4=23 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 14:[4, 17], Operations: ['64/16=4', '27-10=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,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,3,4 Current State: 14:[10, 23], Operations: ['64/16=4', '27-4=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,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,3,2 Current State: 14:[27, 14], Operations: ['64/16=4', '10+4=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,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,3,0 Current State: 14:[27, 6], Operations: ['64/16=4', '10-4=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,14 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,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,3,1 Current State: 14:[10, 31], Operations: ['64/16=4', '27+4=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[10, 16, 37], Operations: ['64-27=37'] Exploring Operation: 37-16=21, Resulting Numbers: [10, 21] Generated Node #0,1,0: 14:[10, 21] Operation: 37-16=21 Exploring Operation: 10+16=26, Resulting Numbers: [37, 26] Generated Node #0,1,1: 14:[37, 26] Operation: 10+16=26 Exploring Operation: 37-10=27, Resulting Numbers: [16, 27] Generated Node #0,1,2: 14:[16, 27] Operation: 37-10=27 Exploring Operation: 16-10=6, Resulting Numbers: [37, 6] Generated Node #0,1,3: 14:[37, 6] Operation: 16-10=6 Exploring Operation: 10+37=47, Resulting Numbers: [16, 47] Generated Node #0,1,4: 14:[16, 47] Operation: 10+37=47 Moving to Node #0,1,0 Current State: 14:[10, 21], Operations: ['64-27=37', '37-16=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[16, 27], Operations: ['64-27=37', '37-10=27'] Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,14 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,14 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[37, 6], Operations: ['64-27=37', '16-10=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,14 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,14 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[37, 26], Operations: ['64-27=37', '10+16=26'] Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[16, 47], Operations: ['64-27=37', '10+37=47'] Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,14 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[10, 27, 48], Operations: ['64-16=48'] Exploring Operation: 27-10=17, Resulting Numbers: [48, 17] Generated Node #0,2,0: 14:[48, 17] Operation: 27-10=17 Exploring Operation: 10+27=37, Resulting Numbers: [48, 37] Generated Node #0,2,1: 14:[48, 37] Operation: 10+27=37 Exploring Operation: 10+48=58, Resulting Numbers: [27, 58] Generated Node #0,2,2: 14:[27, 58] Operation: 10+48=58 Exploring Operation: 48-27=21, Resulting Numbers: [10, 21] Generated Node #0,2,3: 14:[10, 21] Operation: 48-27=21 Exploring Operation: 48-10=38, Resulting Numbers: [27, 38] Generated Node #0,2,4: 14:[27, 38] Operation: 48-10=38 Moving to Node #0,2,3 Current State: 14:[10, 21], Operations: ['64-16=48', '48-27=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,2,4 Current State: 14:[27, 38], Operations: ['64-16=48', '48-10=38'] Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,14 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[48, 17], Operations: ['64-16=48', '27-10=17'] Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,14 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[48, 37], Operations: ['64-16=48', '10+27=37'] Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,14 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[27, 58], Operations: ['64-16=48', '10+48=58'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,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:[16, 27, 54], Operations: ['64-10=54'] Exploring Operation: 27-16=11, Resulting Numbers: [54, 11] Generated Node #0,0,0: 14:[54, 11] Operation: 27-16=11 Exploring Operation: 54/27=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 14:[16, 2] Operation: 54/27=2 Exploring Operation: 16+27=43, Resulting Numbers: [54, 43] Generated Node #0,0,2: 14:[54, 43] Operation: 16+27=43 Exploring Operation: 54-16=38, Resulting Numbers: [27, 38] Generated Node #0,0,3: 14:[27, 38] Operation: 54-16=38 Exploring Operation: 54-27=27, Resulting Numbers: [16, 27] Generated Node #0,0,4: 14:[16, 27] Operation: 54-27=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[16, 2], Operations: ['64-10=54', '54/27=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[10, 16, 64, 27], Operations: [] Exploring Operation: 64-10=54, Resulting Numbers: [16, 27, 54] Generated Node #0,0: 14:[16, 27, 54] Operation: 64-10=54 Moving to Node #0,0 Current State: 14:[16, 27, 54], Operations: ['64-10=54'] Exploring Operation: 54/27=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 14:[16, 2] Operation: 54/27=2 Moving to Node #0,0,1 Current State: 14:[16, 2], Operations: ['64-10=54', '54/27=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.934028
hs_5
sum_heuristic
[ 63, 91, 46, 85 ]
96
[ "63-46=17", "85/17=5", "91+5=96" ]
Current State: 96:[63, 91, 46, 85], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [91, 85, 17] Generated Node #2: [91, 85, 17] from Operation: 63-46=17 Current State: 96:[91, 85, 17], Operations: ['63-46=17'] Exploring Operation: 85/17=5, Resulting Numbers: [91, 5] Generated Node #3: [91, 5] from Operation: 85/17=5 Current State: 96:[91, 5], Operations: ['63-46=17', '85/17=5'] Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[63, 91, 46, 85], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [91, 85, 17] Generated Node #0,0: 96:[91, 85, 17] Operation: 63-46=17 Exploring Operation: 91-63=28, Resulting Numbers: [46, 85, 28] Generated Node #0,1: 96:[46, 85, 28] Operation: 91-63=28 Exploring Operation: 85-63=22, Resulting Numbers: [91, 46, 22] Generated Node #0,2: 96:[91, 46, 22] Operation: 85-63=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[91, 46, 22], Operations: ['85-63=22'] Exploring Operation: 91+22=113, Resulting Numbers: [46, 113] Generated Node #0,2,0: 96:[46, 113] Operation: 91+22=113 Exploring Operation: 91-46=45, Resulting Numbers: [22, 45] Generated Node #0,2,1: 96:[22, 45] Operation: 91-46=45 Exploring Operation: 46-22=24, Resulting Numbers: [91, 24] Generated Node #0,2,2: 96:[91, 24] Operation: 46-22=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[22, 45], Operations: ['85-63=22', '91-46=45'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,96 unequal: No Solution Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[91, 24], Operations: ['85-63=22', '46-22=24'] Exploring Operation: 91*24=2184, Resulting Numbers: [2184] 2184,96 unequal: No Solution Exploring Operation: 91+24=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[46, 113], Operations: ['85-63=22', '91+22=113'] Exploring Operation: 113-46=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 46+113=159, Resulting Numbers: [159] 159,96 unequal: No Solution Exploring Operation: 46*113=5198, Resulting Numbers: [5198] 5198,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[91, 85, 17], Operations: ['63-46=17'] Exploring Operation: 85/17=5, Resulting Numbers: [91, 5] Generated Node #0,0,0: 96:[91, 5] Operation: 85/17=5 Exploring Operation: 85+17=102, Resulting Numbers: [91, 102] Generated Node #0,0,1: 96:[91, 102] Operation: 85+17=102 Exploring Operation: 91-85=6, Resulting Numbers: [17, 6] Generated Node #0,0,2: 96:[17, 6] Operation: 91-85=6 Moving to Node #0,0,2 Current State: 96:[17, 6], Operations: ['63-46=17', '91-85=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[91, 5], Operations: ['63-46=17', '85/17=5'] Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,96 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[63, 91, 46, 85], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [91, 85, 17] Generated Node #0,0: 96:[91, 85, 17] Operation: 63-46=17 Moving to Node #0,0 Current State: 96:[91, 85, 17], Operations: ['63-46=17'] Exploring Operation: 85/17=5, Resulting Numbers: [91, 5] Generated Node #0,0,0: 96:[91, 5] Operation: 85/17=5 Moving to Node #0,0,0 Current State: 96:[91, 5], Operations: ['63-46=17', '85/17=5'] Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 85, 77, 96, 66 ]
27
[ "77*96=7392", "7392/66=112", "112-85=27" ]
Current State: 27:[85, 77, 96, 66], Operations: [] Exploring Operation: 77*96=7392, Resulting Numbers: [85, 66, 7392] Generated Node #2: [85, 66, 7392] from Operation: 77*96=7392 Current State: 27:[85, 66, 7392], Operations: ['77*96=7392'] Exploring Operation: 7392/66=112, Resulting Numbers: [85, 112] Generated Node #3: [85, 112] from Operation: 7392/66=112 Current State: 27:[85, 112], Operations: ['77*96=7392', '7392/66=112'] Exploring Operation: 112-85=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[85, 77, 96, 66], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [77, 66, 11] Generated Node #0,0: 27:[77, 66, 11] Operation: 96-85=11 Exploring Operation: 96-77=19, Resulting Numbers: [85, 66, 19] Generated Node #0,1: 27:[85, 66, 19] Operation: 96-77=19 Exploring Operation: 85-77=8, Resulting Numbers: [96, 66, 8] Generated Node #0,2: 27:[96, 66, 8] Operation: 85-77=8 Moving to Node #0,0 Current State: 27:[77, 66, 11], Operations: ['96-85=11'] Exploring Operation: 66/11=6, Resulting Numbers: [77, 6] Generated Node #0,0,0: 27:[77, 6] Operation: 66/11=6 Exploring Operation: 77-66=11, Resulting Numbers: [11, 11] Generated Node #0,0,1: 27:[11, 11] Operation: 77-66=11 Exploring Operation: 77/11=7, Resulting Numbers: [66, 7] Generated Node #0,0,2: 27:[66, 7] Operation: 77/11=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[11, 11], Operations: ['96-85=11', '77-66=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[66, 7], Operations: ['96-85=11', '77/11=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[77, 6], Operations: ['96-85=11', '66/11=6'] Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,27 unequal: No Solution Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,27 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 27:[85, 66, 19], Operations: ['96-77=19'] Exploring Operation: 66-19=47, Resulting Numbers: [85, 47] Generated Node #0,1,0: 27:[85, 47] Operation: 66-19=47 Exploring Operation: 85-66=19, Resulting Numbers: [19, 19] Generated Node #0,1,1: 27:[19, 19] Operation: 85-66=19 Exploring Operation: 85-19=66, Resulting Numbers: [66, 66] Generated Node #0,1,2: 27:[66, 66] Operation: 85-19=66 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[19, 19], Operations: ['96-77=19', '85-66=19'] Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[85, 47], Operations: ['96-77=19', '66-19=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,27 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[66, 66], Operations: ['96-77=19', '85-19=66'] Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,27 unequal: No Solution Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,27 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: 27:[96, 66, 8], Operations: ['85-77=8'] Exploring Operation: 96-8=88, Resulting Numbers: [66, 88] Generated Node #0,2,0: 27:[66, 88] Operation: 96-8=88 Exploring Operation: 96-66=30, Resulting Numbers: [8, 30] Generated Node #0,2,1: 27:[8, 30] Operation: 96-66=30 Exploring Operation: 96/8=12, Resulting Numbers: [66, 12] Generated Node #0,2,2: 27:[66, 12] Operation: 96/8=12 Moving to Node #0,2,1 Current State: 27:[8, 30], Operations: ['85-77=8', '96-66=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[66, 12], Operations: ['85-77=8', '96/8=12'] Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,27 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,27 unequal: No Solution Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[66, 88], Operations: ['85-77=8', '96-8=88'] Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,27 unequal: No Solution Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,27 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 62, 47, 65, 63 ]
48
[ "65-62=3", "63-47=16", "3*16=48" ]
Current State: 48:[62, 47, 65, 63], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [47, 63, 3] Generated Node #2: [47, 63, 3] from Operation: 65-62=3 Current State: 48:[47, 63, 3], Operations: ['65-62=3'] Exploring Operation: 63-47=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 63-47=16 Current State: 48:[3, 16], Operations: ['65-62=3', '63-47=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[62, 47, 65, 63], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [62, 47, 2] Generated Node #0,0: 48:[62, 47, 2] Operation: 65-63=2 Exploring Operation: 65-62=3, Resulting Numbers: [47, 63, 3] Generated Node #0,1: 48:[47, 63, 3] Operation: 65-62=3 Moving to Node #0,0 Current State: 48:[62, 47, 2], Operations: ['65-63=2'] Exploring Operation: 62/2=31, Resulting Numbers: [47, 31] Generated Node #0,0,0: 48:[47, 31] Operation: 62/2=31 Exploring Operation: 62-47=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 48:[2, 15] Operation: 62-47=15 Moving to Node #0,1 Current State: 48:[47, 63, 3], Operations: ['65-62=3'] Exploring Operation: 63-47=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 48:[3, 16] Operation: 63-47=16 Exploring Operation: 63/3=21, Resulting Numbers: [47, 21] Generated Node #0,1,1: 48:[47, 21] Operation: 63/3=21 Moving to Node #0,1,0 Current State: 48:[3, 16], Operations: ['65-62=3', '63-47=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[62, 47, 65, 63], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [47, 63, 3] Generated Node #0,1: 48:[47, 63, 3] Operation: 65-62=3 Moving to Node #0,1 Current State: 48:[47, 63, 3], Operations: ['65-62=3'] Exploring Operation: 63-47=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 48:[3, 16] Operation: 63-47=16 Moving to Node #0,1,0 Current State: 48:[3, 16], Operations: ['65-62=3', '63-47=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 8, 27, 51, 11 ]
53
[ "27-11=16", "16/8=2", "51+2=53" ]
Current State: 53:[8, 27, 51, 11], Operations: [] Exploring Operation: 27-11=16, Resulting Numbers: [8, 51, 16] Generated Node #2: [8, 51, 16] from Operation: 27-11=16 Current State: 53:[8, 51, 16], Operations: ['27-11=16'] Exploring Operation: 16/8=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 16/8=2 Current State: 53:[51, 2], Operations: ['27-11=16', '16/8=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[8, 27, 51, 11], Operations: [] Exploring Operation: 8*11=88, Resulting Numbers: [27, 51, 88] Generated Node #0,0: 53:[27, 51, 88] Operation: 8*11=88 Exploring Operation: 8+51=59, Resulting Numbers: [27, 11, 59] Generated Node #0,1: 53:[27, 11, 59] Operation: 8+51=59 Exploring Operation: 27+11=38, Resulting Numbers: [8, 51, 38] Generated Node #0,2: 53:[8, 51, 38] Operation: 27+11=38 Exploring Operation: 8+11=19, Resulting Numbers: [27, 51, 19] Generated Node #0,3: 53:[27, 51, 19] Operation: 8+11=19 Exploring Operation: 8+27=35, Resulting Numbers: [51, 11, 35] Generated Node #0,4: 53:[51, 11, 35] Operation: 8+27=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[8, 51, 38], Operations: ['27+11=38'] Exploring Operation: 8+51=59, Resulting Numbers: [38, 59] Generated Node #0,2,0: 53:[38, 59] Operation: 8+51=59 Exploring Operation: 51+38=89, Resulting Numbers: [8, 89] Generated Node #0,2,1: 53:[8, 89] Operation: 51+38=89 Exploring Operation: 8+38=46, Resulting Numbers: [51, 46] Generated Node #0,2,2: 53:[51, 46] Operation: 8+38=46 Exploring Operation: 51-8=43, Resulting Numbers: [38, 43] Generated Node #0,2,3: 53:[38, 43] Operation: 51-8=43 Exploring Operation: 38-8=30, Resulting Numbers: [51, 30] Generated Node #0,2,4: 53:[51, 30] Operation: 38-8=30 Moving to Node #0,2,2 Current State: 53:[51, 46], Operations: ['27+11=38', '8+38=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,53 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[38, 59], Operations: ['27+11=38', '8+51=59'] Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,53 unequal: No Solution Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[38, 43], Operations: ['27+11=38', '51-8=43'] Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,53 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[51, 30], Operations: ['27+11=38', '38-8=30'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[8, 89], Operations: ['27+11=38', '51+38=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 8*89=712, Resulting Numbers: [712] 712,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,3 Current State: 53:[27, 51, 19], Operations: ['8+11=19'] Exploring Operation: 27+19=46, Resulting Numbers: [51, 46] Generated Node #0,3,0: 53:[51, 46] Operation: 27+19=46 Exploring Operation: 27-19=8, Resulting Numbers: [51, 8] Generated Node #0,3,1: 53:[51, 8] Operation: 27-19=8 Exploring Operation: 51-19=32, Resulting Numbers: [27, 32] Generated Node #0,3,2: 53:[27, 32] Operation: 51-19=32 Exploring Operation: 51+19=70, Resulting Numbers: [27, 70] Generated Node #0,3,3: 53:[27, 70] Operation: 51+19=70 Exploring Operation: 27+51=78, Resulting Numbers: [19, 78] Generated Node #0,3,4: 53:[19, 78] Operation: 27+51=78 Moving to Node #0,3,0 Current State: 53:[51, 46], Operations: ['8+11=19', '27+19=46'] Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,53 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[27, 70], Operations: ['8+11=19', '51+19=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,53 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[51, 8], Operations: ['8+11=19', '27-19=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[27, 32], Operations: ['8+11=19', '51-19=32'] Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,53 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[19, 78], Operations: ['8+11=19', '27+51=78'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,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,4 Current State: 53:[51, 11, 35], Operations: ['8+27=35'] Exploring Operation: 35-11=24, Resulting Numbers: [51, 24] Generated Node #0,4,0: 53:[51, 24] Operation: 35-11=24 Exploring Operation: 51-11=40, Resulting Numbers: [35, 40] Generated Node #0,4,1: 53:[35, 40] Operation: 51-11=40 Exploring Operation: 51+35=86, Resulting Numbers: [11, 86] Generated Node #0,4,2: 53:[11, 86] Operation: 51+35=86 Exploring Operation: 51+11=62, Resulting Numbers: [35, 62] Generated Node #0,4,3: 53:[35, 62] Operation: 51+11=62 Exploring Operation: 11+35=46, Resulting Numbers: [51, 46] Generated Node #0,4,4: 53:[51, 46] Operation: 11+35=46 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 53:[51, 46], Operations: ['8+27=35', '11+35=46'] Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 53:[35, 62], Operations: ['8+27=35', '51+11=62'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 53:[51, 24], Operations: ['8+27=35', '35-11=24'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,53 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 53:[35, 40], Operations: ['8+27=35', '51-11=40'] Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,53 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 53:[11, 86], Operations: ['8+27=35', '51+35=86'] Exploring Operation: 11+86=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 11*86=946, Resulting Numbers: [946] 946,53 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: 53:[27, 51, 88], Operations: ['8*11=88'] Exploring Operation: 88-27=61, Resulting Numbers: [51, 61] Generated Node #0,0,0: 53:[51, 61] Operation: 88-27=61 Exploring Operation: 51-27=24, Resulting Numbers: [88, 24] Generated Node #0,0,1: 53:[88, 24] Operation: 51-27=24 Exploring Operation: 88-51=37, Resulting Numbers: [27, 37] Generated Node #0,0,2: 53:[27, 37] Operation: 88-51=37 Exploring Operation: 27+88=115, Resulting Numbers: [51, 115] Generated Node #0,0,3: 53:[51, 115] Operation: 27+88=115 Exploring Operation: 27+51=78, Resulting Numbers: [88, 78] Generated Node #0,0,4: 53:[88, 78] Operation: 27+51=78 Moving to Node #0,0,0 Current State: 53:[51, 61], Operations: ['8*11=88', '88-27=61'] Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,53 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[27, 37], Operations: ['8*11=88', '88-51=37'] Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,53 unequal: No Solution Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,53 unequal: No Solution Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[88, 78], Operations: ['8*11=88', '27+51=78'] Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,53 unequal: No Solution Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,53 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[88, 24], Operations: ['8*11=88', '51-27=24'] Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,53 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,53 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[51, 115], Operations: ['8*11=88', '27+88=115'] Exploring Operation: 51+115=166, Resulting Numbers: [166] 166,53 unequal: No Solution Exploring Operation: 51*115=5865, Resulting Numbers: [5865] 5865,53 unequal: No Solution Exploring Operation: 115-51=64, Resulting Numbers: [64] 64,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 Current State: 53:[27, 11, 59], Operations: ['8+51=59'] Exploring Operation: 59-11=48, Resulting Numbers: [27, 48] Generated Node #0,1,0: 53:[27, 48] Operation: 59-11=48 Exploring Operation: 11+59=70, Resulting Numbers: [27, 70] Generated Node #0,1,1: 53:[27, 70] Operation: 11+59=70 Exploring Operation: 27-11=16, Resulting Numbers: [59, 16] Generated Node #0,1,2: 53:[59, 16] Operation: 27-11=16 Exploring Operation: 27+11=38, Resulting Numbers: [59, 38] Generated Node #0,1,3: 53:[59, 38] Operation: 27+11=38 Exploring Operation: 59-27=32, Resulting Numbers: [11, 32] Generated Node #0,1,4: 53:[11, 32] Operation: 59-27=32 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 53:[59, 38], Operations: ['8+51=59', '27+11=38'] Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 59*38=2242, Resulting Numbers: [2242] 2242,53 unequal: No Solution No 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: 53:[27, 48], Operations: ['8+51=59', '59-11=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,53 unequal: No Solution No 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: 53:[27, 70], Operations: ['8+51=59', '11+59=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,53 unequal: No Solution No 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: 53:[59, 16], Operations: ['8+51=59', '27-11=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 53:[11, 32], Operations: ['8+51=59', '59-27=32'] Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,53 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 75, 8, 40, 5 ]
38
[ "75+8=83", "40+5=45", "83-45=38" ]
Current State: 38:[75, 8, 40, 5], Operations: [] Exploring Operation: 75+8=83, Resulting Numbers: [40, 5, 83] Generated Node #2: [40, 5, 83] from Operation: 75+8=83 Current State: 38:[40, 5, 83], Operations: ['75+8=83'] Exploring Operation: 40+5=45, Resulting Numbers: [83, 45] Generated Node #3: [83, 45] from Operation: 40+5=45 Current State: 38:[83, 45], Operations: ['75+8=83', '40+5=45'] Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[75, 8, 40, 5], Operations: [] Exploring Operation: 75-8=67, Resulting Numbers: [40, 5, 67] Generated Node #0,0: 38:[40, 5, 67] Operation: 75-8=67 Exploring Operation: 75/5=15, Resulting Numbers: [8, 40, 15] Generated Node #0,1: 38:[8, 40, 15] Operation: 75/5=15 Exploring Operation: 75-5=70, Resulting Numbers: [8, 40, 70] Generated Node #0,2: 38:[8, 40, 70] Operation: 75-5=70 Exploring Operation: 75-40=35, Resulting Numbers: [8, 5, 35] Generated Node #0,3: 38:[8, 5, 35] Operation: 75-40=35 Moving to Node #0,1 Current State: 38:[8, 40, 15], Operations: ['75/5=15'] Exploring Operation: 40/8=5, Resulting Numbers: [15, 5] Generated Node #0,1,0: 38:[15, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [15, 32] Generated Node #0,1,1: 38:[15, 32] Operation: 40-8=32 Exploring Operation: 15-8=7, Resulting Numbers: [40, 7] Generated Node #0,1,2: 38:[40, 7] Operation: 15-8=7 Exploring Operation: 8+15=23, Resulting Numbers: [40, 23] Generated Node #0,1,3: 38:[40, 23] Operation: 8+15=23 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[40, 23], Operations: ['75/5=15', '8+15=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,38 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,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,1,0 Current State: 38:[15, 5], Operations: ['75/5=15', '40/8=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,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,1,2 Current State: 38:[40, 7], Operations: ['75/5=15', '15-8=7'] Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,38 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,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,1,1 Current State: 38:[15, 32], Operations: ['75/5=15', '40-8=32'] Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,38 unequal: No Solution Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,38 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: 38:[8, 5, 35], Operations: ['75-40=35'] Exploring Operation: 5+35=40, Resulting Numbers: [8, 40] Generated Node #0,3,0: 38:[8, 40] Operation: 5+35=40 Exploring Operation: 8+35=43, Resulting Numbers: [5, 43] Generated Node #0,3,1: 38:[5, 43] Operation: 8+35=43 Exploring Operation: 8*5=40, Resulting Numbers: [35, 40] Generated Node #0,3,2: 38:[35, 40] Operation: 8*5=40 Exploring Operation: 8-5=3, Resulting Numbers: [35, 3] Generated Node #0,3,3: 38:[35, 3] Operation: 8-5=3 Moving to Node #0,0 Current State: 38:[40, 5, 67], Operations: ['75-8=67'] Exploring Operation: 67-40=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 38:[5, 27] Operation: 67-40=27 Exploring Operation: 67-5=62, Resulting Numbers: [40, 62] Generated Node #0,0,1: 38:[40, 62] Operation: 67-5=62 Exploring Operation: 40-5=35, Resulting Numbers: [67, 35] Generated Node #0,0,2: 38:[67, 35] Operation: 40-5=35 Exploring Operation: 40/5=8, Resulting Numbers: [67, 8] Generated Node #0,0,3: 38:[67, 8] Operation: 40/5=8 Moving to Node #0,2 Current State: 38:[8, 40, 70], Operations: ['75-5=70'] Exploring Operation: 70-8=62, Resulting Numbers: [40, 62] Generated Node #0,2,0: 38:[40, 62] Operation: 70-8=62 Exploring Operation: 40-8=32, Resulting Numbers: [70, 32] Generated Node #0,2,1: 38:[70, 32] Operation: 40-8=32 Exploring Operation: 70-40=30, Resulting Numbers: [8, 30] Generated Node #0,2,2: 38:[8, 30] Operation: 70-40=30 Exploring Operation: 40/8=5, Resulting Numbers: [70, 5] Generated Node #0,2,3: 38:[70, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[8, 30], Operations: ['75-5=70', '70-40=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[75, 8, 40, 5], Operations: [] Exploring Operation: 75-5=70, Resulting Numbers: [8, 40, 70] Generated Node #0,2: 38:[8, 40, 70] Operation: 75-5=70 Moving to Node #0,2 Current State: 38:[8, 40, 70], Operations: ['75-5=70'] Exploring Operation: 70-40=30, Resulting Numbers: [8, 30] Generated Node #0,2,2: 38:[8, 30] Operation: 70-40=30 Moving to Node #0,2,2 Current State: 38:[8, 30], Operations: ['75-5=70', '70-40=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 3, 91, 3, 30 ]
67
[ "3+91=94", "30-3=27", "94-27=67" ]
Current State: 67:[3, 91, 3, 30], Operations: [] Exploring Operation: 3+91=94, Resulting Numbers: [30, 94] Generated Node #2: [30, 94] from Operation: 3+91=94 Current State: 67:[30, 94], Operations: ['3+91=94'] Exploring Operation: 30-3=27, Resulting Numbers: [94, 27] Generated Node #3: [94, 27] from Operation: 30-3=27 Current State: 67:[94, 27], Operations: ['3+91=94', '30-3=27'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[3, 91, 3, 30], Operations: [] Exploring Operation: 3*30=90, Resulting Numbers: [91, 3, 90] Generated Node #0,0: 67:[91, 3, 90] Operation: 3*30=90 Exploring Operation: 3*3=9, Resulting Numbers: [91, 30, 9] Generated Node #0,1: 67:[91, 30, 9] Operation: 3*3=9 Exploring Operation: 3*30=90, Resulting Numbers: [3, 91, 90] Generated Node #0,2: 67:[3, 91, 90] Operation: 3*30=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[91, 3, 90], Operations: ['3*30=90'] Exploring Operation: 90-3=87, Resulting Numbers: [91, 87] Generated Node #0,0,0: 67:[91, 87] Operation: 90-3=87 Exploring Operation: 91+3=94, Resulting Numbers: [90, 94] Generated Node #0,0,1: 67:[90, 94] Operation: 91+3=94 Exploring Operation: 91-3=88, Resulting Numbers: [90, 88] Generated Node #0,0,2: 67:[90, 88] Operation: 91-3=88 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[91, 87], Operations: ['3*30=90', '90-3=87'] Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,67 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[90, 88], Operations: ['3*30=90', '91-3=88'] Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 90+88=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 90*88=7920, Resulting Numbers: [7920] 7920,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[90, 94], Operations: ['3*30=90', '91+3=94'] Exploring Operation: 90*94=8460, Resulting Numbers: [8460] 8460,67 unequal: No Solution Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 90+94=184, Resulting Numbers: [184] 184,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[3, 91, 90], Operations: ['3*30=90'] Exploring Operation: 90-3=87, Resulting Numbers: [91, 87] Generated Node #0,2,0: 67:[91, 87] Operation: 90-3=87 Exploring Operation: 3+91=94, Resulting Numbers: [90, 94] Generated Node #0,2,1: 67:[90, 94] Operation: 3+91=94 Exploring Operation: 91-3=88, Resulting Numbers: [90, 88] Generated Node #0,2,2: 67:[90, 88] Operation: 91-3=88 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[91, 87], Operations: ['3*30=90', '90-3=87'] Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[90, 88], Operations: ['3*30=90', '91-3=88'] Exploring Operation: 90+88=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 90*88=7920, Resulting Numbers: [7920] 7920,67 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[90, 94], Operations: ['3*30=90', '3+91=94'] Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 90*94=8460, Resulting Numbers: [8460] 8460,67 unequal: No Solution Exploring Operation: 90+94=184, Resulting Numbers: [184] 184,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[91, 30, 9], Operations: ['3*3=9'] Exploring Operation: 30+9=39, Resulting Numbers: [91, 39] Generated Node #0,1,0: 67:[91, 39] Operation: 30+9=39 Exploring Operation: 91-30=61, Resulting Numbers: [9, 61] Generated Node #0,1,1: 67:[9, 61] Operation: 91-30=61 Exploring Operation: 91-9=82, Resulting Numbers: [30, 82] Generated Node #0,1,2: 67:[30, 82] Operation: 91-9=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[91, 39], Operations: ['3*3=9', '30+9=39'] Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,67 unequal: No Solution Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[30, 82], Operations: ['3*3=9', '91-9=82'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[9, 61], Operations: ['3*3=9', '91-30=61'] Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,67 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 14, 8, 86, 27 ]
37
[ "14+8=22", "86-27=59", "59-22=37" ]
Current State: 37:[14, 8, 86, 27], Operations: [] Exploring Operation: 14+8=22, Resulting Numbers: [86, 27, 22] Generated Node #2: [86, 27, 22] from Operation: 14+8=22 Current State: 37:[86, 27, 22], Operations: ['14+8=22'] Exploring Operation: 86-27=59, Resulting Numbers: [22, 59] Generated Node #3: [22, 59] from Operation: 86-27=59 Current State: 37:[22, 59], Operations: ['14+8=22', '86-27=59'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[14, 8, 86, 27], Operations: [] Exploring Operation: 14+8=22, Resulting Numbers: [86, 27, 22] Generated Node #0,0: 37:[86, 27, 22] Operation: 14+8=22 Moving to Node #0,0 Current State: 37:[86, 27, 22], Operations: ['14+8=22'] Exploring Operation: 86-27=59, Resulting Numbers: [22, 59] Generated Node #0,0,0: 37:[22, 59] Operation: 86-27=59 Moving to Node #0,0,0 Current State: 37:[22, 59], Operations: ['14+8=22', '86-27=59'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[14, 8, 86, 27], Operations: [] Exploring Operation: 14+8=22, Resulting Numbers: [86, 27, 22] Generated Node #0,0: 37:[86, 27, 22] Operation: 14+8=22 Moving to Node #0,0 Current State: 37:[86, 27, 22], Operations: ['14+8=22'] Exploring Operation: 86-27=59, Resulting Numbers: [22, 59] Generated Node #0,0,0: 37:[22, 59] Operation: 86-27=59 Moving to Node #0,0,0 Current State: 37:[22, 59], Operations: ['14+8=22', '86-27=59'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 13, 30, 49, 19 ]
67
[ "13*49=637", "30*19=570", "637-570=67" ]
Current State: 67:[13, 30, 49, 19], Operations: [] Exploring Operation: 13*49=637, Resulting Numbers: [30, 19, 637] Generated Node #2: [30, 19, 637] from Operation: 13*49=637 Current State: 67:[30, 19, 637], Operations: ['13*49=637'] Exploring Operation: 30*19=570, Resulting Numbers: [637, 570] Generated Node #3: [637, 570] from Operation: 30*19=570 Current State: 67:[637, 570], Operations: ['13*49=637', '30*19=570'] Exploring Operation: 637-570=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[13, 30, 49, 19], Operations: [] Exploring Operation: 13+19=32, Resulting Numbers: [30, 49, 32] Generated Node #0,0: 67:[30, 49, 32] Operation: 13+19=32 Exploring Operation: 13+30=43, Resulting Numbers: [49, 19, 43] Generated Node #0,1: 67:[49, 19, 43] Operation: 13+30=43 Exploring Operation: 13+49=62, Resulting Numbers: [30, 19, 62] Generated Node #0,2: 67:[30, 19, 62] Operation: 13+49=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[30, 49, 32], Operations: ['13+19=32'] Exploring Operation: 30+32=62, Resulting Numbers: [49, 62] Generated Node #0,0,0: 67:[49, 62] Operation: 30+32=62 Exploring Operation: 30+49=79, Resulting Numbers: [32, 79] Generated Node #0,0,1: 67:[32, 79] Operation: 30+49=79 Exploring Operation: 49+32=81, Resulting Numbers: [30, 81] Generated Node #0,0,2: 67:[30, 81] Operation: 49+32=81 Moving to Node #0,0,0 Current State: 67:[49, 62], Operations: ['13+19=32', '30+32=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[32, 79], Operations: ['13+19=32', '30+49=79'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,67 unequal: No Solution Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[30, 81], Operations: ['13+19=32', '49+32=81'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 30+81=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 30*81=2430, Resulting Numbers: [2430] 2430,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[49, 19, 43], Operations: ['13+30=43'] Exploring Operation: 49+19=68, Resulting Numbers: [43, 68] Generated Node #0,1,0: 67:[43, 68] Operation: 49+19=68 Exploring Operation: 49-19=30, Resulting Numbers: [43, 30] Generated Node #0,1,1: 67:[43, 30] Operation: 49-19=30 Exploring Operation: 19+43=62, Resulting Numbers: [49, 62] Generated Node #0,1,2: 67:[49, 62] Operation: 19+43=62 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[49, 62], Operations: ['13+30=43', '19+43=62'] Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,67 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[43, 68], Operations: ['13+30=43', '49+19=68'] Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[43, 30], Operations: ['13+30=43', '49-19=30'] Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[30, 19, 62], Operations: ['13+49=62'] Exploring Operation: 30+19=49, Resulting Numbers: [62, 49] Generated Node #0,2,0: 67:[62, 49] Operation: 30+19=49 Exploring Operation: 19+62=81, Resulting Numbers: [30, 81] Generated Node #0,2,1: 67:[30, 81] Operation: 19+62=81 Exploring Operation: 30-19=11, Resulting Numbers: [62, 11] Generated Node #0,2,2: 67:[62, 11] Operation: 30-19=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[62, 49], Operations: ['13+49=62', '30+19=49'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 62+49=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 62*49=3038, Resulting Numbers: [3038] 3038,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[30, 81], Operations: ['13+49=62', '19+62=81'] Exploring Operation: 30*81=2430, Resulting Numbers: [2430] 2430,67 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 30+81=111, Resulting Numbers: [111] 111,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[62, 11], Operations: ['13+49=62', '30-19=11'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,67 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 27, 54, 97, 88 ]
72
[ "27+54=81", "97-88=9", "81-9=72" ]
Current State: 72:[27, 54, 97, 88], Operations: [] Exploring Operation: 27+54=81, Resulting Numbers: [97, 88, 81] Generated Node #2: [97, 88, 81] from Operation: 27+54=81 Current State: 72:[97, 88, 81], Operations: ['27+54=81'] Exploring Operation: 97-88=9, Resulting Numbers: [81, 9] Generated Node #3: [81, 9] from Operation: 97-88=9 Current State: 72:[81, 9], Operations: ['27+54=81', '97-88=9'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[27, 54, 97, 88], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [27, 88, 43] Generated Node #0,0: 72:[27, 88, 43] Operation: 97-54=43 Exploring Operation: 97-88=9, Resulting Numbers: [27, 54, 9] Generated Node #0,1: 72:[27, 54, 9] Operation: 97-88=9 Exploring Operation: 88-54=34, Resulting Numbers: [27, 97, 34] Generated Node #0,2: 72:[27, 97, 34] Operation: 88-54=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[27, 54, 9], Operations: ['97-88=9'] Exploring Operation: 54/9=6, Resulting Numbers: [27, 6] Generated Node #0,1,0: 72:[27, 6] Operation: 54/9=6 Exploring Operation: 54-27=27, Resulting Numbers: [9, 27] Generated Node #0,1,1: 72:[9, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [9, 2] Generated Node #0,1,2: 72:[9, 2] Operation: 54/27=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 72:[9, 2], Operations: ['97-88=9', '54/27=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[27, 6], Operations: ['97-88=9', '54/9=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[9, 27], Operations: ['97-88=9', '54-27=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[27, 88, 43], Operations: ['97-54=43'] Exploring Operation: 27+43=70, Resulting Numbers: [88, 70] Generated Node #0,0,0: 72:[88, 70] Operation: 27+43=70 Exploring Operation: 88-27=61, Resulting Numbers: [43, 61] Generated Node #0,0,1: 72:[43, 61] Operation: 88-27=61 Exploring Operation: 88-43=45, Resulting Numbers: [27, 45] Generated Node #0,0,2: 72:[27, 45] Operation: 88-43=45 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[27, 45], Operations: ['97-54=43', '88-43=45'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,72 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[27, 54, 97, 88], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [27, 88, 43] Generated Node #0,0: 72:[27, 88, 43] Operation: 97-54=43 Moving to Node #0,0 Current State: 72:[27, 88, 43], Operations: ['97-54=43'] Exploring Operation: 88-43=45, Resulting Numbers: [27, 45] Generated Node #0,0,2: 72:[27, 45] Operation: 88-43=45 Moving to Node #0,0,2 Current State: 72:[27, 45], Operations: ['97-54=43', '88-43=45'] Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 3, 87, 39, 75 ]
33
[ "87+39=126", "126/3=42", "75-42=33" ]
Current State: 33:[3, 87, 39, 75], Operations: [] Exploring Operation: 87+39=126, Resulting Numbers: [3, 75, 126] Generated Node #2: [3, 75, 126] from Operation: 87+39=126 Current State: 33:[3, 75, 126], Operations: ['87+39=126'] Exploring Operation: 126/3=42, Resulting Numbers: [75, 42] Generated Node #3: [75, 42] from Operation: 126/3=42 Current State: 33:[75, 42], Operations: ['87+39=126', '126/3=42'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[3, 87, 39, 75], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [3, 39, 12] Generated Node #0,0: 33:[3, 39, 12] Operation: 87-75=12 Exploring Operation: 87/3=29, Resulting Numbers: [39, 75, 29] Generated Node #0,1: 33:[39, 75, 29] Operation: 87/3=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[3, 39, 12], Operations: ['87-75=12'] Exploring Operation: 39/3=13, Resulting Numbers: [12, 13] Generated Node #0,0,0: 33:[12, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [12, 36] Generated Node #0,0,1: 33:[12, 36] Operation: 39-3=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[12, 13], Operations: ['87-75=12', '39/3=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[12, 36], Operations: ['87-75=12', '39-3=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[39, 75, 29], Operations: ['87/3=29'] Exploring Operation: 75-39=36, Resulting Numbers: [29, 36] Generated Node #0,1,0: 33:[29, 36] Operation: 75-39=36 Exploring Operation: 75-29=46, Resulting Numbers: [39, 46] Generated Node #0,1,1: 33:[39, 46] Operation: 75-29=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[29, 36], Operations: ['87/3=29', '75-39=36'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[39, 46], Operations: ['87/3=29', '75-29=46'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 36, 34, 35, 36 ]
72
[ "36+34=70", "70/35=2", "36*2=72" ]
Current State: 72:[36, 34, 35, 36], Operations: [] Exploring Operation: 36+34=70, Resulting Numbers: [35, 70] Generated Node #2: [35, 70] from Operation: 36+34=70 Current State: 72:[35, 70], Operations: ['36+34=70'] Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,72 equal: Goal Reached Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[36, 34, 35, 36], Operations: [] Exploring Operation: 36+34=70, Resulting Numbers: [35, 36, 70] Generated Node #0,0: 72:[35, 36, 70] Operation: 36+34=70 Exploring Operation: 36-34=2, Resulting Numbers: [36, 35, 2] Generated Node #0,1: 72:[36, 35, 2] Operation: 36-34=2 Exploring Operation: 35-34=1, Resulting Numbers: [36, 36, 1] Generated Node #0,2: 72:[36, 36, 1] Operation: 35-34=1 Exploring Operation: 36-34=2, Resulting Numbers: [35, 36, 2] Generated Node #0,3: 72:[35, 36, 2] Operation: 36-34=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[36, 35, 2], Operations: ['36-34=2'] Exploring Operation: 36+35=71, Resulting Numbers: [2, 71] Generated Node #0,1,0: 72:[2, 71] Operation: 36+35=71 Exploring Operation: 36/2=18, Resulting Numbers: [35, 18] Generated Node #0,1,1: 72:[35, 18] Operation: 36/2=18 Exploring Operation: 36*2=72, Resulting Numbers: [35, 72] Generated Node #0,1,2: 72:[35, 72] Operation: 36*2=72 Exploring Operation: 36-35=1, Resulting Numbers: [2, 1] Generated Node #0,1,3: 72:[2, 1] Operation: 36-35=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[2, 71], Operations: ['36-34=2', '36+35=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,72 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[35, 18], Operations: ['36-34=2', '36/2=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,72 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 72:[35, 72], Operations: ['36-34=2', '36*2=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,72 unequal: No Solution Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 72:[2, 1], Operations: ['36-34=2', '36-35=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[36, 36, 1], Operations: ['35-34=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36, 36] Generated Node #0,2,0: 72:[36, 36] Operation: 36*1=36 Exploring Operation: 36/1=36, Resulting Numbers: [36, 36] Generated Node #0,2,1: 72:[36, 36] Operation: 36/1=36 Exploring Operation: 36/1=36, Resulting Numbers: [36, 36] Generated Node #0,2,2: 72:[36, 36] Operation: 36/1=36 Exploring Operation: 36*1=36, Resulting Numbers: [36, 36] Generated Node #0,2,3: 72:[36, 36] Operation: 36*1=36 Moving to Node #0,2,0 Current State: 72:[36, 36], Operations: ['35-34=1', '36*1=36'] Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[36, 34, 35, 36], Operations: [] Exploring Operation: 35-34=1, Resulting Numbers: [36, 36, 1] Generated Node #0,2: 72:[36, 36, 1] Operation: 35-34=1 Moving to Node #0,2 Current State: 72:[36, 36, 1], Operations: ['35-34=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36, 36] Generated Node #0,2,0: 72:[36, 36] Operation: 36*1=36 Moving to Node #0,2,0 Current State: 72:[36, 36], Operations: ['35-34=1', '36*1=36'] Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 54, 26, 14, 42 ]
83
[ "54+26=80", "42/14=3", "80+3=83" ]
Current State: 83:[54, 26, 14, 42], Operations: [] Exploring Operation: 54+26=80, Resulting Numbers: [14, 42, 80] Generated Node #2: [14, 42, 80] from Operation: 54+26=80 Current State: 83:[14, 42, 80], Operations: ['54+26=80'] Exploring Operation: 42/14=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 42/14=3 Current State: 83:[80, 3], Operations: ['54+26=80', '42/14=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[54, 26, 14, 42], Operations: [] Exploring Operation: 26+42=68, Resulting Numbers: [54, 14, 68] Generated Node #0,0: 83:[54, 14, 68] Operation: 26+42=68 Exploring Operation: 54+14=68, Resulting Numbers: [26, 42, 68] Generated Node #0,1: 83:[26, 42, 68] Operation: 54+14=68 Exploring Operation: 26+14=40, Resulting Numbers: [54, 42, 40] Generated Node #0,2: 83:[54, 42, 40] Operation: 26+14=40 Exploring Operation: 54+26=80, Resulting Numbers: [14, 42, 80] Generated Node #0,3: 83:[14, 42, 80] Operation: 54+26=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[54, 14, 68], Operations: ['26+42=68'] Exploring Operation: 54-14=40, Resulting Numbers: [68, 40] Generated Node #0,0,0: 83:[68, 40] Operation: 54-14=40 Exploring Operation: 14+68=82, Resulting Numbers: [54, 82] Generated Node #0,0,1: 83:[54, 82] Operation: 14+68=82 Exploring Operation: 54+14=68, Resulting Numbers: [68, 68] Generated Node #0,0,2: 83:[68, 68] Operation: 54+14=68 Exploring Operation: 68-14=54, Resulting Numbers: [54, 54] Generated Node #0,0,3: 83:[54, 54] Operation: 68-14=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[54, 82], Operations: ['26+42=68', '14+68=82'] Exploring Operation: 54*82=4428, Resulting Numbers: [4428] 4428,83 unequal: No Solution Exploring Operation: 54+82=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,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:[68, 68], Operations: ['26+42=68', '54+14=68'] Exploring Operation: 68-68=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 68*68=4624, Resulting Numbers: [4624] 4624,83 unequal: No Solution Exploring Operation: 68+68=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 68/68=1, Resulting Numbers: [1] 1,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[68, 40], Operations: ['26+42=68', '54-14=40'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,83 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,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:[54, 54], Operations: ['26+42=68', '68-14=54'] Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[26, 42, 68], Operations: ['54+14=68'] Exploring Operation: 26+68=94, Resulting Numbers: [42, 94] Generated Node #0,1,0: 83:[42, 94] Operation: 26+68=94 Exploring Operation: 42-26=16, Resulting Numbers: [68, 16] Generated Node #0,1,1: 83:[68, 16] Operation: 42-26=16 Exploring Operation: 68-26=42, Resulting Numbers: [42, 42] Generated Node #0,1,2: 83:[42, 42] Operation: 68-26=42 Exploring Operation: 26+42=68, Resulting Numbers: [68, 68] Generated Node #0,1,3: 83:[68, 68] Operation: 26+42=68 Moving to Node #0,1,3 Current State: 83:[68, 68], Operations: ['54+14=68', '26+42=68'] Exploring Operation: 68-68=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 68+68=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 68*68=4624, Resulting Numbers: [4624] 4624,83 unequal: No Solution Exploring Operation: 68/68=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[42, 94], Operations: ['54+14=68', '26+68=94'] Exploring Operation: 42*94=3948, Resulting Numbers: [3948] 3948,83 unequal: No Solution Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,83 unequal: No Solution Exploring Operation: 42+94=136, Resulting Numbers: [136] 136,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[42, 42], Operations: ['54+14=68', '68-26=42'] Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,83 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[68, 16], Operations: ['54+14=68', '42-26=16'] Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,83 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,83 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[54, 42, 40], Operations: ['26+14=40'] Exploring Operation: 54+40=94, Resulting Numbers: [42, 94] Generated Node #0,2,0: 83:[42, 94] Operation: 54+40=94 Exploring Operation: 54+42=96, Resulting Numbers: [40, 96] Generated Node #0,2,1: 83:[40, 96] Operation: 54+42=96 Exploring Operation: 54-40=14, Resulting Numbers: [42, 14] Generated Node #0,2,2: 83:[42, 14] Operation: 54-40=14 Exploring Operation: 42+40=82, Resulting Numbers: [54, 82] Generated Node #0,2,3: 83:[54, 82] Operation: 42+40=82 Moving to Node #0,2,3 Current State: 83:[54, 82], Operations: ['26+14=40', '42+40=82'] Exploring Operation: 54*82=4428, Resulting Numbers: [4428] 4428,83 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 54+82=136, Resulting Numbers: [136] 136,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[42, 94], Operations: ['26+14=40', '54+40=94'] Exploring Operation: 42+94=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 42*94=3948, Resulting Numbers: [3948] 3948,83 unequal: No Solution Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[40, 96], Operations: ['26+14=40', '54+42=96'] Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 40*96=3840, Resulting Numbers: [3840] 3840,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[42, 14], Operations: ['26+14=40', '54-40=14'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 42*14=588, Resulting Numbers: [588] 588,83 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[14, 42, 80], Operations: ['54+26=80'] Exploring Operation: 42-14=28, Resulting Numbers: [80, 28] Generated Node #0,3,0: 83:[80, 28] Operation: 42-14=28 Exploring Operation: 14+80=94, Resulting Numbers: [42, 94] Generated Node #0,3,1: 83:[42, 94] Operation: 14+80=94 Exploring Operation: 14+42=56, Resulting Numbers: [80, 56] Generated Node #0,3,2: 83:[80, 56] Operation: 14+42=56 Exploring Operation: 80-14=66, Resulting Numbers: [42, 66] Generated Node #0,3,3: 83:[42, 66] Operation: 80-14=66 Moving to Node #0,3,2 Current State: 83:[80, 56], Operations: ['54+26=80', '14+42=56'] Exploring Operation: 80+56=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 80*56=4480, Resulting Numbers: [4480] 4480,83 unequal: No Solution Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[42, 94], Operations: ['54+26=80', '14+80=94'] Exploring Operation: 42+94=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 42*94=3948, Resulting Numbers: [3948] 3948,83 unequal: No Solution Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[42, 66], Operations: ['54+26=80', '80-14=66'] Exploring Operation: 42+66=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 42*66=2772, Resulting Numbers: [2772] 2772,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[80, 28], Operations: ['54+26=80', '42-14=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,83 unequal: No Solution Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,83 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,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
sum_heuristic
[ 63, 83, 3, 28 ]
90
[ "63/3=21", "83+28=111", "111-21=90" ]
Current State: 90:[63, 83, 3, 28], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [83, 28, 21] Generated Node #2: [83, 28, 21] from Operation: 63/3=21 Current State: 90:[83, 28, 21], Operations: ['63/3=21'] Exploring Operation: 83+28=111, Resulting Numbers: [21, 111] Generated Node #3: [21, 111] from Operation: 83+28=111 Current State: 90:[21, 111], Operations: ['63/3=21', '83+28=111'] Exploring Operation: 111-21=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[63, 83, 3, 28], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [3, 28, 20] Generated Node #0,0: 90:[3, 28, 20] Operation: 83-63=20 Exploring Operation: 63/3=21, Resulting Numbers: [83, 28, 21] Generated Node #0,1: 90:[83, 28, 21] Operation: 63/3=21 Exploring Operation: 63+28=91, Resulting Numbers: [83, 3, 91] Generated Node #0,2: 90:[83, 3, 91] Operation: 63+28=91 Exploring Operation: 63-28=35, Resulting Numbers: [83, 3, 35] Generated Node #0,3: 90:[83, 3, 35] Operation: 63-28=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[3, 28, 20], Operations: ['83-63=20'] Exploring Operation: 3+28=31, Resulting Numbers: [20, 31] Generated Node #0,0,0: 90:[20, 31] Operation: 3+28=31 Exploring Operation: 20-3=17, Resulting Numbers: [28, 17] Generated Node #0,0,1: 90:[28, 17] Operation: 20-3=17 Exploring Operation: 28+20=48, Resulting Numbers: [3, 48] Generated Node #0,0,2: 90:[3, 48] Operation: 28+20=48 Exploring Operation: 28-20=8, Resulting Numbers: [3, 8] Generated Node #0,0,3: 90:[3, 8] Operation: 28-20=8 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[3, 8], Operations: ['83-63=20', '28-20=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,90 unequal: No Solution No 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: 90:[20, 31], Operations: ['83-63=20', '3+28=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,90 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,90 unequal: No Solution No 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: 90:[28, 17], Operations: ['83-63=20', '20-3=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,90 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,90 unequal: No Solution No 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: 90:[3, 48], Operations: ['83-63=20', '28+20=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,90 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,90 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: 90:[83, 3, 91], Operations: ['63+28=91'] Exploring Operation: 83-3=80, Resulting Numbers: [91, 80] Generated Node #0,2,0: 90:[91, 80] Operation: 83-3=80 Exploring Operation: 83+3=86, Resulting Numbers: [91, 86] Generated Node #0,2,1: 90:[91, 86] Operation: 83+3=86 Exploring Operation: 91-83=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 90:[3, 8] Operation: 91-83=8 Exploring Operation: 91-3=88, Resulting Numbers: [83, 88] Generated Node #0,2,3: 90:[83, 88] Operation: 91-3=88 Moving to Node #0,2,2 Current State: 90:[3, 8], Operations: ['63+28=91', '91-83=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[91, 86], Operations: ['63+28=91', '83+3=86'] Exploring Operation: 91+86=177, Resulting Numbers: [177] 177,90 unequal: No Solution Exploring Operation: 91*86=7826, Resulting Numbers: [7826] 7826,90 unequal: No Solution Exploring Operation: 91-86=5, Resulting Numbers: [5] 5,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[83, 88], Operations: ['63+28=91', '91-3=88'] Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 83*88=7304, Resulting Numbers: [7304] 7304,90 unequal: No Solution Exploring Operation: 83+88=171, Resulting Numbers: [171] 171,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[91, 80], Operations: ['63+28=91', '83-3=80'] Exploring Operation: 91*80=7280, Resulting Numbers: [7280] 7280,90 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 91+80=171, Resulting Numbers: [171] 171,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 Current State: 90:[83, 28, 21], Operations: ['63/3=21'] Exploring Operation: 28-21=7, Resulting Numbers: [83, 7] Generated Node #0,1,0: 90:[83, 7] Operation: 28-21=7 Exploring Operation: 83+21=104, Resulting Numbers: [28, 104] Generated Node #0,1,1: 90:[28, 104] Operation: 83+21=104 Exploring Operation: 83-28=55, Resulting Numbers: [21, 55] Generated Node #0,1,2: 90:[21, 55] Operation: 83-28=55 Exploring Operation: 28+21=49, Resulting Numbers: [83, 49] Generated Node #0,1,3: 90:[83, 49] Operation: 28+21=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[83, 7], Operations: ['63/3=21', '28-21=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[63, 83, 3, 28], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [83, 28, 21] Generated Node #0,1: 90:[83, 28, 21] Operation: 63/3=21 Moving to Node #0,1 Current State: 90:[83, 28, 21], Operations: ['63/3=21'] Exploring Operation: 28-21=7, Resulting Numbers: [83, 7] Generated Node #0,1,0: 90:[83, 7] Operation: 28-21=7 Moving to Node #0,1,0 Current State: 90:[83, 7], Operations: ['63/3=21', '28-21=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_4
mult_heuristic
[ 82, 42, 12, 40 ]
88
[ "42-40=2", "12/2=6", "82+6=88" ]
Current State: 88:[82, 42, 12, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [82, 12, 2] Generated Node #2: [82, 12, 2] from Operation: 42-40=2 Current State: 88:[82, 12, 2], Operations: ['42-40=2'] Exploring Operation: 12/2=6, Resulting Numbers: [82, 6] Generated Node #3: [82, 6] from Operation: 12/2=6 Current State: 88:[82, 6], Operations: ['42-40=2', '12/2=6'] Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[82, 42, 12, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [82, 12, 2] Generated Node #0,0: 88:[82, 12, 2] Operation: 42-40=2 Exploring Operation: 82-40=42, Resulting Numbers: [42, 12, 42] Generated Node #0,1: 88:[42, 12, 42] Operation: 82-40=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[42, 12, 42], Operations: ['82-40=42'] Exploring Operation: 42-42=0, Resulting Numbers: [12, 0] Generated Node #0,1,0: 88:[12, 0] Operation: 42-42=0 Exploring Operation: 42/42=1, Resulting Numbers: [12, 1] Generated Node #0,1,1: 88:[12, 1] Operation: 42/42=1 Moving to Node #0,1,1 Current State: 88:[12, 1], Operations: ['82-40=42', '42/42=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[12, 0], Operations: ['82-40=42', '42-42=0'] Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 12+0=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 Current State: 88:[82, 12, 2], Operations: ['42-40=2'] Exploring Operation: 82+2=84, Resulting Numbers: [12, 84] Generated Node #0,0,0: 88:[12, 84] Operation: 82+2=84 Exploring Operation: 82/2=41, Resulting Numbers: [12, 41] Generated Node #0,0,1: 88:[12, 41] Operation: 82/2=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[12, 41], Operations: ['42-40=2', '82/2=41'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[12, 84], Operations: ['42-40=2', '82+2=84'] Exploring Operation: 12+84=96, Resulting Numbers: [96] 96,88 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 41, 1, 37, 89 ]
22
[ "41-37=4", "89-1=88", "88/4=22" ]
Current State: 22:[41, 1, 37, 89], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [1, 89, 4] Generated Node #2: [1, 89, 4] from Operation: 41-37=4 Current State: 22:[1, 89, 4], Operations: ['41-37=4'] Exploring Operation: 89-1=88, Resulting Numbers: [4, 88] Generated Node #3: [4, 88] from Operation: 89-1=88 Current State: 22:[4, 88], Operations: ['41-37=4', '89-1=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[41, 1, 37, 89], Operations: [] Exploring Operation: 89-37=52, Resulting Numbers: [41, 1, 52] Generated Node #0,0: 22:[41, 1, 52] Operation: 89-37=52 Exploring Operation: 41-1=40, Resulting Numbers: [37, 89, 40] Generated Node #0,1: 22:[37, 89, 40] Operation: 41-1=40 Exploring Operation: 89-41=48, Resulting Numbers: [1, 37, 48] Generated Node #0,2: 22:[1, 37, 48] Operation: 89-41=48 Exploring Operation: 37-1=36, Resulting Numbers: [41, 89, 36] Generated Node #0,3: 22:[41, 89, 36] Operation: 37-1=36 Exploring Operation: 41-37=4, Resulting Numbers: [1, 89, 4] Generated Node #0,4: 22:[1, 89, 4] Operation: 41-37=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[1, 37, 48], Operations: ['89-41=48'] Exploring Operation: 37-1=36, Resulting Numbers: [48, 36] Generated Node #0,2,0: 22:[48, 36] Operation: 37-1=36 Exploring Operation: 1*37=37, Resulting Numbers: [48, 37] Generated Node #0,2,1: 22:[48, 37] Operation: 1*37=37 Exploring Operation: 48-37=11, Resulting Numbers: [1, 11] Generated Node #0,2,2: 22:[1, 11] Operation: 48-37=11 Exploring Operation: 48-1=47, Resulting Numbers: [37, 47] Generated Node #0,2,3: 22:[37, 47] Operation: 48-1=47 Exploring Operation: 37/1=37, Resulting Numbers: [48, 37] Generated Node #0,2,4: 22:[48, 37] Operation: 37/1=37 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 22:[1, 11], Operations: ['89-41=48', '48-37=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,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,0 Current State: 22:[48, 36], Operations: ['89-41=48', '37-1=36'] Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,22 unequal: No Solution Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,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,3 Current State: 22:[37, 47], Operations: ['89-41=48', '48-1=47'] Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,22 unequal: No Solution Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,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:[48, 37], Operations: ['89-41=48', '1*37=37'] Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,22 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 22:[48, 37], Operations: ['89-41=48', '37/1=37'] Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,22 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,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,0 Current State: 22:[41, 1, 52], Operations: ['89-37=52'] Exploring Operation: 52-41=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 22:[1, 11] Operation: 52-41=11 Exploring Operation: 41-1=40, Resulting Numbers: [52, 40] Generated Node #0,0,1: 22:[52, 40] Operation: 41-1=40 Exploring Operation: 41*1=41, Resulting Numbers: [52, 41] Generated Node #0,0,2: 22:[52, 41] Operation: 41*1=41 Exploring Operation: 52-1=51, Resulting Numbers: [41, 51] Generated Node #0,0,3: 22:[41, 51] Operation: 52-1=51 Exploring Operation: 41/1=41, Resulting Numbers: [52, 41] Generated Node #0,0,4: 22:[52, 41] Operation: 41/1=41 Moving to Node #0,0,0 Current State: 22:[1, 11], Operations: ['89-37=52', '52-41=11'] Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[41, 51], Operations: ['89-37=52', '52-1=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[52, 40], Operations: ['89-37=52', '41-1=40'] Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,22 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[52, 41], Operations: ['89-37=52', '41*1=41'] Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,22 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[52, 41], Operations: ['89-37=52', '41/1=41'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,22 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[1, 89, 4], Operations: ['41-37=4'] Exploring Operation: 89-1=88, Resulting Numbers: [4, 88] Generated Node #0,4,0: 22:[4, 88] Operation: 89-1=88 Exploring Operation: 89-4=85, Resulting Numbers: [1, 85] Generated Node #0,4,1: 22:[1, 85] Operation: 89-4=85 Exploring Operation: 4-1=3, Resulting Numbers: [89, 3] Generated Node #0,4,2: 22:[89, 3] Operation: 4-1=3 Exploring Operation: 89/1=89, Resulting Numbers: [4, 89] Generated Node #0,4,3: 22:[4, 89] Operation: 89/1=89 Exploring Operation: 1*89=89, Resulting Numbers: [4, 89] Generated Node #0,4,4: 22:[4, 89] Operation: 1*89=89 Moving to Node #0,4,1 Current State: 22:[1, 85], Operations: ['41-37=4', '89-4=85'] Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,22 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,22 unequal: No Solution Moving to Node #0,4,2 Current State: 22:[89, 3], Operations: ['41-37=4', '4-1=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,22 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[4, 88], Operations: ['41-37=4', '89-1=88'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[41, 1, 37, 89], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [1, 89, 4] Generated Node #0,4: 22:[1, 89, 4] Operation: 41-37=4 Moving to Node #0,4 Current State: 22:[1, 89, 4], Operations: ['41-37=4'] Exploring Operation: 89-1=88, Resulting Numbers: [4, 88] Generated Node #0,4,0: 22:[4, 88] Operation: 89-1=88 Moving to Node #0,4,0 Current State: 22:[4, 88], Operations: ['41-37=4', '89-1=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_5
sum_heuristic
[ 18, 91, 74, 82 ]
72
[ "91-82=9", "18/9=2", "74-2=72" ]
Current State: 72:[18, 91, 74, 82], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [18, 74, 9] Generated Node #2: [18, 74, 9] from Operation: 91-82=9 Current State: 72:[18, 74, 9], Operations: ['91-82=9'] Exploring Operation: 18/9=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 18/9=2 Current State: 72:[74, 2], Operations: ['91-82=9', '18/9=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[18, 91, 74, 82], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [18, 74, 9] Generated Node #0,0: 72:[18, 74, 9] Operation: 91-82=9 Moving to Node #0,0 Current State: 72:[18, 74, 9], Operations: ['91-82=9'] Exploring Operation: 18-9=9, Resulting Numbers: [74, 9] Generated Node #0,0,0: 72:[74, 9] Operation: 18-9=9 Moving to Node #0,0,0 Current State: 72:[74, 9], Operations: ['91-82=9', '18-9=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,72 unequal: No Solution No solution found.
0
hs_1
mult_heuristic