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
[ 81, 35, 21, 66 ]
41
[ "81-35=46", "21+66=87", "87-46=41" ]
Current State: 41:[81, 35, 21, 66], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [21, 66, 46] Generated Node #2: [21, 66, 46] from Operation: 81-35=46 Current State: 41:[21, 66, 46], Operations: ['81-35=46'] Exploring Operation: 21+66=87, Resulting Numbers: [46, 87] Generated Node #3: [46, 87] from Operation: 21+66=87 Current State: 41:[46, 87], Operations: ['81-35=46', '21+66=87'] Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[81, 35, 21, 66], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [81, 35, 45] Generated Node #0,0: 41:[81, 35, 45] Operation: 66-21=45 Exploring Operation: 81-21=60, Resulting Numbers: [35, 66, 60] Generated Node #0,1: 41:[35, 66, 60] Operation: 81-21=60 Exploring Operation: 81-35=46, Resulting Numbers: [21, 66, 46] Generated Node #0,2: 41:[21, 66, 46] Operation: 81-35=46 Moving to Node #0,0 Current State: 41:[81, 35, 45], Operations: ['66-21=45'] Exploring Operation: 45-35=10, Resulting Numbers: [81, 10] Generated Node #0,0,0: 41:[81, 10] Operation: 45-35=10 Exploring Operation: 81-45=36, Resulting Numbers: [35, 36] Generated Node #0,0,1: 41:[35, 36] Operation: 81-45=36 Exploring Operation: 81-35=46, Resulting Numbers: [45, 46] Generated Node #0,0,2: 41:[45, 46] Operation: 81-35=46 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[45, 46], Operations: ['66-21=45', '81-35=46'] Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,41 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[35, 36], Operations: ['66-21=45', '81-45=36'] Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[81, 10], Operations: ['66-21=45', '45-35=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,41 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 41:[35, 66, 60], Operations: ['81-21=60'] Exploring Operation: 60-35=25, Resulting Numbers: [66, 25] Generated Node #0,1,0: 41:[66, 25] Operation: 60-35=25 Exploring Operation: 66-60=6, Resulting Numbers: [35, 6] Generated Node #0,1,1: 41:[35, 6] Operation: 66-60=6 Exploring Operation: 66-35=31, Resulting Numbers: [60, 31] Generated Node #0,1,2: 41:[60, 31] Operation: 66-35=31 Moving to Node #0,2 Current State: 41:[21, 66, 46], Operations: ['81-35=46'] Exploring Operation: 66-46=20, Resulting Numbers: [21, 20] Generated Node #0,2,0: 41:[21, 20] Operation: 66-46=20 Exploring Operation: 46-21=25, Resulting Numbers: [66, 25] Generated Node #0,2,1: 41:[66, 25] Operation: 46-21=25 Exploring Operation: 66-21=45, Resulting Numbers: [46, 45] Generated Node #0,2,2: 41:[46, 45] Operation: 66-21=45 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[46, 45], Operations: ['81-35=46', '66-21=45'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,41 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[21, 20], Operations: ['81-35=46', '66-46=20'] Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,41 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[81, 35, 21, 66], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [21, 66, 46] Generated Node #0,2: 41:[21, 66, 46] Operation: 81-35=46 Moving to Node #0,2 Current State: 41:[21, 66, 46], Operations: ['81-35=46'] Exploring Operation: 66-46=20, Resulting Numbers: [21, 20] Generated Node #0,2,0: 41:[21, 20] Operation: 66-46=20 Moving to Node #0,2,0 Current State: 41:[21, 20], Operations: ['81-35=46', '66-46=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 99, 30, 69, 40 ]
100
[ "99+30=129", "69-40=29", "129-29=100" ]
Current State: 100:[99, 30, 69, 40], Operations: [] Exploring Operation: 99+30=129, Resulting Numbers: [69, 40, 129] Generated Node #2: [69, 40, 129] from Operation: 99+30=129 Current State: 100:[69, 40, 129], Operations: ['99+30=129'] Exploring Operation: 69-40=29, Resulting Numbers: [129, 29] Generated Node #3: [129, 29] from Operation: 69-40=29 Current State: 100:[129, 29], Operations: ['99+30=129', '69-40=29'] Exploring Operation: 129-29=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[99, 30, 69, 40], Operations: [] Exploring Operation: 30+69=99, Resulting Numbers: [99, 40, 99] Generated Node #0,0: 100:[99, 40, 99] Operation: 30+69=99 Exploring Operation: 69+40=109, Resulting Numbers: [99, 30, 109] Generated Node #0,1: 100:[99, 30, 109] Operation: 69+40=109 Exploring Operation: 69-40=29, Resulting Numbers: [99, 30, 29] Generated Node #0,2: 100:[99, 30, 29] Operation: 69-40=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[99, 30, 29], Operations: ['69-40=29'] Exploring Operation: 30-29=1, Resulting Numbers: [99, 1] Generated Node #0,2,0: 100:[99, 1] Operation: 30-29=1 Exploring Operation: 30+29=59, Resulting Numbers: [99, 59] Generated Node #0,2,1: 100:[99, 59] Operation: 30+29=59 Exploring Operation: 99-30=69, Resulting Numbers: [29, 69] Generated Node #0,2,2: 100:[29, 69] Operation: 99-30=69 Moving to Node #0,2,0 Current State: 100:[99, 1], Operations: ['69-40=29', '30-29=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[99, 30, 69, 40], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [99, 30, 29] Generated Node #0,2: 100:[99, 30, 29] Operation: 69-40=29 Moving to Node #0,2 Current State: 100:[99, 30, 29], Operations: ['69-40=29'] Exploring Operation: 30-29=1, Resulting Numbers: [99, 1] Generated Node #0,2,0: 100:[99, 1] Operation: 30-29=1 Moving to Node #0,2,0 Current State: 100:[99, 1], Operations: ['69-40=29', '30-29=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 72, 11, 11, 9 ]
80
[ "72+9=81", "11/11=1", "81-1=80" ]
Current State: 80:[72, 11, 11, 9], Operations: [] Exploring Operation: 72+9=81, Resulting Numbers: [11, 11, 81] Generated Node #2: [11, 11, 81] from Operation: 72+9=81 Current State: 80:[11, 11, 81], Operations: ['72+9=81'] Exploring Operation: 11/11=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 11/11=1 Current State: 80:[81, 1], Operations: ['72+9=81', '11/11=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[72, 11, 11, 9], Operations: [] Exploring Operation: 72+11=83, Resulting Numbers: [11, 9, 83] Generated Node #0,0: 80:[11, 9, 83] Operation: 72+11=83 Exploring Operation: 72+9=81, Resulting Numbers: [11, 11, 81] Generated Node #0,1: 80:[11, 11, 81] Operation: 72+9=81 Exploring Operation: 72/9=8, Resulting Numbers: [11, 11, 8] Generated Node #0,2: 80:[11, 11, 8] Operation: 72/9=8 Exploring Operation: 72+11=83, Resulting Numbers: [11, 9, 83] Generated Node #0,3: 80:[11, 9, 83] Operation: 72+11=83 Exploring Operation: 11+9=20, Resulting Numbers: [72, 11, 20] Generated Node #0,4: 80:[72, 11, 20] Operation: 11+9=20 Moving to Node #0,2 Current State: 80:[11, 11, 8], Operations: ['72/9=8'] Exploring Operation: 11/11=1, Resulting Numbers: [8, 1] Generated Node #0,2,0: 80:[8, 1] Operation: 11/11=1 Exploring Operation: 11-8=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 80:[11, 3] Operation: 11-8=3 Exploring Operation: 11-11=0, Resulting Numbers: [8, 0] Generated Node #0,2,2: 80:[8, 0] Operation: 11-11=0 Exploring Operation: 11+8=19, Resulting Numbers: [11, 19] Generated Node #0,2,3: 80:[11, 19] Operation: 11+8=19 Exploring Operation: 11+11=22, Resulting Numbers: [8, 22] Generated Node #0,2,4: 80:[8, 22] Operation: 11+11=22 Moving to Node #0,1 Current State: 80:[11, 11, 81], Operations: ['72+9=81'] Exploring Operation: 81-11=70, Resulting Numbers: [11, 70] Generated Node #0,1,0: 80:[11, 70] Operation: 81-11=70 Exploring Operation: 81-11=70, Resulting Numbers: [11, 70] Generated Node #0,1,1: 80:[11, 70] Operation: 81-11=70 Exploring Operation: 11-11=0, Resulting Numbers: [81, 0] Generated Node #0,1,2: 80:[81, 0] Operation: 11-11=0 Exploring Operation: 11+11=22, Resulting Numbers: [81, 22] Generated Node #0,1,3: 80:[81, 22] Operation: 11+11=22 Exploring Operation: 11/11=1, Resulting Numbers: [81, 1] Generated Node #0,1,4: 80:[81, 1] Operation: 11/11=1 Moving to Node #0,0 Current State: 80:[11, 9, 83], Operations: ['72+11=83'] Exploring Operation: 11+9=20, Resulting Numbers: [83, 20] Generated Node #0,0,0: 80:[83, 20] Operation: 11+9=20 Exploring Operation: 83-9=74, Resulting Numbers: [11, 74] Generated Node #0,0,1: 80:[11, 74] Operation: 83-9=74 Exploring Operation: 83-11=72, Resulting Numbers: [9, 72] Generated Node #0,0,2: 80:[9, 72] Operation: 83-11=72 Exploring Operation: 9+83=92, Resulting Numbers: [11, 92] Generated Node #0,0,3: 80:[11, 92] Operation: 9+83=92 Exploring Operation: 11-9=2, Resulting Numbers: [83, 2] Generated Node #0,0,4: 80:[83, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[83, 20], Operations: ['72+11=83', '11+9=20'] Exploring Operation: 83*20=1660, Resulting Numbers: [1660] 1660,80 unequal: No Solution Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[83, 2], Operations: ['72+11=83', '11-9=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,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:[11, 74], Operations: ['72+11=83', '83-9=74'] Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 11+74=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 11*74=814, Resulting Numbers: [814] 814,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:[9, 72], Operations: ['72+11=83', '83-11=72'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,80 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,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:[11, 92], Operations: ['72+11=83', '9+83=92'] Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,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:[11, 9, 83], Operations: ['72+11=83'] Exploring Operation: 83-9=74, Resulting Numbers: [11, 74] Generated Node #0,3,0: 80:[11, 74] Operation: 83-9=74 Exploring Operation: 9+83=92, Resulting Numbers: [11, 92] Generated Node #0,3,1: 80:[11, 92] Operation: 9+83=92 Exploring Operation: 83-11=72, Resulting Numbers: [9, 72] Generated Node #0,3,2: 80:[9, 72] Operation: 83-11=72 Exploring Operation: 11+9=20, Resulting Numbers: [83, 20] Generated Node #0,3,3: 80:[83, 20] Operation: 11+9=20 Exploring Operation: 11-9=2, Resulting Numbers: [83, 2] Generated Node #0,3,4: 80:[83, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[83, 20], Operations: ['72+11=83', '11+9=20'] Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 83*20=1660, Resulting Numbers: [1660] 1660,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:[83, 2], Operations: ['72+11=83', '11-9=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,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:[11, 74], Operations: ['72+11=83', '83-9=74'] Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 11*74=814, Resulting Numbers: [814] 814,80 unequal: No Solution Exploring Operation: 11+74=85, Resulting Numbers: [85] 85,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,2 Current State: 80:[9, 72], Operations: ['72+11=83', '83-11=72'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,80 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,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:[11, 92], Operations: ['72+11=83', '9+83=92'] Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,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:[72, 11, 20], Operations: ['11+9=20'] Exploring Operation: 72+11=83, Resulting Numbers: [20, 83] Generated Node #0,4,0: 80:[20, 83] Operation: 72+11=83 Exploring Operation: 20-11=9, Resulting Numbers: [72, 9] Generated Node #0,4,1: 80:[72, 9] Operation: 20-11=9 Exploring Operation: 72-20=52, Resulting Numbers: [11, 52] Generated Node #0,4,2: 80:[11, 52] Operation: 72-20=52 Exploring Operation: 72+20=92, Resulting Numbers: [11, 92] Generated Node #0,4,3: 80:[11, 92] Operation: 72+20=92 Exploring Operation: 11+20=31, Resulting Numbers: [72, 31] Generated Node #0,4,4: 80:[72, 31] Operation: 11+20=31 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 80:[20, 83], Operations: ['11+9=20', '72+11=83'] Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,80 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,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,4,1 Current State: 80:[72, 9], Operations: ['11+9=20', '20-11=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,80 unequal: No Solution Exploring Operation: 72/9=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,4,2 Current State: 80:[11, 52], Operations: ['11+9=20', '72-20=52'] Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,80 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,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,4,3 Current State: 80:[11, 92], Operations: ['11+9=20', '72+20=92'] Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,80 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,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,4,4 Current State: 80:[72, 31], Operations: ['11+9=20', '11+20=31'] Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,80 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 80:[8, 1], Operations: ['72/9=8', '11/11=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[8, 0], Operations: ['72/9=8', '11-11=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[81, 1], Operations: ['72+9=81', '11/11=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[72, 11, 11, 9], Operations: [] Exploring Operation: 72+9=81, Resulting Numbers: [11, 11, 81] Generated Node #0,1: 80:[11, 11, 81] Operation: 72+9=81 Moving to Node #0,1 Current State: 80:[11, 11, 81], Operations: ['72+9=81'] Exploring Operation: 11/11=1, Resulting Numbers: [81, 1] Generated Node #0,1,4: 80:[81, 1] Operation: 11/11=1 Moving to Node #0,1,4 Current State: 80:[81, 1], Operations: ['72+9=81', '11/11=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.920139
hs_5
sum_heuristic
[ 54, 72, 53, 26 ]
47
[ "54+72=126", "53+26=79", "126-79=47" ]
Current State: 47:[54, 72, 53, 26], Operations: [] Exploring Operation: 54+72=126, Resulting Numbers: [53, 26, 126] Generated Node #2: [53, 26, 126] from Operation: 54+72=126 Current State: 47:[53, 26, 126], Operations: ['54+72=126'] Exploring Operation: 53+26=79, Resulting Numbers: [126, 79] Generated Node #3: [126, 79] from Operation: 53+26=79 Current State: 47:[126, 79], Operations: ['54+72=126', '53+26=79'] Exploring Operation: 126-79=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[54, 72, 53, 26], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [54, 53, 46] Generated Node #0,0: 47:[54, 53, 46] Operation: 72-26=46 Moving to Node #0,0 Current State: 47:[54, 53, 46], Operations: ['72-26=46'] Exploring Operation: 54-46=8, Resulting Numbers: [53, 8] Generated Node #0,0,0: 47:[53, 8] Operation: 54-46=8 Moving to Node #0,0,0 Current State: 47:[53, 8], Operations: ['72-26=46', '54-46=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,47 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 32, 34, 44, 76 ]
64
[ "34-32=2", "76-44=32", "2*32=64" ]
Current State: 64:[32, 34, 44, 76], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [44, 76, 2] Generated Node #2: [44, 76, 2] from Operation: 34-32=2 Current State: 64:[44, 76, 2], Operations: ['34-32=2'] Exploring Operation: 76-44=32, Resulting Numbers: [2, 32] Generated Node #3: [2, 32] from Operation: 76-44=32 Current State: 64:[2, 32], Operations: ['34-32=2', '76-44=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[32, 34, 44, 76], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [44, 76, 2] Generated Node #0,0: 64:[44, 76, 2] Operation: 34-32=2 Exploring Operation: 44-34=10, Resulting Numbers: [32, 76, 10] Generated Node #0,1: 64:[32, 76, 10] Operation: 44-34=10 Exploring Operation: 44-32=12, Resulting Numbers: [34, 76, 12] Generated Node #0,2: 64:[34, 76, 12] Operation: 44-32=12 Exploring Operation: 76-44=32, Resulting Numbers: [32, 34, 32] Generated Node #0,3: 64:[32, 34, 32] Operation: 76-44=32 Exploring Operation: 76-34=42, Resulting Numbers: [32, 44, 42] Generated Node #0,4: 64:[32, 44, 42] Operation: 76-34=42 Moving to Node #0,3 Current State: 64:[32, 34, 32], Operations: ['76-44=32'] Exploring Operation: 32+34=66, Resulting Numbers: [32, 66] Generated Node #0,3,0: 64:[32, 66] Operation: 32+34=66 Exploring Operation: 34-32=2, Resulting Numbers: [32, 2] Generated Node #0,3,1: 64:[32, 2] Operation: 34-32=2 Exploring Operation: 34+32=66, Resulting Numbers: [32, 66] Generated Node #0,3,2: 64:[32, 66] Operation: 34+32=66 Exploring Operation: 32+32=64, Resulting Numbers: [34, 64] Generated Node #0,3,3: 64:[34, 64] Operation: 32+32=64 Exploring Operation: 34-32=2, Resulting Numbers: [32, 2] Generated Node #0,3,4: 64:[32, 2] Operation: 34-32=2 Moving to Node #0,1 Current State: 64:[32, 76, 10], Operations: ['44-34=10'] Exploring Operation: 76-32=44, Resulting Numbers: [10, 44] Generated Node #0,1,0: 64:[10, 44] Operation: 76-32=44 Exploring Operation: 76-10=66, Resulting Numbers: [32, 66] Generated Node #0,1,1: 64:[32, 66] Operation: 76-10=66 Exploring Operation: 76+10=86, Resulting Numbers: [32, 86] Generated Node #0,1,2: 64:[32, 86] Operation: 76+10=86 Exploring Operation: 32+10=42, Resulting Numbers: [76, 42] Generated Node #0,1,3: 64:[76, 42] Operation: 32+10=42 Exploring Operation: 32-10=22, Resulting Numbers: [76, 22] Generated Node #0,1,4: 64:[76, 22] Operation: 32-10=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[32, 66], Operations: ['44-34=10', '76-10=66'] Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[10, 44], Operations: ['44-34=10', '76-32=44'] Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,64 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 64:[76, 22], Operations: ['44-34=10', '32-10=22'] Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,64 unequal: No Solution Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[32, 86], Operations: ['44-34=10', '76+10=86'] Exploring Operation: 32+86=118, Resulting Numbers: [118] 118,64 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 32*86=2752, Resulting Numbers: [2752] 2752,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[76, 42], Operations: ['44-34=10', '32+10=42'] Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,64 unequal: No Solution Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,64 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: 64:[34, 76, 12], Operations: ['44-32=12'] Exploring Operation: 76-12=64, Resulting Numbers: [34, 64] Generated Node #0,2,0: 64:[34, 64] Operation: 76-12=64 Exploring Operation: 76-34=42, Resulting Numbers: [12, 42] Generated Node #0,2,1: 64:[12, 42] Operation: 76-34=42 Exploring Operation: 76+12=88, Resulting Numbers: [34, 88] Generated Node #0,2,2: 64:[34, 88] Operation: 76+12=88 Exploring Operation: 34+12=46, Resulting Numbers: [76, 46] Generated Node #0,2,3: 64:[76, 46] Operation: 34+12=46 Exploring Operation: 34-12=22, Resulting Numbers: [76, 22] Generated Node #0,2,4: 64:[76, 22] Operation: 34-12=22 Moving to Node #0,4 Current State: 64:[32, 44, 42], Operations: ['76-34=42'] Exploring Operation: 32+44=76, Resulting Numbers: [42, 76] Generated Node #0,4,0: 64:[42, 76] Operation: 32+44=76 Exploring Operation: 44-42=2, Resulting Numbers: [32, 2] Generated Node #0,4,1: 64:[32, 2] Operation: 44-42=2 Exploring Operation: 44-32=12, Resulting Numbers: [42, 12] Generated Node #0,4,2: 64:[42, 12] Operation: 44-32=12 Exploring Operation: 32+42=74, Resulting Numbers: [44, 74] Generated Node #0,4,3: 64:[44, 74] Operation: 32+42=74 Exploring Operation: 42-32=10, Resulting Numbers: [44, 10] Generated Node #0,4,4: 64:[44, 10] Operation: 42-32=10 Moving to Node #0,0 Current State: 64:[44, 76, 2], Operations: ['34-32=2'] Exploring Operation: 76/2=38, Resulting Numbers: [44, 38] Generated Node #0,0,0: 64:[44, 38] Operation: 76/2=38 Exploring Operation: 44/2=22, Resulting Numbers: [76, 22] Generated Node #0,0,1: 64:[76, 22] Operation: 44/2=22 Exploring Operation: 76-2=74, Resulting Numbers: [44, 74] Generated Node #0,0,2: 64:[44, 74] Operation: 76-2=74 Exploring Operation: 76-44=32, Resulting Numbers: [2, 32] Generated Node #0,0,3: 64:[2, 32] Operation: 76-44=32 Exploring Operation: 44-2=42, Resulting Numbers: [76, 42] Generated Node #0,0,4: 64:[76, 42] Operation: 44-2=42 Moving to Node #0,3,1 Current State: 64:[32, 2], Operations: ['76-44=32', '34-32=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[32, 34, 44, 76], Operations: [] Exploring Operation: 76-44=32, Resulting Numbers: [32, 34, 32] Generated Node #0,3: 64:[32, 34, 32] Operation: 76-44=32 Moving to Node #0,3 Current State: 64:[32, 34, 32], Operations: ['76-44=32'] Exploring Operation: 34-32=2, Resulting Numbers: [32, 2] Generated Node #0,3,1: 64:[32, 2] Operation: 34-32=2 Moving to Node #0,3,1 Current State: 64:[32, 2], Operations: ['76-44=32', '34-32=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 61, 21, 48, 26 ]
33
[ "61*21=1281", "48*26=1248", "1281-1248=33" ]
Current State: 33:[61, 21, 48, 26], Operations: [] Exploring Operation: 61*21=1281, Resulting Numbers: [48, 26, 1281] Generated Node #2: [48, 26, 1281] from Operation: 61*21=1281 Current State: 33:[48, 26, 1281], Operations: ['61*21=1281'] Exploring Operation: 48*26=1248, Resulting Numbers: [1281, 1248] Generated Node #3: [1281, 1248] from Operation: 48*26=1248 Current State: 33:[1281, 1248], Operations: ['61*21=1281', '48*26=1248'] Exploring Operation: 1281-1248=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[61, 21, 48, 26], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [21, 26, 13] Generated Node #0,0: 33:[21, 26, 13] Operation: 61-48=13 Exploring Operation: 61-26=35, Resulting Numbers: [21, 48, 35] Generated Node #0,1: 33:[21, 48, 35] Operation: 61-26=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[21, 26, 13], Operations: ['61-48=13'] Exploring Operation: 26-21=5, Resulting Numbers: [13, 5] Generated Node #0,0,0: 33:[13, 5] Operation: 26-21=5 Exploring Operation: 21+13=34, Resulting Numbers: [26, 34] Generated Node #0,0,1: 33:[26, 34] Operation: 21+13=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[13, 5], Operations: ['61-48=13', '26-21=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,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:[26, 34], Operations: ['61-48=13', '21+13=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,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:[21, 48, 35], Operations: ['61-26=35'] Exploring Operation: 48-35=13, Resulting Numbers: [21, 13] Generated Node #0,1,0: 33:[21, 13] Operation: 48-35=13 Exploring Operation: 48-21=27, Resulting Numbers: [35, 27] Generated Node #0,1,1: 33:[35, 27] Operation: 48-21=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[35, 27], Operations: ['61-26=35', '48-21=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,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,0 Current State: 33:[21, 13], Operations: ['61-26=35', '48-35=13'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,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
[ 4, 84, 68, 64 ]
100
[ "68-64=4", "4*4=16", "84+16=100" ]
Current State: 100:[4, 84, 68, 64], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [4, 84, 4] Generated Node #2: [4, 84, 4] from Operation: 68-64=4 Current State: 100:[4, 84, 4], Operations: ['68-64=4'] Exploring Operation: 4*4=16, Resulting Numbers: [84, 16] Generated Node #3: [84, 16] from Operation: 4*4=16 Current State: 100:[84, 16], Operations: ['68-64=4', '4*4=16'] Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[4, 84, 68, 64], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [4, 68, 20] Generated Node #0,0: 100:[4, 68, 20] Operation: 84-64=20 Exploring Operation: 68-64=4, Resulting Numbers: [4, 84, 4] Generated Node #0,1: 100:[4, 84, 4] Operation: 68-64=4 Exploring Operation: 84-68=16, Resulting Numbers: [4, 64, 16] Generated Node #0,2: 100:[4, 64, 16] Operation: 84-68=16 Moving to Node #0,1 Current State: 100:[4, 84, 4], Operations: ['68-64=4'] Exploring Operation: 4+84=88, Resulting Numbers: [4, 88] Generated Node #0,1,0: 100:[4, 88] Operation: 4+84=88 Exploring Operation: 84/4=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 100:[4, 21] Operation: 84/4=21 Exploring Operation: 84/4=21, Resulting Numbers: [4, 21] Generated Node #0,1,2: 100:[4, 21] Operation: 84/4=21 Moving to Node #0,0 Current State: 100:[4, 68, 20], Operations: ['84-64=20'] Exploring Operation: 68+20=88, Resulting Numbers: [4, 88] Generated Node #0,0,0: 100:[4, 88] Operation: 68+20=88 Exploring Operation: 68-20=48, Resulting Numbers: [4, 48] Generated Node #0,0,1: 100:[4, 48] Operation: 68-20=48 Exploring Operation: 68/4=17, Resulting Numbers: [20, 17] Generated Node #0,0,2: 100:[20, 17] Operation: 68/4=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[4, 48], Operations: ['84-64=20', '68-20=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[20, 17], Operations: ['84-64=20', '68/4=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,100 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[4, 88], Operations: ['84-64=20', '68+20=88'] Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,100 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: 100:[4, 64, 16], Operations: ['84-68=16'] Exploring Operation: 64/16=4, Resulting Numbers: [4, 4] Generated Node #0,2,0: 100:[4, 4] Operation: 64/16=4 Exploring Operation: 64/4=16, Resulting Numbers: [16, 16] Generated Node #0,2,1: 100:[16, 16] Operation: 64/4=16 Exploring Operation: 64-16=48, Resulting Numbers: [4, 48] Generated Node #0,2,2: 100:[4, 48] Operation: 64-16=48 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[4, 4], Operations: ['84-68=16', '64/16=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[4, 48], Operations: ['84-68=16', '64-16=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[16, 16], Operations: ['84-68=16', '64/4=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 100:[4, 21], Operations: ['68-64=4', '84/4=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,100 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[4, 21], Operations: ['68-64=4', '84/4=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[4, 88], Operations: ['68-64=4', '4+84=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,100 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 62, 91, 29 ]
93
[ "62-35=27", "91+29=120", "120-27=93" ]
Current State: 93:[35, 62, 91, 29], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [91, 29, 27] Generated Node #2: [91, 29, 27] from Operation: 62-35=27 Current State: 93:[91, 29, 27], Operations: ['62-35=27'] Exploring Operation: 91+29=120, Resulting Numbers: [27, 120] Generated Node #3: [27, 120] from Operation: 91+29=120 Current State: 93:[27, 120], Operations: ['62-35=27', '91+29=120'] Exploring Operation: 120-27=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[35, 62, 91, 29], Operations: [] Exploring Operation: 91-62=29, Resulting Numbers: [35, 29, 29] Generated Node #0,0: 93:[35, 29, 29] Operation: 91-62=29 Exploring Operation: 62+29=91, Resulting Numbers: [35, 91, 91] Generated Node #0,1: 93:[35, 91, 91] Operation: 62+29=91 Exploring Operation: 35+62=97, Resulting Numbers: [91, 29, 97] Generated Node #0,2: 93:[91, 29, 97] Operation: 35+62=97 Exploring Operation: 62-35=27, Resulting Numbers: [91, 29, 27] Generated Node #0,3: 93:[91, 29, 27] Operation: 62-35=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[35, 29, 29], Operations: ['91-62=29'] Exploring Operation: 29-29=0, Resulting Numbers: [35, 0] Generated Node #0,0,0: 93:[35, 0] Operation: 29-29=0 Exploring Operation: 35-29=6, Resulting Numbers: [29, 6] Generated Node #0,0,1: 93:[29, 6] Operation: 35-29=6 Exploring Operation: 29/29=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 93:[35, 1] Operation: 29/29=1 Exploring Operation: 35-29=6, Resulting Numbers: [29, 6] Generated Node #0,0,3: 93:[29, 6] Operation: 35-29=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[29, 6], Operations: ['91-62=29', '35-29=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[29, 6], Operations: ['91-62=29', '35-29=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[35, 1], Operations: ['91-62=29', '29/29=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[35, 0], Operations: ['91-62=29', '29-29=0'] Exploring Operation: 35-0=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[35, 91, 91], Operations: ['62+29=91'] Exploring Operation: 91/91=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 93:[35, 1] Operation: 91/91=1 Exploring Operation: 91-35=56, Resulting Numbers: [91, 56] Generated Node #0,1,1: 93:[91, 56] Operation: 91-35=56 Exploring Operation: 91-35=56, Resulting Numbers: [91, 56] Generated Node #0,1,2: 93:[91, 56] Operation: 91-35=56 Exploring Operation: 91-91=0, Resulting Numbers: [35, 0] Generated Node #0,1,3: 93:[35, 0] Operation: 91-91=0 Moving to Node #0,1,0 Current State: 93:[35, 1], Operations: ['62+29=91', '91/91=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[35, 0], Operations: ['62+29=91', '91-91=0'] Exploring Operation: 35-0=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[91, 56], Operations: ['62+29=91', '91-35=56'] Exploring Operation: 91+56=147, Resulting Numbers: [147] 147,93 unequal: No Solution Exploring Operation: 91-56=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 91*56=5096, Resulting Numbers: [5096] 5096,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[91, 56], Operations: ['62+29=91', '91-35=56'] Exploring Operation: 91+56=147, Resulting Numbers: [147] 147,93 unequal: No Solution Exploring Operation: 91-56=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 91*56=5096, Resulting Numbers: [5096] 5096,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[91, 29, 97], Operations: ['35+62=97'] Exploring Operation: 97-91=6, Resulting Numbers: [29, 6] Generated Node #0,2,0: 93:[29, 6] Operation: 97-91=6 Exploring Operation: 91+29=120, Resulting Numbers: [97, 120] Generated Node #0,2,1: 93:[97, 120] Operation: 91+29=120 Exploring Operation: 91-29=62, Resulting Numbers: [97, 62] Generated Node #0,2,2: 93:[97, 62] Operation: 91-29=62 Exploring Operation: 97-29=68, Resulting Numbers: [91, 68] Generated Node #0,2,3: 93:[91, 68] Operation: 97-29=68 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[29, 6], Operations: ['35+62=97', '97-91=6'] Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[91, 68], Operations: ['35+62=97', '97-29=68'] Exploring Operation: 91+68=159, Resulting Numbers: [159] 159,93 unequal: No Solution Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 91*68=6188, Resulting Numbers: [6188] 6188,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[97, 120], Operations: ['35+62=97', '91+29=120'] Exploring Operation: 97*120=11640, Resulting Numbers: [11640] 11640,93 unequal: No Solution Exploring Operation: 97+120=217, Resulting Numbers: [217] 217,93 unequal: No Solution Exploring Operation: 120-97=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[97, 62], Operations: ['35+62=97', '91-29=62'] Exploring Operation: 97*62=6014, Resulting Numbers: [6014] 6014,93 unequal: No Solution Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 97+62=159, Resulting Numbers: [159] 159,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[91, 29, 27], Operations: ['62-35=27'] Exploring Operation: 91+29=120, Resulting Numbers: [27, 120] Generated Node #0,3,0: 93:[27, 120] Operation: 91+29=120 Exploring Operation: 29-27=2, Resulting Numbers: [91, 2] Generated Node #0,3,1: 93:[91, 2] Operation: 29-27=2 Exploring Operation: 91+27=118, Resulting Numbers: [29, 118] Generated Node #0,3,2: 93:[29, 118] Operation: 91+27=118 Exploring Operation: 29+27=56, Resulting Numbers: [91, 56] Generated Node #0,3,3: 93:[91, 56] Operation: 29+27=56 Moving to Node #0,3,1 Current State: 93:[91, 2], Operations: ['62-35=27', '29-27=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[35, 62, 91, 29], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [91, 29, 27] Generated Node #0,3: 93:[91, 29, 27] Operation: 62-35=27 Moving to Node #0,3 Current State: 93:[91, 29, 27], Operations: ['62-35=27'] Exploring Operation: 29-27=2, Resulting Numbers: [91, 2] Generated Node #0,3,1: 93:[91, 2] Operation: 29-27=2 Moving to Node #0,3,1 Current State: 93:[91, 2], Operations: ['62-35=27', '29-27=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
mult_heuristic
[ 45, 78, 66, 66 ]
34
[ "78-45=33", "66/66=1", "33+1=34" ]
Current State: 34:[45, 78, 66, 66], Operations: [] Exploring Operation: 78-45=33, Resulting Numbers: [66, 66, 33] Generated Node #2: [66, 66, 33] from Operation: 78-45=33 Current State: 34:[66, 66, 33], Operations: ['78-45=33'] Exploring Operation: 66/66=1, Resulting Numbers: [33, 1] Generated Node #3: [33, 1] from Operation: 66/66=1 Current State: 34:[33, 1], Operations: ['78-45=33', '66/66=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[45, 78, 66, 66], Operations: [] Exploring Operation: 66-66=0, Resulting Numbers: [45, 78, 0] Generated Node #0,0: 34:[45, 78, 0] Operation: 66-66=0 Exploring Operation: 66/66=1, Resulting Numbers: [45, 78, 1] Generated Node #0,1: 34:[45, 78, 1] Operation: 66/66=1 Exploring Operation: 78-66=12, Resulting Numbers: [45, 66, 12] Generated Node #0,2: 34:[45, 66, 12] Operation: 78-66=12 Exploring Operation: 78-66=12, Resulting Numbers: [45, 66, 12] Generated Node #0,3: 34:[45, 66, 12] Operation: 78-66=12 Moving to Node #0,2 Current State: 34:[45, 66, 12], Operations: ['78-66=12'] Exploring Operation: 66-45=21, Resulting Numbers: [12, 21] Generated Node #0,2,0: 34:[12, 21] Operation: 66-45=21 Exploring Operation: 66-12=54, Resulting Numbers: [45, 54] Generated Node #0,2,1: 34:[45, 54] Operation: 66-12=54 Exploring Operation: 45+12=57, Resulting Numbers: [66, 57] Generated Node #0,2,2: 34:[66, 57] Operation: 45+12=57 Exploring Operation: 45-12=33, Resulting Numbers: [66, 33] Generated Node #0,2,3: 34:[66, 33] Operation: 45-12=33 Moving to Node #0,3 Current State: 34:[45, 66, 12], Operations: ['78-66=12'] Exploring Operation: 45-12=33, Resulting Numbers: [66, 33] Generated Node #0,3,0: 34:[66, 33] Operation: 45-12=33 Exploring Operation: 66-45=21, Resulting Numbers: [12, 21] Generated Node #0,3,1: 34:[12, 21] Operation: 66-45=21 Exploring Operation: 45+12=57, Resulting Numbers: [66, 57] Generated Node #0,3,2: 34:[66, 57] Operation: 45+12=57 Exploring Operation: 66-12=54, Resulting Numbers: [45, 54] Generated Node #0,3,3: 34:[45, 54] Operation: 66-12=54 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[12, 21], Operations: ['78-66=12', '66-45=21'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,34 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[45, 54], Operations: ['78-66=12', '66-12=54'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,34 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[66, 33], Operations: ['78-66=12', '45-12=33'] Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,34 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[66, 57], Operations: ['78-66=12', '45+12=57'] Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 66+57=123, Resulting Numbers: [123] 123,34 unequal: No Solution Exploring Operation: 66*57=3762, Resulting Numbers: [3762] 3762,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 34:[45, 78, 1], Operations: ['66/66=1'] Exploring Operation: 78-1=77, Resulting Numbers: [45, 77] Generated Node #0,1,0: 34:[45, 77] Operation: 78-1=77 Exploring Operation: 45*1=45, Resulting Numbers: [78, 45] Generated Node #0,1,1: 34:[78, 45] Operation: 45*1=45 Exploring Operation: 45-1=44, Resulting Numbers: [78, 44] Generated Node #0,1,2: 34:[78, 44] Operation: 45-1=44 Exploring Operation: 78-45=33, Resulting Numbers: [1, 33] Generated Node #0,1,3: 34:[1, 33] Operation: 78-45=33 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[1, 33], Operations: ['66/66=1', '78-45=33'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[45, 78, 66, 66], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [45, 78, 1] Generated Node #0,1: 34:[45, 78, 1] Operation: 66/66=1 Moving to Node #0,1 Current State: 34:[45, 78, 1], Operations: ['66/66=1'] Exploring Operation: 78-45=33, Resulting Numbers: [1, 33] Generated Node #0,1,3: 34:[1, 33] Operation: 78-45=33 Moving to Node #0,1,3 Current State: 34:[1, 33], Operations: ['66/66=1', '78-45=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 22, 69, 81, 27 ]
44
[ "69-22=47", "81/27=3", "47-3=44" ]
Current State: 44:[22, 69, 81, 27], Operations: [] Exploring Operation: 69-22=47, Resulting Numbers: [81, 27, 47] Generated Node #2: [81, 27, 47] from Operation: 69-22=47 Current State: 44:[81, 27, 47], Operations: ['69-22=47'] Exploring Operation: 81/27=3, Resulting Numbers: [47, 3] Generated Node #3: [47, 3] from Operation: 81/27=3 Current State: 44:[47, 3], Operations: ['69-22=47', '81/27=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[22, 69, 81, 27], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [22, 27, 12] Generated Node #0,0: 44:[22, 27, 12] Operation: 81-69=12 Exploring Operation: 81/27=3, Resulting Numbers: [22, 69, 3] Generated Node #0,1: 44:[22, 69, 3] Operation: 81/27=3 Exploring Operation: 81-27=54, Resulting Numbers: [22, 69, 54] Generated Node #0,2: 44:[22, 69, 54] Operation: 81-27=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[22, 27, 12], Operations: ['81-69=12'] Exploring Operation: 27+12=39, Resulting Numbers: [22, 39] Generated Node #0,0,0: 44:[22, 39] Operation: 27+12=39 Exploring Operation: 27-12=15, Resulting Numbers: [22, 15] Generated Node #0,0,1: 44:[22, 15] Operation: 27-12=15 Exploring Operation: 27-22=5, Resulting Numbers: [12, 5] Generated Node #0,0,2: 44:[12, 5] Operation: 27-22=5 Moving to Node #0,0,2 Current State: 44:[12, 5], Operations: ['81-69=12', '27-22=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[22, 15], Operations: ['81-69=12', '27-12=15'] Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,44 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[22, 39], Operations: ['81-69=12', '27+12=39'] Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,44 unequal: No Solution Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[22, 69, 3], Operations: ['81/27=3'] Exploring Operation: 69-22=47, Resulting Numbers: [3, 47] Generated Node #0,1,0: 44:[3, 47] Operation: 69-22=47 Exploring Operation: 69-3=66, Resulting Numbers: [22, 66] Generated Node #0,1,1: 44:[22, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [22, 23] Generated Node #0,1,2: 44:[22, 23] Operation: 69/3=23 Moving to Node #0,1,2 Current State: 44:[22, 23], Operations: ['81/27=3', '69/3=23'] Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,44 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[3, 47], Operations: ['81/27=3', '69-22=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,44 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[22, 69, 81, 27], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [22, 69, 3] Generated Node #0,1: 44:[22, 69, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 44:[22, 69, 3], Operations: ['81/27=3'] Exploring Operation: 69-22=47, Resulting Numbers: [3, 47] Generated Node #0,1,0: 44:[3, 47] Operation: 69-22=47 Moving to Node #0,1,0 Current State: 44:[3, 47], Operations: ['81/27=3', '69-22=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 2, 6, 49, 38 ]
55
[ "38-2=36", "36/6=6", "49+6=55" ]
Current State: 55:[2, 6, 49, 38], Operations: [] Exploring Operation: 38-2=36, Resulting Numbers: [6, 49, 36] Generated Node #2: [6, 49, 36] from Operation: 38-2=36 Current State: 55:[6, 49, 36], Operations: ['38-2=36'] Exploring Operation: 36/6=6, Resulting Numbers: [49, 6] Generated Node #3: [49, 6] from Operation: 36/6=6 Current State: 55:[49, 6], Operations: ['38-2=36', '36/6=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[2, 6, 49, 38], Operations: [] Exploring Operation: 6+38=44, Resulting Numbers: [2, 49, 44] Generated Node #0,0: 55:[2, 49, 44] Operation: 6+38=44 Exploring Operation: 49-38=11, Resulting Numbers: [2, 6, 11] Generated Node #0,1: 55:[2, 6, 11] Operation: 49-38=11 Exploring Operation: 6+49=55, Resulting Numbers: [2, 38, 55] Generated Node #0,2: 55:[2, 38, 55] Operation: 6+49=55 Exploring Operation: 2+49=51, Resulting Numbers: [6, 38, 51] Generated Node #0,3: 55:[6, 38, 51] Operation: 2+49=51 Exploring Operation: 38/2=19, Resulting Numbers: [6, 49, 19] Generated Node #0,4: 55:[6, 49, 19] Operation: 38/2=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[2, 6, 11], Operations: ['49-38=11'] Exploring Operation: 6-2=4, Resulting Numbers: [11, 4] Generated Node #0,1,0: 55:[11, 4] Operation: 6-2=4 Exploring Operation: 2*6=12, Resulting Numbers: [11, 12] Generated Node #0,1,1: 55:[11, 12] Operation: 2*6=12 Exploring Operation: 2+11=13, Resulting Numbers: [6, 13] Generated Node #0,1,2: 55:[6, 13] Operation: 2+11=13 Exploring Operation: 6/2=3, Resulting Numbers: [11, 3] Generated Node #0,1,3: 55:[11, 3] Operation: 6/2=3 Exploring Operation: 2+6=8, Resulting Numbers: [11, 8] Generated Node #0,1,4: 55:[11, 8] Operation: 2+6=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[11, 4], Operations: ['49-38=11', '6-2=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,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,1,1 Current State: 55:[11, 12], Operations: ['49-38=11', '2*6=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,55 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,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,1,3 Current State: 55:[11, 3], Operations: ['49-38=11', '6/2=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,1,2 Current State: 55:[6, 13], Operations: ['49-38=11', '2+11=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,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,1,4 Current State: 55:[11, 8], Operations: ['49-38=11', '2+6=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,55 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,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:[6, 49, 19], Operations: ['38/2=19'] Exploring Operation: 49+19=68, Resulting Numbers: [6, 68] Generated Node #0,4,0: 55:[6, 68] Operation: 49+19=68 Exploring Operation: 6+19=25, Resulting Numbers: [49, 25] Generated Node #0,4,1: 55:[49, 25] Operation: 6+19=25 Exploring Operation: 49-6=43, Resulting Numbers: [19, 43] Generated Node #0,4,2: 55:[19, 43] Operation: 49-6=43 Exploring Operation: 6+49=55, Resulting Numbers: [19, 55] Generated Node #0,4,3: 55:[19, 55] Operation: 6+49=55 Exploring Operation: 19-6=13, Resulting Numbers: [49, 13] Generated Node #0,4,4: 55:[49, 13] Operation: 19-6=13 Moving to Node #0,4,3 Current State: 55:[19, 55], Operations: ['38/2=19', '6+49=55'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 19*55=1045, Resulting Numbers: [1045] 1045,55 unequal: No Solution Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[49, 13], Operations: ['38/2=19', '19-6=13'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,55 unequal: No Solution Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[6, 68], Operations: ['38/2=19', '49+19=68'] Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,55 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[49, 25], Operations: ['38/2=19', '6+19=25'] Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,55 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[19, 43], Operations: ['38/2=19', '49-6=43'] Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,55 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,55 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[2, 49, 44], Operations: ['6+38=44'] Exploring Operation: 49-2=47, Resulting Numbers: [44, 47] Generated Node #0,0,0: 55:[44, 47] Operation: 49-2=47 Exploring Operation: 2+44=46, Resulting Numbers: [49, 46] Generated Node #0,0,1: 55:[49, 46] Operation: 2+44=46 Exploring Operation: 49-44=5, Resulting Numbers: [2, 5] Generated Node #0,0,2: 55:[2, 5] Operation: 49-44=5 Exploring Operation: 2+49=51, Resulting Numbers: [44, 51] Generated Node #0,0,3: 55:[44, 51] Operation: 2+49=51 Exploring Operation: 44/2=22, Resulting Numbers: [49, 22] Generated Node #0,0,4: 55:[49, 22] Operation: 44/2=22 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[2, 5], Operations: ['6+38=44', '49-44=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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:[49, 46], Operations: ['6+38=44', '2+44=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,55 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,55 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,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:[44, 51], Operations: ['6+38=44', '2+49=51'] Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,55 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,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,4 Current State: 55:[49, 22], Operations: ['6+38=44', '44/2=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,55 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,55 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,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:[44, 47], Operations: ['6+38=44', '49-2=47'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,55 unequal: No Solution Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,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,2 Current State: 55:[2, 38, 55], Operations: ['6+49=55'] Exploring Operation: 38-2=36, Resulting Numbers: [55, 36] Generated Node #0,2,0: 55:[55, 36] Operation: 38-2=36 Exploring Operation: 2+38=40, Resulting Numbers: [55, 40] Generated Node #0,2,1: 55:[55, 40] Operation: 2+38=40 Exploring Operation: 38/2=19, Resulting Numbers: [55, 19] Generated Node #0,2,2: 55:[55, 19] Operation: 38/2=19 Exploring Operation: 55-38=17, Resulting Numbers: [2, 17] Generated Node #0,2,3: 55:[2, 17] Operation: 55-38=17 Exploring Operation: 2+55=57, Resulting Numbers: [38, 57] Generated Node #0,2,4: 55:[38, 57] Operation: 2+55=57 Moving to Node #0,2,2 Current State: 55:[55, 19], Operations: ['6+49=55', '38/2=19'] Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,55 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[2, 17], Operations: ['6+49=55', '55-38=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[55, 40], Operations: ['6+49=55', '2+38=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,55 unequal: No Solution Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[55, 36], Operations: ['6+49=55', '38-2=36'] Exploring Operation: 55*36=1980, Resulting Numbers: [1980] 1980,55 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[38, 57], Operations: ['6+49=55', '2+55=57'] Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,55 unequal: No Solution Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,55 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[6, 38, 51], Operations: ['2+49=51'] Exploring Operation: 38-6=32, Resulting Numbers: [51, 32] Generated Node #0,3,0: 55:[51, 32] Operation: 38-6=32 Exploring Operation: 6+38=44, Resulting Numbers: [51, 44] Generated Node #0,3,1: 55:[51, 44] Operation: 6+38=44 Exploring Operation: 51-38=13, Resulting Numbers: [6, 13] Generated Node #0,3,2: 55:[6, 13] Operation: 51-38=13 Exploring Operation: 51-6=45, Resulting Numbers: [38, 45] Generated Node #0,3,3: 55:[38, 45] Operation: 51-6=45 Exploring Operation: 6+51=57, Resulting Numbers: [38, 57] Generated Node #0,3,4: 55:[38, 57] Operation: 6+51=57 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[6, 13], Operations: ['2+49=51', '51-38=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,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,3,1 Current State: 55:[51, 44], Operations: ['2+49=51', '6+38=44'] Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,55 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,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,3,4 Current State: 55:[38, 57], Operations: ['2+49=51', '6+51=57'] Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,55 unequal: No Solution Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,55 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,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,3,0 Current State: 55:[51, 32], Operations: ['2+49=51', '38-6=32'] Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 51*32=1632, Resulting Numbers: [1632] 1632,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,3,3 Current State: 55:[38, 45], Operations: ['2+49=51', '51-6=45'] Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,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 No solution found.
0
hs_5
mult_heuristic
[ 18, 54, 24, 24 ]
36
[ "54-18=36", "24-24=0", "36+0=36" ]
Current State: 36:[18, 54, 24, 24], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [24, 24, 36] Generated Node #2: [24, 24, 36] from Operation: 54-18=36 Current State: 36:[24, 24, 36], Operations: ['54-18=36'] Exploring Operation: 24-24=0, Resulting Numbers: [36, 0] Generated Node #3: [36, 0] from Operation: 24-24=0 Current State: 36:[36, 0], Operations: ['54-18=36', '24-24=0'] Exploring Operation: 36+0=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[18, 54, 24, 24], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [24, 24, 36] Generated Node #0,0: 36:[24, 24, 36] Operation: 54-18=36 Exploring Operation: 54-24=30, Resulting Numbers: [18, 24, 30] Generated Node #0,1: 36:[18, 24, 30] Operation: 54-24=30 Exploring Operation: 54-24=30, Resulting Numbers: [18, 24, 30] Generated Node #0,2: 36:[18, 24, 30] Operation: 54-24=30 Exploring Operation: 24/24=1, Resulting Numbers: [18, 54, 1] Generated Node #0,3: 36:[18, 54, 1] Operation: 24/24=1 Exploring Operation: 54/18=3, Resulting Numbers: [24, 24, 3] Generated Node #0,4: 36:[24, 24, 3] Operation: 54/18=3 Moving to Node #0,0 Current State: 36:[24, 24, 36], Operations: ['54-18=36'] Exploring Operation: 36-24=12, Resulting Numbers: [24, 12] Generated Node #0,0,0: 36:[24, 12] Operation: 36-24=12 Exploring Operation: 24+24=48, Resulting Numbers: [36, 48] Generated Node #0,0,1: 36:[36, 48] Operation: 24+24=48 Exploring Operation: 24-24=0, Resulting Numbers: [36, 0] Generated Node #0,0,2: 36:[36, 0] Operation: 24-24=0 Exploring Operation: 24/24=1, Resulting Numbers: [36, 1] Generated Node #0,0,3: 36:[36, 1] Operation: 24/24=1 Exploring Operation: 36-24=12, Resulting Numbers: [24, 12] Generated Node #0,0,4: 36:[24, 12] Operation: 36-24=12 Moving to Node #0,2 Current State: 36:[18, 24, 30], Operations: ['54-24=30'] Exploring Operation: 18+30=48, Resulting Numbers: [24, 48] Generated Node #0,2,0: 36:[24, 48] Operation: 18+30=48 Exploring Operation: 30-24=6, Resulting Numbers: [18, 6] Generated Node #0,2,1: 36:[18, 6] Operation: 30-24=6 Exploring Operation: 24-18=6, Resulting Numbers: [30, 6] Generated Node #0,2,2: 36:[30, 6] Operation: 24-18=6 Exploring Operation: 18+24=42, Resulting Numbers: [30, 42] Generated Node #0,2,3: 36:[30, 42] Operation: 18+24=42 Exploring Operation: 30-18=12, Resulting Numbers: [24, 12] Generated Node #0,2,4: 36:[24, 12] Operation: 30-18=12 Moving to Node #0,1 Current State: 36:[18, 24, 30], Operations: ['54-24=30'] Exploring Operation: 18+24=42, Resulting Numbers: [30, 42] Generated Node #0,1,0: 36:[30, 42] Operation: 18+24=42 Exploring Operation: 30-18=12, Resulting Numbers: [24, 12] Generated Node #0,1,1: 36:[24, 12] Operation: 30-18=12 Exploring Operation: 30-24=6, Resulting Numbers: [18, 6] Generated Node #0,1,2: 36:[18, 6] Operation: 30-24=6 Exploring Operation: 18+30=48, Resulting Numbers: [24, 48] Generated Node #0,1,3: 36:[24, 48] Operation: 18+30=48 Exploring Operation: 24-18=6, Resulting Numbers: [30, 6] Generated Node #0,1,4: 36:[30, 6] Operation: 24-18=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[18, 6], Operations: ['54-24=30', '30-24=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[24, 12], Operations: ['54-24=30', '30-18=12'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[18, 54, 24, 24], Operations: [] Exploring Operation: 54-24=30, Resulting Numbers: [18, 24, 30] Generated Node #0,1: 36:[18, 24, 30] Operation: 54-24=30 Moving to Node #0,1 Current State: 36:[18, 24, 30], Operations: ['54-24=30'] Exploring Operation: 30-18=12, Resulting Numbers: [24, 12] Generated Node #0,1,1: 36:[24, 12] Operation: 30-18=12 Moving to Node #0,1,1 Current State: 36:[24, 12], Operations: ['54-24=30', '30-18=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
sum_heuristic
[ 41, 8, 45, 17 ]
42
[ "41-17=24", "24/8=3", "45-3=42" ]
Current State: 42:[41, 8, 45, 17], Operations: [] Exploring Operation: 41-17=24, Resulting Numbers: [8, 45, 24] Generated Node #2: [8, 45, 24] from Operation: 41-17=24 Current State: 42:[8, 45, 24], Operations: ['41-17=24'] Exploring Operation: 24/8=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 24/8=3 Current State: 42:[45, 3], Operations: ['41-17=24', '24/8=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[41, 8, 45, 17], Operations: [] Exploring Operation: 17-8=9, Resulting Numbers: [41, 45, 9] Generated Node #0,0: 42:[41, 45, 9] Operation: 17-8=9 Exploring Operation: 8+17=25, Resulting Numbers: [41, 45, 25] Generated Node #0,1: 42:[41, 45, 25] Operation: 8+17=25 Exploring Operation: 45-41=4, Resulting Numbers: [8, 17, 4] Generated Node #0,2: 42:[8, 17, 4] Operation: 45-41=4 Exploring Operation: 41-17=24, Resulting Numbers: [8, 45, 24] Generated Node #0,3: 42:[8, 45, 24] Operation: 41-17=24 Moving to Node #0,2 Current State: 42:[8, 17, 4], Operations: ['45-41=4'] Exploring Operation: 8/4=2, Resulting Numbers: [17, 2] Generated Node #0,2,0: 42:[17, 2] Operation: 8/4=2 Exploring Operation: 17-4=13, Resulting Numbers: [8, 13] Generated Node #0,2,1: 42:[8, 13] Operation: 17-4=13 Exploring Operation: 17-8=9, Resulting Numbers: [4, 9] Generated Node #0,2,2: 42:[4, 9] Operation: 17-8=9 Exploring Operation: 17+4=21, Resulting Numbers: [8, 21] Generated Node #0,2,3: 42:[8, 21] Operation: 17+4=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[8, 21], Operations: ['45-41=4', '17+4=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,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,2,1 Current State: 42:[8, 13], Operations: ['45-41=4', '17-4=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,42 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,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,2,0 Current State: 42:[17, 2], Operations: ['45-41=4', '8/4=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,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,2,2 Current State: 42:[4, 9], Operations: ['45-41=4', '17-8=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,42 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: 42:[41, 45, 9], Operations: ['17-8=9'] Exploring Operation: 41+9=50, Resulting Numbers: [45, 50] Generated Node #0,0,0: 42:[45, 50] Operation: 41+9=50 Exploring Operation: 45-41=4, Resulting Numbers: [9, 4] Generated Node #0,0,1: 42:[9, 4] Operation: 45-41=4 Exploring Operation: 45-9=36, Resulting Numbers: [41, 36] Generated Node #0,0,2: 42:[41, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [41, 5] Generated Node #0,0,3: 42:[41, 5] Operation: 45/9=5 Moving to Node #0,3 Current State: 42:[8, 45, 24], Operations: ['41-17=24'] Exploring Operation: 45-8=37, Resulting Numbers: [24, 37] Generated Node #0,3,0: 42:[24, 37] Operation: 45-8=37 Exploring Operation: 24/8=3, Resulting Numbers: [45, 3] Generated Node #0,3,1: 42:[45, 3] Operation: 24/8=3 Exploring Operation: 45-24=21, Resulting Numbers: [8, 21] Generated Node #0,3,2: 42:[8, 21] Operation: 45-24=21 Exploring Operation: 24-8=16, Resulting Numbers: [45, 16] Generated Node #0,3,3: 42:[45, 16] Operation: 24-8=16 Moving to Node #0,1 Current State: 42:[41, 45, 25], Operations: ['8+17=25'] Exploring Operation: 41+25=66, Resulting Numbers: [45, 66] Generated Node #0,1,0: 42:[45, 66] Operation: 41+25=66 Exploring Operation: 41-25=16, Resulting Numbers: [45, 16] Generated Node #0,1,1: 42:[45, 16] Operation: 41-25=16 Exploring Operation: 45-25=20, Resulting Numbers: [41, 20] Generated Node #0,1,2: 42:[41, 20] Operation: 45-25=20 Exploring Operation: 45-41=4, Resulting Numbers: [25, 4] Generated Node #0,1,3: 42:[25, 4] Operation: 45-41=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[41, 20], Operations: ['8+17=25', '45-25=20'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,42 unequal: No Solution Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[45, 16], Operations: ['8+17=25', '41-25=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,42 unequal: No Solution Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,42 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[25, 4], Operations: ['8+17=25', '45-41=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[45, 66], Operations: ['8+17=25', '41+25=66'] Exploring Operation: 45+66=111, Resulting Numbers: [111] 111,42 unequal: No Solution Exploring Operation: 45*66=2970, Resulting Numbers: [2970] 2970,42 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 42:[8, 21], Operations: ['41-17=24', '45-24=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[41, 5], Operations: ['17-8=9', '45/9=5'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[45, 3], Operations: ['41-17=24', '24/8=3'] Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,42 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[41, 8, 45, 17], Operations: [] Exploring Operation: 41-17=24, Resulting Numbers: [8, 45, 24] Generated Node #0,3: 42:[8, 45, 24] Operation: 41-17=24 Moving to Node #0,3 Current State: 42:[8, 45, 24], Operations: ['41-17=24'] Exploring Operation: 24/8=3, Resulting Numbers: [45, 3] Generated Node #0,3,1: 42:[45, 3] Operation: 24/8=3 Moving to Node #0,3,1 Current State: 42:[45, 3], Operations: ['41-17=24', '24/8=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.951389
hs_4
sum_heuristic
[ 10, 20, 86, 28 ]
100
[ "20/10=2", "28/2=14", "86+14=100" ]
Current State: 100:[10, 20, 86, 28], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [86, 28, 2] Generated Node #2: [86, 28, 2] from Operation: 20/10=2 Current State: 100:[86, 28, 2], Operations: ['20/10=2'] Exploring Operation: 28/2=14, Resulting Numbers: [86, 14] Generated Node #3: [86, 14] from Operation: 28/2=14 Current State: 100:[86, 14], Operations: ['20/10=2', '28/2=14'] Exploring Operation: 86+14=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[10, 20, 86, 28], Operations: [] Exploring Operation: 10+86=96, Resulting Numbers: [20, 28, 96] Generated Node #0,0: 100:[20, 28, 96] Operation: 10+86=96 Exploring Operation: 20+86=106, Resulting Numbers: [10, 28, 106] Generated Node #0,1: 100:[10, 28, 106] Operation: 20+86=106 Exploring Operation: 86-28=58, Resulting Numbers: [10, 20, 58] Generated Node #0,2: 100:[10, 20, 58] Operation: 86-28=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[20, 28, 96], Operations: ['10+86=96'] Exploring Operation: 20+28=48, Resulting Numbers: [96, 48] Generated Node #0,0,0: 100:[96, 48] Operation: 20+28=48 Exploring Operation: 96-28=68, Resulting Numbers: [20, 68] Generated Node #0,0,1: 100:[20, 68] Operation: 96-28=68 Exploring Operation: 28-20=8, Resulting Numbers: [96, 8] Generated Node #0,0,2: 100:[96, 8] Operation: 28-20=8 Moving to Node #0,0,0 Current State: 100:[96, 48], Operations: ['10+86=96', '20+28=48'] Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[96, 8], Operations: ['10+86=96', '28-20=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,100 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[20, 68], Operations: ['10+86=96', '96-28=68'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,100 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[10, 20, 58], Operations: ['86-28=58'] Exploring Operation: 58-10=48, Resulting Numbers: [20, 48] Generated Node #0,2,0: 100:[20, 48] Operation: 58-10=48 Exploring Operation: 20/10=2, Resulting Numbers: [58, 2] Generated Node #0,2,1: 100:[58, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [58, 10] Generated Node #0,2,2: 100:[58, 10] Operation: 20-10=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[20, 48], Operations: ['86-28=58', '58-10=48'] Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,100 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,100 unequal: No Solution No 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: 100:[58, 2], Operations: ['86-28=58', '20/10=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,100 unequal: No Solution No 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: 100:[58, 10], Operations: ['86-28=58', '20-10=10'] Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,100 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,100 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: 100:[10, 28, 106], Operations: ['20+86=106'] Exploring Operation: 10+28=38, Resulting Numbers: [106, 38] Generated Node #0,1,0: 100:[106, 38] Operation: 10+28=38 Exploring Operation: 106-10=96, Resulting Numbers: [28, 96] Generated Node #0,1,1: 100:[28, 96] Operation: 106-10=96 Exploring Operation: 28-10=18, Resulting Numbers: [106, 18] Generated Node #0,1,2: 100:[106, 18] Operation: 28-10=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[28, 96], Operations: ['20+86=106', '106-10=96'] Exploring Operation: 28+96=124, Resulting Numbers: [124] 124,100 unequal: No Solution Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 28*96=2688, Resulting Numbers: [2688] 2688,100 unequal: No Solution No 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: 100:[106, 18], Operations: ['20+86=106', '28-10=18'] Exploring Operation: 106*18=1908, Resulting Numbers: [1908] 1908,100 unequal: No Solution Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,100 unequal: No Solution Exploring Operation: 106+18=124, Resulting Numbers: [124] 124,100 unequal: No Solution No 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: 100:[106, 38], Operations: ['20+86=106', '10+28=38'] Exploring Operation: 106-38=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 106+38=144, Resulting Numbers: [144] 144,100 unequal: No Solution Exploring Operation: 106*38=4028, Resulting Numbers: [4028] 4028,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 29, 19, 19, 22 ]
86
[ "22-19=3", "19*3=57", "29+57=86" ]
Current State: 86:[29, 19, 19, 22], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [29, 3] Generated Node #2: [29, 3] from Operation: 22-19=3 Current State: 86:[29, 3], Operations: ['22-19=3'] Exploring Operation: 19*3=57, Resulting Numbers: [29, 57] Generated Node #3: [29, 57] from Operation: 19*3=57 Current State: 86:[29, 57], Operations: ['22-19=3', '19*3=57'] Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[29, 19, 19, 22], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [29, 19, 3] Generated Node #0,0: 86:[29, 19, 3] Operation: 22-19=3 Moving to Node #0,0 Current State: 86:[29, 19, 3], Operations: ['22-19=3'] Exploring Operation: 29+19=48, Resulting Numbers: [3, 48] Generated Node #0,0,0: 86:[3, 48] Operation: 29+19=48 Moving to Node #0,0,0 Current State: 86:[3, 48], Operations: ['22-19=3', '29+19=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,86 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 61, 41, 3, 2 ]
56
[ "41-2=39", "3*39=117", "117-61=56" ]
Current State: 56:[61, 41, 3, 2], Operations: [] Exploring Operation: 41-2=39, Resulting Numbers: [61, 3, 39] Generated Node #2: [61, 3, 39] from Operation: 41-2=39 Current State: 56:[61, 3, 39], Operations: ['41-2=39'] Exploring Operation: 3*39=117, Resulting Numbers: [61, 117] Generated Node #3: [61, 117] from Operation: 3*39=117 Current State: 56:[61, 117], Operations: ['41-2=39', '3*39=117'] Exploring Operation: 117-61=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[61, 41, 3, 2], Operations: [] Exploring Operation: 61-3=58, Resulting Numbers: [41, 2, 58] Generated Node #0,0: 56:[41, 2, 58] Operation: 61-3=58 Exploring Operation: 61-41=20, Resulting Numbers: [3, 2, 20] Generated Node #0,1: 56:[3, 2, 20] Operation: 61-41=20 Exploring Operation: 41-3=38, Resulting Numbers: [61, 2, 38] Generated Node #0,2: 56:[61, 2, 38] Operation: 41-3=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[3, 2, 20], Operations: ['61-41=20'] Exploring Operation: 20/2=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 56:[3, 10] Operation: 20/2=10 Exploring Operation: 3*20=60, Resulting Numbers: [2, 60] Generated Node #0,1,1: 56:[2, 60] Operation: 3*20=60 Exploring Operation: 20-3=17, Resulting Numbers: [2, 17] Generated Node #0,1,2: 56:[2, 17] Operation: 20-3=17 Moving to Node #0,1,0 Current State: 56:[3, 10], Operations: ['61-41=20', '20/2=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[2, 17], Operations: ['61-41=20', '20-3=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[2, 60], Operations: ['61-41=20', '3*20=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[41, 2, 58], Operations: ['61-3=58'] Exploring Operation: 41-2=39, Resulting Numbers: [58, 39] Generated Node #0,0,0: 56:[58, 39] Operation: 41-2=39 Exploring Operation: 58-41=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 56:[2, 17] Operation: 58-41=17 Exploring Operation: 58-2=56, Resulting Numbers: [41, 56] Generated Node #0,0,2: 56:[41, 56] Operation: 58-2=56 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[2, 17], Operations: ['61-3=58', '58-41=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[58, 39], Operations: ['61-3=58', '41-2=39'] Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 58*39=2262, Resulting Numbers: [2262] 2262,56 unequal: No Solution Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[41, 56], Operations: ['61-3=58', '58-2=56'] Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[61, 2, 38], Operations: ['41-3=38'] Exploring Operation: 61-38=23, Resulting Numbers: [2, 23] Generated Node #0,2,0: 56:[2, 23] Operation: 61-38=23 Exploring Operation: 61-2=59, Resulting Numbers: [38, 59] Generated Node #0,2,1: 56:[38, 59] Operation: 61-2=59 Exploring Operation: 38/2=19, Resulting Numbers: [61, 19] Generated Node #0,2,2: 56:[61, 19] Operation: 38/2=19 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[2, 23], Operations: ['41-3=38', '61-38=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,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:[61, 19], Operations: ['41-3=38', '38/2=19'] Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,56 unequal: No Solution Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[38, 59], Operations: ['41-3=38', '61-2=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,56 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 44, 87, 6, 27 ]
31
[ "44+87=131", "6*27=162", "162-131=31" ]
Current State: 31:[44, 87, 6, 27], Operations: [] Exploring Operation: 44+87=131, Resulting Numbers: [6, 27, 131] Generated Node #2: [6, 27, 131] from Operation: 44+87=131 Current State: 31:[6, 27, 131], Operations: ['44+87=131'] Exploring Operation: 6*27=162, Resulting Numbers: [131, 162] Generated Node #3: [131, 162] from Operation: 6*27=162 Current State: 31:[131, 162], Operations: ['44+87=131', '6*27=162'] Exploring Operation: 162-131=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[44, 87, 6, 27], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [6, 27, 43] Generated Node #0,0: 31:[6, 27, 43] Operation: 87-44=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[6, 27, 43], Operations: ['87-44=43'] Exploring Operation: 43-6=37, Resulting Numbers: [27, 37] Generated Node #0,0,0: 31:[27, 37] Operation: 43-6=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[27, 37], Operations: ['87-44=43', '43-6=37'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,31 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
[ 96, 58, 34, 55 ]
91
[ "58*55=3190", "3190-96=3094", "3094/34=91" ]
Current State: 91:[96, 58, 34, 55], Operations: [] Exploring Operation: 58*55=3190, Resulting Numbers: [96, 34, 3190] Generated Node #2: [96, 34, 3190] from Operation: 58*55=3190 Current State: 91:[96, 34, 3190], Operations: ['58*55=3190'] Exploring Operation: 3190-96=3094, Resulting Numbers: [34, 3094] Generated Node #3: [34, 3094] from Operation: 3190-96=3094 Current State: 91:[34, 3094], Operations: ['58*55=3190', '3190-96=3094'] Exploring Operation: 3094/34=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[96, 58, 34, 55], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [96, 34, 3] Generated Node #0,0: 91:[96, 34, 3] Operation: 58-55=3 Moving to Node #0,0 Current State: 91:[96, 34, 3], Operations: ['58-55=3'] Exploring Operation: 34*3=102, Resulting Numbers: [96, 102] Generated Node #0,0,0: 91:[96, 102] Operation: 34*3=102 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[96, 102], Operations: ['58-55=3', '34*3=102'] Exploring Operation: 102-96=6, Resulting Numbers: [6] 6,91 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
[ 34, 86, 20, 3 ]
84
[ "20-3=17", "34/17=2", "86-2=84" ]
Current State: 84:[34, 86, 20, 3], Operations: [] Exploring Operation: 20-3=17, Resulting Numbers: [34, 86, 17] Generated Node #2: [34, 86, 17] from Operation: 20-3=17 Current State: 84:[34, 86, 17], Operations: ['20-3=17'] Exploring Operation: 34/17=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 34/17=2 Current State: 84:[86, 2], Operations: ['20-3=17', '34/17=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[34, 86, 20, 3], Operations: [] Exploring Operation: 20+3=23, Resulting Numbers: [34, 86, 23] Generated Node #0,0: 84:[34, 86, 23] Operation: 20+3=23 Exploring Operation: 34-20=14, Resulting Numbers: [86, 3, 14] Generated Node #0,1: 84:[86, 3, 14] Operation: 34-20=14 Exploring Operation: 34-3=31, Resulting Numbers: [86, 20, 31] Generated Node #0,2: 84:[86, 20, 31] Operation: 34-3=31 Exploring Operation: 34+3=37, Resulting Numbers: [86, 20, 37] Generated Node #0,3: 84:[86, 20, 37] Operation: 34+3=37 Exploring Operation: 86-3=83, Resulting Numbers: [34, 20, 83] Generated Node #0,4: 84:[34, 20, 83] Operation: 86-3=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[86, 3, 14], Operations: ['34-20=14'] Exploring Operation: 86-3=83, Resulting Numbers: [14, 83] Generated Node #0,1,0: 84:[14, 83] Operation: 86-3=83 Exploring Operation: 14-3=11, Resulting Numbers: [86, 11] Generated Node #0,1,1: 84:[86, 11] Operation: 14-3=11 Exploring Operation: 86+3=89, Resulting Numbers: [14, 89] Generated Node #0,1,2: 84:[14, 89] Operation: 86+3=89 Exploring Operation: 3*14=42, Resulting Numbers: [86, 42] Generated Node #0,1,3: 84:[86, 42] Operation: 3*14=42 Exploring Operation: 3+14=17, Resulting Numbers: [86, 17] Generated Node #0,1,4: 84:[86, 17] Operation: 3+14=17 Moving to Node #0,1,0 Current State: 84:[14, 83], Operations: ['34-20=14', '86-3=83'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 14*83=1162, Resulting Numbers: [1162] 1162,84 unequal: No Solution Exploring Operation: 14+83=97, Resulting Numbers: [97] 97,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[86, 42], Operations: ['34-20=14', '3*14=42'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,84 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[86, 11], Operations: ['34-20=14', '14-3=11'] Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 86*11=946, Resulting Numbers: [946] 946,84 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[14, 89], Operations: ['34-20=14', '86+3=89'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 14+89=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 14*89=1246, Resulting Numbers: [1246] 1246,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[86, 17], Operations: ['34-20=14', '3+14=17'] Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,84 unequal: No Solution Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,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,2 Current State: 84:[86, 20, 31], Operations: ['34-3=31'] Exploring Operation: 86-31=55, Resulting Numbers: [20, 55] Generated Node #0,2,0: 84:[20, 55] Operation: 86-31=55 Exploring Operation: 20+31=51, Resulting Numbers: [86, 51] Generated Node #0,2,1: 84:[86, 51] Operation: 20+31=51 Exploring Operation: 86+20=106, Resulting Numbers: [31, 106] Generated Node #0,2,2: 84:[31, 106] Operation: 86+20=106 Exploring Operation: 31-20=11, Resulting Numbers: [86, 11] Generated Node #0,2,3: 84:[86, 11] Operation: 31-20=11 Exploring Operation: 86-20=66, Resulting Numbers: [31, 66] Generated Node #0,2,4: 84:[31, 66] Operation: 86-20=66 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[86, 11], Operations: ['34-3=31', '31-20=11'] Exploring Operation: 86*11=946, Resulting Numbers: [946] 946,84 unequal: No Solution Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[86, 51], Operations: ['34-3=31', '20+31=51'] Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 86*51=4386, Resulting Numbers: [4386] 4386,84 unequal: No Solution Exploring Operation: 86+51=137, Resulting Numbers: [137] 137,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[20, 55], Operations: ['34-3=31', '86-31=55'] Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,84 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[31, 66], Operations: ['34-3=31', '86-20=66'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 31*66=2046, Resulting Numbers: [2046] 2046,84 unequal: No Solution Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[31, 106], Operations: ['34-3=31', '86+20=106'] Exploring Operation: 106-31=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 31+106=137, Resulting Numbers: [137] 137,84 unequal: No Solution Exploring Operation: 31*106=3286, Resulting Numbers: [3286] 3286,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[86, 20, 37], Operations: ['34+3=37'] Exploring Operation: 86+20=106, Resulting Numbers: [37, 106] Generated Node #0,3,0: 84:[37, 106] Operation: 86+20=106 Exploring Operation: 86-20=66, Resulting Numbers: [37, 66] Generated Node #0,3,1: 84:[37, 66] Operation: 86-20=66 Exploring Operation: 86-37=49, Resulting Numbers: [20, 49] Generated Node #0,3,2: 84:[20, 49] Operation: 86-37=49 Exploring Operation: 37-20=17, Resulting Numbers: [86, 17] Generated Node #0,3,3: 84:[86, 17] Operation: 37-20=17 Exploring Operation: 20+37=57, Resulting Numbers: [86, 57] Generated Node #0,3,4: 84:[86, 57] Operation: 20+37=57 Moving to Node #0,3,3 Current State: 84:[86, 17], Operations: ['34+3=37', '37-20=17'] Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[20, 49], Operations: ['34+3=37', '86-37=49'] Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[86, 57], Operations: ['34+3=37', '20+37=57'] Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 86+57=143, Resulting Numbers: [143] 143,84 unequal: No Solution Exploring Operation: 86*57=4902, Resulting Numbers: [4902] 4902,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[37, 66], Operations: ['34+3=37', '86-20=66'] Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,84 unequal: No Solution Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[37, 106], Operations: ['34+3=37', '86+20=106'] Exploring Operation: 106-37=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 37*106=3922, Resulting Numbers: [3922] 3922,84 unequal: No Solution Exploring Operation: 37+106=143, Resulting Numbers: [143] 143,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 84:[34, 20, 83], Operations: ['86-3=83'] Exploring Operation: 83-34=49, Resulting Numbers: [20, 49] Generated Node #0,4,0: 84:[20, 49] Operation: 83-34=49 Exploring Operation: 34+20=54, Resulting Numbers: [83, 54] Generated Node #0,4,1: 84:[83, 54] Operation: 34+20=54 Exploring Operation: 20+83=103, Resulting Numbers: [34, 103] Generated Node #0,4,2: 84:[34, 103] Operation: 20+83=103 Exploring Operation: 83-20=63, Resulting Numbers: [34, 63] Generated Node #0,4,3: 84:[34, 63] Operation: 83-20=63 Exploring Operation: 34-20=14, Resulting Numbers: [83, 14] Generated Node #0,4,4: 84:[83, 14] Operation: 34-20=14 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 84:[83, 14], Operations: ['86-3=83', '34-20=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,84 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 84:[20, 49], Operations: ['86-3=83', '83-34=49'] Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,84 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 84:[83, 54], Operations: ['86-3=83', '34+20=54'] Exploring Operation: 83+54=137, Resulting Numbers: [137] 137,84 unequal: No Solution Exploring Operation: 83*54=4482, Resulting Numbers: [4482] 4482,84 unequal: No Solution Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 84:[34, 103], Operations: ['86-3=83', '20+83=103'] Exploring Operation: 103-34=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 34+103=137, Resulting Numbers: [137] 137,84 unequal: No Solution Exploring Operation: 34*103=3502, Resulting Numbers: [3502] 3502,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 84:[34, 63], Operations: ['86-3=83', '83-20=63'] Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 34*63=2142, Resulting Numbers: [2142] 2142,84 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[34, 86, 23], Operations: ['20+3=23'] Exploring Operation: 86-23=63, Resulting Numbers: [34, 63] Generated Node #0,0,0: 84:[34, 63] Operation: 86-23=63 Exploring Operation: 86+23=109, Resulting Numbers: [34, 109] Generated Node #0,0,1: 84:[34, 109] Operation: 86+23=109 Exploring Operation: 86-34=52, Resulting Numbers: [23, 52] Generated Node #0,0,2: 84:[23, 52] Operation: 86-34=52 Exploring Operation: 34-23=11, Resulting Numbers: [86, 11] Generated Node #0,0,3: 84:[86, 11] Operation: 34-23=11 Exploring Operation: 34+23=57, Resulting Numbers: [86, 57] Generated Node #0,0,4: 84:[86, 57] Operation: 34+23=57 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[86, 11], Operations: ['20+3=23', '34-23=11'] Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 86*11=946, Resulting Numbers: [946] 946,84 unequal: No Solution Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[23, 52], Operations: ['20+3=23', '86-34=52'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 23+52=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 23*52=1196, Resulting Numbers: [1196] 1196,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 84:[86, 57], Operations: ['20+3=23', '34+23=57'] Exploring Operation: 86*57=4902, Resulting Numbers: [4902] 4902,84 unequal: No Solution Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 86+57=143, Resulting Numbers: [143] 143,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[34, 63], Operations: ['20+3=23', '86-23=63'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 34*63=2142, Resulting Numbers: [2142] 2142,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[34, 109], Operations: ['20+3=23', '86+23=109'] Exploring Operation: 34*109=3706, Resulting Numbers: [3706] 3706,84 unequal: No Solution Exploring Operation: 109-34=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 34+109=143, Resulting Numbers: [143] 143,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 80, 38, 11, 4 ]
29
[ "80/4=20", "38+11=49", "49-20=29" ]
Current State: 29:[80, 38, 11, 4], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [38, 11, 20] Generated Node #2: [38, 11, 20] from Operation: 80/4=20 Current State: 29:[38, 11, 20], Operations: ['80/4=20'] Exploring Operation: 38+11=49, Resulting Numbers: [20, 49] Generated Node #3: [20, 49] from Operation: 38+11=49 Current State: 29:[20, 49], Operations: ['80/4=20', '38+11=49'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[80, 38, 11, 4], Operations: [] Exploring Operation: 80-11=69, Resulting Numbers: [38, 4, 69] Generated Node #0,0: 29:[38, 4, 69] Operation: 80-11=69 Exploring Operation: 80/4=20, Resulting Numbers: [38, 11, 20] Generated Node #0,1: 29:[38, 11, 20] Operation: 80/4=20 Exploring Operation: 80-38=42, Resulting Numbers: [11, 4, 42] Generated Node #0,2: 29:[11, 4, 42] Operation: 80-38=42 Exploring Operation: 80-4=76, Resulting Numbers: [38, 11, 76] Generated Node #0,3: 29:[38, 11, 76] Operation: 80-4=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[38, 11, 20], Operations: ['80/4=20'] Exploring Operation: 38-20=18, Resulting Numbers: [11, 18] Generated Node #0,1,0: 29:[11, 18] Operation: 38-20=18 Exploring Operation: 11+20=31, Resulting Numbers: [38, 31] Generated Node #0,1,1: 29:[38, 31] Operation: 11+20=31 Exploring Operation: 38+11=49, Resulting Numbers: [20, 49] Generated Node #0,1,2: 29:[20, 49] Operation: 38+11=49 Exploring Operation: 38-11=27, Resulting Numbers: [20, 27] Generated Node #0,1,3: 29:[20, 27] Operation: 38-11=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[38, 31], Operations: ['80/4=20', '11+20=31'] Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,29 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,29 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[20, 27], Operations: ['80/4=20', '38-11=27'] Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,29 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,29 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[11, 18], Operations: ['80/4=20', '38-20=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[80, 38, 11, 4], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [38, 11, 20] Generated Node #0,1: 29:[38, 11, 20] Operation: 80/4=20 Moving to Node #0,1 Current State: 29:[38, 11, 20], Operations: ['80/4=20'] Exploring Operation: 38-20=18, Resulting Numbers: [11, 18] Generated Node #0,1,0: 29:[11, 18] Operation: 38-20=18 Moving to Node #0,1,0 Current State: 29:[11, 18], Operations: ['80/4=20', '38-20=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 53, 51, 4, 63 ]
89
[ "53+51=104", "104/4=26", "63+26=89" ]
Current State: 89:[53, 51, 4, 63], Operations: [] Exploring Operation: 53+51=104, Resulting Numbers: [4, 63, 104] Generated Node #2: [4, 63, 104] from Operation: 53+51=104 Current State: 89:[4, 63, 104], Operations: ['53+51=104'] Exploring Operation: 104/4=26, Resulting Numbers: [63, 26] Generated Node #3: [63, 26] from Operation: 104/4=26 Current State: 89:[63, 26], Operations: ['53+51=104', '104/4=26'] Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[53, 51, 4, 63], Operations: [] Exploring Operation: 53-4=49, Resulting Numbers: [51, 63, 49] Generated Node #0,0: 89:[51, 63, 49] Operation: 53-4=49 Exploring Operation: 51+4=55, Resulting Numbers: [53, 63, 55] Generated Node #0,1: 89:[53, 63, 55] Operation: 51+4=55 Exploring Operation: 53+4=57, Resulting Numbers: [51, 63, 57] Generated Node #0,2: 89:[51, 63, 57] Operation: 53+4=57 Exploring Operation: 4+63=67, Resulting Numbers: [53, 51, 67] Generated Node #0,3: 89:[53, 51, 67] Operation: 4+63=67 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[53, 63, 55], Operations: ['51+4=55'] Exploring Operation: 53+63=116, Resulting Numbers: [55, 116] Generated Node #0,1,0: 89:[55, 116] Operation: 53+63=116 Exploring Operation: 63+55=118, Resulting Numbers: [53, 118] Generated Node #0,1,1: 89:[53, 118] Operation: 63+55=118 Exploring Operation: 53+55=108, Resulting Numbers: [63, 108] Generated Node #0,1,2: 89:[63, 108] Operation: 53+55=108 Exploring Operation: 63-53=10, Resulting Numbers: [55, 10] Generated Node #0,1,3: 89:[55, 10] Operation: 63-53=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[63, 108], Operations: ['51+4=55', '53+55=108'] Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,89 unequal: No Solution Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[55, 116], Operations: ['51+4=55', '53+63=116'] Exploring Operation: 116-55=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 55+116=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 55*116=6380, Resulting Numbers: [6380] 6380,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[53, 118], Operations: ['51+4=55', '63+55=118'] Exploring Operation: 118-53=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 53*118=6254, Resulting Numbers: [6254] 6254,89 unequal: No Solution Exploring Operation: 53+118=171, Resulting Numbers: [171] 171,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[55, 10], Operations: ['51+4=55', '63-53=10'] Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,89 unequal: No Solution Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[51, 63, 57], Operations: ['53+4=57'] Exploring Operation: 63-51=12, Resulting Numbers: [57, 12] Generated Node #0,2,0: 89:[57, 12] Operation: 63-51=12 Exploring Operation: 63+57=120, Resulting Numbers: [51, 120] Generated Node #0,2,1: 89:[51, 120] Operation: 63+57=120 Exploring Operation: 51+57=108, Resulting Numbers: [63, 108] Generated Node #0,2,2: 89:[63, 108] Operation: 51+57=108 Exploring Operation: 51+63=114, Resulting Numbers: [57, 114] Generated Node #0,2,3: 89:[57, 114] Operation: 51+63=114 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[63, 108], Operations: ['53+4=57', '51+57=108'] Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,89 unequal: No Solution Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 89:[57, 114], Operations: ['53+4=57', '51+63=114'] Exploring Operation: 57*114=6498, Resulting Numbers: [6498] 6498,89 unequal: No Solution Exploring Operation: 114/57=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 114-57=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 57+114=171, Resulting Numbers: [171] 171,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[51, 120], Operations: ['53+4=57', '63+57=120'] Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 51+120=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 51*120=6120, Resulting Numbers: [6120] 6120,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[57, 12], Operations: ['53+4=57', '63-51=12'] Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,89 unequal: No Solution Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[53, 51, 67], Operations: ['4+63=67'] Exploring Operation: 53+51=104, Resulting Numbers: [67, 104] Generated Node #0,3,0: 89:[67, 104] Operation: 53+51=104 Exploring Operation: 53-51=2, Resulting Numbers: [67, 2] Generated Node #0,3,1: 89:[67, 2] Operation: 53-51=2 Exploring Operation: 53+67=120, Resulting Numbers: [51, 120] Generated Node #0,3,2: 89:[51, 120] Operation: 53+67=120 Exploring Operation: 51+67=118, Resulting Numbers: [53, 118] Generated Node #0,3,3: 89:[53, 118] Operation: 51+67=118 Moving to Node #0,3,0 Current State: 89:[67, 104], Operations: ['4+63=67', '53+51=104'] Exploring Operation: 104-67=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 67*104=6968, Resulting Numbers: [6968] 6968,89 unequal: No Solution Exploring Operation: 67+104=171, Resulting Numbers: [171] 171,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[53, 118], Operations: ['4+63=67', '51+67=118'] Exploring Operation: 53+118=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 118-53=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 53*118=6254, Resulting Numbers: [6254] 6254,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[51, 120], Operations: ['4+63=67', '53+67=120'] Exploring Operation: 51*120=6120, Resulting Numbers: [6120] 6120,89 unequal: No Solution Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 51+120=171, Resulting Numbers: [171] 171,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[67, 2], Operations: ['4+63=67', '53-51=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 67*2=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,0 Current State: 89:[51, 63, 49], Operations: ['53-4=49'] Exploring Operation: 51+49=100, Resulting Numbers: [63, 100] Generated Node #0,0,0: 89:[63, 100] Operation: 51+49=100 Exploring Operation: 51-49=2, Resulting Numbers: [63, 2] Generated Node #0,0,1: 89:[63, 2] Operation: 51-49=2 Exploring Operation: 63+49=112, Resulting Numbers: [51, 112] Generated Node #0,0,2: 89:[51, 112] Operation: 63+49=112 Exploring Operation: 51+63=114, Resulting Numbers: [49, 114] Generated Node #0,0,3: 89:[49, 114] Operation: 51+63=114 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[63, 100], Operations: ['53-4=49', '51+49=100'] Exploring Operation: 63+100=163, Resulting Numbers: [163] 163,89 unequal: No Solution Exploring Operation: 63*100=6300, Resulting Numbers: [6300] 6300,89 unequal: No Solution Exploring Operation: 100-63=37, Resulting Numbers: [37] 37,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[51, 112], Operations: ['53-4=49', '63+49=112'] Exploring Operation: 51*112=5712, Resulting Numbers: [5712] 5712,89 unequal: No Solution Exploring Operation: 112-51=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 51+112=163, Resulting Numbers: [163] 163,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[49, 114], Operations: ['53-4=49', '51+63=114'] Exploring Operation: 114-49=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 49+114=163, Resulting Numbers: [163] 163,89 unequal: No Solution Exploring Operation: 49*114=5586, Resulting Numbers: [5586] 5586,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[63, 2], Operations: ['53-4=49', '51-49=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,89 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,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_4
mult_heuristic
[ 58, 14, 8, 25 ]
27
[ "58-14=44", "25-8=17", "44-17=27" ]
Current State: 27:[58, 14, 8, 25], Operations: [] Exploring Operation: 58-14=44, Resulting Numbers: [8, 25, 44] Generated Node #2: [8, 25, 44] from Operation: 58-14=44 Current State: 27:[8, 25, 44], Operations: ['58-14=44'] Exploring Operation: 25-8=17, Resulting Numbers: [44, 17] Generated Node #3: [44, 17] from Operation: 25-8=17 Current State: 27:[44, 17], Operations: ['58-14=44', '25-8=17'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[58, 14, 8, 25], Operations: [] Exploring Operation: 58-25=33, Resulting Numbers: [14, 8, 33] Generated Node #0,0: 27:[14, 8, 33] Operation: 58-25=33 Exploring Operation: 25-14=11, Resulting Numbers: [58, 8, 11] Generated Node #0,1: 27:[58, 8, 11] Operation: 25-14=11 Exploring Operation: 58-8=50, Resulting Numbers: [14, 25, 50] Generated Node #0,2: 27:[14, 25, 50] Operation: 58-8=50 Exploring Operation: 58-14=44, Resulting Numbers: [8, 25, 44] Generated Node #0,3: 27:[8, 25, 44] Operation: 58-14=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[14, 8, 33], Operations: ['58-25=33'] Exploring Operation: 33-14=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 27:[8, 19] Operation: 33-14=19 Exploring Operation: 14+8=22, Resulting Numbers: [33, 22] Generated Node #0,0,1: 27:[33, 22] Operation: 14+8=22 Exploring Operation: 14-8=6, Resulting Numbers: [33, 6] Generated Node #0,0,2: 27:[33, 6] Operation: 14-8=6 Exploring Operation: 33-8=25, Resulting Numbers: [14, 25] Generated Node #0,0,3: 27:[14, 25] Operation: 33-8=25 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[14, 25], Operations: ['58-25=33', '33-8=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[8, 19], Operations: ['58-25=33', '33-14=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[58, 14, 8, 25], Operations: [] Exploring Operation: 58-25=33, Resulting Numbers: [14, 8, 33] Generated Node #0,0: 27:[14, 8, 33] Operation: 58-25=33 Moving to Node #0,0 Current State: 27:[14, 8, 33], Operations: ['58-25=33'] Exploring Operation: 33-14=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 27:[8, 19] Operation: 33-14=19 Moving to Node #0,0,0 Current State: 27:[8, 19], Operations: ['58-25=33', '33-14=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 42, 88, 47, 65 ]
45
[ "42+88=130", "130/65=2", "47-2=45" ]
Current State: 45:[42, 88, 47, 65], Operations: [] Exploring Operation: 42+88=130, Resulting Numbers: [47, 65, 130] Generated Node #2: [47, 65, 130] from Operation: 42+88=130 Current State: 45:[47, 65, 130], Operations: ['42+88=130'] Exploring Operation: 130/65=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 130/65=2 Current State: 45:[47, 2], Operations: ['42+88=130', '130/65=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[42, 88, 47, 65], Operations: [] Exploring Operation: 65-47=18, Resulting Numbers: [42, 88, 18] Generated Node #0,0: 45:[42, 88, 18] Operation: 65-47=18 Exploring Operation: 88-65=23, Resulting Numbers: [42, 47, 23] Generated Node #0,1: 45:[42, 47, 23] Operation: 88-65=23 Exploring Operation: 88-47=41, Resulting Numbers: [42, 65, 41] Generated Node #0,2: 45:[42, 65, 41] Operation: 88-47=41 Exploring Operation: 88-42=46, Resulting Numbers: [47, 65, 46] Generated Node #0,3: 45:[47, 65, 46] Operation: 88-42=46 Moving to Node #0,1 Current State: 45:[42, 47, 23], Operations: ['88-65=23'] Exploring Operation: 42+23=65, Resulting Numbers: [47, 65] Generated Node #0,1,0: 45:[47, 65] Operation: 42+23=65 Exploring Operation: 42-23=19, Resulting Numbers: [47, 19] Generated Node #0,1,1: 45:[47, 19] Operation: 42-23=19 Exploring Operation: 47-42=5, Resulting Numbers: [23, 5] Generated Node #0,1,2: 45:[23, 5] Operation: 47-42=5 Exploring Operation: 47-23=24, Resulting Numbers: [42, 24] Generated Node #0,1,3: 45:[42, 24] Operation: 47-23=24 Moving to Node #0,3 Current State: 45:[47, 65, 46], Operations: ['88-42=46'] Exploring Operation: 65-46=19, Resulting Numbers: [47, 19] Generated Node #0,3,0: 45:[47, 19] Operation: 65-46=19 Exploring Operation: 47+65=112, Resulting Numbers: [46, 112] Generated Node #0,3,1: 45:[46, 112] Operation: 47+65=112 Exploring Operation: 47-46=1, Resulting Numbers: [65, 1] Generated Node #0,3,2: 45:[65, 1] Operation: 47-46=1 Exploring Operation: 65-47=18, Resulting Numbers: [46, 18] Generated Node #0,3,3: 45:[46, 18] Operation: 65-47=18 Moving to Node #0,2 Current State: 45:[42, 65, 41], Operations: ['88-47=41'] Exploring Operation: 42+41=83, Resulting Numbers: [65, 83] Generated Node #0,2,0: 45:[65, 83] Operation: 42+41=83 Exploring Operation: 65-42=23, Resulting Numbers: [41, 23] Generated Node #0,2,1: 45:[41, 23] Operation: 65-42=23 Exploring Operation: 65-41=24, Resulting Numbers: [42, 24] Generated Node #0,2,2: 45:[42, 24] Operation: 65-41=24 Exploring Operation: 42-41=1, Resulting Numbers: [65, 1] Generated Node #0,2,3: 45:[65, 1] Operation: 42-41=1 Moving to Node #0,0 Current State: 45:[42, 88, 18], Operations: ['65-47=18'] Exploring Operation: 42-18=24, Resulting Numbers: [88, 24] Generated Node #0,0,0: 45:[88, 24] Operation: 42-18=24 Exploring Operation: 88-18=70, Resulting Numbers: [42, 70] Generated Node #0,0,1: 45:[42, 70] Operation: 88-18=70 Exploring Operation: 88-42=46, Resulting Numbers: [18, 46] Generated Node #0,0,2: 45:[18, 46] Operation: 88-42=46 Exploring Operation: 42+18=60, Resulting Numbers: [88, 60] Generated Node #0,0,3: 45:[88, 60] Operation: 42+18=60 Moving to Node #0,3,3 Current State: 45:[46, 18], Operations: ['88-42=46', '65-47=18'] Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,45 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[18, 46], Operations: ['65-47=18', '88-42=46'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,45 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[47, 19], Operations: ['88-42=46', '65-46=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[47, 19], Operations: ['88-65=23', '42-23=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[23, 5], Operations: ['88-65=23', '47-42=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[42, 24], Operations: ['88-65=23', '47-23=24'] Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,45 unequal: No Solution Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[42, 24], Operations: ['88-47=41', '65-41=24'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[41, 23], Operations: ['88-47=41', '65-42=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,45 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[65, 1], Operations: ['88-42=46', '47-46=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[65, 1], Operations: ['88-47=41', '42-41=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[47, 65], Operations: ['88-65=23', '42+23=65'] Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 47+65=112, Resulting Numbers: [112] 112,45 unequal: No Solution Exploring Operation: 47*65=3055, Resulting Numbers: [3055] 3055,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[42, 70], Operations: ['65-47=18', '88-18=70'] Exploring Operation: 42*70=2940, Resulting Numbers: [2940] 2940,45 unequal: No Solution Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,45 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[88, 24], Operations: ['65-47=18', '42-18=24'] Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,45 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[65, 83], Operations: ['88-47=41', '42+41=83'] Exploring Operation: 65+83=148, Resulting Numbers: [148] 148,45 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 65*83=5395, Resulting Numbers: [5395] 5395,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[88, 60], Operations: ['65-47=18', '42+18=60'] Exploring Operation: 88*60=5280, Resulting Numbers: [5280] 5280,45 unequal: No Solution Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 88+60=148, Resulting Numbers: [148] 148,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[46, 112], Operations: ['88-42=46', '47+65=112'] Exploring Operation: 112-46=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 46*112=5152, Resulting Numbers: [5152] 5152,45 unequal: No Solution Exploring Operation: 46+112=158, Resulting Numbers: [158] 158,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 9, 73, 78, 79 ]
14
[ "79-9=70", "78-73=5", "70/5=14" ]
Current State: 14:[9, 73, 78, 79], Operations: [] Exploring Operation: 79-9=70, Resulting Numbers: [73, 78, 70] Generated Node #2: [73, 78, 70] from Operation: 79-9=70 Current State: 14:[73, 78, 70], Operations: ['79-9=70'] Exploring Operation: 78-73=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 78-73=5 Current State: 14:[70, 5], Operations: ['79-9=70', '78-73=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[9, 73, 78, 79], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [9, 78, 6] Generated Node #0,0: 14:[9, 78, 6] Operation: 79-73=6 Exploring Operation: 78-73=5, Resulting Numbers: [9, 79, 5] Generated Node #0,1: 14:[9, 79, 5] Operation: 78-73=5 Exploring Operation: 78-9=69, Resulting Numbers: [73, 79, 69] Generated Node #0,2: 14:[73, 79, 69] Operation: 78-9=69 Exploring Operation: 79-78=1, Resulting Numbers: [9, 73, 1] Generated Node #0,3: 14:[9, 73, 1] Operation: 79-78=1 Exploring Operation: 73-9=64, Resulting Numbers: [78, 79, 64] Generated Node #0,4: 14:[78, 79, 64] Operation: 73-9=64 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[9, 73, 1], Operations: ['79-78=1'] Exploring Operation: 9/1=9, Resulting Numbers: [73, 9] Generated Node #0,3,0: 14:[73, 9] Operation: 9/1=9 Exploring Operation: 73-9=64, Resulting Numbers: [1, 64] Generated Node #0,3,1: 14:[1, 64] Operation: 73-9=64 Exploring Operation: 9-1=8, Resulting Numbers: [73, 8] Generated Node #0,3,2: 14:[73, 8] Operation: 9-1=8 Exploring Operation: 73-1=72, Resulting Numbers: [9, 72] Generated Node #0,3,3: 14:[9, 72] Operation: 73-1=72 Exploring Operation: 9*1=9, Resulting Numbers: [73, 9] Generated Node #0,3,4: 14:[73, 9] Operation: 9*1=9 Moving to Node #0,3,1 Current State: 14:[1, 64], Operations: ['79-78=1', '73-9=64'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[9, 72], Operations: ['79-78=1', '73-1=72'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,14 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[73, 8], Operations: ['79-78=1', '9-1=8'] Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,14 unequal: No Solution Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[73, 9], Operations: ['79-78=1', '9/1=9'] Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,14 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[73, 9], Operations: ['79-78=1', '9*1=9'] Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,14 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,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:[9, 78, 6], Operations: ['79-73=6'] Exploring Operation: 78-6=72, Resulting Numbers: [9, 72] Generated Node #0,0,0: 14:[9, 72] Operation: 78-6=72 Exploring Operation: 9+6=15, Resulting Numbers: [78, 15] Generated Node #0,0,1: 14:[78, 15] Operation: 9+6=15 Exploring Operation: 9-6=3, Resulting Numbers: [78, 3] Generated Node #0,0,2: 14:[78, 3] Operation: 9-6=3 Exploring Operation: 78/6=13, Resulting Numbers: [9, 13] Generated Node #0,0,3: 14:[9, 13] Operation: 78/6=13 Exploring Operation: 78-9=69, Resulting Numbers: [6, 69] Generated Node #0,0,4: 14:[6, 69] Operation: 78-9=69 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 14:[9, 13], Operations: ['79-73=6', '78/6=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 14:[6, 69], Operations: ['79-73=6', '78-9=69'] Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[9, 72], Operations: ['79-73=6', '78-6=72'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,14 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[78, 15], Operations: ['79-73=6', '9+6=15'] Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,14 unequal: No Solution Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[78, 3], Operations: ['79-73=6', '9-6=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,14 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,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:[9, 79, 5], Operations: ['78-73=5'] Exploring Operation: 79-5=74, Resulting Numbers: [9, 74] Generated Node #0,1,0: 14:[9, 74] Operation: 79-5=74 Exploring Operation: 79+5=84, Resulting Numbers: [9, 84] Generated Node #0,1,1: 14:[9, 84] Operation: 79+5=84 Exploring Operation: 9-5=4, Resulting Numbers: [79, 4] Generated Node #0,1,2: 14:[79, 4] Operation: 9-5=4 Exploring Operation: 79-9=70, Resulting Numbers: [5, 70] Generated Node #0,1,3: 14:[5, 70] Operation: 79-9=70 Exploring Operation: 9+5=14, Resulting Numbers: [79, 14] Generated Node #0,1,4: 14:[79, 14] Operation: 9+5=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 14:[5, 70], Operations: ['78-73=5', '79-9=70'] Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,14 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[9, 73, 78, 79], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [9, 79, 5] Generated Node #0,1: 14:[9, 79, 5] Operation: 78-73=5 Moving to Node #0,1 Current State: 14:[9, 79, 5], Operations: ['78-73=5'] Exploring Operation: 79-9=70, Resulting Numbers: [5, 70] Generated Node #0,1,3: 14:[5, 70] Operation: 79-9=70 Moving to Node #0,1,3 Current State: 14:[5, 70], Operations: ['78-73=5', '79-9=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 14, 3, 18, 35 ]
49
[ "14*18=252", "252/3=84", "84-35=49" ]
Current State: 49:[14, 3, 18, 35], Operations: [] Exploring Operation: 14*18=252, Resulting Numbers: [3, 35, 252] Generated Node #2: [3, 35, 252] from Operation: 14*18=252 Current State: 49:[3, 35, 252], Operations: ['14*18=252'] Exploring Operation: 252/3=84, Resulting Numbers: [35, 84] Generated Node #3: [35, 84] from Operation: 252/3=84 Current State: 49:[35, 84], Operations: ['14*18=252', '252/3=84'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[14, 3, 18, 35], Operations: [] Exploring Operation: 14+35=49, Resulting Numbers: [3, 18, 49] Generated Node #0,0: 49:[3, 18, 49] Operation: 14+35=49 Moving to Node #0,0 Current State: 49:[3, 18, 49], Operations: ['14+35=49'] Exploring Operation: 18/3=6, Resulting Numbers: [49, 6] Generated Node #0,0,0: 49:[49, 6] Operation: 18/3=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[49, 6], Operations: ['14+35=49', '18/3=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,49 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
[ 53, 75, 6, 99 ]
27
[ "75-53=22", "6*99=594", "594/22=27" ]
Current State: 27:[53, 75, 6, 99], Operations: [] Exploring Operation: 75-53=22, Resulting Numbers: [6, 99, 22] Generated Node #2: [6, 99, 22] from Operation: 75-53=22 Current State: 27:[6, 99, 22], Operations: ['75-53=22'] Exploring Operation: 6*99=594, Resulting Numbers: [22, 594] Generated Node #3: [22, 594] from Operation: 6*99=594 Current State: 27:[22, 594], Operations: ['75-53=22', '6*99=594'] Exploring Operation: 594/22=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[53, 75, 6, 99], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [75, 6, 46] Generated Node #0,0: 27:[75, 6, 46] Operation: 99-53=46 Exploring Operation: 99-75=24, Resulting Numbers: [53, 6, 24] Generated Node #0,1: 27:[53, 6, 24] Operation: 99-75=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[53, 6, 24], Operations: ['99-75=24'] Exploring Operation: 53-6=47, Resulting Numbers: [24, 47] Generated Node #0,1,0: 27:[24, 47] Operation: 53-6=47 Exploring Operation: 53-24=29, Resulting Numbers: [6, 29] Generated Node #0,1,1: 27:[6, 29] Operation: 53-24=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[6, 29], Operations: ['99-75=24', '53-24=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[24, 47], Operations: ['99-75=24', '53-6=47'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[75, 6, 46], Operations: ['99-53=46'] Exploring Operation: 75-46=29, Resulting Numbers: [6, 29] Generated Node #0,0,0: 27:[6, 29] Operation: 75-46=29 Exploring Operation: 75-6=69, Resulting Numbers: [46, 69] Generated Node #0,0,1: 27:[46, 69] Operation: 75-6=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[6, 29], Operations: ['99-53=46', '75-46=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[46, 69], Operations: ['99-53=46', '75-6=69'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 98, 8, 12, 51 ]
96
[ "98*12=1176", "1176/8=147", "147-51=96" ]
Current State: 96:[98, 8, 12, 51], Operations: [] Exploring Operation: 98*12=1176, Resulting Numbers: [8, 51, 1176] Generated Node #2: [8, 51, 1176] from Operation: 98*12=1176 Current State: 96:[8, 51, 1176], Operations: ['98*12=1176'] Exploring Operation: 1176/8=147, Resulting Numbers: [51, 147] Generated Node #3: [51, 147] from Operation: 1176/8=147 Current State: 96:[51, 147], Operations: ['98*12=1176', '1176/8=147'] Exploring Operation: 147-51=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[98, 8, 12, 51], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [8, 12, 47] Generated Node #0,0: 96:[8, 12, 47] Operation: 98-51=47 Exploring Operation: 8*12=96, Resulting Numbers: [98, 51, 96] Generated Node #0,1: 96:[98, 51, 96] Operation: 8*12=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[8, 12, 47], Operations: ['98-51=47'] Exploring Operation: 12-8=4, Resulting Numbers: [47, 4] Generated Node #0,0,0: 96:[47, 4] Operation: 12-8=4 Exploring Operation: 8*12=96, Resulting Numbers: [47, 96] Generated Node #0,0,1: 96:[47, 96] Operation: 8*12=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[47, 4], Operations: ['98-51=47', '12-8=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,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,1 Current State: 96:[47, 96], Operations: ['98-51=47', '8*12=96'] Exploring Operation: 47+96=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,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:[98, 51, 96], Operations: ['8*12=96'] Exploring Operation: 98-96=2, Resulting Numbers: [51, 2] Generated Node #0,1,0: 96:[51, 2] Operation: 98-96=2 Exploring Operation: 98-51=47, Resulting Numbers: [96, 47] Generated Node #0,1,1: 96:[96, 47] Operation: 98-51=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[96, 47], Operations: ['8*12=96', '98-51=47'] Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,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,1,0 Current State: 96:[51, 2], Operations: ['8*12=96', '98-96=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,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 No solution found.
0
hs_2
sum_heuristic
[ 6, 6, 46, 9 ]
67
[ "6+6=12", "46+9=55", "12+55=67" ]
Current State: 67:[6, 6, 46, 9], Operations: [] Exploring Operation: 6+6=12, Resulting Numbers: [46, 9, 12] Generated Node #2: [46, 9, 12] from Operation: 6+6=12 Current State: 67:[46, 9, 12], Operations: ['6+6=12'] Exploring Operation: 46+9=55, Resulting Numbers: [12, 55] Generated Node #3: [12, 55] from Operation: 46+9=55 Current State: 67:[12, 55], Operations: ['6+6=12', '46+9=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[6, 6, 46, 9], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [46, 9, 36] Generated Node #0,0: 67:[46, 9, 36] Operation: 6*6=36 Exploring Operation: 6*9=54, Resulting Numbers: [6, 46, 54] Generated Node #0,1: 67:[6, 46, 54] Operation: 6*9=54 Exploring Operation: 6*9=54, Resulting Numbers: [6, 46, 54] Generated Node #0,2: 67:[6, 46, 54] Operation: 6*9=54 Exploring Operation: 6+6=12, Resulting Numbers: [46, 9, 12] Generated Node #0,3: 67:[46, 9, 12] Operation: 6+6=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[6, 46, 54], Operations: ['6*9=54'] Exploring Operation: 54-6=48, Resulting Numbers: [46, 48] Generated Node #0,1,0: 67:[46, 48] Operation: 54-6=48 Exploring Operation: 6+46=52, Resulting Numbers: [54, 52] Generated Node #0,1,1: 67:[54, 52] Operation: 6+46=52 Exploring Operation: 46-6=40, Resulting Numbers: [54, 40] Generated Node #0,1,2: 67:[54, 40] Operation: 46-6=40 Exploring Operation: 6+54=60, Resulting Numbers: [46, 60] Generated Node #0,1,3: 67:[46, 60] Operation: 6+54=60 Moving to Node #0,1,1 Current State: 67:[54, 52], Operations: ['6*9=54', '6+46=52'] Exploring Operation: 54+52=106, Resulting Numbers: [106] 106,67 unequal: No Solution Exploring Operation: 54*52=2808, Resulting Numbers: [2808] 2808,67 unequal: No Solution Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[46, 60], Operations: ['6*9=54', '6+54=60'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 46*60=2760, Resulting Numbers: [2760] 2760,67 unequal: No Solution Exploring Operation: 46+60=106, Resulting Numbers: [106] 106,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[54, 40], Operations: ['6*9=54', '46-6=40'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[46, 48], Operations: ['6*9=54', '54-6=48'] Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,67 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[6, 46, 54], Operations: ['6*9=54'] Exploring Operation: 54-6=48, Resulting Numbers: [46, 48] Generated Node #0,2,0: 67:[46, 48] Operation: 54-6=48 Exploring Operation: 6+54=60, Resulting Numbers: [46, 60] Generated Node #0,2,1: 67:[46, 60] Operation: 6+54=60 Exploring Operation: 6+46=52, Resulting Numbers: [54, 52] Generated Node #0,2,2: 67:[54, 52] Operation: 6+46=52 Exploring Operation: 46-6=40, Resulting Numbers: [54, 40] Generated Node #0,2,3: 67:[54, 40] Operation: 46-6=40 Moving to Node #0,2,1 Current State: 67:[46, 60], Operations: ['6*9=54', '6+54=60'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 46+60=106, Resulting Numbers: [106] 106,67 unequal: No Solution Exploring Operation: 46*60=2760, Resulting Numbers: [2760] 2760,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[54, 52], Operations: ['6*9=54', '6+46=52'] Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 54*52=2808, Resulting Numbers: [2808] 2808,67 unequal: No Solution Exploring Operation: 54+52=106, Resulting Numbers: [106] 106,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[54, 40], Operations: ['6*9=54', '46-6=40'] Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,67 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[46, 48], Operations: ['6*9=54', '54-6=48'] Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,67 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,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,0 Current State: 67:[46, 9, 36], Operations: ['6*6=36'] Exploring Operation: 9+36=45, Resulting Numbers: [46, 45] Generated Node #0,0,0: 67:[46, 45] Operation: 9+36=45 Exploring Operation: 36-9=27, Resulting Numbers: [46, 27] Generated Node #0,0,1: 67:[46, 27] Operation: 36-9=27 Exploring Operation: 46+9=55, Resulting Numbers: [36, 55] Generated Node #0,0,2: 67:[36, 55] Operation: 46+9=55 Exploring Operation: 46-9=37, Resulting Numbers: [36, 37] Generated Node #0,0,3: 67:[36, 37] Operation: 46-9=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[46, 45], Operations: ['6*6=36', '9+36=45'] Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,67 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,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:[36, 55], Operations: ['6*6=36', '46+9=55'] Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,67 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,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:[46, 27], Operations: ['6*6=36', '36-9=27'] Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,67 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,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,3 Current State: 67:[36, 37], Operations: ['6*6=36', '46-9=37'] Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,67 unequal: No Solution Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,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,3 Current State: 67:[46, 9, 12], Operations: ['6+6=12'] Exploring Operation: 9+12=21, Resulting Numbers: [46, 21] Generated Node #0,3,0: 67:[46, 21] Operation: 9+12=21 Exploring Operation: 9*12=108, Resulting Numbers: [46, 108] Generated Node #0,3,1: 67:[46, 108] Operation: 9*12=108 Exploring Operation: 46+12=58, Resulting Numbers: [9, 58] Generated Node #0,3,2: 67:[9, 58] Operation: 46+12=58 Exploring Operation: 46+9=55, Resulting Numbers: [12, 55] Generated Node #0,3,3: 67:[12, 55] Operation: 46+9=55 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[46, 108], Operations: ['6+6=12', '9*12=108'] Exploring Operation: 46+108=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 46*108=4968, Resulting Numbers: [4968] 4968,67 unequal: No Solution Exploring Operation: 108-46=62, Resulting Numbers: [62] 62,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,3,0 Current State: 67:[46, 21], Operations: ['6+6=12', '9+12=21'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[6, 6, 46, 9], Operations: [] Exploring Operation: 6+6=12, Resulting Numbers: [46, 9, 12] Generated Node #0,3: 67:[46, 9, 12] Operation: 6+6=12 Moving to Node #0,3 Current State: 67:[46, 9, 12], Operations: ['6+6=12'] Exploring Operation: 9+12=21, Resulting Numbers: [46, 21] Generated Node #0,3,0: 67:[46, 21] Operation: 9+12=21 Moving to Node #0,3,0 Current State: 67:[46, 21], Operations: ['6+6=12', '9+12=21'] Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.943576
hs_4
sum_heuristic
[ 84, 81, 40, 11 ]
73
[ "84-81=3", "11*3=33", "40+33=73" ]
Current State: 73:[84, 81, 40, 11], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [40, 11, 3] Generated Node #2: [40, 11, 3] from Operation: 84-81=3 Current State: 73:[40, 11, 3], Operations: ['84-81=3'] Exploring Operation: 11*3=33, Resulting Numbers: [40, 33] Generated Node #3: [40, 33] from Operation: 11*3=33 Current State: 73:[40, 33], Operations: ['84-81=3', '11*3=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[84, 81, 40, 11], Operations: [] Exploring Operation: 84-11=73, Resulting Numbers: [81, 40, 73] Generated Node #0,0: 73:[81, 40, 73] Operation: 84-11=73 Exploring Operation: 40+11=51, Resulting Numbers: [84, 81, 51] Generated Node #0,1: 73:[84, 81, 51] Operation: 40+11=51 Moving to Node #0,0 Current State: 73:[81, 40, 73], Operations: ['84-11=73'] Exploring Operation: 81+40=121, Resulting Numbers: [73, 121] Generated Node #0,0,0: 73:[73, 121] Operation: 81+40=121 Exploring Operation: 81-40=41, Resulting Numbers: [73, 41] Generated Node #0,0,1: 73:[73, 41] Operation: 81-40=41 Moving to Node #0,1 Current State: 73:[84, 81, 51], Operations: ['40+11=51'] Exploring Operation: 84-51=33, Resulting Numbers: [81, 33] Generated Node #0,1,0: 73:[81, 33] Operation: 84-51=33 Exploring Operation: 81-51=30, Resulting Numbers: [84, 30] Generated Node #0,1,1: 73:[84, 30] Operation: 81-51=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[81, 33], Operations: ['40+11=51', '84-51=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[84, 30], Operations: ['40+11=51', '81-51=30'] Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,73 unequal: No Solution Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,73 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: 73:[73, 41], Operations: ['84-11=73', '81-40=41'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[73, 121], Operations: ['84-11=73', '81+40=121'] Exploring Operation: 73+121=194, Resulting Numbers: [194] 194,73 unequal: No Solution Exploring Operation: 121-73=48, Resulting Numbers: [48] 48,73 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 35, 50, 90, 60 ]
92
[ "60-35=25", "50/25=2", "90+2=92" ]
Current State: 92:[35, 50, 90, 60], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [50, 90, 25] Generated Node #2: [50, 90, 25] from Operation: 60-35=25 Current State: 92:[50, 90, 25], Operations: ['60-35=25'] Exploring Operation: 50/25=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 50/25=2 Current State: 92:[90, 2], Operations: ['60-35=25', '50/25=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[35, 50, 90, 60], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [50, 90, 25] Generated Node #0,0: 92:[50, 90, 25] Operation: 60-35=25 Exploring Operation: 35+60=95, Resulting Numbers: [50, 90, 95] Generated Node #0,1: 92:[50, 90, 95] Operation: 35+60=95 Exploring Operation: 90-60=30, Resulting Numbers: [35, 50, 30] Generated Node #0,2: 92:[35, 50, 30] Operation: 90-60=30 Exploring Operation: 60-50=10, Resulting Numbers: [35, 90, 10] Generated Node #0,3: 92:[35, 90, 10] Operation: 60-50=10 Exploring Operation: 35+50=85, Resulting Numbers: [90, 60, 85] Generated Node #0,4: 92:[90, 60, 85] Operation: 35+50=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[50, 90, 25], Operations: ['60-35=25'] Exploring Operation: 90-50=40, Resulting Numbers: [25, 40] Generated Node #0,0,0: 92:[25, 40] Operation: 90-50=40 Exploring Operation: 50/25=2, Resulting Numbers: [90, 2] Generated Node #0,0,1: 92:[90, 2] Operation: 50/25=2 Exploring Operation: 50+25=75, Resulting Numbers: [90, 75] Generated Node #0,0,2: 92:[90, 75] Operation: 50+25=75 Exploring Operation: 50-25=25, Resulting Numbers: [90, 25] Generated Node #0,0,3: 92:[90, 25] Operation: 50-25=25 Exploring Operation: 90-25=65, Resulting Numbers: [50, 65] Generated Node #0,0,4: 92:[50, 65] Operation: 90-25=65 Moving to Node #0,0,1 Current State: 92:[90, 2], Operations: ['60-35=25', '50/25=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[35, 50, 90, 60], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [50, 90, 25] Generated Node #0,0: 92:[50, 90, 25] Operation: 60-35=25 Moving to Node #0,0 Current State: 92:[50, 90, 25], Operations: ['60-35=25'] Exploring Operation: 50/25=2, Resulting Numbers: [90, 2] Generated Node #0,0,1: 92:[90, 2] Operation: 50/25=2 Moving to Node #0,0,1 Current State: 92:[90, 2], Operations: ['60-35=25', '50/25=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 64, 71, 23, 4 ]
76
[ "71-23=48", "48/4=12", "64+12=76" ]
Current State: 76:[64, 71, 23, 4], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [64, 4, 48] Generated Node #2: [64, 4, 48] from Operation: 71-23=48 Current State: 76:[64, 4, 48], Operations: ['71-23=48'] Exploring Operation: 48/4=12, Resulting Numbers: [64, 12] Generated Node #3: [64, 12] from Operation: 48/4=12 Current State: 76:[64, 12], Operations: ['71-23=48', '48/4=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[64, 71, 23, 4], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [23, 4, 7] Generated Node #0,0: 76:[23, 4, 7] Operation: 71-64=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[23, 4, 7], Operations: ['71-64=7'] Exploring Operation: 23-4=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 76:[7, 19] Operation: 23-4=19 Moving to Node #0,0,0 Current State: 76:[7, 19], Operations: ['71-64=7', '23-4=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 98, 38, 84 ]
96
[ "84-65=19", "38/19=2", "98-2=96" ]
Current State: 96:[65, 98, 38, 84], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [98, 38, 19] Generated Node #2: [98, 38, 19] from Operation: 84-65=19 Current State: 96:[98, 38, 19], Operations: ['84-65=19'] Exploring Operation: 38/19=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 38/19=2 Current State: 96:[98, 2], Operations: ['84-65=19', '38/19=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[65, 98, 38, 84], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [98, 84, 27] Generated Node #0,0: 96:[98, 84, 27] Operation: 65-38=27 Exploring Operation: 84-65=19, Resulting Numbers: [98, 38, 19] Generated Node #0,1: 96:[98, 38, 19] Operation: 84-65=19 Moving to Node #0,1 Current State: 96:[98, 38, 19], Operations: ['84-65=19'] Exploring Operation: 38/19=2, Resulting Numbers: [98, 2] Generated Node #0,1,0: 96:[98, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [98, 19] Generated Node #0,1,1: 96:[98, 19] Operation: 38-19=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[98, 2], Operations: ['84-65=19', '38/19=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[65, 98, 38, 84], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [98, 38, 19] Generated Node #0,1: 96:[98, 38, 19] Operation: 84-65=19 Moving to Node #0,1 Current State: 96:[98, 38, 19], Operations: ['84-65=19'] Exploring Operation: 38/19=2, Resulting Numbers: [98, 2] Generated Node #0,1,0: 96:[98, 2] Operation: 38/19=2 Moving to Node #0,1,0 Current State: 96:[98, 2], Operations: ['84-65=19', '38/19=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 14, 50, 52, 54 ]
94
[ "52-50=2", "54*2=108", "108-14=94" ]
Current State: 94:[14, 50, 52, 54], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [14, 54, 2] Generated Node #2: [14, 54, 2] from Operation: 52-50=2 Current State: 94:[14, 54, 2], Operations: ['52-50=2'] Exploring Operation: 54*2=108, Resulting Numbers: [14, 108] Generated Node #3: [14, 108] from Operation: 54*2=108 Current State: 94:[14, 108], Operations: ['52-50=2', '54*2=108'] Exploring Operation: 108-14=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[14, 50, 52, 54], Operations: [] Exploring Operation: 54-50=4, Resulting Numbers: [14, 52, 4] Generated Node #0,0: 94:[14, 52, 4] Operation: 54-50=4 Exploring Operation: 54-14=40, Resulting Numbers: [50, 52, 40] Generated Node #0,1: 94:[50, 52, 40] Operation: 54-14=40 Exploring Operation: 52-14=38, Resulting Numbers: [50, 54, 38] Generated Node #0,2: 94:[50, 54, 38] Operation: 52-14=38 Exploring Operation: 54-52=2, Resulting Numbers: [14, 50, 2] Generated Node #0,3: 94:[14, 50, 2] Operation: 54-52=2 Exploring Operation: 52-50=2, Resulting Numbers: [14, 54, 2] Generated Node #0,4: 94:[14, 54, 2] Operation: 52-50=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[50, 52, 40], Operations: ['54-14=40'] Exploring Operation: 52+40=92, Resulting Numbers: [50, 92] Generated Node #0,1,0: 94:[50, 92] Operation: 52+40=92 Exploring Operation: 50+40=90, Resulting Numbers: [52, 90] Generated Node #0,1,1: 94:[52, 90] Operation: 50+40=90 Exploring Operation: 52-40=12, Resulting Numbers: [50, 12] Generated Node #0,1,2: 94:[50, 12] Operation: 52-40=12 Exploring Operation: 50-40=10, Resulting Numbers: [52, 10] Generated Node #0,1,3: 94:[52, 10] Operation: 50-40=10 Exploring Operation: 52-50=2, Resulting Numbers: [40, 2] Generated Node #0,1,4: 94:[40, 2] Operation: 52-50=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[50, 92], Operations: ['54-14=40', '52+40=92'] Exploring Operation: 50*92=4600, Resulting Numbers: [4600] 4600,94 unequal: No Solution Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 50+92=142, Resulting Numbers: [142] 142,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 94:[40, 2], Operations: ['54-14=40', '52-50=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[52, 90], Operations: ['54-14=40', '50+40=90'] Exploring Operation: 52+90=142, Resulting Numbers: [142] 142,94 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 52*90=4680, Resulting Numbers: [4680] 4680,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[50, 12], Operations: ['54-14=40', '52-40=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,94 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 94:[52, 10], Operations: ['54-14=40', '50-40=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[14, 50, 2], Operations: ['54-52=2'] Exploring Operation: 50-2=48, Resulting Numbers: [14, 48] Generated Node #0,3,0: 94:[14, 48] Operation: 50-2=48 Exploring Operation: 14+50=64, Resulting Numbers: [2, 64] Generated Node #0,3,1: 94:[2, 64] Operation: 14+50=64 Exploring Operation: 14/2=7, Resulting Numbers: [50, 7] Generated Node #0,3,2: 94:[50, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [50, 12] Generated Node #0,3,3: 94:[50, 12] Operation: 14-2=12 Exploring Operation: 50-14=36, Resulting Numbers: [2, 36] Generated Node #0,3,4: 94:[2, 36] Operation: 50-14=36 Moving to Node #0,3,2 Current State: 94:[50, 7], Operations: ['54-52=2', '14/2=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[2, 36], Operations: ['54-52=2', '50-14=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[14, 48], Operations: ['54-52=2', '50-2=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,94 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[50, 12], Operations: ['54-52=2', '14-2=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,94 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[2, 64], Operations: ['54-52=2', '14+50=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[14, 52, 4], Operations: ['54-50=4'] Exploring Operation: 14+52=66, Resulting Numbers: [4, 66] Generated Node #0,0,0: 94:[4, 66] Operation: 14+52=66 Exploring Operation: 52-14=38, Resulting Numbers: [4, 38] Generated Node #0,0,1: 94:[4, 38] Operation: 52-14=38 Exploring Operation: 14-4=10, Resulting Numbers: [52, 10] Generated Node #0,0,2: 94:[52, 10] Operation: 14-4=10 Exploring Operation: 52-4=48, Resulting Numbers: [14, 48] Generated Node #0,0,3: 94:[14, 48] Operation: 52-4=48 Exploring Operation: 14*4=56, Resulting Numbers: [52, 56] Generated Node #0,0,4: 94:[52, 56] Operation: 14*4=56 Moving to Node #0,0,1 Current State: 94:[4, 38], Operations: ['54-50=4', '52-14=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[14, 48], Operations: ['54-50=4', '52-4=48'] Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,94 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[52, 10], Operations: ['54-50=4', '14-4=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,94 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[52, 56], Operations: ['54-50=4', '14*4=56'] Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[4, 66], Operations: ['54-50=4', '14+52=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[50, 54, 38], Operations: ['52-14=38'] Exploring Operation: 50+38=88, Resulting Numbers: [54, 88] Generated Node #0,2,0: 94:[54, 88] Operation: 50+38=88 Exploring Operation: 50-38=12, Resulting Numbers: [54, 12] Generated Node #0,2,1: 94:[54, 12] Operation: 50-38=12 Exploring Operation: 54+38=92, Resulting Numbers: [50, 92] Generated Node #0,2,2: 94:[50, 92] Operation: 54+38=92 Exploring Operation: 54-50=4, Resulting Numbers: [38, 4] Generated Node #0,2,3: 94:[38, 4] Operation: 54-50=4 Exploring Operation: 54-38=16, Resulting Numbers: [50, 16] Generated Node #0,2,4: 94:[50, 16] Operation: 54-38=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[50, 92], Operations: ['52-14=38', '54+38=92'] Exploring Operation: 50*92=4600, Resulting Numbers: [4600] 4600,94 unequal: No Solution Exploring Operation: 50+92=142, Resulting Numbers: [142] 142,94 unequal: No Solution Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 94:[38, 4], Operations: ['52-14=38', '54-50=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[54, 88], Operations: ['52-14=38', '50+38=88'] Exploring Operation: 54+88=142, Resulting Numbers: [142] 142,94 unequal: No Solution Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 54*88=4752, Resulting Numbers: [4752] 4752,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[54, 12], Operations: ['52-14=38', '50-38=12'] Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,94 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 94:[50, 16], Operations: ['52-14=38', '54-38=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[14, 54, 2], Operations: ['52-50=2'] Exploring Operation: 54-14=40, Resulting Numbers: [2, 40] Generated Node #0,4,0: 94:[2, 40] Operation: 54-14=40 Exploring Operation: 14-2=12, Resulting Numbers: [54, 12] Generated Node #0,4,1: 94:[54, 12] Operation: 14-2=12 Exploring Operation: 14+54=68, Resulting Numbers: [2, 68] Generated Node #0,4,2: 94:[2, 68] Operation: 14+54=68 Exploring Operation: 14/2=7, Resulting Numbers: [54, 7] Generated Node #0,4,3: 94:[54, 7] Operation: 14/2=7 Exploring Operation: 54-2=52, Resulting Numbers: [14, 52] Generated Node #0,4,4: 94:[14, 52] Operation: 54-2=52 Moving to Node #0,4,0 Current State: 94:[2, 40], Operations: ['52-50=2', '54-14=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[54, 7], Operations: ['52-50=2', '14/2=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,94 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[54, 12], Operations: ['52-50=2', '14-2=12'] Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,94 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[14, 52], Operations: ['52-50=2', '54-2=52'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,94 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[2, 68], Operations: ['52-50=2', '14+54=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 21, 42, 4, 80 ]
82
[ "42/21=2", "4+80=84", "84-2=82" ]
Current State: 82:[21, 42, 4, 80], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [4, 80, 2] Generated Node #2: [4, 80, 2] from Operation: 42/21=2 Current State: 82:[4, 80, 2], Operations: ['42/21=2'] Exploring Operation: 4+80=84, Resulting Numbers: [2, 84] Generated Node #3: [2, 84] from Operation: 4+80=84 Current State: 82:[2, 84], Operations: ['42/21=2', '4+80=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[21, 42, 4, 80], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [4, 80, 2] Generated Node #0,0: 82:[4, 80, 2] Operation: 42/21=2 Exploring Operation: 21+4=25, Resulting Numbers: [42, 80, 25] Generated Node #0,1: 82:[42, 80, 25] Operation: 21+4=25 Exploring Operation: 21-4=17, Resulting Numbers: [42, 80, 17] Generated Node #0,2: 82:[42, 80, 17] Operation: 21-4=17 Exploring Operation: 21*4=84, Resulting Numbers: [42, 80, 84] Generated Node #0,3: 82:[42, 80, 84] Operation: 21*4=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[4, 80, 2], Operations: ['42/21=2'] Exploring Operation: 4+80=84, Resulting Numbers: [2, 84] Generated Node #0,0,0: 82:[2, 84] Operation: 4+80=84 Exploring Operation: 4/2=2, Resulting Numbers: [80, 2] Generated Node #0,0,1: 82:[80, 2] Operation: 4/2=2 Exploring Operation: 80+2=82, Resulting Numbers: [4, 82] Generated Node #0,0,2: 82:[4, 82] Operation: 80+2=82 Exploring Operation: 4-2=2, Resulting Numbers: [80, 2] Generated Node #0,0,3: 82:[80, 2] Operation: 4-2=2 Moving to Node #0,0,0 Current State: 82:[2, 84], Operations: ['42/21=2', '4+80=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[21, 42, 4, 80], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [4, 80, 2] Generated Node #0,0: 82:[4, 80, 2] Operation: 42/21=2 Moving to Node #0,0 Current State: 82:[4, 80, 2], Operations: ['42/21=2'] Exploring Operation: 4+80=84, Resulting Numbers: [2, 84] Generated Node #0,0,0: 82:[2, 84] Operation: 4+80=84 Moving to Node #0,0,0 Current State: 82:[2, 84], Operations: ['42/21=2', '4+80=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 37, 50, 17, 16 ]
51
[ "50-37=13", "16-13=3", "17*3=51" ]
Current State: 51:[37, 50, 17, 16], Operations: [] Exploring Operation: 50-37=13, Resulting Numbers: [17, 16, 13] Generated Node #2: [17, 16, 13] from Operation: 50-37=13 Current State: 51:[17, 16, 13], Operations: ['50-37=13'] Exploring Operation: 16-13=3, Resulting Numbers: [17, 3] Generated Node #3: [17, 3] from Operation: 16-13=3 Current State: 51:[17, 3], Operations: ['50-37=13', '16-13=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[37, 50, 17, 16], Operations: [] Exploring Operation: 37-17=20, Resulting Numbers: [50, 16, 20] Generated Node #0,0: 51:[50, 16, 20] Operation: 37-17=20 Exploring Operation: 50-37=13, Resulting Numbers: [17, 16, 13] Generated Node #0,1: 51:[17, 16, 13] Operation: 50-37=13 Exploring Operation: 37+16=53, Resulting Numbers: [50, 17, 53] Generated Node #0,2: 51:[50, 17, 53] Operation: 37+16=53 Exploring Operation: 37-16=21, Resulting Numbers: [50, 17, 21] Generated Node #0,3: 51:[50, 17, 21] Operation: 37-16=21 Exploring Operation: 37+17=54, Resulting Numbers: [50, 16, 54] Generated Node #0,4: 51:[50, 16, 54] Operation: 37+17=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[50, 17, 53], Operations: ['37+16=53'] Exploring Operation: 53-17=36, Resulting Numbers: [50, 36] Generated Node #0,2,0: 51:[50, 36] Operation: 53-17=36 Exploring Operation: 53-50=3, Resulting Numbers: [17, 3] Generated Node #0,2,1: 51:[17, 3] Operation: 53-50=3 Exploring Operation: 17+53=70, Resulting Numbers: [50, 70] Generated Node #0,2,2: 51:[50, 70] Operation: 17+53=70 Exploring Operation: 50+17=67, Resulting Numbers: [53, 67] Generated Node #0,2,3: 51:[53, 67] Operation: 50+17=67 Exploring Operation: 50-17=33, Resulting Numbers: [53, 33] Generated Node #0,2,4: 51:[53, 33] Operation: 50-17=33 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[17, 3], Operations: ['37+16=53', '53-50=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[37, 50, 17, 16], Operations: [] Exploring Operation: 37+16=53, Resulting Numbers: [50, 17, 53] Generated Node #0,2: 51:[50, 17, 53] Operation: 37+16=53 Moving to Node #0,2 Current State: 51:[50, 17, 53], Operations: ['37+16=53'] Exploring Operation: 53-50=3, Resulting Numbers: [17, 3] Generated Node #0,2,1: 51:[17, 3] Operation: 53-50=3 Moving to Node #0,2,1 Current State: 51:[17, 3], Operations: ['37+16=53', '53-50=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 73, 61, 75, 20 ]
67
[ "73-61=12", "75-20=55", "12+55=67" ]
Current State: 67:[73, 61, 75, 20], Operations: [] Exploring Operation: 73-61=12, Resulting Numbers: [75, 20, 12] Generated Node #2: [75, 20, 12] from Operation: 73-61=12 Current State: 67:[75, 20, 12], Operations: ['73-61=12'] Exploring Operation: 75-20=55, Resulting Numbers: [12, 55] Generated Node #3: [12, 55] from Operation: 75-20=55 Current State: 67:[12, 55], Operations: ['73-61=12', '75-20=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[73, 61, 75, 20], Operations: [] Exploring Operation: 73+20=93, Resulting Numbers: [61, 75, 93] Generated Node #0,0: 67:[61, 75, 93] Operation: 73+20=93 Exploring Operation: 73-20=53, Resulting Numbers: [61, 75, 53] Generated Node #0,1: 67:[61, 75, 53] Operation: 73-20=53 Exploring Operation: 61+20=81, Resulting Numbers: [73, 75, 81] Generated Node #0,2: 67:[73, 75, 81] Operation: 61+20=81 Exploring Operation: 75-20=55, Resulting Numbers: [73, 61, 55] Generated Node #0,3: 67:[73, 61, 55] Operation: 75-20=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[73, 61, 55], Operations: ['75-20=55'] Exploring Operation: 73+55=128, Resulting Numbers: [61, 128] Generated Node #0,3,0: 67:[61, 128] Operation: 73+55=128 Exploring Operation: 61+55=116, Resulting Numbers: [73, 116] Generated Node #0,3,1: 67:[73, 116] Operation: 61+55=116 Exploring Operation: 73-61=12, Resulting Numbers: [55, 12] Generated Node #0,3,2: 67:[55, 12] Operation: 73-61=12 Exploring Operation: 73-55=18, Resulting Numbers: [61, 18] Generated Node #0,3,3: 67:[61, 18] Operation: 73-55=18 Moving to Node #0,3,1 Current State: 67:[73, 116], Operations: ['75-20=55', '61+55=116'] Exploring Operation: 73+116=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 116-73=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 73*116=8468, Resulting Numbers: [8468] 8468,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[61, 18], Operations: ['75-20=55', '73-55=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[55, 12], Operations: ['75-20=55', '73-61=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[73, 61, 75, 20], Operations: [] Exploring Operation: 75-20=55, Resulting Numbers: [73, 61, 55] Generated Node #0,3: 67:[73, 61, 55] Operation: 75-20=55 Moving to Node #0,3 Current State: 67:[73, 61, 55], Operations: ['75-20=55'] Exploring Operation: 73-61=12, Resulting Numbers: [55, 12] Generated Node #0,3,2: 67:[55, 12] Operation: 73-61=12 Moving to Node #0,3,2 Current State: 67:[55, 12], Operations: ['75-20=55', '73-61=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 18, 71, 1, 78 ]
74
[ "71+1=72", "72/18=4", "78-4=74" ]
Current State: 74:[18, 71, 1, 78], Operations: [] Exploring Operation: 71+1=72, Resulting Numbers: [18, 78, 72] Generated Node #2: [18, 78, 72] from Operation: 71+1=72 Current State: 74:[18, 78, 72], Operations: ['71+1=72'] Exploring Operation: 72/18=4, Resulting Numbers: [78, 4] Generated Node #3: [78, 4] from Operation: 72/18=4 Current State: 74:[78, 4], Operations: ['71+1=72', '72/18=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[18, 71, 1, 78], Operations: [] Exploring Operation: 71+1=72, Resulting Numbers: [18, 78, 72] Generated Node #0,0: 74:[18, 78, 72] Operation: 71+1=72 Exploring Operation: 18-1=17, Resulting Numbers: [71, 78, 17] Generated Node #0,1: 74:[71, 78, 17] Operation: 18-1=17 Exploring Operation: 71-18=53, Resulting Numbers: [1, 78, 53] Generated Node #0,2: 74:[1, 78, 53] Operation: 71-18=53 Exploring Operation: 78-18=60, Resulting Numbers: [71, 1, 60] Generated Node #0,3: 74:[71, 1, 60] Operation: 78-18=60 Exploring Operation: 18+71=89, Resulting Numbers: [1, 78, 89] Generated Node #0,4: 74:[1, 78, 89] Operation: 18+71=89 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[71, 1, 60], Operations: ['78-18=60'] Exploring Operation: 71-60=11, Resulting Numbers: [1, 11] Generated Node #0,3,0: 74:[1, 11] Operation: 71-60=11 Exploring Operation: 71/1=71, Resulting Numbers: [60, 71] Generated Node #0,3,1: 74:[60, 71] Operation: 71/1=71 Exploring Operation: 71+1=72, Resulting Numbers: [60, 72] Generated Node #0,3,2: 74:[60, 72] Operation: 71+1=72 Exploring Operation: 71*1=71, Resulting Numbers: [60, 71] Generated Node #0,3,3: 74:[60, 71] Operation: 71*1=71 Exploring Operation: 1+60=61, Resulting Numbers: [71, 61] Generated Node #0,3,4: 74:[71, 61] Operation: 1+60=61 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 74:[1, 11], Operations: ['78-18=60', '71-60=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,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,3,2 Current State: 74:[60, 72], Operations: ['78-18=60', '71+1=72'] Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,74 unequal: No Solution Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,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,3,4 Current State: 74:[71, 61], Operations: ['78-18=60', '1+60=61'] Exploring Operation: 71+61=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 71*61=4331, Resulting Numbers: [4331] 4331,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,3,1 Current State: 74:[60, 71], Operations: ['78-18=60', '71/1=71'] Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,74 unequal: No Solution Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,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,3,3 Current State: 74:[60, 71], Operations: ['78-18=60', '71*1=71'] Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,74 unequal: No Solution Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,74 unequal: No Solution Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,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,4 Current State: 74:[1, 78, 89], Operations: ['18+71=89'] Exploring Operation: 78-1=77, Resulting Numbers: [89, 77] Generated Node #0,4,0: 74:[89, 77] Operation: 78-1=77 Exploring Operation: 78/1=78, Resulting Numbers: [89, 78] Generated Node #0,4,1: 74:[89, 78] Operation: 78/1=78 Exploring Operation: 89-1=88, Resulting Numbers: [78, 88] Generated Node #0,4,2: 74:[78, 88] Operation: 89-1=88 Exploring Operation: 89-78=11, Resulting Numbers: [1, 11] Generated Node #0,4,3: 74:[1, 11] Operation: 89-78=11 Exploring Operation: 1*78=78, Resulting Numbers: [89, 78] Generated Node #0,4,4: 74:[89, 78] Operation: 1*78=78 Moving to Node #0,4,3 Current State: 74:[1, 11], Operations: ['18+71=89', '89-78=11'] Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,74 unequal: No Solution Moving to Node #0,4,2 Current State: 74:[78, 88], Operations: ['18+71=89', '89-1=88'] Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,74 unequal: No Solution Moving to Node #0,4,0 Current State: 74:[89, 77], Operations: ['18+71=89', '78-1=77'] Exploring Operation: 89*77=6853, Resulting Numbers: [6853] 6853,74 unequal: No Solution Exploring Operation: 89+77=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 89-77=12, Resulting Numbers: [12] 12,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[89, 78], Operations: ['18+71=89', '78/1=78'] Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,74 unequal: No Solution Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,74 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,74 unequal: No Solution Moving to Node #0,4,4 Current State: 74:[89, 78], Operations: ['18+71=89', '1*78=78'] Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,74 unequal: No Solution Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,74 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,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,2 Current State: 74:[1, 78, 53], Operations: ['71-18=53'] Exploring Operation: 78-53=25, Resulting Numbers: [1, 25] Generated Node #0,2,0: 74:[1, 25] Operation: 78-53=25 Exploring Operation: 1*78=78, Resulting Numbers: [53, 78] Generated Node #0,2,1: 74:[53, 78] Operation: 1*78=78 Exploring Operation: 78/1=78, Resulting Numbers: [53, 78] Generated Node #0,2,2: 74:[53, 78] Operation: 78/1=78 Exploring Operation: 53-1=52, Resulting Numbers: [78, 52] Generated Node #0,2,3: 74:[78, 52] Operation: 53-1=52 Exploring Operation: 78-1=77, Resulting Numbers: [53, 77] Generated Node #0,2,4: 74:[53, 77] Operation: 78-1=77 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[1, 25], Operations: ['71-18=53', '78-53=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,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,2,3 Current State: 74:[78, 52], Operations: ['71-18=53', '53-1=52'] Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,74 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,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,2,4 Current State: 74:[53, 77], Operations: ['71-18=53', '78-1=77'] Exploring Operation: 53+77=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 53*77=4081, Resulting Numbers: [4081] 4081,74 unequal: No Solution Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,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,2,1 Current State: 74:[53, 78], Operations: ['71-18=53', '1*78=78'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 53*78=4134, Resulting Numbers: [4134] 4134,74 unequal: No Solution Exploring Operation: 53+78=131, Resulting Numbers: [131] 131,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,2,2 Current State: 74:[53, 78], Operations: ['71-18=53', '78/1=78'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 53*78=4134, Resulting Numbers: [4134] 4134,74 unequal: No Solution Exploring Operation: 53+78=131, Resulting Numbers: [131] 131,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,0 Current State: 74:[18, 78, 72], Operations: ['71+1=72'] Exploring Operation: 72-18=54, Resulting Numbers: [78, 54] Generated Node #0,0,0: 74:[78, 54] Operation: 72-18=54 Exploring Operation: 78-72=6, Resulting Numbers: [18, 6] Generated Node #0,0,1: 74:[18, 6] Operation: 78-72=6 Exploring Operation: 72/18=4, Resulting Numbers: [78, 4] Generated Node #0,0,2: 74:[78, 4] Operation: 72/18=4 Exploring Operation: 18+72=90, Resulting Numbers: [78, 90] Generated Node #0,0,3: 74:[78, 90] Operation: 18+72=90 Exploring Operation: 78-18=60, Resulting Numbers: [72, 60] Generated Node #0,0,4: 74:[72, 60] Operation: 78-18=60 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[78, 4], Operations: ['71+1=72', '72/18=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[18, 71, 1, 78], Operations: [] Exploring Operation: 71+1=72, Resulting Numbers: [18, 78, 72] Generated Node #0,0: 74:[18, 78, 72] Operation: 71+1=72 Moving to Node #0,0 Current State: 74:[18, 78, 72], Operations: ['71+1=72'] Exploring Operation: 72/18=4, Resulting Numbers: [78, 4] Generated Node #0,0,2: 74:[78, 4] Operation: 72/18=4 Moving to Node #0,0,2 Current State: 74:[78, 4], Operations: ['71+1=72', '72/18=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.932292
hs_5
sum_heuristic
[ 76, 91, 3, 24 ]
65
[ "76-24=52", "3*52=156", "156-91=65" ]
Current State: 65:[76, 91, 3, 24], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [91, 3, 52] Generated Node #2: [91, 3, 52] from Operation: 76-24=52 Current State: 65:[91, 3, 52], Operations: ['76-24=52'] Exploring Operation: 3*52=156, Resulting Numbers: [91, 156] Generated Node #3: [91, 156] from Operation: 3*52=156 Current State: 65:[91, 156], Operations: ['76-24=52', '3*52=156'] Exploring Operation: 156-91=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[76, 91, 3, 24], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [3, 24, 15] Generated Node #0,0: 65:[3, 24, 15] Operation: 91-76=15 Exploring Operation: 91-24=67, Resulting Numbers: [76, 3, 67] Generated Node #0,1: 65:[76, 3, 67] Operation: 91-24=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[3, 24, 15], Operations: ['91-76=15'] Exploring Operation: 24-15=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 65:[3, 9] Operation: 24-15=9 Exploring Operation: 24/3=8, Resulting Numbers: [15, 8] Generated Node #0,0,1: 65:[15, 8] Operation: 24/3=8 Moving to Node #0,0,1 Current State: 65:[15, 8], Operations: ['91-76=15', '24/3=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[3, 9], Operations: ['91-76=15', '24-15=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,65 unequal: No Solution No solution 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: 65:[76, 3, 67], Operations: ['91-24=67'] Exploring Operation: 76-3=73, Resulting Numbers: [67, 73] Generated Node #0,1,0: 65:[67, 73] Operation: 76-3=73 Exploring Operation: 76-67=9, Resulting Numbers: [3, 9] Generated Node #0,1,1: 65:[3, 9] Operation: 76-67=9 Moving to Node #0,1,1 Current State: 65:[3, 9], Operations: ['91-24=67', '76-67=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[67, 73], Operations: ['91-24=67', '76-3=73'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 67+73=140, Resulting Numbers: [140] 140,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 31, 68, 68, 80 ]
87
[ "31+68=99", "80-68=12", "99-12=87" ]
Current State: 87:[31, 68, 68, 80], Operations: [] Exploring Operation: 31+68=99, Resulting Numbers: [80, 99] Generated Node #2: [80, 99] from Operation: 31+68=99 Current State: 87:[80, 99], Operations: ['31+68=99'] Exploring Operation: 80-68=12, Resulting Numbers: [99, 12] Generated Node #3: [99, 12] from Operation: 80-68=12 Current State: 87:[99, 12], Operations: ['31+68=99', '80-68=12'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[31, 68, 68, 80], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [31, 68, 12] Generated Node #0,0: 87:[31, 68, 12] Operation: 80-68=12 Exploring Operation: 68/68=1, Resulting Numbers: [31, 80, 1] Generated Node #0,1: 87:[31, 80, 1] Operation: 68/68=1 Exploring Operation: 68-68=0, Resulting Numbers: [31, 80, 0] Generated Node #0,2: 87:[31, 80, 0] Operation: 68-68=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[31, 80, 1], Operations: ['68/68=1'] Exploring Operation: 80+1=81, Resulting Numbers: [31, 81] Generated Node #0,1,0: 87:[31, 81] Operation: 80+1=81 Exploring Operation: 31*1=31, Resulting Numbers: [80, 31] Generated Node #0,1,1: 87:[80, 31] Operation: 31*1=31 Exploring Operation: 31-1=30, Resulting Numbers: [80, 30] Generated Node #0,1,2: 87:[80, 30] Operation: 31-1=30 Moving to Node #0,1,0 Current State: 87:[31, 81], Operations: ['68/68=1', '80+1=81'] Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 31*81=2511, Resulting Numbers: [2511] 2511,87 unequal: No Solution Exploring Operation: 31+81=112, Resulting Numbers: [112] 112,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[80, 30], Operations: ['68/68=1', '31-1=30'] Exploring Operation: 80*30=2400, Resulting Numbers: [2400] 2400,87 unequal: No Solution Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[80, 31], Operations: ['68/68=1', '31*1=31'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,87 unequal: No Solution Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[31, 80, 0], Operations: ['68-68=0'] Exploring Operation: 31+0=31, Resulting Numbers: [80, 31] Generated Node #0,2,0: 87:[80, 31] Operation: 31+0=31 Exploring Operation: 80*0=0, Resulting Numbers: [31, 0] Generated Node #0,2,1: 87:[31, 0] Operation: 80*0=0 Exploring Operation: 31-0=31, Resulting Numbers: [80, 31] Generated Node #0,2,2: 87:[80, 31] Operation: 31-0=31 Moving to Node #0,2,1 Current State: 87:[31, 0], Operations: ['68-68=0', '80*0=0'] Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[80, 31], Operations: ['68-68=0', '31+0=31'] Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,87 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[80, 31], Operations: ['68-68=0', '31-0=31'] Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,87 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[31, 68, 12], Operations: ['80-68=12'] Exploring Operation: 68+12=80, Resulting Numbers: [31, 80] Generated Node #0,0,0: 87:[31, 80] Operation: 68+12=80 Exploring Operation: 68-31=37, Resulting Numbers: [12, 37] Generated Node #0,0,1: 87:[12, 37] Operation: 68-31=37 Exploring Operation: 31+68=99, Resulting Numbers: [12, 99] Generated Node #0,0,2: 87:[12, 99] Operation: 31+68=99 Moving to Node #0,0,0 Current State: 87:[31, 80], Operations: ['80-68=12', '68+12=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,87 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[12, 37], Operations: ['80-68=12', '68-31=37'] Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,87 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[12, 99], Operations: ['80-68=12', '31+68=99'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[31, 68, 68, 80], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [31, 68, 12] Generated Node #0,0: 87:[31, 68, 12] Operation: 80-68=12 Moving to Node #0,0 Current State: 87:[31, 68, 12], Operations: ['80-68=12'] Exploring Operation: 31+68=99, Resulting Numbers: [12, 99] Generated Node #0,0,2: 87:[12, 99] Operation: 31+68=99 Moving to Node #0,0,2 Current State: 87:[12, 99], Operations: ['80-68=12', '31+68=99'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_3
sum_heuristic
[ 83, 67, 9, 57 ]
82
[ "83-67=16", "9+57=66", "16+66=82" ]
Current State: 82:[83, 67, 9, 57], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [9, 57, 16] Generated Node #2: [9, 57, 16] from Operation: 83-67=16 Current State: 82:[9, 57, 16], Operations: ['83-67=16'] Exploring Operation: 9+57=66, Resulting Numbers: [16, 66] Generated Node #3: [16, 66] from Operation: 9+57=66 Current State: 82:[16, 66], Operations: ['83-67=16', '9+57=66'] Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[83, 67, 9, 57], Operations: [] Exploring Operation: 67-57=10, Resulting Numbers: [83, 9, 10] Generated Node #0,0: 82:[83, 9, 10] Operation: 67-57=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[83, 9, 10], Operations: ['67-57=10'] Exploring Operation: 10-9=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 82:[83, 1] Operation: 10-9=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[83, 1], Operations: ['67-57=10', '10-9=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[83, 67, 9, 57], Operations: [] Exploring Operation: 67-57=10, Resulting Numbers: [83, 9, 10] Generated Node #0,0: 82:[83, 9, 10] Operation: 67-57=10 Moving to Node #0,0 Current State: 82:[83, 9, 10], Operations: ['67-57=10'] Exploring Operation: 10-9=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 82:[83, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 82:[83, 1], Operations: ['67-57=10', '10-9=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 12, 2, 39, 59 ]
14
[ "12/2=6", "59-39=20", "20-6=14" ]
Current State: 14:[12, 2, 39, 59], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [39, 59, 6] Generated Node #2: [39, 59, 6] from Operation: 12/2=6 Current State: 14:[39, 59, 6], Operations: ['12/2=6'] Exploring Operation: 59-39=20, Resulting Numbers: [6, 20] Generated Node #3: [6, 20] from Operation: 59-39=20 Current State: 14:[6, 20], Operations: ['12/2=6', '59-39=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[12, 2, 39, 59], Operations: [] Exploring Operation: 59-39=20, Resulting Numbers: [12, 2, 20] Generated Node #0,0: 14:[12, 2, 20] Operation: 59-39=20 Exploring Operation: 39-12=27, Resulting Numbers: [2, 59, 27] Generated Node #0,1: 14:[2, 59, 27] Operation: 39-12=27 Exploring Operation: 59-12=47, Resulting Numbers: [2, 39, 47] Generated Node #0,2: 14:[2, 39, 47] Operation: 59-12=47 Moving to Node #0,0 Current State: 14:[12, 2, 20], Operations: ['59-39=20'] Exploring Operation: 20-12=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 14:[2, 8] Operation: 20-12=8 Exploring Operation: 20/2=10, Resulting Numbers: [12, 10] Generated Node #0,0,1: 14:[12, 10] Operation: 20/2=10 Exploring Operation: 12+2=14, Resulting Numbers: [20, 14] Generated Node #0,0,2: 14:[20, 14] Operation: 12+2=14 Moving to Node #0,1 Current State: 14:[2, 59, 27], Operations: ['39-12=27'] Exploring Operation: 59-2=57, Resulting Numbers: [27, 57] Generated Node #0,1,0: 14:[27, 57] Operation: 59-2=57 Exploring Operation: 59-27=32, Resulting Numbers: [2, 32] Generated Node #0,1,1: 14:[2, 32] Operation: 59-27=32 Exploring Operation: 27-2=25, Resulting Numbers: [59, 25] Generated Node #0,1,2: 14:[59, 25] Operation: 27-2=25 Moving to Node #0,2 Current State: 14:[2, 39, 47], Operations: ['59-12=47'] Exploring Operation: 47-39=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 14:[2, 8] Operation: 47-39=8 Exploring Operation: 47-2=45, Resulting Numbers: [39, 45] Generated Node #0,2,1: 14:[39, 45] Operation: 47-2=45 Exploring Operation: 39-2=37, Resulting Numbers: [47, 37] Generated Node #0,2,2: 14:[47, 37] Operation: 39-2=37 Moving to Node #0,0,0 Current State: 14:[2, 8], Operations: ['59-39=20', '20-12=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[2, 8], Operations: ['59-12=47', '47-39=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[12, 10], Operations: ['59-39=20', '20/2=10'] Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[20, 14], Operations: ['59-39=20', '12+2=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,14 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[2, 32], Operations: ['39-12=27', '59-27=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[59, 25], Operations: ['39-12=27', '27-2=25'] Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,14 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[47, 37], Operations: ['59-12=47', '39-2=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,14 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[27, 57], Operations: ['39-12=27', '59-2=57'] Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,14 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[39, 45], Operations: ['59-12=47', '47-2=45'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,14 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,14 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 51, 77, 97, 50 ]
21
[ "77-51=26", "97-50=47", "47-26=21" ]
Current State: 21:[51, 77, 97, 50], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [97, 50, 26] Generated Node #2: [97, 50, 26] from Operation: 77-51=26 Current State: 21:[97, 50, 26], Operations: ['77-51=26'] Exploring Operation: 97-50=47, Resulting Numbers: [26, 47] Generated Node #3: [26, 47] from Operation: 97-50=47 Current State: 21:[26, 47], Operations: ['77-51=26', '97-50=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[51, 77, 97, 50], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [97, 50, 26] Generated Node #0,0: 21:[97, 50, 26] Operation: 77-51=26 Exploring Operation: 97-50=47, Resulting Numbers: [51, 77, 47] Generated Node #0,1: 21:[51, 77, 47] Operation: 97-50=47 Exploring Operation: 77-50=27, Resulting Numbers: [51, 97, 27] Generated Node #0,2: 21:[51, 97, 27] Operation: 77-50=27 Exploring Operation: 97-51=46, Resulting Numbers: [77, 50, 46] Generated Node #0,3: 21:[77, 50, 46] Operation: 97-51=46 Exploring Operation: 97-77=20, Resulting Numbers: [51, 50, 20] Generated Node #0,4: 21:[51, 50, 20] Operation: 97-77=20 Moving to Node #0,4 Current State: 21:[51, 50, 20], Operations: ['97-77=20'] Exploring Operation: 50-20=30, Resulting Numbers: [51, 30] Generated Node #0,4,0: 21:[51, 30] Operation: 50-20=30 Exploring Operation: 51-50=1, Resulting Numbers: [20, 1] Generated Node #0,4,1: 21:[20, 1] Operation: 51-50=1 Exploring Operation: 51+20=71, Resulting Numbers: [50, 71] Generated Node #0,4,2: 21:[50, 71] Operation: 51+20=71 Exploring Operation: 51-20=31, Resulting Numbers: [50, 31] Generated Node #0,4,3: 21:[50, 31] Operation: 51-20=31 Exploring Operation: 50+20=70, Resulting Numbers: [51, 70] Generated Node #0,4,4: 21:[51, 70] Operation: 50+20=70 Moving to Node #0,3 Current State: 21:[77, 50, 46], Operations: ['97-51=46'] Exploring Operation: 77+46=123, Resulting Numbers: [50, 123] Generated Node #0,3,0: 21:[50, 123] Operation: 77+46=123 Exploring Operation: 77+50=127, Resulting Numbers: [46, 127] Generated Node #0,3,1: 21:[46, 127] Operation: 77+50=127 Exploring Operation: 50-46=4, Resulting Numbers: [77, 4] Generated Node #0,3,2: 21:[77, 4] Operation: 50-46=4 Exploring Operation: 77-50=27, Resulting Numbers: [46, 27] Generated Node #0,3,3: 21:[46, 27] Operation: 77-50=27 Exploring Operation: 77-46=31, Resulting Numbers: [50, 31] Generated Node #0,3,4: 21:[50, 31] Operation: 77-46=31 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 21:[46, 27], Operations: ['97-51=46', '77-50=27'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,21 unequal: No Solution Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,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,3,4 Current State: 21:[50, 31], Operations: ['97-51=46', '77-46=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,21 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,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,3,2 Current State: 21:[77, 4], Operations: ['97-51=46', '50-46=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,21 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,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,3,0 Current State: 21:[50, 123], Operations: ['97-51=46', '77+46=123'] Exploring Operation: 50+123=173, Resulting Numbers: [173] 173,21 unequal: No Solution Exploring Operation: 50*123=6150, Resulting Numbers: [6150] 6150,21 unequal: No Solution Exploring Operation: 123-50=73, Resulting Numbers: [73] 73,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,3,1 Current State: 21:[46, 127], Operations: ['97-51=46', '77+50=127'] Exploring Operation: 127-46=81, Resulting Numbers: [81] 81,21 unequal: No Solution Exploring Operation: 46*127=5842, Resulting Numbers: [5842] 5842,21 unequal: No Solution Exploring Operation: 46+127=173, Resulting Numbers: [173] 173,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:[97, 50, 26], Operations: ['77-51=26'] Exploring Operation: 97+50=147, Resulting Numbers: [26, 147] Generated Node #0,0,0: 21:[26, 147] Operation: 97+50=147 Exploring Operation: 97-50=47, Resulting Numbers: [26, 47] Generated Node #0,0,1: 21:[26, 47] Operation: 97-50=47 Exploring Operation: 97+26=123, Resulting Numbers: [50, 123] Generated Node #0,0,2: 21:[50, 123] Operation: 97+26=123 Exploring Operation: 97-26=71, Resulting Numbers: [50, 71] Generated Node #0,0,3: 21:[50, 71] Operation: 97-26=71 Exploring Operation: 50-26=24, Resulting Numbers: [97, 24] Generated Node #0,0,4: 21:[97, 24] Operation: 50-26=24 Moving to Node #0,1 Current State: 21:[51, 77, 47], Operations: ['97-50=47'] Exploring Operation: 51+47=98, Resulting Numbers: [77, 98] Generated Node #0,1,0: 21:[77, 98] Operation: 51+47=98 Exploring Operation: 77-51=26, Resulting Numbers: [47, 26] Generated Node #0,1,1: 21:[47, 26] Operation: 77-51=26 Exploring Operation: 77-47=30, Resulting Numbers: [51, 30] Generated Node #0,1,2: 21:[51, 30] Operation: 77-47=30 Exploring Operation: 51+77=128, Resulting Numbers: [47, 128] Generated Node #0,1,3: 21:[47, 128] Operation: 51+77=128 Exploring Operation: 51-47=4, Resulting Numbers: [77, 4] Generated Node #0,1,4: 21:[77, 4] Operation: 51-47=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[47, 26], Operations: ['97-50=47', '77-51=26'] Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[51, 77, 97, 50], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [51, 77, 47] Generated Node #0,1: 21:[51, 77, 47] Operation: 97-50=47 Moving to Node #0,1 Current State: 21:[51, 77, 47], Operations: ['97-50=47'] Exploring Operation: 77-51=26, Resulting Numbers: [47, 26] Generated Node #0,1,1: 21:[47, 26] Operation: 77-51=26 Moving to Node #0,1,1 Current State: 21:[47, 26], Operations: ['97-50=47', '77-51=26'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 63, 65, 9, 37 ]
36
[ "63*37=2331", "9+2331=2340", "2340/65=36" ]
Current State: 36:[63, 65, 9, 37], Operations: [] Exploring Operation: 63*37=2331, Resulting Numbers: [65, 9, 2331] Generated Node #2: [65, 9, 2331] from Operation: 63*37=2331 Current State: 36:[65, 9, 2331], Operations: ['63*37=2331'] Exploring Operation: 9+2331=2340, Resulting Numbers: [65, 2340] Generated Node #3: [65, 2340] from Operation: 9+2331=2340 Current State: 36:[65, 2340], Operations: ['63*37=2331', '9+2331=2340'] Exploring Operation: 2340/65=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[63, 65, 9, 37], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [65, 37, 7] Generated Node #0,0: 36:[65, 37, 7] Operation: 63/9=7 Exploring Operation: 65-37=28, Resulting Numbers: [63, 9, 28] Generated Node #0,1: 36:[63, 9, 28] Operation: 65-37=28 Exploring Operation: 63-37=26, Resulting Numbers: [65, 9, 26] Generated Node #0,2: 36:[65, 9, 26] Operation: 63-37=26 Exploring Operation: 63-9=54, Resulting Numbers: [65, 37, 54] Generated Node #0,3: 36:[65, 37, 54] Operation: 63-9=54 Exploring Operation: 65-63=2, Resulting Numbers: [9, 37, 2] Generated Node #0,4: 36:[9, 37, 2] Operation: 65-63=2 Moving to Node #0,4 Current State: 36:[9, 37, 2], Operations: ['65-63=2'] Exploring Operation: 9-2=7, Resulting Numbers: [37, 7] Generated Node #0,4,0: 36:[37, 7] Operation: 9-2=7 Exploring Operation: 37-2=35, Resulting Numbers: [9, 35] Generated Node #0,4,1: 36:[9, 35] Operation: 37-2=35 Exploring Operation: 37+2=39, Resulting Numbers: [9, 39] Generated Node #0,4,2: 36:[9, 39] Operation: 37+2=39 Exploring Operation: 9*2=18, Resulting Numbers: [37, 18] Generated Node #0,4,3: 36:[37, 18] Operation: 9*2=18 Exploring Operation: 9+2=11, Resulting Numbers: [37, 11] Generated Node #0,4,4: 36:[37, 11] Operation: 9+2=11 Moving to Node #0,0 Current State: 36:[65, 37, 7], Operations: ['63/9=7'] Exploring Operation: 37+7=44, Resulting Numbers: [65, 44] Generated Node #0,0,0: 36:[65, 44] Operation: 37+7=44 Exploring Operation: 37-7=30, Resulting Numbers: [65, 30] Generated Node #0,0,1: 36:[65, 30] Operation: 37-7=30 Exploring Operation: 65+7=72, Resulting Numbers: [37, 72] Generated Node #0,0,2: 36:[37, 72] Operation: 65+7=72 Exploring Operation: 65-7=58, Resulting Numbers: [37, 58] Generated Node #0,0,3: 36:[37, 58] Operation: 65-7=58 Exploring Operation: 65-37=28, Resulting Numbers: [7, 28] Generated Node #0,0,4: 36:[7, 28] Operation: 65-37=28 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 36:[7, 28], Operations: ['63/9=7', '65-37=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[37, 58], Operations: ['63/9=7', '65-7=58'] Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,36 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,36 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[65, 30], Operations: ['63/9=7', '37-7=30'] Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,36 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[65, 44], Operations: ['63/9=7', '37+7=44'] Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 65*44=2860, Resulting Numbers: [2860] 2860,36 unequal: No Solution Exploring Operation: 65+44=109, Resulting Numbers: [109] 109,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[37, 72], Operations: ['63/9=7', '65+7=72'] Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,36 unequal: No Solution Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,36 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 36:[63, 9, 28], Operations: ['65-37=28'] Exploring Operation: 63-28=35, Resulting Numbers: [9, 35] Generated Node #0,1,0: 36:[9, 35] Operation: 63-28=35 Exploring Operation: 9+28=37, Resulting Numbers: [63, 37] Generated Node #0,1,1: 36:[63, 37] Operation: 9+28=37 Exploring Operation: 63/9=7, Resulting Numbers: [28, 7] Generated Node #0,1,2: 36:[28, 7] Operation: 63/9=7 Exploring Operation: 28-9=19, Resulting Numbers: [63, 19] Generated Node #0,1,3: 36:[63, 19] Operation: 28-9=19 Exploring Operation: 63-9=54, Resulting Numbers: [28, 54] Generated Node #0,1,4: 36:[28, 54] Operation: 63-9=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[9, 35], Operations: ['65-37=28', '63-28=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,36 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[28, 7], Operations: ['65-37=28', '63/9=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 36:[28, 54], Operations: ['65-37=28', '63-9=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[63, 37], Operations: ['65-37=28', '9+28=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,36 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[63, 19], Operations: ['65-37=28', '28-9=19'] Exploring Operation: 63*19=1197, Resulting Numbers: [1197] 1197,36 unequal: No Solution Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 63+19=82, Resulting Numbers: [82] 82,36 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: 36:[65, 9, 26], Operations: ['63-37=26'] Exploring Operation: 65-26=39, Resulting Numbers: [9, 39] Generated Node #0,2,0: 36:[9, 39] Operation: 65-26=39 Exploring Operation: 65+9=74, Resulting Numbers: [26, 74] Generated Node #0,2,1: 36:[26, 74] Operation: 65+9=74 Exploring Operation: 9+26=35, Resulting Numbers: [65, 35] Generated Node #0,2,2: 36:[65, 35] Operation: 9+26=35 Exploring Operation: 65-9=56, Resulting Numbers: [26, 56] Generated Node #0,2,3: 36:[26, 56] Operation: 65-9=56 Exploring Operation: 26-9=17, Resulting Numbers: [65, 17] Generated Node #0,2,4: 36:[65, 17] Operation: 26-9=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[9, 39], Operations: ['63-37=26', '65-26=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,36 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[26, 56], Operations: ['63-37=26', '65-9=56'] Exploring Operation: 26*56=1456, Resulting Numbers: [1456] 1456,36 unequal: No Solution Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[65, 35], Operations: ['63-37=26', '9+26=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,36 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 36:[65, 17], Operations: ['63-37=26', '26-9=17'] Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,36 unequal: No Solution Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[26, 74], Operations: ['63-37=26', '65+9=74'] Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,36 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: 36:[65, 37, 54], Operations: ['63-9=54'] Exploring Operation: 65+37=102, Resulting Numbers: [54, 102] Generated Node #0,3,0: 36:[54, 102] Operation: 65+37=102 Exploring Operation: 65-54=11, Resulting Numbers: [37, 11] Generated Node #0,3,1: 36:[37, 11] Operation: 65-54=11 Exploring Operation: 65+54=119, Resulting Numbers: [37, 119] Generated Node #0,3,2: 36:[37, 119] Operation: 65+54=119 Exploring Operation: 65-37=28, Resulting Numbers: [54, 28] Generated Node #0,3,3: 36:[54, 28] Operation: 65-37=28 Exploring Operation: 54-37=17, Resulting Numbers: [65, 17] Generated Node #0,3,4: 36:[65, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[37, 11], Operations: ['63-9=54', '65-54=11'] Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,36 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[54, 28], Operations: ['63-9=54', '65-37=28'] Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,36 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 36:[65, 17], Operations: ['63-9=54', '54-37=17'] Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,36 unequal: No Solution Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[54, 102], Operations: ['63-9=54', '65+37=102'] Exploring Operation: 54+102=156, Resulting Numbers: [156] 156,36 unequal: No Solution Exploring Operation: 54*102=5508, Resulting Numbers: [5508] 5508,36 unequal: No Solution Exploring Operation: 102-54=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[37, 119], Operations: ['63-9=54', '65+54=119'] Exploring Operation: 37*119=4403, Resulting Numbers: [4403] 4403,36 unequal: No Solution Exploring Operation: 37+119=156, Resulting Numbers: [156] 156,36 unequal: No Solution Exploring Operation: 119-37=82, Resulting Numbers: [82] 82,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 36:[9, 35], Operations: ['65-63=2', '37-2=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,36 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,36 unequal: No Solution Moving to Node #0,4,3 Current State: 36:[37, 18], Operations: ['65-63=2', '9*2=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,36 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,4,0 Current State: 36:[37, 7], Operations: ['65-63=2', '9-2=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,36 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[37, 11], Operations: ['65-63=2', '9+2=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,36 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[9, 39], Operations: ['65-63=2', '37+2=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,36 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 95, 49, 25, 76 ]
100
[ "49+76=125", "125/25=5", "95+5=100" ]
Current State: 100:[95, 49, 25, 76], Operations: [] Exploring Operation: 49+76=125, Resulting Numbers: [95, 25, 125] Generated Node #2: [95, 25, 125] from Operation: 49+76=125 Current State: 100:[95, 25, 125], Operations: ['49+76=125'] Exploring Operation: 125/25=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 125/25=5 Current State: 100:[95, 5], Operations: ['49+76=125', '125/25=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[95, 49, 25, 76], Operations: [] Exploring Operation: 76-49=27, Resulting Numbers: [95, 25, 27] Generated Node #0,0: 100:[95, 25, 27] Operation: 76-49=27 Exploring Operation: 95-76=19, Resulting Numbers: [49, 25, 19] Generated Node #0,1: 100:[49, 25, 19] Operation: 95-76=19 Moving to Node #0,1 Current State: 100:[49, 25, 19], Operations: ['95-76=19'] Exploring Operation: 49-25=24, Resulting Numbers: [19, 24] Generated Node #0,1,0: 100:[19, 24] Operation: 49-25=24 Exploring Operation: 25-19=6, Resulting Numbers: [49, 6] Generated Node #0,1,1: 100:[49, 6] Operation: 25-19=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[19, 24], Operations: ['95-76=19', '49-25=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[49, 6], Operations: ['95-76=19', '25-19=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[95, 25, 27], Operations: ['76-49=27'] Exploring Operation: 25+27=52, Resulting Numbers: [95, 52] Generated Node #0,0,0: 100:[95, 52] Operation: 25+27=52 Exploring Operation: 27-25=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 100:[95, 2] Operation: 27-25=2 Moving to Node #0,0,1 Current State: 100:[95, 2], Operations: ['76-49=27', '27-25=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,100 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[95, 52], Operations: ['76-49=27', '25+27=52'] Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 95+52=147, Resulting Numbers: [147] 147,100 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 32, 58, 98, 26 ]
34
[ "32+58=90", "98+26=124", "124-90=34" ]
Current State: 34:[32, 58, 98, 26], Operations: [] Exploring Operation: 32+58=90, Resulting Numbers: [98, 26, 90] Generated Node #2: [98, 26, 90] from Operation: 32+58=90 Current State: 34:[98, 26, 90], Operations: ['32+58=90'] Exploring Operation: 98+26=124, Resulting Numbers: [90, 124] Generated Node #3: [90, 124] from Operation: 98+26=124 Current State: 34:[90, 124], Operations: ['32+58=90', '98+26=124'] Exploring Operation: 124-90=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[32, 58, 98, 26], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [32, 26, 40] Generated Node #0,0: 34:[32, 26, 40] Operation: 98-58=40 Moving to Node #0,0 Current State: 34:[32, 26, 40], Operations: ['98-58=40'] Exploring Operation: 40-26=14, Resulting Numbers: [32, 14] Generated Node #0,0,0: 34:[32, 14] Operation: 40-26=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[32, 14], Operations: ['98-58=40', '40-26=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 13, 77, 62, 8 ]
89
[ "13*8=104", "77-62=15", "104-15=89" ]
Current State: 89:[13, 77, 62, 8], Operations: [] Exploring Operation: 13*8=104, Resulting Numbers: [77, 62, 104] Generated Node #2: [77, 62, 104] from Operation: 13*8=104 Current State: 89:[77, 62, 104], Operations: ['13*8=104'] Exploring Operation: 77-62=15, Resulting Numbers: [104, 15] Generated Node #3: [104, 15] from Operation: 77-62=15 Current State: 89:[104, 15], Operations: ['13*8=104', '77-62=15'] Exploring Operation: 104-15=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[13, 77, 62, 8], Operations: [] Exploring Operation: 13*8=104, Resulting Numbers: [77, 62, 104] Generated Node #0,0: 89:[77, 62, 104] Operation: 13*8=104 Moving to Node #0,0 Current State: 89:[77, 62, 104], Operations: ['13*8=104'] Exploring Operation: 104-62=42, Resulting Numbers: [77, 42] Generated Node #0,0,0: 89:[77, 42] Operation: 104-62=42 Moving to Node #0,0,0 Current State: 89:[77, 42], Operations: ['13*8=104', '104-62=42'] Exploring Operation: 77+42=119, Resulting Numbers: [119] 119,89 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 53, 62, 90, 1 ]
82
[ "62-53=9", "90+1=91", "91-9=82" ]
Current State: 82:[53, 62, 90, 1], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [90, 1, 9] Generated Node #2: [90, 1, 9] from Operation: 62-53=9 Current State: 82:[90, 1, 9], Operations: ['62-53=9'] Exploring Operation: 90+1=91, Resulting Numbers: [9, 91] Generated Node #3: [9, 91] from Operation: 90+1=91 Current State: 82:[9, 91], Operations: ['62-53=9', '90+1=91'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[53, 62, 90, 1], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [90, 1, 9] Generated Node #0,0: 82:[90, 1, 9] Operation: 62-53=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[90, 1, 9], Operations: ['62-53=9'] Exploring Operation: 90-9=81, Resulting Numbers: [1, 81] Generated Node #0,0,0: 82:[1, 81] Operation: 90-9=81 Moving to Node #0,0,0 Current State: 82:[1, 81], Operations: ['62-53=9', '90-9=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[53, 62, 90, 1], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [90, 1, 9] Generated Node #0,0: 82:[90, 1, 9] Operation: 62-53=9 Moving to Node #0,0 Current State: 82:[90, 1, 9], Operations: ['62-53=9'] Exploring Operation: 90-9=81, Resulting Numbers: [1, 81] Generated Node #0,0,0: 82:[1, 81] Operation: 90-9=81 Moving to Node #0,0,0 Current State: 82:[1, 81], Operations: ['62-53=9', '90-9=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 27, 52, 55, 23 ]
32
[ "55-52=3", "27/3=9", "23+9=32" ]
Current State: 32:[27, 52, 55, 23], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [27, 23, 3] Generated Node #2: [27, 23, 3] from Operation: 55-52=3 Current State: 32:[27, 23, 3], Operations: ['55-52=3'] Exploring Operation: 27/3=9, Resulting Numbers: [23, 9] Generated Node #3: [23, 9] from Operation: 27/3=9 Current State: 32:[23, 9], Operations: ['55-52=3', '27/3=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[27, 52, 55, 23], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [27, 23, 3] Generated Node #0,0: 32:[27, 23, 3] Operation: 55-52=3 Exploring Operation: 55-27=28, Resulting Numbers: [52, 23, 28] Generated Node #0,1: 32:[52, 23, 28] Operation: 55-27=28 Exploring Operation: 52-23=29, Resulting Numbers: [27, 55, 29] Generated Node #0,2: 32:[27, 55, 29] Operation: 52-23=29 Exploring Operation: 55-23=32, Resulting Numbers: [27, 52, 32] Generated Node #0,3: 32:[27, 52, 32] Operation: 55-23=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[27, 23, 3], Operations: ['55-52=3'] Exploring Operation: 23-3=20, Resulting Numbers: [27, 20] Generated Node #0,0,0: 32:[27, 20] Operation: 23-3=20 Exploring Operation: 27-23=4, Resulting Numbers: [3, 4] Generated Node #0,0,1: 32:[3, 4] Operation: 27-23=4 Exploring Operation: 27+3=30, Resulting Numbers: [23, 30] Generated Node #0,0,2: 32:[23, 30] Operation: 27+3=30 Exploring Operation: 27/3=9, Resulting Numbers: [23, 9] Generated Node #0,0,3: 32:[23, 9] Operation: 27/3=9 Moving to Node #0,0,1 Current State: 32:[3, 4], Operations: ['55-52=3', '27-23=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[23, 9], Operations: ['55-52=3', '27/3=9'] Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,32 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[27, 52, 55, 23], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [27, 23, 3] Generated Node #0,0: 32:[27, 23, 3] Operation: 55-52=3 Moving to Node #0,0 Current State: 32:[27, 23, 3], Operations: ['55-52=3'] Exploring Operation: 27/3=9, Resulting Numbers: [23, 9] Generated Node #0,0,3: 32:[23, 9] Operation: 27/3=9 Moving to Node #0,0,3 Current State: 32:[23, 9], Operations: ['55-52=3', '27/3=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 80, 38, 5, 80 ]
26
[ "80-38=42", "80/5=16", "42-16=26" ]
Current State: 26:[80, 38, 5, 80], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [5, 42] Generated Node #2: [5, 42] from Operation: 80-38=42 Current State: 26:[5, 42], Operations: ['80-38=42'] Exploring Operation: 80/5=16, Resulting Numbers: [42, 16] Generated Node #3: [42, 16] from Operation: 80/5=16 Current State: 26:[42, 16], Operations: ['80-38=42', '80/5=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[80, 38, 5, 80], Operations: [] Exploring Operation: 80/80=1, Resulting Numbers: [38, 5, 1] Generated Node #0,0: 26:[38, 5, 1] Operation: 80/80=1 Exploring Operation: 80-38=42, Resulting Numbers: [5, 80, 42] Generated Node #0,1: 26:[5, 80, 42] Operation: 80-38=42 Exploring Operation: 80/5=16, Resulting Numbers: [38, 80, 16] Generated Node #0,2: 26:[38, 80, 16] Operation: 80/5=16 Exploring Operation: 80-80=0, Resulting Numbers: [38, 5, 0] Generated Node #0,3: 26:[38, 5, 0] Operation: 80-80=0 Exploring Operation: 80/5=16, Resulting Numbers: [80, 38, 16] Generated Node #0,4: 26:[80, 38, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[38, 5, 1], Operations: ['80/80=1'] Exploring Operation: 38-5=33, Resulting Numbers: [1, 33] Generated Node #0,0,0: 26:[1, 33] Operation: 38-5=33 Exploring Operation: 38/1=38, Resulting Numbers: [5, 38] Generated Node #0,0,1: 26:[5, 38] Operation: 38/1=38 Exploring Operation: 5-1=4, Resulting Numbers: [38, 4] Generated Node #0,0,2: 26:[38, 4] Operation: 5-1=4 Exploring Operation: 38*1=38, Resulting Numbers: [5, 38] Generated Node #0,0,3: 26:[5, 38] Operation: 38*1=38 Exploring Operation: 38-1=37, Resulting Numbers: [5, 37] Generated Node #0,0,4: 26:[5, 37] Operation: 38-1=37 Moving to Node #0,0,0 Current State: 26:[1, 33], Operations: ['80/80=1', '38-5=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,26 unequal: No Solution Moving to Node #0,0,4 Current State: 26:[5, 37], Operations: ['80/80=1', '38-1=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,26 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[38, 4], Operations: ['80/80=1', '5-1=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[5, 38], Operations: ['80/80=1', '38/1=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,26 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[5, 38], Operations: ['80/80=1', '38*1=38'] Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,26 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,26 unequal: No Solution No 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: 26:[38, 5, 0], Operations: ['80-80=0'] Exploring Operation: 38*0=0, Resulting Numbers: [5, 0] Generated Node #0,3,0: 26:[5, 0] Operation: 38*0=0 Exploring Operation: 38-5=33, Resulting Numbers: [0, 33] Generated Node #0,3,1: 26:[0, 33] Operation: 38-5=33 Exploring Operation: 38+0=38, Resulting Numbers: [5, 38] Generated Node #0,3,2: 26:[5, 38] Operation: 38+0=38 Exploring Operation: 5*0=0, Resulting Numbers: [38, 0] Generated Node #0,3,3: 26:[38, 0] Operation: 5*0=0 Exploring Operation: 38-0=38, Resulting Numbers: [5, 38] Generated Node #0,3,4: 26:[5, 38] Operation: 38-0=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 26:[5, 0], Operations: ['80-80=0', '38*0=0'] Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,26 unequal: No Solution No 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: 26:[0, 33], Operations: ['80-80=0', '38-5=33'] Exploring Operation: 33-0=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 0+33=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 0*33=0, Resulting Numbers: [0] 0,26 unequal: No Solution No 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: 26:[38, 0], Operations: ['80-80=0', '5*0=0'] Exploring Operation: 38*0=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 38-0=38, Resulting Numbers: [38] 38,26 unequal: No Solution No 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: 26:[5, 38], Operations: ['80-80=0', '38+0=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,26 unequal: No Solution No 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: 26:[5, 38], Operations: ['80-80=0', '38-0=38'] Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,26 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,26 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: 26:[38, 80, 16], Operations: ['80/5=16'] Exploring Operation: 80-38=42, Resulting Numbers: [16, 42] Generated Node #0,2,0: 26:[16, 42] Operation: 80-38=42 Exploring Operation: 80/16=5, Resulting Numbers: [38, 5] Generated Node #0,2,1: 26:[38, 5] Operation: 80/16=5 Exploring Operation: 38+16=54, Resulting Numbers: [80, 54] Generated Node #0,2,2: 26:[80, 54] Operation: 38+16=54 Exploring Operation: 80-16=64, Resulting Numbers: [38, 64] Generated Node #0,2,3: 26:[38, 64] Operation: 80-16=64 Exploring Operation: 38-16=22, Resulting Numbers: [80, 22] Generated Node #0,2,4: 26:[80, 22] Operation: 38-16=22 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[38, 5], Operations: ['80/5=16', '80/16=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,26 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,26 unequal: No Solution No 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: 26:[16, 42], Operations: ['80/5=16', '80-38=42'] Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,26 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[80, 38, 5, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [38, 80, 16] Generated Node #0,2: 26:[38, 80, 16] Operation: 80/5=16 Moving to Node #0,2 Current State: 26:[38, 80, 16], Operations: ['80/5=16'] Exploring Operation: 80-38=42, Resulting Numbers: [16, 42] Generated Node #0,2,0: 26:[16, 42] Operation: 80-38=42 Moving to Node #0,2,0 Current State: 26:[16, 42], Operations: ['80/5=16', '80-38=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947049
hs_5
mult_heuristic
[ 14, 20, 32, 14 ]
51
[ "14/14=1", "20+32=52", "52-1=51" ]
Current State: 51:[14, 20, 32, 14], Operations: [] Exploring Operation: 14/14=1, Resulting Numbers: [20, 32, 1] Generated Node #2: [20, 32, 1] from Operation: 14/14=1 Current State: 51:[20, 32, 1], Operations: ['14/14=1'] Exploring Operation: 20+32=52, Resulting Numbers: [1, 52] Generated Node #3: [1, 52] from Operation: 20+32=52 Current State: 51:[1, 52], Operations: ['14/14=1', '20+32=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[14, 20, 32, 14], Operations: [] Exploring Operation: 20+32=52, Resulting Numbers: [14, 14, 52] Generated Node #0,0: 51:[14, 14, 52] Operation: 20+32=52 Exploring Operation: 32-14=18, Resulting Numbers: [20, 14, 18] Generated Node #0,1: 51:[20, 14, 18] Operation: 32-14=18 Moving to Node #0,0 Current State: 51:[14, 14, 52], Operations: ['20+32=52'] Exploring Operation: 14/14=1, Resulting Numbers: [52, 1] Generated Node #0,0,0: 51:[52, 1] Operation: 14/14=1 Exploring Operation: 14-14=0, Resulting Numbers: [52, 0] Generated Node #0,0,1: 51:[52, 0] Operation: 14-14=0 Moving to Node #0,1 Current State: 51:[20, 14, 18], Operations: ['32-14=18'] Exploring Operation: 20-14=6, Resulting Numbers: [18, 6] Generated Node #0,1,0: 51:[18, 6] Operation: 20-14=6 Exploring Operation: 20-18=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 51:[14, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[18, 6], Operations: ['32-14=18', '20-14=6'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[14, 2], Operations: ['32-14=18', '20-18=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,51 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: 51:[52, 1], Operations: ['20+32=52', '14/14=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[14, 20, 32, 14], Operations: [] Exploring Operation: 20+32=52, Resulting Numbers: [14, 14, 52] Generated Node #0,0: 51:[14, 14, 52] Operation: 20+32=52 Moving to Node #0,0 Current State: 51:[14, 14, 52], Operations: ['20+32=52'] Exploring Operation: 14/14=1, Resulting Numbers: [52, 1] Generated Node #0,0,0: 51:[52, 1] Operation: 14/14=1 Moving to Node #0,0,0 Current State: 51:[52, 1], Operations: ['20+32=52', '14/14=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 94, 13, 64, 39 ]
98
[ "39/13=3", "64*3=192", "192-94=98" ]
Current State: 98:[94, 13, 64, 39], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [94, 64, 3] Generated Node #2: [94, 64, 3] from Operation: 39/13=3 Current State: 98:[94, 64, 3], Operations: ['39/13=3'] Exploring Operation: 64*3=192, Resulting Numbers: [94, 192] Generated Node #3: [94, 192] from Operation: 64*3=192 Current State: 98:[94, 192], Operations: ['39/13=3', '64*3=192'] Exploring Operation: 192-94=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[94, 13, 64, 39], Operations: [] Exploring Operation: 64+39=103, Resulting Numbers: [94, 13, 103] Generated Node #0,0: 98:[94, 13, 103] Operation: 64+39=103 Exploring Operation: 64-39=25, Resulting Numbers: [94, 13, 25] Generated Node #0,1: 98:[94, 13, 25] Operation: 64-39=25 Exploring Operation: 39/13=3, Resulting Numbers: [94, 64, 3] Generated Node #0,2: 98:[94, 64, 3] Operation: 39/13=3 Exploring Operation: 64-13=51, Resulting Numbers: [94, 39, 51] Generated Node #0,3: 98:[94, 39, 51] Operation: 64-13=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[94, 13, 103], Operations: ['64+39=103'] Exploring Operation: 94-13=81, Resulting Numbers: [103, 81] Generated Node #0,0,0: 98:[103, 81] Operation: 94-13=81 Exploring Operation: 94+13=107, Resulting Numbers: [103, 107] Generated Node #0,0,1: 98:[103, 107] Operation: 94+13=107 Exploring Operation: 103-94=9, Resulting Numbers: [13, 9] Generated Node #0,0,2: 98:[13, 9] Operation: 103-94=9 Exploring Operation: 103-13=90, Resulting Numbers: [94, 90] Generated Node #0,0,3: 98:[94, 90] Operation: 103-13=90 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[13, 9], Operations: ['64+39=103', '103-94=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,98 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[94, 90], Operations: ['64+39=103', '103-13=90'] Exploring Operation: 94+90=184, Resulting Numbers: [184] 184,98 unequal: No Solution Exploring Operation: 94*90=8460, Resulting Numbers: [8460] 8460,98 unequal: No Solution Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[103, 107], Operations: ['64+39=103', '94+13=107'] Exploring Operation: 103*107=11021, Resulting Numbers: [11021] 11021,98 unequal: No Solution Exploring Operation: 103+107=210, Resulting Numbers: [210] 210,98 unequal: No Solution Exploring Operation: 107-103=4, Resulting Numbers: [4] 4,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[103, 81], Operations: ['64+39=103', '94-13=81'] Exploring Operation: 103*81=8343, Resulting Numbers: [8343] 8343,98 unequal: No Solution Exploring Operation: 103+81=184, Resulting Numbers: [184] 184,98 unequal: No Solution Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[94, 13, 25], Operations: ['64-39=25'] Exploring Operation: 13+25=38, Resulting Numbers: [94, 38] Generated Node #0,1,0: 98:[94, 38] Operation: 13+25=38 Exploring Operation: 94-25=69, Resulting Numbers: [13, 69] Generated Node #0,1,1: 98:[13, 69] Operation: 94-25=69 Exploring Operation: 94+13=107, Resulting Numbers: [25, 107] Generated Node #0,1,2: 98:[25, 107] Operation: 94+13=107 Exploring Operation: 25-13=12, Resulting Numbers: [94, 12] Generated Node #0,1,3: 98:[94, 12] Operation: 25-13=12 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 98:[94, 12], Operations: ['64-39=25', '25-13=12'] Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,98 unequal: No Solution Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,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:[94, 38], Operations: ['64-39=25', '13+25=38'] Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,98 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,98 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,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,2 Current State: 98:[25, 107], Operations: ['64-39=25', '94+13=107'] Exploring Operation: 107-25=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 25+107=132, Resulting Numbers: [132] 132,98 unequal: No Solution Exploring Operation: 25*107=2675, Resulting Numbers: [2675] 2675,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[13, 69], Operations: ['64-39=25', '94-25=69'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,98 unequal: No Solution Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[94, 39, 51], Operations: ['64-13=51'] Exploring Operation: 51-39=12, Resulting Numbers: [94, 12] Generated Node #0,3,0: 98:[94, 12] Operation: 51-39=12 Exploring Operation: 94-39=55, Resulting Numbers: [51, 55] Generated Node #0,3,1: 98:[51, 55] Operation: 94-39=55 Exploring Operation: 39+51=90, Resulting Numbers: [94, 90] Generated Node #0,3,2: 98:[94, 90] Operation: 39+51=90 Exploring Operation: 94-51=43, Resulting Numbers: [39, 43] Generated Node #0,3,3: 98:[39, 43] Operation: 94-51=43 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 98:[94, 12], Operations: ['64-13=51', '51-39=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,98 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,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,3,1 Current State: 98:[51, 55], Operations: ['64-13=51', '94-39=55'] Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,98 unequal: No Solution Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,98 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,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,3,2 Current State: 98:[94, 90], Operations: ['64-13=51', '39+51=90'] Exploring Operation: 94*90=8460, Resulting Numbers: [8460] 8460,98 unequal: No Solution Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 94+90=184, Resulting Numbers: [184] 184,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,3,3 Current State: 98:[39, 43], Operations: ['64-13=51', '94-51=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[94, 64, 3], Operations: ['39/13=3'] Exploring Operation: 94-3=91, Resulting Numbers: [64, 91] Generated Node #0,2,0: 98:[64, 91] Operation: 94-3=91 Exploring Operation: 94+3=97, Resulting Numbers: [64, 97] Generated Node #0,2,1: 98:[64, 97] Operation: 94+3=97 Exploring Operation: 64-3=61, Resulting Numbers: [94, 61] Generated Node #0,2,2: 98:[94, 61] Operation: 64-3=61 Exploring Operation: 94-64=30, Resulting Numbers: [3, 30] Generated Node #0,2,3: 98:[3, 30] Operation: 94-64=30 Moving to Node #0,2,1 Current State: 98:[64, 97], Operations: ['39/13=3', '94+3=97'] Exploring Operation: 64+97=161, Resulting Numbers: [161] 161,98 unequal: No Solution Exploring Operation: 97-64=33, Resulting Numbers: [33] 33,98 unequal: No Solution Exploring Operation: 64*97=6208, Resulting Numbers: [6208] 6208,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[94, 61], Operations: ['39/13=3', '64-3=61'] Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,98 unequal: No Solution Exploring Operation: 94*61=5734, Resulting Numbers: [5734] 5734,98 unequal: No Solution Exploring Operation: 94+61=155, Resulting Numbers: [155] 155,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[3, 30], Operations: ['39/13=3', '94-64=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,98 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[64, 91], Operations: ['39/13=3', '94-3=91'] Exploring Operation: 64*91=5824, Resulting Numbers: [5824] 5824,98 unequal: No Solution Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,98 unequal: No Solution Exploring Operation: 64+91=155, Resulting Numbers: [155] 155,98 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
[ 14, 2, 52, 67 ]
17
[ "14/2=7", "52+67=119", "119/7=17" ]
Current State: 17:[14, 2, 52, 67], Operations: [] Exploring Operation: 14/2=7, Resulting Numbers: [52, 67, 7] Generated Node #2: [52, 67, 7] from Operation: 14/2=7 Current State: 17:[52, 67, 7], Operations: ['14/2=7'] Exploring Operation: 52+67=119, Resulting Numbers: [7, 119] Generated Node #3: [7, 119] from Operation: 52+67=119 Current State: 17:[7, 119], Operations: ['14/2=7', '52+67=119'] Exploring Operation: 119/7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[14, 2, 52, 67], Operations: [] Exploring Operation: 14+2=16, Resulting Numbers: [52, 67, 16] Generated Node #0,0: 17:[52, 67, 16] Operation: 14+2=16 Exploring Operation: 67-52=15, Resulting Numbers: [14, 2, 15] Generated Node #0,1: 17:[14, 2, 15] Operation: 67-52=15 Exploring Operation: 52/2=26, Resulting Numbers: [14, 67, 26] Generated Node #0,2: 17:[14, 67, 26] Operation: 52/2=26 Exploring Operation: 52-14=38, Resulting Numbers: [2, 67, 38] Generated Node #0,3: 17:[2, 67, 38] Operation: 52-14=38 Moving to Node #0,1 Current State: 17:[14, 2, 15], Operations: ['67-52=15'] Exploring Operation: 15-2=13, Resulting Numbers: [14, 13] Generated Node #0,1,0: 17:[14, 13] Operation: 15-2=13 Exploring Operation: 14-2=12, Resulting Numbers: [15, 12] Generated Node #0,1,1: 17:[15, 12] Operation: 14-2=12 Exploring Operation: 2+15=17, Resulting Numbers: [14, 17] Generated Node #0,1,2: 17:[14, 17] Operation: 2+15=17 Exploring Operation: 14+2=16, Resulting Numbers: [15, 16] Generated Node #0,1,3: 17:[15, 16] Operation: 14+2=16 Moving to Node #0,2 Current State: 17:[14, 67, 26], Operations: ['52/2=26'] Exploring Operation: 26-14=12, Resulting Numbers: [67, 12] Generated Node #0,2,0: 17:[67, 12] Operation: 26-14=12 Exploring Operation: 14+67=81, Resulting Numbers: [26, 81] Generated Node #0,2,1: 17:[26, 81] Operation: 14+67=81 Exploring Operation: 67-14=53, Resulting Numbers: [26, 53] Generated Node #0,2,2: 17:[26, 53] Operation: 67-14=53 Exploring Operation: 67-26=41, Resulting Numbers: [14, 41] Generated Node #0,2,3: 17:[14, 41] Operation: 67-26=41 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[14, 41], Operations: ['52/2=26', '67-26=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[26, 53], Operations: ['52/2=26', '67-14=53'] Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,17 unequal: No Solution Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[67, 12], Operations: ['52/2=26', '26-14=12'] Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,17 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[26, 81], Operations: ['52/2=26', '14+67=81'] Exploring Operation: 26+81=107, Resulting Numbers: [107] 107,17 unequal: No Solution Exploring Operation: 26*81=2106, Resulting Numbers: [2106] 2106,17 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,17 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: 17:[2, 67, 38], Operations: ['52-14=38'] Exploring Operation: 67-2=65, Resulting Numbers: [38, 65] Generated Node #0,3,0: 17:[38, 65] Operation: 67-2=65 Exploring Operation: 38/2=19, Resulting Numbers: [67, 19] Generated Node #0,3,1: 17:[67, 19] Operation: 38/2=19 Exploring Operation: 67-38=29, Resulting Numbers: [2, 29] Generated Node #0,3,2: 17:[2, 29] Operation: 67-38=29 Exploring Operation: 38-2=36, Resulting Numbers: [67, 36] Generated Node #0,3,3: 17:[67, 36] Operation: 38-2=36 Moving to Node #0,0 Current State: 17:[52, 67, 16], Operations: ['14+2=16'] Exploring Operation: 52+16=68, Resulting Numbers: [67, 68] Generated Node #0,0,0: 17:[67, 68] Operation: 52+16=68 Exploring Operation: 67-52=15, Resulting Numbers: [16, 15] Generated Node #0,0,1: 17:[16, 15] Operation: 67-52=15 Exploring Operation: 67-16=51, Resulting Numbers: [52, 51] Generated Node #0,0,2: 17:[52, 51] Operation: 67-16=51 Exploring Operation: 52-16=36, Resulting Numbers: [67, 36] Generated Node #0,0,3: 17:[67, 36] Operation: 52-16=36 Moving to Node #0,1,2 Current State: 17:[14, 17], Operations: ['67-52=15', '2+15=17'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[15, 16], Operations: ['67-52=15', '14+2=16'] Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,17 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[16, 15], Operations: ['14+2=16', '67-52=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,17 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[14, 13], Operations: ['67-52=15', '15-2=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[15, 12], Operations: ['67-52=15', '14-2=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[2, 29], Operations: ['52-14=38', '67-38=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[67, 19], Operations: ['52-14=38', '38/2=19'] Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,17 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,17 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[52, 51], Operations: ['14+2=16', '67-16=51'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[38, 65], Operations: ['52-14=38', '67-2=65'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[67, 36], Operations: ['52-14=38', '38-2=36'] Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,17 unequal: No Solution Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[67, 36], Operations: ['14+2=16', '52-16=36'] Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,17 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[67, 68], Operations: ['14+2=16', '52+16=68'] Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 67*68=4556, Resulting Numbers: [4556] 4556,17 unequal: No Solution Exploring Operation: 67+68=135, Resulting Numbers: [135] 135,17 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 50, 87, 10, 95 ]
100
[ "87+10=97", "97-95=2", "50*2=100" ]
Current State: 100:[50, 87, 10, 95], Operations: [] Exploring Operation: 87+10=97, Resulting Numbers: [50, 95, 97] Generated Node #2: [50, 95, 97] from Operation: 87+10=97 Current State: 100:[50, 95, 97], Operations: ['87+10=97'] Exploring Operation: 97-95=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 97-95=2 Current State: 100:[50, 2], Operations: ['87+10=97', '97-95=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[50, 87, 10, 95], Operations: [] Exploring Operation: 95-87=8, Resulting Numbers: [50, 10, 8] Generated Node #0,0: 100:[50, 10, 8] Operation: 95-87=8 Moving to Node #0,0 Current State: 100:[50, 10, 8], Operations: ['95-87=8'] Exploring Operation: 10-8=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 100:[50, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[50, 2], Operations: ['95-87=8', '10-8=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[50, 87, 10, 95], Operations: [] Exploring Operation: 95-87=8, Resulting Numbers: [50, 10, 8] Generated Node #0,0: 100:[50, 10, 8] Operation: 95-87=8 Moving to Node #0,0 Current State: 100:[50, 10, 8], Operations: ['95-87=8'] Exploring Operation: 10-8=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 100:[50, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 100:[50, 2], Operations: ['95-87=8', '10-8=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 12, 83, 67, 95 ]
91
[ "83-12=71", "67+95=162", "162-71=91" ]
Current State: 91:[12, 83, 67, 95], Operations: [] Exploring Operation: 83-12=71, Resulting Numbers: [67, 95, 71] Generated Node #2: [67, 95, 71] from Operation: 83-12=71 Current State: 91:[67, 95, 71], Operations: ['83-12=71'] Exploring Operation: 67+95=162, Resulting Numbers: [71, 162] Generated Node #3: [71, 162] from Operation: 67+95=162 Current State: 91:[71, 162], Operations: ['83-12=71', '67+95=162'] Exploring Operation: 162-71=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[12, 83, 67, 95], Operations: [] Exploring Operation: 12+67=79, Resulting Numbers: [83, 95, 79] Generated Node #0,0: 91:[83, 95, 79] Operation: 12+67=79 Exploring Operation: 95-67=28, Resulting Numbers: [12, 83, 28] Generated Node #0,1: 91:[12, 83, 28] Operation: 95-67=28 Exploring Operation: 95-83=12, Resulting Numbers: [12, 67, 12] Generated Node #0,2: 91:[12, 67, 12] Operation: 95-83=12 Exploring Operation: 83-67=16, Resulting Numbers: [12, 95, 16] Generated Node #0,3: 91:[12, 95, 16] Operation: 83-67=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[12, 95, 16], Operations: ['83-67=16'] Exploring Operation: 12+95=107, Resulting Numbers: [16, 107] Generated Node #0,3,0: 91:[16, 107] Operation: 12+95=107 Exploring Operation: 95-12=83, Resulting Numbers: [16, 83] Generated Node #0,3,1: 91:[16, 83] Operation: 95-12=83 Exploring Operation: 16-12=4, Resulting Numbers: [95, 4] Generated Node #0,3,2: 91:[95, 4] Operation: 16-12=4 Exploring Operation: 95-16=79, Resulting Numbers: [12, 79] Generated Node #0,3,3: 91:[12, 79] Operation: 95-16=79 Moving to Node #0,3,2 Current State: 91:[95, 4], Operations: ['83-67=16', '16-12=4'] Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,91 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,91 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[12, 83, 67, 95], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [12, 95, 16] Generated Node #0,3: 91:[12, 95, 16] Operation: 83-67=16 Moving to Node #0,3 Current State: 91:[12, 95, 16], Operations: ['83-67=16'] Exploring Operation: 16-12=4, Resulting Numbers: [95, 4] Generated Node #0,3,2: 91:[95, 4] Operation: 16-12=4 Moving to Node #0,3,2 Current State: 91:[95, 4], Operations: ['83-67=16', '16-12=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 89, 92, 81, 73 ]
100
[ "92-89=3", "81/3=27", "73+27=100" ]
Current State: 100:[89, 92, 81, 73], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [81, 73, 3] Generated Node #2: [81, 73, 3] from Operation: 92-89=3 Current State: 100:[81, 73, 3], Operations: ['92-89=3'] Exploring Operation: 81/3=27, Resulting Numbers: [73, 27] Generated Node #3: [73, 27] from Operation: 81/3=27 Current State: 100:[73, 27], Operations: ['92-89=3', '81/3=27'] Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[89, 92, 81, 73], Operations: [] Exploring Operation: 89-73=16, Resulting Numbers: [92, 81, 16] Generated Node #0,0: 100:[92, 81, 16] Operation: 89-73=16 Exploring Operation: 92-73=19, Resulting Numbers: [89, 81, 19] Generated Node #0,1: 100:[89, 81, 19] Operation: 92-73=19 Exploring Operation: 81-73=8, Resulting Numbers: [89, 92, 8] Generated Node #0,2: 100:[89, 92, 8] Operation: 81-73=8 Exploring Operation: 89-81=8, Resulting Numbers: [92, 73, 8] Generated Node #0,3: 100:[92, 73, 8] Operation: 89-81=8 Moving to Node #0,2 Current State: 100:[89, 92, 8], Operations: ['81-73=8'] Exploring Operation: 92+8=100, Resulting Numbers: [89, 100] Generated Node #0,2,0: 100:[89, 100] Operation: 92+8=100 Exploring Operation: 92-89=3, Resulting Numbers: [8, 3] Generated Node #0,2,1: 100:[8, 3] Operation: 92-89=3 Exploring Operation: 89-8=81, Resulting Numbers: [92, 81] Generated Node #0,2,2: 100:[92, 81] Operation: 89-8=81 Exploring Operation: 89+8=97, Resulting Numbers: [92, 97] Generated Node #0,2,3: 100:[92, 97] Operation: 89+8=97 Moving to Node #0,1 Current State: 100:[89, 81, 19], Operations: ['92-73=19'] Exploring Operation: 81+19=100, Resulting Numbers: [89, 100] Generated Node #0,1,0: 100:[89, 100] Operation: 81+19=100 Exploring Operation: 81-19=62, Resulting Numbers: [89, 62] Generated Node #0,1,1: 100:[89, 62] Operation: 81-19=62 Exploring Operation: 89-81=8, Resulting Numbers: [19, 8] Generated Node #0,1,2: 100:[19, 8] Operation: 89-81=8 Exploring Operation: 89+19=108, Resulting Numbers: [81, 108] Generated Node #0,1,3: 100:[81, 108] Operation: 89+19=108 Moving to Node #0,0 Current State: 100:[92, 81, 16], Operations: ['89-73=16'] Exploring Operation: 92+16=108, Resulting Numbers: [81, 108] Generated Node #0,0,0: 100:[81, 108] Operation: 92+16=108 Exploring Operation: 92-81=11, Resulting Numbers: [16, 11] Generated Node #0,0,1: 100:[16, 11] Operation: 92-81=11 Exploring Operation: 81-16=65, Resulting Numbers: [92, 65] Generated Node #0,0,2: 100:[92, 65] Operation: 81-16=65 Exploring Operation: 81+16=97, Resulting Numbers: [92, 97] Generated Node #0,0,3: 100:[92, 97] Operation: 81+16=97 Moving to Node #0,3 Current State: 100:[92, 73, 8], Operations: ['89-81=8'] Exploring Operation: 73+8=81, Resulting Numbers: [92, 81] Generated Node #0,3,0: 100:[92, 81] Operation: 73+8=81 Exploring Operation: 92-73=19, Resulting Numbers: [8, 19] Generated Node #0,3,1: 100:[8, 19] Operation: 92-73=19 Exploring Operation: 73-8=65, Resulting Numbers: [92, 65] Generated Node #0,3,2: 100:[92, 65] Operation: 73-8=65 Exploring Operation: 92+8=100, Resulting Numbers: [73, 100] Generated Node #0,3,3: 100:[73, 100] Operation: 92+8=100 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[8, 19], Operations: ['89-81=8', '92-73=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,100 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[92, 65], Operations: ['89-81=8', '73-8=65'] Exploring Operation: 92*65=5980, Resulting Numbers: [5980] 5980,100 unequal: No Solution Exploring Operation: 92-65=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 92+65=157, Resulting Numbers: [157] 157,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[73, 100], Operations: ['89-81=8', '92+8=100'] Exploring Operation: 73+100=173, Resulting Numbers: [173] 173,100 unequal: No Solution Exploring Operation: 100-73=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 73*100=7300, Resulting Numbers: [7300] 7300,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[92, 81], Operations: ['89-81=8', '73+8=81'] Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,100 unequal: No Solution Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 100:[8, 3], Operations: ['81-73=8', '92-89=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[19, 8], Operations: ['92-73=19', '89-81=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,100 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[16, 11], Operations: ['89-73=16', '92-81=11'] Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[92, 97], Operations: ['81-73=8', '89+8=97'] Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 92*97=8924, Resulting Numbers: [8924] 8924,100 unequal: No Solution Exploring Operation: 92+97=189, Resulting Numbers: [189] 189,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[89, 100], Operations: ['92-73=19', '81+19=100'] Exploring Operation: 100-89=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 89*100=8900, Resulting Numbers: [8900] 8900,100 unequal: No Solution Exploring Operation: 89+100=189, Resulting Numbers: [189] 189,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[89, 100], Operations: ['81-73=8', '92+8=100'] Exploring Operation: 89*100=8900, Resulting Numbers: [8900] 8900,100 unequal: No Solution Exploring Operation: 89+100=189, Resulting Numbers: [189] 189,100 unequal: No Solution Exploring Operation: 100-89=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[92, 97], Operations: ['89-73=16', '81+16=97'] Exploring Operation: 92+97=189, Resulting Numbers: [189] 189,100 unequal: No Solution Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 92*97=8924, Resulting Numbers: [8924] 8924,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[89, 62], Operations: ['92-73=19', '81-19=62'] Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 89*62=5518, Resulting Numbers: [5518] 5518,100 unequal: No Solution Exploring Operation: 89+62=151, Resulting Numbers: [151] 151,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[92, 65], Operations: ['89-73=16', '81-16=65'] Exploring Operation: 92+65=157, Resulting Numbers: [157] 157,100 unequal: No Solution Exploring Operation: 92*65=5980, Resulting Numbers: [5980] 5980,100 unequal: No Solution Exploring Operation: 92-65=27, Resulting Numbers: [27] 27,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[81, 108], Operations: ['89-73=16', '92+16=108'] Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 81+108=189, Resulting Numbers: [189] 189,100 unequal: No Solution Exploring Operation: 81*108=8748, Resulting Numbers: [8748] 8748,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[81, 108], Operations: ['92-73=19', '89+19=108'] Exploring Operation: 81*108=8748, Resulting Numbers: [8748] 8748,100 unequal: No Solution Exploring Operation: 81+108=189, Resulting Numbers: [189] 189,100 unequal: No Solution Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[92, 81], Operations: ['81-73=8', '89-8=81'] Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,100 unequal: No Solution Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,100 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 45, 32, 25, 55 ]
36
[ "45+55=100", "100/25=4", "32+4=36" ]
Current State: 36:[45, 32, 25, 55], Operations: [] Exploring Operation: 45+55=100, Resulting Numbers: [32, 25, 100] Generated Node #2: [32, 25, 100] from Operation: 45+55=100 Current State: 36:[32, 25, 100], Operations: ['45+55=100'] Exploring Operation: 100/25=4, Resulting Numbers: [32, 4] Generated Node #3: [32, 4] from Operation: 100/25=4 Current State: 36:[32, 4], Operations: ['45+55=100', '100/25=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[45, 32, 25, 55], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [32, 25, 10] Generated Node #0,0: 36:[32, 25, 10] Operation: 55-45=10 Exploring Operation: 55-32=23, Resulting Numbers: [45, 25, 23] Generated Node #0,1: 36:[45, 25, 23] Operation: 55-32=23 Exploring Operation: 55-25=30, Resulting Numbers: [45, 32, 30] Generated Node #0,2: 36:[45, 32, 30] Operation: 55-25=30 Moving to Node #0,0 Current State: 36:[32, 25, 10], Operations: ['55-45=10'] Exploring Operation: 25+10=35, Resulting Numbers: [32, 35] Generated Node #0,0,0: 36:[32, 35] Operation: 25+10=35 Exploring Operation: 32-25=7, Resulting Numbers: [10, 7] Generated Node #0,0,1: 36:[10, 7] Operation: 32-25=7 Exploring Operation: 25-10=15, Resulting Numbers: [32, 15] Generated Node #0,0,2: 36:[32, 15] Operation: 25-10=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[10, 7], Operations: ['55-45=10', '32-25=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[32, 35], Operations: ['55-45=10', '25+10=35'] Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,36 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[32, 15], Operations: ['55-45=10', '25-10=15'] Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,36 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,36 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: 36:[45, 32, 30], Operations: ['55-25=30'] Exploring Operation: 32-30=2, Resulting Numbers: [45, 2] Generated Node #0,2,0: 36:[45, 2] Operation: 32-30=2 Exploring Operation: 45-32=13, Resulting Numbers: [30, 13] Generated Node #0,2,1: 36:[30, 13] Operation: 45-32=13 Exploring Operation: 45-30=15, Resulting Numbers: [32, 15] Generated Node #0,2,2: 36:[32, 15] Operation: 45-30=15 Moving to Node #0,1 Current State: 36:[45, 25, 23], Operations: ['55-32=23'] Exploring Operation: 25-23=2, Resulting Numbers: [45, 2] Generated Node #0,1,0: 36:[45, 2] Operation: 25-23=2 Exploring Operation: 45-25=20, Resulting Numbers: [23, 20] Generated Node #0,1,1: 36:[23, 20] Operation: 45-25=20 Exploring Operation: 45-23=22, Resulting Numbers: [25, 22] Generated Node #0,1,2: 36:[25, 22] Operation: 45-23=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[23, 20], Operations: ['55-32=23', '45-25=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,36 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[45, 2], Operations: ['55-32=23', '25-23=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[25, 22], Operations: ['55-32=23', '45-23=22'] Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 36:[30, 13], Operations: ['55-25=30', '45-32=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,36 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[32, 15], Operations: ['55-25=30', '45-30=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[45, 2], Operations: ['55-25=30', '32-30=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,36 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 65, 89, 49, 18 ]
91
[ "89-65=24", "49+18=67", "24+67=91" ]
Current State: 91:[65, 89, 49, 18], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [49, 18, 24] Generated Node #2: [49, 18, 24] from Operation: 89-65=24 Current State: 91:[49, 18, 24], Operations: ['89-65=24'] Exploring Operation: 49+18=67, Resulting Numbers: [24, 67] Generated Node #3: [24, 67] from Operation: 49+18=67 Current State: 91:[24, 67], Operations: ['89-65=24', '49+18=67'] Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[65, 89, 49, 18], Operations: [] Exploring Operation: 65+18=83, Resulting Numbers: [89, 49, 83] Generated Node #0,0: 91:[89, 49, 83] Operation: 65+18=83 Exploring Operation: 65-49=16, Resulting Numbers: [89, 18, 16] Generated Node #0,1: 91:[89, 18, 16] Operation: 65-49=16 Exploring Operation: 49-18=31, Resulting Numbers: [65, 89, 31] Generated Node #0,2: 91:[65, 89, 31] Operation: 49-18=31 Exploring Operation: 65+49=114, Resulting Numbers: [89, 18, 114] Generated Node #0,3: 91:[89, 18, 114] Operation: 65+49=114 Exploring Operation: 89-65=24, Resulting Numbers: [49, 18, 24] Generated Node #0,4: 91:[49, 18, 24] Operation: 89-65=24 Moving to Node #0,1 Current State: 91:[89, 18, 16], Operations: ['65-49=16'] Exploring Operation: 89+18=107, Resulting Numbers: [16, 107] Generated Node #0,1,0: 91:[16, 107] Operation: 89+18=107 Exploring Operation: 18-16=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 91:[89, 2] Operation: 18-16=2 Exploring Operation: 89-18=71, Resulting Numbers: [16, 71] Generated Node #0,1,2: 91:[16, 71] Operation: 89-18=71 Exploring Operation: 89+16=105, Resulting Numbers: [18, 105] Generated Node #0,1,3: 91:[18, 105] Operation: 89+16=105 Exploring Operation: 89-16=73, Resulting Numbers: [18, 73] Generated Node #0,1,4: 91:[18, 73] Operation: 89-16=73 Moving to Node #0,3 Current State: 91:[89, 18, 114], Operations: ['65+49=114'] Exploring Operation: 114-18=96, Resulting Numbers: [89, 96] Generated Node #0,3,0: 91:[89, 96] Operation: 114-18=96 Exploring Operation: 89-18=71, Resulting Numbers: [114, 71] Generated Node #0,3,1: 91:[114, 71] Operation: 89-18=71 Exploring Operation: 18+114=132, Resulting Numbers: [89, 132] Generated Node #0,3,2: 91:[89, 132] Operation: 18+114=132 Exploring Operation: 89+18=107, Resulting Numbers: [114, 107] Generated Node #0,3,3: 91:[114, 107] Operation: 89+18=107 Exploring Operation: 114-89=25, Resulting Numbers: [18, 25] Generated Node #0,3,4: 91:[18, 25] Operation: 114-89=25 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[89, 96], Operations: ['65+49=114', '114-18=96'] Exploring Operation: 96-89=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 89*96=8544, Resulting Numbers: [8544] 8544,91 unequal: No Solution Exploring Operation: 89+96=185, Resulting Numbers: [185] 185,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 91:[18, 25], Operations: ['65+49=114', '114-89=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[114, 107], Operations: ['65+49=114', '89+18=107'] Exploring Operation: 114*107=12198, Resulting Numbers: [12198] 12198,91 unequal: No Solution Exploring Operation: 114+107=221, Resulting Numbers: [221] 221,91 unequal: No Solution Exploring Operation: 114-107=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[114, 71], Operations: ['65+49=114', '89-18=71'] Exploring Operation: 114+71=185, Resulting Numbers: [185] 185,91 unequal: No Solution Exploring Operation: 114*71=8094, Resulting Numbers: [8094] 8094,91 unequal: No Solution Exploring Operation: 114-71=43, Resulting Numbers: [43] 43,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[89, 132], Operations: ['65+49=114', '18+114=132'] Exploring Operation: 89+132=221, Resulting Numbers: [221] 221,91 unequal: No Solution Exploring Operation: 132-89=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 89*132=11748, Resulting Numbers: [11748] 11748,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:[89, 49, 83], Operations: ['65+18=83'] Exploring Operation: 89-83=6, Resulting Numbers: [49, 6] Generated Node #0,0,0: 91:[49, 6] Operation: 89-83=6 Exploring Operation: 89+49=138, Resulting Numbers: [83, 138] Generated Node #0,0,1: 91:[83, 138] Operation: 89+49=138 Exploring Operation: 83-49=34, Resulting Numbers: [89, 34] Generated Node #0,0,2: 91:[89, 34] Operation: 83-49=34 Exploring Operation: 49+83=132, Resulting Numbers: [89, 132] Generated Node #0,0,3: 91:[89, 132] Operation: 49+83=132 Exploring Operation: 89-49=40, Resulting Numbers: [83, 40] Generated Node #0,0,4: 91:[83, 40] Operation: 89-49=40 Moving to Node #0,2 Current State: 91:[65, 89, 31], Operations: ['49-18=31'] Exploring Operation: 89+31=120, Resulting Numbers: [65, 120] Generated Node #0,2,0: 91:[65, 120] Operation: 89+31=120 Exploring Operation: 65+31=96, Resulting Numbers: [89, 96] Generated Node #0,2,1: 91:[89, 96] Operation: 65+31=96 Exploring Operation: 89-31=58, Resulting Numbers: [65, 58] Generated Node #0,2,2: 91:[65, 58] Operation: 89-31=58 Exploring Operation: 89-65=24, Resulting Numbers: [31, 24] Generated Node #0,2,3: 91:[31, 24] Operation: 89-65=24 Exploring Operation: 65-31=34, Resulting Numbers: [89, 34] Generated Node #0,2,4: 91:[89, 34] Operation: 65-31=34 Moving to Node #0,4 Current State: 91:[49, 18, 24], Operations: ['89-65=24'] Exploring Operation: 49+24=73, Resulting Numbers: [18, 73] Generated Node #0,4,0: 91:[18, 73] Operation: 49+24=73 Exploring Operation: 49-18=31, Resulting Numbers: [24, 31] Generated Node #0,4,1: 91:[24, 31] Operation: 49-18=31 Exploring Operation: 49+18=67, Resulting Numbers: [24, 67] Generated Node #0,4,2: 91:[24, 67] Operation: 49+18=67 Exploring Operation: 24-18=6, Resulting Numbers: [49, 6] Generated Node #0,4,3: 91:[49, 6] Operation: 24-18=6 Exploring Operation: 49-24=25, Resulting Numbers: [18, 25] Generated Node #0,4,4: 91:[18, 25] Operation: 49-24=25 Moving to Node #0,1,1 Current State: 91:[89, 2], Operations: ['65-49=16', '18-16=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[65, 89, 49, 18], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [89, 18, 16] Generated Node #0,1: 91:[89, 18, 16] Operation: 65-49=16 Moving to Node #0,1 Current State: 91:[89, 18, 16], Operations: ['65-49=16'] Exploring Operation: 18-16=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 91:[89, 2] Operation: 18-16=2 Moving to Node #0,1,1 Current State: 91:[89, 2], Operations: ['65-49=16', '18-16=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 68, 25, 58, 53 ]
63
[ "58-53=5", "25/5=5", "68-5=63" ]
Current State: 63:[68, 25, 58, 53], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [68, 25, 5] Generated Node #2: [68, 25, 5] from Operation: 58-53=5 Current State: 63:[68, 25, 5], Operations: ['58-53=5'] Exploring Operation: 25/5=5, Resulting Numbers: [68, 5] Generated Node #3: [68, 5] from Operation: 25/5=5 Current State: 63:[68, 5], Operations: ['58-53=5', '25/5=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[68, 25, 58, 53], Operations: [] Exploring Operation: 68-53=15, Resulting Numbers: [25, 58, 15] Generated Node #0,0: 63:[25, 58, 15] Operation: 68-53=15 Exploring Operation: 53-25=28, Resulting Numbers: [68, 58, 28] Generated Node #0,1: 63:[68, 58, 28] Operation: 53-25=28 Exploring Operation: 58-53=5, Resulting Numbers: [68, 25, 5] Generated Node #0,2: 63:[68, 25, 5] Operation: 58-53=5 Exploring Operation: 25+53=78, Resulting Numbers: [68, 58, 78] Generated Node #0,3: 63:[68, 58, 78] Operation: 25+53=78 Exploring Operation: 68-58=10, Resulting Numbers: [25, 53, 10] Generated Node #0,4: 63:[25, 53, 10] Operation: 68-58=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[68, 25, 5], Operations: ['58-53=5'] Exploring Operation: 25-5=20, Resulting Numbers: [68, 20] Generated Node #0,2,0: 63:[68, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [68, 5] Generated Node #0,2,1: 63:[68, 5] Operation: 25/5=5 Exploring Operation: 68-5=63, Resulting Numbers: [25, 63] Generated Node #0,2,2: 63:[25, 63] Operation: 68-5=63 Exploring Operation: 25+5=30, Resulting Numbers: [68, 30] Generated Node #0,2,3: 63:[68, 30] Operation: 25+5=30 Exploring Operation: 68+5=73, Resulting Numbers: [25, 73] Generated Node #0,2,4: 63:[25, 73] Operation: 68+5=73 Moving to Node #0,2,2 Current State: 63:[25, 63], Operations: ['58-53=5', '68-5=63'] Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,63 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[68, 20], Operations: ['58-53=5', '25-5=20'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,63 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[68, 5], Operations: ['58-53=5', '25/5=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,63 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,63 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[68, 25, 58, 53], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [68, 25, 5] Generated Node #0,2: 63:[68, 25, 5] Operation: 58-53=5 Moving to Node #0,2 Current State: 63:[68, 25, 5], Operations: ['58-53=5'] Exploring Operation: 25/5=5, Resulting Numbers: [68, 5] Generated Node #0,2,1: 63:[68, 5] Operation: 25/5=5 Moving to Node #0,2,1 Current State: 63:[68, 5], Operations: ['58-53=5', '25/5=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 56, 41, 11, 7 ]
47
[ "56*11=616", "616/7=88", "88-41=47" ]
Current State: 47:[56, 41, 11, 7], Operations: [] Exploring Operation: 56*11=616, Resulting Numbers: [41, 7, 616] Generated Node #2: [41, 7, 616] from Operation: 56*11=616 Current State: 47:[41, 7, 616], Operations: ['56*11=616'] Exploring Operation: 616/7=88, Resulting Numbers: [41, 88] Generated Node #3: [41, 88] from Operation: 616/7=88 Current State: 47:[41, 88], Operations: ['56*11=616', '616/7=88'] Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[56, 41, 11, 7], Operations: [] Exploring Operation: 11+7=18, Resulting Numbers: [56, 41, 18] Generated Node #0,0: 47:[56, 41, 18] Operation: 11+7=18 Exploring Operation: 56-7=49, Resulting Numbers: [41, 11, 49] Generated Node #0,1: 47:[41, 11, 49] Operation: 56-7=49 Moving to Node #0,0 Current State: 47:[56, 41, 18], Operations: ['11+7=18'] Exploring Operation: 41+18=59, Resulting Numbers: [56, 59] Generated Node #0,0,0: 47:[56, 59] Operation: 41+18=59 Exploring Operation: 56-18=38, Resulting Numbers: [41, 38] Generated Node #0,0,1: 47:[41, 38] Operation: 56-18=38 Moving to Node #0,1 Current State: 47:[41, 11, 49], Operations: ['56-7=49'] Exploring Operation: 41+11=52, Resulting Numbers: [49, 52] Generated Node #0,1,0: 47:[49, 52] Operation: 41+11=52 Exploring Operation: 49-11=38, Resulting Numbers: [41, 38] Generated Node #0,1,1: 47:[41, 38] Operation: 49-11=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[49, 52], Operations: ['56-7=49', '41+11=52'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,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:[41, 38], Operations: ['56-7=49', '49-11=38'] Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 47:[41, 38], Operations: ['11+7=18', '56-18=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[56, 59], Operations: ['11+7=18', '41+18=59'] Exploring Operation: 56+59=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,47 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 42, 43, 78 ]
91
[ "42-12=30", "43+78=121", "121-30=91" ]
Current State: 91:[12, 42, 43, 78], Operations: [] Exploring Operation: 42-12=30, Resulting Numbers: [43, 78, 30] Generated Node #2: [43, 78, 30] from Operation: 42-12=30 Current State: 91:[43, 78, 30], Operations: ['42-12=30'] Exploring Operation: 43+78=121, Resulting Numbers: [30, 121] Generated Node #3: [30, 121] from Operation: 43+78=121 Current State: 91:[30, 121], Operations: ['42-12=30', '43+78=121'] Exploring Operation: 121-30=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[12, 42, 43, 78], Operations: [] Exploring Operation: 43-42=1, Resulting Numbers: [12, 78, 1] Generated Node #0,0: 91:[12, 78, 1] Operation: 43-42=1 Exploring Operation: 42+43=85, Resulting Numbers: [12, 78, 85] Generated Node #0,1: 91:[12, 78, 85] Operation: 42+43=85 Moving to Node #0,0 Current State: 91:[12, 78, 1], Operations: ['43-42=1'] Exploring Operation: 12+78=90, Resulting Numbers: [1, 90] Generated Node #0,0,0: 91:[1, 90] Operation: 12+78=90 Exploring Operation: 12+1=13, Resulting Numbers: [78, 13] Generated Node #0,0,1: 91:[78, 13] Operation: 12+1=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[1, 90], Operations: ['43-42=1', '12+78=90'] Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[12, 42, 43, 78], Operations: [] Exploring Operation: 43-42=1, Resulting Numbers: [12, 78, 1] Generated Node #0,0: 91:[12, 78, 1] Operation: 43-42=1 Moving to Node #0,0 Current State: 91:[12, 78, 1], Operations: ['43-42=1'] Exploring Operation: 12+78=90, Resulting Numbers: [1, 90] Generated Node #0,0,0: 91:[1, 90] Operation: 12+78=90 Moving to Node #0,0,0 Current State: 91:[1, 90], Operations: ['43-42=1', '12+78=90'] Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 63, 5, 84, 3 ]
42
[ "84-63=21", "5-3=2", "21*2=42" ]
Current State: 42:[63, 5, 84, 3], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [5, 3, 21] Generated Node #2: [5, 3, 21] from Operation: 84-63=21 Current State: 42:[5, 3, 21], Operations: ['84-63=21'] Exploring Operation: 5-3=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 5-3=2 Current State: 42:[21, 2], Operations: ['84-63=21', '5-3=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[63, 5, 84, 3], Operations: [] Exploring Operation: 84/3=28, Resulting Numbers: [63, 5, 28] Generated Node #0,0: 42:[63, 5, 28] Operation: 84/3=28 Exploring Operation: 63-5=58, Resulting Numbers: [84, 3, 58] Generated Node #0,1: 42:[84, 3, 58] Operation: 63-5=58 Exploring Operation: 84-63=21, Resulting Numbers: [5, 3, 21] Generated Node #0,2: 42:[5, 3, 21] Operation: 84-63=21 Exploring Operation: 63/3=21, Resulting Numbers: [5, 84, 21] Generated Node #0,3: 42:[5, 84, 21] Operation: 63/3=21 Moving to Node #0,2 Current State: 42:[5, 3, 21], Operations: ['84-63=21'] Exploring Operation: 5+3=8, Resulting Numbers: [21, 8] Generated Node #0,2,0: 42:[21, 8] Operation: 5+3=8 Exploring Operation: 21/3=7, Resulting Numbers: [5, 7] Generated Node #0,2,1: 42:[5, 7] Operation: 21/3=7 Exploring Operation: 5-3=2, Resulting Numbers: [21, 2] Generated Node #0,2,2: 42:[21, 2] Operation: 5-3=2 Exploring Operation: 5*3=15, Resulting Numbers: [21, 15] Generated Node #0,2,3: 42:[21, 15] Operation: 5*3=15 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[21, 2], Operations: ['84-63=21', '5-3=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[63, 5, 84, 3], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [5, 3, 21] Generated Node #0,2: 42:[5, 3, 21] Operation: 84-63=21 Moving to Node #0,2 Current State: 42:[5, 3, 21], Operations: ['84-63=21'] Exploring Operation: 5-3=2, Resulting Numbers: [21, 2] Generated Node #0,2,2: 42:[21, 2] Operation: 5-3=2 Moving to Node #0,2,2 Current State: 42:[21, 2], Operations: ['84-63=21', '5-3=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 71, 44, 61, 35 ]
90
[ "71-61=10", "44-35=9", "10*9=90" ]
Current State: 90:[71, 44, 61, 35], Operations: [] Exploring Operation: 71-61=10, Resulting Numbers: [44, 35, 10] Generated Node #2: [44, 35, 10] from Operation: 71-61=10 Current State: 90:[44, 35, 10], Operations: ['71-61=10'] Exploring Operation: 44-35=9, Resulting Numbers: [10, 9] Generated Node #3: [10, 9] from Operation: 44-35=9 Current State: 90:[10, 9], Operations: ['71-61=10', '44-35=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[71, 44, 61, 35], Operations: [] Exploring Operation: 71-61=10, Resulting Numbers: [44, 35, 10] Generated Node #0,0: 90:[44, 35, 10] Operation: 71-61=10 Exploring Operation: 61-35=26, Resulting Numbers: [71, 44, 26] Generated Node #0,1: 90:[71, 44, 26] Operation: 61-35=26 Exploring Operation: 71-35=36, Resulting Numbers: [44, 61, 36] Generated Node #0,2: 90:[44, 61, 36] Operation: 71-35=36 Exploring Operation: 71-44=27, Resulting Numbers: [61, 35, 27] Generated Node #0,3: 90:[61, 35, 27] Operation: 71-44=27 Moving to Node #0,0 Current State: 90:[44, 35, 10], Operations: ['71-61=10'] Exploring Operation: 44-10=34, Resulting Numbers: [35, 34] Generated Node #0,0,0: 90:[35, 34] Operation: 44-10=34 Exploring Operation: 44-35=9, Resulting Numbers: [10, 9] Generated Node #0,0,1: 90:[10, 9] Operation: 44-35=9 Exploring Operation: 35-10=25, Resulting Numbers: [44, 25] Generated Node #0,0,2: 90:[44, 25] Operation: 35-10=25 Exploring Operation: 35+10=45, Resulting Numbers: [44, 45] Generated Node #0,0,3: 90:[44, 45] Operation: 35+10=45 Moving to Node #0,2 Current State: 90:[44, 61, 36], Operations: ['71-35=36'] Exploring Operation: 61-36=25, Resulting Numbers: [44, 25] Generated Node #0,2,0: 90:[44, 25] Operation: 61-36=25 Exploring Operation: 44-36=8, Resulting Numbers: [61, 8] Generated Node #0,2,1: 90:[61, 8] Operation: 44-36=8 Exploring Operation: 61+36=97, Resulting Numbers: [44, 97] Generated Node #0,2,2: 90:[44, 97] Operation: 61+36=97 Exploring Operation: 61-44=17, Resulting Numbers: [36, 17] Generated Node #0,2,3: 90:[36, 17] Operation: 61-44=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 90:[44, 25], Operations: ['71-35=36', '61-36=25'] Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,90 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,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,2,3 Current State: 90:[36, 17], Operations: ['71-35=36', '61-44=17'] Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,90 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,90 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,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,2,2 Current State: 90:[44, 97], Operations: ['71-35=36', '61+36=97'] Exploring Operation: 44*97=4268, Resulting Numbers: [4268] 4268,90 unequal: No Solution Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,90 unequal: No Solution Exploring Operation: 44+97=141, Resulting Numbers: [141] 141,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,2,1 Current State: 90:[61, 8], Operations: ['71-35=36', '44-36=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,90 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,90 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,90 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: 90:[61, 35, 27], Operations: ['71-44=27'] Exploring Operation: 61+27=88, Resulting Numbers: [35, 88] Generated Node #0,3,0: 90:[35, 88] Operation: 61+27=88 Exploring Operation: 61-35=26, Resulting Numbers: [27, 26] Generated Node #0,3,1: 90:[27, 26] Operation: 61-35=26 Exploring Operation: 61-27=34, Resulting Numbers: [35, 34] Generated Node #0,3,2: 90:[35, 34] Operation: 61-27=34 Exploring Operation: 61+35=96, Resulting Numbers: [27, 96] Generated Node #0,3,3: 90:[27, 96] Operation: 61+35=96 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[35, 88], Operations: ['71-44=27', '61+27=88'] Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,90 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,90 unequal: No Solution Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,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,3,1 Current State: 90:[27, 26], Operations: ['71-44=27', '61-35=26'] Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,90 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,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,3,2 Current State: 90:[35, 34], Operations: ['71-44=27', '61-27=34'] Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,90 unequal: No Solution Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,90 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,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,3,3 Current State: 90:[27, 96], Operations: ['71-44=27', '61+35=96'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,90 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,90 unequal: No Solution Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 90:[71, 44, 26], Operations: ['61-35=26'] Exploring Operation: 44-26=18, Resulting Numbers: [71, 18] Generated Node #0,1,0: 90:[71, 18] Operation: 44-26=18 Exploring Operation: 71-26=45, Resulting Numbers: [44, 45] Generated Node #0,1,1: 90:[44, 45] Operation: 71-26=45 Exploring Operation: 71+26=97, Resulting Numbers: [44, 97] Generated Node #0,1,2: 90:[44, 97] Operation: 71+26=97 Exploring Operation: 71-44=27, Resulting Numbers: [26, 27] Generated Node #0,1,3: 90:[26, 27] Operation: 71-44=27 Moving to Node #0,0,1 Current State: 90:[10, 9], Operations: ['71-61=10', '44-35=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[71, 44, 61, 35], Operations: [] Exploring Operation: 71-61=10, Resulting Numbers: [44, 35, 10] Generated Node #0,0: 90:[44, 35, 10] Operation: 71-61=10 Moving to Node #0,0 Current State: 90:[44, 35, 10], Operations: ['71-61=10'] Exploring Operation: 44-35=9, Resulting Numbers: [10, 9] Generated Node #0,0,1: 90:[10, 9] Operation: 44-35=9 Moving to Node #0,0,1 Current State: 90:[10, 9], Operations: ['71-61=10', '44-35=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 72, 57, 76, 3 ]
81
[ "72-57=15", "15/3=5", "76+5=81" ]
Current State: 81:[72, 57, 76, 3], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [76, 3, 15] Generated Node #2: [76, 3, 15] from Operation: 72-57=15 Current State: 81:[76, 3, 15], Operations: ['72-57=15'] Exploring Operation: 15/3=5, Resulting Numbers: [76, 5] Generated Node #3: [76, 5] from Operation: 15/3=5 Current State: 81:[76, 5], Operations: ['72-57=15', '15/3=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[72, 57, 76, 3], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [57, 3, 4] Generated Node #0,0: 81:[57, 3, 4] Operation: 76-72=4 Exploring Operation: 72/3=24, Resulting Numbers: [57, 76, 24] Generated Node #0,1: 81:[57, 76, 24] Operation: 72/3=24 Exploring Operation: 76-57=19, Resulting Numbers: [72, 3, 19] Generated Node #0,2: 81:[72, 3, 19] Operation: 76-57=19 Exploring Operation: 72-57=15, Resulting Numbers: [76, 3, 15] Generated Node #0,3: 81:[76, 3, 15] Operation: 72-57=15 Exploring Operation: 57/3=19, Resulting Numbers: [72, 76, 19] Generated Node #0,4: 81:[72, 76, 19] Operation: 57/3=19 Moving to Node #0,3 Current State: 81:[76, 3, 15], Operations: ['72-57=15'] Exploring Operation: 76+3=79, Resulting Numbers: [15, 79] Generated Node #0,3,0: 81:[15, 79] Operation: 76+3=79 Exploring Operation: 15/3=5, Resulting Numbers: [76, 5] Generated Node #0,3,1: 81:[76, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [76, 12] Generated Node #0,3,2: 81:[76, 12] Operation: 15-3=12 Exploring Operation: 76-3=73, Resulting Numbers: [15, 73] Generated Node #0,3,3: 81:[15, 73] Operation: 76-3=73 Exploring Operation: 76+15=91, Resulting Numbers: [3, 91] Generated Node #0,3,4: 81:[3, 91] Operation: 76+15=91 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[76, 5], Operations: ['72-57=15', '15/3=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[72, 57, 76, 3], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [76, 3, 15] Generated Node #0,3: 81:[76, 3, 15] Operation: 72-57=15 Moving to Node #0,3 Current State: 81:[76, 3, 15], Operations: ['72-57=15'] Exploring Operation: 15/3=5, Resulting Numbers: [76, 5] Generated Node #0,3,1: 81:[76, 5] Operation: 15/3=5 Moving to Node #0,3,1 Current State: 81:[76, 5], Operations: ['72-57=15', '15/3=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 33, 59, 48, 32 ]
42
[ "59-33=26", "48-32=16", "26+16=42" ]
Current State: 42:[33, 59, 48, 32], Operations: [] Exploring Operation: 59-33=26, Resulting Numbers: [48, 32, 26] Generated Node #2: [48, 32, 26] from Operation: 59-33=26 Current State: 42:[48, 32, 26], Operations: ['59-33=26'] Exploring Operation: 48-32=16, Resulting Numbers: [26, 16] Generated Node #3: [26, 16] from Operation: 48-32=16 Current State: 42:[26, 16], Operations: ['59-33=26', '48-32=16'] Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[33, 59, 48, 32], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [33, 32, 11] Generated Node #0,0: 42:[33, 32, 11] Operation: 59-48=11 Exploring Operation: 59-32=27, Resulting Numbers: [33, 48, 27] Generated Node #0,1: 42:[33, 48, 27] Operation: 59-32=27 Exploring Operation: 48-33=15, Resulting Numbers: [59, 32, 15] Generated Node #0,2: 42:[59, 32, 15] Operation: 48-33=15 Exploring Operation: 59-33=26, Resulting Numbers: [48, 32, 26] Generated Node #0,3: 42:[48, 32, 26] Operation: 59-33=26 Exploring Operation: 33-32=1, Resulting Numbers: [59, 48, 1] Generated Node #0,4: 42:[59, 48, 1] Operation: 33-32=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[33, 48, 27], Operations: ['59-32=27'] Exploring Operation: 48+27=75, Resulting Numbers: [33, 75] Generated Node #0,1,0: 42:[33, 75] Operation: 48+27=75 Exploring Operation: 48-27=21, Resulting Numbers: [33, 21] Generated Node #0,1,1: 42:[33, 21] Operation: 48-27=21 Exploring Operation: 33+27=60, Resulting Numbers: [48, 60] Generated Node #0,1,2: 42:[48, 60] Operation: 33+27=60 Exploring Operation: 33-27=6, Resulting Numbers: [48, 6] Generated Node #0,1,3: 42:[48, 6] Operation: 33-27=6 Exploring Operation: 48-33=15, Resulting Numbers: [27, 15] Generated Node #0,1,4: 42:[27, 15] Operation: 48-33=15 Moving to Node #0,1,3 Current State: 42:[48, 6], Operations: ['59-32=27', '33-27=6'] Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[33, 59, 48, 32], Operations: [] Exploring Operation: 59-32=27, Resulting Numbers: [33, 48, 27] Generated Node #0,1: 42:[33, 48, 27] Operation: 59-32=27 Moving to Node #0,1 Current State: 42:[33, 48, 27], Operations: ['59-32=27'] Exploring Operation: 33-27=6, Resulting Numbers: [48, 6] Generated Node #0,1,3: 42:[48, 6] Operation: 33-27=6 Moving to Node #0,1,3 Current State: 42:[48, 6], Operations: ['59-32=27', '33-27=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 17, 76, 69, 38 ]
48
[ "76-17=59", "69+38=107", "107-59=48" ]
Current State: 48:[17, 76, 69, 38], Operations: [] Exploring Operation: 76-17=59, Resulting Numbers: [69, 38, 59] Generated Node #2: [69, 38, 59] from Operation: 76-17=59 Current State: 48:[69, 38, 59], Operations: ['76-17=59'] Exploring Operation: 69+38=107, Resulting Numbers: [59, 107] Generated Node #3: [59, 107] from Operation: 69+38=107 Current State: 48:[59, 107], Operations: ['76-17=59', '69+38=107'] Exploring Operation: 107-59=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[17, 76, 69, 38], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [17, 38, 7] Generated Node #0,0: 48:[17, 38, 7] Operation: 76-69=7 Moving to Node #0,0 Current State: 48:[17, 38, 7], Operations: ['76-69=7'] Exploring Operation: 38-17=21, Resulting Numbers: [7, 21] Generated Node #0,0,0: 48:[7, 21] Operation: 38-17=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[7, 21], Operations: ['76-69=7', '38-17=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,48 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
[ 24, 4, 4, 56 ]
53
[ "4+4=8", "24/8=3", "56-3=53" ]
Current State: 53:[24, 4, 4, 56], Operations: [] Exploring Operation: 4+4=8, Resulting Numbers: [24, 56, 8] Generated Node #2: [24, 56, 8] from Operation: 4+4=8 Current State: 53:[24, 56, 8], Operations: ['4+4=8'] Exploring Operation: 24/8=3, Resulting Numbers: [56, 3] Generated Node #3: [56, 3] from Operation: 24/8=3 Current State: 53:[56, 3], Operations: ['4+4=8', '24/8=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[24, 4, 4, 56], Operations: [] Exploring Operation: 4*4=16, Resulting Numbers: [24, 56, 16] Generated Node #0,0: 53:[24, 56, 16] Operation: 4*4=16 Exploring Operation: 4+4=8, Resulting Numbers: [24, 56, 8] Generated Node #0,1: 53:[24, 56, 8] Operation: 4+4=8 Exploring Operation: 24+4=28, Resulting Numbers: [4, 56, 28] Generated Node #0,2: 53:[4, 56, 28] Operation: 24+4=28 Exploring Operation: 24+4=28, Resulting Numbers: [4, 56, 28] Generated Node #0,3: 53:[4, 56, 28] Operation: 24+4=28 Moving to Node #0,0 Current State: 53:[24, 56, 16], Operations: ['4*4=16'] Exploring Operation: 24-16=8, Resulting Numbers: [56, 8] Generated Node #0,0,0: 53:[56, 8] Operation: 24-16=8 Exploring Operation: 56+16=72, Resulting Numbers: [24, 72] Generated Node #0,0,1: 53:[24, 72] Operation: 56+16=72 Exploring Operation: 24+16=40, Resulting Numbers: [56, 40] Generated Node #0,0,2: 53:[56, 40] Operation: 24+16=40 Exploring Operation: 56-16=40, Resulting Numbers: [24, 40] Generated Node #0,0,3: 53:[24, 40] Operation: 56-16=40 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[56, 40], Operations: ['4*4=16', '24+16=40'] Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,53 unequal: No Solution Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[24, 40], Operations: ['4*4=16', '56-16=40'] Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,53 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,53 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[56, 8], Operations: ['4*4=16', '24-16=8'] Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,53 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,53 unequal: No Solution Exploring Operation: 56+8=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,0,1 Current State: 53:[24, 72], Operations: ['4*4=16', '56+16=72'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 24*72=1728, Resulting Numbers: [1728] 1728,53 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,53 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: 53:[4, 56, 28], Operations: ['24+4=28'] Exploring Operation: 28-4=24, Resulting Numbers: [56, 24] Generated Node #0,2,0: 53:[56, 24] Operation: 28-4=24 Exploring Operation: 56-4=52, Resulting Numbers: [28, 52] Generated Node #0,2,1: 53:[28, 52] Operation: 56-4=52 Exploring Operation: 4+28=32, Resulting Numbers: [56, 32] Generated Node #0,2,2: 53:[56, 32] Operation: 4+28=32 Exploring Operation: 4+56=60, Resulting Numbers: [28, 60] Generated Node #0,2,3: 53:[28, 60] Operation: 4+56=60 Moving to Node #0,1 Current State: 53:[24, 56, 8], Operations: ['4+4=8'] Exploring Operation: 24+8=32, Resulting Numbers: [56, 32] Generated Node #0,1,0: 53:[56, 32] Operation: 24+8=32 Exploring Operation: 56+8=64, Resulting Numbers: [24, 64] Generated Node #0,1,1: 53:[24, 64] Operation: 56+8=64 Exploring Operation: 56-8=48, Resulting Numbers: [24, 48] Generated Node #0,1,2: 53:[24, 48] Operation: 56-8=48 Exploring Operation: 24-8=16, Resulting Numbers: [56, 16] Generated Node #0,1,3: 53:[56, 16] Operation: 24-8=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[56, 32], Operations: ['4+4=8', '24+8=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,53 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[24, 48], Operations: ['4+4=8', '56-8=48'] Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,53 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[24, 64], Operations: ['4+4=8', '56+8=64'] Exploring Operation: 24+64=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 24*64=1536, Resulting Numbers: [1536] 1536,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,3 Current State: 53:[56, 16], Operations: ['4+4=8', '24-8=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,53 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,53 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: 53:[4, 56, 28], Operations: ['24+4=28'] Exploring Operation: 4+28=32, Resulting Numbers: [56, 32] Generated Node #0,3,0: 53:[56, 32] Operation: 4+28=32 Exploring Operation: 56-4=52, Resulting Numbers: [28, 52] Generated Node #0,3,1: 53:[28, 52] Operation: 56-4=52 Exploring Operation: 4+56=60, Resulting Numbers: [28, 60] Generated Node #0,3,2: 53:[28, 60] Operation: 4+56=60 Exploring Operation: 28-4=24, Resulting Numbers: [56, 24] Generated Node #0,3,3: 53:[56, 24] Operation: 28-4=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[56, 32], Operations: ['24+4=28', '4+28=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,53 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,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,1 Current State: 53:[28, 52], Operations: ['24+4=28', '56-4=52'] Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,53 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,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,2 Current State: 53:[28, 60], Operations: ['24+4=28', '4+56=60'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 28*60=1680, Resulting Numbers: [1680] 1680,53 unequal: No Solution Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,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,3 Current State: 53:[56, 24], Operations: ['24+4=28', '28-4=24'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 56*24=1344, Resulting Numbers: [1344] 1344,53 unequal: No Solution Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 53:[56, 32], Operations: ['24+4=28', '4+28=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,53 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[28, 52], Operations: ['24+4=28', '56-4=52'] Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[28, 60], Operations: ['24+4=28', '4+56=60'] Exploring Operation: 28*60=1680, Resulting Numbers: [1680] 1680,53 unequal: No Solution Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[56, 24], Operations: ['24+4=28', '28-4=24'] Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 56*24=1344, Resulting Numbers: [1344] 1344,53 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 51, 82, 64, 79 ]
81
[ "82-79=3", "51/3=17", "64+17=81" ]
Current State: 81:[51, 82, 64, 79], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [51, 64, 3] Generated Node #2: [51, 64, 3] from Operation: 82-79=3 Current State: 81:[51, 64, 3], Operations: ['82-79=3'] Exploring Operation: 51/3=17, Resulting Numbers: [64, 17] Generated Node #3: [64, 17] from Operation: 51/3=17 Current State: 81:[64, 17], Operations: ['82-79=3', '51/3=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[51, 82, 64, 79], Operations: [] Exploring Operation: 79-64=15, Resulting Numbers: [51, 82, 15] Generated Node #0,0: 81:[51, 82, 15] Operation: 79-64=15 Exploring Operation: 82-64=18, Resulting Numbers: [51, 79, 18] Generated Node #0,1: 81:[51, 79, 18] Operation: 82-64=18 Exploring Operation: 79-51=28, Resulting Numbers: [82, 64, 28] Generated Node #0,2: 81:[82, 64, 28] Operation: 79-51=28 Exploring Operation: 64-51=13, Resulting Numbers: [82, 79, 13] Generated Node #0,3: 81:[82, 79, 13] Operation: 64-51=13 Exploring Operation: 82-51=31, Resulting Numbers: [64, 79, 31] Generated Node #0,4: 81:[64, 79, 31] Operation: 82-51=31 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[82, 79, 13], Operations: ['64-51=13'] Exploring Operation: 79+13=92, Resulting Numbers: [82, 92] Generated Node #0,3,0: 81:[82, 92] Operation: 79+13=92 Exploring Operation: 82-79=3, Resulting Numbers: [13, 3] Generated Node #0,3,1: 81:[13, 3] Operation: 82-79=3 Exploring Operation: 82-13=69, Resulting Numbers: [79, 69] Generated Node #0,3,2: 81:[79, 69] Operation: 82-13=69 Exploring Operation: 82+13=95, Resulting Numbers: [79, 95] Generated Node #0,3,3: 81:[79, 95] Operation: 82+13=95 Exploring Operation: 79-13=66, Resulting Numbers: [82, 66] Generated Node #0,3,4: 81:[82, 66] Operation: 79-13=66 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 81:[13, 3], Operations: ['64-51=13', '82-79=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[82, 92], Operations: ['64-51=13', '79+13=92'] Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 82*92=7544, Resulting Numbers: [7544] 7544,81 unequal: No Solution Exploring Operation: 82+92=174, Resulting Numbers: [174] 174,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[79, 69], Operations: ['64-51=13', '82-13=69'] Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 79*69=5451, Resulting Numbers: [5451] 5451,81 unequal: No Solution Exploring Operation: 79+69=148, Resulting Numbers: [148] 148,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 81:[79, 95], Operations: ['64-51=13', '82+13=95'] Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 79+95=174, Resulting Numbers: [174] 174,81 unequal: No Solution Exploring Operation: 79*95=7505, Resulting Numbers: [7505] 7505,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 81:[82, 66], Operations: ['64-51=13', '79-13=66'] Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 82+66=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 82*66=5412, Resulting Numbers: [5412] 5412,81 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: 81:[82, 64, 28], Operations: ['79-51=28'] Exploring Operation: 82-64=18, Resulting Numbers: [28, 18] Generated Node #0,2,0: 81:[28, 18] Operation: 82-64=18 Exploring Operation: 64-28=36, Resulting Numbers: [82, 36] Generated Node #0,2,1: 81:[82, 36] Operation: 64-28=36 Exploring Operation: 82-28=54, Resulting Numbers: [64, 54] Generated Node #0,2,2: 81:[64, 54] Operation: 82-28=54 Exploring Operation: 82+28=110, Resulting Numbers: [64, 110] Generated Node #0,2,3: 81:[64, 110] Operation: 82+28=110 Exploring Operation: 64+28=92, Resulting Numbers: [82, 92] Generated Node #0,2,4: 81:[82, 92] Operation: 64+28=92 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[28, 18], Operations: ['79-51=28', '82-64=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[82, 36], Operations: ['79-51=28', '64-28=36'] Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,81 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,81 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 81:[82, 92], Operations: ['79-51=28', '64+28=92'] Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 82+92=174, Resulting Numbers: [174] 174,81 unequal: No Solution Exploring Operation: 82*92=7544, Resulting Numbers: [7544] 7544,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[64, 54], Operations: ['79-51=28', '82-28=54'] Exploring Operation: 64+54=118, Resulting Numbers: [118] 118,81 unequal: No Solution Exploring Operation: 64-54=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 64*54=3456, Resulting Numbers: [3456] 3456,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 81:[64, 110], Operations: ['79-51=28', '82+28=110'] Exploring Operation: 64+110=174, Resulting Numbers: [174] 174,81 unequal: No Solution Exploring Operation: 64*110=7040, Resulting Numbers: [7040] 7040,81 unequal: No Solution Exploring Operation: 110-64=46, Resulting Numbers: [46] 46,81 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: 81:[64, 79, 31], Operations: ['82-51=31'] Exploring Operation: 64-31=33, Resulting Numbers: [79, 33] Generated Node #0,4,0: 81:[79, 33] Operation: 64-31=33 Exploring Operation: 64+31=95, Resulting Numbers: [79, 95] Generated Node #0,4,1: 81:[79, 95] Operation: 64+31=95 Exploring Operation: 79+31=110, Resulting Numbers: [64, 110] Generated Node #0,4,2: 81:[64, 110] Operation: 79+31=110 Exploring Operation: 79-31=48, Resulting Numbers: [64, 48] Generated Node #0,4,3: 81:[64, 48] Operation: 79-31=48 Exploring Operation: 79-64=15, Resulting Numbers: [31, 15] Generated Node #0,4,4: 81:[31, 15] Operation: 79-64=15 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 81:[79, 33], Operations: ['82-51=31', '64-31=33'] Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,81 unequal: No Solution Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 81:[31, 15], Operations: ['82-51=31', '79-64=15'] Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,81 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 81:[79, 95], Operations: ['82-51=31', '64+31=95'] Exploring Operation: 79*95=7505, Resulting Numbers: [7505] 7505,81 unequal: No Solution Exploring Operation: 79+95=174, Resulting Numbers: [174] 174,81 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 81:[64, 48], Operations: ['82-51=31', '79-31=48'] Exploring Operation: 64*48=3072, Resulting Numbers: [3072] 3072,81 unequal: No Solution Exploring Operation: 64+48=112, Resulting Numbers: [112] 112,81 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 81:[64, 110], Operations: ['82-51=31', '79+31=110'] Exploring Operation: 64+110=174, Resulting Numbers: [174] 174,81 unequal: No Solution Exploring Operation: 64*110=7040, Resulting Numbers: [7040] 7040,81 unequal: No Solution Exploring Operation: 110-64=46, Resulting Numbers: [46] 46,81 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: 81:[51, 82, 15], Operations: ['79-64=15'] Exploring Operation: 51-15=36, Resulting Numbers: [82, 36] Generated Node #0,0,0: 81:[82, 36] Operation: 51-15=36 Exploring Operation: 82-15=67, Resulting Numbers: [51, 67] Generated Node #0,0,1: 81:[51, 67] Operation: 82-15=67 Exploring Operation: 51+15=66, Resulting Numbers: [82, 66] Generated Node #0,0,2: 81:[82, 66] Operation: 51+15=66 Exploring Operation: 82-51=31, Resulting Numbers: [15, 31] Generated Node #0,0,3: 81:[15, 31] Operation: 82-51=31 Exploring Operation: 82+15=97, Resulting Numbers: [51, 97] Generated Node #0,0,4: 81:[51, 97] Operation: 82+15=97 Moving to Node #0,0,0 Current State: 81:[82, 36], Operations: ['79-64=15', '51-15=36'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,81 unequal: No Solution Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[15, 31], Operations: ['79-64=15', '82-51=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,81 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[82, 66], Operations: ['79-64=15', '51+15=66'] Exploring Operation: 82+66=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 82*66=5412, Resulting Numbers: [5412] 5412,81 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[51, 67], Operations: ['79-64=15', '82-15=67'] Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 51+67=118, Resulting Numbers: [118] 118,81 unequal: No Solution Exploring Operation: 51*67=3417, Resulting Numbers: [3417] 3417,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[51, 97], Operations: ['79-64=15', '82+15=97'] Exploring Operation: 51*97=4947, Resulting Numbers: [4947] 4947,81 unequal: No Solution Exploring Operation: 51+97=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[51, 79, 18], Operations: ['82-64=18'] Exploring Operation: 79+18=97, Resulting Numbers: [51, 97] Generated Node #0,1,0: 81:[51, 97] Operation: 79+18=97 Exploring Operation: 51-18=33, Resulting Numbers: [79, 33] Generated Node #0,1,1: 81:[79, 33] Operation: 51-18=33 Exploring Operation: 51+18=69, Resulting Numbers: [79, 69] Generated Node #0,1,2: 81:[79, 69] Operation: 51+18=69 Exploring Operation: 79-18=61, Resulting Numbers: [51, 61] Generated Node #0,1,3: 81:[51, 61] Operation: 79-18=61 Exploring Operation: 79-51=28, Resulting Numbers: [18, 28] Generated Node #0,1,4: 81:[18, 28] Operation: 79-51=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[79, 33], Operations: ['82-64=18', '51-18=33'] Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,81 unequal: No Solution Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,81 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 81:[18, 28], Operations: ['82-64=18', '79-51=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 81:[79, 69], Operations: ['82-64=18', '51+18=69'] Exploring Operation: 79+69=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 79*69=5451, Resulting Numbers: [5451] 5451,81 unequal: No Solution Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[51, 97], Operations: ['82-64=18', '79+18=97'] Exploring Operation: 51+97=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 51*97=4947, Resulting Numbers: [4947] 4947,81 unequal: No Solution Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 81:[51, 61], Operations: ['82-64=18', '79-18=61'] Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,81 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,81 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
[ 91, 93, 55, 66 ]
63
[ "91+93=184", "55+66=121", "184-121=63" ]
Current State: 63:[91, 93, 55, 66], Operations: [] Exploring Operation: 91+93=184, Resulting Numbers: [55, 66, 184] Generated Node #2: [55, 66, 184] from Operation: 91+93=184 Current State: 63:[55, 66, 184], Operations: ['91+93=184'] Exploring Operation: 55+66=121, Resulting Numbers: [184, 121] Generated Node #3: [184, 121] from Operation: 55+66=121 Current State: 63:[184, 121], Operations: ['91+93=184', '55+66=121'] Exploring Operation: 184-121=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[91, 93, 55, 66], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [55, 66, 2] Generated Node #0,0: 63:[55, 66, 2] Operation: 93-91=2 Exploring Operation: 91-66=25, Resulting Numbers: [93, 55, 25] Generated Node #0,1: 63:[93, 55, 25] Operation: 91-66=25 Exploring Operation: 93-66=27, Resulting Numbers: [91, 55, 27] Generated Node #0,2: 63:[91, 55, 27] Operation: 93-66=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[55, 66, 2], Operations: ['93-91=2'] Exploring Operation: 66-2=64, Resulting Numbers: [55, 64] Generated Node #0,0,0: 63:[55, 64] Operation: 66-2=64 Exploring Operation: 66-55=11, Resulting Numbers: [2, 11] Generated Node #0,0,1: 63:[2, 11] Operation: 66-55=11 Exploring Operation: 55+2=57, Resulting Numbers: [66, 57] Generated Node #0,0,2: 63:[66, 57] Operation: 55+2=57 Moving to Node #0,0,1 Current State: 63:[2, 11], Operations: ['93-91=2', '66-55=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[55, 64], Operations: ['93-91=2', '66-2=64'] Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 55*64=3520, Resulting Numbers: [3520] 3520,63 unequal: No Solution Exploring Operation: 55+64=119, Resulting Numbers: [119] 119,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[66, 57], Operations: ['93-91=2', '55+2=57'] Exploring Operation: 66+57=123, Resulting Numbers: [123] 123,63 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 66*57=3762, Resulting Numbers: [3762] 3762,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[93, 55, 25], Operations: ['91-66=25'] Exploring Operation: 55-25=30, Resulting Numbers: [93, 30] Generated Node #0,1,0: 63:[93, 30] Operation: 55-25=30 Exploring Operation: 93-55=38, Resulting Numbers: [25, 38] Generated Node #0,1,1: 63:[25, 38] Operation: 93-55=38 Exploring Operation: 93-25=68, Resulting Numbers: [55, 68] Generated Node #0,1,2: 63:[55, 68] Operation: 93-25=68 Moving to Node #0,1,2 Current State: 63:[55, 68], Operations: ['91-66=25', '93-25=68'] Exploring Operation: 68-55=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 55*68=3740, Resulting Numbers: [3740] 3740,63 unequal: No Solution Exploring Operation: 55+68=123, Resulting Numbers: [123] 123,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[25, 38], Operations: ['91-66=25', '93-55=38'] Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,63 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[91, 93, 55, 66], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [93, 55, 25] Generated Node #0,1: 63:[93, 55, 25] Operation: 91-66=25 Moving to Node #0,1 Current State: 63:[93, 55, 25], Operations: ['91-66=25'] Exploring Operation: 93-55=38, Resulting Numbers: [25, 38] Generated Node #0,1,1: 63:[25, 38] Operation: 93-55=38 Moving to Node #0,1,1 Current State: 63:[25, 38], Operations: ['91-66=25', '93-55=38'] Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 37, 47, 16, 81 ]
87
[ "47-37=10", "16+81=97", "97-10=87" ]
Current State: 87:[37, 47, 16, 81], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [16, 81, 10] Generated Node #2: [16, 81, 10] from Operation: 47-37=10 Current State: 87:[16, 81, 10], Operations: ['47-37=10'] Exploring Operation: 16+81=97, Resulting Numbers: [10, 97] Generated Node #3: [10, 97] from Operation: 16+81=97 Current State: 87:[10, 97], Operations: ['47-37=10', '16+81=97'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[37, 47, 16, 81], Operations: [] Exploring Operation: 47-16=31, Resulting Numbers: [37, 81, 31] Generated Node #0,0: 87:[37, 81, 31] Operation: 47-16=31 Exploring Operation: 37+47=84, Resulting Numbers: [16, 81, 84] Generated Node #0,1: 87:[16, 81, 84] Operation: 37+47=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[37, 81, 31], Operations: ['47-16=31'] Exploring Operation: 37-31=6, Resulting Numbers: [81, 6] Generated Node #0,0,0: 87:[81, 6] Operation: 37-31=6 Exploring Operation: 81-37=44, Resulting Numbers: [31, 44] Generated Node #0,0,1: 87:[31, 44] Operation: 81-37=44 Moving to Node #0,0,0 Current State: 87:[81, 6], Operations: ['47-16=31', '37-31=6'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[37, 47, 16, 81], Operations: [] Exploring Operation: 47-16=31, Resulting Numbers: [37, 81, 31] Generated Node #0,0: 87:[37, 81, 31] Operation: 47-16=31 Moving to Node #0,0 Current State: 87:[37, 81, 31], Operations: ['47-16=31'] Exploring Operation: 37-31=6, Resulting Numbers: [81, 6] Generated Node #0,0,0: 87:[81, 6] Operation: 37-31=6 Moving to Node #0,0,0 Current State: 87:[81, 6], Operations: ['47-16=31', '37-31=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 28, 75, 4, 17 ]
30
[ "28+75=103", "17+103=120", "120/4=30" ]
Current State: 30:[28, 75, 4, 17], Operations: [] Exploring Operation: 28+75=103, Resulting Numbers: [4, 17, 103] Generated Node #2: [4, 17, 103] from Operation: 28+75=103 Current State: 30:[4, 17, 103], Operations: ['28+75=103'] Exploring Operation: 17+103=120, Resulting Numbers: [4, 120] Generated Node #3: [4, 120] from Operation: 17+103=120 Current State: 30:[4, 120], Operations: ['28+75=103', '17+103=120'] Exploring Operation: 120/4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[28, 75, 4, 17], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [75, 17, 7] Generated Node #0,0: 30:[75, 17, 7] Operation: 28/4=7 Exploring Operation: 28-17=11, Resulting Numbers: [75, 4, 11] Generated Node #0,1: 30:[75, 4, 11] Operation: 28-17=11 Exploring Operation: 75-4=71, Resulting Numbers: [28, 17, 71] Generated Node #0,2: 30:[28, 17, 71] Operation: 75-4=71 Exploring Operation: 75-17=58, Resulting Numbers: [28, 4, 58] Generated Node #0,3: 30:[28, 4, 58] Operation: 75-17=58 Exploring Operation: 75-28=47, Resulting Numbers: [4, 17, 47] Generated Node #0,4: 30:[4, 17, 47] Operation: 75-28=47 Moving to Node #0,4 Current State: 30:[4, 17, 47], Operations: ['75-28=47'] Exploring Operation: 47-17=30, Resulting Numbers: [4, 30] Generated Node #0,4,0: 30:[4, 30] Operation: 47-17=30 Exploring Operation: 4+17=21, Resulting Numbers: [47, 21] Generated Node #0,4,1: 30:[47, 21] Operation: 4+17=21 Exploring Operation: 4+47=51, Resulting Numbers: [17, 51] Generated Node #0,4,2: 30:[17, 51] Operation: 4+47=51 Exploring Operation: 47-4=43, Resulting Numbers: [17, 43] Generated Node #0,4,3: 30:[17, 43] Operation: 47-4=43 Exploring Operation: 17-4=13, Resulting Numbers: [47, 13] Generated Node #0,4,4: 30:[47, 13] Operation: 17-4=13 Moving to Node #0,3 Current State: 30:[28, 4, 58], Operations: ['75-17=58'] Exploring Operation: 28/4=7, Resulting Numbers: [58, 7] Generated Node #0,3,0: 30:[58, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [58, 24] Generated Node #0,3,1: 30:[58, 24] Operation: 28-4=24 Exploring Operation: 28+4=32, Resulting Numbers: [58, 32] Generated Node #0,3,2: 30:[58, 32] Operation: 28+4=32 Exploring Operation: 58-4=54, Resulting Numbers: [28, 54] Generated Node #0,3,3: 30:[28, 54] Operation: 58-4=54 Exploring Operation: 58-28=30, Resulting Numbers: [4, 30] Generated Node #0,3,4: 30:[4, 30] Operation: 58-28=30 Moving to Node #0,2 Current State: 30:[28, 17, 71], Operations: ['75-4=71'] Exploring Operation: 28+17=45, Resulting Numbers: [71, 45] Generated Node #0,2,0: 30:[71, 45] Operation: 28+17=45 Exploring Operation: 28-17=11, Resulting Numbers: [71, 11] Generated Node #0,2,1: 30:[71, 11] Operation: 28-17=11 Exploring Operation: 71-28=43, Resulting Numbers: [17, 43] Generated Node #0,2,2: 30:[17, 43] Operation: 71-28=43 Exploring Operation: 17+71=88, Resulting Numbers: [28, 88] Generated Node #0,2,3: 30:[28, 88] Operation: 17+71=88 Exploring Operation: 71-17=54, Resulting Numbers: [28, 54] Generated Node #0,2,4: 30:[28, 54] Operation: 71-17=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[17, 43], Operations: ['75-4=71', '71-28=43'] Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,30 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 30:[28, 54], Operations: ['75-4=71', '71-17=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,30 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[71, 11], Operations: ['75-4=71', '28-17=11'] Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,30 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[71, 45], Operations: ['75-4=71', '28+17=45'] Exploring Operation: 71*45=3195, Resulting Numbers: [3195] 3195,30 unequal: No Solution Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,30 unequal: No Solution Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 30:[28, 88], Operations: ['75-4=71', '17+71=88'] Exploring Operation: 28*88=2464, Resulting Numbers: [2464] 2464,30 unequal: No Solution Exploring Operation: 28+88=116, Resulting Numbers: [116] 116,30 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,30 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: 30:[75, 4, 11], Operations: ['28-17=11'] Exploring Operation: 75-11=64, Resulting Numbers: [4, 64] Generated Node #0,1,0: 30:[4, 64] Operation: 75-11=64 Exploring Operation: 75+4=79, Resulting Numbers: [11, 79] Generated Node #0,1,1: 30:[11, 79] Operation: 75+4=79 Exploring Operation: 75-4=71, Resulting Numbers: [11, 71] Generated Node #0,1,2: 30:[11, 71] Operation: 75-4=71 Exploring Operation: 4+11=15, Resulting Numbers: [75, 15] Generated Node #0,1,3: 30:[75, 15] Operation: 4+11=15 Exploring Operation: 11-4=7, Resulting Numbers: [75, 7] Generated Node #0,1,4: 30:[75, 7] Operation: 11-4=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[4, 64], Operations: ['28-17=11', '75-11=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,30 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[11, 71], Operations: ['28-17=11', '75-4=71'] Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,30 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 30:[75, 15], Operations: ['28-17=11', '4+11=15'] Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,30 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 30:[75, 7], Operations: ['28-17=11', '11-4=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,30 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[11, 79], Operations: ['28-17=11', '75+4=79'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 11*79=869, Resulting Numbers: [869] 869,30 unequal: No Solution Exploring Operation: 11+79=90, Resulting Numbers: [90] 90,30 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: 30:[75, 17, 7], Operations: ['28/4=7'] Exploring Operation: 75-17=58, Resulting Numbers: [7, 58] Generated Node #0,0,0: 30:[7, 58] Operation: 75-17=58 Exploring Operation: 75+7=82, Resulting Numbers: [17, 82] Generated Node #0,0,1: 30:[17, 82] Operation: 75+7=82 Exploring Operation: 17-7=10, Resulting Numbers: [75, 10] Generated Node #0,0,2: 30:[75, 10] Operation: 17-7=10 Exploring Operation: 75-7=68, Resulting Numbers: [17, 68] Generated Node #0,0,3: 30:[17, 68] Operation: 75-7=68 Exploring Operation: 17+7=24, Resulting Numbers: [75, 24] Generated Node #0,0,4: 30:[75, 24] Operation: 17+7=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[7, 58], Operations: ['28/4=7', '75-17=58'] Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,30 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[17, 68], Operations: ['28/4=7', '75-7=68'] Exploring Operation: 17+68=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 17*68=1156, Resulting Numbers: [1156] 1156,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[75, 10], Operations: ['28/4=7', '17-7=10'] Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,30 unequal: No Solution Exploring Operation: 75*10=750, Resulting Numbers: [750] 750,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 30:[75, 24], Operations: ['28/4=7', '17+7=24'] Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[17, 82], Operations: ['28/4=7', '75+7=82'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,30 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,30 unequal: No Solution Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 30:[4, 30], Operations: ['75-28=47', '47-17=30'] Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,30 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[4, 30], Operations: ['75-17=58', '58-28=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,30 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,30 unequal: No Solution Moving to Node #0,4,3 Current State: 30:[17, 43], Operations: ['75-28=47', '47-4=43'] Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,30 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,30 unequal: No Solution Moving to Node #0,4,4 Current State: 30:[47, 13], Operations: ['75-28=47', '17-4=13'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,30 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,30 unequal: No Solution Moving to Node #0,4,2 Current State: 30:[17, 51], Operations: ['75-28=47', '4+47=51'] Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 17*51=867, Resulting Numbers: [867] 867,30 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 17+51=68, Resulting Numbers: [68] 68,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[47, 21], Operations: ['75-28=47', '4+17=21'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[28, 54], Operations: ['75-17=58', '58-4=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,30 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[58, 7], Operations: ['75-17=58', '28/4=7'] Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,30 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,30 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[58, 32], Operations: ['75-17=58', '28+4=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,30 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[58, 24], Operations: ['75-17=58', '28-4=24'] Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,30 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,30 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 40, 34, 57, 83 ]
20
[ "40-34=6", "83-57=26", "26-6=20" ]
Current State: 20:[40, 34, 57, 83], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [57, 83, 6] Generated Node #2: [57, 83, 6] from Operation: 40-34=6 Current State: 20:[57, 83, 6], Operations: ['40-34=6'] Exploring Operation: 83-57=26, Resulting Numbers: [6, 26] Generated Node #3: [6, 26] from Operation: 83-57=26 Current State: 20:[6, 26], Operations: ['40-34=6', '83-57=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[40, 34, 57, 83], Operations: [] Exploring Operation: 83-57=26, Resulting Numbers: [40, 34, 26] Generated Node #0,0: 20:[40, 34, 26] Operation: 83-57=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[40, 34, 26], Operations: ['83-57=26'] Exploring Operation: 40-34=6, Resulting Numbers: [26, 6] Generated Node #0,0,0: 20:[26, 6] Operation: 40-34=6 Moving to Node #0,0,0 Current State: 20:[26, 6], Operations: ['83-57=26', '40-34=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[40, 34, 57, 83], Operations: [] Exploring Operation: 83-57=26, Resulting Numbers: [40, 34, 26] Generated Node #0,0: 20:[40, 34, 26] Operation: 83-57=26 Moving to Node #0,0 Current State: 20:[40, 34, 26], Operations: ['83-57=26'] Exploring Operation: 40-34=6, Resulting Numbers: [26, 6] Generated Node #0,0,0: 20:[26, 6] Operation: 40-34=6 Moving to Node #0,0,0 Current State: 20:[26, 6], Operations: ['83-57=26', '40-34=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 21, 3, 94, 15 ]
76
[ "21-15=6", "3*6=18", "94-18=76" ]
Current State: 76:[21, 3, 94, 15], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [3, 94, 6] Generated Node #2: [3, 94, 6] from Operation: 21-15=6 Current State: 76:[3, 94, 6], Operations: ['21-15=6'] Exploring Operation: 3*6=18, Resulting Numbers: [94, 18] Generated Node #3: [94, 18] from Operation: 3*6=18 Current State: 76:[94, 18], Operations: ['21-15=6', '3*6=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[21, 3, 94, 15], Operations: [] Exploring Operation: 94-15=79, Resulting Numbers: [21, 3, 79] Generated Node #0,0: 76:[21, 3, 79] Operation: 94-15=79 Exploring Operation: 94-21=73, Resulting Numbers: [3, 15, 73] Generated Node #0,1: 76:[3, 15, 73] Operation: 94-21=73 Moving to Node #0,0 Current State: 76:[21, 3, 79], Operations: ['94-15=79'] Exploring Operation: 79-3=76, Resulting Numbers: [21, 76] Generated Node #0,0,0: 76:[21, 76] Operation: 79-3=76 Exploring Operation: 21-3=18, Resulting Numbers: [79, 18] Generated Node #0,0,1: 76:[79, 18] Operation: 21-3=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[21, 76], Operations: ['94-15=79', '79-3=76'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,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,0,1 Current State: 76:[79, 18], Operations: ['94-15=79', '21-3=18'] Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,76 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: 76:[3, 15, 73], Operations: ['94-21=73'] Exploring Operation: 15/3=5, Resulting Numbers: [73, 5] Generated Node #0,1,0: 76:[73, 5] Operation: 15/3=5 Exploring Operation: 3+15=18, Resulting Numbers: [73, 18] Generated Node #0,1,1: 76:[73, 18] Operation: 3+15=18 Moving to Node #0,1,0 Current State: 76:[73, 5], Operations: ['94-21=73', '15/3=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[73, 18], Operations: ['94-21=73', '3+15=18'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 73+18=91, Resulting Numbers: [91] 91,76 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 14, 5, 91, 85 ]
76
[ "14*5=70", "91-85=6", "70+6=76" ]
Current State: 76:[14, 5, 91, 85], Operations: [] Exploring Operation: 14*5=70, Resulting Numbers: [91, 85, 70] Generated Node #2: [91, 85, 70] from Operation: 14*5=70 Current State: 76:[91, 85, 70], Operations: ['14*5=70'] Exploring Operation: 91-85=6, Resulting Numbers: [70, 6] Generated Node #3: [70, 6] from Operation: 91-85=6 Current State: 76:[70, 6], Operations: ['14*5=70', '91-85=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[14, 5, 91, 85], Operations: [] Exploring Operation: 85-14=71, Resulting Numbers: [5, 91, 71] Generated Node #0,0: 76:[5, 91, 71] Operation: 85-14=71 Exploring Operation: 91-14=77, Resulting Numbers: [5, 85, 77] Generated Node #0,1: 76:[5, 85, 77] Operation: 91-14=77 Exploring Operation: 91-85=6, Resulting Numbers: [14, 5, 6] Generated Node #0,2: 76:[14, 5, 6] Operation: 91-85=6 Moving to Node #0,2 Current State: 76:[14, 5, 6], Operations: ['91-85=6'] Exploring Operation: 14+5=19, Resulting Numbers: [6, 19] Generated Node #0,2,0: 76:[6, 19] Operation: 14+5=19 Exploring Operation: 14+6=20, Resulting Numbers: [5, 20] Generated Node #0,2,1: 76:[5, 20] Operation: 14+6=20 Exploring Operation: 14-6=8, Resulting Numbers: [5, 8] Generated Node #0,2,2: 76:[5, 8] Operation: 14-6=8 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[6, 19], Operations: ['91-85=6', '14+5=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,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,2,1 Current State: 76:[5, 20], Operations: ['91-85=6', '14+6=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,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,2,2 Current State: 76:[5, 8], Operations: ['91-85=6', '14-6=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,76 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: 76:[5, 85, 77], Operations: ['91-14=77'] Exploring Operation: 85-77=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 76:[5, 8] Operation: 85-77=8 Exploring Operation: 85-5=80, Resulting Numbers: [77, 80] Generated Node #0,1,1: 76:[77, 80] Operation: 85-5=80 Exploring Operation: 85/5=17, Resulting Numbers: [77, 17] Generated Node #0,1,2: 76:[77, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[77, 17], Operations: ['91-14=77', '85/5=17'] Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,76 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,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,1,0 Current State: 76:[5, 8], Operations: ['91-14=77', '85-77=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,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,1,1 Current State: 76:[77, 80], Operations: ['91-14=77', '85-5=80'] Exploring Operation: 77*80=6160, Resulting Numbers: [6160] 6160,76 unequal: No Solution Exploring Operation: 77+80=157, Resulting Numbers: [157] 157,76 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,76 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: 76:[5, 91, 71], Operations: ['85-14=71'] Exploring Operation: 91-5=86, Resulting Numbers: [71, 86] Generated Node #0,0,0: 76:[71, 86] Operation: 91-5=86 Exploring Operation: 5+71=76, Resulting Numbers: [91, 76] Generated Node #0,0,1: 76:[91, 76] Operation: 5+71=76 Exploring Operation: 91-71=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 76:[5, 20] Operation: 91-71=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[5, 20], Operations: ['85-14=71', '91-71=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,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,0,0 Current State: 76:[71, 86], Operations: ['85-14=71', '91-5=86'] Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 71*86=6106, Resulting Numbers: [6106] 6106,76 unequal: No Solution Exploring Operation: 71+86=157, Resulting Numbers: [157] 157,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,0,1 Current State: 76:[91, 76], Operations: ['85-14=71', '5+71=76'] Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 91+76=167, Resulting Numbers: [167] 167,76 unequal: No Solution Exploring Operation: 91*76=6916, Resulting Numbers: [6916] 6916,76 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
[ 70, 91, 95, 44 ]
59
[ "95-91=4", "44/4=11", "70-11=59" ]
Current State: 59:[70, 91, 95, 44], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [70, 44, 4] Generated Node #2: [70, 44, 4] from Operation: 95-91=4 Current State: 59:[70, 44, 4], Operations: ['95-91=4'] Exploring Operation: 44/4=11, Resulting Numbers: [70, 11] Generated Node #3: [70, 11] from Operation: 44/4=11 Current State: 59:[70, 11], Operations: ['95-91=4', '44/4=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[70, 91, 95, 44], Operations: [] Exploring Operation: 95-44=51, Resulting Numbers: [70, 91, 51] Generated Node #0,0: 59:[70, 91, 51] Operation: 95-44=51 Exploring Operation: 95-91=4, Resulting Numbers: [70, 44, 4] Generated Node #0,1: 59:[70, 44, 4] Operation: 95-91=4 Exploring Operation: 91-44=47, Resulting Numbers: [70, 95, 47] Generated Node #0,2: 59:[70, 95, 47] Operation: 91-44=47 Exploring Operation: 95-70=25, Resulting Numbers: [91, 44, 25] Generated Node #0,3: 59:[91, 44, 25] Operation: 95-70=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[70, 91, 51], Operations: ['95-44=51'] Exploring Operation: 70+51=121, Resulting Numbers: [91, 121] Generated Node #0,0,0: 59:[91, 121] Operation: 70+51=121 Exploring Operation: 91-51=40, Resulting Numbers: [70, 40] Generated Node #0,0,1: 59:[70, 40] Operation: 91-51=40 Exploring Operation: 91-70=21, Resulting Numbers: [51, 21] Generated Node #0,0,2: 59:[51, 21] Operation: 91-70=21 Exploring Operation: 70-51=19, Resulting Numbers: [91, 19] Generated Node #0,0,3: 59:[91, 19] Operation: 70-51=19 Moving to Node #0,0,1 Current State: 59:[70, 40], Operations: ['95-44=51', '91-51=40'] Exploring Operation: 70+40=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 70*40=2800, Resulting Numbers: [2800] 2800,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[51, 21], Operations: ['95-44=51', '91-70=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[91, 19], Operations: ['95-44=51', '70-51=19'] Exploring Operation: 91+19=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 91*19=1729, Resulting Numbers: [1729] 1729,59 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[91, 121], Operations: ['95-44=51', '70+51=121'] Exploring Operation: 91+121=212, Resulting Numbers: [212] 212,59 unequal: No Solution Exploring Operation: 91*121=11011, Resulting Numbers: [11011] 11011,59 unequal: No Solution Exploring Operation: 121-91=30, Resulting Numbers: [30] 30,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[70, 95, 47], Operations: ['91-44=47'] Exploring Operation: 70+47=117, Resulting Numbers: [95, 117] Generated Node #0,2,0: 59:[95, 117] Operation: 70+47=117 Exploring Operation: 95-47=48, Resulting Numbers: [70, 48] Generated Node #0,2,1: 59:[70, 48] Operation: 95-47=48 Exploring Operation: 95-70=25, Resulting Numbers: [47, 25] Generated Node #0,2,2: 59:[47, 25] Operation: 95-70=25 Exploring Operation: 70-47=23, Resulting Numbers: [95, 23] Generated Node #0,2,3: 59:[95, 23] Operation: 70-47=23 Moving to Node #0,2,1 Current State: 59:[70, 48], Operations: ['91-44=47', '95-47=48'] Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[47, 25], Operations: ['91-44=47', '95-70=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,59 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[95, 23], Operations: ['91-44=47', '70-47=23'] Exploring Operation: 95*23=2185, Resulting Numbers: [2185] 2185,59 unequal: No Solution Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 95+23=118, Resulting Numbers: [118] 118,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[95, 117], Operations: ['91-44=47', '70+47=117'] Exploring Operation: 95*117=11115, Resulting Numbers: [11115] 11115,59 unequal: No Solution Exploring Operation: 95+117=212, Resulting Numbers: [212] 212,59 unequal: No Solution Exploring Operation: 117-95=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[70, 44, 4], Operations: ['95-91=4'] Exploring Operation: 44+4=48, Resulting Numbers: [70, 48] Generated Node #0,1,0: 59:[70, 48] Operation: 44+4=48 Exploring Operation: 70-4=66, Resulting Numbers: [44, 66] Generated Node #0,1,1: 59:[44, 66] Operation: 70-4=66 Exploring Operation: 70+4=74, Resulting Numbers: [44, 74] Generated Node #0,1,2: 59:[44, 74] Operation: 70+4=74 Exploring Operation: 44-4=40, Resulting Numbers: [70, 40] Generated Node #0,1,3: 59:[70, 40] Operation: 44-4=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[70, 48], Operations: ['95-91=4', '44+4=48'] Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[44, 66], Operations: ['95-91=4', '70-4=66'] Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,59 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[44, 74], Operations: ['95-91=4', '70+4=74'] Exploring Operation: 44*74=3256, Resulting Numbers: [3256] 3256,59 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 44+74=118, Resulting Numbers: [118] 118,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[70, 40], Operations: ['95-91=4', '44-4=40'] Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 70+40=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 70*40=2800, Resulting Numbers: [2800] 2800,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[91, 44, 25], Operations: ['95-70=25'] Exploring Operation: 91-25=66, Resulting Numbers: [44, 66] Generated Node #0,3,0: 59:[44, 66] Operation: 91-25=66 Exploring Operation: 44+25=69, Resulting Numbers: [91, 69] Generated Node #0,3,1: 59:[91, 69] Operation: 44+25=69 Exploring Operation: 91+25=116, Resulting Numbers: [44, 116] Generated Node #0,3,2: 59:[44, 116] Operation: 91+25=116 Exploring Operation: 91-44=47, Resulting Numbers: [25, 47] Generated Node #0,3,3: 59:[25, 47] Operation: 91-44=47 Moving to Node #0,3,0 Current State: 59:[44, 66], Operations: ['95-70=25', '91-25=66'] Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,59 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[91, 69], Operations: ['95-70=25', '44+25=69'] Exploring Operation: 91-69=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 91*69=6279, Resulting Numbers: [6279] 6279,59 unequal: No Solution Exploring Operation: 91+69=160, Resulting Numbers: [160] 160,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[25, 47], Operations: ['95-70=25', '91-44=47'] Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,59 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[44, 116], Operations: ['95-70=25', '91+25=116'] Exploring Operation: 44+116=160, Resulting Numbers: [160] 160,59 unequal: No Solution Exploring Operation: 116-44=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 44*116=5104, Resulting Numbers: [5104] 5104,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 35, 22, 2, 68 ]
58
[ "68-22=46", "46/2=23", "35+23=58" ]
Current State: 58:[35, 22, 2, 68], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [35, 2, 46] Generated Node #2: [35, 2, 46] from Operation: 68-22=46 Current State: 58:[35, 2, 46], Operations: ['68-22=46'] Exploring Operation: 46/2=23, Resulting Numbers: [35, 23] Generated Node #3: [35, 23] from Operation: 46/2=23 Current State: 58:[35, 23], Operations: ['68-22=46', '46/2=23'] Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[35, 22, 2, 68], Operations: [] Exploring Operation: 35+22=57, Resulting Numbers: [2, 68, 57] Generated Node #0,0: 58:[2, 68, 57] Operation: 35+22=57 Exploring Operation: 68-22=46, Resulting Numbers: [35, 2, 46] Generated Node #0,1: 58:[35, 2, 46] Operation: 68-22=46 Exploring Operation: 68-35=33, Resulting Numbers: [22, 2, 33] Generated Node #0,2: 58:[22, 2, 33] Operation: 68-35=33 Exploring Operation: 68/2=34, Resulting Numbers: [35, 22, 34] Generated Node #0,3: 58:[35, 22, 34] Operation: 68/2=34 Moving to Node #0,0 Current State: 58:[2, 68, 57], Operations: ['35+22=57'] Exploring Operation: 68-57=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 58:[2, 11] Operation: 68-57=11 Exploring Operation: 68/2=34, Resulting Numbers: [57, 34] Generated Node #0,0,1: 58:[57, 34] Operation: 68/2=34 Exploring Operation: 2+57=59, Resulting Numbers: [68, 59] Generated Node #0,0,2: 58:[68, 59] Operation: 2+57=59 Exploring Operation: 68-2=66, Resulting Numbers: [57, 66] Generated Node #0,0,3: 58:[57, 66] Operation: 68-2=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[57, 34], Operations: ['35+22=57', '68/2=34'] Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,58 unequal: No Solution Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,58 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,58 unequal: No Solution No 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: 58:[2, 11], Operations: ['35+22=57', '68-57=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,58 unequal: No Solution No 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: 58:[57, 66], Operations: ['35+22=57', '68-2=66'] Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,58 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,58 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,58 unequal: No Solution No 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: 58:[68, 59], Operations: ['35+22=57', '2+57=59'] Exploring Operation: 68*59=4012, Resulting Numbers: [4012] 4012,58 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 68+59=127, Resulting Numbers: [127] 127,58 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: 58:[22, 2, 33], Operations: ['68-35=33'] Exploring Operation: 33-22=11, Resulting Numbers: [2, 11] Generated Node #0,2,0: 58:[2, 11] Operation: 33-22=11 Exploring Operation: 33-2=31, Resulting Numbers: [22, 31] Generated Node #0,2,1: 58:[22, 31] Operation: 33-2=31 Exploring Operation: 22+33=55, Resulting Numbers: [2, 55] Generated Node #0,2,2: 58:[2, 55] Operation: 22+33=55 Exploring Operation: 22+2=24, Resulting Numbers: [33, 24] Generated Node #0,2,3: 58:[33, 24] Operation: 22+2=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[2, 55], Operations: ['68-35=33', '22+33=55'] Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,58 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,58 unequal: No Solution No 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: 58:[2, 11], Operations: ['68-35=33', '33-22=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,58 unequal: No Solution No 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: 58:[22, 31], Operations: ['68-35=33', '33-2=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,58 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,58 unequal: No Solution No 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: 58:[33, 24], Operations: ['68-35=33', '22+2=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,58 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,58 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: 58:[35, 22, 34], Operations: ['68/2=34'] Exploring Operation: 35+22=57, Resulting Numbers: [34, 57] Generated Node #0,3,0: 58:[34, 57] Operation: 35+22=57 Exploring Operation: 22+34=56, Resulting Numbers: [35, 56] Generated Node #0,3,1: 58:[35, 56] Operation: 22+34=56 Exploring Operation: 35-22=13, Resulting Numbers: [34, 13] Generated Node #0,3,2: 58:[34, 13] Operation: 35-22=13 Exploring Operation: 35-34=1, Resulting Numbers: [22, 1] Generated Node #0,3,3: 58:[22, 1] Operation: 35-34=1 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[34, 57], Operations: ['68/2=34', '35+22=57'] Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,58 unequal: No Solution Exploring Operation: 34*57=1938, Resulting Numbers: [1938] 1938,58 unequal: No Solution No 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: 58:[35, 56], Operations: ['68/2=34', '22+34=56'] Exploring Operation: 35*56=1960, Resulting Numbers: [1960] 1960,58 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,58 unequal: No Solution No 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: 58:[22, 1], Operations: ['68/2=34', '35-34=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,58 unequal: No Solution No 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: 58:[34, 13], Operations: ['68/2=34', '35-22=13'] Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,58 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,58 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: 58:[35, 2, 46], Operations: ['68-22=46'] Exploring Operation: 2+46=48, Resulting Numbers: [35, 48] Generated Node #0,1,0: 58:[35, 48] Operation: 2+46=48 Exploring Operation: 35-2=33, Resulting Numbers: [46, 33] Generated Node #0,1,1: 58:[46, 33] Operation: 35-2=33 Exploring Operation: 46/2=23, Resulting Numbers: [35, 23] Generated Node #0,1,2: 58:[35, 23] Operation: 46/2=23 Exploring Operation: 46-35=11, Resulting Numbers: [2, 11] Generated Node #0,1,3: 58:[2, 11] Operation: 46-35=11 Moving to Node #0,1,3 Current State: 58:[2, 11], Operations: ['68-22=46', '46-35=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[35, 23], Operations: ['68-22=46', '46/2=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[35, 22, 2, 68], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [35, 2, 46] Generated Node #0,1: 58:[35, 2, 46] Operation: 68-22=46 Moving to Node #0,1 Current State: 58:[35, 2, 46], Operations: ['68-22=46'] Exploring Operation: 46/2=23, Resulting Numbers: [35, 23] Generated Node #0,1,2: 58:[35, 23] Operation: 46/2=23 Moving to Node #0,1,2 Current State: 58:[35, 23], Operations: ['68-22=46', '46/2=23'] Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.942708
hs_4
sum_heuristic
[ 13, 14, 28, 40 ]
68
[ "14-13=1", "28+40=68", "1*68=68" ]
Current State: 68:[13, 14, 28, 40], Operations: [] Exploring Operation: 14-13=1, Resulting Numbers: [28, 40, 1] Generated Node #2: [28, 40, 1] from Operation: 14-13=1 Current State: 68:[28, 40, 1], Operations: ['14-13=1'] Exploring Operation: 28+40=68, Resulting Numbers: [1, 68] Generated Node #3: [1, 68] from Operation: 28+40=68 Current State: 68:[1, 68], Operations: ['14-13=1', '28+40=68'] Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[13, 14, 28, 40], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [13, 40, 2] Generated Node #0,0: 68:[13, 40, 2] Operation: 28/14=2 Exploring Operation: 28+40=68, Resulting Numbers: [13, 14, 68] Generated Node #0,1: 68:[13, 14, 68] Operation: 28+40=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[13, 14, 68], Operations: ['28+40=68'] Exploring Operation: 14-13=1, Resulting Numbers: [68, 1] Generated Node #0,1,0: 68:[68, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [68, 27] Generated Node #0,1,1: 68:[68, 27] Operation: 13+14=27 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[68, 1], Operations: ['28+40=68', '14-13=1'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[13, 14, 28, 40], Operations: [] Exploring Operation: 28+40=68, Resulting Numbers: [13, 14, 68] Generated Node #0,1: 68:[13, 14, 68] Operation: 28+40=68 Moving to Node #0,1 Current State: 68:[13, 14, 68], Operations: ['28+40=68'] Exploring Operation: 14-13=1, Resulting Numbers: [68, 1] Generated Node #0,1,0: 68:[68, 1] Operation: 14-13=1 Moving to Node #0,1,0 Current State: 68:[68, 1], Operations: ['28+40=68', '14-13=1'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 55, 60, 36, 2 ]
26
[ "60-55=5", "2*5=10", "36-10=26" ]
Current State: 26:[55, 60, 36, 2], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [36, 2, 5] Generated Node #2: [36, 2, 5] from Operation: 60-55=5 Current State: 26:[36, 2, 5], Operations: ['60-55=5'] Exploring Operation: 2*5=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 2*5=10 Current State: 26:[36, 10], Operations: ['60-55=5', '2*5=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[55, 60, 36, 2], Operations: [] Exploring Operation: 60-36=24, Resulting Numbers: [55, 2, 24] Generated Node #0,0: 26:[55, 2, 24] Operation: 60-36=24 Exploring Operation: 36/2=18, Resulting Numbers: [55, 60, 18] Generated Node #0,1: 26:[55, 60, 18] Operation: 36/2=18 Exploring Operation: 60/2=30, Resulting Numbers: [55, 36, 30] Generated Node #0,2: 26:[55, 36, 30] Operation: 60/2=30 Exploring Operation: 60-55=5, Resulting Numbers: [36, 2, 5] Generated Node #0,3: 26:[36, 2, 5] Operation: 60-55=5 Exploring Operation: 55-36=19, Resulting Numbers: [60, 2, 19] Generated Node #0,4: 26:[60, 2, 19] Operation: 55-36=19 Moving to Node #0,3 Current State: 26:[36, 2, 5], Operations: ['60-55=5'] Exploring Operation: 36-5=31, Resulting Numbers: [2, 31] Generated Node #0,3,0: 26:[2, 31] Operation: 36-5=31 Exploring Operation: 5-2=3, Resulting Numbers: [36, 3] Generated Node #0,3,1: 26:[36, 3] Operation: 5-2=3 Exploring Operation: 2*5=10, Resulting Numbers: [36, 10] Generated Node #0,3,2: 26:[36, 10] Operation: 2*5=10 Exploring Operation: 36-2=34, Resulting Numbers: [5, 34] Generated Node #0,3,3: 26:[5, 34] Operation: 36-2=34 Exploring Operation: 36/2=18, Resulting Numbers: [5, 18] Generated Node #0,3,4: 26:[5, 18] Operation: 36/2=18 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 26:[2, 31], Operations: ['60-55=5', '36-5=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,26 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,26 unequal: No Solution No 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: 26:[5, 18], Operations: ['60-55=5', '36/2=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,26 unequal: No Solution No 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: 26:[36, 3], Operations: ['60-55=5', '5-2=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,26 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,26 unequal: No Solution No 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: 26:[5, 34], Operations: ['60-55=5', '36-2=34'] Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,26 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,26 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,26 unequal: No Solution No 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: 26:[36, 10], Operations: ['60-55=5', '2*5=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[55, 60, 36, 2], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [36, 2, 5] Generated Node #0,3: 26:[36, 2, 5] Operation: 60-55=5 Moving to Node #0,3 Current State: 26:[36, 2, 5], Operations: ['60-55=5'] Exploring Operation: 2*5=10, Resulting Numbers: [36, 10] Generated Node #0,3,2: 26:[36, 10] Operation: 2*5=10 Moving to Node #0,3,2 Current State: 26:[36, 10], Operations: ['60-55=5', '2*5=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 12, 46, 38, 17 ]
40
[ "46-12=34", "34/17=2", "38+2=40" ]
Current State: 40:[12, 46, 38, 17], Operations: [] Exploring Operation: 46-12=34, Resulting Numbers: [38, 17, 34] Generated Node #2: [38, 17, 34] from Operation: 46-12=34 Current State: 40:[38, 17, 34], Operations: ['46-12=34'] Exploring Operation: 34/17=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 34/17=2 Current State: 40:[38, 2], Operations: ['46-12=34', '34/17=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[12, 46, 38, 17], Operations: [] Exploring Operation: 46-38=8, Resulting Numbers: [12, 17, 8] Generated Node #0,0: 40:[12, 17, 8] Operation: 46-38=8 Exploring Operation: 46-12=34, Resulting Numbers: [38, 17, 34] Generated Node #0,1: 40:[38, 17, 34] Operation: 46-12=34 Exploring Operation: 17-12=5, Resulting Numbers: [46, 38, 5] Generated Node #0,2: 40:[46, 38, 5] Operation: 17-12=5 Exploring Operation: 38-17=21, Resulting Numbers: [12, 46, 21] Generated Node #0,3: 40:[12, 46, 21] Operation: 38-17=21 Exploring Operation: 46-17=29, Resulting Numbers: [12, 38, 29] Generated Node #0,4: 40:[12, 38, 29] Operation: 46-17=29 Moving to Node #0,0 Current State: 40:[12, 17, 8], Operations: ['46-38=8'] Exploring Operation: 12-8=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 40:[17, 4] Operation: 12-8=4 Exploring Operation: 17+8=25, Resulting Numbers: [12, 25] Generated Node #0,0,1: 40:[12, 25] Operation: 17+8=25 Exploring Operation: 12+8=20, Resulting Numbers: [17, 20] Generated Node #0,0,2: 40:[17, 20] Operation: 12+8=20 Exploring Operation: 17-8=9, Resulting Numbers: [12, 9] Generated Node #0,0,3: 40:[12, 9] Operation: 17-8=9 Exploring Operation: 17-12=5, Resulting Numbers: [8, 5] Generated Node #0,0,4: 40:[8, 5] Operation: 17-12=5 Moving to Node #0,2 Current State: 40:[46, 38, 5], Operations: ['17-12=5'] Exploring Operation: 46-5=41, Resulting Numbers: [38, 41] Generated Node #0,2,0: 40:[38, 41] Operation: 46-5=41 Exploring Operation: 38+5=43, Resulting Numbers: [46, 43] Generated Node #0,2,1: 40:[46, 43] Operation: 38+5=43 Exploring Operation: 46+5=51, Resulting Numbers: [38, 51] Generated Node #0,2,2: 40:[38, 51] Operation: 46+5=51 Exploring Operation: 46-38=8, Resulting Numbers: [5, 8] Generated Node #0,2,3: 40:[5, 8] Operation: 46-38=8 Exploring Operation: 38-5=33, Resulting Numbers: [46, 33] Generated Node #0,2,4: 40:[46, 33] Operation: 38-5=33 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[5, 8], Operations: ['17-12=5', '46-38=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[12, 46, 38, 17], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [46, 38, 5] Generated Node #0,2: 40:[46, 38, 5] Operation: 17-12=5 Moving to Node #0,2 Current State: 40:[46, 38, 5], Operations: ['17-12=5'] Exploring Operation: 46-38=8, Resulting Numbers: [5, 8] Generated Node #0,2,3: 40:[5, 8] Operation: 46-38=8 Moving to Node #0,2,3 Current State: 40:[5, 8], Operations: ['17-12=5', '46-38=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 35, 76, 21, 43 ]
23
[ "76-35=41", "21+43=64", "64-41=23" ]
Current State: 23:[35, 76, 21, 43], Operations: [] Exploring Operation: 76-35=41, Resulting Numbers: [21, 43, 41] Generated Node #2: [21, 43, 41] from Operation: 76-35=41 Current State: 23:[21, 43, 41], Operations: ['76-35=41'] Exploring Operation: 21+43=64, Resulting Numbers: [41, 64] Generated Node #3: [41, 64] from Operation: 21+43=64 Current State: 23:[41, 64], Operations: ['76-35=41', '21+43=64'] Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[35, 76, 21, 43], Operations: [] Exploring Operation: 76-21=55, Resulting Numbers: [35, 43, 55] Generated Node #0,0: 23:[35, 43, 55] Operation: 76-21=55 Exploring Operation: 76-43=33, Resulting Numbers: [35, 21, 33] Generated Node #0,1: 23:[35, 21, 33] Operation: 76-43=33 Exploring Operation: 43-21=22, Resulting Numbers: [35, 76, 22] Generated Node #0,2: 23:[35, 76, 22] Operation: 43-21=22 Exploring Operation: 76-35=41, Resulting Numbers: [21, 43, 41] Generated Node #0,3: 23:[21, 43, 41] Operation: 76-35=41 Exploring Operation: 43-35=8, Resulting Numbers: [76, 21, 8] Generated Node #0,4: 23:[76, 21, 8] Operation: 43-35=8 Moving to Node #0,1 Current State: 23:[35, 21, 33], Operations: ['76-43=33'] Exploring Operation: 33-21=12, Resulting Numbers: [35, 12] Generated Node #0,1,0: 23:[35, 12] Operation: 33-21=12 Exploring Operation: 21+33=54, Resulting Numbers: [35, 54] Generated Node #0,1,1: 23:[35, 54] Operation: 21+33=54 Exploring Operation: 35-33=2, Resulting Numbers: [21, 2] Generated Node #0,1,2: 23:[21, 2] Operation: 35-33=2 Exploring Operation: 35-21=14, Resulting Numbers: [33, 14] Generated Node #0,1,3: 23:[33, 14] Operation: 35-21=14 Exploring Operation: 35+21=56, Resulting Numbers: [33, 56] Generated Node #0,1,4: 23:[33, 56] Operation: 35+21=56 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[33, 14], Operations: ['76-43=33', '35-21=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,23 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,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,0 Current State: 23:[35, 12], Operations: ['76-43=33', '33-21=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[35, 76, 21, 43], Operations: [] Exploring Operation: 76-43=33, Resulting Numbers: [35, 21, 33] Generated Node #0,1: 23:[35, 21, 33] Operation: 76-43=33 Moving to Node #0,1 Current State: 23:[35, 21, 33], Operations: ['76-43=33'] Exploring Operation: 33-21=12, Resulting Numbers: [35, 12] Generated Node #0,1,0: 23:[35, 12] Operation: 33-21=12 Moving to Node #0,1,0 Current State: 23:[35, 12], Operations: ['76-43=33', '33-21=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 16, 82, 98, 99 ]
17
[ "16*99=1584", "82+1584=1666", "1666/98=17" ]
Current State: 17:[16, 82, 98, 99], Operations: [] Exploring Operation: 16*99=1584, Resulting Numbers: [82, 98, 1584] Generated Node #2: [82, 98, 1584] from Operation: 16*99=1584 Current State: 17:[82, 98, 1584], Operations: ['16*99=1584'] Exploring Operation: 82+1584=1666, Resulting Numbers: [98, 1666] Generated Node #3: [98, 1666] from Operation: 82+1584=1666 Current State: 17:[98, 1666], Operations: ['16*99=1584', '82+1584=1666'] Exploring Operation: 1666/98=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[16, 82, 98, 99], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [16, 82, 1] Generated Node #0,0: 17:[16, 82, 1] Operation: 99-98=1 Exploring Operation: 98-82=16, Resulting Numbers: [16, 99, 16] Generated Node #0,1: 17:[16, 99, 16] Operation: 98-82=16 Exploring Operation: 99-82=17, Resulting Numbers: [16, 98, 17] Generated Node #0,2: 17:[16, 98, 17] Operation: 99-82=17 Exploring Operation: 82-16=66, Resulting Numbers: [98, 99, 66] Generated Node #0,3: 17:[98, 99, 66] Operation: 82-16=66 Exploring Operation: 98-16=82, Resulting Numbers: [82, 99, 82] Generated Node #0,4: 17:[82, 99, 82] Operation: 98-16=82 Moving to Node #0,0 Current State: 17:[16, 82, 1], Operations: ['99-98=1'] Exploring Operation: 82-1=81, Resulting Numbers: [16, 81] Generated Node #0,0,0: 17:[16, 81] Operation: 82-1=81 Exploring Operation: 16+1=17, Resulting Numbers: [82, 17] Generated Node #0,0,1: 17:[82, 17] Operation: 16+1=17 Exploring Operation: 82-16=66, Resulting Numbers: [1, 66] Generated Node #0,0,2: 17:[1, 66] Operation: 82-16=66 Exploring Operation: 16/1=16, Resulting Numbers: [82, 16] Generated Node #0,0,3: 17:[82, 16] Operation: 16/1=16 Exploring Operation: 16*1=16, Resulting Numbers: [82, 16] Generated Node #0,0,4: 17:[82, 16] Operation: 16*1=16 Moving to Node #0,2 Current State: 17:[16, 98, 17], Operations: ['99-82=17'] Exploring Operation: 17-16=1, Resulting Numbers: [98, 1] Generated Node #0,2,0: 17:[98, 1] Operation: 17-16=1 Exploring Operation: 16+98=114, Resulting Numbers: [17, 114] Generated Node #0,2,1: 17:[17, 114] Operation: 16+98=114 Exploring Operation: 16+17=33, Resulting Numbers: [98, 33] Generated Node #0,2,2: 17:[98, 33] Operation: 16+17=33 Exploring Operation: 98-16=82, Resulting Numbers: [17, 82] Generated Node #0,2,3: 17:[17, 82] Operation: 98-16=82 Exploring Operation: 98-17=81, Resulting Numbers: [16, 81] Generated Node #0,2,4: 17:[16, 81] Operation: 98-17=81 Moving to Node #0,1 Current State: 17:[16, 99, 16], Operations: ['98-82=16'] Exploring Operation: 16+16=32, Resulting Numbers: [99, 32] Generated Node #0,1,0: 17:[99, 32] Operation: 16+16=32 Exploring Operation: 16+99=115, Resulting Numbers: [16, 115] Generated Node #0,1,1: 17:[16, 115] Operation: 16+99=115 Exploring Operation: 99-16=83, Resulting Numbers: [16, 83] Generated Node #0,1,2: 17:[16, 83] Operation: 99-16=83 Exploring Operation: 99-16=83, Resulting Numbers: [16, 83] Generated Node #0,1,3: 17:[16, 83] Operation: 99-16=83 Exploring Operation: 16/16=1, Resulting Numbers: [99, 1] Generated Node #0,1,4: 17:[99, 1] Operation: 16/16=1 Moving to Node #0,3 Current State: 17:[98, 99, 66], Operations: ['82-16=66'] Exploring Operation: 98+66=164, Resulting Numbers: [99, 164] Generated Node #0,3,0: 17:[99, 164] Operation: 98+66=164 Exploring Operation: 99-98=1, Resulting Numbers: [66, 1] Generated Node #0,3,1: 17:[66, 1] Operation: 99-98=1 Exploring Operation: 99-66=33, Resulting Numbers: [98, 33] Generated Node #0,3,2: 17:[98, 33] Operation: 99-66=33 Exploring Operation: 98-66=32, Resulting Numbers: [99, 32] Generated Node #0,3,3: 17:[99, 32] Operation: 98-66=32 Exploring Operation: 98+99=197, Resulting Numbers: [66, 197] Generated Node #0,3,4: 17:[66, 197] Operation: 98+99=197 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[66, 1], Operations: ['82-16=66', '99-98=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[98, 33], Operations: ['82-16=66', '99-66=33'] Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 98*33=3234, Resulting Numbers: [3234] 3234,17 unequal: No Solution Exploring Operation: 98+33=131, Resulting Numbers: [131] 131,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[99, 32], Operations: ['82-16=66', '98-66=32'] Exploring Operation: 99*32=3168, Resulting Numbers: [3168] 3168,17 unequal: No Solution Exploring Operation: 99-32=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 99+32=131, Resulting Numbers: [131] 131,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[99, 164], Operations: ['82-16=66', '98+66=164'] Exploring Operation: 99+164=263, Resulting Numbers: [263] 263,17 unequal: No Solution Exploring Operation: 164-99=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 99*164=16236, Resulting Numbers: [16236] 16236,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[66, 197], Operations: ['82-16=66', '98+99=197'] Exploring Operation: 66+197=263, Resulting Numbers: [263] 263,17 unequal: No Solution Exploring Operation: 66*197=13002, Resulting Numbers: [13002] 13002,17 unequal: No Solution Exploring Operation: 197-66=131, Resulting Numbers: [131] 131,17 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: 17:[82, 99, 82], Operations: ['98-16=82'] Exploring Operation: 99-82=17, Resulting Numbers: [82, 17] Generated Node #0,4,0: 17:[82, 17] Operation: 99-82=17 Exploring Operation: 82-82=0, Resulting Numbers: [99, 0] Generated Node #0,4,1: 17:[99, 0] Operation: 82-82=0 Exploring Operation: 82/82=1, Resulting Numbers: [99, 1] Generated Node #0,4,2: 17:[99, 1] Operation: 82/82=1 Exploring Operation: 99-82=17, Resulting Numbers: [82, 17] Generated Node #0,4,3: 17:[82, 17] Operation: 99-82=17 Exploring Operation: 82+99=181, Resulting Numbers: [82, 181] Generated Node #0,4,4: 17:[82, 181] Operation: 82+99=181 Moving to Node #0,0,0 Current State: 17:[16, 81], Operations: ['99-98=1', '82-1=81'] Exploring Operation: 16*81=1296, Resulting Numbers: [1296] 1296,17 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 16+81=97, Resulting Numbers: [97] 97,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[1, 66], Operations: ['99-98=1', '82-16=66'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[16, 81], Operations: ['99-82=17', '98-17=81'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 16+81=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 16*81=1296, Resulting Numbers: [1296] 1296,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[17, 82], Operations: ['99-82=17', '98-16=82'] Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[82, 17], Operations: ['99-98=1', '16+1=17'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[82, 17], Operations: ['98-16=82', '99-82=17'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[82, 17], Operations: ['98-16=82', '99-82=17'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,17 unequal: No Solution Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[82, 16], Operations: ['99-98=1', '16*1=16'] Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[82, 16], Operations: ['99-98=1', '16/1=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,17 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[16, 83], Operations: ['98-82=16', '99-16=83'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 16+83=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 16*83=1328, Resulting Numbers: [1328] 1328,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[16, 83], Operations: ['98-82=16', '99-16=83'] Exploring Operation: 16+83=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 16*83=1328, Resulting Numbers: [1328] 1328,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[99, 32], Operations: ['98-82=16', '16+16=32'] Exploring Operation: 99-32=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 99*32=3168, Resulting Numbers: [3168] 3168,17 unequal: No Solution Exploring Operation: 99+32=131, Resulting Numbers: [131] 131,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[98, 33], Operations: ['99-82=17', '16+17=33'] Exploring Operation: 98+33=131, Resulting Numbers: [131] 131,17 unequal: No Solution Exploring Operation: 98*33=3234, Resulting Numbers: [3234] 3234,17 unequal: No Solution Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[17, 114], Operations: ['99-82=17', '16+98=114'] Exploring Operation: 17+114=131, Resulting Numbers: [131] 131,17 unequal: No Solution Exploring Operation: 17*114=1938, Resulting Numbers: [1938] 1938,17 unequal: No Solution Exploring Operation: 114-17=97, Resulting Numbers: [97] 97,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[98, 1], Operations: ['99-82=17', '17-16=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[99, 1], Operations: ['98-82=16', '16/16=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[99, 1], Operations: ['98-16=82', '82/82=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,17 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[99, 0], Operations: ['98-16=82', '82-82=0'] Exploring Operation: 99+0=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 99-0=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 99*0=0, Resulting Numbers: [0] 0,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[16, 115], Operations: ['98-82=16', '16+99=115'] Exploring Operation: 16+115=131, Resulting Numbers: [131] 131,17 unequal: No Solution Exploring Operation: 16*115=1840, Resulting Numbers: [1840] 1840,17 unequal: No Solution Exploring Operation: 115-16=99, Resulting Numbers: [99] 99,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[82, 181], Operations: ['98-16=82', '82+99=181'] Exploring Operation: 82+181=263, Resulting Numbers: [263] 263,17 unequal: No Solution Exploring Operation: 181-82=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 82*181=14842, Resulting Numbers: [14842] 14842,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 28, 43, 40, 51 ]
96
[ "40-28=12", "51-43=8", "12*8=96" ]
Current State: 96:[28, 43, 40, 51], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [43, 51, 12] Generated Node #2: [43, 51, 12] from Operation: 40-28=12 Current State: 96:[43, 51, 12], Operations: ['40-28=12'] Exploring Operation: 51-43=8, Resulting Numbers: [12, 8] Generated Node #3: [12, 8] from Operation: 51-43=8 Current State: 96:[12, 8], Operations: ['40-28=12', '51-43=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[28, 43, 40, 51], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [28, 43, 11] Generated Node #0,0: 96:[28, 43, 11] Operation: 51-40=11 Exploring Operation: 40-28=12, Resulting Numbers: [43, 51, 12] Generated Node #0,1: 96:[43, 51, 12] Operation: 40-28=12 Exploring Operation: 43-40=3, Resulting Numbers: [28, 51, 3] Generated Node #0,2: 96:[28, 51, 3] Operation: 43-40=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[28, 51, 3], Operations: ['43-40=3'] Exploring Operation: 51-28=23, Resulting Numbers: [3, 23] Generated Node #0,2,0: 96:[3, 23] Operation: 51-28=23 Exploring Operation: 28-3=25, Resulting Numbers: [51, 25] Generated Node #0,2,1: 96:[51, 25] Operation: 28-3=25 Exploring Operation: 28+3=31, Resulting Numbers: [51, 31] Generated Node #0,2,2: 96:[51, 31] Operation: 28+3=31 Moving to Node #0,2,0 Current State: 96:[3, 23], Operations: ['43-40=3', '51-28=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[51, 25], Operations: ['43-40=3', '28-3=25'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,96 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[51, 31], Operations: ['43-40=3', '28+3=31'] Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[43, 51, 12], Operations: ['40-28=12'] Exploring Operation: 43+51=94, Resulting Numbers: [12, 94] Generated Node #0,1,0: 96:[12, 94] Operation: 43+51=94 Exploring Operation: 43-12=31, Resulting Numbers: [51, 31] Generated Node #0,1,1: 96:[51, 31] Operation: 43-12=31 Exploring Operation: 51-43=8, Resulting Numbers: [12, 8] Generated Node #0,1,2: 96:[12, 8] Operation: 51-43=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[12, 8], Operations: ['40-28=12', '51-43=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[28, 43, 40, 51], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [43, 51, 12] Generated Node #0,1: 96:[43, 51, 12] Operation: 40-28=12 Moving to Node #0,1 Current State: 96:[43, 51, 12], Operations: ['40-28=12'] Exploring Operation: 51-43=8, Resulting Numbers: [12, 8] Generated Node #0,1,2: 96:[12, 8] Operation: 51-43=8 Moving to Node #0,1,2 Current State: 96:[12, 8], Operations: ['40-28=12', '51-43=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 32, 38, 80, 8 ]
58
[ "32/8=4", "80/4=20", "38+20=58" ]
Current State: 58:[32, 38, 80, 8], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [38, 80, 4] Generated Node #2: [38, 80, 4] from Operation: 32/8=4 Current State: 58:[38, 80, 4], Operations: ['32/8=4'] Exploring Operation: 80/4=20, Resulting Numbers: [38, 20] Generated Node #3: [38, 20] from Operation: 80/4=20 Current State: 58:[38, 20], Operations: ['32/8=4', '80/4=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[32, 38, 80, 8], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [32, 38, 10] Generated Node #0,0: 58:[32, 38, 10] Operation: 80/8=10 Exploring Operation: 38-8=30, Resulting Numbers: [32, 80, 30] Generated Node #0,1: 58:[32, 80, 30] Operation: 38-8=30 Exploring Operation: 80-38=42, Resulting Numbers: [32, 8, 42] Generated Node #0,2: 58:[32, 8, 42] Operation: 80-38=42 Exploring Operation: 80-32=48, Resulting Numbers: [38, 8, 48] Generated Node #0,3: 58:[38, 8, 48] Operation: 80-32=48 Moving to Node #0,0 Current State: 58:[32, 38, 10], Operations: ['80/8=10'] Exploring Operation: 32-10=22, Resulting Numbers: [38, 22] Generated Node #0,0,0: 58:[38, 22] Operation: 32-10=22 Exploring Operation: 38-32=6, Resulting Numbers: [10, 6] Generated Node #0,0,1: 58:[10, 6] Operation: 38-32=6 Exploring Operation: 38-10=28, Resulting Numbers: [32, 28] Generated Node #0,0,2: 58:[32, 28] Operation: 38-10=28 Exploring Operation: 38+10=48, Resulting Numbers: [32, 48] Generated Node #0,0,3: 58:[32, 48] Operation: 38+10=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[32, 28], Operations: ['80/8=10', '38-10=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,58 unequal: No Solution No 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: 58:[10, 6], Operations: ['80/8=10', '38-32=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,58 unequal: No Solution No 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: 58:[32, 48], Operations: ['80/8=10', '38+10=48'] Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,58 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,58 unequal: No Solution No 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: 58:[38, 22], Operations: ['80/8=10', '32-10=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,58 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: 58:[32, 8, 42], Operations: ['80-38=42'] Exploring Operation: 42-32=10, Resulting Numbers: [8, 10] Generated Node #0,2,0: 58:[8, 10] Operation: 42-32=10 Exploring Operation: 32/8=4, Resulting Numbers: [42, 4] Generated Node #0,2,1: 58:[42, 4] Operation: 32/8=4 Exploring Operation: 42-8=34, Resulting Numbers: [32, 34] Generated Node #0,2,2: 58:[32, 34] Operation: 42-8=34 Exploring Operation: 8+42=50, Resulting Numbers: [32, 50] Generated Node #0,2,3: 58:[32, 50] Operation: 8+42=50 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[32, 34], Operations: ['80-38=42', '42-8=34'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 32+34=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 32*34=1088, Resulting Numbers: [1088] 1088,58 unequal: No Solution No 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: 58:[32, 50], Operations: ['80-38=42', '8+42=50'] Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,58 unequal: No Solution No 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: 58:[8, 10], Operations: ['80-38=42', '42-32=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,58 unequal: No Solution No 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: 58:[42, 4], Operations: ['80-38=42', '32/8=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,58 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,58 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: 58:[38, 8, 48], Operations: ['80-32=48'] Exploring Operation: 38-8=30, Resulting Numbers: [48, 30] Generated Node #0,3,0: 58:[48, 30] Operation: 38-8=30 Exploring Operation: 8+48=56, Resulting Numbers: [38, 56] Generated Node #0,3,1: 58:[38, 56] Operation: 8+48=56 Exploring Operation: 48/8=6, Resulting Numbers: [38, 6] Generated Node #0,3,2: 58:[38, 6] Operation: 48/8=6 Exploring Operation: 48-38=10, Resulting Numbers: [8, 10] Generated Node #0,3,3: 58:[8, 10] Operation: 48-38=10 Moving to Node #0,1 Current State: 58:[32, 80, 30], Operations: ['38-8=30'] Exploring Operation: 80-30=50, Resulting Numbers: [32, 50] Generated Node #0,1,0: 58:[32, 50] Operation: 80-30=50 Exploring Operation: 32-30=2, Resulting Numbers: [80, 2] Generated Node #0,1,1: 58:[80, 2] Operation: 32-30=2 Exploring Operation: 80-32=48, Resulting Numbers: [30, 48] Generated Node #0,1,2: 58:[30, 48] Operation: 80-32=48 Exploring Operation: 32+30=62, Resulting Numbers: [80, 62] Generated Node #0,1,3: 58:[80, 62] Operation: 32+30=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[32, 50], Operations: ['38-8=30', '80-30=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,58 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,58 unequal: No Solution No solution 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: 58:[30, 48], Operations: ['38-8=30', '80-32=48'] Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,58 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,58 unequal: No Solution No solution 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: 58:[80, 2], Operations: ['38-8=30', '32-30=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,58 unequal: No Solution No solution 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: 58:[80, 62], Operations: ['38-8=30', '32+30=62'] Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,58 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 58:[48, 30], Operations: ['80-32=48', '38-8=30'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[38, 56], Operations: ['80-32=48', '8+48=56'] Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,58 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[38, 6], Operations: ['80-32=48', '48/8=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,58 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[8, 10], Operations: ['80-32=48', '48-38=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,58 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 56, 26, 19, 69 ]
73
[ "56*26=1456", "1456-69=1387", "1387/19=73" ]
Current State: 73:[56, 26, 19, 69], Operations: [] Exploring Operation: 56*26=1456, Resulting Numbers: [19, 69, 1456] Generated Node #2: [19, 69, 1456] from Operation: 56*26=1456 Current State: 73:[19, 69, 1456], Operations: ['56*26=1456'] Exploring Operation: 1456-69=1387, Resulting Numbers: [19, 1387] Generated Node #3: [19, 1387] from Operation: 1456-69=1387 Current State: 73:[19, 1387], Operations: ['56*26=1456', '1456-69=1387'] Exploring Operation: 1387/19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[56, 26, 19, 69], Operations: [] Exploring Operation: 26+19=45, Resulting Numbers: [56, 69, 45] Generated Node #0,0: 73:[56, 69, 45] Operation: 26+19=45 Exploring Operation: 56+19=75, Resulting Numbers: [26, 69, 75] Generated Node #0,1: 73:[26, 69, 75] Operation: 56+19=75 Exploring Operation: 56+26=82, Resulting Numbers: [19, 69, 82] Generated Node #0,2: 73:[19, 69, 82] Operation: 56+26=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[56, 69, 45], Operations: ['26+19=45'] Exploring Operation: 56+45=101, Resulting Numbers: [69, 101] Generated Node #0,0,0: 73:[69, 101] Operation: 56+45=101 Exploring Operation: 69+45=114, Resulting Numbers: [56, 114] Generated Node #0,0,1: 73:[56, 114] Operation: 69+45=114 Exploring Operation: 56-45=11, Resulting Numbers: [69, 11] Generated Node #0,0,2: 73:[69, 11] Operation: 56-45=11 Moving to Node #0,0,0 Current State: 73:[69, 101], Operations: ['26+19=45', '56+45=101'] Exploring Operation: 69*101=6969, Resulting Numbers: [6969] 6969,73 unequal: No Solution Exploring Operation: 69+101=170, Resulting Numbers: [170] 170,73 unequal: No Solution Exploring Operation: 101-69=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[56, 114], Operations: ['26+19=45', '69+45=114'] Exploring Operation: 114-56=58, Resulting Numbers: [58] 58,73 unequal: No Solution Exploring Operation: 56+114=170, Resulting Numbers: [170] 170,73 unequal: No Solution Exploring Operation: 56*114=6384, Resulting Numbers: [6384] 6384,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[69, 11], Operations: ['26+19=45', '56-45=11'] Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,73 unequal: No Solution Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[26, 69, 75], Operations: ['56+19=75'] Exploring Operation: 75-26=49, Resulting Numbers: [69, 49] Generated Node #0,1,0: 73:[69, 49] Operation: 75-26=49 Exploring Operation: 69-26=43, Resulting Numbers: [75, 43] Generated Node #0,1,1: 73:[75, 43] Operation: 69-26=43 Exploring Operation: 26+69=95, Resulting Numbers: [75, 95] Generated Node #0,1,2: 73:[75, 95] Operation: 26+69=95 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[75, 95], Operations: ['56+19=75', '26+69=95'] Exploring Operation: 75+95=170, Resulting Numbers: [170] 170,73 unequal: No Solution Exploring Operation: 75*95=7125, Resulting Numbers: [7125] 7125,73 unequal: No Solution Exploring Operation: 95-75=20, Resulting Numbers: [20] 20,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[69, 49], Operations: ['56+19=75', '75-26=49'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 69*49=3381, Resulting Numbers: [3381] 3381,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[75, 43], Operations: ['56+19=75', '69-26=43'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 75*43=3225, Resulting Numbers: [3225] 3225,73 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[19, 69, 82], Operations: ['56+26=82'] Exploring Operation: 69-19=50, Resulting Numbers: [82, 50] Generated Node #0,2,0: 73:[82, 50] Operation: 69-19=50 Exploring Operation: 19+69=88, Resulting Numbers: [82, 88] Generated Node #0,2,1: 73:[82, 88] Operation: 19+69=88 Exploring Operation: 82-19=63, Resulting Numbers: [69, 63] Generated Node #0,2,2: 73:[69, 63] Operation: 82-19=63 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[69, 63], Operations: ['56+26=82', '82-19=63'] Exploring Operation: 69+63=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 69*63=4347, Resulting Numbers: [4347] 4347,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[82, 88], Operations: ['56+26=82', '19+69=88'] Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,73 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,73 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[82, 50], Operations: ['56+26=82', '69-19=50'] Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,73 unequal: No Solution Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 93, 82, 90, 41 ]
44
[ "93+82=175", "90+41=131", "175-131=44" ]
Current State: 44:[93, 82, 90, 41], Operations: [] Exploring Operation: 93+82=175, Resulting Numbers: [90, 41, 175] Generated Node #2: [90, 41, 175] from Operation: 93+82=175 Current State: 44:[90, 41, 175], Operations: ['93+82=175'] Exploring Operation: 90+41=131, Resulting Numbers: [175, 131] Generated Node #3: [175, 131] from Operation: 90+41=131 Current State: 44:[175, 131], Operations: ['93+82=175', '90+41=131'] Exploring Operation: 175-131=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[93, 82, 90, 41], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [90, 41, 11] Generated Node #0,0: 44:[90, 41, 11] Operation: 93-82=11 Exploring Operation: 93-90=3, Resulting Numbers: [82, 41, 3] Generated Node #0,1: 44:[82, 41, 3] Operation: 93-90=3 Moving to Node #0,1 Current State: 44:[82, 41, 3], Operations: ['93-90=3'] Exploring Operation: 82/41=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 44:[3, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 44:[3, 41] Operation: 82-41=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[3, 2], Operations: ['93-90=3', '82/41=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[3, 41], Operations: ['93-90=3', '82-41=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[93, 82, 90, 41], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [82, 41, 3] Generated Node #0,1: 44:[82, 41, 3] Operation: 93-90=3 Moving to Node #0,1 Current State: 44:[82, 41, 3], Operations: ['93-90=3'] Exploring Operation: 82-41=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 44:[3, 41] Operation: 82-41=41 Moving to Node #0,1,1 Current State: 44:[3, 41], Operations: ['93-90=3', '82-41=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 3, 53, 62, 3 ]
62
[ "3-3=0", "53*0=0", "62+0=62" ]
Current State: 62:[3, 53, 62, 3], Operations: [] Exploring Operation: 3-3=0, Resulting Numbers: [53, 62, 0] Generated Node #2: [53, 62, 0] from Operation: 3-3=0 Current State: 62:[53, 62, 0], Operations: ['3-3=0'] Exploring Operation: 53*0=0, Resulting Numbers: [62, 0] Generated Node #3: [62, 0] from Operation: 53*0=0 Current State: 62:[62, 0], Operations: ['3-3=0', '53*0=0'] Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[3, 53, 62, 3], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [3, 3, 9] Generated Node #0,0: 62:[3, 3, 9] Operation: 62-53=9 Exploring Operation: 53+3=56, Resulting Numbers: [3, 62, 56] Generated Node #0,1: 62:[3, 62, 56] Operation: 53+3=56 Exploring Operation: 3+53=56, Resulting Numbers: [62, 3, 56] Generated Node #0,2: 62:[62, 3, 56] Operation: 3+53=56 Moving to Node #0,1 Current State: 62:[3, 62, 56], Operations: ['53+3=56'] Exploring Operation: 62-56=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 62:[3, 6] Operation: 62-56=6 Exploring Operation: 3+56=59, Resulting Numbers: [62, 59] Generated Node #0,1,1: 62:[62, 59] Operation: 3+56=59 Exploring Operation: 3+62=65, Resulting Numbers: [56, 65] Generated Node #0,1,2: 62:[56, 65] Operation: 3+62=65 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[62, 59], Operations: ['53+3=56', '3+56=59'] Exploring Operation: 62+59=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 62*59=3658, Resulting Numbers: [3658] 3658,62 unequal: No Solution Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[3, 6], Operations: ['53+3=56', '62-56=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[56, 65], Operations: ['53+3=56', '3+62=65'] Exploring Operation: 56*65=3640, Resulting Numbers: [3640] 3640,62 unequal: No Solution Exploring Operation: 56+65=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,62 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: 62:[62, 3, 56], Operations: ['3+53=56'] Exploring Operation: 62+3=65, Resulting Numbers: [56, 65] Generated Node #0,2,0: 62:[56, 65] Operation: 62+3=65 Exploring Operation: 3+56=59, Resulting Numbers: [62, 59] Generated Node #0,2,1: 62:[62, 59] Operation: 3+56=59 Exploring Operation: 62-56=6, Resulting Numbers: [3, 6] Generated Node #0,2,2: 62:[3, 6] Operation: 62-56=6 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[62, 59], Operations: ['3+53=56', '3+56=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 62*59=3658, Resulting Numbers: [3658] 3658,62 unequal: No Solution Exploring Operation: 62+59=121, Resulting Numbers: [121] 121,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[3, 6], Operations: ['3+53=56', '62-56=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[56, 65], Operations: ['3+53=56', '62+3=65'] Exploring Operation: 56+65=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 56*65=3640, Resulting Numbers: [3640] 3640,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 62:[3, 3, 9], Operations: ['62-53=9'] Exploring Operation: 3*9=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 62:[3, 27] Operation: 3*9=27 Exploring Operation: 9/3=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 62:[3, 3] Operation: 9/3=3 Exploring Operation: 9/3=3, Resulting Numbers: [3, 3] Generated Node #0,0,2: 62:[3, 3] Operation: 9/3=3 Moving to Node #0,0,1 Current State: 62:[3, 3], Operations: ['62-53=9', '9/3=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[3, 3], Operations: ['62-53=9', '9/3=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[3, 27], Operations: ['62-53=9', '3*9=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,62 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 11, 6, 50, 49 ]
55
[ "50-6=44", "49-44=5", "11*5=55" ]
Current State: 55:[11, 6, 50, 49], Operations: [] Exploring Operation: 50-6=44, Resulting Numbers: [11, 49, 44] Generated Node #2: [11, 49, 44] from Operation: 50-6=44 Current State: 55:[11, 49, 44], Operations: ['50-6=44'] Exploring Operation: 49-44=5, Resulting Numbers: [11, 5] Generated Node #3: [11, 5] from Operation: 49-44=5 Current State: 55:[11, 5], Operations: ['50-6=44', '49-44=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[11, 6, 50, 49], Operations: [] Exploring Operation: 6+49=55, Resulting Numbers: [11, 50, 55] Generated Node #0,0: 55:[11, 50, 55] Operation: 6+49=55 Exploring Operation: 50-49=1, Resulting Numbers: [11, 6, 1] Generated Node #0,1: 55:[11, 6, 1] Operation: 50-49=1 Exploring Operation: 6+50=56, Resulting Numbers: [11, 49, 56] Generated Node #0,2: 55:[11, 49, 56] Operation: 6+50=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[11, 50, 55], Operations: ['6+49=55'] Exploring Operation: 55/11=5, Resulting Numbers: [50, 5] Generated Node #0,0,0: 55:[50, 5] Operation: 55/11=5 Exploring Operation: 55-50=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 55:[11, 5] Operation: 55-50=5 Exploring Operation: 11+50=61, Resulting Numbers: [55, 61] Generated Node #0,0,2: 55:[55, 61] Operation: 11+50=61 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[11, 5], Operations: ['6+49=55', '55-50=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[11, 6, 50, 49], Operations: [] Exploring Operation: 6+49=55, Resulting Numbers: [11, 50, 55] Generated Node #0,0: 55:[11, 50, 55] Operation: 6+49=55 Moving to Node #0,0 Current State: 55:[11, 50, 55], Operations: ['6+49=55'] Exploring Operation: 55-50=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 55:[11, 5] Operation: 55-50=5 Moving to Node #0,0,1 Current State: 55:[11, 5], Operations: ['6+49=55', '55-50=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 31, 7, 26, 42 ]
54
[ "31+7=38", "42-26=16", "38+16=54" ]
Current State: 54:[31, 7, 26, 42], Operations: [] Exploring Operation: 31+7=38, Resulting Numbers: [26, 42, 38] Generated Node #2: [26, 42, 38] from Operation: 31+7=38 Current State: 54:[26, 42, 38], Operations: ['31+7=38'] Exploring Operation: 42-26=16, Resulting Numbers: [38, 16] Generated Node #3: [38, 16] from Operation: 42-26=16 Current State: 54:[38, 16], Operations: ['31+7=38', '42-26=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[31, 7, 26, 42], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [31, 26, 6] Generated Node #0,0: 54:[31, 26, 6] Operation: 42/7=6 Exploring Operation: 42-31=11, Resulting Numbers: [7, 26, 11] Generated Node #0,1: 54:[7, 26, 11] Operation: 42-31=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[7, 26, 11], Operations: ['42-31=11'] Exploring Operation: 11-7=4, Resulting Numbers: [26, 4] Generated Node #0,1,0: 54:[26, 4] Operation: 11-7=4 Exploring Operation: 7+11=18, Resulting Numbers: [26, 18] Generated Node #0,1,1: 54:[26, 18] Operation: 7+11=18 Moving to Node #0,1,1 Current State: 54:[26, 18], Operations: ['42-31=11', '7+11=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[26, 4], Operations: ['42-31=11', '11-7=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[31, 26, 6], Operations: ['42/7=6'] Exploring Operation: 31+26=57, Resulting Numbers: [6, 57] Generated Node #0,0,0: 54:[6, 57] Operation: 31+26=57 Exploring Operation: 31-26=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 54:[6, 5] Operation: 31-26=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[6, 5], Operations: ['42/7=6', '31-26=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[6, 57], Operations: ['42/7=6', '31+26=57'] Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,54 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 84, 21, 19, 19 ]
63
[ "84-21=63", "19-19=0", "63+0=63" ]
Current State: 63:[84, 21, 19, 19], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [19, 19, 63] Generated Node #2: [19, 19, 63] from Operation: 84-21=63 Current State: 63:[19, 19, 63], Operations: ['84-21=63'] Exploring Operation: 19-19=0, Resulting Numbers: [63, 0] Generated Node #3: [63, 0] from Operation: 19-19=0 Current State: 63:[63, 0], Operations: ['84-21=63', '19-19=0'] Exploring Operation: 63+0=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[84, 21, 19, 19], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [21, 19, 65] Generated Node #0,0: 63:[21, 19, 65] Operation: 84-19=65 Exploring Operation: 84-21=63, Resulting Numbers: [19, 19, 63] Generated Node #0,1: 63:[19, 19, 63] Operation: 84-21=63 Moving to Node #0,0 Current State: 63:[21, 19, 65], Operations: ['84-19=65'] Exploring Operation: 65-19=46, Resulting Numbers: [21, 46] Generated Node #0,0,0: 63:[21, 46] Operation: 65-19=46 Exploring Operation: 21-19=2, Resulting Numbers: [65, 2] Generated Node #0,0,1: 63:[65, 2] Operation: 21-19=2 Moving to Node #0,1 Current State: 63:[19, 19, 63], Operations: ['84-21=63'] Exploring Operation: 19/19=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 63:[63, 1] Operation: 19/19=1 Exploring Operation: 19-19=0, Resulting Numbers: [63, 0] Generated Node #0,1,1: 63:[63, 0] Operation: 19-19=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[63, 1], Operations: ['84-21=63', '19/19=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[84, 21, 19, 19], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [19, 19, 63] Generated Node #0,1: 63:[19, 19, 63] Operation: 84-21=63 Moving to Node #0,1 Current State: 63:[19, 19, 63], Operations: ['84-21=63'] Exploring Operation: 19/19=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 63:[63, 1] Operation: 19/19=1 Moving to Node #0,1,0 Current State: 63:[63, 1], Operations: ['84-21=63', '19/19=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 4, 77, 99, 14 ]
22
[ "99*14=1386", "1386/77=18", "4+18=22" ]
Current State: 22:[4, 77, 99, 14], Operations: [] Exploring Operation: 99*14=1386, Resulting Numbers: [4, 77, 1386] Generated Node #2: [4, 77, 1386] from Operation: 99*14=1386 Current State: 22:[4, 77, 1386], Operations: ['99*14=1386'] Exploring Operation: 1386/77=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 1386/77=18 Current State: 22:[4, 18], Operations: ['99*14=1386', '1386/77=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[4, 77, 99, 14], Operations: [] Exploring Operation: 99-14=85, Resulting Numbers: [4, 77, 85] Generated Node #0,0: 22:[4, 77, 85] Operation: 99-14=85 Exploring Operation: 99-77=22, Resulting Numbers: [4, 14, 22] Generated Node #0,1: 22:[4, 14, 22] Operation: 99-77=22 Exploring Operation: 77-14=63, Resulting Numbers: [4, 99, 63] Generated Node #0,2: 22:[4, 99, 63] Operation: 77-14=63 Moving to Node #0,1 Current State: 22:[4, 14, 22], Operations: ['99-77=22'] Exploring Operation: 14-4=10, Resulting Numbers: [22, 10] Generated Node #0,1,0: 22:[22, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [22, 18] Generated Node #0,1,1: 22:[22, 18] Operation: 4+14=18 Exploring Operation: 22-14=8, Resulting Numbers: [4, 8] Generated Node #0,1,2: 22:[4, 8] Operation: 22-14=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[22, 10], Operations: ['99-77=22', '14-4=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,22 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[22, 18], Operations: ['99-77=22', '4+14=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,22 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[4, 8], Operations: ['99-77=22', '22-14=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 22:[4, 77, 85], Operations: ['99-14=85'] Exploring Operation: 85-77=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 22:[4, 8] Operation: 85-77=8 Exploring Operation: 77-4=73, Resulting Numbers: [85, 73] Generated Node #0,0,1: 22:[85, 73] Operation: 77-4=73 Exploring Operation: 85-4=81, Resulting Numbers: [77, 81] Generated Node #0,0,2: 22:[77, 81] Operation: 85-4=81 Moving to Node #0,2 Current State: 22:[4, 99, 63], Operations: ['77-14=63'] Exploring Operation: 99-63=36, Resulting Numbers: [4, 36] Generated Node #0,2,0: 22:[4, 36] Operation: 99-63=36 Exploring Operation: 63-4=59, Resulting Numbers: [99, 59] Generated Node #0,2,1: 22:[99, 59] Operation: 63-4=59 Exploring Operation: 99-4=95, Resulting Numbers: [63, 95] Generated Node #0,2,2: 22:[63, 95] Operation: 99-4=95 Moving to Node #0,0,0 Current State: 22:[4, 8], Operations: ['99-14=85', '85-77=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[4, 36], Operations: ['77-14=63', '99-63=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[77, 81], Operations: ['99-14=85', '85-4=81'] Exploring Operation: 77+81=158, Resulting Numbers: [158] 158,22 unequal: No Solution Exploring Operation: 81-77=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 77*81=6237, Resulting Numbers: [6237] 6237,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[63, 95], Operations: ['77-14=63', '99-4=95'] Exploring Operation: 63*95=5985, Resulting Numbers: [5985] 5985,22 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 63+95=158, Resulting Numbers: [158] 158,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[99, 59], Operations: ['77-14=63', '63-4=59'] Exploring Operation: 99+59=158, Resulting Numbers: [158] 158,22 unequal: No Solution Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 99*59=5841, Resulting Numbers: [5841] 5841,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[85, 73], Operations: ['99-14=85', '77-4=73'] Exploring Operation: 85-73=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 85*73=6205, Resulting Numbers: [6205] 6205,22 unequal: No Solution Exploring Operation: 85+73=158, Resulting Numbers: [158] 158,22 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 86, 91, 7, 12 ]
86
[ "91/7=13", "13-12=1", "86*1=86" ]
Current State: 86:[86, 91, 7, 12], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [86, 12, 13] Generated Node #2: [86, 12, 13] from Operation: 91/7=13 Current State: 86:[86, 12, 13], Operations: ['91/7=13'] Exploring Operation: 13-12=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 13-12=1 Current State: 86:[86, 1], Operations: ['91/7=13', '13-12=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[86, 91, 7, 12], Operations: [] Exploring Operation: 91-7=84, Resulting Numbers: [86, 12, 84] Generated Node #0,0: 86:[86, 12, 84] Operation: 91-7=84 Exploring Operation: 12-7=5, Resulting Numbers: [86, 91, 5] Generated Node #0,1: 86:[86, 91, 5] Operation: 12-7=5 Exploring Operation: 7*12=84, Resulting Numbers: [86, 91, 84] Generated Node #0,2: 86:[86, 91, 84] Operation: 7*12=84 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[86, 91, 84], Operations: ['7*12=84'] Exploring Operation: 91-84=7, Resulting Numbers: [86, 7] Generated Node #0,2,0: 86:[86, 7] Operation: 91-84=7 Exploring Operation: 91-86=5, Resulting Numbers: [84, 5] Generated Node #0,2,1: 86:[84, 5] Operation: 91-86=5 Exploring Operation: 86-84=2, Resulting Numbers: [91, 2] Generated Node #0,2,2: 86:[91, 2] Operation: 86-84=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[86, 7], Operations: ['7*12=84', '91-84=7'] Exploring Operation: 86*7=602, Resulting Numbers: [602] 602,86 unequal: No Solution Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[84, 5], Operations: ['7*12=84', '91-86=5'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,86 unequal: No Solution Exploring Operation: 84*5=420, Resulting Numbers: [420] 420,86 unequal: No Solution Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[91, 2], Operations: ['7*12=84', '86-84=2'] Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,86 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,86 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[86, 91, 5], Operations: ['12-7=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91, 91] Generated Node #0,1,0: 86:[91, 91] Operation: 86+5=91 Exploring Operation: 91-86=5, Resulting Numbers: [5, 5] Generated Node #0,1,1: 86:[5, 5] Operation: 91-86=5 Exploring Operation: 91-5=86, Resulting Numbers: [86, 86] Generated Node #0,1,2: 86:[86, 86] Operation: 91-5=86 Moving to Node #0,1,2 Current State: 86:[86, 86], Operations: ['12-7=5', '91-5=86'] Exploring Operation: 86+86=172, Resulting Numbers: [172] 172,86 unequal: No Solution Exploring Operation: 86/86=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 86-86=0, Resulting Numbers: [0] 0,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[5, 5], Operations: ['12-7=5', '91-86=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[91, 91], Operations: ['12-7=5', '86+5=91'] Exploring Operation: 91/91=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 91+91=182, Resulting Numbers: [182] 182,86 unequal: No Solution Exploring Operation: 91-91=0, Resulting Numbers: [0] 0,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[86, 12, 84], Operations: ['91-7=84'] Exploring Operation: 12+84=96, Resulting Numbers: [86, 96] Generated Node #0,0,0: 86:[86, 96] Operation: 12+84=96 Exploring Operation: 84/12=7, Resulting Numbers: [86, 7] Generated Node #0,0,1: 86:[86, 7] Operation: 84/12=7 Exploring Operation: 86-84=2, Resulting Numbers: [12, 2] Generated Node #0,0,2: 86:[12, 2] Operation: 86-84=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[86, 7], Operations: ['91-7=84', '84/12=7'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,86 unequal: No Solution Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 86*7=602, Resulting Numbers: [602] 602,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[86, 96], Operations: ['91-7=84', '12+84=96'] Exploring Operation: 86+96=182, Resulting Numbers: [182] 182,86 unequal: No Solution Exploring Operation: 86*96=8256, Resulting Numbers: [8256] 8256,86 unequal: No Solution Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[12, 2], Operations: ['91-7=84', '86-84=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 79, 33, 97, 70 ]
85
[ "79+33=112", "97-70=27", "112-27=85" ]
Current State: 85:[79, 33, 97, 70], Operations: [] Exploring Operation: 79+33=112, Resulting Numbers: [97, 70, 112] Generated Node #2: [97, 70, 112] from Operation: 79+33=112 Current State: 85:[97, 70, 112], Operations: ['79+33=112'] Exploring Operation: 97-70=27, Resulting Numbers: [112, 27] Generated Node #3: [112, 27] from Operation: 97-70=27 Current State: 85:[112, 27], Operations: ['79+33=112', '97-70=27'] Exploring Operation: 112-27=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[79, 33, 97, 70], Operations: [] Exploring Operation: 97-79=18, Resulting Numbers: [33, 70, 18] Generated Node #0,0: 85:[33, 70, 18] Operation: 97-79=18 Moving to Node #0,0 Current State: 85:[33, 70, 18], Operations: ['97-79=18'] Exploring Operation: 33-18=15, Resulting Numbers: [70, 15] Generated Node #0,0,0: 85:[70, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[70, 15], Operations: ['97-79=18', '33-18=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[79, 33, 97, 70], Operations: [] Exploring Operation: 97-79=18, Resulting Numbers: [33, 70, 18] Generated Node #0,0: 85:[33, 70, 18] Operation: 97-79=18 Moving to Node #0,0 Current State: 85:[33, 70, 18], Operations: ['97-79=18'] Exploring Operation: 33-18=15, Resulting Numbers: [70, 15] Generated Node #0,0,0: 85:[70, 15] Operation: 33-18=15 Moving to Node #0,0,0 Current State: 85:[70, 15], Operations: ['97-79=18', '33-18=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 77, 16, 23, 12 ]
50
[ "77-16=61", "23-12=11", "61-11=50" ]
Current State: 50:[77, 16, 23, 12], Operations: [] Exploring Operation: 77-16=61, Resulting Numbers: [23, 12, 61] Generated Node #2: [23, 12, 61] from Operation: 77-16=61 Current State: 50:[23, 12, 61], Operations: ['77-16=61'] Exploring Operation: 23-12=11, Resulting Numbers: [61, 11] Generated Node #3: [61, 11] from Operation: 23-12=11 Current State: 50:[61, 11], Operations: ['77-16=61', '23-12=11'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[77, 16, 23, 12], Operations: [] Exploring Operation: 77-23=54, Resulting Numbers: [16, 12, 54] Generated Node #0,0: 50:[16, 12, 54] Operation: 77-23=54 Exploring Operation: 77-12=65, Resulting Numbers: [16, 23, 65] Generated Node #0,1: 50:[16, 23, 65] Operation: 77-12=65 Exploring Operation: 77-16=61, Resulting Numbers: [23, 12, 61] Generated Node #0,2: 50:[23, 12, 61] Operation: 77-16=61 Exploring Operation: 16-12=4, Resulting Numbers: [77, 23, 4] Generated Node #0,3: 50:[77, 23, 4] Operation: 16-12=4 Moving to Node #0,0 Current State: 50:[16, 12, 54], Operations: ['77-23=54'] Exploring Operation: 16-12=4, Resulting Numbers: [54, 4] Generated Node #0,0,0: 50:[54, 4] Operation: 16-12=4 Exploring Operation: 54-12=42, Resulting Numbers: [16, 42] Generated Node #0,0,1: 50:[16, 42] Operation: 54-12=42 Exploring Operation: 54-16=38, Resulting Numbers: [12, 38] Generated Node #0,0,2: 50:[12, 38] Operation: 54-16=38 Exploring Operation: 16+12=28, Resulting Numbers: [54, 28] Generated Node #0,0,3: 50:[54, 28] Operation: 16+12=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[54, 4], Operations: ['77-23=54', '16-12=4'] Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,50 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[77, 16, 23, 12], Operations: [] Exploring Operation: 77-23=54, Resulting Numbers: [16, 12, 54] Generated Node #0,0: 50:[16, 12, 54] Operation: 77-23=54 Moving to Node #0,0 Current State: 50:[16, 12, 54], Operations: ['77-23=54'] Exploring Operation: 16-12=4, Resulting Numbers: [54, 4] Generated Node #0,0,0: 50:[54, 4] Operation: 16-12=4 Moving to Node #0,0,0 Current State: 50:[54, 4], Operations: ['77-23=54', '16-12=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 23, 18, 92, 16 ]
35
[ "23+18=41", "92-16=76", "76-41=35" ]
Current State: 35:[23, 18, 92, 16], Operations: [] Exploring Operation: 23+18=41, Resulting Numbers: [92, 16, 41] Generated Node #2: [92, 16, 41] from Operation: 23+18=41 Current State: 35:[92, 16, 41], Operations: ['23+18=41'] Exploring Operation: 92-16=76, Resulting Numbers: [41, 76] Generated Node #3: [41, 76] from Operation: 92-16=76 Current State: 35:[41, 76], Operations: ['23+18=41', '92-16=76'] Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[23, 18, 92, 16], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [18, 16, 69] Generated Node #0,0: 35:[18, 16, 69] Operation: 92-23=69 Exploring Operation: 92/23=4, Resulting Numbers: [18, 16, 4] Generated Node #0,1: 35:[18, 16, 4] Operation: 92/23=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[18, 16, 4], Operations: ['92/23=4'] Exploring Operation: 18-16=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 35:[4, 2] Operation: 18-16=2 Exploring Operation: 18+16=34, Resulting Numbers: [4, 34] Generated Node #0,1,1: 35:[4, 34] Operation: 18+16=34 Moving to Node #0,1,1 Current State: 35:[4, 34], Operations: ['92/23=4', '18+16=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[4, 2], Operations: ['92/23=4', '18-16=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,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,0 Current State: 35:[18, 16, 69], Operations: ['92-23=69'] Exploring Operation: 69-18=51, Resulting Numbers: [16, 51] Generated Node #0,0,0: 35:[16, 51] Operation: 69-18=51 Exploring Operation: 69-16=53, Resulting Numbers: [18, 53] Generated Node #0,0,1: 35:[18, 53] Operation: 69-16=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[16, 51], Operations: ['92-23=69', '69-18=51'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[23, 18, 92, 16], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [18, 16, 69] Generated Node #0,0: 35:[18, 16, 69] Operation: 92-23=69 Moving to Node #0,0 Current State: 35:[18, 16, 69], Operations: ['92-23=69'] Exploring Operation: 69-18=51, Resulting Numbers: [16, 51] Generated Node #0,0,0: 35:[16, 51] Operation: 69-18=51 Moving to Node #0,0,0 Current State: 35:[16, 51], Operations: ['92-23=69', '69-18=51'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 15, 42, 63, 60 ]
60
[ "15+42=57", "63-60=3", "57+3=60" ]
Current State: 60:[15, 42, 63, 60], Operations: [] Exploring Operation: 15+42=57, Resulting Numbers: [63, 60, 57] Generated Node #2: [63, 60, 57] from Operation: 15+42=57 Current State: 60:[63, 60, 57], Operations: ['15+42=57'] Exploring Operation: 63-60=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 63-60=3 Current State: 60:[57, 3], Operations: ['15+42=57', '63-60=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[15, 42, 63, 60], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [15, 60, 21] Generated Node #0,0: 60:[15, 60, 21] Operation: 63-42=21 Moving to Node #0,0 Current State: 60:[15, 60, 21], Operations: ['63-42=21'] Exploring Operation: 21-15=6, Resulting Numbers: [60, 6] Generated Node #0,0,0: 60:[60, 6] Operation: 21-15=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[60, 6], Operations: ['63-42=21', '21-15=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 8, 63, 21 ]
82
[ "5*8=40", "63-21=42", "40+42=82" ]
Current State: 82:[5, 8, 63, 21], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [63, 21, 40] Generated Node #2: [63, 21, 40] from Operation: 5*8=40 Current State: 82:[63, 21, 40], Operations: ['5*8=40'] Exploring Operation: 63-21=42, Resulting Numbers: [40, 42] Generated Node #3: [40, 42] from Operation: 63-21=42 Current State: 82:[40, 42], Operations: ['5*8=40', '63-21=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[5, 8, 63, 21], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [5, 8, 3] Generated Node #0,0: 82:[5, 8, 3] Operation: 63/21=3 Exploring Operation: 63-21=42, Resulting Numbers: [5, 8, 42] Generated Node #0,1: 82:[5, 8, 42] Operation: 63-21=42 Exploring Operation: 8+63=71, Resulting Numbers: [5, 21, 71] Generated Node #0,2: 82:[5, 21, 71] Operation: 8+63=71 Exploring Operation: 21-8=13, Resulting Numbers: [5, 63, 13] Generated Node #0,3: 82:[5, 63, 13] Operation: 21-8=13 Exploring Operation: 63+21=84, Resulting Numbers: [5, 8, 84] Generated Node #0,4: 82:[5, 8, 84] Operation: 63+21=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[5, 8, 3], Operations: ['63/21=3'] Exploring Operation: 5-3=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 82:[8, 2] Operation: 5-3=2 Exploring Operation: 5+8=13, Resulting Numbers: [3, 13] Generated Node #0,0,1: 82:[3, 13] Operation: 5+8=13 Exploring Operation: 8-5=3, Resulting Numbers: [3, 3] Generated Node #0,0,2: 82:[3, 3] Operation: 8-5=3 Exploring Operation: 8-3=5, Resulting Numbers: [5, 5] Generated Node #0,0,3: 82:[5, 5] Operation: 8-3=5 Exploring Operation: 5*8=40, Resulting Numbers: [3, 40] Generated Node #0,0,4: 82:[3, 40] Operation: 5*8=40 Moving to Node #0,0,2 Current State: 82:[3, 3], Operations: ['63/21=3', '8-5=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,82 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[3, 40], Operations: ['63/21=3', '5*8=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[8, 2], Operations: ['63/21=3', '5-3=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[5, 5], Operations: ['63/21=3', '8-3=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[3, 13], Operations: ['63/21=3', '5+8=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution 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: 82:[5, 8, 42], Operations: ['63-21=42'] Exploring Operation: 5+8=13, Resulting Numbers: [42, 13] Generated Node #0,1,0: 82:[42, 13] Operation: 5+8=13 Exploring Operation: 42-8=34, Resulting Numbers: [5, 34] Generated Node #0,1,1: 82:[5, 34] Operation: 42-8=34 Exploring Operation: 42-5=37, Resulting Numbers: [8, 37] Generated Node #0,1,2: 82:[8, 37] Operation: 42-5=37 Exploring Operation: 8-5=3, Resulting Numbers: [42, 3] Generated Node #0,1,3: 82:[42, 3] Operation: 8-5=3 Exploring Operation: 5*8=40, Resulting Numbers: [42, 40] Generated Node #0,1,4: 82:[42, 40] Operation: 5*8=40 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[42, 3], Operations: ['63-21=42', '8-5=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,82 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,82 unequal: No Solution No 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: 82:[42, 40], Operations: ['63-21=42', '5*8=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[5, 8, 63, 21], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [5, 8, 42] Generated Node #0,1: 82:[5, 8, 42] Operation: 63-21=42 Moving to Node #0,1 Current State: 82:[5, 8, 42], Operations: ['63-21=42'] Exploring Operation: 5*8=40, Resulting Numbers: [42, 40] Generated Node #0,1,4: 82:[42, 40] Operation: 5*8=40 Moving to Node #0,1,4 Current State: 82:[42, 40], Operations: ['63-21=42', '5*8=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 62, 57, 16, 62 ]
57
[ "62-62=0", "16*0=0", "57+0=57" ]
Current State: 57:[62, 57, 16, 62], Operations: [] Exploring Operation: 62-62=0, Resulting Numbers: [57, 16, 0] Generated Node #2: [57, 16, 0] from Operation: 62-62=0 Current State: 57:[57, 16, 0], Operations: ['62-62=0'] Exploring Operation: 16*0=0, Resulting Numbers: [57, 0] Generated Node #3: [57, 0] from Operation: 16*0=0 Current State: 57:[57, 0], Operations: ['62-62=0', '16*0=0'] Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[62, 57, 16, 62], Operations: [] Exploring Operation: 62-16=46, Resulting Numbers: [57, 62, 46] Generated Node #0,0: 57:[57, 62, 46] Operation: 62-16=46 Exploring Operation: 62-57=5, Resulting Numbers: [62, 16, 5] Generated Node #0,1: 57:[62, 16, 5] Operation: 62-57=5 Exploring Operation: 62-57=5, Resulting Numbers: [16, 62, 5] Generated Node #0,2: 57:[16, 62, 5] Operation: 62-57=5 Exploring Operation: 62-62=0, Resulting Numbers: [57, 16, 0] Generated Node #0,3: 57:[57, 16, 0] Operation: 62-62=0 Exploring Operation: 62/62=1, Resulting Numbers: [57, 16, 1] Generated Node #0,4: 57:[57, 16, 1] Operation: 62/62=1 Moving to Node #0,4 Current State: 57:[57, 16, 1], Operations: ['62/62=1'] Exploring Operation: 16*1=16, Resulting Numbers: [57, 16] Generated Node #0,4,0: 57:[57, 16] Operation: 16*1=16 Exploring Operation: 16+1=17, Resulting Numbers: [57, 17] Generated Node #0,4,1: 57:[57, 17] Operation: 16+1=17 Exploring Operation: 57*1=57, Resulting Numbers: [16, 57] Generated Node #0,4,2: 57:[16, 57] Operation: 57*1=57 Exploring Operation: 16/1=16, Resulting Numbers: [57, 16] Generated Node #0,4,3: 57:[57, 16] Operation: 16/1=16 Exploring Operation: 57/1=57, Resulting Numbers: [16, 57] Generated Node #0,4,4: 57:[16, 57] Operation: 57/1=57 Moving to Node #0,3 Current State: 57:[57, 16, 0], Operations: ['62-62=0'] Exploring Operation: 16+0=16, Resulting Numbers: [57, 16] Generated Node #0,3,0: 57:[57, 16] Operation: 16+0=16 Exploring Operation: 57-0=57, Resulting Numbers: [16, 57] Generated Node #0,3,1: 57:[16, 57] Operation: 57-0=57 Exploring Operation: 16*0=0, Resulting Numbers: [57, 0] Generated Node #0,3,2: 57:[57, 0] Operation: 16*0=0 Exploring Operation: 57+0=57, Resulting Numbers: [16, 57] Generated Node #0,3,3: 57:[16, 57] Operation: 57+0=57 Exploring Operation: 16-0=16, Resulting Numbers: [57, 16] Generated Node #0,3,4: 57:[57, 16] Operation: 16-0=16 Moving to Node #0,1 Current State: 57:[62, 16, 5], Operations: ['62-57=5'] Exploring Operation: 62+5=67, Resulting Numbers: [16, 67] Generated Node #0,1,0: 57:[16, 67] Operation: 62+5=67 Exploring Operation: 16+5=21, Resulting Numbers: [62, 21] Generated Node #0,1,1: 57:[62, 21] Operation: 16+5=21 Exploring Operation: 16-5=11, Resulting Numbers: [62, 11] Generated Node #0,1,2: 57:[62, 11] Operation: 16-5=11 Exploring Operation: 62-16=46, Resulting Numbers: [5, 46] Generated Node #0,1,3: 57:[5, 46] Operation: 62-16=46 Exploring Operation: 62-5=57, Resulting Numbers: [16, 57] Generated Node #0,1,4: 57:[16, 57] Operation: 62-5=57 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 57:[16, 57], Operations: ['62-57=5', '62-5=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,57 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[62, 21], Operations: ['62-57=5', '16+5=21'] Exploring Operation: 62+21=83, Resulting Numbers: [83] 83,57 unequal: No Solution Exploring Operation: 62*21=1302, Resulting Numbers: [1302] 1302,57 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[16, 67], Operations: ['62-57=5', '62+5=67'] Exploring Operation: 16*67=1072, Resulting Numbers: [1072] 1072,57 unequal: No Solution Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[62, 11], Operations: ['62-57=5', '16-5=11'] Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,57 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[5, 46], Operations: ['62-57=5', '62-16=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,57 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: 57:[16, 62, 5], Operations: ['62-57=5'] Exploring Operation: 16-5=11, Resulting Numbers: [62, 11] Generated Node #0,2,0: 57:[62, 11] Operation: 16-5=11 Exploring Operation: 16+5=21, Resulting Numbers: [62, 21] Generated Node #0,2,1: 57:[62, 21] Operation: 16+5=21 Exploring Operation: 62-16=46, Resulting Numbers: [5, 46] Generated Node #0,2,2: 57:[5, 46] Operation: 62-16=46 Exploring Operation: 62-5=57, Resulting Numbers: [16, 57] Generated Node #0,2,3: 57:[16, 57] Operation: 62-5=57 Exploring Operation: 62+5=67, Resulting Numbers: [16, 67] Generated Node #0,2,4: 57:[16, 67] Operation: 62+5=67 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[16, 57], Operations: ['62-57=5', '62-5=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[62, 21], Operations: ['62-57=5', '16+5=21'] Exploring Operation: 62+21=83, Resulting Numbers: [83] 83,57 unequal: No Solution Exploring Operation: 62*21=1302, Resulting Numbers: [1302] 1302,57 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[62, 11], Operations: ['62-57=5', '16-5=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[5, 46], Operations: ['62-57=5', '62-16=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,57 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 57:[16, 67], Operations: ['62-57=5', '62+5=67'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,57 unequal: No Solution Exploring Operation: 16*67=1072, Resulting Numbers: [1072] 1072,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 57:[57, 62, 46], Operations: ['62-16=46'] Exploring Operation: 57-46=11, Resulting Numbers: [62, 11] Generated Node #0,0,0: 57:[62, 11] Operation: 57-46=11 Exploring Operation: 62-46=16, Resulting Numbers: [57, 16] Generated Node #0,0,1: 57:[57, 16] Operation: 62-46=16 Exploring Operation: 62+46=108, Resulting Numbers: [57, 108] Generated Node #0,0,2: 57:[57, 108] Operation: 62+46=108 Exploring Operation: 57+46=103, Resulting Numbers: [62, 103] Generated Node #0,0,3: 57:[62, 103] Operation: 57+46=103 Exploring Operation: 62-57=5, Resulting Numbers: [46, 5] Generated Node #0,0,4: 57:[46, 5] Operation: 62-57=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[57, 16], Operations: ['62-16=46', '62-46=16'] Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[62, 11], Operations: ['62-16=46', '57-46=11'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,57 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 57:[46, 5], Operations: ['62-16=46', '62-57=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,57 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[57, 108], Operations: ['62-16=46', '62+46=108'] Exploring Operation: 57*108=6156, Resulting Numbers: [6156] 6156,57 unequal: No Solution Exploring Operation: 108-57=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 57+108=165, Resulting Numbers: [165] 165,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 57:[62, 103], Operations: ['62-16=46', '57+46=103'] Exploring Operation: 62+103=165, Resulting Numbers: [165] 165,57 unequal: No Solution Exploring Operation: 62*103=6386, Resulting Numbers: [6386] 6386,57 unequal: No Solution Exploring Operation: 103-62=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 57:[57, 17], Operations: ['62/62=1', '16+1=17'] Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,57 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,57 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,57 unequal: No Solution Moving to Node #0,4,2 Current State: 57:[16, 57], Operations: ['62/62=1', '57*1=57'] Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,57 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Moving to Node #0,3,1 Current State: 57:[16, 57], Operations: ['62-62=0', '57-0=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,57 unequal: No Solution Moving to Node #0,3,4 Current State: 57:[57, 16], Operations: ['62-62=0', '16-0=16'] Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,57 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,57 unequal: No Solution Moving to Node #0,3,3 Current State: 57:[16, 57], Operations: ['62-62=0', '57+0=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,57 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,57 unequal: No Solution Moving to Node #0,3,0 Current State: 57:[57, 16], Operations: ['62-62=0', '16+0=16'] Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,57 unequal: No Solution Moving to Node #0,3,2 Current State: 57:[57, 0], Operations: ['62-62=0', '16*0=0'] Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[62, 57, 16, 62], Operations: [] Exploring Operation: 62-62=0, Resulting Numbers: [57, 16, 0] Generated Node #0,3: 57:[57, 16, 0] Operation: 62-62=0 Moving to Node #0,3 Current State: 57:[57, 16, 0], Operations: ['62-62=0'] Exploring Operation: 16*0=0, Resulting Numbers: [57, 0] Generated Node #0,3,2: 57:[57, 0] Operation: 16*0=0 Moving to Node #0,3,2 Current State: 57:[57, 0], Operations: ['62-62=0', '16*0=0'] Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.914931
hs_5
mult_heuristic
[ 90, 34, 37, 1 ]
94
[ "90-34=56", "37+1=38", "56+38=94" ]
Current State: 94:[90, 34, 37, 1], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [37, 1, 56] Generated Node #2: [37, 1, 56] from Operation: 90-34=56 Current State: 94:[37, 1, 56], Operations: ['90-34=56'] Exploring Operation: 37+1=38, Resulting Numbers: [56, 38] Generated Node #3: [56, 38] from Operation: 37+1=38 Current State: 94:[56, 38], Operations: ['90-34=56', '37+1=38'] Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[90, 34, 37, 1], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [90, 1, 3] Generated Node #0,0: 94:[90, 1, 3] Operation: 37-34=3 Moving to Node #0,0 Current State: 94:[90, 1, 3], Operations: ['37-34=3'] Exploring Operation: 90+3=93, Resulting Numbers: [1, 93] Generated Node #0,0,0: 94:[1, 93] Operation: 90+3=93 Moving to Node #0,0,0 Current State: 94:[1, 93], Operations: ['37-34=3', '90+3=93'] Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[90, 34, 37, 1], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [90, 1, 3] Generated Node #0,0: 94:[90, 1, 3] Operation: 37-34=3 Moving to Node #0,0 Current State: 94:[90, 1, 3], Operations: ['37-34=3'] Exploring Operation: 90+3=93, Resulting Numbers: [1, 93] Generated Node #0,0,0: 94:[1, 93] Operation: 90+3=93 Moving to Node #0,0,0 Current State: 94:[1, 93], Operations: ['37-34=3', '90+3=93'] Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 28, 95, 40, 53 ]
30
[ "28+95=123", "40+53=93", "123-93=30" ]
Current State: 30:[28, 95, 40, 53], Operations: [] Exploring Operation: 28+95=123, Resulting Numbers: [40, 53, 123] Generated Node #2: [40, 53, 123] from Operation: 28+95=123 Current State: 30:[40, 53, 123], Operations: ['28+95=123'] Exploring Operation: 40+53=93, Resulting Numbers: [123, 93] Generated Node #3: [123, 93] from Operation: 40+53=93 Current State: 30:[123, 93], Operations: ['28+95=123', '40+53=93'] Exploring Operation: 123-93=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[28, 95, 40, 53], Operations: [] Exploring Operation: 53-28=25, Resulting Numbers: [95, 40, 25] Generated Node #0,0: 30:[95, 40, 25] Operation: 53-28=25 Exploring Operation: 95-53=42, Resulting Numbers: [28, 40, 42] Generated Node #0,1: 30:[28, 40, 42] Operation: 95-53=42 Exploring Operation: 53-40=13, Resulting Numbers: [28, 95, 13] Generated Node #0,2: 30:[28, 95, 13] Operation: 53-40=13 Exploring Operation: 95-28=67, Resulting Numbers: [40, 53, 67] Generated Node #0,3: 30:[40, 53, 67] Operation: 95-28=67 Exploring Operation: 95-40=55, Resulting Numbers: [28, 53, 55] Generated Node #0,4: 30:[28, 53, 55] Operation: 95-40=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[28, 40, 42], Operations: ['95-53=42'] Exploring Operation: 42-40=2, Resulting Numbers: [28, 2] Generated Node #0,1,0: 30:[28, 2] Operation: 42-40=2 Exploring Operation: 28+40=68, Resulting Numbers: [42, 68] Generated Node #0,1,1: 30:[42, 68] Operation: 28+40=68 Exploring Operation: 28+42=70, Resulting Numbers: [40, 70] Generated Node #0,1,2: 30:[40, 70] Operation: 28+42=70 Exploring Operation: 42-28=14, Resulting Numbers: [40, 14] Generated Node #0,1,3: 30:[40, 14] Operation: 42-28=14 Exploring Operation: 40-28=12, Resulting Numbers: [42, 12] Generated Node #0,1,4: 30:[42, 12] Operation: 40-28=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[28, 2], Operations: ['95-53=42', '42-40=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[28, 95, 40, 53], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [28, 40, 42] Generated Node #0,1: 30:[28, 40, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 30:[28, 40, 42], Operations: ['95-53=42'] Exploring Operation: 42-40=2, Resulting Numbers: [28, 2] Generated Node #0,1,0: 30:[28, 2] Operation: 42-40=2 Moving to Node #0,1,0 Current State: 30:[28, 2], Operations: ['95-53=42', '42-40=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 7, 6, 18, 65 ]
41
[ "7*6=42", "18+65=83", "83-42=41" ]
Current State: 41:[7, 6, 18, 65], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [18, 65, 42] Generated Node #2: [18, 65, 42] from Operation: 7*6=42 Current State: 41:[18, 65, 42], Operations: ['7*6=42'] Exploring Operation: 18+65=83, Resulting Numbers: [42, 83] Generated Node #3: [42, 83] from Operation: 18+65=83 Current State: 41:[42, 83], Operations: ['7*6=42', '18+65=83'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[7, 6, 18, 65], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [18, 65, 42] Generated Node #0,0: 41:[18, 65, 42] Operation: 7*6=42 Exploring Operation: 7+18=25, Resulting Numbers: [6, 65, 25] Generated Node #0,1: 41:[6, 65, 25] Operation: 7+18=25 Exploring Operation: 7+6=13, Resulting Numbers: [18, 65, 13] Generated Node #0,2: 41:[18, 65, 13] Operation: 7+6=13 Moving to Node #0,0 Current State: 41:[18, 65, 42], Operations: ['7*6=42'] Exploring Operation: 65-18=47, Resulting Numbers: [42, 47] Generated Node #0,0,0: 41:[42, 47] Operation: 65-18=47 Exploring Operation: 42-18=24, Resulting Numbers: [65, 24] Generated Node #0,0,1: 41:[65, 24] Operation: 42-18=24 Exploring Operation: 65-42=23, Resulting Numbers: [18, 23] Generated Node #0,0,2: 41:[18, 23] Operation: 65-42=23 Moving to Node #0,1 Current State: 41:[6, 65, 25], Operations: ['7+18=25'] Exploring Operation: 65-25=40, Resulting Numbers: [6, 40] Generated Node #0,1,0: 41:[6, 40] Operation: 65-25=40 Exploring Operation: 6+25=31, Resulting Numbers: [65, 31] Generated Node #0,1,1: 41:[65, 31] Operation: 6+25=31 Exploring Operation: 65-6=59, Resulting Numbers: [25, 59] Generated Node #0,1,2: 41:[25, 59] Operation: 65-6=59 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[65, 31], Operations: ['7+18=25', '6+25=31'] Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,41 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[25, 59], Operations: ['7+18=25', '65-6=59'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,41 unequal: No Solution Exploring Operation: 25*59=1475, Resulting Numbers: [1475] 1475,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[6, 40], Operations: ['7+18=25', '65-25=40'] Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,41 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,41 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: 41:[18, 65, 13], Operations: ['7+6=13'] Exploring Operation: 18+13=31, Resulting Numbers: [65, 31] Generated Node #0,2,0: 41:[65, 31] Operation: 18+13=31 Exploring Operation: 65-13=52, Resulting Numbers: [18, 52] Generated Node #0,2,1: 41:[18, 52] Operation: 65-13=52 Exploring Operation: 65-18=47, Resulting Numbers: [13, 47] Generated Node #0,2,2: 41:[13, 47] Operation: 65-18=47 Moving to Node #0,0,0 Current State: 41:[42, 47], Operations: ['7*6=42', '65-18=47'] Exploring Operation: 42+47=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 42*47=1974, Resulting Numbers: [1974] 1974,41 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[13, 47], Operations: ['7+6=13', '65-18=47'] Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,41 unequal: No Solution Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[65, 31], Operations: ['7+6=13', '18+13=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,41 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[18, 52], Operations: ['7+6=13', '65-13=52'] Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,41 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[65, 24], Operations: ['7*6=42', '42-18=24'] Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,41 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[7, 6, 18, 65], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [18, 65, 42] Generated Node #0,0: 41:[18, 65, 42] Operation: 7*6=42 Moving to Node #0,0 Current State: 41:[18, 65, 42], Operations: ['7*6=42'] Exploring Operation: 42-18=24, Resulting Numbers: [65, 24] Generated Node #0,0,1: 41:[65, 24] Operation: 42-18=24 Moving to Node #0,0,1 Current State: 41:[65, 24], Operations: ['7*6=42', '42-18=24'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.965278
hs_3
mult_heuristic
[ 11, 99, 65, 32 ]
24
[ "99/11=9", "65-32=33", "33-9=24" ]
Current State: 24:[11, 99, 65, 32], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [65, 32, 9] Generated Node #2: [65, 32, 9] from Operation: 99/11=9 Current State: 24:[65, 32, 9], Operations: ['99/11=9'] Exploring Operation: 65-32=33, Resulting Numbers: [9, 33] Generated Node #3: [9, 33] from Operation: 65-32=33 Current State: 24:[9, 33], Operations: ['99/11=9', '65-32=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[11, 99, 65, 32], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [65, 32, 9] Generated Node #0,0: 24:[65, 32, 9] Operation: 99/11=9 Exploring Operation: 99-32=67, Resulting Numbers: [11, 65, 67] Generated Node #0,1: 24:[11, 65, 67] Operation: 99-32=67 Exploring Operation: 99-65=34, Resulting Numbers: [11, 32, 34] Generated Node #0,2: 24:[11, 32, 34] Operation: 99-65=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[11, 32, 34], Operations: ['99-65=34'] Exploring Operation: 34-32=2, Resulting Numbers: [11, 2] Generated Node #0,2,0: 24:[11, 2] Operation: 34-32=2 Exploring Operation: 32-11=21, Resulting Numbers: [34, 21] Generated Node #0,2,1: 24:[34, 21] Operation: 32-11=21 Exploring Operation: 34-11=23, Resulting Numbers: [32, 23] Generated Node #0,2,2: 24:[32, 23] Operation: 34-11=23 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 24:[11, 2], Operations: ['99-65=34', '34-32=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,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:[32, 23], Operations: ['99-65=34', '34-11=23'] Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,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,1 Current State: 24:[34, 21], Operations: ['99-65=34', '32-11=21'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,24 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,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:[65, 32, 9], Operations: ['99/11=9'] Exploring Operation: 65-9=56, Resulting Numbers: [32, 56] Generated Node #0,0,0: 24:[32, 56] Operation: 65-9=56 Exploring Operation: 65-32=33, Resulting Numbers: [9, 33] Generated Node #0,0,1: 24:[9, 33] Operation: 65-32=33 Exploring Operation: 32-9=23, Resulting Numbers: [65, 23] Generated Node #0,0,2: 24:[65, 23] Operation: 32-9=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[9, 33], Operations: ['99/11=9', '65-32=33'] Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,24 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[11, 99, 65, 32], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [65, 32, 9] Generated Node #0,0: 24:[65, 32, 9] Operation: 99/11=9 Moving to Node #0,0 Current State: 24:[65, 32, 9], Operations: ['99/11=9'] Exploring Operation: 65-32=33, Resulting Numbers: [9, 33] Generated Node #0,0,1: 24:[9, 33] Operation: 65-32=33 Moving to Node #0,0,1 Current State: 24:[9, 33], Operations: ['99/11=9', '65-32=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic